1 2014-06-23 Will Newton <will.newton@linaro.org>
3 * elf/dl-lookup.c (do_lookup_unique): New function.
4 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5 to a separate function.
7 2014-06-23 Andreas Schwab <schwab@suse.de>
10 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11 before reading the next line.
13 2014-06-23 Will Newton <will.newton@linaro.org>
15 * test-skeleton.c (signal_handler): Use printf and %m
16 rather than perror. Use printf rather than fprintf to
17 stderr. Use puts rather than fputs to stderr.
20 2014-06-22 Ludovic Courtès <ludo@gnu.org>
22 * nscd/nscd.c (thread_info_t): Remove typedef.
23 (thread_info): Remove variable.
25 2014-06-21 Allan McRae <allan@archlinux.org>
27 * NEWS: Mention CVE-2014-4043.
29 2014-06-20 Roland McGrath <roland@hack.frob.com>
31 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32 * nptl/smp.h: ... here.
34 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
36 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
37 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
38 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
39 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
41 * nptl/allocatestack.c: Include <stack-aliasing.h>.
42 * nptl/stack-aliasing.h: New file.
43 * sysdeps/i386/i686/stack-aliasing.h: New file.
44 * sysdeps/i386/i686/nptl/Makefile: File removed.
45 * sysdeps/x86_64/stack-aliasing.h: New file.
46 * sysdeps/x86_64/nptl/Makefile
47 (CFLAGS-pthread_create.c): Variable removed.
49 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
50 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
52 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
53 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
56 2014-06-21 Joseph Myers <joseph@codesourcery.com>
58 * sysdeps/unix/sysv/linux/arm/kernel-features.h
59 (__ASSUME_SIGFRAME_V2): Remove macro.
60 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
61 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
62 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
63 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
64 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
65 Declare as function. Remove conditional macro definitions.
66 (__default_rt_sa_restorer): Likewise.
67 (__default_sa_restorer_v1): Remove declaration.
68 (__default_sa_restorer_v2): Likewise.
69 (__default_rt_sa_restorer_v1): Likewise.
70 (__default_rt_sa_restorer_v2): Likewise.
71 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
72 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
73 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
75 2014-06-20 Roland McGrath <roland@hack.frob.com>
77 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
78 (libpthread-routines): Add sysdep.
79 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
80 * sysdeps/unix/sysv/linux/sparc/Versions
81 (libpthread: GLIBC_2.3.3): New version set.
82 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
83 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
84 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
85 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
86 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
87 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
89 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
90 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
91 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
92 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
93 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
94 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
95 * sysdeps/sparc/nptl/sem_init.c: ... here.
96 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
97 * sysdeps/sparc/nptl/sem_post.c: ... here.
98 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
99 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
100 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
101 * sysdeps/sparc/nptl/sem_wait.c: ... here.
102 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
103 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
104 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
105 (libpthread-routines): Add cpu_relax.
106 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
108 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
109 (librt: GLIBC_2.3.3): New version set.
110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
111 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
112 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
113 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
115 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
116 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
117 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
119 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
121 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
122 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
123 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
125 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
126 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
127 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
130 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
134 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
138 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
142 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
146 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
150 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
153 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
155 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
157 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
159 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
161 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
164 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
166 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
167 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
168 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
170 2014-06-20 Joseph Myers <joseph@codesourcery.com>
172 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
173 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
174 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
175 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
176 * nscd/nscd.c: Likewise.
177 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
178 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
179 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
180 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
182 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
184 (init_mq_netlink): Remove conditional have_sock_cloexec
185 definitions. Remove code conditional on have_sock_cloexec < 0.
186 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
187 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
188 * sysdeps/unix/sysv/linux/opensock.c: Do not include
190 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
191 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
193 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
195 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
196 Add tests for memset_chk and memset.
198 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
201 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
204 * elf/tst-dl-iter-static.c: New file.
205 * elf/Makefile (tests-static): Add tst-dl-iter-static.
207 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
210 2014-06-20 Joseph Myers <joseph@codesourcery.com>
212 * sysdeps/unix/sysv/linux/kernel-features.h
213 (__ASSUME_F_GETOWN_EX): Remove macro.
214 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
216 (miss_F_GETOWN_EX): Remove variable or macro.
217 (do_fcntl): Do not check miss_F_GETOWN_EX.
218 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
220 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
223 [!__ASSUME_AT_RANDOM]: Remove conditional code.
224 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
226 * sysdeps/unix/sysv/linux/kernel-features.h
227 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
228 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
229 [ADJ_OFFSET_SS_READ]: Make code unconditional.
230 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
232 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
235 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
236 Fix calculation of the symbol's value.
237 * sysdeps/arm/tst-armtlsdescloc.c: New file.
238 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
239 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
240 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
241 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
242 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
243 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
244 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
245 (modules-names): Add `tst-armtlsdescmod',
246 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
247 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
248 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
249 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
250 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
251 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
252 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
253 ($(objpfx)tst-armtlsdescloc): New dependency.
254 ($(objpfx)tst-armtlsdescextnow): Likewise.
255 ($(objpfx)tst-armtlsdescextlazy): Likewise.
256 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
258 * sysdeps/arm/configure: Regenerate.
260 2014-06-20 Joseph Myers <joseph@codesourcery.com>
262 * include/fcntl.h (__atfct_seterrno): Remove prototype.
263 (__atfct_seterrno_2): Likewise.
264 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
266 (__ASSUME_ATFCTS): Do not undefine and redefine.
267 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
268 (__have_atfcts): Remove conditional definition.
269 (__fxstatat([__NR_fstatat64]: Make code unconditional.
270 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
271 unreachable if [__ASSUME_ATFCTS].
272 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
273 not undefine and redefine.
274 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
276 (faccessat) [__NR_faccessat]: Make code unconditional.
277 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
278 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
280 (fchmodat) [__NR_fchmodat]: Make code unconditional.
281 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
282 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
284 (fchownat) [__NR_fchownat]: Make code unconditional.
285 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
286 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
288 (futimesat) [__NR_futimesat]: Make code unconditional.
289 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
290 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
292 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
293 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
294 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
296 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
297 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
298 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
299 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
301 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
302 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
303 * sysdeps/unix/sysv/linux/linkat.c: Do not include
305 (linkat) [__NR_linkat]: Make code unconditional.
306 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
307 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
308 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
310 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
311 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
312 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
314 (mkdirat) [__NR_mkdirat]: Make code unconditional.
315 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
316 * sysdeps/unix/sysv/linux/openat.c: Do not include
318 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
319 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
320 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
321 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
322 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
323 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
325 (readlinkat) [__NR_readlinkat]: Make code unconditional.
326 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
327 result of INLINE_SYSCALL directly, not via int variable.
328 * sysdeps/unix/sysv/linux/renameat.c: Do not include
330 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
331 (renameat) [__NR_renameat]: Make code unconditional.
332 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
333 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
334 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
335 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
336 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
337 (__ASSUME_ATFCTS): Do not undefine and redefine.
338 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
340 (symlinkat) [__NR_symlinkat]: Make code unconditional.
341 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
342 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
344 (unlinkat) [__NR_unlinkat]: Make code unconditional.
345 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
346 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
347 (__ASSUME_ATFCTS): Do not undefine and redefine.
348 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
350 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
351 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
352 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
354 (__xmknodat) [__NR_mknodat]: Make code unconditional.
355 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
357 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
359 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
361 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
364 * posix/regcomp.c (parse_reg_exp): Deallocate partially
365 constructed tree before returning error.
366 * posix/bug-regexp36.c: Expand test case.
368 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
371 * math/libm-test.inc (scalbln_test_date):
372 Add errno expectations.
373 * math/w_scalblnf.c: New File.
374 Add wrapper which checks for setting errno to ERANGE.
375 Add weak_alias for corresponding scalbln function.
376 * math/w_scalbln.c: Likewise.
377 * math/w_scalblnl.c: Likewise.
378 * math/Makefile (libm-calls): Add w_scalbln.
379 * sysdeps/ieee754/flt-32/s_scalblnf.c:
380 Remove weak_alias for corresponding scalbln function.
381 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
383 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
384 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
385 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
386 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
387 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
388 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
389 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
390 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
391 Remove long_double_symbol for scalblnl function in libm, libc.
392 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
393 Add wrapper which checks for setting errno to ERANGE.
394 Add long_double_symbol for scalblnl function in libm, libc.
395 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
396 Remove long_double_symbol for scalblnl in libm.
397 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
398 Add wrapper which checks for setting errno to ERANGE.
399 Add long_double_symbol for scalblnl function in libm.
400 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
401 Do not use wrapper because of own implementation.
403 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
405 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
406 3 bytes for __pad1 for x32.
407 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
409 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
410 H.J. Lu <hongjiu.lu@intel.com>
412 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
413 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
414 * sysdeps/x86_64/multiarch/memset.S: Likewise.
415 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
416 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
418 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
421 * posix/regcomp.c (parse_expression): Deallocate partially
422 constructed tree before returning error.
423 * posix/Makefile.c (tests): Add bug-regex36.
424 (generated): Add bug-regex36.mtrace.
425 (tests-special): Add $(objpfx)bug-regex36-mem.out
426 (bug-regex36-ENV): New variable.
427 ($(objpfx)bug-regex36-mem.out): New rule.
428 * posix/bug-regex36.c: New file.
430 2014-06-19 Will Newton <will.newton@linaro.org>
432 * malloc/malloc.c (systrim): If extra is zero then return
435 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
437 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
439 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
441 * sysdeps/aarch64/strchr.S: New file.
443 2014-06-18 Joseph Myers <joseph@codesourcery.com>
446 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
447 from arguments -2 or below.
448 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
449 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
451 2014-06-18 Andreas Schwab <schwab@suse.de>
454 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
455 of a bracket expr not to run off the end of the string.
456 * posix/Makefile (tests): Add tst-fnmatch3.
457 * posix/tst-fnmatch3.c: New file.
459 2014-06-18 Joseph Myers <joseph@codesourcery.com>
461 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
462 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
463 [$(cross-compiling) = no]: Likewise.
464 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
465 [$(cross-compiling) = no]: Likewise.
467 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
470 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
471 double, adjusted for any remainder from the high double.
472 * math/libm-test.inc (nearbyint): Add tests.
475 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
477 * nptl/sysdeps/powerpc/Makefile: Moved ...
478 * sysdeps/powerpc/nptl/Makefile: ... here.
479 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
480 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
481 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
482 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
483 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
484 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
485 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
486 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
487 * nptl/sysdeps/powerpc/tls.h: Moved ...
488 * sysdeps/powerpc/nptl/tls.h: ... here.
490 2014-06-16 Joseph Myers <joseph@codesourcery.com>
493 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
494 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
495 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
496 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
497 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
498 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
499 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
500 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
501 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
503 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
505 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
507 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
509 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
512 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
515 2014-06-16 Florian Weimer <fweimer@redhat.com>
518 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
519 non-executed part of the test.
521 2014-06-16 Andreas Schwab <schwab@suse.de>
523 * string/bits/string2.h (strdup, strndup): Update feature guard.
525 2014-06-14 David S. Miller <davem@davemloft.net>
527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
529 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
531 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
532 that was previously under [RESET_PID].
533 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
535 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
536 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
537 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
538 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
539 (__libc_vfork): New strong alias.
540 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
542 2014-06-14 Andi Kleen <ak@linux.intel.com>
544 * sysdeps/generic/elide.h: New file.
546 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
548 * Makefile (installed-headers): Adjust path of pthread.h header.
550 2014-06-13 Roland McGrath <roland@hack.frob.com>
552 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
553 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
554 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
555 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
557 * nptl/sysdeps/s390/Makefile: Moved ...
558 * sysdeps/s390/nptl/Makefile: ... here.
559 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
560 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
561 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
562 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
563 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
564 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
565 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
566 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
567 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
568 * sysdeps/s390/nptl/pthreaddef.h: ... here.
569 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
570 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
571 * nptl/sysdeps/s390/tls.h: Moved ...
572 * sysdeps/s390/nptl/tls.h: ... here.
574 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
575 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
577 2014-06-13 David S. Miller <davem@davemloft.net>
579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
581 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
582 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
583 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
585 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
586 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
587 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
588 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
589 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
590 Remove RESET_PID cpp guards.
591 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
592 Remove RESET_PID cpp guards.
593 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
595 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
597 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
600 2014-06-13 Andi Kleen <ak@linux.intel.com>
602 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
603 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
604 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
605 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
606 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
607 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
608 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
609 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
610 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
611 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
612 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
613 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
614 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
615 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
616 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
617 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
618 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
619 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
620 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
621 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
623 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
624 (pthread_rwlock_rdlock): Add elision.
625 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
626 (pthread_rwlock_wrlock): Add elision.
627 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
628 (pthread_rwlock_trywrlock): Add elision.
629 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
630 (pthread_rwlock_tryrdlock): Add elision.
631 * nptl/pthread_rwlock_unlock.c: Include elide.h.
632 (pthread_rwlock_tryrdlock): Add elision unlock.
633 * nptl/sysdeps/pthread/pthread.h:
634 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
635 (PTHREAD_RWLOCK_INITIALIZER,
636 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
637 Handle new elision field.
638 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
639 * sysdeps/arm/nptl/bits/pthreadtypes.h
640 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
641 * sysdeps/sh/nptl/bits/pthreadtypes.h
642 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
643 * sysdeps/tile/nptl/bits/pthreadtypes.h
644 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
645 * sysdeps/a/nptl/bits/pthreadtypes.h
646 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
647 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
648 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
649 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
650 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
651 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
652 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
653 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
654 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
655 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
656 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
657 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
658 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
659 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
660 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
661 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
662 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
663 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
664 (elision_init): Set try_xbegin to zero when no RTM.
665 * sysdeps/x86/nptl/bits/pthreadtypes.h
666 (pthread_rwlock_t): Change __pad1 to __rwelision.
667 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
669 2014-06-13 Andi Kleen <ak@linux.intel.com>
671 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
672 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
673 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
674 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
676 2014-06-13 Meador Inge <meadori@codesourcery.com>
679 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
680 that the cached result has been set before returning it.
682 2014-06-12 Roland McGrath <roland@hack.frob.com>
684 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
685 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
686 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
687 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
688 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
689 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
691 * nptl/sysdeps/sparc/Makefile: Moved ...
692 * sysdeps/sparc/nptl/Makefile: ... here.
693 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
694 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
695 * nptl/sysdeps/sparc/tls.h: Moved ...
696 * sysdeps/sparc/nptl/tls.h: ... here.
697 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
698 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
699 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
700 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
701 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
702 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
703 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
704 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
705 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
706 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
707 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
708 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
709 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
710 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
711 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
712 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
713 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
714 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
716 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
717 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
719 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
720 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
722 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
723 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
726 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
728 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
729 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
731 * sysdeps/pthread/posix-timer.h: Include <list.h>.
732 (struct list_links): Type removed.
733 (struct thread_node, struct timer_node): Replace struct list_links
734 with struct list_head.
735 (list_unlink_ip): Likewise.
736 * sysdeps/pthread/timer_routines.c
737 (timer_free_list, thread_free_list, thread_active_list): Likewise.
738 (list_append, list_insbefore): Likewise.
739 (list_init): Function removed.
740 (thread_init, init_module): Use INIT_LIST_HEAD instead.
741 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
742 * sysdeps/pthread/Makefile: ... here, new file.
744 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
745 * sysdeps/nptl/Implies: ... here.
746 * sysdeps/unix/sysv/linux/Implies: Add nptl.
747 * nptl/sysdeps/pthread/list.h: Moved ...
748 * include/list.h: ... here.
749 * nptl/sysdeps/pthread/createthread.c: Moved ...
750 * nptl/createthread.c: ... here.
751 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
752 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
753 * nptl/pt-longjmp.c: ... here.
754 * nptl/sysdeps/pthread/Makefile: Moved ...
755 * sysdeps/nptl/Makefile: ... here.
756 * nptl/sysdeps/pthread/Subdirs: Moved ...
757 * sysdeps/nptl/Subdirs: ... here.
758 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
759 * sysdeps/nptl/aio_misc.h: ... here.
760 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
761 * sysdeps/nptl/bits/libc-lock.h: ... here.
762 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
763 * sysdeps/nptl/bits/libc-lockP.h: ... here.
764 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
765 * sysdeps/nptl/bits/stdio-lock.h: ... here.
766 * nptl/sysdeps/pthread/configure: Moved ...
767 * sysdeps/nptl/configure: ... here.
768 * nptl/sysdeps/pthread/configure.ac: Moved ...
769 * sysdeps/nptl/configure.ac: ... here.
770 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
771 * sysdeps/nptl/gai_misc.h: ... here.
772 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
773 * sysdeps/nptl/librt-cancellation.c: ... here.
774 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
775 * sysdeps/nptl/malloc-machine.h: ... here.
776 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
777 * sysdeps/nptl/pthread-functions.h: ... here.
778 * nptl/sysdeps/pthread/pthread.h: Moved ...
779 * sysdeps/nptl/pthread.h: ... here.
780 * nptl/sysdeps/pthread/setxid.h: Moved ...
781 * sysdeps/nptl/setxid.h: ... here.
782 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
783 * sysdeps/nptl/sigfillset.c: ... here.
784 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
785 * sysdeps/nptl/tcb-offsets.h: ... here.
786 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
787 * sysdeps/nptl/tst-mqueue8x.c: ... here.
788 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
789 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
790 * nptl/sysdeps/pthread/allocalim.h: Moved ...
791 * sysdeps/pthread/allocalim.h: ... here.
792 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
793 * sysdeps/pthread/bits/sigthread.h: ... here.
794 * nptl/sysdeps/pthread/flockfile.c: Moved ...
795 * sysdeps/pthread/flockfile.c: ... here.
796 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
797 * sysdeps/pthread/ftrylockfile.c: ... here.
798 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
799 * sysdeps/pthread/funlockfile.c: ... here.
800 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
801 * sysdeps/pthread/posix-timer.h: ... here.
802 * nptl/sysdeps/pthread/timer_create.c: Moved ...
803 * sysdeps/pthread/timer_create.c: ... here.
804 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
805 * sysdeps/pthread/timer_delete.c: ... here.
806 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
807 * sysdeps/pthread/timer_getoverr.c: ... here.
808 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
809 * sysdeps/pthread/timer_gettime.c: ... here.
810 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
811 * sysdeps/pthread/timer_routines.c: ... here.
812 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
813 * sysdeps/pthread/timer_settime.c: ... here.
814 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
815 * sysdeps/pthread/tst-timer.c: ... here.
816 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
817 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
819 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
820 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
822 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
823 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
824 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
825 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
826 Update #include target.
827 * nptl/sysdeps/i386/i686/Makefile: Moved ...
828 * sysdeps/i386/i686/nptl/Makefile: ... here.
829 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
830 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
831 Update #include target.
832 * nptl/sysdeps/i386/i686/tls.h: Moved ...
833 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
834 * nptl/sysdeps/i386/Makefile: Moved ...
835 * sysdeps/i386/nptl/Makefile: ... here.
836 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
837 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
838 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
839 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
840 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
841 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
842 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
843 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
844 * sysdeps/i386/nptl/pthreaddef.h: ... here.
845 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
846 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
847 * nptl/sysdeps/i386/tls.h: Moved ...
848 * sysdeps/i386/nptl/tls.h: ... here.
850 * sysdeps/sh/Makefile [$(subdir) = csu]
851 (gen-as-const-headers): Add tcb-offsets.sym.
852 * nptl/sysdeps/sh/Makefile: File removed.
853 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
854 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
855 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
856 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
857 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
858 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
859 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
860 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
861 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
862 * sysdeps/sh/nptl/pthreaddef.h: ... here.
863 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
864 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
865 * nptl/sysdeps/sh/tls.h: Moved ...
866 * sysdeps/sh/nptl/tls.h: ... here.
867 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
868 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
869 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
870 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
871 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
872 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
873 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
874 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
875 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
876 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
877 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
878 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
879 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
880 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
881 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
882 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
883 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
884 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
885 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
886 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
887 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
888 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
889 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
890 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
891 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
893 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
894 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
896 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
897 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
898 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
899 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
900 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
901 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
902 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
903 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
904 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
905 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
906 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
907 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
908 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
909 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
910 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
911 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
912 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
913 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
914 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
916 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
918 * posix/spawn_faction_addopen.c: Include string.h.
920 2014-06-11 Roland McGrath <roland@hack.frob.com>
922 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
923 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
924 * nptl/sysdeps/x86_64/Makefile: Moved ...
925 * sysdeps/x86_64/nptl/Makefile: ... here.
926 * nptl/sysdeps/x86_64/configure: Moved ...
927 * sysdeps/x86_64/nptl/configure: ... here.
928 * nptl/sysdeps/x86_64/configure.ac: Moved ...
929 * sysdeps/x86_64/nptl/configure.ac: ... here.
930 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
931 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
932 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
933 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
934 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
935 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
936 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
937 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
938 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
939 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
940 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
941 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
942 * nptl/sysdeps/x86_64/tls.h: Moved ...
943 * sysdeps/x86_64/nptl/tls.h: ... here.
944 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
945 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
946 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
947 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
949 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
951 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
955 2014-06-11 Joseph Myers <joseph@codesourcery.com>
957 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
959 [POSIX] (off_t): Likewise.
960 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
961 [POSIX] (S_ISBLK): Require macro.
962 [POSIX] (S_ISCHR): Likewise.
963 [POSIX] (S_ISDIR): Likewise.
964 [POSIX] (S_ISFIFO): Likewise.
965 [POSIX] (S_ISREG): Likewise.
966 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
968 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
970 [POSIX] (time_t): Likewise.
971 [POSIX] (timer_t): Likewise.
973 2014-06-11 Florian Weimer <fweimer@redhat.com>
976 * posix/spawn_int.h (struct __spawn_action): Make the path string
977 non-const to support deallocation.
978 * posix/spawn_faction_addopen.c
979 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
980 * posix/spawn_faction_destroy.c
981 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
982 path in all spawn_do_open actions.
983 * posix/tst-spawn.c (do_test): Exercise the copy operation in
984 posix_spawn_file_actions_addopen.
986 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
988 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
989 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
990 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
991 conditional code always true.
992 (__libc_vfork): New alias.
994 2014-06-11 Roland McGrath <roland@hack.frob.com>
996 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
997 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
999 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1001 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1002 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1004 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1005 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1007 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1008 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1010 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1012 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1013 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1014 multiarch strcmp for PPC64.
1015 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1016 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1018 multiarch optimizations.
1019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1020 (__libc_ifunc_impl_list): Likewise.
1022 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1024 * benchtests/scripts/validate_benchout.py: New script.
1025 * benchtests/Makefile (bench-func): Call it.
1026 * benchtests/scripts/benchout.schema.json: New file.
1028 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1030 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1031 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1032 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1033 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1034 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1035 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1036 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1037 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1038 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1039 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1040 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1041 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1042 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1043 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1044 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1045 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1149 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1150 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1151 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1152 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1155 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1157 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1158 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1159 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1160 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1161 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1162 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1163 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1166 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1167 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1168 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1169 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1171 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1174 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1175 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1176 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1177 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1179 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1183 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1184 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1185 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1187 2014-06-10 Wilco <wdijkstr@arm.com>
1189 * math/test-fenv-return.c: New file.
1190 * math/Makefile: Add new test test-fenv-return.
1192 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1195 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1197 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1198 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1199 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1200 0.0L for an argument of 1.0L.
1201 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1203 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1204 value when x - 1 is zero.
1205 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1206 * sysdeps/i386/fpu/libm-test-ulps: Update.
1207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1209 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1212 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1214 2014-06-09 Roland McGrath <roland@hack.frob.com>
1216 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1217 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1219 2014-06-09 Roland McGrath <roland@hack.frob.com>
1221 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1222 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1224 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1225 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1227 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1228 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1230 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1231 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1233 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1234 if not already defined.
1235 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1236 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1237 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1238 (TLS_INIT_TP): Use it.
1239 (TLS_DEFINE_INIT_TP): New macro.
1240 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1242 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1244 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1246 [POSIX] (IXANY): Likewise.
1247 [POSIX] (OLCUC): Likewise.
1248 [POSIX || POSIX2008] (CBAUD): Do not allow.
1249 [POSIX || POSIX2008] (DEFECHO): Likewise.
1250 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1251 [POSIX || POSIX2008] (ECHOKE): Likewise.
1252 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1253 [POSIX || POSIX2008] (EXTA): Likewise.
1254 [POSIX || POSIX2008] (EXTB): Likewise.
1255 [POSIX || POSIX2008] (FLUSHO): Likewise.
1256 [POSIX || POSIX2008] (LOBLK): Likewise.
1257 [POSIX || POSIX2008] (PENDIN): Likewise.
1258 [POSIX || POSIX2008] (SWTCH): Likewise.
1259 [POSIX || POSIX2008] (VDISCARD): Likewise.
1260 [POSIX || POSIX2008] (VDSUSP): Likewise.
1261 [POSIX || POSIX2008] (VLNEXT): Likewise.
1262 [POSIX || POSIX2008] (VREPRINT): Likewise.
1263 [POSIX || POSIX2008] (VSTATUS): Likewise.
1264 [POSIX || POSIX2008] (VWERASE): Likewise.
1265 (B*): Change to B[0123456789]*.
1266 * conform/data/time.h-data [POSIX || UNIX98]
1267 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1268 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1269 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1270 [POSIX] (tm_*): Do not allow.
1272 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1274 * Makefile (install): Don't set LANGUAGE.
1275 * Makefile.in (install): Likewise.
1276 * assert/Makefile (test-assert-ENV): Remove variable.
1277 (test-assert-perr-ENV): Likewise.
1278 * elf/Makefile (neededtest4-ENV): Likewise.
1279 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1280 [$(cross-compiling) = no]: Don't set LANGUAGE.
1281 * io/ftwtest-sh (LANG): Remove variable.
1282 * libio/Makefile (tst-widetext-ENV): Likewise.
1283 * manual/install.texi (Running make install): Don't refer to
1284 environment settings for make install.
1285 * INSTALL: Regenerated.
1286 * nptl/tst-tls6.sh: Don't set LANG.
1287 * posix/globtest.sh (LANG): Remove variable.
1288 * string/Makefile (tester-ENV): Likewise.
1289 (inl-tester-ENV): Likewise.
1290 (noinl-tester-ENV): Likewise.
1291 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1292 [$(cross-compiling) = no]: Don't set LANGUAGE.
1293 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1294 without explicit environment settings.
1296 2014-06-06 Roland McGrath <roland@hack.frob.com>
1298 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1299 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1300 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1301 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1303 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1305 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1306 other files in the crypt directory.
1307 * crypt/crypt.c: Remove duplicate includes.
1308 * crypt/crypt-entry.c: Likewise.
1309 * crypt/crypt_util.c: Likewise.
1311 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1313 * Makeconfig (run-program-env): New variable.
1314 (run-program-prefix-before-env): Likewise.
1315 (run-program-prefix-after-env): Likewise.
1316 (run-program-prefix): Define in terms of new variables.
1317 (built-program-cmd-before-env): New variable.
1318 (built-program-cmd-after-env): Likewise.
1319 (built-program-cmd): Define in terms of new variables.
1320 (test-program-prefix-before-env): New variable.
1321 (test-program-prefix-after-env): Likewise.
1322 (test-program-prefix): Define in terms of new variables.
1323 (test-program-cmd-before-env): New variable.
1324 (test-program-cmd-after-env): Likewise.
1325 (test-program-cmd): Define in terms of new variables.
1326 * Rules (make-test-out): Use $(run-program-env).
1327 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1328 (help): Do not mention environment variables. Mention
1329 --timeoutfactor option.
1330 (timeoutfactor): New variable.
1331 (blacklist_exports): Remove function.
1332 (exports): Remove variable.
1333 (command): Do not include ${exports}.
1334 * manual/install.texi (Configuring and compiling): Do not mention
1335 test wrappers preserving environment variables. Mention that last
1336 assignment to a variable must take precedence.
1337 * INSTALL: Regenerated.
1338 * benchtests/Makefile (run-bench): Use $(run-program-env).
1339 * catgets/Makefile ($(objpfx)test1.cat): Use
1340 $(built-program-cmd-before-env), $(run-program-env) and
1341 $(built-program-cmd-after-env).
1342 ($(objpfx)test2.cat): Do not specify environment variables
1344 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1345 $(run-program-env) and $(built-program-cmd-after-env).
1346 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1347 $(run-program-env) and $(test-program-cmd-after-env).
1348 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1350 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1351 run_program_env and test_program_cmd_after_env arguments.
1352 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1353 * elf/tst-pathopt.sh: Use run_program_env argument.
1354 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1355 $(test-wrapper-env) and $(run-program-env).
1356 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1357 run_program_env arguments.
1358 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1359 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1360 $(test-program-prefix-before-env), $(run-program-env) and
1361 $(test-program-prefix-after-env).
1362 ($(objpfx)tst-gettext2.out): Likewise.
1363 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1364 run_program_env and test_program_prefix_after_env arguments.
1365 * intl/tst-gettext2.sh: Likewise.
1366 * intl/tst-gettext4.sh: Do not set environment variables
1368 * intl/tst-gettext6.sh: Likewise.
1369 * intl/tst-translit.sh: Likewise.
1370 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1371 $(test-program-prefix-before-env), $(run-program-env) and
1372 $(test-program-prefix-after-env).
1373 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1374 run_program_env and test_program_prefix_after_env arguments.
1375 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1376 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1377 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1378 explicitly with each use of ${test_wrapper_env}.
1379 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1380 $(test-program-prefix-before-env), $(run-program-env) and
1381 $(test-program-prefix-after-env).
1382 * posix/tst-getconf.sh: Do not set environment variables
1384 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1385 run_program_env and test_program_prefix_after_env arguments.
1386 * stdio-common/tst-printf.sh: Do not set environment variables
1388 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1389 $(test-program-prefix-before-env), $(run-program-env) and
1390 $(test-program-prefix-after-env).
1391 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1392 run_program_env and test_program_prefix_after_env arguments.
1393 Split $test calls into $test_pre and $test.
1394 * timezone/Makefile (build-testdata): Use
1395 $(built-program-cmd-before-env), $(run-program-env) and
1396 $(built-program-cmd-after-env).
1398 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1400 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1401 strlen for non SHARED builds.
1403 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1405 * nptl/allocatestack.c (check_list): Inlined function...
1406 (__reclaim_stacks): ... here.
1408 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1411 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1414 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1416 * Rules (make-test-out): Include
1417 LOCPATH=$(common-objpfx)localedata in default environment.
1418 * debug/Makefile (tst-chk1-ENV): Remove variable.
1419 (tst-chk2-ENV): Likewise.
1420 (tst-chk3-ENV): Likewise.
1421 (tst-chk4-ENV): Likewise.
1422 (tst-chk5-ENV): Likewise.
1423 (tst-chk6-ENV): Likewise.
1424 (tst-lfschk1-ENV): Likewise.
1425 (tst-lfschk2-ENV): Likewise.
1426 (tst-lfschk3-ENV): Likewise.
1427 (tst-lfschk4-ENV): Likewise.
1428 (tst-lfschk5-ENV): Likewise.
1429 (tst-lfschk6-ENV): Likewise.
1430 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1431 (tst-iconv7-ENV): Likewise.
1432 * intl/Makefile (LOCPATH-ENV): Likewise.
1433 (tst-codeset-ENV): Likewise.
1434 (tst-gettext3-ENV): Likewise.
1435 (tst-gettext5-ENV): Likewise.
1436 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1437 (tst-fopenloc-ENV): Likewise.
1438 (tst-fgetws-ENV): Remove variable.
1439 (tst-ungetwc1-ENV): Likewise.
1440 (tst-ungetwc2-ENV): Likewise.
1441 (bug-ungetwc2-ENV): Likewise.
1442 (tst-swscanf-ENV): Likewise.
1443 (bug-ftell-ENV): Likewise.
1444 (tst-fgetwc-ENV): Likewise.
1445 (tst-fseek-ENV): Likewise.
1446 (tst-ftell-partial-wide-ENV): Likewise.
1447 (tst-ftell-active-handler-ENV): Likewise.
1448 (tst-ftell-append-ENV): Likewise.
1449 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1450 (tst-regexloc-ENV): Likewise.
1451 (bug-regex1-ENV): Likewise.
1452 (tst-regex-ENV): Likewise.
1453 (tst-regex2-ENV): Likewise.
1454 (bug-regex5-ENV): Likewise.
1455 (bug-regex6-ENV): Likewise.
1456 (bug-regex17-ENV): Likewise.
1457 (bug-regex18-ENV): Likewise.
1458 (bug-regex19-ENV): Likewise.
1459 (bug-regex20-ENV): Likewise.
1460 (bug-regex22-ENV): Likewise.
1461 (bug-regex23-ENV): Likewise.
1462 (bug-regex25-ENV): Likewise.
1463 (bug-regex26-ENV): Likewise.
1464 (bug-regex30-ENV): Likewise.
1465 (bug-regex32-ENV): Likewise.
1466 (bug-regex33-ENV): Likewise.
1467 (bug-regex34-ENV): Likewise.
1468 (bug-regex35-ENV): Likewise.
1469 (tst-rxspencer-ENV): Likewise.
1470 (tst-rxspencer-no-utf8-ENV): Likewise.
1471 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1472 (tst-sscanf-ENV): Likewise.
1473 (tst-swprintf-ENV): Likewise.
1474 (tst-swscanf-ENV): Likewise.
1475 (test-vfprintf-ENV): Likewise.
1476 (scanf13-ENV): Likewise.
1477 (bug14-ENV): Likewise.
1478 (tst-grouping-ENV): Likewise.
1479 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1480 (tst-strtod3-ENV): Likewise.
1481 (tst-strtod4-ENV): Likewise.
1482 (tst-strtod5-ENV): Likewise.
1483 (testmb2-ENV): Likewise./
1484 * string/Makefile (tst-strxfrm-ENV): Likewise.
1485 (tst-strxfrm2-ENV): Likewise.
1486 (bug-strcoll1-ENV): Likewise.
1487 (test-strcasecmp-ENV): Likewise.
1488 (test-strncasecmp-ENV): Likewise.
1489 * time/Makefile (tst-strptime-ENV): Likewise.
1490 (tst-ftime_l-ENV): Likewise.
1491 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1492 (tst-mbrtowc-ENV): Likewise.
1493 (tst-wcrtomb-ENV): Likewise.
1494 (tst-mbrtowc2-ENV): Likewise.
1495 (tst-c16c32-1-ENV): Likewise.
1496 (tst-mbsnrtowcs-ENV): Likewise.
1498 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1500 * manual/resource.texi (How to get information about the memory
1501 subsystem?): Fix typo.
1502 Reported by Peon de la Parra Ivan <peon@keba.com>
1504 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1507 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1508 (pthread_spin_lock): Branch out of spin loop to proper location.
1509 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1510 (pthread_spin_lock): Likewise.
1512 * nptl/tst-spin4.c: New test.
1513 * nptl/Makefile (tests): Add tst-spin4.
1515 2014-06-03 Andreas Schwab <schwab@suse.de>
1518 * resolv/res_send.c (send_dg): Reload file descriptor after
1521 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1523 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1525 2014-06-03 Richard Henderson <rth@redhat.com>
1527 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1528 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1529 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1530 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1531 in the SAVE_PID block.
1532 (__libc_vfork): New alias.
1533 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1535 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1536 child in registers, not on the stack. Remove RESET_PID conditionals.
1537 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1539 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1541 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1543 2014-06-03 Wilco <wdijkstr@arm.com>
1545 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1546 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1547 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1548 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1549 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1552 2014-06-03 Wilco <wdijkstr@arm.com>
1554 * sysdeps/aarch64/fpu/math_private.h
1555 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1556 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1557 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1558 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1561 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1563 * crypt/crypt-private.h: Include ufc-crypt.h.
1564 (__b64_from_24bit): Declare extern.
1565 * crypt/crypt_util.c(__b64_from_24bit): New function.
1566 (b64t): New static const variable.
1567 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1568 (b64t): Remove variable.
1569 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1570 * crypt/sha256-crypt.c: Include crypt-private.h.
1571 (b64t): Remove variable.
1572 (__sha256_crypt_r): Remove b64_from_24bit and replace
1573 with __b64_from_24bit.
1574 * crypt/sha512-crypt.c: Likewise.
1576 2014-06-02 Roland McGrath <roland@hack.frob.com>
1578 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1579 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1580 Label the code __libc_vfork rather than __vfork.
1581 [!NOT_IN_libc] (vfork): Define as weak alias.
1582 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1583 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1584 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1586 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1588 * malloc/malloc.c (malloc_info): Fix format specifier for
1591 2014-06-02 Wilco <wdijkstr@arm.com>
1593 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1596 2014-06-02 Wilco <wdijkstr@arm.com>
1599 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1600 Rewrite to reduce FPCR/FPSR accesses.
1602 2014-06-01 David S. Miller <davem@davemloft.net>
1604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1606 2014-05-31 David S. Miller <davem@davemloft.net>
1608 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1609 to occur in round to nearest mode when |x| >= 2.0
1611 2014-05-30 Richard Henderson <rth@twiddle.net>
1613 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1614 (PSEUDO_RET_NOERRNO): Remove.
1615 (ret): Don't redefine.
1616 (ret_NOERRNO): Define in terms of ret.
1617 (ret_ERRVAL): Likewise.
1619 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1620 use of PSEUDO_RET; perform the error check directly.
1622 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1624 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1627 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1629 * malloc/malloc (malloc_info): Fix formatting.
1631 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1632 Roland McGrath <roland@hack.frob.com>
1634 * malloc/malloc (malloc_info): Also print mmapped statistics.
1636 2014-05-30 Roland McGrath <roland@hack.frob.com>
1638 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1639 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1641 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1643 * malloc/malloc.c (malloc_info): Inline mi_arena.
1645 2014-05-29 Richard Henderson <rth@twiddle.net>
1647 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1648 Remove comma before expanding ASM_ARGS_##nr.
1649 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1650 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1652 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1653 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1654 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1655 (ASM_ARGS_1): Add leading comma.
1657 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1658 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1659 to __errno_location.
1660 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1661 Remove the expected plt for __errno_location.
1663 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1664 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1667 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1668 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1669 it and break it down.
1670 (DOCARGS_0, DOCARGS_1): Do nothing.
1671 (DOCARGS_2): Update to store into the new stack frame.
1672 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1673 (UNDOCARGS_1): Update to restore from the new stack frame.
1674 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1675 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1677 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1678 (SINGLE_THREAD_P): New parameter for result regno.
1679 (PSEUDO): Update to match; use cbz instead of beq.
1681 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1682 Use ENTRY to define the _nocancel entry point. Share the syscall
1683 and syscall error check paths with the cancel path.
1686 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1687 whitespace; tabs before and after asm mnemonics.
1689 2014-05-29 Eric Wong <normalperson@yhbt.net>
1692 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1693 Call fstat64 or stat64 internally, depending on arguments passed.
1694 Replace stat buffer argument with file descriptor argument.
1695 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1696 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1697 Pass fd to __internal_statvfs instead of calling fstat64.
1698 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1699 Pass fd to __internal_statvfs64 instead of calling fstat64.
1700 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1701 Pass -1 to __internal_statvfs instead of calling stat64.
1702 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1703 Pass -1 to __internal_statvfs64 instead of calling stat64.
1705 2014-05-28 Roland McGrath <roland@hack.frob.com>
1707 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1708 that was previously under [RESET_PID].
1709 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1711 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1712 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1714 2014-05-27 Roland McGrath <roland@hack.frob.com>
1716 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1718 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1719 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1721 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1723 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1725 2014-05-27 Andreas Schwab <schwab@suse.de>
1727 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1729 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1730 * elf/rtld.c (init_tls, dl_main): Likewise.
1731 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1732 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1733 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1734 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1735 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1736 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1737 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1738 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1739 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1740 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1741 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1742 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1743 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1744 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1745 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1746 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1747 * sysdeps/generic/tls.h: Update description.
1749 2014-05-27 Will Newton <will.newton@linaro.org>
1752 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1753 and restore r2 rather than just restoring.
1755 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1758 * libio/tst-ftell-append.c: New test case.
1759 * libio/Makefile (tests): Add test case.
1760 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1762 * libio/wfileops.c (do_ftell_wide): Likewise.
1764 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1768 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1772 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1773 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1774 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1775 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1776 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1777 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1781 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1784 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1785 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1786 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1787 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1788 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1790 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1791 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1793 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1795 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1797 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1798 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1799 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1801 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1802 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1803 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1804 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1806 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1809 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1812 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1815 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1819 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1822 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1827 conditional [RESET_PID].
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1829 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1831 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1836 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1837 (__libc_vfork): New strong alias.
1838 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1840 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1845 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1846 (__libc_vfork): New strong alias.
1847 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1849 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1852 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1854 * malloc/malloc.c (mi_arena): New function.
1855 (malloc_info): Remove nested function mi_arena. Call non-nosted
1858 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1860 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1862 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1863 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1864 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1865 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1866 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1867 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1868 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1870 2014-05-26 Andreas Schwab <schwab@suse.de>
1873 * locale/programs/repertoire.c (repertoire_read): Add slash
1874 between I18NPATH element and file name.
1875 * locale/programs/locfile.c (locfile_read): Likewise.
1877 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1879 * nptl/pthread_mutexattr_settype.c
1880 (__pthread_mutexattr_settype):
1881 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1883 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1885 * nptl/tst-mutex5 (do_test):
1886 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1888 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1890 * benchtests/README: Document 'init' directive.
1891 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1893 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1894 (parse_file): Recognize 'init' directive.
1896 2014-05-26 Kyle McMartin <kyle@redhat.com>
1899 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1900 alignment of struct pthread.
1902 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1905 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1906 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1907 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1908 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1910 2014-05-25 Richard Henderson <rth@twiddle.net>
1912 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1913 (SINGLE_THREAD_P_PIC): Remove.
1914 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1915 (SINGLE_THREAD_P_PIC): Remove.
1917 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1918 branch to syscall error ...
1920 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1921 from __local_syscall_error to .Lsyscall_error.
1922 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1923 (SYSCALL_ERROR): Update label name.
1925 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1926 Do not use DOARGS/UNDOARGS.
1927 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1928 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1929 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1930 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1931 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1933 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1936 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1937 define if !NOT_IN_libc.
1938 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1939 define with non-default symbol versions.
1941 2014-05-23 Richard Henderson <rth@twiddle.net>
1943 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1944 (vfork, __vfork): Define via compat_symbol.
1946 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1947 [!HAVE_IFUNC] (vfork_compat): Remove.
1948 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1950 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1953 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1954 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1957 2014-05-23 Richard Henderson <rth@twiddle.net>
1959 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1960 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1961 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1962 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1964 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1965 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1966 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1967 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1968 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1969 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1970 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1971 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1972 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1973 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1974 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1975 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1976 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1977 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1978 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1979 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1980 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1981 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1982 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1983 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1984 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1985 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1986 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1987 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1989 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1990 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1991 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1992 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1993 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1994 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1995 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1996 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1997 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1998 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1999 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2000 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2001 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2002 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2003 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2004 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2005 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2006 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2007 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2008 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2009 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2010 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2011 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2012 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2013 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2014 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2015 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2016 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2017 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2018 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2019 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2021 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2022 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2023 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2024 before exiting on error.
2025 (__libc_vfork): New strong alias.
2026 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2027 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2029 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2030 that was previously under [RESET_PID].
2031 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2033 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2035 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2038 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2039 value when x - 1 is zero.
2040 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2041 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2042 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2043 0.0L for an argument of 1.0L.
2044 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2046 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2047 value when x - 1 is zero.
2048 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2049 * sysdeps/i386/fpu/libm-test-ulps: Update.
2050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2052 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2054 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2055 alphasort and versionsort.
2057 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2059 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2061 [copysignf]: Likewise.
2063 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2065 * crypt/md5-crypt.c: Fix formatting.
2067 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2069 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2070 (b64_from_24bit): New function.
2072 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2074 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2075 libc_hidden_builtin_def to ifunc.
2076 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2077 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2079 2014-05-21 Roland McGrath <roland@hack.frob.com>
2081 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2082 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2084 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2086 * nscd/Depend (linuxthreads): Remove.
2088 * resolv/Depend (linuxthreads): Remove.
2089 * rt/Depend (linuxthreads): Remove.
2091 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2092 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2093 $(common-objpfx)elf/.
2094 (link-libc-before-gnulib): Likewise.
2095 (elfobjdir): Remove variable.
2096 * Makefile (install): Use $(elf-objpfx) instead of
2097 $(common-objpfx)elf/.
2098 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2100 (link-libc-deps): Likewise.
2101 ($(common-objpfx)libc.so): Likewise.
2102 ($(common-objpfx)linkobj/libc.so): Likewise.
2103 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2104 instead of $(common-objpfx)elf/.
2105 (symbolic-link-list): Likewise.
2106 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2107 [$(cross-compiling) = no]: Likewise.
2108 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2110 (static-gnulib-arch): Likewise.
2111 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2112 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2113 $(common-objpfx)elf/.
2115 2014-05-21 Richard Henderson <rth@redhat.com>
2117 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2118 (SINGLE_THREAD_P): Use the correct width load. Fold
2119 into the ldr offset.
2121 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2122 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2124 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2126 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2127 (libgcc_s_resume): Use __attribute_used__.
2128 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2131 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2133 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2134 optimization when used with float constants.
2136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2138 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2141 * locale/nl_langinfo_l.c: Make direct reference to every
2142 _nl_current_CATEGORY symbol.
2143 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2144 (tests-static): Add tst-langinfo-static.
2145 (tests-special): Add tst-langinfo-static.out.
2146 ($(objpfx)tst-langinfo.out): Redirect output.
2147 ($(objpfx)tst-langinfo-static.out): New.
2148 * localedata/tst-langinfo.sh: Send output to stdout.
2149 * localedata/tst-langinfo-static.c: New file.
2152 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2153 when the shift amount is modulo the limb size.
2155 2014-05-20 Richard Henderson <rth@redhat.com>
2158 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2159 Change type of sa_flags from unsigned int to int.
2162 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2164 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2166 2014-05-20 Will Newton <will.newton@linaro.org>
2168 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2169 Test the return value of the system call in the nocancel case.
2171 2014-05-20 Will Newton <will.newton@linaro.org>
2172 Yvan Roux <yvan.roux@linaro.org>
2174 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2175 #include of asm/ptrace.h.
2176 (PTRACE_GET_THREAD_AREA): Remove #undef.
2177 (PTRACE_GETHBPREGS): Likewise.
2178 (PTRACE_SETHBPREGS): Likewise.
2179 (struct user_regs_struct): New structure.
2180 (struct user_fpsimd_struct): New structure.
2181 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2182 #include of asm/ptrace.h and second #include of sys/user.h.
2183 (PTRACE_GET_THREAD_AREA): Remove #undef.
2184 (PTRACE_GETHBPREGS): Likewise.
2185 (PTRACE_SETHBPREGS): Likewise.
2186 (ELF_NGREG): Use new struct user_regs_struct.
2187 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2189 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2191 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2192 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2194 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2197 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2198 membar to avoid block loads/stores to overlap previous stores.
2200 2014-05-17 Richard Henderson <rth@redhat.com>
2202 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2203 Create the __##syscall_name##_nocancel entry point.
2204 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2205 Remove; let the sysdep-cancel.h code create it.
2207 2014-05-17 David S. Miller <davem@davemloft.net>
2209 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2210 Protect with __USE_GNU.
2211 (TIOCSET_TEMPT): Likewise.
2212 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2213 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2214 these are already provided in bits/ioctl-types.h
2216 2014-05-16 Roland McGrath <roland@hack.frob.com>
2218 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2219 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2221 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2222 Use wait4 regardless of [__NR_waitpid].
2224 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2227 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2228 (_FP_NANSIGN_Q): Set the quiet bit.
2230 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2232 * benchtests/Makefile
2233 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2234 not $(common-objpfx)math/libm.so.
2235 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2236 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2237 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2238 $(common-objpfx)dlfcn/libdl.so.
2239 ($(objpfx)tst-audit8): Depend on $(libm), not
2240 $(common-objpfx)math/libm.so.
2241 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2242 not $(common-objpfx)dlfcn/libdl.so.
2244 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2245 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2246 [$(build-shared) = yes].
2247 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2248 $(common-objpfx)nptl/libpthread.so.
2249 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2250 $(common-objpfx)math/libm.so$(libm.so-version) or
2251 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2252 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2253 $(common-objpfx)dlfcn/libdl.so.
2254 * setjmp/Makefile (link-libm): Remove variable.
2255 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2256 * stdio-common/Makefile (link-libm): Remove variable.
2257 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2258 * stdlib/Makefile (link-libm): Remove variable.
2259 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2260 ($(objpfx)tst-strtod-round): Likewise.
2261 ($(objpfx)tst-tininess): Likewise.
2262 ($(objpfx)tst-strtod-underflow): Likewise.
2263 ($(objpfx)tst-strtod6): Likewise.
2264 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2265 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2266 $(common-objpfx)dlfcn/libdl.so.
2268 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2270 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2271 BSD terminal modes definitions.
2273 2014-05-16 Roland McGrath <roland@hack.frob.com>
2275 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2276 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2278 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2279 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2280 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2281 Don't do #include_next.
2282 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2283 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2284 Don't do #include_next.
2285 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2286 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2287 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2288 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2290 2014-05-16 Allan McRae <allan@archlinux.org>
2292 * po/sv.po: Update Swedish translation from translation project.
2294 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2297 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2300 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2301 errno if the TIOCGPTN ioctl fails with an error different than
2303 * login/tst-ptsname.c: New file.
2304 * login/Makefile (tests): Add tst-ptsname.
2307 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2310 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2314 herrno to return EAI_AGAIN.
2316 2014-05-14 Roland McGrath <roland@hack.frob.com>
2318 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2319 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2320 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2321 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2322 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2323 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2329 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2331 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2332 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2333 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2335 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2336 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2337 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2338 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2339 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2341 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2342 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2343 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2345 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2347 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2349 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2351 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2354 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2356 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2358 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2360 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2364 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2366 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2368 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2370 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2372 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2374 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2376 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2378 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2383 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2385 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2387 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2389 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2391 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2393 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2395 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2397 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2399 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2401 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2404 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2406 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2408 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2409 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2410 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2411 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2412 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2413 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2414 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2415 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2416 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2417 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2418 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2419 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2420 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2421 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2422 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2424 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2426 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2428 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2430 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2432 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2433 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2434 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2435 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2436 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2437 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2438 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2440 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2441 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2443 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2444 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2445 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2446 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2447 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2448 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2450 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2451 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2453 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2454 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2456 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2457 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2459 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2460 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2461 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2462 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2464 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2466 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2467 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2468 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2469 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2470 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2471 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2473 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2474 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2476 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2478 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2479 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2480 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2481 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2482 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2484 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2486 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2488 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2489 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2490 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2491 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2492 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2493 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2495 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2496 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2498 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2499 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2501 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2502 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2504 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2505 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2506 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2507 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2509 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2510 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2511 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2512 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2513 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2514 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2515 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2516 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2518 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2519 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2521 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2523 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2524 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2525 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2526 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2527 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2529 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2531 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2533 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2534 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2535 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2536 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2537 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2538 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2539 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2540 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2541 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2542 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2544 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2545 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2547 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2548 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2550 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2551 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2553 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2554 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2555 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2556 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2557 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2558 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2560 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2561 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2562 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2563 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2564 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2566 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2567 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2569 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2570 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2572 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2574 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2575 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2576 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2577 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2578 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2580 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2582 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2584 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2585 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2586 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2587 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2588 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2589 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2590 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2591 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2592 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2594 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2596 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2597 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2599 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2600 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2602 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2603 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2604 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2606 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2607 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2608 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2609 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2610 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2611 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2612 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2613 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2614 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2615 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2616 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2617 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2618 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2619 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2621 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2622 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2623 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2624 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2626 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2627 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2628 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2629 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2630 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2631 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2632 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2633 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2635 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2636 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2638 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2639 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2640 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2641 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2642 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2643 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2644 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2645 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2646 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2647 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2648 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2649 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2650 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2651 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2652 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2653 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2654 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2656 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2657 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2658 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2659 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2660 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2662 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2663 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2664 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2665 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2666 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2667 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2668 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2669 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2670 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2671 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2673 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2674 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2676 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2677 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2678 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2679 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2680 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2681 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2682 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2683 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2684 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2685 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2686 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2687 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2688 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2689 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2690 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2692 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2694 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2696 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2710 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2711 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2712 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2713 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2714 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2715 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2716 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2717 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2718 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2719 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2720 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2721 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2722 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2723 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2724 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2726 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2727 that was previously under [RESET_PID].
2728 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2729 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2730 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2732 * sysdeps/i386/nptl/Implies: New file.
2733 * sysdeps/x86_64/nptl/Implies: New file.
2734 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2735 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2736 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2737 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2739 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2740 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2741 (__libc_vfork): New strong alias.
2742 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2743 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2745 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2746 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2747 (__libc_vfork): New strong alias.
2748 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2749 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2751 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2752 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2753 (__libc_vfork): New strong alias.
2754 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2755 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2756 * nptl/pt-vfork.c: New file.
2757 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2758 (libpthread: GLIBC_2.20): New version set (empty).
2760 2014-05-14 Will Newton <will.newton@linaro.org>
2762 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2765 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2768 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2769 arguments with exponent 65 or above.
2770 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2771 arguments 0x1p113L or above.
2772 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2773 to arguments 0x1p107L or above.
2774 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2775 positive arguments with exponent 65 or above.
2776 * math/auto-libm-test-in: Add more tests of log1p.
2777 * math/auto-libm-test-out: Regenerated.
2780 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2781 non-finite arguments is +0.
2782 * math/s_cacosf.c (__cacosf): Likewise.
2783 * math/s_cacosl.c (__cacosl): Likewise.
2784 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2785 * sysdeps/i386/fpu/libm-test-ulps: Update.
2786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2789 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2791 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2792 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2793 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2794 for explicit high bit of mantissa when testing for argument equal
2796 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2797 * sysdeps/i386/fpu/libm-test-ulps: Update.
2798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2801 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2802 (__erf): Scale by 16 instead of 8 in potentially underflowing
2803 case. Ensure exception if result actually underflows.
2804 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2805 (__erff): Scale by 16 instead of 8 in potentially underflowing
2806 case. Ensure exception if result actually underflows.
2807 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2808 (efx8): Remove variable.
2809 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2810 case. Ensure exception if result actually underflows.
2811 * sysdeps/ieee754/ldbl-128ibm/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-96/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 * math/auto-libm-test-in: Add more tests of erf.
2820 * math/auto-libm-test-out: Regenerated.
2822 2014-05-14 Andreas Schwab <schwab@suse.de>
2824 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2825 Remove code conditionalized on USE___THREAD.
2827 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2828 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2831 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2833 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2834 Define unconditionally.
2835 (__ASSUME_O_CLOEXEC): Likewise.
2836 (__ASSUME_SOCK_CLOEXEC): Likewise.
2837 (__ASSUME_IN_NONBLOCK): Likewise.
2838 (__ASSUME_PIPE2): Likewise.
2839 (__ASSUME_EVENTFD2): Likewise.
2840 (__ASSUME_SIGNALFD4): Likewise.
2841 (__ASSUME_DUP3): Likewise.
2842 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2843 (__ASSUME_DUP3): Do not define.
2844 (__ASSUME_EVENTFD2): Likewise.
2845 (__ASSUME_IN_NONBLOCK): Likewise.
2846 (__ASSUME_O_CLOEXEC): Likewise.
2847 (__ASSUME_PIPE2): Likewise.
2848 (__ASSUME_SIGNALFD4): Likewise.
2849 (__ASSUME_SOCK_CLOEXEC): Likewise.
2850 (__ASSUME_UTIMES): Undefine.
2851 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2852 (__ASSUME_UTIMES): Do not define.
2853 (__ASSUME_O_CLOEXEC): Likewise.
2854 (__ASSUME_SOCK_CLOEXEC): Likewise.
2855 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2856 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2858 (__ASSUME_PIPE2): Likewise.
2859 (__ASSUME_EVENTFD2): Likewise.
2860 (__ASSUME_SIGNALFD4): Likewise.
2861 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2862 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2864 (__ASSUME_EVENTFD2): Likewise.
2865 (__ASSUME_SIGNALFD4): Likewise.
2866 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2867 (__ASSUME_32BITUIDS): Likewise.
2868 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2869 (__ASSUME_IPC64): Likewise.
2870 (__ASSUME_ST_INO_64_BIT): Likewise.
2871 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2872 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2873 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2874 (__ASSUME_UTIMES): Do not define.
2875 (__ASSUME_PSELECT): Likewise.
2876 (__ASSUME_PPOLL): Likewise.
2877 (__ASSUME_O_CLOEXEC): Likewise.
2878 (__ASSUME_SOCK_CLOEXEC): Likewise.
2879 (__ASSUME_IN_NONBLOCK): Likewise.
2880 (__ASSUME_PIPE2): Likewise.
2881 (__ASSUME_EVENTFD2): Likewise.
2882 (__ASSUME_SIGNALFD4): Likewise.
2883 (__ASSUME_DUP3): Likewise.
2884 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2885 (__ASSUME_UTIMES): Likewise.
2886 (__ASSUME_O_CLOEXEC): Likewise.
2887 (__ASSUME_SOCK_CLOEXEC): Likewise.
2888 (__ASSUME_IN_NONBLOCK): Likewise.
2889 (__ASSUME_PIPE2): Likewise.
2890 (__ASSUME_EVENTFD2): Likewise.
2891 (__ASSUME_SIGNALFD4): Likewise.
2892 (__ASSUME_DUP3): Likewise.
2893 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2894 (__ASSUME_UTIMES): Likewise.
2895 (__ASSUME_O_CLOEXEC): Likewise.
2896 (__ASSUME_SOCK_CLOEXEC): Likewise.
2897 (__ASSUME_IN_NONBLOCK): Likewise.
2898 (__ASSUME_PIPE2): Likewise.
2899 (__ASSUME_EVENTFD2): Likewise.
2900 (__ASSUME_SIGNALFD4): Likewise.
2901 (__ASSUME_DUP3): Likewise.
2902 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2904 (__ASSUME_UTIMES): Likewise.
2905 (__ASSUME_EVENTFD2): Likewise.
2906 (__ASSUME_SIGNALFD4): Likewise.
2907 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2908 (__ASSUME_O_CLOEXEC): Likewise.
2909 (__ASSUME_SOCK_CLOEXEC): Likewise.
2910 (__ASSUME_IN_NONBLOCK): Likewise.
2911 (__ASSUME_PIPE2): Likewise.
2912 (__ASSUME_EVENTFD2): Likewise.
2913 (__ASSUME_SIGNALFD4): Likewise.
2914 (__ASSUME_DUP3): Likewise.
2915 (__ASSUME_UTIMES): Undefine.
2917 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2918 feclearexcept. Remove symbol versioning code.
2919 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2920 symbol versioning code.
2921 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2922 symbol versioning code.
2923 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2924 feupdateenv. Remove symbol versioning code.
2925 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2926 fegetexceptflag. Remove symbol versioning code.
2927 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2928 fesetexceptflag. Remove symbol versioning code.
2929 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2930 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2931 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2932 (__posix_fadvise64_l32): Remove prototype.
2933 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2936 2014-05-13 Roland McGrath <roland@hack.frob.com>
2938 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2939 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2940 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2941 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2943 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2945 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2946 current working directory
2948 2014-05-13 Roland McGrath <roland@hack.frob.com>
2950 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2951 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2952 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2953 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2954 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2955 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2956 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2957 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2958 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2959 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2960 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2961 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2962 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2963 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2964 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2965 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2966 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2967 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2968 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2969 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2970 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2971 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2972 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2973 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2975 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2977 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2981 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2983 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2984 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2985 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2986 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2987 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2988 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2989 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2990 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2991 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2993 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2994 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2996 * sysdeps/unix/sysv/linux/arm/Makefile
2997 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2998 Add rt-aeabi_unwind_cpp_pr1.
2999 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3000 Add nptl-aeabi_unwind_cpp_pr1.
3001 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3002 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3003 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3004 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3005 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3006 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3008 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3009 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3010 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3011 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3013 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3014 Deconditionalize the code that was previously under [RESET_PID].
3015 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3017 * sysdeps/generic/exit-thread.h: New file.
3018 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3019 * include/unistd.h (__exit_thread): Remove declaration.
3020 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3021 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3022 * csu/libc-start.c: Include <exit-thread.h>.
3023 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3024 * nptl/pthread_create.c: Include <exit-thread.h>.
3025 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3026 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3027 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3028 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3029 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3030 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3031 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3032 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3033 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3034 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3035 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3036 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3037 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3038 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3039 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3040 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3041 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3043 2014-05-13 Andreas Schwab <schwab@suse.de>
3045 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3047 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3049 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3050 (__ASSUME_UTIMES): Do not condition on kernel version.
3051 (__ASSUME_PSELECT): Define unconditionally.
3052 (__ASSUME_PPOLL): Likewise.
3053 (__ASSUME_ATFCTS): Likewise.
3054 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3055 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3056 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3057 (__ASSUME_UTIMENSAT): Define unconditionally.
3058 (__ASSUME_PRIVATE_FUTEX): Likewise.
3059 (__ASSUME_FALLOCATE): Likewise.
3060 (__ASSUME_O_CLOEXEC): Likewise.
3061 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3062 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3063 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3064 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3065 (__ASSUME_IN_NONBLOCK): Likewise.
3066 (__ASSUME_PIPE2): Likewise.
3067 (__ASSUME_EVENTFD2): Likewise.
3068 (__ASSUME_SIGNALFD4): Likewise.
3069 (__ASSUME_DUP3): Likewise.
3070 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3071 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3072 (__ASSUME_AT_RANDOM): Likewise.
3073 (__ASSUME_PREADV): Likewise.
3074 (__ASSUME_PWRITEV): Likewise.
3075 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3076 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3077 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3078 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3079 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3080 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3081 (__ASSUME_O_CLOEXEC): Define unconditionally.
3082 (__ASSUME_PSELECT): Do not undefine conditionally.
3083 (__ASSUME_PPOLL): Likewise.
3084 (__ASSUME_ATFCTS): Likewise.
3085 (__ASSUME_SET_ROBUST_LIST): Likewise.
3086 (__ASSUME_UTIMENSAT): Likewise.
3087 (__ASSUME_FDATASYNC): Define unconditionally.
3088 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3089 (__ASSUME_SIGFRAME_V2): Likewise.
3090 )__ASSUME_EVENTFD2): Likewise.
3091 (__ASSUME_SIGNALFD4): Likewise.
3092 (__ASSUME_PSELECT): Do not undefine conditionally.
3093 (__ASSUME_PPOLL): Likewise.
3094 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3095 (__ASSUME_PSELECT): Define unconditionally.
3096 (__ASSUME_PPOLL): Likewise.
3097 (__ASSUME_O_CLOEXEC): Likewise.
3098 (__ASSUME_SOCK_CLOEXEC): Likewise.
3099 (__ASSUME_IN_NONBLOCK): Likewise.
3100 (__ASSUME_PIPE2): Likewise.
3101 (__ASSUME_EVENTFD2): Likewise.
3102 (__ASSUME_SIGNALFD4): Likewise.
3103 (__ASSUME_DUP3): Likewise.
3104 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3105 (__ASSUME_O_CLOEXEC): Likewise.
3106 (__ASSUME_SOCK_CLOEXEC): Likewise.
3107 (__ASSUME_IN_NONBLOCK): Likewise.
3108 (__ASSUME_PIPE2): Likewise.
3109 (__ASSUME_EVENTFD2): Likewise.
3110 (__ASSUME_SIGNALFD4): Likewise.
3111 (__ASSUME_DUP3): Likewise.
3112 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3113 (__ASSUME_EVENTFD2): Likewise.
3114 (__ASSUME_SIGNALFD4): Likewise.
3115 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3117 2014-05-12 Andreas Schwab <schwab@suse.de>
3120 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3121 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3122 than maximum RPC packet size.
3123 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3124 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3125 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3126 (_nss_nis_getservbyport_r): Likewise.
3128 2014-05-12 Will Newton <will.newton@linaro.org>
3130 * malloc/Makefile (tests): Add tst-mallopt.
3131 * malloc/tst-mallopt.c: New file.
3133 2014-05-09 Roland McGrath <roland@hack.frob.com>
3135 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3136 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3138 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3140 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3141 (tst-tlsmod6.so): Likewise.
3143 2014-05-09 Roland McGrath <roland@hack.frob.com>
3145 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3147 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3150 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3151 and <dl-procinfo.h>.
3152 (__fegetenv): Save SSE state in envp->__eip if supported.
3153 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3154 envp->__eip if supported.
3155 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3156 and <dl-procinfo.h>.
3157 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3158 __data_offset and __data_selector in environment to 0. Set SSE
3160 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3162 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3164 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3166 2014-05-09 Will Newton <will.newton@linaro.org>
3168 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3169 and libc_relro_required for ARM.
3170 * sysdeps/arm/preconfigure: Regenerate.
3172 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3173 Stefan Liebler <stli@linux.vnet.ibm.com>
3175 * config.make.in (enable-lock-elision): New Makefile variable.
3176 * configure.ac: Likewise.
3177 * configure: Regenerate.
3178 * sysdeps/s390/configure.ac:
3179 Add check for gcc transactions support.
3180 * sysdeps/s390/configure: Regenerate.
3181 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3182 Build elision files if enabled.
3183 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3184 Add lock elision support for s390.
3185 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3186 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3187 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3188 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3189 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3190 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3191 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3193 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3195 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3197 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3199 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3200 (__lll_timedlock_elision, __lll_lock_elision)
3201 (__lll_unlock_elision, __lll_trylock_elision)
3202 (lll_timedlock_elision, lll_lock_elision)
3203 (lll_unlock_elision, lll_trylock_elision): Add.
3204 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3205 (pthread_mutex_t): Add lock elision support for s390.
3207 2014-05-14 Wilco <wdijkstr@arm.com>
3209 * sysdeps/arm/fclrexcpt.c: Cleanup.
3210 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3211 * sysdeps/arm/feenablxcpt.c: Cleanup.
3212 * sysdeps/arm/fegetenv.c: Cleanup.
3213 * sysdeps/arm/fegetexcept.c: Cleanup.
3214 * sysdeps/arm/fegetround.c: Cleanup.
3215 * sysdeps/arm/feholdexcpt.c: Cleanup.
3216 * sysdeps/arm/fesetenv.c: Cleanup.
3217 * sysdeps/arm/fesetround.c: Cleanup.
3218 * sysdeps/arm/feupdateenv.c: Cleanup.
3219 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3220 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3221 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3222 * sysdeps/arm/ftestexcept.c: Cleanup.
3223 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3224 * sysdeps/arm/setfpucw.c: Cleanup.
3226 2014-05-09 Will Newton <will.newton@linaro.org>
3228 * sysdeps/arm/armv7/strcmp.S: New file.
3229 * NEWS: Mention addition of ARMv7 optimized strcmp.
3231 2014-05-08 Roland McGrath <roland@hack.frob.com>
3233 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3234 look for %.ac rather than %.in.
3236 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3237 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3238 * sysdeps/mach/hurd/configure: Regenerated.
3239 * sysdeps/unix/sysv/linux/configure: Regenerated.
3241 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3243 2014-05-07 Steve Ellcey <sellcey@mips.com>
3246 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3250 2014-05-07 Andreas Schwab <schwab@suse.de>
3252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3253 when skipping over non-matching result from nscd.
3255 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3258 * nptl/sockperf.c (client): Check socket return value.
3261 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3262 nscd security class.
3264 2014-05-06 Roland McGrath <roland@hack.frob.com>
3266 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3267 * sysdeps/arm/unwind.h: ... here.
3269 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3272 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3275 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3277 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3278 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3279 multiarch strncpy for PPC64.
3280 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3281 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3283 multiarch optimizations.
3284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3285 (__libc_ifunc_impl_list): Likewise.
3286 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3287 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3288 multiarch stpncpy for PPC64.
3289 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3290 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3292 2014-05-06 Andreas Schwab <schwab@suse.de>
3295 * gmon/mcount.c (_MCOUNT_DECL): Use
3296 atomic_compare_and_exchange_bool_acq instead of
3297 catomic_compare_and_exchange_bool_acq.
3299 2014-05-05 Roland McGrath <roland@hack.frob.com>
3301 * elf/Makefile (others, install-bin): Remove pldd.
3302 (pldd-modules): Variable removed.
3303 ($(objpfx)pldd): Target removed.
3304 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3305 (others, install-bin): Append pldd here.
3306 ($(objpfx)pldd): New target.
3308 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3309 to 0, so the first #if test emitted later doesn't see it undefined.
3310 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3311 * sysdeps/gnu/errlist.c: Regenerated.
3313 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3315 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3316 [libc_hidden_builtin_def]: Define to empty value.
3317 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3318 [libc_hidden_builtin_def]: Likewise.
3319 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3320 [libc_hidden_builtin_def]: Likewise.
3321 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3322 [libc_hidden_builtin_def]: Likewise.
3323 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3324 __redirect_memcpy and define ifunc as default hidden symbol.
3325 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3326 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3328 2014-05-04 Adam Conrad <adconrad@0c3.net>
3330 * locale/iso-4217.def: Reintroduce XDR currency.
3332 2014-05-04 Allan McRae <allan@archlinux.org>
3334 * po/eo.po: Update Esperanto translation from translation project.
3336 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3338 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3339 and FEATURE_INDEX_MAX to 1.
3340 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3342 2014-05-01 Steve Ellcey <sellcey@mips.com>
3344 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3345 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3346 * iconvdata/big5.c (ONE_DIRECTION): Define.
3347 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3348 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3349 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3350 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3351 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3352 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3353 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3354 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3355 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3356 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3357 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3358 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3359 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3360 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3361 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3362 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3363 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3364 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3365 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3366 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3367 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3368 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3369 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3370 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3371 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3372 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3373 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3374 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3375 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3376 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3377 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3378 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3379 * iconvdata/johab.c (ONE_DIRECTION): Define.
3380 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3381 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3382 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3383 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3384 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3385 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3386 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3387 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3388 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3389 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3391 2014-05-01 Roland McGrath <roland@hack.frob.com>
3393 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3394 (_IO_JUMPS_OFFSET): Define to 0.
3396 * nptl/sysdeps/pthread/bits/libc-lock.h
3397 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3398 (__libc_lock_define_initialized_recursive): Always define using
3399 initializer. Modern compilers treat uninitialized (implicit zero) and
3400 explicit zero initializers the same (i.e. put the datum in bss).
3402 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3404 * nscd/nscd-client.h: Include <string.h>.
3406 2014-05-01 David S. Miller <davem@davemloft.net>
3409 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3410 multiple zero bytes exist at the end of a string.
3411 Reported by Aurelien Jarno <aurelien@aurel32.net>
3413 * string/test-strcmp.c (check): Add explicit test for situations where
3414 there are multiple zero bytes after the first.
3416 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3419 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3420 when compiling wprintf.
3421 * stdio-common/tstdiomisc.c (t3): New function.
3424 2014-05-01 Steve Ellcey <sellcey@mips.com>
3426 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3427 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3428 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3429 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3431 2014-05-01 Steve Ellcey <sellcey@mips.com>
3433 * stdlib/longlong.h: Updated from GCC.
3435 2014-05-01 Will Newton <will.newton@linaro.org>
3436 Bernard Ogden <bernie.ogden@linaro.org>
3438 * NEWS: Update fixed bug list.
3441 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3443 2014-04-30 David S. Miller <davem@davemloft.net>
3445 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3446 (libc_feholdexcept_setround_sparc_ctx): New function.
3447 (libc_fesetenv_sparc_ctx): Likewise.
3448 (libc_feupdateenv_sparc_ctx): Likewise.
3449 (libc_feholdsetround_sparc_ctx): Likewise.
3450 (libc_feholdexcept_setround_ctx): Define.
3451 (libc_feholdexcept_setroundf_ctx): Likewise.
3452 (libc_feholdexcept_setroundl_ctx): Likewise.
3453 (libc_fesetenv_ctx): Likewise.
3454 (libc_fesetenvf_ctx): Likewise.
3455 (libc_fesetenvl_ctx): Likewise.
3456 (libc_feupdateenv_ctx): Likewise.
3457 (libc_feupdateenvf_ctx): Likewise.
3458 (libc_feupdateenvl_ctx): Likewise.
3459 (libc_feresetround_ctx): Likewise.
3460 (libc_feresetroundf_ctx): Likewise.
3461 (libc_feresetroundl_ctx): Likewise.
3462 (libc_feholdsetround_ctx): Likewise.
3463 (libc_feholdsetroundf_ctx): Likewise.
3464 (libc_feholdsetroundl_ctx): Likewise.
3466 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3467 with __USE_GNU instead of XOPEN cpp guards.
3469 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3473 with XOPEN cpp guards.
3475 2014-04-30 Julian Brown <julian@codesourcery.com>
3478 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3481 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3484 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3486 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3487 * sysdeps/unix/sysv/linux/configure: Regenerated.
3488 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3489 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3490 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3491 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3492 * README: Update reference to required Linux kernel version.
3493 * manual/install.texi (Linux): Update reference to required Linux
3494 kernel headers version.
3495 * INSTALL: Regenerated.
3497 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3499 [POSIX] (limits.h): Likewise.
3500 [POSIX] (math.h): Likewise.
3501 [POSIX] (sys/wait.h): Likewise.
3502 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3504 [POSIX] (stddef.h): Do not allow header inclusion.
3506 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3508 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3510 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3512 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3513 Return immediately after lll_futex_wake.
3515 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3518 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3520 (datahead_init_pos): Call datahead_init_common early.
3521 (datahead_init_neg): Likewise.
3523 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3524 datahead_init_neg): New functions.
3525 * nscd/aicache.c (addhstaiX): Use them.
3526 * nscd/grpcache.c (cache_addgr): Likewise.
3527 * nscd/hstcache.c (cache_addhst): Likewise.
3528 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3529 * nscd/netgroupcache.c (do_notfound): Likewise.
3530 (addgetnetgrentX): Likewise.
3531 (addinnetgrX): Likewise.
3532 * nscd/pwdcache.c (cache_addpw): Likewise.
3533 * nscd/servicescache.c (cache_addserv): Likewise.
3535 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3536 Atsushi Onoe <atsushi@onoe.org>
3541 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3542 one response is valid.
3543 * resolv/res_send.c (send_dg): Check for validity of other
3544 response if the current response is a referral.
3546 2014-04-29 Steve Ellcey <sellcey@mips.com>
3548 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3550 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3553 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3554 Always divide by positive zero when computing -Inf result.
3555 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3556 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3558 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3560 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3561 FPSCR if value do not change.
3562 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3563 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3564 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3565 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3566 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3567 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3570 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3572 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3573 * sysdeps/unix/sysv/linux/hppa: Move directory from
3574 ports/systeps/unix/sysv/linux/hppa.
3575 * README: Update listing for hppa-*-linux-gnu.
3577 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3580 * manual/stdio.texi (Hook functions): Fix types of stream hook
3583 * socket/sys/socket.h: Fix typo in comment.
3585 2014-04-28 Wilco <wdijkstr@arm.com>
3587 * sysdeps/arm/fenv_private.h: New file.
3588 * sysdeps/arm/math_private.h: New file.
3589 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3591 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3593 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3595 (La_x86_64_retval): Likewise.
3597 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3599 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3600 fpsr if value didn't change.
3601 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3602 to fpcr if value didn't change.
3603 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3604 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3605 fpsr or fpcr if value didn't change.
3606 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3607 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3608 fpcr if value didn't change.
3609 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3610 to fpsr if value didn't change.
3612 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3614 * nptl/tst-sem3.c: Use test-skeleton.c
3615 (main): Rename to do_test. Use return instead of
3617 * nptl/tst-sem4.c: Use test-skeleton.c
3618 (main): Rename to do_test.
3620 2014-04-22 David S. Miller <davem@davemloft.net>
3622 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3623 (struct sigaction): New struct member __glibc_reserved0, change
3624 type of sa_flags to int.
3626 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3628 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3629 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3631 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3633 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3634 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3636 2014-04-22 Will Newton <will.newton@linaro.org>
3637 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3639 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3640 (__longjmp): Add longjmp and longjmp_target SystemTap
3642 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3643 (__sigsetjmp): Add setjmp SystemTap probe.
3645 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3647 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3650 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3652 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3654 * sysdeps/powerpc/fpu/fenv_private.h
3655 (libc_feholdexcept_setroundl_ctx): Define to
3656 libc_feholdexcept_setround_ppc_ctx.
3657 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3658 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3659 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3660 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3662 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3664 * sysdeps/aarch64/math-tests.h: New file.
3666 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3668 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3671 Check and set bit_AVX2_Usable.
3672 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3674 (bit_AVX2): Likewise.
3675 (index_AVX2_Usable): Likewise.
3676 (CPUID_AVX2): Likewise.
3677 (HAS_AVX2): Likewise.
3679 2014-04-17 Will Newton <will.newton@linaro.org>
3681 * manual/setjmp.texi (System V contexts): Add note that
3682 calling setcontext on a context created by a call to a
3683 signal handler is undefined. Update text to note that
3684 setcontext from a signal handler is possible but not
3688 * stdlib/tst-setcontext.c: Include signal.h.
3689 (main): Check that the signal stack before and
3690 after swapcontext is the same.
3692 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3693 Re-implement to restore registers in user code and avoid
3694 rt_sigreturn system call.
3696 2014-04-17 Wilco <wdijkstr@arm.com>
3698 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3699 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3700 * math/test-fenv.c: Skip exception trap tests on targets which only
3701 support non-stop mode.
3703 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3704 Wilco Dijkstra <wilco.dijkstra@arm.com>
3706 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3707 (libc_feholdsetround_aarch64_ctx)
3708 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3709 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3710 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3711 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3712 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3713 (libc_feresetround_noexl_ctx): Define.
3715 2014-04-16 Richard Henderson <rth@redhat.com>
3717 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3719 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3722 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3723 const from the non-libc, non-ldso copy.
3725 * sysdeps/alpha/libm-test-ulps: Regenerate.
3727 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3728 Wilco Dijkstra <wilco.dijkstra@arm.com>
3730 * sysdeps/aarch64/fpu/math_private.h: New file.
3732 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3734 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3736 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3738 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3739 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3740 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3741 Intel MPX bound registers before _dl_profile_fixup.
3742 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3743 registers after _dl_profile_fixup. Save and restore bound
3744 registers bnd0/bnd1 when calling _dl_call_pltexit.
3745 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3746 (LR_BND_OFFSET): Likewise.
3747 (LRV_BND0_OFFSET): Likewise.
3748 (LRV_BND1_OFFSET): Likewise.
3750 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3752 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3754 * sysdeps/mach/hurd/i386/tls.h: ... here.
3755 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3756 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3759 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3761 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3763 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3765 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3767 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3770 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3771 * sysdeps/s390/configure: Regenerate.
3774 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3775 Set round-to-nearest internally to reduce error accumulation.
3777 2014-04-16 Alan Modra <amodra@gmail.com>
3781 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3782 * math/libm-test.inc (frexp_test_data): Add tests.
3783 * NEWS: Update fixed bug list.
3785 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3787 * benchtests/Makefile: Depend on libraries in build directory.
3788 (bench-math): Separate out math tests.
3789 (bench-pthread): Separate out pthread tests.
3790 (bench): Include math and pthread tests.
3792 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3795 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3796 _dl_debug_initialize.
3798 * configure.ac: Remove SELinux header check.
3799 * configure: Regenerate.
3800 * nscd/selinux.c (perms): Array of const char* to permission names.
3801 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3802 default policy. Call string_to_security_class and string_to_av_perm to
3803 translate strings. Enforce default policy and call avs_has_perm with
3804 results of translated strings.
3806 2014-04-13 David S. Miller <davem@davemloft.net>
3808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3810 2014-04-12 Allan McRae <allan@archlinux.org>
3813 * manual/string.texi (Collation Functions): Fix qsort argument
3815 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3817 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3819 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3820 Make the test a no-op if there are no exceptions defined.
3822 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3824 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3825 enable-hardcoded-path-in-tests
3827 2014-04-11 Will Newton <will.newton@linaro.org>
3829 * benchtests/Makefile (extra-objs): Add json-lib.o.
3830 (bench-func): Tidy up JSON output.
3831 * benchtests/bench-skeleton.c: Include json-lib.h.
3832 (main): Use JSON library functions to do output of
3834 * benchtests/bench-timing-type.c (main): Output the
3835 timing type simply, leaving formatting to the user.
3836 * benchtests/json-lib.c: New file.
3837 * benchtests/json-lib.h: Likewise.
3839 2014-04-11 Torvald Riegel <triegel@redhat.com>
3842 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3843 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3844 memory barriers. Add comments.
3845 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3846 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3847 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3848 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3849 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3850 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3852 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3854 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3855 * sysdeps/s390/s390-64/configure.ac: ... this ...
3856 * sysdeps/s390/configure.ac: ... to here.
3857 * sysdeps/s390/s390-32/configure: Delete file.
3858 * sysdeps/s390/s390-64/configure: Delete file.
3859 * sysdeps/s390/configure: Regenerate.
3861 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3863 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3865 2014-04-11 Will Newton <will.newton@linaro.org>
3867 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3868 to zero if it is not defined elsewhere. (mtrim): Test
3869 the value of MALLOC_DEBUG with #if rather than #ifdef.
3871 2014-04-10 Torvald Riegel <triegel@redhat.com>
3873 * benchtests/pthread_once-inputs: New file.
3874 * benchtests/pthread_once-source.c: New file.
3875 * benchtests/README: Update documentation.
3877 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3878 H.J. Lu <hongjiu.lu@intel.com>
3880 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3881 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3882 * sysdeps/x86_64/configure: Regenerated.
3883 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3885 (REGISTER_SAVE_RAX): Likewise.
3886 (REGISTER_SAVE_RCX): Likewise.
3887 (REGISTER_SAVE_RDX): Likewise.
3888 (REGISTER_SAVE_RSI): Likewise.
3889 (REGISTER_SAVE_RDI): Likewise.
3890 (REGISTER_SAVE_R8): Likewise.
3891 (REGISTER_SAVE_R9): Likewise.
3892 (REGISTER_SAVE_BND0): Likewise.
3893 (REGISTER_SAVE_BND1): Likewise.
3894 (REGISTER_SAVE_BND2): Likewise.
3895 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3896 bound registers when calling _dl_fixup.
3898 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3900 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3901 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3903 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3904 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3905 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3906 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3907 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3908 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3909 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3911 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3914 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3915 pathconf(_PC_NAME_MAX).
3917 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3919 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3921 (__PTHREAD_SPINS): Move definition to ...
3922 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3923 (__PTHREAD_SPINS): ... here.
3924 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3925 (__PTHREAD_SPIN): Likewise.
3926 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3927 (__PTHREAD_SPIN): Likewise.
3928 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3929 (__PTHREAD_SPIN): Likewise.
3930 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3931 (__PTHREAD_SPIN): Likewise.
3932 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3933 (__PTHREAD_SPIN): Likewise.
3934 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3935 (__PTHREAD_SPIN): Likewise.
3936 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3937 (__PTHREAD_SPIN): Likewise.
3938 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3939 (__PTHREAD_SPIN): Likewise.
3940 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3941 (__PTHREAD_SPIN): Likewise.
3942 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3943 (__PTHREAD_SPIN): Likewise.
3944 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3945 (__PTHREAD_SPIN): Likewise.
3946 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3947 (__PTHREAD_SPIN): Likewise.
3949 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3950 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3951 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3952 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3954 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3955 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3956 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3957 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3959 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3960 strlen symbol for non multi-arch builds.
3961 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3962 missing hidden_def and weak_alias.
3964 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3966 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3968 2014-04-07 Will Newton <will.newton@linaro.org>
3970 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3971 and contents. [!_LIBC] Remove #ifndef and contents.
3972 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3973 * string/memccpy.c (__memccpy): Use ANSI prototype.
3974 * string/memfrob.c (memfrob): Likewise.
3975 * string/strcoll.c (STRCOLL): Likewise.
3976 * string/strlen.c (strlen): Likewise.
3977 * string/strtok.c (STRTOK): Likewise.
3978 * string/strcat.c: Remove unused #include of memcopy.h.
3979 (strcat): Use ANSI prototype.
3980 * string/strchr.c: Remove unused #include of memcopy.h.
3981 (strchr): Use ANSI prototype.
3982 * string/strcmp.c: Remove unused #include of memcopy.h.
3983 (strcmp): Use ANSI prototype.
3984 * string/strcpy.c: Remove unused #include of memcopy.h.
3985 (strcpy): Use ANSI prototype.
3987 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3989 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3990 * config.make.in (config-extra-cppflags): Set it from
3991 libc_extra_cppflags.
3992 * configure.ac (libc_extra_cflags): Make it accumulate over
3993 configure fragments.
3994 (libc_extra_cppflags): New flag.
3995 * configure. Regenerate.
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3997 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3998 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4002 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4003 result for FE_DOWNWARD rounding mode.
4004 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4008 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4010 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4011 in function argument name.
4013 2014-04-03 David Svoboda <svoboda@cert.org>
4016 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4019 2014-04-03 Roland McGrath <roland@hack.frob.com>
4021 * elf/dl-unmap-segments.h: New file.
4022 * sysdeps/generic/ldsodefs.h
4023 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4024 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4025 * elf/dl-fptr.c: Likewise.
4026 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4027 * sysdeps/aarch64/tlsdesc.c: Likewise.
4028 * sysdeps/arm/tlsdesc.c: Likewise.
4029 * sysdeps/i386/tlsdesc.c: Likewise.
4030 * sysdeps/tile/dl-runtime.c: Likewise.
4031 * sysdeps/x86_64/tlsdesc.c: Likewise.
4032 * elf/dl-load.h: New file.
4033 * elf/dl-load.c: Include it.
4034 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4035 Macros moved to dl-load.h.
4036 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4037 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4038 Use _dl_unmap_segments in place of __munmap.
4039 Break out segment-mapping loop into ...
4040 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4042 2014-04-03 Will Newton <will.newton@linaro.org>
4044 * elf/dl-lookup.c (do_lookup_x): Remove comment
4045 referring to nested function and move variable
4046 declarations down to before first use.
4048 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4052 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4054 * math/s_catanf.c (__catanf): Likewise.
4055 * math/s_catanh.c (__catanh): Likewise.
4056 * math/s_catanhf.c (__catanhf): Likewise.
4057 * math/s_catanhl.c (__catanhl): Likewise.
4058 * math/s_catanl.c (__catanl): Likewise.
4059 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4060 by positive zero when computing -Inf result.
4061 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4062 (catanh_test): Likewise.
4063 * sysdeps/i386/fpu/libm-test-ulps: Update.
4064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4067 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4068 instead of using underflowing value in computing result.
4069 * math/s_clog10.c (__clog10): Likewise.
4070 * math/s_clog10f.c (__clog10f): Likewise.
4071 * math/s_clog10l.c (__clog10l): Likewise.
4072 * math/s_clogf.c (__clogf): Likewise.
4073 * math/s_clogl.c (__clogl): Likewise.
4074 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4075 (clog10_test): Likewise.
4076 * sysdeps/i386/fpu/libm-test-ulps: Update.
4077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4079 2014-04-02 Alan Modra <amodra@gmail.com>
4082 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4083 output when value is near a power of two. Use int64_t for lx and
4084 remove casts. Use decimal rather than hex exponent constants.
4085 Don't use long double multiplication when double will suffice.
4086 * math/libm-test.inc (nextafter_test_data): Add tests.
4087 * NEWS: Add 16739 and 16786 to bug list.
4089 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4091 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4093 2014-04-01 Will Newton <will.newton@linaro.org>
4095 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4096 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4098 2014-04-01 Florian Weimer <fweimer@redhat.com>
4101 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4102 * nptl/tst-setuid2.c: New file.
4103 * nptl/Makefile (xtests): Add tst-setuid2.
4105 2014-04-01 Alan Modra <amodra@gmail.com>
4108 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4110 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4114 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4115 set errno as appropriate.
4116 * math/w_scalbf.c (__scalbf): Likewise.
4117 * math/w_scalbl.c (__scalbl): Likewise.
4118 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4119 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4120 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4124 * math/w_atan2.c: Include <errno.h>.
4125 (__atan2): Set errno for result underflowing to zero.
4126 * math/w_atan2f.c: Include <errno.h>.
4127 (__atan2f): Set errno for result underflowing to zero.
4128 * math/w_atan2l.c: Include <errno.h>.
4129 (__atan2l): Set errno for result underflowing to zero.
4130 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4132 * math/auto-libm-test-out: Regenerated.
4134 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4136 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4137 Encode instruction correctly in little endian.
4138 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4140 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4142 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4144 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4147 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4150 * sysdeps/unix/sysv/linux/kernel-features.h
4151 [__sparc__ && !__arch64__ && !__sparc_v9__]
4152 (__ASSUME_SET_ROBUST_LIST): Do not define.
4153 [__sparc__ && !__arch64__ && !__sparc_v9__]
4154 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4155 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4157 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4158 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4159 (__ASSUME_REQUEUE_PI): Likewise.
4160 (__ASSUME_SET_ROBUST_LIST): Likewise.
4161 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4162 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4164 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4165 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4167 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4169 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4171 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4172 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4174 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4175 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4179 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4180 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4181 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4183 2014-03-31 Will Newton <will.newton@linaro.org>
4185 * benchtests/Makefile (bench): Add ffs and ffsll to list
4187 * benchtests/ffs-inputs: New file.
4188 * benchtests/ffsll-inputs: Likewise.
4190 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4193 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4194 too large before casting to int.
4195 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4196 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4197 * math/libm-test.inc (scalb_test_data): Add more tests.
4199 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4201 * benchtests/Makefile (DETAILED_OPT): New make option.
4202 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4204 * benchtests/bench-skeleton.c: Include stdbool.h.
4205 (main): Store and print timings per input.
4206 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4207 member to each argument value.
4208 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4209 (_print_arg_data): Initialize per-input timing to 0.
4211 * benchtests/Makefile (timing-type): New binary.
4212 (bench-clean): Also remove bench-timing-type.
4213 (bench): New target for timing-type.
4214 (bench-func): Print output in JSON format.
4215 * benchtests/bench-skeleton.c (main): Print output in JSON
4217 * benchtests/bench-timing-type.c: New file.
4218 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4219 (TIMING_PRINT_STATS): Remove.
4220 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4223 * benchtests/bench-modf.c: Remove.
4224 * benchtests/modf-inputs: New inputs file.
4226 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4229 * math/s_clog10.c (M_PI_LOG10E): New macro.
4230 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4231 imaginary parts are 0.
4232 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4233 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4234 imaginary parts are 0.
4235 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4236 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4237 imaginary parts are 0.
4238 * math/libm-test.inc (clog10_test_data): Update expected results
4239 for when real and imaginary parts are 0.
4241 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4243 * elf/dl-load.c: Finish conversion of __builtin_expect into
4246 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4249 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4250 1+x for argument with exponent below -67.
4251 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4253 * math/auto-libm-test-in: Add more tests of exp.
4254 * math/auto-libm-test-out: Regenerated.
4256 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4259 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4260 (nscd_getnetgrent): Use it.
4263 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4266 2014-03-27 Andi Kleen <ak@linux.intel.com>
4268 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4269 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4270 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4271 (lll_robust_unlock): Remove out of line section. Use cfi
4273 (LLL_STUB_UNWIND_INFO*): Remove.
4274 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4275 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4276 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4277 (lll_robust_unlock): Remove out of line section. Use cfi
4279 (LLL_STUB_UNWIND_INFO*): Remove.
4281 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4284 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4287 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4289 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4291 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4294 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4296 * math/test-fenv-preserve.c: New file.
4297 * math/Makefile (tests): Add test-fenv-preserve.
4299 2014-03-26 Will Newton <will.newton@linaro.org>
4301 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4303 2014-03-25 Roland McGrath <roland@hack.frob.com>
4305 * scripts/versionlist.awk: Partition the version sets and emit all
4306 GLIBC_* (sorted) before all others (sorted).
4308 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4310 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4311 GLIBC_2.2.5 version.
4313 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4315 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4318 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4323 2014-03-25 Andreas Schwab <schwab@suse.de>
4325 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4326 label to be used after in6ailist is initialized.
4328 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4330 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4331 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4333 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4337 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4339 (fp_formats): Update initializers.
4340 (init_fp_formats): Initialize new field.
4341 (output_for_one_input_case): Allow underflow for results up to
4343 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4344 * math/auto-libm-test-in: Don't mark some underflows from asin and
4346 * math/auto-libm-test-out: Regenerated.
4347 * sysdeps/i386/fpu/libm-test-ulps: Update.
4348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4350 2014-03-25 Andreas Schwab <schwab@suse.de>
4352 * libio/Makefile (tst-ftell-partial-wide-ENV)
4353 (tst-ftell-active-handler-ENV): Define.
4355 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4357 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4359 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4361 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4363 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4365 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4366 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4367 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4369 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4372 * elf/dl-load.c (open_verify): Add mode parameter.
4373 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4374 (open_path): Change from boolean 'secure' to complete flag 'mode'
4375 (_dl_map_object): Adjust.
4376 * elf/Makefile (tests): Add tst-dlopen-aout.
4377 * elf/tst-dlopen-aout.c: New test.
4379 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4382 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4383 (struct stat): Rename member pad0 to __glibc_reserved0.
4386 * sysdeps/s390/s390-32/bits/wordsize.h
4387 (__WORDSIZE32_SIZE_ULONG): New define.
4388 * sysdeps/s390/s390-64/bits/wordsize.h
4389 (__WORDSIZE32_SIZE_ULONG): Likewise.
4390 * sysdeps/generic/stdint.h (SIZE_MAX):
4391 Define as UL if __WORDSIZE32_SIZE_ULONG.
4394 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4395 (__glibc_reserved0): New variable.
4396 (sa_flags): Change type to int.
4398 * posix/Makefile (before-compile): Use += before-compile instead
4401 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4402 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4404 2014-03-20 Andreas Schwab <schwab@suse.de>
4407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4408 non-matching result from nscd.
4410 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4412 * scripts/bench.py: Moved to ...
4413 * benchtests/scripts/bench.py: ... here.
4414 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4416 2014-03-24 Andreas Schwab <schwab@suse.de>
4419 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4420 alloca_account and account alloca use for struct in6ailist.
4422 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4425 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4426 rounding mode to recompute results that overflow to infinity or
4428 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4430 * math/auto-libm-test-out: Regenerated.
4431 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4432 (ccosh_test): Likewise.
4433 (csin_test_data): Use plus_oflow.
4434 (csin_test): Use ALL_RM_TEST.
4435 (csinh_test_data): Use plus_oflow.
4436 (csinh_test): Use ALL_RM_TEST.
4437 * sysdeps/i386/fpu/libm-test-ulps: Update.
4438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4440 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4442 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4443 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4444 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4447 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4449 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4450 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4451 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4452 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4454 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4455 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4457 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4458 * sysdeps/i386/fpu/libm-test-ulps: Update.
4459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4461 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4463 * scripts/bench.pl: Remove file.
4464 * scripts/bench.py: New benchmark script.
4465 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4466 * benchtests/README: Mention python dependency.
4467 * scripts/pylintrc: New file.
4468 * scripts/pylint: New file.
4470 * bits/mathdef.h: Use #ifdef instead of #if.
4471 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4472 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4473 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4474 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4475 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4476 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4478 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4479 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4481 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4483 and strpbrk-ppc64 objects.
4484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4485 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4486 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4487 multiarch strpbrk for POWER7.
4488 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4489 multiarch strpbrk for PPC64.
4490 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4492 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4495 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4497 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4498 (atan_test): Likewise.
4499 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4500 (atanh_test): Use ALL_RM_TEST.
4501 (atan2_test_data): Likewise.
4502 (cabs_test): Likewise.
4503 (cacosh_test): Likewise.
4504 (carg_test): Likewise.
4505 (casin_test): Likewise.
4506 (casinh_test): Likewise.
4507 (cbrt_test): Likewise.
4508 (csqrt_test): Likewise.
4509 (erf_test): Likewise.
4510 (erfc_test): Likewise.
4511 (pow10_test): Likewise.
4512 (exp2_test): Likewise.
4513 (hypot_test): Likewise.
4514 (j0_test): Likewise.
4515 (j1_test): Likewise.
4516 (lgamma_test): Likewise.
4517 (gamma_test): Likewise.
4518 (sincos_test): Likewise.
4519 (tanh_test): Likewise.
4520 (y0_test): Likewise.
4521 (y1_test): Likewise.
4522 * sysdeps/i386/fpu/libm-test-ulps: Update.
4523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4525 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4527 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4529 and strcspn-ppc64 objects.
4530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4531 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4532 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4533 multiarch strcspn for POWER7.
4534 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4535 multiarch strcspn for PPC64.
4536 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4538 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4541 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4543 * math/gen-libm-test.pl (generate_testfile): Expect only function
4544 name as argument to AUTO_TESTS_* and pass results for all rounding
4545 modes to parse_args.
4546 (parse_auto_input): Separate inputs of automatic tests from
4547 outputs before storing in %auto_tests.
4548 * math/libm-test.inc (acos_test_data): Update call to
4550 (acos_test): Use ALL_RM_TEST.
4551 (acos_tonearest_test_data): Remove.
4552 (acos_test_tonearest): Likewise.
4553 (acos_towardzero_test_data): Likewise.
4554 (acos_test_towardzero): Likewise.
4555 (acos_downward_test_data): Likewise.
4556 (acos_test_downward): Likewise.
4557 (acos_upward_test_data): Likewise.
4558 (acos_test_upward): Likewise.
4559 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4560 (asin_test_data): Likewise.
4561 (asin_test): Use ALL_RM_TEST.
4562 (asin_tonearest_test_data): Remove.
4563 (asin_test_tonearest): Likewise.
4564 (asin_towardzero_test_data): Likewise.
4565 (asin_test_towardzero): Likewise.
4566 (asin_downward_test_data): Likewise.
4567 (asin_test_downward): Likewise.
4568 (asin_upward_test_data): Likewise.
4569 (asin_test_upward): Likewise.
4570 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4571 (atan_test_data): Likewise.
4572 (atanh_test_data): Likewise.
4573 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4574 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4575 (carg_test_data): Likewise.
4576 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4577 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4578 (ccosh_test_data): Likewise.
4579 (cexp_test_data): Likewise.
4580 (clog_test_data): Likewise.
4581 (clog10_test_data): Likewise.
4582 (cos_test_data): Update call to AUTO_TESTS_f_f.
4583 (cos_test): Use ALL_RM_TEST.
4584 (cos_tonearest_test_data): Remove.
4585 (cos_test_tonearest): Likewise.
4586 (cos_towardzero_test_data): Likewise.
4587 (cos_test_towardzero): Likewise.
4588 (cos_downward_test_data): Likewise.
4589 (cos_test_downward): Likewise.
4590 (cos_upward_test_data): Likewise.
4591 (cos_test_upward): Likewise.
4592 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4593 (cosh_test): Use ALL_RM_TEST.
4594 (cosh_tonearest_test_data): Remove.
4595 (cosh_test_tonearest): Likewise.
4596 (cosh_towardzero_test_data): Likewise.
4597 (cosh_test_towardzero): Likewise.
4598 (cosh_downward_test_data): Likewise.
4599 (cosh_test_downward): Likewise.
4600 (cosh_upward_test_data): Likewise.
4601 (cosh_test_upward): Likewise.
4602 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4603 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4604 (ctan_test_data): Likewise.
4605 (ctan_test): Use ALL_RM_TEST.
4606 (ctan_tonearest_test_data): Remove.
4607 (ctan_test_tonearest): Likewise.
4608 (ctan_towardzero_test_data): Likewise.
4609 (ctan_test_towardzero): Likewise.
4610 (ctan_downward_test_data): Likewise.
4611 (ctan_test_downward): Likewise.
4612 (ctan_upward_test_data): Likewise.
4613 (ctan_test_upward): Likewise.
4614 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4615 (ctanh_test): Use ALL_RM_TEST.
4616 (ctanh_tonearest_test_data): Remove.
4617 (ctanh_test_tonearest): Likewise.
4618 (ctanh_towardzero_test_data): Likewise.
4619 (ctanh_test_towardzero): Likewise.
4620 (ctanh_downward_test_data): Likewise.
4621 (ctanh_test_downward): Likewise.
4622 (ctanh_upward_test_data): Likewise.
4623 (ctanh_test_upward): Likewise.
4624 (erf_test_data): Update call to AUTO_TESTS_f_f.
4625 (erfc_test_data): Likewise.
4626 (exp_test_data): Likewise.
4627 (exp_test): Use ALL_RM_TEST.
4628 (exp_tonearest_test_data): Remove.
4629 (exp_test_tonearest): Likewise.
4630 (exp_towardzero_test_data): Likewise.
4631 (exp_test_towardzero): Likewise.
4632 (exp_downward_test_data): Likewise.
4633 (exp_test_downward): Likewise.
4634 (exp_upward_test_data): Likewise.
4635 (exp_test_upward): Likewise.
4636 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4637 (exp10_test): Use ALL_RM_TEST.
4638 (exp10_tonearest_test_data): Remove.
4639 (exp10_test_tonearest): Likewise.
4640 (exp10_towardzero_test_data): Likewise.
4641 (exp10_test_towardzero): Likewise.
4642 (exp10_downward_test_data): Likewise.
4643 (exp10_test_downward): Likewise.
4644 (exp10_upward_test_data): Likewise.
4645 (exp10_test_upward): Likewise.
4646 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4647 (expm1_test_data): Likewise.
4648 (expm1_test): Use ALL_RM_TEST.
4649 (expm1_tonearest_test_data): Remove.
4650 (expm1_test_tonearest): Likewise.
4651 (expm1_towardzero_test_data): Likewise.
4652 (expm1_test_towardzero): Likewise.
4653 (expm1_downward_test_data): Likewise.
4654 (expm1_test_downward): Likewise.
4655 (expm1_upward_test_data): Likewise.
4656 (expm1_test_upward): Likewise.
4657 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4658 (fma_test): Use ALL_RM_TEST.
4659 (fma_towardzero_test_data): Remove.
4660 (fma_test_towardzero): Likewise.
4661 (fma_downward_test_data): Likewise.
4662 (fma_test_downward): Likewise.
4663 (fma_upward_test_data): Likewise.
4664 (fma_test_upward): Likewise.
4665 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4666 (j0_test_data): Update call to AUTO_TESTS_f_f.
4667 (j1_test_data): Likewise.
4668 (jn_test_data): Update call to AUTO_TESTS_if_f.
4669 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4670 (log_test_data): Update call to AUTO_TESTS_f_f.
4671 (log10_test_data): Likewise.
4672 (log1p_test_data): Likewise.
4673 (log2_test_data): Likewise.
4674 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4675 (pow_tonearest_test_data): Likewise.
4676 (sin_test_data): Update call to AUTO_TESTS_f_f.
4677 (sin_test): Use ALL_RM_TEST.
4678 (sin_tonearest_test_data): Remove.
4679 (sin_test_tonearest): Likewise.
4680 (sin_towardzero_test_data): Likewise.
4681 (sin_test_towardzero): Likewise.
4682 (sin_downward_test_data): Likewise.
4683 (sin_test_downward): Likewise.
4684 (sin_upward_test_data): Likewise.
4685 (sin_test_upward): Likewise.
4686 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4687 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4688 (sinh_test): Use ALL_RM_TEST.
4689 (sinh_tonearest_test_data): Remove.
4690 (sinh_test_tonearest): Likewise.
4691 (sinh_towardzero_test_data): Likewise.
4692 (sinh_test_towardzero): Likewise.
4693 (sinh_downward_test_data): Likewise.
4694 (sinh_test_downward): Likewise.
4695 (sinh_upward_test_data): Likewise.
4696 (sinh_test_upward): Likewise.
4697 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4698 (sqrt_test): Use ALL_RM_TEST.
4699 (sqrt_tonearest_test_data): Remove.
4700 (sqrt_test_tonearest): Likewise.
4701 (sqrt_towardzero_test_data): Likewise.
4702 (sqrt_test_towardzero): Likewise.
4703 (sqrt_downward_test_data): Likewise.
4704 (sqrt_test_downward): Likewise.
4705 (sqrt_upward_test_data): Likewise.
4706 (sqrt_test_upward): Likewise.
4707 (tan_test_data): Update call to AUTO_TESTS_f_f.
4708 (tan_test): Use ALL_RM_TEST.
4709 (tan_tonearest_test_data): Remove.
4710 (tan_test_tonearest): Likewise.
4711 (tan_towardzero_test_data): Likewise.
4712 (tan_test_towardzero): Likewise.
4713 (tan_downward_test_data): Likewise.
4714 (tan_test_downward): Likewise.
4715 (tan_upward_test_data): Likewise.
4716 (tan_test_upward): Likewise.
4717 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4718 (tgamma_test_data): Likewise.
4719 (y0_test_data): Likewise.
4720 (y1_test_data): Likewise.
4721 (yn_test_data): Update call to AUTO_TESTS_if_f.
4722 (main): Do not call removed functions.
4724 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4726 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4727 (ldexp_test_data): Remove.
4728 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4730 (scalb_test): Use ALL_RM_TEST.
4732 2014-03-19 Andreas Schwab <schwab@suse.de>
4734 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4736 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4739 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4740 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4741 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4742 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4743 (__ASSUME_PREADV): Undefine.
4744 (__ASSUME_PWRITEV): Likewise.
4746 2014-03-18 Roland McGrath <roland@hack.frob.com>
4748 * bits/mman-linux.h: Add comment about non-Linux use.
4749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4750 bits/mman-linux.h resting place.
4752 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4753 * bits/mman-linux.h: ... here.
4755 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4757 * conform/conformtest.pl: Add standard definition when calling C
4758 preprocessor on data files.
4759 (checknamespace): Remove unused variable.
4761 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4763 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4764 minus_oflow, plus_uflow and minus_uflow in expected results.
4765 * math/libm-test.inc (scalbn_test_data): Add more tests of
4766 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4768 (scalbn_test): Use ALL_RM_TEST.
4769 (scalbln_test_data): Add more tests of negative arguments. Use
4770 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4771 (scalbln_test): Use ALL_RM_TEST.
4773 2014-03-18 Roland McGrath <roland@hack.frob.com>
4775 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4777 2014-03-18 Will Newton <will.newton@linaro.org>
4779 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4782 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4784 * Makerules [!subdir] (check-abi): Exit with error status if a
4787 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4789 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4790 for rint. Include results for all rounding modes.
4791 (nearbyint_test): Use ALL_RM_TEST.
4792 (rint_test_data): Include all tests used for nearbyint.
4794 2014-03-17 Will Newton <will.newton@linaro.org>
4796 * nptl/sysdeps/pthread/pthread.h: Revert previous
4799 * sysdeps/generic/ldsodefs.h: Revert previous
4802 * libio/genops.c: Revert previous change.
4803 * libio/libioP.h: Likewise.
4804 * stdio-common/vfprintf.c: Likewise.
4806 * sysdeps/generic/math_private.h: Revert previous
4809 * sysdeps/generic/math_private.h: Check whether
4810 HAVE_RM_CTX is defined with #ifdef rather
4813 * argp/argp-fmtstream.h: Check whether
4814 __STRICT_ANSI__ is defined with #ifdef rather
4816 * argp/argp.h: Likewise.
4818 * libio/genops.c: Check whether
4819 _IO_JUMPS_OFFSET is defined with #ifdef rather
4821 * libio/libioP.h: Likewise.
4822 * stdio-common/vfprintf.c: Likewise.
4824 * sysdeps/generic/ldsodefs.h: Check whether
4825 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4828 * nptl/sysdeps/pthread/pthread.h: Check
4829 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4832 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4834 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4836 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4840 * libio/fileops.c (_IO_file_open): Seek to end of file but
4841 don't cache the offset.
4842 (get_file_offset): Remove function.
4843 (do_ftell): Use cached offset when available.
4844 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4845 don't cache the offset.
4846 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4848 (do_one_test): Call it.
4849 (do_ftell_test): Fix up expected old offset for a+ mode.
4850 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4853 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4854 up test status with function return status.
4855 (do_write_test): Likewise.
4856 (do_append_test): Likewise.
4858 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4859 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4862 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4864 * math/gen-libm-test.pl (parse_args): Handle results specified for
4865 each rounding mode separately.
4866 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4867 tests and results from lrint_tonearest_test_data,
4868 lrint_towardzero_test_data, lrint_downward_test_data and
4869 lrint_upward_test_data.
4870 (lrint_test): Use ALL_RM_TEST.
4871 (lrint_tonearest_test_data): Remove.
4872 (lrint_test_tonearest): Likewise.
4873 (lrint_towardzero_test_data): Likewise.
4874 (lrint_test_towardzero): Likewise.
4875 (lrint_downward_test_data): Likewise.
4876 (lrint_test_downward): Likewise.
4877 (lrint_upward_test_data): Likewise.
4878 (lrint_test_upward): Likewise.
4879 (llrint_test_data): Merge in per-rounding-mode tests and results
4880 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4881 llrint_downward_test_data and llrint_upward_test_data.
4882 (llrint_test): Use ALL_RM_TEST.
4883 (llrint_tonearest_test_data): Remove.
4884 (llrint_test_tonearest): Likewise.
4885 (llrint_towardzero_test_data): Likewise.
4886 (llrint_test_towardzero): Likewise.
4887 (llrint_downward_test_data): Likewise.
4888 (llrint_test_downward): Likewise.
4889 (llrint_upward_test_data): Likewise.
4890 (llrint_test_upward): Likewise.
4891 (rint_test_data): Merge in per-rounding-mode tests and results
4892 from rint_tonearest_test_data, rint_towardzero_test_data,
4893 rint_downward_test_data and rint_upward_test_data. Add
4894 per-rounding-mode results for tests not in those arrays.
4895 (rint_test): Use ALL_RM_TEST.
4896 (rint_tonearest_test_data): Remove.
4897 (rint_test_tonearest): Likewise.
4898 (rint_towardzero_test_data): Likewise.
4899 (rint_test_towardzero): Likewise.
4900 (rint_downward_test_data): Likewise.
4901 (rint_test_downward): Likewise.
4902 (rint_upward_test_data): Likewise.
4903 (rint_test_upward): Likewise.
4904 (main): Don't call removed functions.
4906 2014-03-14 Roland McGrath <roland@hack.frob.com>
4908 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4909 "Compiled on ..." crapola. It is anti-useful.
4911 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4913 * scripts/evaluate-test.sh: Handle fourth argument to determine
4914 whether test run should stop on failure.
4915 * Makeconfig (stop-on-test-failure): New variable.
4916 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4917 $(stop-on-test-failure).
4918 * Makefile (tests): Give a summary of results from testing and
4919 exit with failure status if they include an ERROR or FAIL.
4921 * manual/install.texi (Configuring and compiling): Mention
4922 stop-on-test-failure=y.
4923 * INSTALL: Regenerated.
4925 2014-03-14 Roland McGrath <roland@hack.frob.com>
4927 * scripts/versionlist.awk: New file.
4928 * Makerules [$(build-shared) = yes]
4929 (postclean-generated): Add Versions.def, not Versions.def.v and
4931 ($(common-objpfx)Versions.def.v.i): Target removed.
4932 ($(common-objpfx)Versions.def): New target.
4933 ($(common-objpfx)Versions.all): Depend on that rather that
4934 $(common-objpfx)Versions.def.v.
4935 * Versions.def: File removed.
4937 * Makeconfig (+gccwarn): Add -Wundef.
4938 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4939 a dl-sysdep.h breaking its contract.
4940 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4941 * include/stackinfo.h: New file.
4942 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4943 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4944 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4945 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4946 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4947 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4948 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4949 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4950 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4951 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4952 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4953 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4954 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4955 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4956 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4958 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4961 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4963 * math/libm-test.inc (round_test_data): Add more tests.
4966 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4968 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4971 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4973 * math/libm-test.inc (ceil_test_data): Add more tests.
4975 * math/libm-test.inc (trunc_test_data): Add more tests related to
4978 2014-03-14 Roland McGrath <roland@hack.frob.com>
4980 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4981 with #if rather than #ifdef.
4982 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4984 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4986 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4987 first. Disable AVX-512 GCC support if assembler doesn't support
4989 * sysdeps/x86_64/configure: Regenerated.
4991 2014-03-13 Carlos O'Donell <carlos@redhat.com>
4993 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4994 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4995 (__old_pthread_attr_setstack): Likewise.
4996 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4997 [!_STACK_GROWS_DOWN]: Likewise.
4999 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5001 * config.make.in (have-bash2): Delete.
5002 * configure.ac (libc_cv_have_bash2): Delete.
5003 * configure: Regenerate.
5004 * elf/Makefile (common-ldd-rewrite): Rename to ...
5005 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5006 (sh-ldd-rewrite): Delete.
5007 (bash-ldd-rewrite): Delete.
5008 (have-bash2): Delete checks.
5009 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5012 * config.make.in (have-ksh): Delete.
5014 * configure.ac (libc_cv_have_ksh): Delete.
5015 * configure: Regenerate.
5017 * elf/Makefile: Delete $(have-ksh) check.
5018 ($(objpfx)sotruss): Change KSH to BASH.
5019 * elf/sotruss.ksh: Rename to ...
5020 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5021 function style to match POSIX. Drop ksh vim mode setting.
5023 * manual/time.texi (Specifying the Time Zone with TZ): Change
5024 Tuesday to Thursday.
5026 * debug/tst-longjmp_chk2.c: Update header comment.
5027 (stackoverflow_handler): Add comment. Call assert on pass value.
5029 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5031 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5032 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5033 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5034 (La_x86_64_vector): Add zmm.
5035 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5036 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5037 ($(objpfx)tst-audit10): New target.
5038 ($(objpfx)tst-audit10.out): Likewise.
5039 (tst-audit10-ENV): New.
5040 (AVX512-CFLAGS): Likewise.
5041 (CFLAGS-tst-audit10.c): Likewise.
5042 (CFLAGS-tst-auditmod10a.c): Likewise.
5043 (CFLAGS-tst-auditmod10b.c): Likewise.
5044 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5045 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5046 * sysdeps/x86_64/configure: Regenerated.
5047 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5048 AVX-512 zmm register support.
5049 (_dl_x86_64_save_sse): Likewise.
5050 (_dl_x86_64_restore_sse): Likewise.
5051 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5052 size vector registers.
5053 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5054 (ZMM_SIZE): Likewise.
5055 * sysdeps/x86_64/tst-audit10.c: New file.
5056 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5057 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5059 2014-03-13 Roland McGrath <roland@hack.frob.com>
5061 * configure.ac (HAVE_EHDR_START): New check.
5062 * configure: Regenerated.
5063 * config.h.in (HAVE_EHDR_START): New #undef.
5064 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5065 assuming the lowest-addressed segment maps the start of the file.
5067 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5069 * INSTALL: Regenerated.
5071 2014-03-13 Will Newton <will.newton@linaro.org>
5073 * manual/setjmp.texi (System V contexts): Improve
5074 clarity and grammar of documentation.
5076 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5079 * elf/Makefile (tests): Add tst-pie2.
5080 (tests-pie): Add tst-pie2.
5081 * elf/tst-pie2.c: New file.
5082 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5084 * elf/rtld.c (map_doit): Load executable as lt_executable.
5085 (dl_main): Likewise.
5087 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5090 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5091 (__ASSUME_PSELECT): Undefine.
5093 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5096 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5097 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5099 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5100 selector for static builds.
5102 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5105 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5108 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5110 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5111 IFUNC selector for static builds.
5113 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5115 * sysdeps/mips/math_private.h [__mips_hard_float]
5116 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5117 libc_feresetround_mips_ctx.
5118 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5119 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5120 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5123 * math/s_nextafter.c (__nextafter): Do not return value from
5124 overflowing computation.
5125 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5126 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5127 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5129 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5131 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5132 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5134 2014-03-11 Roland McGrath <roland@hack.frob.com>
5136 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5137 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5138 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5139 the new mov targetting sp.
5141 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5144 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5145 Define it for static builds as well.
5146 (NO_BZERO_IMPL): Likewise.
5148 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5150 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5151 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5152 multiarch strspn for PPC64.
5153 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5154 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5156 (__libc_ifunc_impl_list): Likewise.
5157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5158 multiarch optimizations
5159 * string/strspn.c (strspn): Using macro to redefine symbol name.
5161 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5162 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5164 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5165 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5166 multiarch strncat for PPC64.
5167 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5168 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5170 (__libc_ifunc_impl_list): Likewise.
5171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5172 multiarch optimizations
5174 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5177 * nscd/nscd.service: Make service type forking.
5179 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5181 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5182 sign in non default rounding modes.
5183 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5185 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5187 * math/libm-test.inc (ALL_RM_TEST): New macro.
5188 (ceil_test): Use ALL_RM_TEST.
5189 (cimag_test): Likewise.
5190 (conj_test): Likewise.
5191 (copysign_test): Likewise.
5192 (cproj_test): Likewise.
5193 (creal_test): Likewise.
5194 (fabs_test): Likewise.
5195 (floor_test): Likewise.
5196 (fmax_test): Likewise.
5197 (fmin_test): Likewise.
5198 (fmod_test): Likewise.
5199 (fpclassify_test): Likewise.
5200 (frexp_test): Likewise.
5201 (ilogb_test): Likewise.
5202 (isfinite_test): Likewise.
5203 (finite_test): Likewise.
5204 (isgreater_test): Likewise.
5205 (isgreaterequal_test): Likewise.
5206 (isinf_test): Likewise.
5207 (isless_test): Likewise.
5208 (islessequal_test): Likewise.
5209 (islessgreater_test): Likewise.
5210 (isnan_test): Likewise.
5211 (isnormal_test): Likewise.
5212 (issignaling_test): Likewise.
5213 (isunordered_test): Likewise.
5214 (logb_test): Likewise.
5215 (logb_downward_test_data): Remove.
5216 (logb_test_downward): Likewise.
5217 (lround_test): Use ALL_RM_TEST.
5218 (llround_test): Likewise.
5219 (modf_test): Likewise.
5220 (nexttoward_test): Likewise.
5221 (remainder_test): Likewise.
5222 (drem_test): Likewise.
5223 (remainder_tonearest_test_data): Likewise.
5224 (remainder_test_tonearest): Likewise.
5225 (drem_test_tonearest): Likewise.
5226 (remainder_towardzero_test_data): Likewise.
5227 (remainder_test_towardzero): Likewise.
5228 (drem_test_towardzero): Likewise.
5229 (remainder_downward_test_data): Likewise.
5230 (remainder_test_downward): Likewise.
5231 (drem_test_downward): Likewise.
5232 (remainder_upward_test_data): Likewise.
5233 (remainder_test_upward): Likewise.
5234 (drem_test_upward): Likewise.
5235 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5236 (round_test): Use ALL_RM_TEST.
5237 (signbit_test): Likewise.
5238 (trunc_test): Likewise.
5239 (significand_test): Likewise.
5240 (main): Don't call removed functions.
5242 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5245 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5247 (ILL_ILLOPN): Likewise.
5248 (ILL_ILLADR): Likewise.
5249 (ILL_ILLTRP): Likewise.
5250 (ILL_PRVOPC): Likewise.
5251 (ILL_PRVREG): Likewise.
5252 (ILL_COPROC): Likewise.
5253 (ILL_BADSTK): Likewise.
5254 (FPE_INTDIV): Likewise.
5255 (FPE_INTOVF): Likewise.
5256 (FPE_FLTDIV): Likewise.
5257 (FPE_FLTOVF): Likewise.
5258 (FPE_FLTUND): Likewise.
5259 (FPE_FLTRES): Likewise.
5260 (FPE_FLTINV): Likewise.
5261 (FPE_FLTSUB): Likewise.
5262 (SEGV_MAPERR): Likewise.
5263 (SEGV_ACCERR): Likewise.
5264 (BUS_ADRALN): Likewise.
5265 (BUS_ADRERR): Likewise.
5266 (BUS_OBJERR): Likewise.
5267 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5268 (TRAP_TRACE): Likewise.
5269 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5271 (CLD_KILLED): Likewise.
5272 (CLD_DUMPED): Likewise.
5273 (CLD_TRAPPED): Likewise.
5274 (CLD_STOPPED): Likewise.
5275 (CLD_CONTINUED): Likewise.
5276 (POLL_IN): Likewise.
5277 (POLL_OUT): Likewise.
5278 (POLL_MSG): Likewise.
5279 (POLL_ERR): Likewise.
5280 (POLL_PRI): Likewise.
5281 (POLL_HUP): Likewise.
5282 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5284 (ILL_ILLOPN): Likewise.
5285 (ILL_ILLADR): Likewise.
5286 (ILL_ILLTRP): Likewise.
5287 (ILL_PRVOPC): Likewise.
5288 (ILL_PRVREG): Likewise.
5289 (ILL_COPROC): Likewise.
5290 (ILL_BADSTK): Likewise.
5291 (FPE_INTDIV): Likewise.
5292 (FPE_INTOVF): Likewise.
5293 (FPE_FLTDIV): Likewise.
5294 (FPE_FLTOVF): Likewise.
5295 (FPE_FLTUND): Likewise.
5296 (FPE_FLTRES): Likewise.
5297 (FPE_FLTINV): Likewise.
5298 (FPE_FLTSUB): Likewise.
5299 (SEGV_MAPERR): Likewise.
5300 (SEGV_ACCERR): Likewise.
5301 (BUS_ADRALN): Likewise.
5302 (BUS_ADRERR): Likewise.
5303 (BUS_OBJERR): Likewise.
5304 (BUS_MCEERR_AR): Likewise.
5305 (BUS_MCEERR_AO): Likewise.
5306 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5307 (TRAP_TRACE): Likewise.
5308 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5310 (CLD_KILLED): Likewise.
5311 (CLD_DUMPED): Likewise.
5312 (CLD_TRAPPED): Likewise.
5313 (CLD_STOPPED): Likewise.
5314 (CLD_CONTINUED): Likewise.
5315 (POLL_IN): Likewise.
5316 (POLL_OUT): Likewise.
5317 (POLL_MSG): Likewise.
5318 (POLL_ERR): Likewise.
5319 (POLL_PRI): Likewise.
5320 (POLL_HUP): Likewise.
5321 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5322 (ILL_ILLOPN): Likewise.
5323 (ILL_ILLADR): Likewise.
5324 (ILL_ILLTRP): Likewise.
5325 (ILL_PRVOPC): Likewise.
5326 (ILL_PRVREG): Likewise.
5327 (ILL_COPROC): Likewise.
5328 (ILL_BADSTK): Likewise.
5329 (FPE_INTDIV): Likewise.
5330 (FPE_INTOVF): Likewise.
5331 (FPE_FLTDIV): Likewise.
5332 (FPE_FLTOVF): Likewise.
5333 (FPE_FLTUND): Likewise.
5334 (FPE_FLTRES): Likewise.
5335 (FPE_FLTINV): Likewise.
5336 (FPE_FLTSUB): Likewise.
5337 (SEGV_MAPERR): Likewise.
5338 (SEGV_ACCERR): Likewise.
5339 (BUS_ADRALN): Likewise.
5340 (BUS_ADRERR): Likewise.
5341 (BUS_OBJERR): Likewise.
5342 (BUS_MCEERR_AR): Likewise.
5343 (BUS_MCEERR_AO): Likewise.
5344 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5345 (TRAP_TRACE): Likewise.
5346 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5348 (CLD_KILLED): Likewise.
5349 (CLD_DUMPED): Likewise.
5350 (CLD_TRAPPED): Likewise.
5351 (CLD_STOPPED): Likewise.
5352 (CLD_CONTINUED): Likewise.
5353 (POLL_IN): Likewise.
5354 (POLL_OUT): Likewise.
5355 (POLL_MSG): Likewise.
5356 (POLL_ERR): Likewise.
5357 (POLL_PRI): Likewise.
5358 (POLL_HUP): Likewise.
5359 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5361 (ILL_ILLOPN): Likewise.
5362 (ILL_ILLADR): Likewise.
5363 (ILL_ILLTRP): Likewise.
5364 (ILL_PRVOPC): Likewise.
5365 (ILL_PRVREG): Likewise.
5366 (ILL_COPROC): Likewise.
5367 (ILL_BADSTK): Likewise.
5368 (ILL_BADIADDR): Likewise.
5369 (ILL_BREAK): Likewise.
5370 (FPE_INTDIV): Likewise.
5371 (FPE_INTOVF): Likewise.
5372 (FPE_FLTDIV): Likewise.
5373 (FPE_FLTOVF): Likewise.
5374 (FPE_FLTUND): Likewise.
5375 (FPE_FLTRES): Likewise.
5376 (FPE_FLTINV): Likewise.
5377 (FPE_FLTSUB): Likewise.
5378 (FPE_DECOVF): Likewise.
5379 (FPE_DECDIV): Likewise.
5380 (FPE_DECERR): Likewise.
5381 (FPE_INVASC): Likewise.
5382 (FPE_INVDEC): Likewise.
5383 (SEGV_MAPERR): Likewise.
5384 (SEGV_ACCERR): Likewise.
5385 (SEGV_PSTKOVF): Likewise.
5386 (BUS_ADRALN): Likewise.
5387 (BUS_ADRERR): Likewise.
5388 (BUS_OBJERR): Likewise.
5389 (BUS_MCEERR_AR): Likewise.
5390 (BUS_MCEERR_AO): Likewise.
5391 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5392 (TRAP_TRACE): Likewise.
5393 (TRAP_BRANCH): Likewise.
5394 (TRAP_HWBKPT): Likewise.
5395 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5397 (CLD_KILLED): Likewise.
5398 (CLD_DUMPED): Likewise.
5399 (CLD_TRAPPED): Likewise.
5400 (CLD_STOPPED): Likewise.
5401 (CLD_CONTINUED): Likewise.
5402 (POLL_IN): Likewise.
5403 (POLL_OUT): Likewise.
5404 (POLL_MSG): Likewise.
5405 (POLL_ERR): Likewise.
5406 (POLL_PRI): Likewise.
5407 (POLL_HUP): Likewise.
5408 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5409 (ILL_ILLOPN): Likewise.
5410 (ILL_ILLADR): Likewise.
5411 (ILL_ILLTRP): Likewise.
5412 (ILL_PRVOPC): Likewise.
5413 (ILL_PRVREG): Likewise.
5414 (ILL_COPROC): Likewise.
5415 (ILL_BADSTK): Likewise.
5416 (FPE_INTDIV): Likewise.
5417 (FPE_INTOVF): Likewise.
5418 (FPE_FLTDIV): Likewise.
5419 (FPE_FLTOVF): Likewise.
5420 (FPE_FLTUND): Likewise.
5421 (FPE_FLTRES): Likewise.
5422 (FPE_FLTINV): Likewise.
5423 (FPE_FLTSUB): Likewise.
5424 (SEGV_MAPERR): Likewise.
5425 (SEGV_ACCERR): Likewise.
5426 (BUS_ADRALN): Likewise.
5427 (BUS_ADRERR): Likewise.
5428 (BUS_OBJERR): Likewise.
5429 (BUS_MCEERR_AR): Likewise.
5430 (BUS_MCEERR_AO): Likewise.
5431 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5432 (TRAP_TRACE): Likewise.
5433 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5435 (CLD_KILLED): Likewise.
5436 (CLD_DUMPED): Likewise.
5437 (CLD_TRAPPED): Likewise.
5438 (CLD_STOPPED): Likewise.
5439 (CLD_CONTINUED): Likewise.
5440 (POLL_IN): Likewise.
5441 (POLL_OUT): Likewise.
5442 (POLL_MSG): Likewise.
5443 (POLL_ERR): Likewise.
5444 (POLL_PRI): Likewise.
5445 (POLL_HUP): Likewise.
5446 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5447 (ILL_ILLOPN): Likewise.
5448 (ILL_ILLADR): Likewise.
5449 (ILL_ILLTRP): Likewise.
5450 (ILL_PRVOPC): Likewise.
5451 (ILL_PRVREG): Likewise.
5452 (ILL_COPROC): Likewise.
5453 (ILL_BADSTK): Likewise.
5454 (FPE_INTDIV): Likewise.
5455 (FPE_INTOVF): Likewise.
5456 (FPE_FLTDIV): Likewise.
5457 (FPE_FLTOVF): Likewise.
5458 (FPE_FLTUND): Likewise.
5459 (FPE_FLTRES): Likewise.
5460 (FPE_FLTINV): Likewise.
5461 (FPE_FLTSUB): Likewise.
5462 (SEGV_MAPERR): Likewise.
5463 (SEGV_ACCERR): Likewise.
5464 (BUS_ADRALN): Likewise.
5465 (BUS_ADRERR): Likewise.
5466 (BUS_OBJERR): Likewise.
5467 (BUS_MCEERR_AR): Likewise.
5468 (BUS_MCEERR_AO): Likewise.
5469 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5470 (TRAP_TRACE): Likewise.
5471 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5473 (CLD_KILLED): Likewise.
5474 (CLD_DUMPED): Likewise.
5475 (CLD_TRAPPED): Likewise.
5476 (CLD_STOPPED): Likewise.
5477 (CLD_CONTINUED): Likewise.
5478 (POLL_IN): Likewise.
5479 (POLL_OUT): Likewise.
5480 (POLL_MSG): Likewise.
5481 (POLL_ERR): Likewise.
5482 (POLL_PRI): Likewise.
5483 (POLL_HUP): Likewise.
5484 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5485 (ILL_ILLOPN): Likewise.
5486 (ILL_ILLADR): Likewise.
5487 (ILL_ILLTRP): Likewise.
5488 (ILL_PRVOPC): Likewise.
5489 (ILL_PRVREG): Likewise.
5490 (ILL_COPROC): Likewise.
5491 (ILL_BADSTK): Likewise.
5492 (FPE_INTDIV): Likewise.
5493 (FPE_INTOVF): Likewise.
5494 (FPE_FLTDIV): Likewise.
5495 (FPE_FLTOVF): Likewise.
5496 (FPE_FLTUND): Likewise.
5497 (FPE_FLTRES): Likewise.
5498 (FPE_FLTINV): Likewise.
5499 (FPE_FLTSUB): Likewise.
5500 (SEGV_MAPERR): Likewise.
5501 (SEGV_ACCERR): Likewise.
5502 (BUS_ADRALN): Likewise.
5503 (BUS_ADRERR): Likewise.
5504 (BUS_OBJERR): Likewise.
5505 (BUS_MCEERR_AR): Likewise.
5506 (BUS_MCEERR_AO): Likewise.
5507 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5508 (TRAP_TRACE): Likewise.
5509 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5511 (CLD_KILLED): Likewise.
5512 (CLD_DUMPED): Likewise.
5513 (CLD_TRAPPED): Likewise.
5514 (CLD_STOPPED): Likewise.
5515 (CLD_CONTINUED): Likewise.
5516 (POLL_IN): Likewise.
5517 (POLL_OUT): Likewise.
5518 (POLL_MSG): Likewise.
5519 (POLL_ERR): Likewise.
5520 (POLL_PRI): Likewise.
5521 (POLL_HUP): Likewise.
5522 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5523 (ILL_ILLOPN): Likewise.
5524 (ILL_ILLADR): Likewise.
5525 (ILL_ILLTRP): Likewise.
5526 (ILL_PRVOPC): Likewise.
5527 (ILL_PRVREG): Likewise.
5528 (ILL_COPROC): Likewise.
5529 (ILL_BADSTK): Likewise.
5530 (ILL_DBLFLT): Likewise.
5531 (ILL_HARDWALL): Likewise.
5532 (FPE_INTDIV): Likewise.
5533 (FPE_INTOVF): Likewise.
5534 (FPE_FLTDIV): Likewise.
5535 (FPE_FLTOVF): Likewise.
5536 (FPE_FLTUND): Likewise.
5537 (FPE_FLTRES): Likewise.
5538 (FPE_FLTINV): Likewise.
5539 (FPE_FLTSUB): Likewise.
5540 (SEGV_MAPERR): Likewise.
5541 (SEGV_ACCERR): Likewise.
5542 (BUS_ADRALN): Likewise.
5543 (BUS_ADRERR): Likewise.
5544 (BUS_OBJERR): Likewise.
5545 (BUS_MCEERR_AR): Likewise.
5546 (BUS_MCEERR_AO): Likewise.
5547 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5548 (TRAP_TRACE): Likewise.
5549 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5551 (CLD_KILLED): Likewise.
5552 (CLD_DUMPED): Likewise.
5553 (CLD_TRAPPED): Likewise.
5554 (CLD_STOPPED): Likewise.
5555 (CLD_CONTINUED): Likewise.
5556 (POLL_IN): Likewise.
5557 (POLL_OUT): Likewise.
5558 (POLL_MSG): Likewise.
5559 (POLL_ERR): Likewise.
5560 (POLL_PRI): Likewise.
5561 (POLL_HUP): Likewise.
5562 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5563 (ILL_ILLOPN): Likewise.
5564 (ILL_ILLADR): Likewise.
5565 (ILL_ILLTRP): Likewise.
5566 (ILL_PRVOPC): Likewise.
5567 (ILL_PRVREG): Likewise.
5568 (ILL_COPROC): Likewise.
5569 (ILL_BADSTK): Likewise.
5570 (FPE_INTDIV): Likewise.
5571 (FPE_INTOVF): Likewise.
5572 (FPE_FLTDIV): Likewise.
5573 (FPE_FLTOVF): Likewise.
5574 (FPE_FLTUND): Likewise.
5575 (FPE_FLTRES): Likewise.
5576 (FPE_FLTINV): Likewise.
5577 (FPE_FLTSUB): Likewise.
5578 (SEGV_MAPERR): Likewise.
5579 (SEGV_ACCERR): Likewise.
5580 (BUS_ADRALN): Likewise.
5581 (BUS_ADRERR): Likewise.
5582 (BUS_OBJERR): Likewise.
5583 (BUS_MCEERR_AR): Likewise.
5584 (BUS_MCEERR_AO): Likewise.
5585 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5586 (TRAP_TRACE): Likewise.
5587 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5589 (CLD_KILLED): Likewise.
5590 (CLD_DUMPED): Likewise.
5591 (CLD_TRAPPED): Likewise.
5592 (CLD_STOPPED): Likewise.
5593 (CLD_CONTINUED): Likewise.
5594 (POLL_IN): Likewise.
5595 (POLL_OUT): Likewise.
5596 (POLL_MSG): Likewise.
5597 (POLL_ERR): Likewise.
5598 (POLL_PRI): Likewise.
5599 (POLL_HUP): Likewise.
5600 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5601 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5604 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5605 before #include of <time.h>.
5606 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5607 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5608 (test-xfail-UNIX98/sched.h/conform): Likewise.
5610 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5612 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5613 error absence of trapping exception support.
5614 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5616 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5618 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5619 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5620 * timezone/Makefile (testdata): Move definition above include of
5622 (test-zones): New variable.
5623 (tests-special): Add zone files.
5624 (build-testdata): Use $(evaluate-test).
5626 * elf/Makefile (tests-special): Rename tests to end with .out.
5627 ($(objpfx)noload-mem): Likewise.
5628 ($(objpfx)tst-leaks1-mem): Likewise.
5629 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5630 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5631 $(objpfx)test-iconvconfig.out.
5632 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5633 set -e inside subshell and redirect output to file.
5634 * iconvdata/Makefile (generated): Rename tests to end with .out.
5636 (tests-special): Rename tests to end with .out.
5637 ($(objpfx)mtrace-tst-loading): Likewise.
5638 * intl/Makefile (generated): Likewise.
5639 (tests-special): Likewise.
5640 ($(objpfx)mtrace-tst-gettext): Likewise.
5641 * misc/Makefile (generated): Likewise.
5642 (tests-special): Likewise.
5643 ($(objpfx)tst-error1-mem): Likewise.
5644 * nptl/Makefile (tests-special): Likewise.
5645 ($(objpfx)tst-stack3-mem): Likewise.
5646 (generated): Likewise.
5647 * posix/Makefile (generated): Likewise.
5648 (tests-special): Likewise.
5649 (xtests-special): Likewise.
5650 ($(objpfx)tst-fnmatch-mem): Likewise.
5651 ($(objpfx)bug-regex2-mem): Likewise.
5652 ($(objpfx)bug-regex14-mem): Likewise.
5653 ($(objpfx)bug-regex21-mem): Likewise.
5654 ($(objpfx)bug-regex31-mem): Likewise.
5655 ($(objpfx)tst-vfork3-mem): Likewise.
5656 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5657 ($(objpfx)tst-pcre-mem): Likewise.
5658 ($(objpfx)tst-boost-mem): Likewise.
5659 ($(objpfx)bug-ga2-mem): Likewise.
5660 ($(objpfx)bug-glob2-mem): Likewise.
5661 * resolv/Makefile (generate): Likewise.
5662 (tests-special): Likewise.
5663 (xtests-special): Likewise.
5664 (generated): Likewise.
5665 ($(objpfx)mtrace-tst-leaks): Likewise.
5666 ($(objpfx)mtrace-tst-leaks2): Likewise.
5668 * scripts/merge-test-results.sh: New file.
5669 * Makefile (tests-special-notdir): New variable.
5670 (tests): Run merge-test-results.sh.
5672 * Rules (tests-special-notdir): New variable.
5673 (xtests-special-notdir): Likewise.
5674 (tests): Run merge-test-results.sh
5677 * Makeconfig (test-xfail-name): New variable.
5678 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5679 compute variable name for expected failures.
5680 * conform/Makefile (conformtest-headers-data): New variable.
5681 (conformtest-standards): Likewise.
5682 (conformtest-headers-ISO): Likewise.
5683 (conformtest-headers-ISO99): Likewise.
5684 (conformtest-headers-ISO11): Likewise.
5685 (conformtest-headers-POSIX): Likewise.
5686 (conformtest-headers-XPG3): Likewise.
5687 (conformtest-headers-XPG4): Likewise.
5688 (conformtest-headers-UNIX98): Likewise.
5689 (conformtest-headers-XOPEN2K): Likewise.
5690 (conformtest-headers-POSIX2008): Likewise.
5691 (conformtest-headers-XOPEN2K8): Likewise.
5692 (conformtest-header-list-base): Likewise.
5693 (conformtest-header-list-tests): Likewise.
5694 (conformtest-header-base): Likewise.
5695 (conformtest-header-tests): Likewise.
5696 (tests-special): Add $(conformtest-header-list-tests). If
5697 [$(fast-check) && !$(cross-compiling)], add
5698 $(conformtest-header-tests) instead of
5699 $(objpfx)run-conformtest.out.
5700 (generated): Add $(conformtest-header-list-base). If
5701 [$(fast-check) && !$(cross-compiling)], add
5702 $(conformtest-header-base). Remove previous setting.
5703 ($(conformtest-header-list-tests)): New target.
5704 (test-xfail-run-conformtest): Remove variable.
5705 ($(objpfx)run-conformtest.out): Remove target.
5706 (test-xfail-ISO11/complex.h/conform): New variable.
5707 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5708 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5709 (test-xfail-XPG3/varargs.h/conform): Likewise.
5710 (test-xfail-XPG4/varargs.h/conform): Likewise.
5711 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5712 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5713 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5714 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5715 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5716 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5717 (test-xfail-XPG3/ftw.h/conform): Likewise.
5718 (test-xfail-XPG3/grp.h/conform): Likewise.
5719 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5720 (test-xfail-XPG3/limits.h/conform): Likewise.
5721 (test-xfail-XPG3/pwd.h/conform): Likewise.
5722 (test-xfail-XPG3/search.h/conform): Likewise.
5723 (test-xfail-XPG3/signal.h/conform): Likewise.
5724 (test-xfail-XPG3/stdio.h/conform): Likewise.
5725 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5726 (test-xfail-XPG3/string.h/conform): Likewise.
5727 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5728 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5729 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5730 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5731 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5732 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5733 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5734 (test-xfail-XPG3/termios.h/conform): Likewise.
5735 (test-xfail-XPG3/time.h/conform): Likewise.
5736 (test-xfail-XPG3/unistd.h/conform): Likewise.
5737 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5738 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5739 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5740 (test-xfail-XPG4/netdb.h/conform): Likewise.
5741 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5742 (test-xfail-XPG4/signal.h/conform): Likewise.
5743 (test-xfail-XPG4/stdio.h/conform): Likewise.
5744 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5745 (test-xfail-XPG4/stropts.h/conform): Likewise.
5746 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5747 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5748 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5749 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5750 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5751 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5752 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5753 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5754 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5755 (test-xfail-XPG4/termios.h/conform): Likewise.
5756 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5757 (test-xfail-XPG4/unistd.h/conform): Likewise.
5758 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5759 (test-xfail-POSIX/sched.h/conform): Likewise.
5760 (test-xfail-POSIX/signal.h/conform): Likewise.
5761 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5762 (test-xfail-POSIX/tar.h/conform): Likewise.
5763 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5764 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5765 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5766 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5767 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5768 (test-xfail-UNIX98/sched.h/conform): Likewise.
5769 (test-xfail-UNIX98/signal.h/conform): Likewise.
5770 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5771 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5772 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5773 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5774 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5775 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5776 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5777 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5778 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5779 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5780 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5781 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5782 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5783 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5784 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5785 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5786 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5787 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5788 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5789 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5790 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5791 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5792 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5793 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5794 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5795 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5796 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5797 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5798 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5799 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5800 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5801 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5802 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5803 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5804 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5805 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5806 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5807 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5808 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5809 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5810 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5811 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5812 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5813 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5814 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5815 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5816 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5817 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5818 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5819 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5820 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5821 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5822 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5823 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5824 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5825 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5826 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5827 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5828 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5829 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5830 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5831 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5832 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5833 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5834 (conformtest-cc-flags): Likewise.
5835 ($(conformtest-header-tests): New target.
5836 * conform/check-header-lists.sh: New file.
5837 * conform/run-conformtest.sh: Remove.
5839 * conform/conformtest.pl: Allow ' and \ in values given for
5841 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5843 [POSIX] (sys/types.h): Likewise.
5844 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5846 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5848 * conform/data/signal.h-data (SIGIO): Remove expectation.
5849 [XPG3] (SIGBUS): Do not expect.
5850 [POSIX || XPG3] (SIGPOLL): Likewise.
5851 [POSIX || XPG3] (SIGPROF): Likewise.
5852 [POSIX || XPG3] (SIGSYS): Likewise.
5853 [XPG3] (SIGTRAP): Likewise.
5854 [POSIX || XPG3] (SIGURG): Likewise.
5855 [POSIX || XPG3] (SIGVTALRM): Likewise.
5856 [POSIX || XPG3] (SIGXCPU): Likewise.
5857 [POSIX || XPG3] (SIGXFSZ): Likewise.
5858 [POSIX] (SA_SIGINFO): Expect.
5859 [XPG3] (siginfo_t): Do not expect type or contents.
5860 [POSIX] (si_pid): Do not expect element.
5861 [POSIX] (si_uid): Likewise.
5862 [POSIX] (si_addr): Likewise.
5863 [POSIX] (si_status): Likewise.
5864 [POSIX] (si_band): Likewise.
5865 [XPG4] (si_value): Likewise.
5866 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5867 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5868 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5869 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5870 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5871 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5872 [POSIX || XPG3] (ILL_COPROC): Likewise.
5873 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5874 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5875 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5876 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5877 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5878 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5879 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5880 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5881 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5882 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5883 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5884 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5885 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5886 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5887 [POSIX || XPG3] (CLD_EXITED): Likewise.
5888 [POSIX || XPG3] (CLD_KILLED): Likewise.
5889 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5890 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5891 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5892 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5893 [POSIX || XPG3] (POLL_IN): Likewise.
5894 [POSIX || XPG3] (POLL_OUT): Likewise.
5895 [POSIX || XPG3] (POLL_MSG): Likewise.
5896 [POSIX || XPG3] (POLL_ERR): Likewise.
5897 [POSIX || XPG3] (POLL_PRI): Likewise.
5898 [POSIX || XPG3] (POLL_HUP): Likewise.
5899 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5900 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5901 (SIG*): Do not allow.
5902 [XPG3] (si_*): Likewise.
5903 [XPG3] (SI_*): Likewise.
5904 [XPG3 || XPG4] (sigev_*): Likewise.
5905 [XPG3 || XPG4] (SIGEV_*): Likewise.
5906 [XPG3 || XPG4] (sival_*): Likewise.
5907 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5908 [POSIX || XPG3] (BUS_*): Likewise.
5909 [POSIX || XPG3] (CLD_*): Likewise.
5910 [POSIX || XPG3] (FPE_*): Likewise.
5911 [POSIX || XPG3] (ILL_*): Likewise.
5912 [POSIX || XPG3] (POLL_*): Likewise.
5913 [POSIX || XPG3] (SEGV_*): Likewise.
5914 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5915 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5916 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5917 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5918 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5919 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5920 Specify type and value.
5921 (TVERSLEN): Likewise.
5922 (REGTYPE): Likewise.
5923 (AREGTYPE): Likewise.
5924 (LNKTYPE): Likewise.
5925 (SYMTYPE): Likewise.
5926 (CHRTYPE): Likewise.
5927 (BLKTYPE): Likewise.
5928 (DIRTYPE): Likewise.
5929 (FIFOTYPE): Likewise.
5930 (CONTTYPE): Likewise.
5935 (TUWRITE): Likewise.
5938 (TGWRITE): Likewise.
5941 (TOWRITE): Likewise.
5943 [POSIX] (TSVTX): Expect constant.
5945 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5947 * Makefile (tests): Change dependencies to ....
5948 (tests-special): ... additions to this variable.
5949 (tests): Depend on $(tests-special).
5950 * Makerules (check-abi-list): New variable.
5951 (check-abi): Depend on $(check-abi-list).
5952 [$(subdir) = elf] (tests-special): Add
5953 $(objpfx)check-abi-libc.out.
5954 [$(build-shared) = yes && subdir] (tests-special): Add
5956 [$(build-shared) = yes && subdir] (tests): Do not depend on
5958 * Rules (tests): Depend on $(tests-special).
5959 (xtests): Depend on $(xtests-special).
5960 * catgets/Makefile (tests): Change dependencies to ....
5961 (tests-special): ... additions to this variable.
5962 * conform/Makefile (tests): Change dependencies to ....
5963 (tests-special): ... additions to this variable.
5964 * elf/Makefile (tests): Change dependencies to ....
5965 (tests-special): ... additions to this variable.
5966 * grp/Makefile (tests): Change dependencies to ....
5967 (tests-special): ... additions to this variable.
5968 * iconv/Makefile (xtests): Change dependencies to ....
5969 (xtests-special): ... additions to this variable.
5970 * iconvdata/Makefile (tests): Change dependencies to ....
5971 (tests-special): ... additions to this variable.
5972 * intl/Makefile (tests): Change dependencies to ....
5973 (tests-special): ... additions to this variable. Also add
5974 $(objpfx)tst-gettext.out.
5975 * io/Makefile (tests): Change dependencies to ....
5976 (tests-special): ... additions to this variable.
5977 * libio/Makefile (tests): Change dependencies to ....
5978 (tests-special): ... additions to this variable.
5979 * malloc/Makefile (tests): Change dependencies to ....
5980 (tests-special): ... additions to this variable.
5981 * misc/Makefile (tests): Change dependencies to ....
5982 (tests-special): ... additions to this variable.
5983 * nptl/Makefile (tests): Change dependencies to ....
5984 (tests-special): ... additions to this variable.
5985 * nptl_db/Makefile (tests): Change dependencies to ....
5986 (tests-special): ... additions to this variable.
5987 * posix/Makefile (tests): Change dependencies to ....
5988 (tests-special): ... additions to this variable.
5989 (xtests): Change dependencies to ....
5990 (xtests-special): ... additions to this variable.
5991 * resolv/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 * stdio-common/Makefile (tests): Change dependencies to ....
5996 (tests-special): ... additions to this variable.
5997 (do-tst-unbputc): Remove target.
5998 (do-tst-printf): Likewise.
5999 * stdlib/Makefile (tests): Change dependencies to ....
6000 (tests-special): ... additions to this variable.
6001 * string/Makefile (tests): Change dependencies to ....
6002 (tests-special): ... additions to this variable.
6003 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6004 (tests-special): ... additions to this variable.
6006 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6008 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6010 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6011 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6013 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6014 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6015 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6016 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6017 * conform/data/libgen.h-data [XPG3]: Likewise.
6018 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6019 * conform/data/ndbm.h-data [XPG3]: Likewise.
6020 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6021 * conform/data/netdb.h-data [XPG3]: Likewise.
6022 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6023 * conform/data/poll.h-data [XPG3]: Likewise.
6024 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6025 * conform/data/strings.h-data [XPG3]: Likewise.
6026 * conform/data/stropts.h-data [XPG3]: Likewise.
6027 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6028 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6029 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6031 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6032 * conform/data/sys/time.h-data [XPG3]: Likewise.
6033 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6034 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6035 * conform/data/sys/un.h-data [XPG3]: Likewise.
6036 * conform/data/syslog.h-data [XPG3]: Likewise.
6037 * conform/data/ucontext.h-data [XPG3]: Likewise.
6038 * conform/data/utmpx.h-data [XPG3]: Likewise.
6039 * conform/data/varargs.h-data [UNIX98]: Enable file.
6041 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6043 * math/libm-test.inc (struct test_f_f_data): Move expected results
6044 into structure for each rounding mode.
6045 (struct test_ff_f_data): Likewise.
6046 (struct test_ff_f_data_nexttoward): Likewise.
6047 (struct test_fi_f_data): Likewise.
6048 (struct test_fl_f_data): Likewise.
6049 (struct test_if_f_data): Likewise.
6050 (struct test_fff_f_data): Likewise.
6051 (struct test_c_f_data): Likewise.
6052 (struct test_f_f1_data): Likewise.
6053 (struct test_fF_f1_data): Likewise.
6054 (struct test_ffI_f1_data): Likewise.
6055 (struct test_c_c_data): Likewise.
6056 (struct test_cc_c_data): Likewise.
6057 (struct test_f_i_data): Likewise.
6058 (struct test_ff_i_data): Likewise.
6059 (struct test_f_l_data): Likewise.
6060 (struct test_f_L_data): Likewise.
6061 (struct test_fFF_11_data): Likewise.
6063 (RM_FE_DOWNWARD): Likewise.
6064 (RM_FE_TONEAREST): Likewise.
6065 (RM_FE_TOWARDZERO): Likewise.
6066 (RM_FE_UPWARD): Likewise.
6067 (RUN_TEST_LOOP_f_f): Update references to expected results.
6068 (RUN_TEST_LOOP_2_f): Likewise.
6069 (RUN_TEST_LOOP_fff_f): Likewise.
6070 (RUN_TEST_LOOP_c_f): Likewise.
6071 (RUN_TEST_LOOP_f_f1): Likewise.
6072 (RUN_TEST_LOOP_fF_f1): Likewise.
6073 (RUN_TEST_LOOP_fI_f1): Likewise.
6074 (RUN_TEST_LOOP_ffI_f1): Likewise.
6075 (RUN_TEST_LOOP_c_c): Likewise.
6076 (RUN_TEST_LOOP_cc_c): Likewise.
6077 (RUN_TEST_LOOP_f_i): Likewise.
6078 (RUN_TEST_LOOP_f_i_tg): Likewise.
6079 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6080 (RUN_TEST_LOOP_f_b): Likewise.
6081 (RUN_TEST_LOOP_f_b_tg): Likewise.
6082 (RUN_TEST_LOOP_f_l): Likewise.
6083 (RUN_TEST_LOOP_f_L): Likewise.
6084 (RUN_TEST_LOOP_fFF_11): Likewise.
6085 * math/gen-libm-test.pl (parse_args): Output four copies of
6086 expected results for each test.
6088 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6089 (__ASSUME_UTIMES): Remove.
6090 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6091 (__ASSUME_UTIMES): Likewise.
6093 * math/gen-auto-libm-tests.c: Update comment on output format.
6094 (output_for_one_input_case): Generate before-rounding and
6095 after-rounding information as conditions on output flags not
6096 floating-point format.
6097 * math/auto-libm-test-out: Regenerated.
6098 * math/gen-libm-test.pl (cond_value): New function.
6099 (or_cond_value): Use cond_value.
6100 (generate_testfile): Handle conditional exceptions.
6102 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6104 * math/libm-test.inc (max_valid_error): New variable.
6105 (init_max_error): Take new argument specifying whether function
6106 results are exactly determined. Set max_valid_error and bound
6107 other variables for errors based on this argument.
6108 (set_max_error): Do not record results above max_valid_error.
6109 (check_float_internal): Only accept errors of up to 0.5ulps if
6110 also at most max_valid_error.
6111 (START): Take new argument EXACT and pass it to init_max_error.
6112 (acos_test): Update call to START.
6113 (acos_test_tonearest): Likewise.
6114 (acos_test_towardzero): Likewise.
6115 (acos_test_downward): Likewise.
6116 (acos_test_upward): Likewise.
6117 (acosh_test): Likewise.
6118 (asin_test): Likewise.
6119 (asin_test_tonearest): Likewise.
6120 (asin_test_towardzero): Likewise.
6121 (asin_test_downward): Likewise.
6122 (asin_test_upward): Likewise.
6123 (asinh_test): Likewise.
6124 (atan_test): Likewise.
6125 (atanh_test): Likewise.
6126 (atan2_test): Likewise.
6127 (cabs_test): Likewise.
6128 (cacos_test): Likewise.
6129 (cacosh_test): Likewise.
6130 (carg_test): Likewise.
6131 (casin_test): Likewise.
6132 (casinh_test): Likewise.
6133 (catan_test): Likewise.
6134 (catanh_test): Likewise.
6135 (cbrt_test): Likewise.
6136 (ccos_test): Likewise.
6137 (ccosh_test): Likewise.
6138 (ceil_test): Likewise.
6139 (cexp_test): Likewise.
6140 (cimag_test): Likewise.
6141 (clog_test): Likewise.
6142 (clog10_test): Likewise.
6143 (conj_test): Likewise.
6144 (copysign_test): Likewise.
6145 (cos_test): Likewise.
6146 (cos_test_tonearest): Likewise.
6147 (cos_test_towardzero): Likewise.
6148 (cos_test_downward): Likewise.
6149 (cos_test_upward): Likewise.
6150 (cosh_test): Likewise.
6151 (cosh_test_tonearest): Likewise.
6152 (cosh_test_towardzero): Likewise.
6153 (cosh_test_downward): Likewise.
6154 (cosh_test_upward): Likewise.
6155 (cpow_test): Likewise.
6156 (cproj_test): Likewise.
6157 (creal_test): Likewise.
6158 (csin_test): Likewise.
6159 (csinh_test): Likewise.
6160 (csqrt_test): Likewise.
6161 (ctan_test): Likewise.
6162 (ctan_test_tonearest): Likewise.
6163 (ctan_test_towardzero): Likewise.
6164 (ctan_test_downward): Likewise.
6165 (ctan_test_upward): Likewise.
6166 (ctanh_test): Likewise.
6167 (ctanh_test_tonearest): Likewise.
6168 (ctanh_test_towardzero): Likewise.
6169 (ctanh_test_downward): Likewise.
6170 (ctanh_test_upward): Likewise.
6171 (erf_test): Likewise.
6172 (erfc_test): Likewise.
6173 (exp_test): Likewise.
6174 (exp_test_tonearest): Likewise.
6175 (exp_test_towardzero): Likewise.
6176 (exp_test_downward): Likewise.
6177 (exp_test_upward): Likewise.
6178 (exp10_test): Likewise.
6179 (exp10_test_tonearest): Likewise.
6180 (exp10_test_towardzero): Likewise.
6181 (exp10_test_downward): Likewise.
6182 (exp10_test_upward): Likewise.
6183 (pow10_test): Likewise.
6184 (exp2_test): Likewise.
6185 (expm1_test): Likewise.
6186 (expm1_test_tonearest): Likewise.
6187 (expm1_test_towardzero): Likewise.
6188 (expm1_test_downward): Likewise.
6189 (expm1_test_upward): Likewise.
6190 (fabs_test): Likewise.
6191 (fdim_test): Likewise.
6192 (floor_test): Likewise.
6193 (fma_test): Likewise.
6194 (fma_test_towardzero): Likewise.
6195 (fma_test_downward): Likewise.
6196 (fma_test_upward): Likewise.
6197 (fmax_test): Likewise.
6198 (fmin_test): Likewise.
6199 (fmod_test): Likewise.
6200 (fpclassify_test): Likewise.
6201 (frexp_test): Likewise.
6202 (hypot_test): Likewise.
6203 (ilogb_test): Likewise.
6204 (isfinite_test): Likewise.
6205 (finite_test): Likewise.
6206 (isgreater_test): Likewise.
6207 (isgreaterequal_test): Likewise.
6208 (isinf_test): Likewise.
6209 (isless_test): Likewise.
6210 (islessequal_test): Likewise.
6211 (islessgreater_test): Likewise.
6212 (isnan_test): Likewise.
6213 (isnormal_test): Likewise.
6214 (issignaling_test): Likewise.
6215 (isunordered_test): Likewise.
6216 (j0_test): Likewise.
6217 (j1_test): Likewise.
6218 (jn_test): Likewise.
6219 (ldexp_test): Likewise.
6220 (lgamma_test): Likewise.
6221 (gamma_test): Likewise.
6222 (lrint_test): Likewise.
6223 (lrint_test_tonearest): Likewise.
6224 (lrint_test_towardzero): Likewise.
6225 (lrint_test_downward): Likewise.
6226 (lrint_test_upward): Likewise.
6227 (llrint_test): Likewise.
6228 (llrint_test_tonearest): Likewise.
6229 (llrint_test_towardzero): Likewise.
6230 (llrint_test_downward): Likewise.
6231 (llrint_test_upward): Likewise.
6232 (log_test): Likewise.
6233 (log10_test): Likewise.
6234 (log1p_test): Likewise.
6235 (log2_test): Likewise.
6236 (logb_test): Likewise.
6237 (logb_test_downward): Likewise.
6238 (lround_test): Likewise.
6239 (llround_test): Likewise.
6240 (modf_test): Likewise.
6241 (nearbyint_test): Likewise.
6242 (nextafter_test): Likewise.
6243 (nexttoward_test): Likewise.
6244 (pow_test): Likewise.
6245 (pow_test_tonearest): Likewise.
6246 (pow_test_towardzero): Likewise.
6247 (pow_test_downward): Likewise.
6248 (pow_test_upward): Likewise.
6249 (remainder_test): Likewise.
6250 (drem_test): Likewise.
6251 (remainder_test_tonearest): Likewise.
6252 (drem_test_tonearest): Likewise.
6253 (remainder_test_towardzero): Likewise.
6254 (drem_test_towardzero): Likewise.
6255 (remainder_test_downward): Likewise.
6256 (drem_test_downward): Likewise.
6257 (remainder_test_upward): Likewise.
6258 (drem_test_upward): Likewise.
6259 (remquo_test): Likewise.
6260 (rint_test): Likewise.
6261 (rint_test_tonearest): Likewise.
6262 (rint_test_towardzero): Likewise.
6263 (rint_test_downward): Likewise.
6264 (rint_test_upward): Likewise.
6265 (round_test): Likewise.
6266 (scalb_test): Likewise.
6267 (scalbn_test): Likewise.
6268 (scalbln_test): Likewise.
6269 (signbit_test): Likewise.
6270 (sin_test): Likewise.
6271 (sin_test_tonearest): Likewise.
6272 (sin_test_towardzero): Likewise.
6273 (sin_test_downward): Likewise.
6274 (sin_test_upward): Likewise.
6275 (sincos_test): Likewise.
6276 (sinh_test): Likewise.
6277 (sinh_test_tonearest): Likewise.
6278 (sinh_test_towardzero): Likewise.
6279 (sinh_test_downward): Likewise.
6280 (sinh_test_upward): Likewise.
6281 (sqrt_test): Likewise.
6282 (sqrt_test_tonearest): Likewise.
6283 (sqrt_test_towardzero): Likewise.
6284 (sqrt_test_downward): Likewise.
6285 (sqrt_test_upward): Likewise.
6286 (tan_test): Likewise.
6287 (tan_test_tonearest): Likewise.
6288 (tan_test_towardzero): Likewise.
6289 (tan_test_downward): Likewise.
6290 (tan_test_upward): Likewise.
6291 (tanh_test): Likewise.
6292 (tgamma_test): Likewise.
6293 (trunc_test): Likewise.
6294 (y0_test): Likewise.
6295 (y1_test): Likewise.
6296 (yn_test): Likewise.
6297 (significand_test): Likewise.
6299 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6300 individual tests in comment.
6301 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6302 (prev_max_error): New variable.
6303 (prev_real_max_error): Likewise.
6304 (prev_imag_max_error): Likewise.
6305 (compare_ulp_data): Don't refer to test names in comment.
6306 (find_test_ulps): Remove function.
6307 (find_function_ulps): Likewise.
6308 (find_complex_function_ulps): Likewise.
6309 (init_max_error): Take function name as argument. Look up ulps
6311 (print_ulps): Remove function.
6312 (print_max_error): Use prev_max_error instead of calling
6314 (print_complex_max_error): Use prev_real_max_error and
6315 prev_imag_max_error instead of calling find_complex_function_ulps.
6316 (check_float_internal): Take max_ulp parameter instead of calling
6317 find_test_ulps. Don't call print_ulps.
6318 (check_float): Update call to check_float_internal.
6319 (check_complex): Update calls to check_float_internal.
6320 (START): Pass argument to init_max_error.
6321 * math/gen-libm-test.pl (%results): Don't include "kind"
6323 (parse_ulps): Don't handle ulps of individual tests.
6324 (print_ulps_file): Likewise.
6325 (output_ulps): Likewise.
6326 * math/README.libm-test: Update.
6327 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6329 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6330 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6331 * sysdeps/arm/libm-test-ulps: Likewise.
6332 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6333 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6334 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6335 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6336 * sysdeps/microblaze/libm-test-ulps: Likewise.
6337 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6338 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6339 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6340 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6341 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6342 * sysdeps/sh/libm-test-ulps: Likewise.
6343 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6344 * sysdeps/tile/libm-test-ulps: Likewise.
6345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6347 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6349 * math/libm-test.inc (print_complex_max_error): Check separately
6350 whether real and imaginary errors are within allowed range and
6351 pass 0 to print_complex_function_ulps instead of value within
6354 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6356 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6358 (get_handles_fopen): Likewise.
6359 (do_write_test): Likewise.
6361 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6363 * libio/fileops.c (do_ftell): Use cached offset when
6365 * libio/iofwide.c (do_ftell_wide): Likewise.
6366 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6368 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6371 * libio/libioP.h (get_file_offset): New function.
6372 * libio/fileops.c (get_file_offset): Likewise.
6373 (do_ftell): Likewise.
6374 (_IO_new_file_seekoff): Split out ftell logic.
6375 * libio/wfileops.c (do_ftell_wide): Likewise.
6376 (_IO_wfile_seekoff): Split out ftell logic.
6377 * libio/tst-ftell-active-handler.c: New test case.
6378 * libio/Makefile (tests): Add it.
6380 2014-03-03 Roland McGrath <roland@hack.frob.com>
6382 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6383 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6385 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6388 * nscd/connections.c (nscd_init): Call do_exit.
6389 (start_threads): Call do_exit and notify_parent.
6390 (begin_drop_privileges): Call do_exit.
6391 (finish_drop_privileges): Likewise.
6392 * nscd/selinux.c (preserve_capabilities): Likewise.
6393 (install_real_capabilities): Likewise.
6394 (nscd_selinux_enabled): Likewise.
6395 (avc_create_thread): Likewise.
6396 (avc_alloc_lock): Likewise.
6397 (nscd_avc_init): Likewise.
6398 * nscd/nscd.c (parent_fd): New static variable.
6399 (main): Create a pipe between parent and child processes.
6400 Skip closing parent_fd.
6401 (monitor_child): New function.
6402 (do_exit): Likewise.
6403 (notify_parent): Likewise.
6404 * nscd/nscd.h (notify_parent): Likewise.
6405 (do_exit): Likewise.
6407 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6409 * malloc/malloc.c (__libc_calloc): Revert last change.
6411 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6415 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6417 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6418 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6421 (__libc_ifunc_impl_list): Likewise.
6422 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6423 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6424 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6425 * string/strrchr.c: Define STRRCHR.
6427 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6429 * benchtest/bench-strtok.c (simple_strtok): Delete.
6430 (strtok_string): Use as benchmark.
6431 * string/strtok (STRTOK): New macro.
6433 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6435 * manual/threads.texi: Add header and standard comments to all
6438 * elf/dl-lookup.c (check_match): New function.
6439 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6440 (do_lookup_x): Remove nested function check_match. Use non-nested
6441 function check_match.
6443 2014-02-28 Roland McGrath <roland@hack.frob.com>
6445 * csu/Makefile (generated, before-compile): Use += rather than =.
6446 * catgets/Makefile (generated, generated-dirs): Likewise.
6447 * debug/Makefile (generated): Likewise.
6448 * dlfcn/Makefile (generated): Likewise.
6449 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6450 * iconvdata/Makefile (before-compile, generated): Likewise.
6451 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6452 * libio/Makefile (generated): Likewise.
6453 * malloc/Makefile (generated): Likewise.
6454 * manual/Makefile (generated, generated-dirs): Likewise.
6455 * misc/Makefile (generated): Likewise.
6456 * posix/Makefile (generated): Likewise.
6457 * resolv/Makefile (generated): Likewise.
6458 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6459 * timezone/Makefile (generated, generated-dirs): Likewise.
6461 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6463 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6465 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6466 power8 implementation.
6467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6468 file: POWER8 llround ifunc implementation.
6469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6470 (__lllround): Add POWER8 implementation.
6471 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6472 POWER8 llround implementation.
6474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6475 power8 implementation.
6476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6477 file: POWER8 llrint ifunc implementation.
6478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6479 Add POWER8 implementation.
6480 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6481 POWER8 llrint implementation.
6483 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6484 power8 implementation.
6485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6486 file: POWER8 finite ifunc implementation.
6487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6488 Add POWER8 implementation.
6489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6491 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6492 POWER8 finite implementation.
6493 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6496 power8 implementation.
6497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6498 file: POWER8 isinf ifunc implementation.
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6500 POWER8 implementation.
6501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6503 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6504 isinf implementation.
6505 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6507 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6508 (INIT_ARCH): Add hwcap2 initialization.
6509 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6510 power8 implementation.
6511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6512 file: POWER8 isnan ifunc implementation.
6513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6514 POWER8 implementation.
6515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6517 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6518 isnan implementation.
6519 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6521 2014-02-27 Joey Ye <joey.ye@arm.com>
6523 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6524 (_FP_NANFRAC_Q): Set to zero.
6526 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6529 * math/auto-libm-test-in: New test inputs.
6530 * math/auto-libm-test-out: Regenerate.
6531 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6534 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6536 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6538 * scripts/evaluate-test.sh: Take new argument indicating whether
6539 failure is expected.
6540 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6541 indicating whether failure is expected.
6542 * conform/Makefile (test-xfail-run-conformtest): New variable.
6543 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6545 * posix/Makefile (test-xfail-annexc): New variable.
6546 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6548 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6550 * argp/Makefile: Include Makeconfig immediately after defining
6552 * assert/Makefile: Likewise.
6553 * benchtests/Makefile: Likewise.
6554 * catgets/Makefile: Likewise.
6555 * conform/Makefile: Likewise.
6556 * crypt/Makefile: Likewise.
6557 * csu/Makefile: Likewise.
6558 (all): Remove target.
6559 * ctype/Makefile: Include Makeconfig immediately after defining
6561 * debug/Makefile: Likewise.
6562 * dirent/Makefile: Likewise.
6563 * dlfcn/Makefile: Likewise.
6564 * gmon/Makefile: Likewise.
6565 * gnulib/Makefile: Likewise.
6566 * grp/Makefile: Likewise.
6567 * gshadow/Makefile: Likewise.
6568 * hesiod/Makefile: Likewise.
6569 * hurd/Makefile: Likewise.
6570 (all): Remove target.
6571 * iconvdata/Makefile: Include Makeconfig immediately after
6573 * inet/Makefile: Likewise.
6574 * intl/Makefile: Likewise.
6575 * io/Makefile: Likewise.
6576 * libio/Makefile: Likewise.
6577 (all): Remove target.
6578 * locale/Makefile: Include Makeconfig immediately after defining
6580 * login/Makefile: Likewise.
6581 * mach/Makefile: Likewise.
6582 (all): Remove target.
6583 * malloc/Makefile: Include Makeconfig immediately after defining
6585 (all): Remove target.
6586 * manual/Makefile: Include Makeconfig immediately after defining
6588 * math/Makefile: Likewise.
6589 * misc/Makefile: Likewise.
6590 * nis/Makefile: Likewise.
6591 * nss/Makefile: Likewise.
6592 * po/Makefile: Likewise.
6593 (all): Remove target.
6594 * posix/Makefile: Include Makeconfig immediately after defining
6596 * pwd/Makefile: Likewise.
6597 * resolv/Makefile: Likewise.
6598 * resource/Makefile: Likewise.
6599 * rt/Makefile: Likewise.
6600 * setjmp/Makefile: Likewise.
6601 * shadow/Makefile: Likewise.
6602 * signal/Makefile: Likewise.
6603 * socket/Makefile: Likewise.
6604 * soft-fp/Makefile: Likewise.
6605 * stdio-common/Makefile: Likewise.
6606 * stdlib/Makefile: Likewise.
6607 * streams/Makefile: Likewise.
6608 * string/Makefile: Likewise.
6609 * sunrpc/Makefile: Likewise.
6610 (all): Remove target.
6611 * sysvipc/Makefile: Include Makeconfig immediately after defining
6613 * termios/Makefile: Likewise.
6614 * time/Makefile: Likewise.
6615 * timezone/Makefile: Likewise.
6616 (all): Remove target.
6617 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6619 * wctype/Makefile: Likewise.
6621 2014-02-26 Steve Ellcey <sellcey@mips.com>
6623 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6624 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6625 (libc_feholdexcept_setround_mips): Ditto.
6626 (libc_feholdsetround): New.
6627 (libc_feholdsetroundf): New.
6628 (libc_feholdsetroundl): New.
6629 (libc_feupdateenv_test_mips): New.
6630 (libc_feupdateenv_test): New.
6631 (libc_feupdateenv_testf): New.
6632 (libc_feupdateenv_testl): New.
6633 (libc_feresetround): New.
6634 (libc_feresetroundf): New.
6635 (libc_feresetroundl): New.
6636 (libc_fetestexcept_mips): New.
6637 (libc_fetestexcept): New.
6638 (libc_fetestexceptf): New.
6639 (libc_fetestexceptl): New.
6641 (libc_feholdexcept_setround_mips_ctx): New.
6642 (libc_feholdexcept_setround_ctx): New.
6643 (libc_feholdexcept_setroundf_ctx): New.
6644 (libc_feholdexcept_setroundl_ctx): New.
6645 (libc_fesetenv_mips_ctx): New.
6646 (libc_fesetenv_ctx): New.
6647 (libc_fesetenv_ctxf): New.
6648 (libc_fesetenv_ctxl): New.
6649 (libc_feupdateenv_mips_ctx): New.
6650 (libc_feupdateenv_ctx): New.
6651 (libc_feupdateenvf_ctx): New.
6652 (libc_feupdateenvl_ctx): New.
6653 (libc_feholdsetround_mips_ctx): New.
6654 (libc_feholdsetround_ctx): New.
6655 (libc_feholdsetroundf_ctx): New.
6656 (libc_feholdsetroundl_ctx): New.
6657 (libc_feresetround_mips_ctx): New.
6658 (libc_feresetround_ctx): New.
6659 (libc_feresetroundf_ctx): New.
6660 (libc_feresetroundl_ctx): New.
6662 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6664 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6666 * manual/ipc.texi: New file.
6667 * manual/Makefile (chapters): Add ipc.
6668 * manual/job.texi: Add "Inter-Process Communication" to next.
6669 * manual/process.texi: Add "Inter-Process Communication" to prev.
6671 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6675 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6677 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6679 * manual/arith.texi: Fix spaces after sentences.
6680 * manual/charset.texi: Likewise.
6681 * manual/errno.texi: Likewise.
6682 * manual/install.texi: Likewise.
6683 * manual/llio.texi: Likewise.
6684 * manual/locale.texi: Likewise.
6685 * manual/maint.texi: Likewise.
6686 * manual/math.texi: Likewise.
6687 * manual/memory.texi: Likewise.
6688 * manual/message.texi: Likewise.
6689 * manual/probes.texi: Likewise.
6690 * manual/resource.texi: Likewise.
6691 * manual/signal.texi: Likewise.
6692 * manual/socket.texi: Likewise.
6693 * manual/stdio.texi: Likewise.
6694 * manual/string.texi: Likewise.
6695 * manual/time.texi: Likewise.
6696 * manual/users.texi: Likewise.
6698 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6701 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6702 _DEFAULT_SOURCE is defined.
6704 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6705 Carlos O'Donell <carlos@redhat.com>
6708 * elf/dl-tls.c (_dl_count_modids): New function.
6709 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6710 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6711 audit library and increment generation counter.
6712 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6713 * elf/tst-audit9.c: New file.
6714 * elf/tst-auditmod9a.c: New file.
6715 * elf/tst-auditmod9b.c: New file.
6716 * elf/Makefile: Add rules to build and run tst-audit9.
6718 2014-02-25 Florian Weimer <fweimer@redhat.com>
6721 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6723 2014-02-25 Will Newton <will.newton@linaro.org>
6725 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6726 (__longjmp): Restore sp and lr before restoring callee
6727 saved registers. Add longjmp and longjmp_target
6728 SystemTap probe point.
6729 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6730 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6731 Define to zero to match jmpbuf layout.
6732 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6733 (__sigsetjmp): Save sp and lr before saving callee
6734 saved registers. Add setjmp SystemTap probe point.
6736 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6738 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6740 2014-02-24 Andreas Schwab <schwab@suse.de>
6743 * elf/pldd.c (wait_for_ptrace_stop): New function.
6744 (main): Call it after attaching.
6746 2014-02-22 Roland McGrath <roland@hack.frob.com>
6748 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6749 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6750 Versions files is now verboten.
6751 * hurd/Versions (libc: GLIBC_2.0):
6752 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6753 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6754 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6755 * mach/Versions: Likewise.
6757 * csu/Versions: Remove unused %include.
6758 * resolv/Versions: Likewise.
6760 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6762 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6763 ($(objpfx)check-local-headers.out): Likewise.
6764 ($(objpfx)begin-end-check.out): Likewise.
6765 * Makerules (check-abi-%.out): Likewise.
6766 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6767 ($(objpfx)test2.cat): Likewise.
6768 ($(objpfx)de/libc.cat): Likewise.
6769 ($(objpfx)test-gencat.out): Likewise.
6770 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6771 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6772 ($(objpfx)noload-mem): Likewise.
6773 ($(objpfx)tst-pathopt.out): Likewise.
6774 ($(objpfx)tst-rtld-load-self.out): Likewise.
6775 ($(objpfx)tst-array1-cmp.out): Likewise.
6776 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6777 ($(objpfx)tst-array2-cmp.out): Likewise.
6778 ($(objpfx)tst-array3-cmp.out): Likewise.
6779 ($(objpfx)tst-array4-cmp.out): Likewise.
6780 ($(objpfx)tst-array5-cmp.out): Likewise.
6781 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6782 ($(objpfx)check-textrel.out): Likewise.
6783 ($(objpfx)check-execstack.out): Likewise.
6784 ($(objpfx)check-localplt.out): Likewise.
6785 ($(objpfx)order2-cmp.out): Likewise.
6786 ($(objpfx)tst-leaks1-mem): Likewise.
6787 ($(objpfx)tst-leaks1-static-mem): Likewise.
6788 ($(objpfx)tst-initorder-cmp.out): Likewise.
6789 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6790 ($(objpfx)tst-unused-dep.out): Likewise.
6791 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6792 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6793 * iconv/Makefile (test-iconvconfig): Likewise.
6794 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6795 ($(objpfx)iconv-test.out): Likewise.
6796 ($(objpfx)tst-tables.out): Likewise.
6797 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6798 ($(objpfx)tst-gettext.out): Likewise.
6799 ($(objpfx)tst-translit.out): Likewise.
6800 ($(objpfx)tst-gettext2.out): Likewise.
6801 ($(objpfx)tst-gettext4.out): Likewise.
6802 ($(objpfx)tst-gettext6.out): Likewise.
6803 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6804 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6805 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6806 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6807 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6808 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6809 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6810 ($(objpfx)wordexp-tst.out): Likewise.
6811 ($(objpfx)annexc.out): Likewise.
6812 ($(objpfx)tst-fnmatch-mem): Likewise.
6813 ($(objpfx)bug-regex2-mem): Likewise.
6814 ($(objpfx)bug-regex14-mem): Likewise.
6815 ($(objpfx)bug-regex21-mem): Likewise.
6816 ($(objpfx)bug-regex31-mem): Likewise.
6817 ($(objpfx)tst-vfork3-mem): Likewise.
6818 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6819 ($(objpfx)tst-pcre-mem): Likewise.
6820 ($(objpfx)tst-boost-mem): Likewise.
6821 ($(objpfx)tst-getconf.out): Likewise.
6822 ($(objpfx)bug-ga2-mem): Likewise.
6823 ($(objpfx)bug-glob2-mem): Likewise.
6824 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6825 ($(objpfx)mtrace-tst-leaks2): Likewise.
6826 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6827 ($(objpfx)tst-printf.out): Likewise.
6828 ($(objpfx)tst-setvbuf1.out): Likewise.
6829 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6830 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6831 ($(objpfx)tst-fmtmsg.out): Likewise.
6832 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6833 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6835 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6836 * bits/sigaction.h [__USE_MISC]: Likewise.
6837 * bits/waitstatus.h: Update #endif comments.
6838 * ctype/ctype.h: Likewise.
6839 * dirent/dirent.h: Likewise.
6840 [__USE_MISC]: Remove redundant conditionals.
6841 * grp/grp.h: Update #endif comments.
6842 [__USE_GNU]: Remove redundant conditionals.
6843 [__USE_MISC]: Likewise.
6844 * inet/netinet/in.h [__USE_GNU]: Likewise.
6845 * io/sys/stat.h [__USE_MISC]: Likewise.
6846 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6847 * libio/bits/stdio.h: Update #endif comments.
6848 [__USE_MISC]: Remove redundant conditionals.
6849 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6850 * libio/stdio.h: Update #endif comments.
6851 [__USE_MISC]: Remove redundant conditionals.
6852 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6853 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6854 * math/math.h: Update #else and #endif comments.
6855 [__USE_MISC]: Remove redundant conditionals.
6856 * misc/sys/uio.h: Update #endif comments.
6857 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6858 * posix/glob.h [__USE_MISC]: Likewise.
6859 * posix/sys/types.h: Update #endif comments.
6860 [__USE_MISC]: Remove redundant conditionals.
6861 * posix/sys/wait.h: Update #endif comments.
6862 [__USE_MISC]: Remove redundant conditionals.
6863 * posix/unistd.h: Update #endif comments.
6864 [__USE_MISC]: Remove redundant conditionals.
6865 * pwd/pwd.h [__USE_GNU]: Likewise.
6866 [__USE_MISC]: Likewise.
6867 * resolv/netdb.h [__USE_GNU]: Likewise.
6868 * signal/signal.h: Update #endif comments.
6869 [__USE_MISC]: Remove redundant conditionals.
6870 * stdlib/stdlib.h: Update #else and #endif comments.
6871 [__USE_MISC]: Remove redundant conditionals.
6872 [__USE_GNU]: Likewise.
6873 * string/bits/string2.h [__USE_MISC]: Likewise.
6874 * string/string.h: Update #endif comments.
6875 [__USE_MISC]: Remove redundant conditionals.
6876 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6878 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6879 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6880 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6882 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6884 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6886 [__USE_MISC]: Remove redundant conditionals.
6887 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6888 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6889 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6890 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6891 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6893 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6894 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6896 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6897 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6899 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6901 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6902 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6904 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6906 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6907 * sysdeps/x86/bits/string.h: Update #endif comments.
6908 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6910 * time/sys/time.h: Update #endif comments.
6911 * time/time.h: Likewise.
6912 [__USE_MISC]: Remove redundant conditionals.
6914 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6917 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6919 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6921 * Versions.def (librt): Add GLIBC_2.17.
6923 2014-02-21 Adam Conrad <adconrad@0c3.net>
6925 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6926 synonym for _SYS_AUXV_H to allow direct inclusion.
6927 * sysdeps/sparc/bits/hwcap.h: Likewise.
6928 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6929 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6930 * sysdeps/sparc/sysdep.h: Likewise.
6932 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6934 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6936 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6938 * benchtests/bench-strrchr.c: Print length instead of position.
6940 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6943 * sysdeps/unix/sysv/linux/kernel-features.h
6944 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6945 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6946 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6947 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6949 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6950 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6951 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6952 (__ASSUME_SENDMMSG): Define instead of using previous
6953 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6954 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6955 (__ASSUME_SENDMMSG_SYSCALL): Define.
6956 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6957 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6959 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6960 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6962 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6963 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6965 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6966 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6967 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6968 [__ASSUME_SENDMMSG]: Change conditionals to
6969 [__ASSUME_SENDMMSG_SOCKETCALL].
6970 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6971 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6973 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6974 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6976 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6977 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6978 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6979 [!__ASSUME_SENDMMSG]: Change conditional to
6980 [!__ASSUME_SENDMMSG_SOCKETCALL].
6981 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6982 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6986 * sysdeps/unix/sysv/linux/kernel-features.h
6987 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6988 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6989 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6990 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6991 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6992 [__i386__ || __sparc__]
6993 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6994 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6995 (__ASSUME_RECVMMSG): Define instead of using previous
6996 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6997 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6998 (__ASSUME_RECVMMSG_SYSCALL): Define.
6999 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7000 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7002 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7003 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7005 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7006 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7008 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7009 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7010 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7011 [__ASSUME_RECVMMSG]: Change condition to
7012 [__ASSUME_RECVMMSG_SOCKETCALL].
7013 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7014 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7016 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7017 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7018 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7020 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7021 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7022 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7023 [!__ASSUME_RECVMMSG]: Change condition to
7024 [!__ASSUME_RECVMMSG_SOCKETCALL].
7025 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7026 (__ASSUME_RECVMMSG_SYSCALL): Define.
7029 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7030 __powerpc__ || __s390__ || __sh__ || __sparc__]
7031 (__ASSUME_SOCKETCALL): Define.
7032 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7033 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7034 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7035 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7036 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7037 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7038 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7039 (__ASSUME_ACCEPT4): Define instead of using previous
7040 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7041 __powerpc__ || __sparc__ || __s390__)] condition.
7042 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7043 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7044 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7045 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7046 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7047 [!__ASSUME_ACCEPT4]: Change condition to
7048 [!__ASSUME_ACCEPT4_SOCKETCALL].
7049 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7050 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7051 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7052 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7053 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7054 __ASSUME_ACCEPT4_SYSCALL.
7055 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7056 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7057 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7058 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7059 __ASSUME_ACCEPT4_SYSCALL.
7060 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7061 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7062 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7063 [__ASSUME_ACCEPT4]: Change condition to
7064 [__ASSUME_ACCEPT4_SOCKETCALL].
7065 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7066 (__ASSUME_SOCKETCALL): Define.
7067 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7068 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7069 (__ASSUME_SOCKETCALL): Define.
7070 (__ASSUME_ACCEPT4): Remove.
7071 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7073 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7074 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7076 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7077 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7079 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7081 (HWCAP_ARM_LPAE): Likewise.
7082 (HWCAP_ARM_EVTSTRM): Likewise.
7083 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7084 Add vpfd32, lpae and evtstrm.
7085 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7088 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7090 * math/auto-libm-test-in: Add tests of clog10.
7091 * math/auto-libm-test-out: Regenerated.
7092 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7093 * sysdeps/i386/fpu/libm-test-ulps: Update.
7094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7096 2014-02-18 Andreas Schwab <schwab@suse.de>
7099 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7100 Store non-zero if the second buffer was newly allocated.
7101 (send_dg): Likewise.
7102 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7103 to send_vc and send_dg.
7104 (res_nsend): Pass NULL for ansp2_malloced.
7105 * resolv/res_query.c (__libc_res_nquery): Add parameter
7106 answerp2_malloced and pass it down to __libc_res_nsend.
7107 (res_nquery): Pass additional NULL to __libc_res_nquery.
7108 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7109 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7110 second answer buffer if answerp2_malloced was set.
7111 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7112 (__libc_res_nquerydomain): Add parameter
7113 answerp2_malloced and pass it down to __libc_res_nquery.
7114 (res_nquerydomain): Pass additional NULL to
7115 __libc_res_nquerydomain.
7116 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7117 additional NULL to __libc_res_nsend and __libc_res_nquery.
7118 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7119 additional NULL to __libc_res_nsearch.
7120 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7121 parameter of __libc_res_nsearch to check for separately allocated
7123 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7125 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7126 additional NULL to __libc_res_nquery.
7127 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7129 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7130 * include/resolv.h: Update prototypes of __libc_res_nquery,
7131 __libc_res_nsearch, __libc_res_nsend.
7133 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7135 * math/auto-libm-test-in: Add tests of fma.
7136 * math/auto-libm-test-out: Regenerated.
7137 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7138 (fma_towardzero_test_data): Likewise.
7139 (fma_downward_test_data): Likewise.
7140 (fma_upward_test_data): Likewise.
7141 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7143 (rounding_modes): Add values for new field.
7144 (func_calc_method): Add value mpfr_fff_f.
7145 (func_calc_desc): Add mpfr_fff_f union field.
7146 (test_function): Add field exact_args.
7147 (FUNC): Add macro argument EXACT_ARGS.
7148 (FUNC_mpfr_f_f): Update call to FUNC.
7149 (FUNC_mpfr_f_f): Likewise.
7150 (FUNC_mpfr_ff_f): Likewise.
7151 (FUNC_mpfr_if_f): Likewise.
7152 (FUNC_mpc_c_f): Likewise.
7153 (FUNC_mpc_c_c): Likewise.
7154 (test_functions): Add fma. Update calls to FUNC.
7155 (handle_input_arg): Add argument exact_args.
7156 (add_test): Update call to handle_input_arg.
7157 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7158 (output_for_one_input_case): Update call to calc_generic_results.
7159 Recalculate exact zero results in each rounding mode.
7161 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7162 non-negative before setting low bit.
7163 * math/auto-libm-test-in: Mark one asin test possibly having
7165 * math/auto-libm-test-out: Regenerated.
7166 * sysdeps/i386/fpu/libm-test-ulps: Update.
7167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7169 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7171 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7172 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7173 ports/sysdeps/unix/sysv/linux/microblaze.
7174 * README: Add missing listing for microblaze*-*-linux-gnu.
7176 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7178 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7179 * sysdeps/unix/sysv/linux/ia64: Move directory from
7180 ports/sysdeps/unix/sysv/linux/ia64.
7181 * README: Update listing for ia64-*-linux-gnu.
7183 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7184 Joseph Myers <joseph@codesourcery.com>
7186 * Makeconfig (test-name): New variable.
7187 (evaluate-test): Likewise.
7188 * Makerules (do-test-clean): Remove .test-result files.
7189 (common-mostlyclean): Likewise.
7190 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7191 * scripts/evaluate-test.sh: New file.
7193 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7195 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7196 separate $(objpfx)tst-fopenloc-cmp.out and
7197 $(objpfx)tst-fopenloc-mem.out targets.
7198 (tests): Update dependencies.
7199 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7200 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7201 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7202 (tst-rxspencer-no-utf8-ARGS): New variable.
7203 (tst-rxspencer-no-utf8-ENV): Likewise.
7204 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7205 instead of $(objpfx)tst-rxspencer-mem.
7206 ($(objpfx)tst-rxspencer-mem): Change target to
7207 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7208 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7209 * posix/tst-rxspencer-no-utf8.c: New file.
7211 * elf/Makefile ($(objpfx)order.out): Remove rule.
7212 [$(run-built-tests) = yes] (tests): Depend on
7213 $(objpfx)order-cmp.out.
7214 ($(objpfx)order-cmp.out): New rule.
7215 [$(run-built-tests) = yes] (tests): Depend on
7216 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7217 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7218 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7219 $(objpfx)tst-array5-static-cmp.out.
7220 ($(objpfx)tst-array1.out): Remove rule.
7221 ($(objpfx)tst-array1-cmp.out): New rule.
7222 ($(objpfx)tst-array1-static.out): Remove rule.
7223 ($(objpfx)tst-array1-static-cmp.out): New rule.
7224 ($(objpfx)tst-array2.out): Remove rule.
7225 ($(objpfx)tst-array2-cmp.out): New rule.
7226 ($(objpfx)tst-array3.out): Remove rule.
7227 ($(objpfx)tst-array3-cmp.out): New rule.
7228 ($(objpfx)tst-array4.out): Remove rule.
7229 ($(objpfx)tst-array4-cmp.out): New rule.
7230 ($(objpfx)tst-array5.out): Remove rule.
7231 ($(objpfx)tst-array5-cmp.out): New rule.
7232 ($(objpfx)tst-array5-static.out): Remove rule.
7233 ($(objpfx)tst-array5-static-cmp.out): New rule.
7234 [$(run-built-tests) = yes] (tests): Depend on
7235 $(objpfx)order2-cmp.out.
7236 ($(objpfx)order2.out): Remove rule.
7237 ($(objpfx)order2-cmp.out): New rule.
7238 ($(objpfx)tst-initorder.out): Remove rule.
7239 [$(run-built-tests) = yes] (tests): Depend on
7240 $(objpfx)tst-initorder-cmp.out.
7241 ($(objpfx)tst-initorder-cmp.out): New rule.
7242 ($(objpfx)tst-initorder2.out): Remove rule.
7243 [$(run-built-tests) = yes] (tests): Depend on
7244 $(objpfx)tst-initorder2-cmp.out.
7245 ($(objpfx)tst-initorder2-cmp.out): New rule.
7246 [$(run-built-tests) = yes] (tests): Depend on
7247 $(objpfx)tst-unused-dep-cmp.out.
7248 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7249 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7250 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7251 on $(objpfx)tst-setvbuf1-cmp.out.
7252 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7253 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7254 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7255 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7256 ($(objpfx)tst-svc.out): Remove rule.
7257 ($(objpfx)tst-svc-cmp.out): New rule.
7259 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7261 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7262 * ctype/ctype.h [__USE_MISC]: Likewise.
7263 * dirent/dirent.h [__USE_MISC]: Likewise.
7264 * grp/grp.h [__USE_MISC]: Likewise.
7265 * io/fcntl.h [__USE_MISC]: Likewise.
7266 * io/sys/stat.h [__USE_MISC]: Likewise.
7267 * libio/stdio.h [__USE_MISC]: Likewise.
7268 * posix/unistd.h [__USE_MISC]: Likewise.
7269 * pwd/pwd.h [__USE_MISC]: Likewise.
7270 * stdlib.h [__USE_MISC]: Likewise.
7271 * string/bits/string2.h [__USE_MISC]: Likewise.
7272 * string/string.h [__USE_MISC]: Likewise.
7273 * time/time.h [__USE_MISC]: Likewise.
7275 2014-02-13 Andreas Schwab <schwab@suse.de>
7278 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7279 second answer buffer if it was separately allocated.
7281 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7283 * sysdeps/mips/math-tests.h: Include <features.h>.
7284 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7285 (ROUNDING_TESTS_long_double): Do not define.
7286 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7287 (EXCEPTION_TESTS_long_double): Likewise.
7288 * sysdeps/mips/mips64/libm-test-ulps: Update.
7290 * include/features.h (__USE_BSD): Remove macro definitions.
7291 (__USE_SVID): Likewise.
7292 (_BSD_SOURCE): Likewise.
7293 (_SVID_SOURCE): Likewise.
7294 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7295 from definition of _DEFAULT_SOURCE.
7296 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7298 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7299 * bits/mman.h [__USE_BSD]: Likewise.
7300 * bits/termios.h [__USE_BSD]: Likewise.
7301 * bits/waitstatus.h [__USE_BSD]: Likewise.
7302 * ctype/ctype.h [__USE_SVID]: Likewise.
7303 * dirent/dirent.h [__USE_BSD]: Likewise.
7304 * grp/grp.h [__USE_SVID]: Likewise.
7305 [__USE_BSD]: Likewise.
7306 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7307 * io/fcntl.h [__USE_BSD]: Likewise.
7308 * io/ftw.h [__USE_BSD]: Likewise.
7309 * io/sys/stat.h [__USE_BSD]: Likewise.
7310 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7311 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7312 * libio/stdio.h [__USE_SVID]: Likewise.
7313 [__USE_BSD]: Likewise.
7314 * math/math.h [__USE_SVID]: Likewise.
7315 [__USE_BSD]: Likewise.
7316 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7317 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7318 * misc/search.h [__USE_SVID]: Likewise.
7319 * misc/sys/mman.h [__USE_BSD]: Likewise.
7320 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7321 * misc/sys/uio.h [__USE_BSD]: Likewise.
7322 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7323 * posix/glob.h [__USE_BSD]: Likewise.
7324 * posix/regex.h [__USE_BSD]: Likewise.
7325 * posix/sys/types.h [__USE_BSD]: Likewise.
7326 [__USE_SVID]: Likewise.
7327 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7328 * posix/sys/wait.h [__USE_BSD]: Likewise.
7329 [__USE_SVID]: Likewise.
7330 * posix/unistd.h [__USE_BSD]: Likewise.
7331 [__USE_SVID]: Likewise.
7332 * pwd/pwd.h [__USE_SVID]: Likewise.
7333 * resolv/netdb.h [__USE_BSD]: Likewise.
7334 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7335 * signal/signal.h [__USE_BSD]: Likewise.
7336 [__USE_SVID]: Likewise.
7337 * socket/sys/socket.h [__USE_BSD]: Likewise.
7338 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7339 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7340 [__USE_SVID]: Likewise.
7341 * string/bits/string2.h [__USE_BSD]: Likewise.
7342 [__USE_SVID]: Likewise.
7343 * string/bits/string3.h [__USE_BSD]: Likewise.
7344 * string/endian.h [__USE_BSD]: Likewise.
7345 * string/string.h [__USE_SVID]: Likewise.
7346 [__USE_BSD]: Likewise.
7347 * string/strings.h [__USE_BSD]: Likewise.
7348 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7349 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7350 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7351 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7352 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7353 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7355 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7357 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7358 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7360 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7361 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7363 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7365 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7366 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7367 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7369 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7371 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7372 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7373 * termios/termios.h [__USE_BSD]: Likewise.
7374 * time/sys/time.h [__USE_BSD]: Likewise.
7375 * time/time.h [__USE_BSD]: Likewise.
7376 [__USE_SVID]: Likewise.
7378 * Makefile (subdir_targets): Remove subdir_lint.out.
7380 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7381 (do-tst-printf): Likewise.
7382 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7383 $(objpfx)tst-printf.out.
7385 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7387 * Makerules (check-abi-%): Change target to
7388 $(objpfx)check-abi-%.out.
7389 (check-abi target): Update dependencies.
7390 (check-abi-pattern variable): Redirect output of diff to $@.
7391 (check-abi variable): Likewise.
7392 * elf/Makefile (check-abi): Update dependencies.
7394 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7396 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7397 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7399 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7400 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7401 value has largest subnormal exponent.
7402 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7403 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7404 * sysdeps/aarch64/soft-fp/sfp-machine.h
7405 (_FP_TININESS_AFTER_ROUNDING): New macro.
7406 * sysdeps/alpha/soft-fp/sfp-machine.h
7407 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7408 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7410 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7411 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7412 * sysdeps/mips/soft-fp/sfp-machine.h
7413 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7414 * sysdeps/powerpc/soft-fp/sfp-machine.h
7415 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7416 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7418 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7419 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7420 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7421 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7422 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7425 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7428 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7431 2014-02-12 Richard Henderson <rth@redhat.com>
7433 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7434 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7435 * sysdeps/unix/sysv/linux/alpha: Move directory from
7436 ports/sysdeps/unix/sysv/linux/alpha.
7437 * README: Update listing for alpha-*-linux-gnu.
7439 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7441 * include/features.h: Update comment documenting feature test
7443 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7445 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7446 (_SVID_SOURCE): Likewise.
7447 (_DEFAULT_SOURCE): Update description of default features.
7448 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7450 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7451 (S_ISVTX): Likewise.
7452 * manual/math.texi (Mathematical Constants): Likewise.
7453 * manual/signal.texi (Interrupted Primitives): Likewise.
7454 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7455 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7456 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7457 Don't refer to _SVID_SOURCE in warning text.
7459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7461 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7463 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7464 * sysdeps/mips/dl-lookup.c: Remove.
7465 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7467 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7470 * math/auto-libm-test-in: Add testcase for expl.
7471 * math/auto-libm-test-out: Regenerate.
7472 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7473 calculation of unsafe.
7474 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7476 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7478 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7479 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7480 ports/sysdeps/unix/sysv/linux/aarch64.
7481 * README: Update listing for aarch64*-*-linux-gnu.
7483 2014-02-11 Will Newton <will.newton@linaro.org>
7485 * manual/probes.texi (Mathematical Function Probes): Use
7486 "triggered" instead of "hit".
7488 * manual/probes.texi (Internal Probes): Add documentation
7489 of setjmp, longjmp and longjmp_target probes.
7491 * include/stap-probe.h: Add comment about probe argument
7494 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7495 definition. (tr_where, tr_freehook, tr_mallochook,
7496 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7498 2014-02-11 David S. Miller <davem@davemloft.net>
7500 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7501 processing int_tests.
7503 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7505 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7506 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7507 * sysdeps/unix/sysv/linux/mips: Move directory from
7508 ports/sysdeps/unix/sysv/linux/mips.
7509 * README: Update listing for mips-*-linux-gnu and
7512 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7514 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7515 * sysdeps/unix/sysv/linux/m68k: Move directory from
7516 ports/sysdeps/unix/sysv/linux/m68k.
7517 * README: Update listing for m68k-*-linux-gnu.
7519 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7521 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7522 * sysdeps/unix/sysv/linux/generic: Move directory from
7523 ports/sysdeps/unix/sysv/linux/generic.
7524 * sysdeps/unix/sysv/linux/tile: Move directory from
7525 ports/sysdeps/unix/sysv/linux/tile.
7526 * README: Update listing for tile*-*-linux-gnu.
7528 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7530 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7532 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7533 * catgets/open_catalog.c (__open_catalog): Likewise.
7534 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7535 * debug/confstr_chk.c: Likewise.
7536 * debug/fread_chk.c (__fread_chk): Likewise.
7537 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7538 * debug/getgroups_chk.c: Likewise.
7539 * debug/mbsnrtowcs_chk.c: Likewise.
7540 * debug/mbsrtowcs_chk.c: Likewise.
7541 * debug/mbstowcs_chk.c: Likewise.
7542 * debug/memcpy_chk.c: Likewise.
7543 * debug/memmove_chk.c: Likewise.
7544 * debug/mempcpy_chk.c: Likewise.
7545 * debug/memset_chk.c: Likewise.
7546 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7547 * debug/strcat_chk.c (__strcat_chk): Likewise.
7548 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7549 * debug/strncat_chk.c (__strncat_chk): Likewise.
7550 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7551 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7552 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7553 * debug/wcpncpy_chk.c: Likewise.
7554 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7555 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7556 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7557 * debug/wcsncpy_chk.c: Likewise.
7558 * debug/wcsnrtombs_chk.c: Likewise.
7559 * debug/wcsrtombs_chk.c: Likewise.
7560 * debug/wcstombs_chk.c: Likewise.
7561 * debug/wmemcpy_chk.c: Likewise.
7562 * debug/wmemmove_chk.c: Likewise.
7563 * debug/wmempcpy_chk.c: Likewise.
7564 * debug/wmemset_chk.c: Likewise.
7565 * dirent/scandirat.c (SCANDIRAT): Likewise.
7566 * dlfcn/dladdr1.c (dladdr1): Likewise.
7567 * dlfcn/dladdr.c (dladdr): Likewise.
7568 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7569 * dlfcn/dlerror.c (__dlerror): Likewise.
7570 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7571 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7572 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7573 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7574 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7575 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7576 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7577 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7579 * elf/dl-conflict.c: Likewise.
7580 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7581 * elf/dl-dst.h: Likewise.
7582 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7583 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7584 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7585 * elf/dl-init.c (call_init, _dl_init): Likewise.
7586 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7587 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7588 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7590 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7592 * elf/dl-minimal.c (__libc_memalign): Likewise.
7593 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7594 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7595 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7596 * elf/dl-sym.c (do_sym): Likewise.
7597 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7598 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7599 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7600 * elf/dl-writev.h (_dl_writev): Likewise.
7601 * elf/ldconfig.c (search_dir): Likewise.
7602 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7603 (dl_main): Likewise.
7604 * elf/setup-vdso.h (setup_vdso): Likewise.
7605 * grp/compat-initgroups.c (compat_call): Likewise.
7606 * grp/fgetgrent.c (fgetgrent): Likewise.
7607 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7608 * grp/putgrent.c (putgrent): Likewise.
7609 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7611 * hurd/hurdinit.c: Likewise.
7612 * iconvdata/8bit-gap.c (struct): Likewise.
7613 * iconvdata/ansi_x3.110.c : Likewise.
7614 * iconvdata/big5.c : Likewise.
7615 * iconvdata/big5hkscs.c : Likewise.
7616 * iconvdata/cp1255.c: Likewise.
7617 * iconvdata/cp1258.c : Likewise.
7618 * iconvdata/cp932.c : Likewise.
7619 * iconvdata/euc-cn.c: Likewise.
7620 * iconvdata/euc-jisx0213.c : Likewise.
7621 * iconvdata/euc-jp.c: Likewise.
7622 * iconvdata/euc-jp-ms.c : Likewise.
7623 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7624 * iconvdata/gb18030.c : Likewise.
7625 * iconvdata/gbbig5.c (const): Likewise.
7626 * iconvdata/gbgbk.c: Likewise.
7627 * iconvdata/gbk.c : Likewise.
7628 * iconvdata/ibm1364.c : Likewise.
7629 * iconvdata/ibm930.c : Likewise.
7630 * iconvdata/ibm932.c: Likewise.
7631 * iconvdata/ibm933.c : Likewise.
7632 * iconvdata/ibm935.c : Likewise.
7633 * iconvdata/ibm937.c : Likewise.
7634 * iconvdata/ibm939.c : Likewise.
7635 * iconvdata/ibm943.c: Likewise.
7636 * iconvdata/iso_11548-1.c: Likewise.
7637 * iconvdata/iso-2022-cn.c : Likewise.
7638 * iconvdata/iso-2022-cn-ext.c : Likewise.
7639 * iconvdata/iso-2022-jp-3.c: Likewise.
7640 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7641 * iconvdata/iso-2022-kr.c : Likewise.
7642 * iconvdata/iso646.c (gconv_end): Likewise.
7643 * iconvdata/iso_6937-2.c : Likewise.
7644 * iconvdata/iso_6937.c : Likewise.
7645 * iconvdata/iso8859-1.c: Likewise.
7646 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7647 * iconvdata/shift_jisx0213.c : Likewise.
7648 * iconvdata/sjis.c : Likewise.
7649 * iconvdata/t.61.c : Likewise.
7650 * iconvdata/tcvn5712-1.c : Likewise.
7651 * iconvdata/tscii.c: Likewise.
7652 * iconvdata/uhc.c : Likewise.
7653 * iconvdata/unicode.c (gconv_end): Likewise.
7654 * iconvdata/utf-16.c (gconv_end): Likewise.
7655 * iconvdata/utf-32.c (gconv_end): Likewise.
7656 * iconvdata/utf-7.c (base64): Likewise.
7657 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7658 * iconv/gconv_close.c (__gconv_close): Likewise.
7659 * iconv/gconv_open.c (__gconv_open): Likewise.
7660 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7661 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7662 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7663 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7664 (ucs4le_internal_loop_single): Likewise.
7665 * iconv/iconv.c (iconv): Likewise.
7666 * iconv/iconv_close.c: Likewise.
7667 * iconv/loop.c (SINGLE): Likewise.
7668 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7669 * include/atomic.h: Likewise.
7670 * inet/inet6_option.c (option_alloc): Likewise.
7671 * intl/bindtextdom.c (set_binding_values): Likewise.
7672 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7673 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7674 * intl/localealias.c (read_alias_file): Likewise.
7675 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7676 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7677 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7678 * libio/fmemopen.c (fmemopen): Likewise.
7679 * libio/iofgets.c (_IO_fgets): Likewise.
7680 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7681 * libio/iofgetws.c (fgetws): Likewise.
7682 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7683 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7684 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7685 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7686 * locale/findlocale.c (_nl_find_locale): Likewise.
7687 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7688 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7690 * locale/setlocale.c (setlocale): Likewise.
7691 * login/programs/pt_chown.c (main): Likewise.
7692 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7693 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7694 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7695 (mmap, mmap64, mremap, munmap): Likewise.
7696 * math/e_exp2l.c: Likewise.
7697 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7698 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7699 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7700 * math/s_catan.c (__catan): Likewise.
7701 * math/s_catanf.c (__catanf): Likewise.
7702 * math/s_catanh.c (__catanh): Likewise.
7703 * math/s_catanhf.c (__catanhf): Likewise.
7704 * math/s_catanhl.c (__catanhl): Likewise.
7705 * math/s_catanl.c (__catanl): Likewise.
7706 * math/s_ccosh.c (__ccosh): Likewise.
7707 * math/s_ccoshf.c (__ccoshf): Likewise.
7708 * math/s_ccoshl.c (__ccoshl): Likewise.
7709 * math/s_cexp.c (__cexp): Likewise.
7710 * math/s_cexpf.c (__cexpf): Likewise.
7711 * math/s_cexpl.c (__cexpl): Likewise.
7712 * math/s_clog10.c (__clog10): Likewise.
7713 * math/s_clog10f.c (__clog10f): Likewise.
7714 * math/s_clog10l.c (__clog10l): Likewise.
7715 * math/s_clog.c (__clog): Likewise.
7716 * math/s_clogf.c (__clogf): Likewise.
7717 * math/s_clogl.c (__clogl): Likewise.
7718 * math/s_csin.c (__csin): Likewise.
7719 * math/s_csinf.c (__csinf): Likewise.
7720 * math/s_csinh.c (__csinh): Likewise.
7721 * math/s_csinhf.c (__csinhf): Likewise.
7722 * math/s_csinhl.c (__csinhl): Likewise.
7723 * math/s_csinl.c (__csinl): Likewise.
7724 * math/s_csqrt.c (__csqrt): Likewise.
7725 * math/s_csqrtf.c (__csqrtf): Likewise.
7726 * math/s_csqrtl.c (__csqrtl): Likewise.
7727 * math/s_ctan.c (__ctan): Likewise.
7728 * math/s_ctanf.c (__ctanf): Likewise.
7729 * math/s_ctanh.c (__ctanh): Likewise.
7730 * math/s_ctanhf.c (__ctanhf): Likewise.
7731 * math/s_ctanhl.c (__ctanhl): Likewise.
7732 * math/s_ctanl.c (__ctanl): Likewise.
7733 * math/w_pow.c: Likewise.
7734 * math/w_powf.c: Likewise.
7735 * math/w_powl.c: Likewise.
7736 * math/w_scalb.c (sysv_scalb): Likewise.
7737 * math/w_scalbf.c (sysv_scalbf): Likewise.
7738 * math/w_scalbl.c (sysv_scalbl): Likewise.
7739 * misc/error.c (error_tail): Likewise.
7740 * misc/pselect.c (__pselect): Likewise.
7741 * nis/nis_callback.c (__nis_create_callback): Likewise.
7742 * nis/nis_call.c (__nisfind_server): Likewise.
7743 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7744 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7745 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7746 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7747 * nis/nis_lookup.c (nis_lookup): Likewise.
7748 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7749 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7750 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7751 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7752 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7753 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7754 * nis/nss_compat/compat-initgroups.c (add_group)
7755 (internal_getgrent_r): Likewise.
7756 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7757 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7758 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7759 (internal_getspnam_r): Likewise.
7760 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7761 (_nss_nis_getaliasbyname_r): Likewise.
7762 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7763 (_nss_nis_getntohost_r): Likewise.
7764 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7765 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7766 (_nss_nis_getgrgid_r): Likewise.
7767 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7768 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7769 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7770 (_nss_nis_gethostbyname4_r): Likewise.
7771 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7772 (initgroups_netid): Likewise.
7773 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7774 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7775 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7776 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7777 (_nss_nis_getprotobynumber_r): Likewise.
7778 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7779 (_nss_nis_getsecretkey): Likewise.
7780 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7781 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7782 (_nss_nis_getpwuid_r): Likewise.
7783 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7784 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7785 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7786 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7787 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7788 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7789 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7791 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7792 (_nss_nisplus_getntohost_r): Likewise.
7793 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7794 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7795 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7796 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7798 * nis/nss_nisplus/nisplus-initgroups.c
7799 (_nss_nisplus_initgroups_dyn): Likewise.
7800 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7801 (_nss_nisplus_getnetbyaddr_r): Likewise.
7802 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7803 (_nss_nisplus_getprotobynumber_r): Likewise.
7804 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7805 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7806 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7808 * nis/nss_nisplus/nisplus-service.c
7809 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7810 (_nss_nisplus_getservbyport_r): Likewise.
7811 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7812 (_nss_nisplus_getspnam_r): Likewise.
7813 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7815 * nscd/aicache.c (addhstaiX): Likewise.
7816 * nscd/cache.c (cache_search, prune_cache): Likewise.
7817 * nscd/connections.c (register_traced_file, send_ro_fd)
7818 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7819 (main_loop_epoll): Likewise.
7820 * nscd/grpcache.c (addgrbyX): Likewise.
7821 * nscd/hstcache.c (addhstbyX): Likewise.
7822 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7823 * nscd/mem.c (gc, mempool_alloc): Likewise.
7824 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7825 (addinnetgrX): Likewise.
7826 * nscd/nscd-client.h (__nscd_acquire_maplock)
7827 (__nscd_drop_map_ref): Likewise.
7828 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7829 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7830 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7832 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7833 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7834 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7835 (__nscd_get_map_ref): Likewise.
7836 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7837 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7839 * nscd/pwdcache.c (addpwbyX): Likewise.
7840 * nscd/selinux.c (preserve_capabilities): Likewise.
7841 * nscd/servicescache.c (addservbyX): Likewise.
7842 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7843 * posix/fnmatch.c (fnmatch): Likewise.
7844 * posix/getopt.c (_getopt_internal_r): Likewise.
7845 * posix/glob.c (glob, glob_in_dir): Likewise.
7846 * posix/wordexp.c (exec_comm_child): Likewise.
7847 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7848 (getanswer_r, gaih_getanswer_slice): Likewise.
7849 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7850 * resolv/res_init.c: Likewise.
7851 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7852 * resolv/res_query.c (__libc_res_nquery): Likewise.
7853 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7855 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7856 * stdio-common/perror.c (perror): Likewise.
7857 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7858 * stdio-common/tmpnam.c (tmpnam): Likewise.
7859 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7860 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7861 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7863 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7864 * stdlib/putenv.c (putenv): Likewise.
7865 * stdlib/setenv.c (__add_to_environ): Likewise.
7866 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7867 * stdlib/strtol_l.c (INTERNAL): Likewise.
7868 * string/memmem.c (memmem): Likewise.
7869 * string/strerror.c (strerror): Likewise.
7870 * string/strnlen.c (__strnlen): Likewise.
7871 * string/test-memmem.c (simple_memmem): Likewise.
7872 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7873 * sunrpc/pm_getport.c (__get_socket): Likewise.
7874 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7875 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7876 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7877 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7879 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7880 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7881 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7882 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7883 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7884 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7886 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7888 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7889 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7890 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7891 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7892 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7894 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7895 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7896 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7897 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7898 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7899 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7901 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7903 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7905 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7906 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7907 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7908 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7909 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7910 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7911 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7912 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7913 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7914 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7915 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7916 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7917 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7918 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7919 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7920 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7922 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7924 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7926 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7928 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7929 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7930 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7932 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7933 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7934 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7935 * sysdeps/posix/sleep.c: Likewise.
7936 * sysdeps/posix/tempname.c: Likewise.
7937 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7938 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7940 * sysdeps/powerpc/powerpc32/dl-machine.h
7941 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7942 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7943 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7944 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7945 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7947 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7948 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7949 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7950 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7951 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7952 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7953 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7954 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7955 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7956 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7957 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7958 (elf_machine_lazy_rel): Likewise.
7959 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7960 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7961 (elf_machine_lazy_rel): Likewise.
7962 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7963 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7964 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7965 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7966 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7967 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7968 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7969 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7971 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7972 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7973 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7974 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7975 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7976 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7977 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7978 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7979 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7980 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7981 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7983 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7984 (__posix_fallocate64_l64): Likewise.
7985 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7986 (posix_fallocate): Likewise.
7987 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7989 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7990 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7991 (getifaddrs_internal): Likewise.
7992 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7993 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7994 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7995 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7996 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7997 (__posix_fallocate64_l64): Likewise.
7998 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8000 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8001 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8002 (__get_clockfreq): Likewise.
8003 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8004 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8005 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8006 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8007 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8008 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8009 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8010 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8012 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8013 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8014 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8015 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8016 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8017 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8018 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8020 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8021 (posix_fallocate): Likewise.
8022 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8023 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8024 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8025 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8026 (elf_machine_rela, elf_machine_rela_relative)
8027 (elf_machine_lazy_rel): Likewise.
8028 * time/asctime.c (asctime_internal): Likewise.
8029 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8030 * time/tzset.c (__tzset_parse_tz): Likewise.
8031 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8032 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8033 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8034 * wcsmbs/wcsmbsload.h: Likewise.
8037 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8039 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8040 (arena_get2): Remove THREAD_STATS conditionals.
8041 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8042 (__malloc_stats, int): Likewise.
8044 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8046 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8047 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8049 * manual/setjmp.texi: Fix typos/grammar errors.
8051 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8052 Only return early when n is <= 0. Delete unused return statement.
8054 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8055 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8056 * debug/tst-longjmp_chk3.c: New file.
8058 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8059 (test_main): Replace code with set_fortify_handler call.
8060 * debug/test-strcpy_chk.c: Likewise.
8061 * debug/tst-chk1.c: Likewise.
8062 * debug/tst-longjmp_chk.c: Likewise.
8063 * test-skeleton.c: Include fcntl.h & paths.h
8064 (set_fortify_handler): Define.
8066 * debug/tst-longjmp_chk.c: Add header comment and include
8068 (do_test): Mark static.
8069 (TEST_FUNCTION): Define.
8071 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8072 (IP_PMTUDISC_INTERFACE): Likewise.
8073 (IP_MULTICAST_IF): Likewise.
8074 (IP_MULTICAST_TTL): Likewise.
8075 (IP_MULTICAST_LOOP): Likewise.
8076 (IP_ADD_MEMBERSHIP): Likewise.
8077 (IP_DROP_MEMBERSHIP): Likewise.
8078 (IP_UNBLOCK_SOURCE): Likewise.
8079 (IP_BLOCK_SOURCE): Likewise.
8080 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8081 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8082 (IP_MSFILTER): Likewise.
8083 (MCAST_JOIN_GROUP): Likewise.
8084 (MCAST_BLOCK_SOURCE): Likewise.
8085 (MCAST_UNBLOCK_SOURCE): Likewise.
8086 (MCAST_LEAVE_GROUP): Likewise.
8087 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8088 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8089 (MCAST_MSFILTER): Likewise.
8090 (IP_MULTICAST_ALL): Likewise.
8091 (IP_UNICAST_IF): Likewise.
8093 * timezone/Makefile: Delete $(have-ksh) check.
8094 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8095 * timezone/tzselect.ksh: Add +x mode bits.
8097 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8098 (ANON_INODE_FS_MAGIC): Likewise.
8099 (BDEVFS_MAGIC): Likewise.
8100 (BINFMTFS_MAGIC): Likewise.
8101 (BTRFS_TEST_MAGIC): Likewise.
8102 (CRAMFS_MAGIC_WEND): Likewise.
8103 (DEBUGFS_MAGIC): Likewise.
8104 (ECRYPTFS_SUPER_MAGIC): Likewise.
8105 (EXT3_SUPER_MAGIC): Likewise.
8106 (EXT4_SUPER_MAGIC): Likewise.
8107 (FUTEXFS_SUPER_MAGIC): Likewise.
8108 (HOSTFS_SUPER_MAGIC): Likewise.
8109 (HUGETLBFS_MAGIC): Likewise.
8110 (MINIX3_SUPER_MAGIC): Likewise.
8111 (MTD_INODE_FS_MAGIC): Likewise.
8112 (NILFS_SUPER_MAGIC): Likewise.
8113 (OPENPROM_SUPER_MAGIC): Likewise.
8114 (PIPEFS_MAGIC): Likewise.
8115 (PSTOREFS_MAGIC): Likewise.
8116 (QNX6_SUPER_MAGIC): Likewise.
8117 (RAMFS_MAGIC): Likewise.
8118 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8119 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8120 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8121 (SECURITYFS_MAGIC): Likewise.
8122 (SELINUX_MAGIC): Likewise.
8123 (SMACK_MAGIC): Likewise.
8124 (SOCKFS_MAGIC): Likewise.
8125 (SQUASHFS_MAGIC): Likewise.
8126 (STACK_END_MAGIC): Likewise.
8127 (TMPFS_MAGIC): Likewise.
8128 (USBDEVICE_SUPER_MAGIC): Likewise.
8129 (V9FS_MAGIC): Likewise.
8130 (XENFS_SUPER_MAGIC): Likewise.
8131 (CRAMFS_MAGIC): Fix typo in comment.
8132 (EXT2_SUPER_MAGIC): Update comment.
8133 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8135 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8137 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8138 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8139 * sysdeps/unix/sysv/linux/arm: Move directory from
8140 ports/sysdeps/unix/sysv/linux/arm.
8141 * README: Update listing for arm-*-linux-gnueabi.
8143 * README: Remove mention of am33.
8145 2014-02-07 Roland McGrath <roland@hack.frob.com>
8147 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8148 than the comma operator, to avoid "rhs of comma has no effect"
8150 (__sigfillset, __sigandset, __sigorset): Likewise.
8151 * include/signal.h (__sigemptyset): Likewise.
8152 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8154 2014-02-07 Allan McRae <allan@archlinux.org>
8156 * version.h (RELEASE): Set to "development".
8157 (VERSION): Set to "2.19.90"
8158 * NEWS: Add 2.20 section.
8160 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8163 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8165 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8167 * manual/contrib.texi: Update entry for Carlos O'Donell,
8168 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8170 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8172 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8174 * sysdeps/unix/sysv/linux/kernel-features.h
8175 [__LINUX_KERNEL_VERSION >= 0x020621]
8176 (__ASSUME_PROC_PID_TASK_COMM): Define.
8178 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8181 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8182 conversion when destination buffer does not have enough space.
8183 * libio/tst-ftell-partial-wide.c: New test case.
8184 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8186 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8187 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8188 Leonard and Allan McRae.
8190 2014-02-04 David S. Miller <davem@davemloft.net>
8192 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8195 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8224 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8226 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8227 * shlib-versions: Likewise.
8229 2014-02-04 Roland McGrath <roland@hack.frob.com>
8230 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8232 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8233 (abilist-pattern): New variable, set to %-le.abilist.
8235 * Makerules (abilist-pattern): New variable.
8236 (vpath): Use $(abilist-pattern) in place of %.abilist.
8237 (check-abi-% pattern rule): Likewise.
8238 (check-abi, update-abi): Likewise.
8240 2014-02-04 Eric Wong <normalperson@yhbt.net>
8242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8244 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8246 * manual/startup.texi: Add next, previous, and top entries for
8247 the `Program Arguments' and `Environment Variables' nodes.
8249 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8251 * manual/macros.texi: Add comments before MTASC-safety macros.
8253 * manual/users.texi: Document MTASC-safety properties.
8255 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8256 (pthread_getspecific, pthread_setspecific): Format with
8257 @deftypefun, and add @safety note.
8258 * manual/signal.texi: Move comments that analyze the above
8259 functions to their home place.
8261 2014-02-03 Allan McRae <allan@archlinux.org>
8263 * po/sl.po: Update Slovenian translation from translation project.
8265 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8267 * manual/time.texi (timegm): Add missing blank after @c.
8268 Reported by Joseph Myers <joseph@codesourcery.com>.
8270 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8272 * manual/check-safety.sh: New.
8273 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8275 * manual/terminal.texi: Document MTASC-safety properties.
8277 * manual/filesys.texi: Document MTASC-safety properties.
8279 * manual/errno.texi: Document MTASC-safety properties.
8281 * manual/intro.texi: Document safety identifiers and
8284 * manual/string.texi (wcstok): Fix prototype.
8285 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8287 * manual/time.texi: Document MTASC-safety properties.
8289 * manual/string.texi: Document MTASC-safety properties.
8291 * manual/threads.texi: Document MTASC-safety properties.
8293 * manual/stdio.texi: Document MTASC-safety properties.
8295 * manual/syslog.texi: Document MTASC-safety properties.
8297 * manual/sysinfo.texi: Document MTASC-safety properties.
8299 * manual/startup.texi: Document MTASC-safety properties.
8301 * manual/socket.texi: Document MTASC-safety properties.
8303 * manual/signal.texi: Document MTASC-safety properties.
8305 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8307 * manual/setjmp.texi: Document MTASC-safety properties.
8309 * manual/search.texi: Document MTASC-safety properties.
8311 * manual/resource.texi: Document MTASC-safety properties.
8313 * manual/process.texi: Document MTASC-safety properties.
8315 * manual/platform.texi: Document MTASC-safety properties.
8317 * manual/pipe.texi: Document MTASC-safety properties.
8319 * manual/pattern.texi: Document MTASC-safety properties.
8321 * manual/message.texi: Document MTASC-safety properties.
8324 * manual/memory.texi: Document MTASC-safety properties.
8326 * manual/math.texi: Document MTASC-safety properties.
8328 * manual/locale.texi: Document MTASC-safety properties.
8330 * manual/llio.texi: Document MTASC-safety properties.
8332 * manual/libdl.texi: New.
8334 * manual/lang.texi: Document MTASC-safety properties.
8336 * manual/job.texi: Document MTASC-safety properties.
8338 * manual/getopt.texi: Document MTASC-safety properties.
8340 * manual/ctype.texi: Document MTASC-safety properties.
8342 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8345 * csu/libc-tls.c (static_map): Remove variable.
8346 (__libc_setup_tls): Use main executable's link map for TLS data.
8347 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8348 casing for LM_ID_BASE and GL(dl_nns).
8349 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8350 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8351 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8352 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8353 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8355 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8358 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8360 * manual/debug.texi: Document MTASC-safety properties.
8362 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8365 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8366 of __x86_64__ when disabling x87 inline functions.
8368 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8370 * manual/charset.texi: Document MTASC-safety properties.
8372 * manual/crypt.texi: Document MTASC-safety properties.
8374 * manual/conf.texi: Document MTASC-safety properties.
8376 * manual/arith.texi: Document MTASC-safety properties.
8378 * manual/argp.texi: Document MTASC-safety properties.
8380 * manual/macros.texi: Introduce macros to document multi
8381 thread, asynchronous signal and asynchronous cancellation
8383 * manual/intro.texi: Introduce the properties themselves.
8385 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8387 * sysdeps/sh/sh4/Makefile: New file.
8389 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8391 * math/gen-libm-test.pl ($srcdir): New variable.
8392 ($auto_input): Use it.
8394 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8397 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8398 access beyond array bounds when parsing netgroups file.
8400 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8401 the old buffer before realloc.
8403 2014-01-27 Allan McRae <allan@archlinux.org>
8405 * po/fr.po: Update French translation from translation project.
8407 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8409 * sysdeps/sh/libm-test-ulps: Regenerate.
8411 2014-01-24 David S. Miller <davem@davemloft.net>
8413 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8415 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8417 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8418 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8420 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8423 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8424 string pointers after reallocation.
8426 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8428 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8429 __SH4A__ instead of __SH_FPU_ANY__.
8431 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8433 * sysdeps/sh/fpu_control.h: New file.
8434 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8435 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8436 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8437 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8438 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8439 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8440 * sysdeps/sh/sys/ucontext.h: Remove.
8441 * sysdeps/sh/sys: Remove directory.
8443 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8445 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8446 s390/sys/ucontext.h.
8447 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8448 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8450 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8453 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8455 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8458 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8459 Adjust the vDSO correctly for internal calls.
8460 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8462 2014-01-20 Allan McRae <allan@archlinux.org>
8464 * po/ca.po: Update Catalan translation from translation project.
8466 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8468 * sysdeps/s390/sotruss-lib.c: New file.
8470 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8473 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8474 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8475 local calls issues by not having a PLT stub required for IFUNC calls.
8476 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8478 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8480 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8481 * math/test-fpucw-static.c: Likewise.
8483 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8486 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8488 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8490 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8491 implementation for powerpc.
8493 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8496 * sysdeps/posix/system.c (__libc_system): Do not enable
8497 asynchronous cancellation.
8499 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8502 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8503 handling only for numbers special also in the IEEE case.
8505 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8507 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8509 2014-01-11 Allan McRae <allan@archlinux.org>
8511 * po/bg.po: Update Bulgarian translation from translation project.
8513 * po/de.po: Update German translation from translation project.
8515 2014-01-10 Roland McGrath <roland@hack.frob.com>
8517 * sysdeps/generic/gcc-compat.h: New file.
8519 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8521 * benchtests/asin-inputs: Correct slow inputs.
8522 * benchtests/acos-inputs: Likewise.
8524 2014-01-10 Allan McRae <allan@archlinux.org>
8526 * po:sv.po: Update Swedish translation from translation project.
8528 * po/vi.po: Update Vietnamese translation from translation project.
8530 * po/eo.po: Update Esperanto translation from translation project.
8532 * po/cs.po: Update Czech translation from translation project.
8534 * po/nl.po: Update Dutch translation from translation project.
8536 * po/pl.po: Update Polish translation from translation project.
8538 * po/ru.po: Update Russian translation from translation project.
8540 * po/uk.po: Update Ukrainian translation from translation project.
8542 2014-01-08 Brooks Moses <bmoses@google.com>
8544 * elf/dl-load.c: Fix comment typo.
8546 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8548 * po/header.pot: Rename to...
8549 * po/pot.header: ... this.
8550 * po/Makefile: Use pot.header.
8552 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8553 Maxim Kuvyrkov <maxim@kugelworks.com>
8556 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8557 SRC and DEST against LEN.
8559 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8562 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8564 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8566 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8570 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8573 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8574 for large positive arguments.
8576 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8578 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8580 * math/auto-libm-test-in: Mark various tests with
8581 xfail-rounding:ldbl-128ibm.
8582 * math/auto-libm-test-out: Regenerated.
8585 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8586 Increase overflow threshold.
8588 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8591 * stdio-common/vfprintf.c: Check for integer overflow.
8593 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8595 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8596 the first argument and return value of __tls_get_addr_internal.
8598 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8600 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8601 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8603 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8605 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8606 * sysdeps/s390/rtld-global-offsets.sym: New file.
8607 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8609 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8610 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8611 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8613 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8614 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8620 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8621 halfs of GPRs for high_gprs contexts.
8622 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8623 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8625 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8627 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8629 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8630 for high GPRs (uc_high_gprs) and for future extensions
8632 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8633 for future extensions (__reserved).
8634 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8636 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8637 SC_HIGHGPRS offset definition.
8638 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8639 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8641 * Versions.def: Add GLIBC_2.19 for libpthread.
8642 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8643 siglongjmp for libpthread with GLIBC_2.19 symver.
8644 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8645 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8646 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8647 * sysdeps/s390/__longjmp.c: New file.
8648 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8649 * sysdeps/s390/longjmp.c: New file.
8650 * sysdeps/s390/setjmp.S: New file.
8651 * sysdeps/s390/sigjmp.S: New file.
8652 * sysdeps/s390/v1-longjmp.c: New file.
8653 * sysdeps/s390/v1-setjmp.h: New file.
8654 * sysdeps/s390/v1-sigjmp.c: New file.
8655 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8656 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8658 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8659 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8660 versioned symbols for ____longjmp_chk.
8661 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8671 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8672 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8673 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8674 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8675 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8676 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8677 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8678 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8679 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8680 * sysdeps/s390/rtld-__longjmp.c: New file.
8681 * sysdeps/s390/rtld-setjmp.S: New file.
8683 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8686 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8687 Return -__logl (x) for small positive arguments without evaluating
8690 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8692 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8694 (__ptrace_peeksiginfo_args): ... this.
8695 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8696 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8697 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8699 2014-01-06 Allan McRae <allan@archlinux.org>
8701 * inet/netinet/in.h: Fix typo in comment.
8703 2014-01-05 Andreas Jaeger <aj@suse.de>
8705 * sysdeps/i386/fpu/libm-test-ulps: Update.
8707 2014-01-05 Allan McRae <allan@archlinux.org>
8709 * po/libc.pot: Regenerated.
8711 * malloc/memusagestat.c: Fix gettext call formatting.
8713 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8715 * nscd/nscd.c: Improve usage() output.
8717 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8719 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8720 * sysdeps/unix/sysv/linux/configure: Regenerated.
8721 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8722 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8724 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8727 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8728 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8730 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8732 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8733 extra tokens at end of #undef directive.
8734 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8735 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8736 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8738 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8740 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8742 * math/auto-libm-test-in: Mark various tests with
8743 xfail-rounding:ldbl-128ibm.
8744 * math/auto-libm-test-out: Regenerated.
8746 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8749 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8750 numbers with subnormal high part when calculating exponent.
8753 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8757 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8759 (__ieee754_acoshl): Use __log1pl not __log1p.
8761 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8763 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8764 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8765 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8766 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8767 (reused_arena, arena_get2): Convert to GNU style.
8768 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8769 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8770 (memalign_check, __malloc_set_state): Likewise.
8771 * malloc/mallocbug.c (main): Likewise.
8772 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8773 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8774 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8775 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8776 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8777 (__posix_memalign, malloc_info): Likewise.
8778 * malloc/malloc.h: Likewise.
8779 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8780 (mallochook, memalignhook, reallochook, mabort): Likewise.
8781 * malloc/mcheck.h: Likewise.
8782 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8783 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8784 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8785 * malloc/morecore.c (__default_morecore): Likewise.
8786 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8787 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8788 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8789 (print_and_abort): Likewise.
8790 * malloc/obstack.h: Likewise.
8791 * malloc/set-freeres.c (__libc_freeres): Likewise.
8792 * malloc/tst-mallocstate.c (main): Likewise.
8793 * malloc/tst-mtrace.c (main): Likewise.
8794 * malloc/tst-realloc.c (do_test): Likewise.
8796 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8799 * nscd/netgroupcache.c (do_notfound): New function.
8800 (addgetnetgrentX): Use it.
8803 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8804 NSS_STATUS_NOTFOUND.
8806 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8808 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8811 2014-01-01 Allan McRae <allan@archlinux.org>
8813 * scripts/update-copyrights: Update configure input file suffix.
8815 * NEWS: Update copyright year.
8816 * catgets/gencat.c: Likewise.
8817 * csu/version.c: Likewise.
8818 * debug/catchsegv.sh: Likewise.
8819 * debug/pcprofiledump.c: Likewise.
8820 * debug/xtrace.sh: Likewise.
8821 * elf/ldconfig.c: Likewise.
8822 * elf/ldd.bash.in: Likewise.
8823 * elf/pldd.c: Likewise.
8824 * elf/sotruss.ksh: Likewise.
8825 * elf/sprof.c: Likewise.
8826 * iconv/iconv_prog.c: Likewise.
8827 * iconv/iconvconfig.c: Likewise.
8828 * locale/programs/locale.c: Likewise.
8829 * locale/programs/localedef.c: Likewise.
8830 * login/programs/pt_chown.c: Likewise.
8831 * malloc/memusage.sh: Likewise.
8832 * malloc/memusagestat.c: Likewise.
8833 * malloc/mtrace.pl: Likewise.
8834 * manual/libc.texinfo: Likewise.
8835 * nscd/nscd.c: Likewise.
8836 * nss/getent.c: Likewise.
8837 * nss/makedb.c: Likewise.
8838 * posix/getconf.c: Likewise.
8839 * scripts/test-installation.pl: Likewise.
8841 * All files with FSF copyright notices: Update copyright dates
8842 using scripts/update-copyrights.
8843 * intl/plural.c: Regenerated.
8844 * locale/programs/charmap-kw.h: Likewise.
8845 * locale/programs/locfile-kw.h: Likewise.
8847 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8849 * sysdeps/unix/sysv/linux/configure: Regenerated.
8850 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8851 the linux/fanotify.h header.
8852 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8853 HAVE_LINUX_FANOTIFY_H is defined.
8855 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8857 * benchtests/cos-inputs: New inputs.
8858 * benchtests/sin-inputs: Likewise.
8860 * benchtests/atan-inputs: New inputs. Fix name of multiple
8861 precision fallback inputs.
8863 * benchtests/atanh-inputs: New inputs.
8864 * benchtests/tanh-inputs: Likewise.
8866 * benchtests/acosh-inputs: New inputs.
8867 * benchtests/asinh-inputs: Likewise.
8869 * benchtests/cosh-inputs: New inputs.
8870 * benchtests/sinh-inputs: Likewise.
8872 * benchtests/acos-inputs: Add more inputs.
8873 * benchtests/asin-inputs: Likewise.
8875 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8878 * manual/arith.texi: Fix spelling.
8879 * manual/charset.texi: Likewise.
8880 * manual/errno.texi: Likewise.
8881 * manual/filesys.texi: Likewise.
8882 * manual/lang.texi: Likewise.
8883 * manual/llio.texi: Likewise.
8884 * manual/locale.texi: Likewise.
8885 * manual/message.texi: Likewise.
8886 * manual/resource.texi: Likewise.
8887 * manual/search.texi: Likewise.
8888 * manual/setjmp.texi: Likewise.
8889 * manual/stdio.texi: Likewise.
8890 * manual/string.texi: Likewise.
8891 * manual/sysinfo.texi: Likewise.
8892 * manual/time.texi: Likewise.
8894 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8896 * po/sl.po: New file.
8898 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8900 * .gitignore: Add core/.gdbinit/.gdb_history.
8902 2013-12-27 Allan McRae <allan@archlinux.org>
8905 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8906 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8908 2013-12-24 Brooks Moses <bmoses@google.com>
8910 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8911 all compilers that claim C++98 compliance, not just GCC.
8912 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8915 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8917 * NEWS: Restore accidentally deleted bug-fix entries.
8919 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8920 Ondřej Bílka <neleai@seznam.cz>
8923 * malloc/malloc.c (_int_free): Perform sanity check only if we
8926 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8929 * manual/stdio.texi (String Input Conversions): Clarify that character
8930 classes are not supported.
8932 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8936 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8939 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8940 Calculate results for small negative arguments directly rather
8941 than using reflection formula with special underflow handling.
8943 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8944 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8945 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8946 (fchflags): Likewise.
8948 (setlogin): Likewise.
8949 (sigaltstack): Likewise.
8952 (sigsetmask): Likewise.
8954 (waitpid): Likewise.
8955 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8956 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8958 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8959 * sysdeps/unix/bsd/Makefile: ... here.
8960 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8961 * sysdeps/unix/bsd/Versions: ... here.
8962 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8963 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8964 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8965 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8966 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8967 * sysdeps/unix/bsd/sigblock.c: ... here.
8968 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8969 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8970 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8971 * sysdeps/unix/bsd/sigvec.c: ... here.
8972 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8973 * sysdeps/unix/bsd/tcdrain.c: ... here.
8974 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8975 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8976 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8977 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8978 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8979 * sysdeps/unix/bsd/wait.c: ... here.
8980 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8981 * sysdeps/unix/bsd/wait3.c: ... here.
8982 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8983 * sysdeps/unix/bsd/waitpid.c: ... here.
8985 2013-12-21 Joseph Myers <joseph@codesourcery.com>
8988 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8989 round-to-nearest for [!USE_AS_EXPM1L].
8990 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8991 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8992 more tests of exp and exp10. Expect some exp10 tests to miss
8993 exceptions or fail in directed rounding modes.
8994 * math/auto-libm-test-out: Regenerated.
8995 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8996 (exp10_test_tonearest): New function.
8997 (exp10_towardzero_test_data): New array.
8998 (exp10_test_towardzero): New function.
8999 (exp10_downward_test_data): New array.
9000 (exp10_test_downward): New function.
9001 (exp10_upward_test_data): New array.
9002 (exp10_test_upward): New function.
9003 (main): Call the new functions.
9004 * sysdeps/i386/fpu/libm-test-ulps: Update.
9005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9007 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9009 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9010 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9011 * math/auto-libm-test-out: Regenerated.
9012 * math/libm-test.inc (acosh_test_data): Add more tests.
9013 (atanh_test_data): Likewise.
9014 (ceil_test_data): Likewise.
9015 (copysign_test_data): Likewise.
9016 * sysdeps/i386/fpu/libm-test-ulps: Update.
9017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9019 * timezone/checktab.awk: Update from tzcode 2013i.
9020 * timezone/private.h: Likewise.
9021 * timezone/scheck.c: Likewise.
9022 * timezone/tzfile.h: Likewise.
9023 * timezone/tzselect.ksh: Likewise.
9024 * timezone/zdump.c: Likewise.
9025 * timezone/zic.c: Likewise.
9027 * math/auto-libm-test-in: Add tests of cpow.
9028 * math/auto-libm-test-out: Regenerated.
9029 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9030 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9032 (func_calc_desc): Add mpc_cc_c union field.
9033 (test_functions): Add cpow.
9034 (special_fill_2pi): New function.
9035 (special_real_inputs): Add 2pi.
9036 (calc_generic_results): Handle mpc_cc_c.
9037 * sysdeps/i386/fpu/libm-test-ulps: Update.
9038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9040 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9041 csqrt, ctan and ctanh.
9042 * math/auto-libm-test-out: Regenerated.
9043 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9044 (TEST_COND_x86): Likewise.
9045 (ccos_test_data): Use AUTO_TESTS_c_c.
9046 (ccosh_test_data): Likewise.
9047 (cexp_test_data): Likewise.
9048 (clog_test_data): Likewise.
9049 (csqrt_test_data): Likewise.
9050 (ctan_test_data): Likewise.
9051 (ctan_tonearest_test_data): Likewise.
9052 (ctan_towardzero_test_data): Likewise.
9053 (ctan_downward_test_data): Likewise.
9054 (ctan_upward_test_data): Likewise.
9055 (ctanh_test_data): Likewise.
9056 (ctanh_tonearest_test_data): Likewise.
9057 (ctanh_towardzero_test_data): Likewise.
9058 (ctanh_downward_test_data): Likewise.
9059 (ctanh_upward_test_data): Likewise.
9060 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9062 (func_calc_desc): Add mpc_c_c union field.
9063 (FUNC_mpc_c_c): New macro.
9064 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9065 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9067 (special_fill_min_subnorm_p120): New function.
9068 (special_real_inputs): Add min_subnorm_p120.
9069 (calc_generic_results): Handle mpc_c_c.
9070 * sysdeps/i386/fpu/libm-test-ulps: Update.
9071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9073 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9075 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9076 (do_sin_slow): New functions.
9077 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9078 (cslow2, csloww1, csloww2): Use the new functions.
9080 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9081 Use M to change sign of result instead of X. Assume X is
9083 (csloww1): Likewise.
9087 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9092 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9094 (sloww1): Don't adjust sign of DX.
9095 (csloww1): Likewise.
9096 (sloww2): Use X directly and don't adjust sign of DX.
9097 (csloww2): Likewise.
9099 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9101 * math/auto-libm-test-in: Add tests of cabs and carg.
9102 * math/auto-libm-test-out: Regenerated.
9103 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9104 (carg_test_data): Likewise.
9105 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9107 (func_calc_desc): Add mpc_c_f union field.
9108 (test_functions): Add cabs and carg.
9109 (calc_generic_results): Handle mpc_c_f.
9111 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9112 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9113 as a macro and a compat symbol.
9114 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9115 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9116 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9117 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9118 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9119 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9121 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9123 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9125 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9127 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9129 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9131 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9132 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9135 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9139 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9141 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9142 trailing whitespace removed.
9143 * scripts/config.guess: Update to version 2013-11-29.
9144 * scripts/config.sub: Update to version 2013-10-01.
9146 * math/auto-libm-test-in: Add tests of sincos.
9147 * math/auto-libm-test-out: Regenerated.
9148 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9149 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9151 (func_calc_desc): Add mpfr_f_11 union field.
9152 (test_functions): Add sincos.
9153 (calc_generic_results): Handle mpfr_f_11.
9154 * sysdeps/i386/fpu/libm-test-ulps: Update.
9155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9157 2013-12-19 Andreas Schwab <schwab@suse.de>
9159 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9161 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9162 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9163 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9165 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9167 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9168 * sysdeps/i386/fpu/libm-test-ulps: Update.
9169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9172 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9173 round-to-nearest mode when using frndint.
9174 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9175 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9176 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9178 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9180 * math/auto-libm-test-out: Regenerated.
9181 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9182 (TEST_COND_x86): Likewise.
9183 (expm1_tonearest_test_data): New array.
9184 (expm1_test_tonearest): New function.
9185 (expm1_towardzero_test_data): New array.
9186 (expm1_test_towardzero): New function.
9187 (expm1_downward_test_data): New array.
9188 (expm1_test_downward): New function.
9189 (expm1_upward_test_data): New array.
9190 (expm1_test_upward): New function.
9191 (main): Run the new test functions.
9192 * sysdeps/i386/fpu/libm-test-ulps: Update.
9193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9195 * include/features.h: Update comment documenting feature test
9196 macros. Mention _DEFAULT_SOURCE in comment.
9197 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9198 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9199 _BSD_SOURCE and _SVID_SOURCE.
9200 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9201 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9202 !_SVID_SOURCE]: Likewise.
9203 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9204 (__USE_POSIX_IMPLICITLY): Define.
9205 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9206 (_POSIX_SOURCE): Undefine and redefine.
9207 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9208 (_POSIX_C_SOURCE): Likewise.
9209 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9210 (Feature Test Macros): Update documentation of default features.
9212 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9214 * benchtests/Makefile: Add bench-strtok.
9215 * benchtests/bench-strtok.c: New file: strtok benchtest.
9217 2013-12-19 Allan McRae <allan@archlinux.org>
9219 * manual/install.texi: Suppress menu for plain text output.
9220 * INSTALL: Regenerated.
9222 2013-12-18 Brooks Moses <bmoses@google.com>
9225 * misc/getauxval.c: Include errno.h.
9226 (__getauxval): Set errno to ENOENT if the requested type is not
9228 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9229 don't declare with __attribute_const__.
9230 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9231 * manual/startup.texi: Document that getauxval sets errno.
9233 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9235 * math/auto-libm-test-in: Add tests of jn and yn.
9236 * math/auto-libm-test-out: Regenerated.
9237 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9238 (yn_test_data): Likewise.
9239 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9241 (func_calc_desc): Add mpfr_if_f union field.
9242 (FUNC_mpfr_if_f): New macro.
9243 (test_functions): Add jn and yn.
9244 (calc_generic_results): Assert type of second input for
9245 mpfr_ff_f. Handle mpfr_if_f.
9246 (output_for_one_input_case): Disable all checking for arguments
9247 fitting floating-point types in case of an integer argument.
9248 * sysdeps/i386/fpu/libm-test-ulps: Update.
9249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9252 Don't expect fegetround reference in libm.so.
9254 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9256 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9257 $(config-cflags-nofma).
9259 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9261 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9262 * math/auto-libm-test-out: Regenerated.
9265 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9266 to determine exponent and adjust argument to have exponent of -1.
9267 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9269 * math/auto-libm-test-out: Regenerated.
9270 * sysdeps/i386/fpu/libm-test-ulps: Update.
9271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9273 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9275 * manual/probes.texi: Remove cases when per-thread arenas are
9278 2013-12-18 Andreas Schwab <schwab@suse.de>
9280 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9281 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9282 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9283 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9284 * sysdeps/i386/i686/multiarch/Makefile: Update.
9285 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9287 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9289 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9290 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9292 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9295 Support TZ transition times < 00:00:00.
9296 This is needed for version-3 tz-format files; it supports time
9297 stamps past 2037 for America/Godthab (the only entry in the tz
9298 database for which this change is relevant).
9299 * manual/time.texi (TZ Variable): Document transition times
9300 from -167:59:59 through -00:00:01.
9301 * time/tzset.c (tz_rule): Time of day is now signed.
9302 (__tzset_parse_tz): Parse negative time of day.
9304 Document TZ transition times >= 25:00:00.
9305 * manual/time.texi (TZ Variable): Document transition times from
9306 25:00:00 through 167:59:59. These are already supported, and this
9307 support will help with version-3 tz-format files.
9309 * manual/time.texi (TZ Variable): Modernize North America example
9310 to reflect current (i.e., 2007-and-later) daylight saving rules.
9312 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9314 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9316 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9317 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9318 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9320 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9321 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9322 * sysdeps/unix/bsd/clock.c: Likewise.
9323 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9324 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9325 * sysdeps/unix/bsd/init-posix.c: Likewise.
9326 * sysdeps/unix/bsd/poll.c: Likewise.
9327 * sysdeps/unix/bsd/ptsname.c: Likewise.
9328 * sysdeps/unix/bsd/seekdir.c: Likewise.
9329 * sysdeps/unix/bsd/setegid.c: Likewise.
9330 * sysdeps/unix/bsd/seteuid.c: Likewise.
9331 * sysdeps/unix/bsd/setgid.c: Likewise.
9332 * sysdeps/unix/bsd/setrgid.c: Likewise.
9333 * sysdeps/unix/bsd/setruid.c: Likewise.
9334 * sysdeps/unix/bsd/setsid.c: Likewise.
9335 * sysdeps/unix/bsd/setuid.c: Likewise.
9336 * sysdeps/unix/bsd/sigaction.c: Likewise.
9337 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9338 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9339 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9340 * sysdeps/unix/bsd/telldir.c: Likewise.
9341 * sysdeps/unix/bsd/times.c: Likewise.
9342 * sysdeps/unix/bsd/usleep.c: Likewise.
9344 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9345 ($(objpfx)libbsd-compat.a): Remove rule.
9347 * include/features.h (__FAVOR_BSD): Do not define.
9348 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9349 features conflicting with POSIX.
9350 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9351 (_BSD_SOURCE): Remove description of not being a subset of other
9352 feature test macros.
9353 * manual/job.texi (getpgrp): Do not document BSD version.
9354 (getpgid): Do not document by reference to BSD getpgrp.
9355 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9356 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9357 * signal/signal.h [__FAVOR_BSD]: Likewise.
9358 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9359 instead of making contents conditional on [__FAVOR_BSD].
9360 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9362 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9366 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9369 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9370 values below 2**-450, not 2**-500.
9371 * math/auto-libm-test-in: Don't allow spurious underflow from
9373 * math/auto-libm-test-out: Regenerated.
9377 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9378 values of ha and hb and sort them after adjusting subnormal
9380 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9382 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9383 values of ea and eb and sort them after adjusting subnormal
9385 * math/auto-libm-test-in: Do not expect some hypot tests of
9386 subnormals to fail. Add more hypot tests.
9387 * math/auto-libm-test-out: Regenerated.
9389 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9392 * sysdeps/sh/s_fma.c: New file.
9393 * sysdeps/sh/s_fmaf.c: New file.
9394 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9396 * sysdeps/sh/Implies: Add sh/soft-fp.
9398 2013-12-16 Roland McGrath <roland@hack.frob.com>
9400 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9401 level of indirection to members `objname', `errstring', `malloced'.
9402 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9403 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9404 it as the __longjmp argument (just pass 1 instead).
9405 (_dl_catch_error): Initialize C with argument pointers and address of
9406 volatile local ERRCODE rather than copying values out of C at return.
9408 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9410 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9411 * math/auto-libm-test-out: Regenerated.
9412 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9413 (hypot_test_data): Likewise.
9414 (pow_test_data): Likewise.
9415 (pow_tonearest_test_data): Likewise.
9416 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9418 (func_calc_desc): Add mpfr_ff_f union field.
9419 (FUNC_mpfr_ff_f): New macro.
9420 (test_functions): Add atan2, hypot and pow.
9421 (special_fill_min): New function.
9422 (special_fill_minus_min): Likewise.
9423 (special_fill_min_subnorm): Likewise.
9424 (special_fill_minus_min_subnorm): Likewise.
9425 (special_real_inputs): Add min, -min, min_subnorm and
9427 (calc_generic_results): Handle mpfr_ff_f.
9428 * sysdeps/i386/fpu/libm-test-ulps: Update.
9429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9431 2013-12-16 Will Newton <will.newton@linaro.org>
9433 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9434 (Aligned Memory Blocks): Add documentation for aligned_alloc
9435 and suggest it as an alternative to posix_memalign.
9436 (Hooks for Malloc): Document __memalign_hook is also called
9437 for aligned_alloc. (Summary of Malloc): Add summary for
9438 aligned alloc. Document __memalign_hook is also called
9441 2013-12-16 Will Newton <will.newton@linaro.org>
9443 * manual/memory.texi (Malloc Examples): Clarify default
9444 alignment documentation. Suggest posix_memalign rather
9445 than memalign or valloc.
9446 (Aligned Memory Blocks): Remove suggestion to use memalign
9447 or valloc. Remove obsolete comment about BSD.
9448 Document memalign errno values and mark the function obsolete.
9449 Document posix_memalign returned error codes. Mark valloc
9450 as obsolete. (Hooks for Malloc): __memalign_hook is also
9451 called for posix_memalign and valloc.
9452 (Summary of Malloc): Add posix_memalign to function summary.
9453 __memalign_hook is also called for posix_memalign and valloc.
9455 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9457 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9461 (sloww): Use mynumber union. Expand ternary operator into
9463 (cslow): use mynumber union.
9465 2013-12-16 Allan McRae <allan@archlinux.org>
9467 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9468 * configure: Regenerated.
9470 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9473 * configure.ac: Added --enable-maintainer-mode. Check for
9474 autoconf when enabled.
9475 * configure: Regenerated.
9477 * nscd/nscd.service: New file.
9478 * nscd/nscd.tmpfiles: New file.
9480 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9483 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9484 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9485 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9486 (strstr): Add __strstr_sse2_unaligned ifunc.
9487 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9488 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9489 (strcasestr): Remove __strcasestr_sse42 ifunc.
9490 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9491 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9494 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9496 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9497 * sysdeps/sh/bits/fenv.h: ... here.
9498 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9500 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9502 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9505 hypotf multiarch implementations.
9506 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9507 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9508 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9509 multiarch hypot for PPC64.
9510 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9511 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9512 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9513 multiarch hypotf for PPC64.
9515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9516 modff multiarch implementations.
9517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9520 multiarch modf for PPC64.
9521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9524 multiarch modff for PPC64.
9526 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9527 and logl multiarch implementations.
9528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9531 multiarch logb for PPC64.
9532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9535 multiarch logb for PPC64.
9536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9539 multiarch logb for PPC64.
9541 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9542 isinff multiarch implementation.
9543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9547 multiarch isinf for PPC64.
9548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9551 multiarch isinff for PPC64.
9553 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9554 finitef multiarch implementation.
9555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9559 multiarch finite for PPC64.
9560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9563 multiarch finitef for PPC64.
9565 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9566 lrint multiarch implementation.
9567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9571 multiarch llrint for PPC64.
9572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9573 multiarch lrint for PPC64.
9575 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9576 copysignf multiarch implementation.
9577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9582 multiarch copysign for PPC64.
9583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9584 multiarch copysignf for PPC64.
9586 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9587 multiarch implementation.
9588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9596 multiarch llround for PPC64.
9597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9598 multiarch trunc for PPC64.
9599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9600 multiarch truncf for PPC64.
9602 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9603 multiarch implementation.
9604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9612 multiarch llround for PPC64.
9613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9614 multiarch round for PPC64.
9615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9616 multiarch roundf for PPC64.
9618 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9619 multiarch implementation.
9620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9628 multiarch llround for PPC64.
9629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9630 multiarch floor for PPC64.
9631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9632 multiarch floorf for PPC64.
9634 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9635 multiarch implementation.
9636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9644 multiarch llround for PPC64.
9645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9646 multiarch ceil for PPC64.
9647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9648 multiarch ceilf for PPC64.
9650 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9651 multiarch implementation.
9652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9659 multiarch llround for PPC64.
9660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9661 multiarch lround for PPC64.
9663 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9664 multiarch implementation.
9665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9672 multiarch isnan for PPC64.
9673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9674 multiarch isnanf for PPC64.
9676 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9677 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9678 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9679 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9680 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9683 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9684 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9685 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9686 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9689 multiarch implementations.
9690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9691 (__libc_ifunc_impl_list): Likewise.
9692 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9693 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9694 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9695 multiarch stpcpy for PPC64.
9697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9698 multiarch implementations.
9699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9700 (__libc_ifunc_impl_list): Likewise.
9701 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9702 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9703 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9704 multiarch strcpy for PPC64.
9706 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9707 redefine function name.
9708 (_wordcopy_fwd_dest_aligned): Likewise.
9709 (_wordcopy_bwd_aligned): Likewise.
9710 (_wordcopy_bwd_dest_aligned): Likewise.
9711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9712 multiarch implementations.
9713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9714 (__libc_ifunc_impl_list): Likewise.
9715 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9716 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9717 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9718 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9719 multiarch wcscpy for PPC64.
9721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9722 multiarch implementations.
9723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9724 (__libc_ifunc_impl_list): Likewise.
9725 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9726 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9727 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9728 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9729 multiarch wcscpy for PPC64.
9731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9732 multiarch implementations.
9733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9734 (__libc_ifunc_impl_list): Likewise.
9735 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9736 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9737 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9738 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9739 multiarch wcsrchr for PPC64.
9741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9742 multiarch implementations.
9743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9744 (__libc_ifunc_impl_list): Likewise.
9745 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9746 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9747 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9748 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9749 multiarch wcschr for PPC64.
9751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9752 multiarch implementations.
9753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9754 (__libc_ifunc_impl_list): Likewise.
9755 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9756 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9757 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9758 multiarch strchrnul for PPC64.
9760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9763 (__libc_ifunc_impl_list): Likewise.
9764 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9765 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9766 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9767 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9773 (__libc_ifunc_impl_list): Likewise.
9774 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9775 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9776 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9777 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9781 multiarch implementations.
9782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9783 (__libc_ifunc_impl_list): Likewise.
9784 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9785 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9786 strncasecmp for PPC64.
9787 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9788 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9789 multiarch strncasecmp_l for PPC64.
9791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9792 multiarch implementations.
9793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9794 (__libc_ifunc_impl_list): Likewise.
9795 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9796 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9797 multiarch strcasecmp for PPC64.
9798 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9800 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9801 multiarch strcasecmp_l for PPC64.
9803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9806 (__libc_ifunc_impl_list): Likewise.
9807 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9808 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9809 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9815 (__libc_ifunc_impl_list): Likewise.
9816 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9817 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9818 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9824 (__libc_ifunc_impl_list): Likewise.
9825 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9826 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9827 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9828 rawmemrchr for PPC64.
9830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9833 (__libc_ifunc_impl_list): Likewise.
9834 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9835 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9836 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9842 (__libc_ifunc_impl_list): Likewise.
9843 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9844 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9845 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9851 (__libc_ifunc_impl_list): Likewise.
9852 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9853 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9854 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9857 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9858 avoid cretion of __bzero symbol.
9859 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9861 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9863 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9866 multiarch implementations.
9867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9868 (__libc_ifunc_impl_list): Likewise.
9869 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9870 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9871 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9872 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9874 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9875 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9876 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9877 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9878 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9880 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9882 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9886 (__libc_ifunc_impl_list): Likewise.
9887 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9888 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9889 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9890 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9894 multiarch for POWER/PPC64.
9895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9896 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9897 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9898 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9899 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9900 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9901 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9902 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9903 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9906 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9907 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9908 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9909 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9910 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9911 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9912 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9913 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9914 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9915 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9916 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9917 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9918 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9919 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9920 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9929 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9931 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9933 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9935 * benchtests/Makefile (bench): Add exp2 and log2.
9936 (LDLIBS-bench-exp2): Add -lm.
9937 (LDLIBS-bench-log2): Likewise.
9938 * benchtests/exp2-inputs: New inputs file.
9939 * benchtests/log2-inputs: New inputs file.
9940 * benchtests/log-inputs: Add new inputs.
9941 * benchtests/tan-inputs: Likewise.
9943 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9945 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9947 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9948 (csloww2): ... from here.
9950 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9951 instead of structures.
9952 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9953 (POLYNOMIAL): Likewise.
9954 (TAYLOR_SLOW): Likewise.
9962 (bsloww1): Likewise.
9963 (bsloww2): Likewise.
9966 (csloww1): Likewise.
9967 (csloww2): Likewise.
9969 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9971 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9972 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9973 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9974 * malloc/hooks.c (realloc_check): Likewise.
9976 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9977 * malloc/arena.c: Remove PER_THREAD conditional.
9978 [!PER_THREAD]: Remove code.
9979 (ptmalloc_unlock_all2): Likewise.
9980 (ptmalloc_init): Likewise.
9981 (_int_new_arena): Likewise.
9982 (arena_get2): Likewise.
9983 * malloc/hooks.c (__malloc_get_state): Likewise.
9984 (__malloc_set_state): Likewise.
9985 * malloc/malloc.c: Likewise.
9986 (struct malloc_state): Likewise.
9987 (struct malloc_par): Likewise.
9988 (__libc_realloc): Likewise.
9989 (__libc_mallopt): Likewise.
9991 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9993 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9995 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
9997 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9998 macro to a function. Check for zero perturb_byte.
9999 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10001 * malloc/malloc.c: (force_reg): Remove.
10002 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10003 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10004 force_reg by atomic_forced_read.
10005 * malloc/arena.c (ptmalloc_init): Likewise.
10006 * malloc/hooks.c (top_check): Likewise.
10008 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10012 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10016 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10018 * math/auto-libm-test-in: Add tests of lgamma.
10019 * math/auto-libm-test-out: Regenerated.
10020 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10021 (M_LOG_2_SQRT_PIl): Likewise.
10022 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10023 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10025 (func_calc_desc): Add mpfr_f_f1 union field.
10026 (ARGS1): New macro.
10034 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10035 (test_functions): Add lgamma.
10036 (calc_generic_results): Handle mpfr_f_f1.
10037 * sysdeps/i386/fpu/libm-test-ulps: Update.
10038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10040 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10042 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10043 __mpn_add_n for PowerPC64/POWER7.
10044 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10045 __mpn_sub_n for PowerPC64/POWER7.
10047 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10048 __mpn_addmul_1 for PowerPC64.
10049 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10050 __mpn_submul_1 for PowerPC64.
10051 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10053 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10056 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10059 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10061 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10063 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10065 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10066 add multiarch folders.
10067 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10068 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10069 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10070 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10071 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10072 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10073 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10074 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10075 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10076 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10077 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10086 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10092 multiarch __ieee754_hypot for PowerPC32.
10093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10098 multiarch __ieee754_hypotf for PowerPC32.
10100 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10101 long_double_symbol only if __logbl is defined.
10102 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10103 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10104 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10105 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10106 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10107 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10108 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10109 path for implementation.
10110 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10111 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10113 logb, and logbl multiarch implementations for PowerPC32.
10114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10119 multiarch logb for PowerPC32.
10120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10125 multiarch logbf for PowerPC32.
10126 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10130 multiarch logbl implementation for PowerPC32.
10132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10133 and modff multiarch implementations.
10134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10139 multiarch modf for PowerPC32.
10140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10145 multiarch modff for PowerPC32.
10147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10148 and lrintf multiarch implementations.
10149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10154 multiarch lrint for PowerPC32.
10155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10156 file: multiarch lrintf for PowerPC32.
10158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10159 and lroundf multiarch implementations.
10160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10167 multiarch lround for PowerPC32.
10168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10169 file: multiarch lroundf for PowerPC32.
10171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10172 copysign and copysignf multiarch implementations.
10173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10178 file: multiarch copysign for PowerPC32.
10179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10180 file: multiarch copysignf for PowerPC32.
10182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10183 and truncf multiarch implementations.
10184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10189 multiarch trunc for PowerPC32.
10190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10195 multiarch truncf for PowerPC32.
10197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10198 and roundf multiarch implementations.
10199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10204 multiarch round for PowerPC32.
10205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10210 multiarch roundf for PowerPC32.
10212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10213 and floorf multiarch implementations.
10214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10219 multiarch floor for PowerPC32.
10220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10225 multiarch floorf for PowerPC32.
10227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10228 and ceilf multiarch implementations.
10229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10234 multiarch ceil for PowerPC32.
10235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10240 multiarch ceilf for PowerPC32.
10242 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10244 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10245 FINITEF is defined.
10246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10247 and finitef multiarch implementations.
10248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10253 multiarch finite for PowerPC32.
10254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10257 file: multiarch finitef for PowerPC32.
10259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10260 and isinff multiarch implementations.
10261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10266 multiarch isinf for PowerPC32.
10267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10270 multiarch isinff for PowerPC32.
10272 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10273 alias when __isnan is defined.
10274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10275 and isnanf multiarch implementations.
10276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10285 multiarch isnan for PowerPC32.
10286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10291 multiarch isnanf for PowerPC32.
10293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10294 and sqrtf multiarch implementations.
10295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10300 multiarch sqrt for PowerPC32.
10301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10306 multiarch sqrtf for PowerPC32.
10308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10309 and llroundf multiarch implementations.
10310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10317 file: multiarch llround for PowerPC32.
10318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10319 file: multiarch llroundf for PowerPC32.
10321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10322 multiarch PowerPC32 fpu implementations.
10323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10328 multiarch llrint for PowerPC32.
10329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10338 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10340 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10342 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10344 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10345 multiarch wordcopy for PPC32.
10346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10349 (__libc_ifunc_impl_list): Likewise.
10350 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10351 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10352 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10353 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10354 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10355 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10357 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10358 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10360 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10362 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10364 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10365 multiarch wcscpy for PPC32.
10366 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10368 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10369 (__libc_ifunc_impl_list): Likewise.
10370 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10371 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10372 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10373 sysdeps/powerpc/power6/wcscpy.c.
10375 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10376 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10378 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10380 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10382 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10383 multiarch wcsrchr for PPC32.
10384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10387 (__libc_ifunc_impl_list): Likewise.
10388 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10389 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10390 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10391 sysdeps/powerpc/power6/wcsrchr.c.
10393 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10395 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10398 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10399 multiarch wcschr for PPc32.
10400 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10402 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10403 (__libc_ifunc_impl_list): Likewise.
10404 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10405 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10406 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10407 sysdeps/powerpc/power6/wcschr.c.
10409 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10410 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10412 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10413 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10414 file: multiarch strchr for PPC32.
10415 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10417 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10418 (__libc_ifunc_impl_list): Likewise.
10420 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10422 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10424 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10426 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10427 multiarch strchrnul for PPC32.
10428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10431 (__libc_ifunc_impl_list): Likewise.
10433 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10435 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10436 multiarch strncasecmp for PPC32.
10437 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10439 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10440 multiarch strncasecmp_l for PPC32.
10441 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10442 strncasecmp multiarch objects.
10443 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10444 (__libc_ifunc_impl_list): Likewise.
10446 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10448 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10449 multiarch strncasecmp for PPC32.
10450 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10452 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10453 multiarch strcasecmp_l for PPC32.
10454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10456 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10457 (__libc_ifunc_impl_list): Likewise.
10459 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10461 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10463 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10464 multiarch strncmp for PPC32.
10465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10468 (__libc_ifunc_impl_list): Likewise.
10470 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10471 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10473 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10474 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10475 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10477 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10478 (__libc_ifunc_impl_list): Likewise.
10480 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10482 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10484 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10487 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10488 (__libc_ifunc_impl_list): Likewise.
10490 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10492 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10494 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10495 multiarch rawmemchr for PPC32.
10496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10499 (__libc_ifunc_impl_list): Likewise.
10501 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10503 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10505 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10506 file: memrchr multiarch for PPC32.
10507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10510 (__libc_ifunc_impl_list): Likewise.
10512 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10513 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10515 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10516 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10517 multiarch memchr for PPC32.
10518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10521 (__libc_ifunc_impl_list): Likewise.
10523 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10524 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10526 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10528 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10529 file: multiarch mempcpy for PPC32.
10530 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10532 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10533 (__libc_ifunc_impl_list): Likewise.
10535 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10536 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10537 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10538 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10539 multiarch bzero for PPC32.
10540 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10542 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10544 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10545 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10546 file: multiarch memset for PPC32.
10547 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10549 memset multiarch objects.
10550 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10551 (__libc_ifunc_impl_list): Likewise.
10553 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10555 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10556 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10558 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10559 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10561 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10562 (__libc_ifunc_impl_list): Likewise.
10564 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10565 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10566 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10568 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10572 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10573 multiarch memcpy for PPC32.
10574 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10576 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10577 (__libc_ifunc_impl_list): Likewise.
10579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10580 support multiarch for POWER/PPC32.
10581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10583 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10585 Implies file to make multiarch folder appers before the fpu and
10586 default folder for power4 configuration.
10588 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10590 * scripts/bench.pl: Append volatile keyword to type.
10592 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10594 * sysdeps/sh/sotruss-lib.c: New file.
10595 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10597 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10601 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10604 * math/w_tgamma.c: Include <errno.h>.
10605 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10606 * math/w_tgammaf.c: Include <errno.h>.
10607 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10608 * math/w_tgammal.c: Include <errno.h>.
10609 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10610 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10611 underflow. Add more tgamma tests.
10612 * math/auto-libm-test-out: Regenerated.
10613 * sysdeps/i386/fpu/libm-test-ulps: Update.
10614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10616 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10617 sin, sinh, tan, tanh, tgamma, y0 and y1.
10618 * math/auto-libm-test-out: Regenerated.
10619 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10620 (TEST_COND_x86): Likewise.
10621 (M_E2l): Remove macro.
10623 (M_2_SQRT_PIl): Likewise.
10624 (M_SQRT_PIl): Likewise.
10625 (M_1_DIV_El): Likewise.
10626 (log_test_data): Use AUTO_TESTS_f_f.
10627 (log10_test_data): Likewise.
10628 (log1p_test_data): Likewise.
10629 (log2_test_data): Likewise.
10630 (sin_test_data): Likewise.
10631 (sin_tonearest_test_data): Likewise.
10632 (sin_towardzero_test_data): Likewise.
10633 (sin_downward_test_data): Likewise.
10634 (sin_upward_test_data): Likewise.
10635 (sinh_test_data): Likewise.
10636 (sinh_tonearest_test_data): Likewise.
10637 (sinh_towardzero_test_data): Likewise.
10638 (sinh_downward_test_data): Likewise.
10639 (sinh_upward_test_data): Likewise.
10640 (tan_test_data): Likewise.
10641 (tan_tonearest_test_data): Likewise.
10642 (tan_towardzero_test_data): Likewise.
10643 (tan_downward_test_data): Likewise.
10644 (tan_upward_test_data): Likewise.
10645 (tanh_test_data): Likewise.
10646 (tgamma_test_data): Likewise.
10647 (y0_test_data): Likewise.
10648 (y1_test_data): Likewise.
10649 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10650 (special_real_inputs): Add pi/4.
10651 * sysdeps/i386/fpu/libm-test-ulps: Update.
10652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10654 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10656 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10657 "longjmp_target" static probes.
10658 (__longjmp): Rename to __longjmp_symbol.
10659 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10660 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10661 on which longjmp to generate.
10662 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10663 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10665 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10666 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10667 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10668 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10669 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10670 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10672 __longjmp_symbol based on which __longjmp to generate.
10673 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10675 (setjmp): Rename to setjmp_symbol.
10676 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10677 (_setjmp): Rename to _setjmp_symbol.
10678 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10679 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10680 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10681 which setjmp to generate.
10682 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10683 "longjmp_target" static probes.
10685 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10687 * benchtests/README: Add note about output arguments.
10688 * benchtests/bench-sincos.c: Remove file.
10689 * benchtests/sincos-inputs: New file.
10690 * scripts/bench.pl: Identify output arguments and define
10691 static variables for them.
10693 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10696 * Makefile (INSTALL): Add install-plain.texi as the primary
10698 * manual/install-plain.texi: New file.
10699 * manual/install.texi: Include node directive only for
10700 non-plaintext output.
10702 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10704 * stdlib/longlong.h: Update from GCC.
10708 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10709 * math/w_j0f.c (y0f): Likewise.
10710 * math/w_j0l.c (__y0l): Likewise.
10711 * math/w_j1.c (y1): Likewise.
10712 * math/w_j1f.c (y1f): Likewise.
10713 * math/w_j1l.c (__y1l): Likewise
10714 * math/w_jn.c (yn): Likewise.
10715 * math/w_jnf.c (ynf): Likewise.
10716 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10717 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10718 value for Bessel function domain errors outside _SVID_ mode.
10719 Adjust sign of return value for yn (negative integer, 0).
10720 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10721 by zero in return for negative x and set sign appropriately for
10723 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10724 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10725 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10726 expectations in error cases.
10727 (y1_test_data): Likewise.
10728 (yn_test_data): Likewise.
10729 * sysdeps/i386/fpu/libm-test-ulps: Update.
10730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10732 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10734 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10735 "64" to "64-v1". Add "64-v2".
10736 (abi-64-options): Rename to ...
10737 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10738 (abi-64-condition): Rename to ...
10739 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10740 (abi-64-ld-soname): Rename to ...
10741 (abi-64-v1-ld-soname): ... this.
10742 (abi-64-v2-options): Define.
10743 (abi-64-v2-condition): Likewise.
10744 (abi-64-v2-ld-soname): Likewise.
10745 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10746 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10751 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10752 Alan Modra <amodra@gmail.com>
10754 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10755 New versions for use with the ELFv2 ABI.
10756 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10757 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10759 (struct La_ppc64v2_retval): Likewise.
10760 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10761 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10762 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10763 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10764 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10765 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10766 Do not save or restore CR.
10767 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10768 (_dl_profile_resolve): Do no save or restore CR. Support extended
10769 return values for ELFv2 ABI. Fix location of FPR return registers.
10770 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10771 updated values for _CALL_ELF == 2.
10772 (La_regs, La_retval, int_retval): Likewise.
10774 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10776 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10777 (FRAME_MIN_SIZE_PARM): Likewise.
10778 (FRAME_BACKCHAIN): Likewise.
10779 (FRAME_CR_SAVE): Likewise.
10780 (FRAME_LR_SAVE): Likewise.
10781 (FRAME_TOC_SAVE): Likewise.
10782 (FRAME_PARM_SAVE): Likewise.
10783 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10784 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10785 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10786 (call_mcount_parm_offset): New macro.
10787 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10788 (PROF): Use symbolic stack frame offsets.
10789 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10790 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10791 Redefine in terms of FRAME_MIN_SIZE.
10792 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10793 (_dl_profile_resolve): Likewise. Update comment.
10794 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10795 symbols stack frame offsets.
10796 (__sigsetjmp): Likewise.
10797 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10798 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10799 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10800 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10803 (FRAME_BACKCHAIN): Remove.
10804 (FRAME_CR_SAVE): Likewise.
10805 (FRAME_LR_SAVE): Likewise.
10806 (FRAME_COMPILER_DW): Likewise.
10807 (FRAME_LINKER_DW): Likewise.
10808 (FRAME_TOC_SAVE): Likewise.
10809 (FRAME_PARM_SAVE): Likewise.
10810 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10811 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10812 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10814 (CHECK_SP): Use symbolic stack frame offsets.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10816 zone" instead of caller's parameter save area for temp storage.
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10818 Likewise. Also, use symbolic stack frame offsets.
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10820 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10821 our own stack frame instead of the caller's.
10822 (__socket): Use symbolic stack frame offsets.
10824 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10825 Alan Modra <amodra@gmail.com>
10827 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10829 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10830 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10831 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10833 (elf_machine_fixup_plt): Call it.
10834 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10836 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10837 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10838 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10839 r2 before calling target.
10841 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10842 Alan Modra <amodra@gmail.com>
10844 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10845 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10846 versions of macros to support ELFv2 ABI.
10847 (LOCALENTRY): New macro.
10848 (ENTRY, EALIGN): Use it.
10849 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10850 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10851 fall through into ENTRY entry point.
10852 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10853 Only define if _CALL_ELF != 2.
10855 (elf_machine_matches_host): Verify ABI version matches.
10856 (RTLD_START): Use LOCALENTRY.
10857 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10858 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10859 (PLT_ENTRY_WORDS): New macro.
10860 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10861 (elf_machine_runtime_setup): Support ELFv2 ABI.
10862 (elf_machine_fixup_plt): Likewise.
10863 (elf_machine_plt_conflict): Likewise.
10864 (resolve_ifunc): Likewise.
10865 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10866 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10869 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10871 (makecontext): Support ELFv2 ABI.
10872 * elf/elf.h (EF_PPC64_ABI): Define.
10874 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10876 * sysdeps/powerpc/powerpc64/sysdep.h
10877 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10878 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10879 (ENTRY) [ASSEMBLER]: ... but instead here ...
10880 (EALIGN) [ASSEMBLER]: ... and here.
10881 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10882 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10883 (ENTRY_2) [!ASSEMBLER]: Use it.
10884 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10885 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10886 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10887 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10888 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10890 Use PPC64_LOAD_FUNCPTR.
10892 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10894 2013-12-04 Alan Modra <amodra@gmail.com>
10896 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10897 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10898 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10899 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10901 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10902 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10903 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10904 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10905 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10906 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10908 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10911 (__makecontext): Fix incorrect CFI when backtracing out of
10912 context created via makecontext.
10913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10914 (__setcontext): Fix incorrect CFI during switch to new context.
10915 (__novec_setcontext): Likewise.
10917 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10920 * time/strptime_l.c (__strptime_internal): Allow modifiers
10922 * time/tst-strptime.c (day_tests): Add testcase.
10924 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10926 * scripts/bench.pl: Skip over blank lines.
10928 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10931 * manual/time.texi (Calendar Time): Clarify what timezone functions
10934 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10938 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10940 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10942 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10943 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10944 * debug/memset_chk.c (__memset_chk): Likewise.
10945 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10946 * debug/strncpy_chk.c: Likewise.
10948 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10952 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10953 (__ieee754_exp): For possibly underflowing results, check size of
10954 result and force underflow exception if required.
10955 * math/auto-libm-test-in: Add more tests of exp.
10956 * math/auto-libm-test-out: Regenerated.
10957 * sysdeps/i386/fpu/libm-test-ulps: Update.
10958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10961 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10962 * math/w_exp2f.c (__exp2f): Likewise.
10963 * math/w_exp2l.c (__exp2l): Likewise.
10964 * math/auto-libm-test-in: Do not allow missing errno on exp2
10966 * math/auto-libm-test-out: Regenerated.
10968 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10971 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10972 handle filename validation.
10973 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10976 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10979 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10980 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10981 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10983 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10984 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10985 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10986 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10987 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10988 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10989 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10990 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10991 Add more erfc tests.
10992 * math/auto-libm-test-out: Regenerated.
10993 * sysdeps/i386/fpu/libm-test-ulps: Update.
10994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10996 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10997 exp2, expm1, j0 and j1.
10998 * math/auto-libm-test-out: Regenerated.
10999 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11000 (erfc_test_data): Likewise.
11001 (exp_test_data): Likewise.
11002 (exp_tonearest_test_data): Likewise.
11003 (exp_towardzero_test_data): Likewise.
11004 (exp_downward_test_data): Likewise.
11005 (exp_upward_test_data): Likewise.
11006 (exp10_test_data): Likewise.
11007 (exp2_test_data): Likewise.
11008 (expm1_test_data): Likewise.
11009 (j0_test_data): Likewise.
11010 (j1_test_data): Likewise.
11011 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11012 (input_flag_type): Add flag_xfail_rounding.
11013 (input_flags): Add xfail-rounding.
11014 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11015 (output_for_one_input_case): Handle flag_xfail_rounding.
11016 * sysdeps/i386/fpu/libm-test-ulps: Update.
11017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11019 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11022 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11025 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11028 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11029 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11030 (STAP_PROBE0): New macro.
11031 (STAP_PROBE1): Likewise.
11032 (STAP_PROBE2): Likewise.
11033 (STAP_PROBE3): Likewise.
11034 (STAP_PROBE4): Likewise.
11036 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11038 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11040 2013-12-02 Steve Ellcey <sellcey@mips.com>
11042 * benchtests/Makefile (bench): Add sqrt.
11043 (LDLIBS-bench-sqrt): New.
11044 * benchtests/sqrt-input: New.
11046 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11048 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11049 (GAIH_EAI): Likewise.
11050 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11051 (gaih_inet): Likewise.
11052 (getaddrinfo): Don't use GAIH_EAI.
11054 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11055 (struct gaih): Remove definition.
11057 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11059 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11060 Use HERRNOP directly.
11062 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11066 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11068 * math/gen-auto-libm-tests.c (test_functions): Add more
11069 single-argument functions.
11070 (special_fill_pi_2): New function.
11071 (special_fill_minus_pi_2): Likewise.
11072 (special_fill_pi_6): Likewise.
11073 (special_fill_minus_pi_6): Likewise.
11074 (special_fill_pi_3): Likewise.
11075 (special_fill_2pi_3): Likewise.
11076 (special_fill_e): Likewise.
11077 (special_fill_1_e): Likewise.
11078 (special_fill_e_minus_1): Likewise.
11079 (special_real_inputs): Add more special inputs.
11080 (output_for_one_input_case): Do not require ERANGE on underflow to
11081 zero if round-to-nearest result does not underflow to zero, unless
11082 exact results required.
11083 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11084 atan, atanh, cbrt, cos and cosh.
11085 * math/auto-libm-test-out: Regenerated.
11086 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11087 (acos_tonearest_test_data): Likewise.
11088 (acos_towardzero_test_data): Likewise.
11089 (acos_downward_test_data): Likewise.
11090 (acos_upward_test_data): Likewise.
11091 (acosh_test_data): Likewise.
11092 (asin_test_data): Likewise.
11093 (asin_tonearest_test_data): Likewise.
11094 (asin_towardzero_test_data): Likewise.
11095 (asin_upward_test_data): Likewise.
11096 (asinh_test_data): Likewise.
11097 (atan_test_data): Likewise.
11098 (atanh_test_data): Likewise.
11099 (cbrt_test_data): Likewise.
11100 (cos_test_data): Likewise.
11101 (cos_tonearest_test_data): Likewise.
11102 (cos_towardzero_test_data): Likewise.
11103 (cos_downward_test_data): Likewise.
11104 (cos_upward_test_data): Likewise.
11105 (cosh_test_data): Likewise.
11106 (cosh_tonearest_test_data): Likewise.
11107 (cosh_towardzero_test_data): Likewise.
11108 (cosh_downward_test_data): Likewise.
11109 (cosh_upward_test_data): Likewise.
11110 * sysdeps/i386/fpu/libm-test-ulps: Update.
11111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11113 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11116 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11117 * math/w_exp10f.c (__exp10f): Likewise.
11118 * math/w_exp10l.c (__exp10l): Likewise.
11119 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11120 errno settings in existing tests.
11123 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11124 precision control set to double precision.
11125 * sysdeps/i386/fpu/w_sqrt.c: New file.
11126 * math/auto-libm-test-in: Add more tests.
11127 * math/auto-libm-test-out: Update.
11129 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11130 (sqrt_test_tonearest): New function.
11131 (sqrt_towardzero_test_data): New variable.
11132 (sqrt_test_towardzero): New function.
11133 (sqrt_downward_test_data): New variable.
11134 (sqrt_test_downward): New function.
11135 (sqrt_upward_test_data): New variable.
11136 (sqrt_test_upward): New function.
11137 (main): Call the new functions.
11139 * math/gen-auto-libm-tests.c: New file.
11140 * math/auto-libm-test-in: Likewise.
11141 * math/auto-libm-test-out: New generated file.
11142 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11144 (%beautify): Add generated representations of zero.
11145 (top level): Set $auto_input and call parse_auto_input.
11146 (beautify): Remove trailing "f" from hex float constants.
11147 (parse_args): Handle XFAIL_TEST.
11148 (convert_condition): New function.
11149 (or_value): Likewise.
11150 (or_cond_value): Likewise.
11151 (generate_testfile): Handle AUTO_TESTS_* lines.
11152 (parse_auto_input): New function.
11153 * math/libm-test.inc (XFAIL_TEST): New macro.
11154 (ERRNO_UNCHANGED): Update value.
11155 (ERRNO_EDOM): Likewise.
11156 (ERRNO_ERANGE): Likewise.
11157 (IGNORE_RESULT): Likewise.
11158 (TEST_COND_flt_32): New macro.
11159 (TEST_COND_dbl_64): Likewise.
11160 (TEST_COND_ldbl_96_intel): Likewise.
11161 (TEST_COND_ldbl_96_m68k): Likewise.
11162 (TEST_COND_ldbl_128): Likewise.
11163 (TEST_COND_ldbl_128ibm): Likewise.
11164 (TEST_COND_long32): Likewise.
11165 (TEST_COND_long64): Likewise.
11166 (TEST_COND_before_rounding): Likewise.
11167 (TEST_COND_after_rounding): Likewise.
11168 (enable_test): Handle XFAIL_TEST flag.
11169 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11170 with finite results.
11171 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11172 auto-libm-test-out.
11174 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11175 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11178 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11179 __tls_get_addr_internal instead of __tls_get_offset in order to
11180 avoid GOT pointer dependency. Make rtld export
11181 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11182 __tls_get_addr since we are a __tls_get_offset platform.
11183 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11184 GOT pointer being set up before.
11185 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11187 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11189 * manual/math.texi (Errors in Math Functions): Document accuracy
11193 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11194 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11197 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11199 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11201 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11203 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11210 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11211 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11212 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11213 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11214 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11216 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11218 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11220 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11221 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11222 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11223 atomic-feupdateenv and flt-rounds.
11224 * sysdeps/powerpc/nofpu/Versions (libc): Add
11225 __atomic_feholdexcept, __atomic_feclearexcept,
11226 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11227 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11228 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11229 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11230 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11235 * manual/arith.texi (FP Exceptions): Document that exceptions may
11236 not be raised when matherr is used.
11237 (Math Error Reporting): Document overflow in directed rounding
11238 modes. Document that errno may not be set when finite values are
11239 returned on overflow. Document intent to set errno on underflow
11240 only for underflow to zero.
11243 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11244 round-to-nearest then adjust result for other rounding modes.
11245 * include/fenv.h (fegetround): Use libm_hidden_proto.
11246 * math/fegetround.c (fegetround): Use libm_hidden_def.
11247 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11248 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11249 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11250 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11252 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11253 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11254 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11255 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11257 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11260 * nss/Versions (libnss_files): Add
11261 _nss_files_gethostbyname3_r.
11262 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11264 (HOST_DB_LOOKUP): Remove macro.
11265 (_nss_files_gethostbyname_r): Implement function without the
11266 HOST_DB_LOOKUP macro.
11267 (_nss_files_gethostbyname2_r): Likewise.
11269 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11271 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11273 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11275 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11276 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11279 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11281 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11282 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11283 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11284 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11285 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11286 __fe_nomask_env_priv and attribute_hidden.
11287 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11288 (libc_feupdateenv_test_ppc): Likewise.
11289 (libc_feresetround_ppc): Likewise.
11290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11291 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11292 compat_symbol macro.
11293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11294 (__fe_nomask_env): Likewise.
11295 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11297 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11299 * string/Makefile: Remove ifunc tests.
11300 * string/test-string.h: Define TEST_IFUNC.
11301 * string/test-bcopy-ifunc.c: Remove.
11302 * string/test-bzero-ifunc.c: Likewise.
11303 * string/test-memccpy-ifunc.c: Likewise.
11304 * string/test-memchr-ifunc.c: Likewise.
11305 * string/test-memcmp-ifunc.c: Likewise.
11306 * string/test-memcpy-ifunc.c: Likewise.
11307 * string/test-memmem-ifunc.c: Likewise.
11308 * string/test-memmove-ifunc.c: Likewise.
11309 * string/test-mempcpy-ifunc.c: Likewise.
11310 * string/test-memrchr-ifunc.c: Likewise.
11311 * string/test-memset-ifunc.c: Likewise.
11312 * string/test-rawmemchr-ifunc.c: Likewise.
11313 * string/test-stpcpy-ifunc.c: Likewise.
11314 * string/test-stpncpy-ifunc.c: Likewise.
11315 * string/test-strcasecmp-ifunc.c: Likewise.
11316 * string/test-strcasestr-ifunc.c: Likewise.
11317 * string/test-strcat-ifunc.c: Likewise.
11318 * string/test-strchr-ifunc.c: Likewise.
11319 * string/test-strchrnul-ifunc.c: Likewise.
11320 * string/test-strcmp-ifunc.c: Likewise.
11321 * string/test-strcpy-ifunc.c: Likewise.
11322 * string/test-strcspn-ifunc.c: Likewise.
11323 * string/test-strlen-ifunc.c: Likewise.
11324 * string/test-strncasecmp-ifunc.c: Likewise.
11325 * string/test-strncat-ifunc.c: Likewise.
11326 * string/test-strncmp-ifunc.c: Likewise.
11327 * string/test-strncpy-ifunc.c: Likewise.
11328 * string/test-strnlen-ifunc.c: Likewise.
11329 * string/test-strpbrk-ifunc.c: Likewise.
11330 * string/test-strrchr-ifunc.c: Likewise.
11331 * string/test-strspn-ifunc.c: Likewise.
11332 * string/test-strstr-ifunc.c: Likewise.
11334 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11336 * benchtests/Makefile: Remove ifunc tests.
11337 * benchtests/bench-string.h: Define TEST_IFUNC.
11338 * benchtests/bench-bcopy-ifunc.c: Remove.
11339 * benchtests/bench-bzero-ifunc.c: Likewise.
11340 * benchtests/bench-memccpy-ifunc.c: Likewise.
11341 * benchtests/bench-memchr-ifunc.c: Likewise.
11342 * benchtests/bench-memcmp-ifunc.c: Likewise.
11343 * benchtests/bench-memcpy-ifunc.c: Likewise.
11344 * benchtests/bench-memmem-ifunc.c: Likewise.
11345 * benchtests/bench-memmove-ifunc.c: Likewise.
11346 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11347 * benchtests/bench-memrchr-ifunc.c: Likewise.
11348 * benchtests/bench-memset-ifunc.c: Likewise.
11349 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11350 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11351 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11352 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11353 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11354 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11355 * benchtests/bench-strcat-ifunc.c: Likewise.
11356 * benchtests/bench-strchr-ifunc.c: Likewise.
11357 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11358 * benchtests/bench-strcmp-ifunc.c: Likewise.
11359 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11360 * benchtests/bench-strcpy-ifunc.c: Likewise.
11361 * benchtests/bench-strcspn-ifunc.c: Likewise.
11362 * benchtests/bench-strlen-ifunc.c: Likewise.
11363 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11364 * benchtests/bench-strncat-ifunc.c: Likewise.
11365 * benchtests/bench-strncmp-ifunc.c: Likewise.
11366 * benchtests/bench-strncpy-ifunc.c: Likewise.
11367 * benchtests/bench-strnlen-ifunc.c: Likewise.
11368 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11369 * benchtests/bench-strrchr-ifunc.c: Likewise.
11370 * benchtests/bench-strsep-ifunc.c: Likewise.
11371 * benchtests/bench-strspn-ifunc.c: Likewise.
11372 * benchtests/bench-strstr-ifunc.c: Likewise.
11374 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11376 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11378 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11380 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11381 * rt/aio.h: Likewise.
11382 * sysdeps/gnu/bits/utmp.h: Likewise.
11383 * sysdeps/gnu/bits/utmpx.h: Likewise.
11384 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11385 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11386 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11387 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11388 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11389 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11390 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11391 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11392 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11393 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11394 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11395 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11396 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11398 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11399 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11400 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11401 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11402 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11403 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11404 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11405 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11406 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11407 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11408 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11409 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11410 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11411 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11412 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11413 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11414 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11415 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11416 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11417 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11418 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11419 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11420 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11421 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11422 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11423 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11424 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11425 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11427 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11430 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11431 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11433 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11435 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11436 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11439 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11441 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11442 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11443 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11444 (__fesetround): Remove define.
11445 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11446 rounding and exceptions handling.
11447 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11448 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11449 (__fe_nomask_env): Likewise.
11450 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11451 __fegetround instead of fegetround.
11452 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11453 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11455 2013-11-21 Roland McGrath <roland@hack.frob.com>
11457 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11460 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11462 2013-11-21 Meador Inge <meadori@codesourcery.com>
11465 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11466 (encrypt_r): Likewise.
11467 * malloc/obstack.h (obstack_free): Likewise.
11468 * posix/unistd.h (encrypt): Likewise.
11470 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11472 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11473 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11474 DL_CALL_DT_FINI() that call the functions directly.
11475 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11476 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11477 * elf/dl-fini.c: Likewise.
11479 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11481 * malloc/hooks.c (memalign_check): Add alignment rounding.
11482 * malloc/malloc.c (_mid_memalign): New function.
11483 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11484 Implement by calling _mid_memalign.
11485 * manual/probes.texi (Memory Allocation Probes): Remove
11486 memory_valloc_retry and memory_pvalloc_retry.
11488 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11490 * locale/programs/locarchive.c (open_archive): Add const
11491 qualifier to ARCHIVEFNAME and copy default fname to
11495 * libio/tst-widetext.input: Rename Oriya to Odia.
11496 * locale/iso-639.def: Likewise.
11498 * manual/probes.texi (Mathematical Function Probes): Add
11499 documentation for sin, cos, asin and acos probes.
11500 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11501 (__sin32): Add slowasin probe.
11502 (__cos32): Add slowacos probe.
11503 (__mpsin): Add slowsin probe.
11504 (__mpcos): Add slowcos probe.
11506 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11509 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11510 thread-local __sim_exceptions_thread and global
11511 __sim_exceptions_global.
11512 (__sim_disabled_exceptions): Change to thread-local
11513 __sim_disabled_exceptions_thread and global
11514 __sim_disabled_exceptions_global.
11515 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11516 and global __sim_round_mode_global.
11517 (__simulate_exceptions): Use thread-local floating-point state and
11518 set global state from it as needed.
11519 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11520 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11521 __sim_round_mode_thread.
11522 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11523 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11524 and global __sim_exceptions_global.
11525 (__sim_disabled_exceptions): Change to thread-local
11526 __sim_disabled_exceptions_thread and global
11527 __sim_disabled_exceptions_global.
11528 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11529 and global __sim_round_mode_global.
11530 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11531 (SIM_SET_GLOBAL): Likewise.
11532 * sysdeps/powerpc/soft-fp/sfp-machine.h
11533 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11534 __sim_round_mode_thread.
11535 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11536 __sim_disabled_exceptions_thread.
11537 (__sim_exceptions): Change to __sim_exceptions_thread.
11538 (__sim_disabled_exceptions): Change to
11539 __sim_disabled_exceptions_thread.
11540 (__sim_round_mode): Change to __sim_round_mode_thread.
11541 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11542 thread-local floating-point state and set global state from it as
11544 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11545 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11546 (__sim_disabled_exceptions): Remove extern declaration.
11547 (feenableexcept): Use thread-local floating-point state and set
11548 global state from it as needed.
11549 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11550 extern declaration.
11551 (__sim_disabled_exceptions): Likewise.
11552 (__sim_round_mode): Likewise.
11553 (__fegetenv): Use thread-local floating-point state.
11554 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11555 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11556 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11557 floating-point state and set global state from it as needed.
11558 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11559 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11560 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11562 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11563 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11565 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11566 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11567 Use __sim_round_mode_thread.
11568 * math/test-fenv-tls.c: New file.
11569 * math/Makefile (tests): Add test-fenv-tls.
11570 ($(objpfx)test-fenv-tls): Depend on
11571 $(common-objpfx)nptl/libpthread.so.
11573 2013-11-19 Andreas Schwab <schwab@suse.de>
11575 * locale/programs/locale.c (show_info): Decode wordarray elements.
11576 * locale/categories.def (LC_MONETARY): Add element for
11577 _NL_MONETARY_CRNCYSTR.
11578 * locale/C-monetary.c (conversion_rate): New variable.
11579 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11582 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11584 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11585 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11587 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11589 * elf/Makefile (tst-auxv): New test.
11590 * elf/tst-auxv.c: New
11591 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11593 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11595 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11596 (hidden_proto): Caller changed.
11597 (hidden_tls_proto): New macro.
11598 (libc_hidden_tls_proto): Likewise.
11599 (rtld_hidden_tls_proto): Likewise.
11600 (libm_hidden_tls_proto): Likewise.
11601 (libresolv_hidden_tls_proto): Likewise.
11602 (librt_hidden_tls_proto): Likewise.
11603 (libdl_hidden_tls_proto): Likewise.
11604 (libnss_files_hidden_tls_proto): Likewise.
11605 (libnsl_hidden_tls_proto): Likewise.
11606 (libnss_nisplus_hidden_tls_proto): Likewise.
11607 (libutil_hidden_tls_proto): Likewise.
11609 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11612 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11613 (decompose_rpath): Defer expansion to fillin_rpath.
11614 (_dl_init_paths): Pass linkmap to fillin_rpath.
11616 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11618 * benchtests/Makefile: Add strsep.
11619 * benchtests/bench-strsep.c: New file: strsep benchtest.
11620 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11622 2013-11-18 Andreas Schwab <schwab@suse.de>
11624 * locale/programs/locale.c (show_info) [case byte]: Check for
11625 '\377' instead of '\177'.
11626 * locale/C-monetary.c (not_available): Always use "\377".
11627 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11628 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11629 detect unavailable sign_posn locale elements.
11630 * locale/localeconv.c (__localeconv): For grouping and
11631 mon_grouping handle "\177" and "\377" like no grouping.
11632 (INT_ELEM): New macro. Use it to set all numeric members.
11633 * locale/programs/ld-monetary.c (monetary_read)
11634 <tok_mon_grouping>: Normalize single -1 to the empty string.
11635 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11638 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11641 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11642 when we match (nil).
11643 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11645 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11647 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11648 (NO_TEST_INLINE): Update value.
11649 (ERRNO_UNCHANGED): Likewise.
11650 (ERRNO_EDOM): Likewise.
11651 (ERRNO_ERANGE): Likewise.
11652 (IGNORE_RESULT): Likewise.
11653 (check_float_internal): Check signs of NaN results if
11654 TEST_NAN_SIGN used.
11655 (check_complex): Pass TEST_NAN_SIGN flag through to second
11656 check_float_internal call.
11657 (copysign_test_data): Add tests with quiet NaNs as second
11658 argument. Use TEST_NAN_SIGN.
11659 (fabs_test_data): Add test of negative quiet NaN argument. Use
11661 (signbit_test_data): Add tests of quiet NaN argument.
11662 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11664 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11666 (parse_args): Handle function results specified as IGNORE.
11667 * math/libm-test.inc (IGNORE_RESULT): New macro.
11668 (check_float_internal): Do not check numerical result if flag
11670 (check_complex): Pass through IGNORE_RESULT to second
11671 check_float_internal call.
11672 (check_int): Do not check numerical result if flag IGNORE_RESULT
11674 (check_long): Likewise.
11675 (check_bool): Likewise.
11676 (check_longlong): Likewise.
11677 (lrint_test_data): Add tests of infinite and NaN arguments.
11678 (lrint_tonearest_test_data): Likewise.
11679 (lrint_towardzero_test_data): Likewise.
11680 (lrint_downward_test_data): Likewise.
11681 (lrint_upward_test_data): Likewise.
11682 (llrint_test_data): Likewise.
11683 (llrint_tonearest_test_data): Likewise.
11684 (llrint_towardzero_test_data): Likewise.
11685 (llrint_downward_test_data): Likewise.
11686 (llrint_upward_test_data): Likewise.
11687 (lround_test_data): Likewise.
11688 (llround_test_data): Likewise.
11690 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11691 (ERRNO_UNCHANGED): Update value.
11692 (ERRNO_EDOM): Likewise.
11693 (ERRNO_ERANGE): Likewise.
11694 (NO_TEST_INLINE_FLOAT): New macro.
11695 (NO_TEST_INLINE_DOUBLE): Likewise.
11696 (enable_test): New function.
11697 (RUN_TEST_f_f): Check enable_test before running test.
11698 (RUN_TEST_2_f): Likewise.
11699 (RUN_TEST_fff_f): Likewise.
11700 (RUN_TEST_c_f): Likewise.
11701 (RUN_TEST_f_f1): Likewise.
11702 (RUN_TEST_fF_f1): Likewise.
11703 (RUN_TEST_fI_f1): Likewise.
11704 (RUN_TEST_ffI_f1): Likewise.
11705 (RUN_TEST_c_c): Likewise.
11706 (RUN_TEST_cc_c): Likewise.
11707 (RUN_TEST_f_i): Likewise.
11708 (RUN_TEST_f_i_tg): Likewise.
11709 (RUN_TEST_ff_i_tg): Likewise.
11710 (RUN_TEST_f_b): Likewise.
11711 (RUN_TEST_f_b_tg): Likewise.
11712 (RUN_TEST_f_l): Likewise.
11713 (RUN_TEST_f_L): Likewise.
11714 (RUN_TEST_fFF_11): Likewise.
11715 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11717 (cosh_test_data): Likewise.
11718 (exp_test_data): Likewise.
11719 (expm1_test_data): Likewise.
11720 (hypot_test_data): Likewise.
11721 (pow_test_data): Likewise.
11722 (sinh_test_data): Likewise.
11723 (tanh_test_data): Likewise.
11724 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11727 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11728 tests with quiet NaN input and output.
11729 (acosh_test_data): Likewise.
11730 (asin_test_data): Likewise.
11731 (asinh_test_data): Likewise.
11732 (atan_test_data): Likewise.
11733 (atanh_test_data): Likewise.
11734 (atan2_test_data): Likewise.
11735 (cbrt_test_data): Likewise.
11736 (cos_test_data): Likewise.
11737 (cosh_test_data): Likewise.
11738 (erf_test_data): Likewise.
11739 (erfc_test_data): Likewise.
11740 (exp_test_data): Likewise.
11741 (exp10_test_data): Likewise.
11742 (exp2_test_data): Likewise.
11743 (expm1_test_data): Likewise.
11744 (hypot_test_data): Likewise.
11745 (j0_test_data): Likewise.
11746 (j1_test_data): Likewise.
11747 (jn_test_data): Likewise.
11748 (lgamma_test_data): Likewise.
11749 (log_test_data): Likewise.
11750 (log10_test_data): Likewise.
11751 (log1p_test_data): Likewise.
11752 (log2_test_data): Likewise.
11753 (pow_test_data): Likewise.
11754 (scalb_test_data): Likewise.
11755 (sin_test_data): Likewise.
11756 (sincos_test_data): Likewise.
11757 (sinh_test_data): Likewise.
11758 (tan_test_data): Likewise.
11759 (tanh_test_data): Likewise.
11760 (tgamma_test_data): Likewise.
11761 (y0_test_data): Likewise.
11762 (y1_test_data): Likewise.
11763 (yn_test_data): Likewise.
11766 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11767 argument being NaN and avoid computations with second argument in
11769 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11770 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11771 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11773 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11775 * locale/iso-639.def: Add Chitwani Tharu (the).
11777 2013-11-14 Andreas Schwab <schwab@suse.de>
11779 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11780 word instead of empty string.
11782 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11785 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11787 (__fe_nomask_env): Likewise.
11789 2013-11-13 Steve Ellcey <sellcey@mips.com>
11791 * benchtests/bench-timing.h: Include time.h.
11793 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11796 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11798 * sysdeps/unix/sysv/linux/configure: Regenerated.
11800 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11803 * stdlib/strtod_l.c (round_and_return): Do not consider
11804 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11805 exponent one less than half the least subnormal exponent.
11806 * stdlib/test-strtod-round-data: Add more tests.
11807 * stdlib/tst-strtod-round.c (tests): Regenerated.
11809 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11812 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11813 (__fe_mask_env): Likewise.
11814 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11815 libm_hidden_proto and add function prototype.
11816 (__fe_mask_env): Add function prototype.
11817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11818 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11820 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11822 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11824 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11826 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11827 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11829 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11831 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11832 of htab_find_slot().
11834 2013-11-11 David S. Miller <davem@davemloft.net>
11837 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11838 symbol in the non-vis3 case in static builds.
11839 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11840 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11841 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11842 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11844 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11847 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11850 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11852 * benchtests/Makefile: Add bench-strtod.
11853 * benchtests/bench-strtod.c: New file: strtod benchtest
11855 2013-11-11 Andreas Schwab <schwab@suse.de>
11858 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11859 terminating NUL in key length.
11861 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11863 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11864 Add artificial ODP entry for vDSO symbol for PPC64.
11865 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11866 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11868 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11871 * nss/getent.c (services_keys): Recognize services starting with digit.
11873 2013-11-06 David S. Miller <davem@davemloft.net>
11876 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11877 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11879 2013-11-06 Will Newton <will.newton@linaro.org>
11881 * manual/memory.texi (Malloc Examples): Remove register
11882 keyword from examples.
11884 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11886 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11888 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11891 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11892 depending on [__GCC_IEC_559 > 0].
11893 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11894 depending on [__GCC_IEC_559_COMPLEX > 0].
11896 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11898 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11901 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11903 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11905 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11908 * malloc/malloc (malloc_info): Do not handle first bin as
11911 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11913 * locale/iso-639.def: Add Central Nahuatl (nhn).
11915 2013-11-01 Bruno Haible <bruno@clisp.org>
11918 * manual/math.texi (BSD Random): Specify range upper bound as
11921 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11923 * locale/iso-639.def: Add Meadow Mari (mhr).
11925 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11927 [BZ #14752], [BZ #15763]
11928 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11930 * rt/tst_shm.c: Add test for escaping directory.
11932 2013-10-31 Andreas Schwab <schwab@suse.de>
11935 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11936 followed by 'x' as part of digit sequence.
11937 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11939 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11942 * configure.ac: allow GNU Make 4.0 and greater.
11943 * configure: Regenerated.
11945 2013-10-30 Will Newton <will.newton@linaro.org>
11948 * malloc/hooks.c (memalign_check): Limit alignment to the
11949 maximum representable power of two.
11950 * malloc/malloc.c (__libc_memalign): Likewise.
11951 * malloc/tst-memalign.c (do_test): Add test for very
11952 large alignment values.
11953 * malloc/tst-posix_memalign.c (do_test): Likewise.
11955 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11958 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11959 (munmap_chunk): Likewise.
11960 (mremap_chunk): Likewise.
11962 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11965 * stdlib/div.c (div): Remove obsolete code.
11966 * stdlib/ldiv.c (ldiv): Likewise.
11967 * stdlib/lldiv.c (lldiv): Likewise.
11969 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11972 * nss/nss_files/files-XXX.c (get_contents_ret): New
11974 (get_contents): New function.
11975 (internal_getent): Use it. Expand size of LINEBUFLEN.
11977 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11979 * configure.in: Moved to ...
11980 * configure.ac: ... here. Change reference to configure.in
11982 * sysdeps/arm/preconfigure.ac: ... here.
11983 configure.in to configure.ac.
11984 * sysdeps/gnu/configure.in: Moved to ...
11985 * sysdeps/gnu/configure.ac: ... here.
11986 * sysdeps/i386/configure.in: Moved to ...
11987 * sysdeps/i386/configure.ac: ... here.
11988 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11989 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11990 * sysdeps/mach/configure.in: Moved to ...
11991 * sysdeps/mach/configure.ac: ... here.
11992 * sysdeps/mach/hurd/configure.in: Moved to ...
11993 * sysdeps/mach/hurd/configure.ac: ... here.
11994 * sysdeps/powerpc/configure.in: Moved to ...
11995 * sysdeps/powerpc/configure.ac: ... here.
11996 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11997 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11998 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11999 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12000 * sysdeps/s390/s390-32/configure.in: Moved to ...
12001 * sysdeps/s390/s390-32/configure.ac: ... here.
12002 * sysdeps/s390/s390-64/configure.in: Moved to ...
12003 * sysdeps/s390/s390-64/configure.ac: ... here.
12004 * sysdeps/sh/configure.in: Moved to ...
12005 * sysdeps/sh/configure.ac: ... here.
12006 * sysdeps/sparc/configure.in: Moved to ...
12007 * sysdeps/sparc/configure.ac: ... here.
12008 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12009 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12010 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12011 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12012 * sysdeps/x86_64/configure.in: Moved to ...
12013 * sysdeps/x86_64/configure.ac: ... here.
12014 * sysdeps/x86_64/preconfigure.in: Moved to ...
12015 * sysdeps/x86_64/preconfigure.ac: ... here.
12016 * aclocal.m4: Change reference to configure.in to configure.ac.
12017 * config.h.in: Likewise.
12018 * manual/install.texi: Likewise.
12019 * manual/maint.texi: Likewise.
12020 * Makefile: Likewise.
12021 * malloc/Makefile: Likewise.
12022 * nscd/Makefile: Likewise.
12023 * Makeconfig: Change reference to configure.in and
12024 preconfigure.in to configure.ac and preconfigure.ac
12026 * INSTALL: Regenerated.
12027 * configure: Likewise.
12028 * sysdeps/gnu/configure: Likewise.
12029 * sysdeps/i386/configure: Likewise.
12030 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12031 * sysdeps/mach/configure: Likewise.
12032 * sysdeps/mach/hurd/configure: Likewise.
12033 * sysdeps/powerpc/configure: Likewise.
12034 * sysdeps/powerpc/powerpc32/configure: Likewise.
12035 * sysdeps/powerpc/powerpc64/configure: Likewise.
12036 * sysdeps/s390/s390-32/configure: Likewise.
12037 * sysdeps/s390/s390-64/configure: Likewise.
12038 * sysdeps/sh/configure: Likewise.
12039 * sysdeps/sparc/configure: Likewise.
12040 * sysdeps/unix/sysv/linux/configure: Likewise.
12041 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12042 * sysdeps/x86_64/configure: Likewise.
12043 * sysdeps/x86_64/preconfigure: Likewise.
12045 2013-10-29 Andreas Schwab <schwab@suse.de>
12047 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12049 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12051 * benchtests/pow-inputs: Add new inputs.
12053 * benchtests/exp-inputs: Add new inputs.
12055 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12056 conditional check for return value.
12057 (__cos32): Likewise.
12059 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12061 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12062 to provide a boost for large inputs with word alignment.
12063 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12064 implementation based on optimized PPC64 strcpy.
12065 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12066 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12067 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12068 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12070 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12073 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12075 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12078 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12079 * time/tst-strptime.c (day_tests): Add testcase.
12081 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12084 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12086 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12089 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12090 MAP_FAILED on error.
12092 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12095 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12096 heap for large requests.
12098 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12101 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12102 result if the result has no associated interface.
12103 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12104 interface for all 127.X.Y.Z addresses.
12106 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12108 * locale/iso-639.def: Add Ligurian (lij)
12110 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12113 * sunrpc/rpc_main.c: Document rpcgen -5.
12115 2013-10-19 Michael Stahl <mstahl@redhat.com>
12117 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12119 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12122 * posix/glob.c: Match only directories when trailing slash is present.
12123 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12124 (main): Add testcase.
12126 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12129 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12131 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12133 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12134 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12135 AUTH_DES and cindex for FIPS 140-2.
12136 (DES Encryption): Add cindex FIPS 46-3.
12138 * locale/locarchive.h (struct locarhandle): Add fname.
12139 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12140 if an optional argument was specified to --list-archive,
12142 * locale/programs/locarchive.c (show_archive_content): Take new
12143 argument fname and pass it via ah.fname to open_archive.
12144 * locale/programs/localedef.h: Update decl.
12145 (open_archive): If AH->fname is non-null, open that file
12146 rather than the default file name, and don't ignore ENOENT.
12147 (create_archive): Set AH.fname to NULL.
12148 (delete_locales_from_archive): Likewise.
12149 (add_locales_to_archive): Likewise.
12150 * locale/programs/locfile.c (write_all_categories): Likewise.
12152 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12153 Aldy Hernandez <aldyh@redhat.com>
12155 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12156 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12157 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12158 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12159 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12160 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12161 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12162 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12163 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12164 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12165 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12166 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12167 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12168 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12169 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12171 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12173 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12175 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12177 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12178 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12180 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12181 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12182 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12183 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12185 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12186 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12187 * sysdeps/powerpc/preconfigure: Likewise.
12188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12190 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12191 Replace contents of file by #include of <fenv_libc.h>.
12192 * sysdeps/powerpc/soft-fp/sfp-machine.h
12193 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12195 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12196 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12197 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12198 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12199 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12200 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12201 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12202 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12203 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12204 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12205 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12206 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12208 Allow copysignl PLT reference to be missing.
12210 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12211 Joseph Myers <joseph@codesourcery.com
12214 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12216 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12218 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12220 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12221 * elf/tst-tls1.c: Likewise.
12222 * elf/tst-tls10.h: Likewise.
12223 * elf/tst-tls14.c: Likewise.
12224 * elf/tst-tls2.c: Likewise.
12225 * elf/tst-tls3.c: Likewise.
12226 * elf/tst-tls4.c: Likewise.
12227 * elf/tst-tls5.c: Likewise.
12228 * elf/tst-tls6.c: Likewise.
12229 * elf/tst-tls7.c: Likewise.
12230 * elf/tst-tls8.c: Likewise.
12231 * elf/tst-tls9.c: Likewise.
12232 * elf/tst-tlsmod1.c: Likewise.
12233 * elf/tst-tlsmod13.c: Likewise.
12234 * elf/tst-tlsmod13a.c: Likewise.
12235 * elf/tst-tlsmod14a.c: Likewise.
12236 * elf/tst-tlsmod16a.c: Likewise.
12237 * elf/tst-tlsmod16b.c: Likewise.
12238 * elf/tst-tlsmod2.c: Likewise.
12239 * elf/tst-tlsmod3.c: Likewise.
12240 * elf/tst-tlsmod4.c: Likewise.
12241 * elf/tst-tlsmod5.c: Likewise.
12242 * elf/tst-tlsmod6.c: Likewise.
12244 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12247 * malloc/malloc.c: remove checks for statistics.
12249 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12252 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12253 * inet/tst-network.c: Add testcase.
12255 2013-10-17 Andreas Schwab <schwab@suse.de>
12258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12259 to determine canonical name.
12261 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12263 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12264 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12265 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12266 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12267 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12268 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12269 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12271 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12272 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12273 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12275 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12276 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12277 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12278 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12279 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12280 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12287 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12288 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12293 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12294 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12295 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12310 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12311 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12312 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12314 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12315 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12316 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12317 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12318 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12319 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12320 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12322 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12325 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12326 make result into a quiet NaN.
12328 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12330 * soft-fp/adddf3.c: Fix horizontal whitespace.
12331 * soft-fp/addsf3.c: Likewise.
12332 * soft-fp/addtf3.c: Likewise.
12333 * soft-fp/divdf3.c: Likewise.
12334 * soft-fp/divsf3.c: Likewise.
12335 * soft-fp/divtf3.c: Likewise.
12336 * soft-fp/double.h: Likewise.
12337 * soft-fp/eqdf2.c: Likewise.
12338 * soft-fp/eqsf2.c: Likewise.
12339 * soft-fp/eqtf2.c: Likewise.
12340 * soft-fp/extenddftf2.c: Likewise.
12341 * soft-fp/extended.h: Likewise.
12342 * soft-fp/extendsfdf2.c: Likewise.
12343 * soft-fp/extendsftf2.c: Likewise.
12344 * soft-fp/extendxftf2.c: Likewise.
12345 * soft-fp/fixdfdi.c: Likewise.
12346 * soft-fp/fixdfsi.c: Likewise.
12347 * soft-fp/fixdfti.c: Likewise.
12348 * soft-fp/fixsfdi.c: Likewise.
12349 * soft-fp/fixsfsi.c: Likewise.
12350 * soft-fp/fixsfti.c: Likewise.
12351 * soft-fp/fixtfdi.c: Likewise.
12352 * soft-fp/fixtfsi.c: Likewise.
12353 * soft-fp/fixtfti.c: Likewise.
12354 * soft-fp/fixunsdfdi.c: Likewise.
12355 * soft-fp/fixunsdfsi.c: Likewise.
12356 * soft-fp/fixunsdfti.c: Likewise.
12357 * soft-fp/fixunssfdi.c: Likewise.
12358 * soft-fp/fixunssfsi.c: Likewise.
12359 * soft-fp/fixunssfti.c: Likewise.
12360 * soft-fp/fixunstfdi.c: Likewise.
12361 * soft-fp/fixunstfsi.c: Likewise.
12362 * soft-fp/fixunstfti.c: Likewise.
12363 * soft-fp/floatdidf.c: Likewise.
12364 * soft-fp/floatdisf.c: Likewise.
12365 * soft-fp/floatditf.c: Likewise.
12366 * soft-fp/floatsidf.c: Likewise.
12367 * soft-fp/floatsisf.c: Likewise.
12368 * soft-fp/floatsitf.c: Likewise.
12369 * soft-fp/floattidf.c: Likewise.
12370 * soft-fp/floattisf.c: Likewise.
12371 * soft-fp/floattitf.c: Likewise.
12372 * soft-fp/floatundidf.c: Likewise.
12373 * soft-fp/floatundisf.c: Likewise.
12374 * soft-fp/floatunditf.c: Likewise.
12375 * soft-fp/floatunsidf.c: Likewise.
12376 * soft-fp/floatunsisf.c: Likewise.
12377 * soft-fp/floatunsitf.c: Likewise.
12378 * soft-fp/floatuntidf.c: Likewise.
12379 * soft-fp/floatuntisf.c: Likewise.
12380 * soft-fp/floatuntitf.c: Likewise.
12381 * soft-fp/fmadf4.c: Likewise.
12382 * soft-fp/fmasf4.c: Likewise.
12383 * soft-fp/fmatf4.c: Likewise.
12384 * soft-fp/gedf2.c: Likewise.
12385 * soft-fp/gesf2.c: Likewise.
12386 * soft-fp/getf2.c: Likewise.
12387 * soft-fp/ledf2.c: Likewise.
12388 * soft-fp/lesf2.c: Likewise.
12389 * soft-fp/letf2.c: Likewise.
12390 * soft-fp/muldf3.c: Likewise.
12391 * soft-fp/mulsf3.c: Likewise.
12392 * soft-fp/multf3.c: Likewise.
12393 * soft-fp/negdf2.c: Likewise.
12394 * soft-fp/negsf2.c: Likewise.
12395 * soft-fp/negtf2.c: Likewise.
12396 * soft-fp/op-1.h: Likewise.
12397 * soft-fp/op-2.h: Likewise.
12398 * soft-fp/op-4.h: Likewise.
12399 * soft-fp/op-8.h: Likewise.
12400 * soft-fp/op-common.h: Likewise.
12401 * soft-fp/quad.h: Likewise.
12402 * soft-fp/single.h: Likewise.
12403 * soft-fp/soft-fp.h: Likewise.
12404 * soft-fp/sqrtdf2.c: Likewise.
12405 * soft-fp/sqrtsf2.c: Likewise.
12406 * soft-fp/sqrttf2.c: Likewise.
12407 * soft-fp/subdf3.c: Likewise.
12408 * soft-fp/subsf3.c: Likewise.
12409 * soft-fp/subtf3.c: Likewise.
12410 * soft-fp/truncdfsf2.c: Likewise.
12411 * soft-fp/trunctfdf2.c: Likewise.
12412 * soft-fp/trunctfsf2.c: Likewise.
12413 * soft-fp/trunctfxf2.c: Likewise.
12414 * soft-fp/unorddf2.c: Likewise.
12415 * soft-fp/unordsf2.c: Likewise.
12416 * soft-fp/unordtf2.c: Likewise.
12418 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12420 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12421 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12423 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12425 * elf/dl-libc.c: Clear initfini list after freeing.
12427 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12429 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12430 * soft-fp/addsf3.c: Likewise.
12431 * soft-fp/addtf3.c: Likewise.
12432 * soft-fp/divdf3.c: Likewise.
12433 * soft-fp/divsf3.c: Likewise.
12434 * soft-fp/divtf3.c: Likewise.
12435 * soft-fp/double.h: Likewise.
12436 * soft-fp/eqdf2.c: Likewise.
12437 * soft-fp/eqsf2.c: Likewise.
12438 * soft-fp/eqtf2.c: Likewise.
12439 * soft-fp/extenddftf2.c: Likewise.
12440 * soft-fp/extended.h: Likewise.
12441 * soft-fp/extendsfdf2.c: Likewise.
12442 * soft-fp/extendsftf2.c: Likewise.
12443 * soft-fp/extendxftf2.c: Likewise.
12444 * soft-fp/fixdfdi.c: Likewise.
12445 * soft-fp/fixdfsi.c: Likewise.
12446 * soft-fp/fixdfti.c: Likewise.
12447 * soft-fp/fixsfdi.c: Likewise.
12448 * soft-fp/fixsfsi.c: Likewise.
12449 * soft-fp/fixsfti.c: Likewise.
12450 * soft-fp/fixtfdi.c: Likewise.
12451 * soft-fp/fixtfsi.c: Likewise.
12452 * soft-fp/fixtfti.c: Likewise.
12453 * soft-fp/fixunsdfdi.c: Likewise.
12454 * soft-fp/fixunsdfsi.c: Likewise.
12455 * soft-fp/fixunsdfti.c: Likewise.
12456 * soft-fp/fixunssfdi.c: Likewise.
12457 * soft-fp/fixunssfsi.c: Likewise.
12458 * soft-fp/fixunssfti.c: Likewise.
12459 * soft-fp/fixunstfdi.c: Likewise.
12460 * soft-fp/fixunstfsi.c: Likewise.
12461 * soft-fp/fixunstfti.c: Likewise.
12462 * soft-fp/floatdidf.c: Likewise.
12463 * soft-fp/floatdisf.c: Likewise.
12464 * soft-fp/floatditf.c: Likewise.
12465 * soft-fp/floatsidf.c: Likewise.
12466 * soft-fp/floatsisf.c: Likewise.
12467 * soft-fp/floatsitf.c: Likewise.
12468 * soft-fp/floattidf.c: Likewise.
12469 * soft-fp/floattisf.c: Likewise.
12470 * soft-fp/floattitf.c: Likewise.
12471 * soft-fp/floatundidf.c: Likewise.
12472 * soft-fp/floatundisf.c: Likewise.
12473 * soft-fp/floatunsidf.c: Likewise.
12474 * soft-fp/floatunsisf.c: Likewise.
12475 * soft-fp/floatuntidf.c: Likewise.
12476 * soft-fp/floatuntisf.c: Likewise.
12477 * soft-fp/floatuntitf.c: Likewise.
12478 * soft-fp/fmadf4.c: Likewise.
12479 * soft-fp/fmasf4.c: Likewise.
12480 * soft-fp/fmatf4.c: Likewise.
12481 * soft-fp/gedf2.c: Likewise.
12482 * soft-fp/gesf2.c: Likewise.
12483 * soft-fp/getf2.c: Likewise.
12484 * soft-fp/ledf2.c: Likewise.
12485 * soft-fp/lesf2.c: Likewise.
12486 * soft-fp/letf2.c: Likewise.
12487 * soft-fp/muldf3.c: Likewise.
12488 * soft-fp/mulsf3.c: Likewise.
12489 * soft-fp/multf3.c: Likewise.
12490 * soft-fp/negdf2.c: Likewise.
12491 * soft-fp/negsf2.c: Likewise.
12492 * soft-fp/negtf2.c: Likewise.
12493 * soft-fp/op-1.h: Likewise.
12494 * soft-fp/op-2.h: Likewise.
12495 * soft-fp/op-4.h: Likewise.
12496 * soft-fp/op-8.h: Likewise.
12497 * soft-fp/op-common.h: Likewise.
12498 * soft-fp/quad.h: Likewise.
12499 * soft-fp/single.h: Likewise.
12500 * soft-fp/soft-fp.h: Likewise.
12501 * soft-fp/sqrtdf2.c: Likewise.
12502 * soft-fp/sqrtsf2.c: Likewise.
12503 * soft-fp/sqrttf2.c: Likewise.
12504 * soft-fp/subdf3.c: Likewise.
12505 * soft-fp/subsf3.c: Likewise.
12506 * soft-fp/subtf3.c: Likewise.
12507 * soft-fp/truncdfsf2.c: Likewise.
12508 * soft-fp/trunctfdf2.c: Likewise.
12509 * soft-fp/trunctfsf2.c: Likewise.
12510 * soft-fp/trunctfxf2.c: Likewise.
12511 * soft-fp/unorddf2.c: Likewise.
12512 * soft-fp/unordsf2.c: Likewise.
12513 * soft-fp/unordtf2.c: Likewise.
12515 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12518 * misc/error.c (error_tail): Fix possible buffer overflow.
12520 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12523 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12526 2013-10-14 P. J. McDermott <pj@pehjota.net>
12529 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12530 testing pipefail option.
12532 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12534 * soft-fp/double.h: Indent preprocessor directives inside #if.
12535 * soft-fp/extended.h: Likewise.
12536 * soft-fp/op-2.h: Likewise.
12537 * soft-fp/op-4.h: Likewise.
12538 * soft-fp/op-common.h: Likewise.
12539 * soft-fp/quad.h: Likewise.
12540 * soft-fp/single.h: Likewise.
12541 * soft-fp/soft-fp.h: Likewise.
12543 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12545 * iconv/iconv_prog.c: Fix typos.
12546 * stdio-common/psiginfo-data.h: Likewise.
12548 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12551 * locale/setlocale.c: Fix typo.
12553 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12556 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12557 signaling NaN arguments.
12558 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12559 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12562 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12563 unordered operands.
12564 * soft-fp/gesf2.c (__gesf2): Likewise.
12565 * soft-fp/getf2.c (__getf2): Likewise.
12566 * soft-fp/ledf2.c (__ledf2): Likewise.
12567 * soft-fp/lesf2.c (__lesf2): Likewise.
12568 * soft-fp/letf2.c (__letf2): Likewise.
12570 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12571 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12572 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12573 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12574 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12575 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12576 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12577 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12578 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12579 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12580 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12581 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12582 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12583 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12584 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12585 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12586 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12587 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12588 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12589 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12590 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12591 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12592 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12593 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12594 * soft-fp/floattidf.c (__floattidf): Likewise.
12595 * soft-fp/floattisf.c (__floattisf): Likewise.
12596 * soft-fp/floattitf.c (__floattitf): Likewise.
12597 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12598 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12599 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12600 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12601 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12602 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12603 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12604 * soft-fp/gesf2.c (__gesf2): Likewise.
12605 * soft-fp/getf2.c (__getf2): Likewise.
12606 * soft-fp/ledf2.c (__ledf2): Likewise.
12607 * soft-fp/lesf2.c (__lesf2): Likewise.
12608 * soft-fp/letf2.c (__letf2): Likewise.
12610 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12611 Undefine and redefine.
12612 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12613 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12614 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12615 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12616 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12617 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12618 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12619 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12620 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12621 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12622 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12623 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12624 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12625 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12626 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12629 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12630 without decrementing exponent if mantissa >= that for the
12631 denominator, not >.
12632 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12633 denominator, not >. Decrement exponent in < case instead of
12634 incrementing in >= case.
12635 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12636 without decrementing exponent if mantissa >= that for the
12637 denominator, not >.
12639 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12640 computing saturated result for unsigned overflow.
12642 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12643 Jeff Law <law@redhat.com>
12645 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12646 (atan2Mp): Add systemtap probe marker.
12647 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12648 (__ieee754_log): Add systemtap probe marker.
12649 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12650 (atanMp): Add systemtap probe marker.
12651 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12652 (tanMp): Add systemtap probe marker.
12653 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12654 (__slowexp): Add systemtap probe marker.
12655 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12656 (__slowpow): Add systemtap probe marker.
12657 * manual/probes.texi: Document probes.
12659 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12662 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12664 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12666 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12667 written to buffer but not flushed.
12668 * libio/iofwrite_u.c: Likewise.
12669 * libio/iopadn.c: Return bytes returned even if EOF was
12671 * libio/iowpadn.c: Likewise.
12672 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12673 if _IO_padn does not write the whole buffer.
12674 [!COMPILE_WPRINTF] (PAD): Likewise.
12676 2013-10-10 David S. Miller <davem@davemloft.net>
12678 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12681 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12683 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12684 instead of FSF address.
12685 * soft-fp/fixdfti.c: Likewise.
12686 * soft-fp/fixsfti.c: Likewise.
12687 * soft-fp/fixtfti.c: Likewise.
12688 * soft-fp/fixunsdfti.c: Likewise.
12689 * soft-fp/fixunssfti.c: Likewise.
12690 * soft-fp/fixunstfti.c: Likewise.
12691 * soft-fp/floattidf.c: Likewise.
12692 * soft-fp/floattisf.c: Likewise.
12693 * soft-fp/floattitf.c: Likewise.
12694 * soft-fp/floatuntidf.c: Likewise.
12695 * soft-fp/floatuntisf.c: Likewise.
12696 * soft-fp/floatuntitf.c: Likewise.
12697 * soft-fp/trunctfxf2.c: Likewise.
12699 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12700 * soft-fp/fixdfti.c: Likewise.
12701 * soft-fp/fixsfti.c: Likewise.
12702 * soft-fp/fixtfti.c: Likewise.
12703 * soft-fp/fixunsdfti.c: Likewise.
12704 * soft-fp/fixunssfti.c: Likewise.
12705 * soft-fp/fixunstfti.c: Likewise.
12706 * soft-fp/floattidf.c: Likewise.
12707 * soft-fp/floattisf.c: Likewise.
12708 * soft-fp/floattitf.c: Likewise.
12709 * soft-fp/floatuntidf.c: Likewise.
12710 * soft-fp/floatuntisf.c: Likewise.
12711 * soft-fp/floatuntitf.c: Likewise.
12712 * soft-fp/trunctfxf2.c: Likewise.
12714 2013-10-10 David S. Miller <davem@davemloft.net>
12716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12718 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12720 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12721 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12722 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12723 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12724 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12725 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12726 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12728 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12729 for NaNs before doing comparisons on argument.
12730 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12733 2013-10-10 Will Newton <will.newton@linaro.org>
12735 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12736 passed to _int_memalign does not overflow.
12738 2013-10-10 Torvald Riegel <triegel@redhat.com>
12740 * scripts/bench.pl: Add include-sources directive.
12741 * benchtests/README: Update documentation.
12743 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12745 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12746 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12747 instead of FP_INIT_ROUNDMODE.
12748 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12749 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12752 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12753 copy class of input value.
12754 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12755 not handle exceptions.
12756 * soft-fp/negsf2.c (__negsf2): Likewise.
12757 * soft-fp/negtf2.c (__negtf2): Likewise.
12758 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12760 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12762 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12763 semicolon. From Linux kernel.
12765 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12767 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12769 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12772 * manual/socket.texi: Added statement about buffer
12773 for gethostbyname2_r.
12775 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12777 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12778 Use .p2align directive instead, throughout.
12779 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12780 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12781 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12782 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12783 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12784 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12785 * sysdeps/x86_64/strchr.S: Likewise.
12786 * sysdeps/x86_64/strrchr.S: Likewise.
12788 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12790 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12792 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12794 * sysdeps/generic/math_private.h (__mpsin1): Remove
12796 (__mpcos1): Likewise.
12797 (__mpsin): New argument __range_reduce.
12798 (__mpcos): Likewise.
12799 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12800 (slow): Use __mpsin and __mpcos.
12804 (sloww1): Likewise.
12805 (sloww2): Likewise.
12806 (bsloww): Likewise.
12807 (bsloww1): Likewise.
12808 (bsloww2): Likewise.
12809 (cslow2): Likewise.
12810 (csloww): Likewise.
12811 (csloww1): Likewise.
12812 (csloww2): Likewise.
12813 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12814 range_reduce. Merge in __mpsin1.
12815 (__mpcos): Likewise.
12816 (__mpsin1): Remove.
12817 (__mpcos1): Likewise.
12819 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12821 * locale/loadlocale.c (_nl_intern_locale_data): Use
12823 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12824 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12825 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12826 obstack data is appropriately aligned.
12827 (obstack_int32_grow_fast): Likewise.
12828 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12829 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12830 (add_locale_uint32_array): Likewise.
12832 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12834 * benchtests/Makefile: Remove ARGLIST and RET variables.
12835 ($(objpfx)bench-%.c): Pass only function name to the script.
12836 * benchtests/README: Update documentation.
12837 * benchtests/acos-inputs: Add new directives.
12838 * benchtests/acosh-inputs: Likewise.
12839 * benchtests/asin-inputs: Likewise.
12840 * benchtests/asinh-inputs: Likewise.
12841 * benchtests/atan-inputs: Likewise.
12842 * benchtests/atanh-inputs: Likewise.
12843 * benchtests/cos-inputs: Likewise.
12844 * benchtests/cosh-inputs: Likewise.
12845 * benchtests/exp-inputs: Likewise.
12846 * benchtests/log-inputs: Likewise.
12847 * benchtests/pow-inputs: Likewise.
12848 * benchtests/rint-inputs: Likewise.
12849 * benchtests/sin-inputs: Likewise.
12850 * benchtests/sinh-inputs: Likewise.
12851 * benchtests/tan-inputs: Likewise.
12852 * benchtests/tanh-inputs: Likewise.
12853 * scripts/bench.pl: Add support for new directives.
12855 2013-10-07 Alan Modra <amodra@gmail.com>
12857 * README: Fix careless merge.
12859 2013-10-05 Alan Modra <amodra@gmail.com>
12861 * NEWS: Mention powerpc64le support and bugs fixed.
12862 * README: Both big-endian and little-endian powerpc64 supported.
12864 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12866 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12867 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12868 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12869 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12871 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12873 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12876 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12878 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12879 Move -mhard-float appending from
12880 ports/sysdeps/powerpc/powerpc32/Makefile.
12881 [$(with-fp) = yes] (ASFLAGS): Likewise.
12882 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12883 * sysdeps/powerpc/nofpu: Move directory from
12884 ports/sysdeps/powerpc/nofpu.
12885 * sysdeps/powerpc/soft-fp: Move directory from
12886 ports/sysdeps/powerpc/soft-fp.
12887 * sysdeps/powerpc/powerpc32/405: Move directory from
12888 ports/sysdeps/powerpc/powerpc32/405.
12889 * sysdeps/powerpc/powerpc32/440: Move directory from
12890 ports/sysdeps/powerpc/powerpc32/440.
12891 * sysdeps/powerpc/powerpc32/464: Move directory from
12892 ports/sysdeps/powerpc/powerpc32/464.
12893 * sysdeps/powerpc/powerpc32/476: Move directory from
12894 ports/sysdeps/powerpc/powerpc32/476.
12895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12896 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12898 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12900 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12902 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12904 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12905 * README: Update for powerpc-*-linux-gnu software floating point
12908 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12909 case to powerpc/powerpc32*.
12910 * sysdeps/unix/sysv/linux/configure: Regenerated.
12912 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12913 (_FPU_MASK_OM): Define as 0x04.
12914 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12915 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12917 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12919 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12922 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12925 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12928 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12929 and setcontext_e500.
12931 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12933 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12935 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12937 * manual/threads.texi (Default Thread Attributes): Fix typo.
12939 2013-10-04 Will Newton <will.newton@linaro.org>
12941 * malloc/Makefile: Add tst-memalign.
12942 * malloc/tst-memalign.c: New file.
12944 * malloc/tst-posix_memalign.c: Add comments.
12945 (do_test): Add comments and call free on all potentially
12946 allocated pointers. Add space after cast.
12948 * malloc/tst-pvalloc.c: Add comments.
12949 (do_test): Add comments and call free on all potentially
12950 allocated pointers. Remove duplicate check for NULL pointer.
12951 Add space after cast.
12953 * malloc/tst-valloc.c: Add comments.
12954 (do_test): Add comments and call free on all potentially
12955 allocated pointers. Remove duplicate check for NULL pointer.
12956 Add space after cast.
12958 2013-10-04 Alan Modra <amodra@gmail.com>
12960 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12961 Use stdint types in rather than __attribute__((mode())).
12962 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12964 2013-10-04 Alan Modra <amodra@gmail.com>
12966 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12967 Correct handling of unaligned relocs for little-endian.
12968 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12970 2013-10-04 Alan Modra <amodra@gmail.com>
12972 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12973 * configure: Regenerate.
12974 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12975 * shlib-versions: Likewise.
12977 2013-10-04 Alan Modra <amodra@gmail.com>
12979 * string/tester.c (test_memrchr): Increment reported test cycle.
12981 2013-10-04 Alan Modra <amodra@gmail.com>
12983 * string/test-memcpy.c (do_one_test): When reporting errors, print
12984 string address and don't overrun end of string.
12986 2013-10-04 Alan Modra <amodra@gmail.com>
12988 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12989 insrdi. Make better use of reg selection to speed exit slightly.
12990 Schedule entry path a little better. Remove useless "are we done"
12991 checks on entry to main loop. Handle wrapping around zero address.
12992 Correct main loop count. Handle single left-over word from main
12993 loop inline rather than by using loop_small. Remove extra word
12994 case in loop_small caused by wrong loop count. Add little-endian
12996 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12997 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12999 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13000 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13001 support. Avoid rlwimi.
13002 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13004 2013-10-04 Alan Modra <amodra@gmail.com>
13006 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13007 insrdi. Formatting.
13008 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13009 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13010 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13011 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13012 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13013 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13015 2013-10-04 Alan Modra <amodra@gmail.com>
13017 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13018 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13019 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13020 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13021 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13022 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13023 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13024 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13025 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13026 use of regs. Use power7 mtocrf. Tidy function tails.
13028 2013-10-04 Alan Modra <amodra@gmail.com>
13030 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13031 Formatting. Consistently use rXXX register defines or rN defines.
13032 Use early exit labels that avoid restoring unused non-volatile regs.
13033 Make cr field use more consistent with rWORDn compares. Rename
13034 regs used as shift registers for unaligned loop, using rN defines
13035 for short lifetime/multiple use regs.
13036 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13037 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13038 addi 1,1,64 to pop stack frame. Simplify return value code.
13039 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13041 2013-10-04 Alan Modra <amodra@gmail.com>
13043 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13044 support. Correct typos, formatting. Optimize tail. Use insrdi
13045 rather than rlwimi.
13046 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13047 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13048 little-endian support. Correct typos.
13049 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13050 rather than rlwimi.
13051 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13052 in loop and entry code to keep "and." results.
13053 (strchr): Add little-endian support. Comment. Move cntlzd
13055 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13057 2013-10-04 Alan Modra <amodra@gmail.com>
13059 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13060 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13061 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13062 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13064 2013-10-04 Alan Modra <amodra@gmail.com>
13066 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13067 (rTMP): Define as r11.
13068 (strcmp): Add little-endian support. Optimise tail.
13069 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13070 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13071 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13072 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13073 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13074 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13075 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13077 2013-10-04 Alan Modra <amodra@gmail.com>
13079 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13080 little-endian support. Remove unnecessary "are we done" tests.
13081 Handle "s" wrapping around zero and extremely large "size".
13082 Correct main loop count. Handle single left-over word from main
13083 loop inline rather than by using small_loop. Correct comments.
13084 Delete "zero" tail, use "end_max" instead.
13085 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13087 2013-10-04 Alan Modra <amodra@gmail.com>
13089 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13090 support. Don't branch over align.
13091 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13092 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13093 support. Rearrange tmp reg use to suit. Comment.
13094 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13096 2013-10-04 Alan Modra <amodra@gmail.com>
13098 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13100 2013-10-04 Alan Modra <amodra@gmail.com>
13102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13103 conditional form of branch and link when obtaining pc.
13104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13106 2013-10-04 Alan Modra <amodra@gmail.com>
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13113 2013-10-04 Alan Modra <amodra@gmail.com>
13115 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13116 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13117 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13118 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13119 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13120 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13121 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13122 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13123 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13124 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13126 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13127 Alistair Popple <alistair@ozlabs.au.ibm.com>
13128 Alan Modra <amodra@gmail.com>
13131 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13132 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13133 _dl_hwcap access for little-endian.
13134 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13135 destroy vmx regs when saving unaligned.
13136 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13137 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13138 destroy vmx regs when saving unaligned.
13140 2013-10-04 Alan Modra <amodra@gmail.com>
13142 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13143 Don't use a union to pack hi/low value.
13145 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13147 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13149 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13151 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13152 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13153 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13155 2013-10-04 Alan Modra <amodra@gmail.com>
13157 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13158 constants to usual value for .cst8 section, and remove redundant
13160 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13161 constant for 0x1p52. Load little-endian words of double from
13162 correct stack offsets.
13164 2013-10-04 Alan Modra <amodra@gmail.com>
13166 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13167 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13168 words of double from correct stack offsets.
13169 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13170 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13171 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13172 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13173 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13174 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13175 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13176 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13177 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13178 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13179 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13180 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13181 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13182 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13183 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13184 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13185 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13187 2013-10-04 Alan Modra <amodra@gmail.com>
13189 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13190 64-bit int/double union.
13191 (_FPU_SETCW): Likewise.
13192 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13193 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13195 2013-10-04 Alan Modra <amodra@gmail.com>
13197 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13198 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13200 2013-10-04 Alan Modra <amodra@gmail.com>
13202 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13203 use vector int constants.
13204 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13206 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13208 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13209 array with long long.
13210 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13211 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13212 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13213 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13214 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13215 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13216 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13217 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13218 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13219 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13220 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13221 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13222 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13224 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13226 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13227 (__signbit): Likewise. Correct for little-endian.
13228 (__signbitl): Call __signbit.
13229 (lrint): Correct for little-endian.
13230 (lrintf): Call lrint.
13232 2013-10-04 Alan Modra <amodra@gmail.com>
13234 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13235 union 32-bit int array member with 64-bit int array.
13236 (t515, tm256): Double rather than long double.
13237 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13239 2013-10-04 Alan Modra <amodra@gmail.com>
13241 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13243 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13244 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13245 version of math_ldbl.h.
13247 2013-10-04 Alan Modra <amodra@gmail.com>
13249 [BZ #15734], [BZ #15735]
13250 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13251 all uses of ieee875 long double macros and unions. Simplify test
13252 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13253 ldbl_extract_mantissa value for ix,iy exponents. Properly
13254 normalize after ldbl_extract_mantissa, and don't add hidden bit
13255 already handled. Don't treat low word of ieee854 mantissa like
13256 low word of IBM long double and mask off bit when testing for
13258 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13259 all uses of ieee875 long double macros and unions. Simplify tests
13260 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13261 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13262 two1022, instead use their values. Recognise that tests for large
13263 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13264 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13265 Rewrite all uses of ieee875 long double macros and unions. Simplify
13266 test for 0.0L and nan. Correct negation.
13267 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13268 ieee875 long double macros and unions. Correct output for large
13269 magnitude x. Correct absolute value calculation.
13270 (__erfcl): Likewise.
13271 * math/libm-test.inc: Add tests for errors discovered in IBM long
13272 double versions of fmodl, remainderl, erfl and erfcl.
13274 2013-10-04 Alan Modra <amodra@gmail.com>
13276 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13277 all uses of ieee854 long double macros and unions. Simplify tests
13278 for long doubles that are fully specified by the high double.
13279 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13281 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13282 Remove dead code too.
13283 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13284 (__ieee754_ynl): Likewise.
13285 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13286 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13287 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13288 Remove dead code too.
13289 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13290 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13291 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13292 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13294 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13296 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13297 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13298 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13299 Comment on variable precision.
13300 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13301 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13303 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13306 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13307 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13309 2013-10-04 Alan Modra <amodra@gmail.com>
13311 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13312 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13313 all uses of ieee854 long double macros and unions.
13314 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13315 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13316 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13317 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13318 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13319 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13321 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13322 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13323 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13324 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13325 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13326 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13327 Simplify sign and nan test too.
13328 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13329 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13330 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13331 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13333 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13336 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13337 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13338 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13339 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13340 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13341 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13343 2013-10-04 Alan Modra <amodra@gmail.com>
13345 * stdio-common/printf_size.c (__printf_size): Don't use
13346 union ieee854_long_double in fpnum union.
13347 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13348 signbit macro to retrieve sign from long double.
13349 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13350 retrieve sign from long double.
13351 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13352 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13353 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13354 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13355 * math/test-misc.c (main): Don't use union ieee854_long_double.
13357 2013-10-04 Alan Modra <amodra@gmail.com>
13360 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13361 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13362 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13363 calculation. Remove unnecessary test for denormal exponent.
13364 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13365 Correct handling of denormals. Avoid undefined shift behaviour.
13366 Correct normalisation of low mantissa when low double is denormal.
13367 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13368 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13369 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13370 Correct normalisation of low mantissa. Test for overflow of high
13371 mantissa and normalise.
13372 (ldbl_nearbyint): Use more readable constant for two52.
13373 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13374 (__mpn_construct_long_double): Fix test for overflow of high
13375 mantissa and correct normalisation. Avoid undefined shift.
13377 2013-10-04 Alan Modra <amodra@gmail.com>
13379 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13380 (union ibm_extended_long_double): Define as an array of ieee754_double.
13381 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13382 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13383 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13384 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13385 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13386 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13387 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13388 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13389 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13390 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13391 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13393 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13395 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13396 page size instead of calling getpagesize.
13398 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13399 (LOCFILE_ALIGN_MASK): Likewise.
13400 (LOCFILE_ALIGN_UP): Likewise.
13401 (LOCFILE_ALIGNED_P): Likewise.
13402 * locale/programs/ld-collate.c (collate_output): Use the new
13403 macros instead of __alignof__ (int32_t).
13404 * locale/weight.h (findidx): Likewise.
13406 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13409 * manual/string.texi: Fix strncat and wcsncat.
13411 2013-10-03 Brooks Moses <bmoses@google.com>
13414 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13415 * Makerules: ...here, and adjust associated comments.
13417 2013-10-02 Will Newton <will.newton@linaro.org>
13419 * malloc/Makefile: Add tst-pvalloc.
13420 * malloc/tst-pvalloc.c: New file.
13422 2013-10-02 Will Newton <will.newton@linaro.org>
13424 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13425 improve test coverage.
13427 2013-10-02 Will Newton <will.newton@linaro.org>
13429 * malloc/Makefile: Add tst-posix_memalign.
13430 * malloc/tst-posix_memalign.c: New file.
13432 2013-10-01 Eric Blake <eblake@redhat.com>
13434 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13435 Use __THROWNL rather than __THROW on static functions.
13437 2013-09-30 Petr Machata <pmachata@redhat.com>
13439 * elf/elf.h (R_AARCH64_ABS16): New macro.
13440 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13441 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13442 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13443 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13444 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13445 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13446 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13447 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13448 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13449 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13450 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13451 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13452 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13453 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13454 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13455 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13456 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13457 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13458 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13459 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13460 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13461 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13462 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13463 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13464 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13465 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13466 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13467 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13468 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13469 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13470 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13471 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13472 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13473 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13474 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13475 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13476 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13477 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13478 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13479 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13480 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13481 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13482 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13483 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13484 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13485 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13486 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13487 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13488 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13489 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13490 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13491 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13492 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13493 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13494 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13495 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13496 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13497 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13498 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13499 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13500 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13501 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13502 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13503 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13504 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13505 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13506 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13507 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13508 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13509 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13510 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13511 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13512 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13513 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13514 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13515 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13516 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13517 (R_AARCH64_TLSDESC_LDR): Likewise.
13518 (R_AARCH64_TLSDESC_ADD): Likewise.
13519 (R_AARCH64_TLSDESC_CALL): Likewise.
13521 2013-09-30 Andreas Schwab <schwab@suse.de>
13524 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13525 the nss database lookup.
13526 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13529 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13531 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13533 2013-09-28 P. J. McDermott <pj@pehjota.net>
13535 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13536 ${Bash-specific parameter/pattern/string} parameter expansion.
13537 * sysdeps/unix/make-syscalls.sh: Likewise.
13539 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13541 * sysdeps/sh/stackguard-macros.h: New file.
13543 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13546 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13547 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13548 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13549 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13550 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13552 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13554 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13555 Fix thread ID register.
13557 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13559 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13560 [POSIX || UNIX98]: Require rather than permitting all symbols from
13562 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13563 element of struct sched_param.
13564 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13565 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13566 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13567 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13570 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13572 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13573 argument calculation.
13575 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13577 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13579 [POSIX] (pthread_attr_t): Do not require type.
13580 [POSIX] (pthread_cond_t): Likewise.
13581 [POSIX] (pthread_condattr_t): Likewise.
13582 [POSIX] (pthread_key_t): Likewise.
13583 [POSIX] (pthread_mutex_t): Likewise.
13584 [POSIX] (pthread_mutexattr_t): Likewise.
13585 [POSIX] (pthread_once_t): Likewise.
13586 [POSIX] (pthread_t): Likewise.
13587 [POSIX-based standards] (pthread_atfork): Expect function.
13589 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13590 Richard Sandiford <richard@codesourcery.com>
13592 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13593 (swap_endianness_p): New extern variable.
13594 (set_big_endian): New inline function.
13595 (maybe_swap_uint32): Likewise.
13596 (maybe_swap_uint32_array): Likewise.
13597 (maybe_swap_uint32_obstack): Likewise.
13598 * locale/programs/locfile.c: Include <stdbool.h>.
13599 (swap_endianness_p): New variable.
13600 (add_locale_uint32): Call maybe_swap_uint32.
13601 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13602 (write_locale_data): Call maybe_swap_uint32_array.
13603 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13605 (obstack_int32_grow_fast): Likewise.
13606 (output_weightwc): Call maybe_swap_uint32_obstack.
13607 (collate_output): Likewise.
13608 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13609 (OPT_LITTLE_ENDIAN): Likewise.
13610 (options): Add --little-endian and --big-endian options.
13611 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13612 * locale/programs/locarchive.c: Include "locfile.h".
13616 (create_archive): Use the new macros to access fields of
13617 structures directly mapped from or written to locale archives.
13618 (oldlocrecentcmp): Likewise.
13619 (enlarge_archive): Likewise.
13620 (insert_name): Likewise.
13621 (add_alias): Likewise.
13622 (add_locale): Likewise.
13623 (delete_locales_from_archive): Likewise.
13624 (show_archive_content): Likewise.
13625 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13628 2013-09-24 Roland McGrath <roland@hack.frob.com>
13630 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13631 http://www.gnu.org/doc/freemanuals.texi.
13632 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13634 2013-09-24 Will Newton <will.newton@linaro.org>
13636 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13639 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13641 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13644 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13646 * manual/threads.texi (POSIX Threads): Fix a typo.
13648 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13651 * string/tst-strcoll-overflow.c: New test case.
13652 * string/Makefile (xtests): Add tst-strcoll-overflow.
13653 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13654 cache if string sizes may cause integer overflow.
13657 * string/strcoll_l.c (coll_seq): New members rule, idx,
13658 save_idx and back_us.
13659 (get_next_seq_nocache): New function.
13660 (do_compare_nocache): New function.
13661 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13664 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13667 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13668 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13669 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13672 * elf/Makefile (tests): Add tst-ptrguard1.
13673 (tests-static): Add tst-ptrguard1-static.
13674 (tst-ptrguard1-ARGS): Define.
13675 (tst-ptrguard1-static-ARGS): Define.
13676 * elf/tst-ptrguard1.c: New file.
13677 * elf/tst-ptrguard1-static.c: New file.
13678 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13679 * sysdeps/i386/stackguard-macros.h: Likewise.
13680 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13681 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13682 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13683 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13684 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13685 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13687 2013-09-23 Hector Marco <hecmargi@upv.es>
13688 Ismael Ripoll <iripoll@disca.upv.es>
13689 Carlos O'Donell <carlos@redhat.com>
13692 * sysdeps/generic/stackguard-macros.h: Define
13693 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13694 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13695 Define __pointer_chk_guard_local.
13696 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13697 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13699 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13702 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13704 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13706 * include/string.h (__ffs): Declare as hidden.
13707 * string/ffs.c (__ffs): Define as hidden.
13708 * sysdeps/i386/ffs.c (__ffs): Likewise.
13709 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13710 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13711 * sysdeps/s390/ffs.c (__ffs): Likewise.
13712 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13714 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13716 * NEWS: Mention malloc probes.
13718 * malloc/arena.c (new_heap): New memory_heap_new probe.
13719 (grow_heap): New memory_heap_more probe.
13720 (shrink_heap): New memory_heap_less probe.
13721 (heap_trim): New memory_heap_free probe.
13722 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13723 (systrim): New memory_sbrk_less probe.
13724 * manual/probes.texi: Document them.
13726 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13727 * manual/probes.texi: Document it.
13729 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13730 (__libc_realloc): Add memory_realloc_retry probe.
13731 (__libc_memalign): Add memory_memalign_retry probe.
13732 (__libc_valloc): Add memory_valloc_retry probe.
13733 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13734 (__libc_calloc): Add memory_calloc_retry probe.
13735 * manual/probes.texi: Document them.
13737 * malloc/arena.c (get_free_list): Add probe
13738 memory_arena_reuse_free_list.
13739 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13740 and memory_arena_reuse.
13741 (arena_get2) [!PER_THREAD]: Likewise.
13742 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13743 memory_arena_reuse_realloc.
13744 * manual/probes.texi: Document them.
13746 * malloc/malloc.c (__libc_free): Add
13747 memory_mallopt_free_dyn_thresholds probe.
13748 (__libc_mallopt): Add multiple memory_mallopt probes.
13749 * manual/probes.texi: Document them.
13751 * malloc/malloc.c: Include stap-probe.h.
13752 (__libc_mallopt): Add memory_mallopt probe.
13753 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13754 * manual/probes.texi: New.
13755 * manual/Makefile (chapters): Add probes.
13756 * manual/threads.texi: Set next node.
13758 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13760 [BZ #15963, #13985]
13761 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13762 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13763 Add `Chinese' to `nan' entry name.
13765 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13767 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13768 (POLYNOMIAL): Likewise.
13769 (TAYLOR_SINCOS): Likewise.
13770 (TAYLOR_SLOW): Likewise.
13771 (__sin): Use TAYLOR_SINCOS.
13773 (slow): Use TAYLOR_SLOW.
13775 (bsloww): Likewise.
13776 (csloww): Likewise.
13778 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13780 * stdlib/strtod_l.c: Fix buffer overrun.
13782 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13784 * benchtests/Makefile (bench): Add sincos.
13785 * benchtests/bench-sincos.c: New file.
13787 * math/libm-test.inc (cos_test_data): New test inputs.
13788 (sin_test_data): Likewise.
13790 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13796 (sloww1): Likewise.
13797 (sloww2): Likewise.
13798 (bsloww1): Likewise.
13799 (bsloww2): Likewise.
13800 (cslow2): Likewise.
13801 (csloww1): Likewise.
13802 (csloww2): Likewise.
13804 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13809 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13813 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13815 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13816 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13817 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13818 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13819 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13820 * elf/cache.c (print_entry): Handle the new cache flags.
13822 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13823 Aldy Hernandez <aldyh@redhat.com>
13825 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13826 Change condition to [_SOFT_FLOAT].
13827 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13828 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13829 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13830 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13833 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13835 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13838 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13839 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13842 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13845 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13847 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13848 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13849 (__longjmp): Use LOAD_GP to load saved GPRs.
13850 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13851 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13852 (__sigsetjmp): Use SAVE_GP to save GPRs.
13854 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13855 Do not append -msoft-float.
13856 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13858 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13860 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13862 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13865 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13866 (_FPU_GETCW): Use initial "__" on variable and field names but not
13867 on macro parameter name.
13868 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13869 parentheses around reference to macro parameter.
13871 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13873 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13875 (ctype_startup): Use uint32_t in cast and sizeof for
13878 2013-09-11 Jia Liu <proljc@gmail.com>
13880 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13882 [__FreeBSD__]: Likewise.
13884 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13886 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13887 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13888 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13889 (strchr): Remove __strchr_sse42 ifunc selection.
13890 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13891 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13893 2013-09-11 Will Newton <will.newton@linaro.org>
13895 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13896 parameter to RES. Remove hardcoded 1000 value.
13897 * benchtests/bench-skeleton.c (main): Pass RES parameter
13898 to TIMING_INIT and multiply result by 1000.
13900 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13904 2013-09-11 Andreas Schwab <schwab@suse.de>
13906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13908 (O_TMPFILE) [__USE_GNU]: Define.
13909 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13912 2013-09-11 Will Newton <will.newton@linaro.org>
13915 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13918 2013-09-11 Will Newton <will.newton@linaro.org>
13921 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13924 2013-09-11 Will Newton <will.newton@linaro.org>
13927 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13930 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13932 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13933 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13934 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13935 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13936 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13938 2013-09-10 Allan McRae <allan@archlinux.org>
13941 * manual/arith.texi (Parsing of Floats): Clarify
13945 * manual/install.texi (Running make install): Mention
13947 * INSTALL: Regenerated.
13949 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13951 * csu/init-first.c (_init): Remove the !SHARED condition around
13952 FPU control word initialization.
13953 * elf/dl-support.c (_dl_fpu_control): New variable.
13954 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13955 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13956 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13957 * math/test-fpucw-static.c: New file.
13958 * math/test-fpucw-ieee.c: New file.
13959 * math/test-fpucw-ieee-static.c: New file.
13960 * math/Makefile (tests): Add `test-fpucw-ieee' and
13962 (tests-static): New variable.
13963 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13965 [($(build-shared),yes)]
13966 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13968 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13971 2013-09-09 Allan McRae <allan@archlinux.org>
13974 * manual/string.texi (Collation Functions): Fix typo in
13976 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13979 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13982 * libio/memstream.c (open_memstream): Fix memory leak.
13983 * libio/wmemstream.c (open_wmemstream): Likewise.
13986 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13988 2013-09-09 Will Newton <will.newton@linaro.org>
13990 * malloc/Makefile: Add tst-realloc to tests.
13991 * malloc/tst-realloc.c: New file.
13993 2013-09-09 Allan McRae <allan@archlinux.org>
13996 * COPYING: Update from GNU website to fix FSF address.
13997 * COPYING.LIB: Likewise.
13999 2013-09-06 David S. Miller <davem@davemloft.net>
14001 * po/zh_TW.po: Update Chinese (traditional) translation from
14002 translation project.
14004 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14005 Joseph Myers <joseph@codesourcery.com>
14007 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14009 (obstack_chunk_alloc): New macro.
14010 (obstack_chunk_free): Likewise.
14011 (record_offset): New function.
14012 (init_locale_data): Likewise.
14013 (align_locale_data): Likewise.
14014 (add_locale_empty): Likewise.
14015 (add_locale_raw_data): Likewise.
14016 (add_locale_raw_obstack): Likewise.
14017 (add_locale_string): Likewise.
14018 (add_locale_wstring): Likewise.
14019 (add_locale_uint32): Likewise.
14020 (add_locale_uint32_array): Likewise.
14021 (add_locale_char): Likewise.
14022 (start_locale_structure): Likewise.
14023 (end_locale_structure): Likewise.
14024 (start_locale_prelude): Likewise.
14025 (end_locale_prelude): Likewise.
14026 (write_locale_data): Take locale_file structure rather than an
14028 * locale/programs/locfile.h: Include "obstack.h".
14029 (struct locale_file): Change to store locale file contents instead
14031 (init_locale_data): New prototype.
14032 (align_locale_data): Likewise.
14033 (add_locale_empty): Likewise.
14034 (add_locale_raw_data): Likewise.
14035 (add_locale_raw_obstack): Likewise.
14036 (add_locale_string): Likewise.
14037 (add_locale_wstring): Likewise.
14038 (add_locale_uint32): Likewise.
14039 (add_locale_uint32_array): Likewise.
14040 (add_locale_char): Likewise.
14041 (start_locale_structure): Likewise.
14042 (end_locale_structure): Likewise.
14043 (start_locale_prelude): Likewise.
14044 (end_locale_prelude): Likewise.
14045 (write_locale_data): Update prototype.
14046 * locale/programs/3level.h (struct TABLE): Remove result field.
14047 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14048 Use new locale_file interface.
14049 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14050 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14051 * locale/programs/ld-address.c (address_output): Use new
14052 locale_file interface.
14053 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14055 (collate_finish): Don't call collseq_table_finalize.
14056 (collate_output): Use new locale_file interface.
14057 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14059 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14060 (TABLE): Move defines earlier in file.
14061 (ELEMENT): Likewise.
14062 (DEFAULT): Likewise.
14063 (wctrans_table_add): Move macro and inline function earlier in
14065 (struct wctype_table): Move type earlier in file.
14066 (add_locale_wctype_table): New static prototype.
14067 (struct locale_ctype_t): Use logical types instead of struct iovec
14068 pointers for members.
14069 (ctype_output): Use new locale_file interface.
14070 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14071 new locale_file interface.
14072 (allocate_arrays): Update for use of new locale_file interface.
14073 * locale/programs/ld-identification.c (identification_output): Use
14074 new locale_file interface.
14075 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14076 * locale/programs/ld-messages.c (messages_output): Likewise.
14077 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14078 * locale/programs/ld-name.c (name_output): Likewise.
14079 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14080 * locale/programs/ld-paper.c (paper_output): Likewise.
14081 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14082 * locale/programs/ld-time.c (time_output): Likewise.
14084 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14086 * benchtests/Makefile: Add memrchr benchmark.
14087 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14088 benchmark as memrchr.
14089 * benchtests/bench-memrchr-ifunc.c: New file.
14090 * benchtests/bench-memrchr.c: New file.
14092 2013-09-06 Will Newton <will.newton@linaro.org>
14094 * benchtests/Makefile (string-bench): Add memcpy.
14096 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14097 Cong Wang <amwang@redhat.com>
14100 * sysdeps/unix/sysv/linux/bits/in.h
14101 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14102 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14103 before __USE_KERNEL_IPV6_DEFS uses.
14104 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14106 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14107 sockaddr_in6, or ipv6_mreq.
14109 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14111 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14112 memory access for final bytes in some large inputs.
14113 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14115 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14117 * string/test-memrchr.c: New file.
14118 * string/test-memrchr-ifunc.c: New file.
14119 * string/Makefile: Add new memrchr testcase.
14121 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14123 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14124 fanotify_init returns EPERM.
14126 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14128 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14130 (top level): Treat second token from macro or constant entries for
14131 allowed headers as allowed.
14132 * include/complex.h: Condition internal declarations on
14134 * include/fenv.h: Condition include of <stdbool.h> and internal
14135 declarations on [!_ISOMAC].
14137 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14140 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14142 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14144 * configure.in (--enable-versioning): Remove configure option.
14145 (libc_cv_asm_symver_directive): Remove configure test.
14146 (libc_cv_ld_version_script_option): Likewise.
14147 (VERSIONING): Remove variable and AC_SUBST.
14148 (DO_VERSIONING): Remove AC_DEFINE.
14149 * configure: Regenerated.
14150 * config.h.in (DO_VERSIONING): Remove macro.
14151 * Makerules [$(versioning) = yes]: Change conditionals to
14152 [$(build-shared) = yes].
14153 * config.make.in (versioning): Remove variable.
14154 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14155 [$(build-shared) = yes].
14156 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14157 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14158 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14159 [$(build-shared) = yes].
14160 * extra-lib.mk [$(versioning) = yes]: Likewise.
14161 * hurd/Makefile [$(versioning) = yes]: Likewise.
14162 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14164 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14166 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14167 [SHARED && !NO_HIDDEN].
14168 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14170 [SHARED && DO_VERSIONING]: Likewise..
14171 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14172 [$(build-shared) = yes].
14173 * manual/install.texi (--disable-versioning): Remove
14175 * INSTALL: Regenerated.
14176 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14178 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14179 [$(build-shared) = yes].
14180 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14181 * sysdeps/i386/i686/multiarch/strstr-c.c
14182 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14183 [SHARED && !NO_HIDDEN].
14184 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14185 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14186 * sysdeps/powerpc/powerpc32/dl-machine.c
14187 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14188 * sysdeps/powerpc/powerpc32/sysdep.h
14189 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14190 to [SHARED && PIC && !NO_HIDDEN].
14191 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14192 conditional to [SHARED].
14194 2013-09-04 Will Newton <will.newton@linaro.org>
14196 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14197 * benchtests/bench-string.h: Include bench-timing.h instead
14198 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14199 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14200 call to HP_TIMING_DIFF_INIT.
14201 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14202 instead of hp-timing.h macros.
14203 * benchtests/bench-memchr.c: Likewise.
14204 * benchtests/bench-memcmp.c: Likewise.
14205 * benchtests/bench-memcpy.c: Likewise.
14206 * benchtests/bench-memmem.c: Likewise.
14207 * benchtests/bench-memmove.c: Likewise.
14208 * benchtests/bench-memset.c: Likewise.
14209 * benchtests/bench-rawmemchr.c: Likewise.
14210 * benchtests/bench-strcasecmp.c: Likewise.
14211 * benchtests/bench-strcasestr.c: Likewise.
14212 * benchtests/bench-strcat.c: Likewise.
14213 * benchtests/bench-strchr.c: Likewise.
14214 * benchtests/bench-strcmp.c: Likewise.
14215 * benchtests/bench-strcpy.c: Likewise.
14216 * benchtests/bench-strcpy_chk.c: Likewise.
14217 * benchtests/bench-strlen.c: Likewise.
14218 * benchtests/bench-strncasecmp.c: Likewise.
14219 * benchtests/bench-strncat.c: Likewise.
14220 * benchtests/bench-strncmp.c: Likewise.
14221 * benchtests/bench-strncpy.c: Likewise.
14222 * benchtests/bench-strnlen.c: Likewise.
14223 * benchtests/bench-strpbrk.c: Likewise.
14224 * benchtests/bench-strrchr.c: Likewise.
14225 * benchtests/bench-strspn.c: Likewise.
14226 * benchtests/bench-strstr.c: Likewise.
14228 2013-09-04 Will Newton <will.newton@linaro.org>
14230 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14232 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14235 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14236 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14237 * math/libm-test.inc (lgamma_test_data): Add more tests.
14238 * sysdeps/i386/fpu/libm-test-ulps: Update.
14239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14241 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14243 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14244 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14247 Add strcmp-sse2-unaligned
14248 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14250 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14252 * Versions.def (libc): Add GLIBC_2.19.
14254 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14256 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14257 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14259 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14262 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14263 intermediate calculations in recurrence.
14264 (__ieee754_ynf): Likewise.
14265 * math/libm-test.inc (jn_test_data): Do not allow spurious
14266 underflow exception. Add more tests.
14267 (yn_test_data): Add more tests.
14268 * sysdeps/i386/fpu/libm-test-ulps: Update.
14269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14271 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14273 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14275 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14277 * csu/init-first.c: Fix then/than typos.
14278 * locale/programs/ld-collate.c: Likewise.
14279 * locale/programs/linereader.h: Likewise.
14280 * manual/charset.texi: Likewise.
14281 * manual/filesys.texi: Likewise.
14282 * manual/stdio.texi: Likewise.
14283 * manual/string.texi: Likewise.
14284 * stdlib/fmtmsg.c: Likewise.
14285 * sysdeps/i386/stpncpy.S: Likewise.
14286 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14287 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14288 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14289 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14291 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14293 * elf/dl-open.c: Fix typos.
14294 * iconvdata/gbbig5.c: Likewise.
14295 * iconvdata/iso-2022-jp.c: Likewise.
14296 * iconv/gconv_int.h: Likewise.
14297 * iconv/loop.c: Likewise.
14298 * nis/rpcsvc/nis.h: Likewise.
14299 * resolv/ns_name.c: Likewise.
14300 * stdio-common/vfscanf.c: Likewise.
14301 * streams/stropts.h: Likewise.
14302 * sunrpc/rpc_thread.c: Likewise.
14303 * sysdeps/i386/strpbrk.S: Likewise.
14304 * sysdeps/ieee754/k_standard.c: Likewise.
14305 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14306 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14307 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14308 * sysdeps/mach/hurd/profil.c: Likewise.
14309 * sysdeps/s390/dl-procinfo.h: Likewise.
14310 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14311 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14312 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14313 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14314 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14316 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14318 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14319 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14321 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14323 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14324 aix specific files.
14325 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14326 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14327 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14328 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14329 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14330 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14331 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14332 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14334 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14335 Roland McGrath <roland@hack.frob.com>
14337 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14338 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14340 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14342 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14343 __executable_start symbol instead of _start.
14345 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14347 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14348 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14350 * sysdeps/gnu/ldsodefs.h: ... this new file.
14352 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14353 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14354 instead of ELFOSABI_LINUX.
14356 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14357 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14358 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14359 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14361 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14362 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14363 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14365 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14366 (ibm_extended_long_double): Add ieee_nan member.
14367 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14368 (do_test): New function.
14370 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14372 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14373 functions, renamed from truncdfsf_test, trunctfsf_test,
14375 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14377 (do_test): Run all these.
14379 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14381 * argp/argp-help.c: Fix typos.
14382 * argp/argp-parse.c: Likewise.
14383 * debug/backtracesyms.c: Likewise.
14384 * elf/elf.h: Likewise.
14385 * malloc/malloc.c: Likewise.
14386 * nis/nis_print.c: Likewise.
14387 * resolv/res_comp.c: Likewise.
14388 * stdlib/stdlib.h: Likewise.
14389 * sunrpc/clnt_tcp.c: Likewise.
14390 * sunrpc/clnt_udp.c: Likewise.
14391 * sunrpc/clnt_unix.c: Likewise.
14392 * sysdeps/unix/bsd/ptsname.c: Likewise.
14393 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14394 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14401 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14403 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14405 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14408 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14411 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14412 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14413 ($(objpfx)bug-dl-leaf): New rule.
14414 ($(objpfx)bug-dl-leaf.so): Likewise.
14415 ($(objpfx)bug-dl-leaf.out): Likewise.
14416 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14417 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14418 * dlfcn/bug-dl-leaf.c: New test.
14419 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14420 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14421 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14422 (dlclose): Likewise.
14423 (dlmopen): Likewise.
14425 2013-08-27 Roland McGrath <roland@hack.frob.com>
14427 * include/netdb.h [!_ISOMAC]:
14428 Don't include <tls.h>.
14429 (h_errno, __libc_h_errno): Move declaration and macros out of
14432 * include/resolv.h [_RESOLV_H_]:
14433 Don't include <tls.h>.
14434 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14435 * resolv/res_libc.c: Don't include <tls.h>.
14436 (_res): Use __attribute__ ((nocommon)) in place of
14437 __attribute__ ((section (".bss"))).
14439 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14440 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14442 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14444 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14445 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14447 * resolv/res_mkquery.c: Include <sys/time.h>.
14449 * inet/ifreq.c: Moved to ...
14450 * sysdeps/unix/ifreq.c: ... here.
14451 * inet/ifreq.c: New file, true stub version.
14453 * socket/sa_len.c: New file.
14454 * socket/Makefile (aux): Add it.
14455 * sysdeps/unix/sysv/linux/Makefile
14456 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14457 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14458 and #include <socket/sa_len.c>.
14459 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14460 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14462 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14463 * bits/socket.h: ... here.
14465 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14466 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14467 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14469 2013-08-27 Andreas Schwab <schwab@suse.de>
14472 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14473 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14474 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14475 * string/test-strcasecmp.c (test_main): Run tests in several
14477 * string/test-strncasecmp.c (test_main): Likewise.
14479 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14480 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14481 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14483 (__strncasecmp_ssse3) [PIC]: Likewise.
14485 2013-08-26 Roland McGrath <roland@hack.frob.com>
14487 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14489 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14490 instead of explicitly declaring xdecrypt.
14491 * nis/nss_nis/nis-publickey.c: Likewise.
14493 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14496 * nscd/aicache.c: Include res_hconf.h.
14497 (addhstaiX): Initialize res_hconf.
14499 2013-08-26 Andreas Schwab <schwab@suse.de>
14501 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14502 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14504 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14506 * nscd/aicache.c (addhstaiX): Fix indentation.
14508 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14510 * configure.ac: Quote $build_pt_chown test.
14511 * configure: Regenerated.
14513 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14516 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14517 * math/s_cexpf.c (__cexpf): Likewise.
14518 * math/s_cexpl.c (__cexpl): Likewise.
14519 * math/libm-test.inc (cexp_test_data): Correct expected return
14520 value for NaN + i0. Add another test.
14522 2013-08-22 David S. Miller <davem@davemloft.net>
14524 * po/ca.po: Update Catalan translation from translation project.
14525 * po/uk.po: Add Ukrainian translations from translation project.
14527 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14530 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14531 is infinite, not alongside NaN test.
14532 * math/s_fdimf.c (__fdimf): Likewise.
14533 * math/s_fdiml.c (__fdiml): Likewise.
14534 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14535 errno is unchanged.
14537 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14539 * argp/argp-help.c: Fix typos.
14540 * crypt/speeds.c: Likewise.
14541 * csu/check_fds.c: Likewise.
14542 * elf/dl-load.c: Likewise.
14543 * elf/dl-open.c: Likewise.
14544 * elf/reldep3.c: Likewise.
14545 * elf/reldep.c: Likewise.
14546 * elf/sprof.c: Likewise.
14547 * iconv/iconv_charmap.c: Likewise.
14548 * iconv/skeleton.c: Likewise.
14549 * iconv/strtab.c: Likewise.
14550 * io/lockf64.c: Likewise.
14551 * libio/libioP.h: Likewise.
14552 * resolv/gai_notify.c: Likewise.
14553 * resolv/ns_name.c: Likewise.
14554 * resolv/ns_samedomain.c: Likewise.
14555 * resolv/res_send.c: Likewise.
14556 * stdlib/random.c: Likewise.
14557 * sunrpc/rpc/xdr.h: Likewise.
14558 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14559 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14560 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14561 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14562 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14563 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14565 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14566 * sysdeps/mach/hurd/check_fds.c: Likewise.
14567 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14568 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14569 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14570 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14571 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14572 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14573 * sysdeps/pthread/aio_notify.c: Likewise.
14574 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14575 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14576 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14577 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14578 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14580 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14582 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14583 version if bit_Slow_SSE4_2 is set.
14584 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14585 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14587 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14590 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14591 trampoline stack frame information.
14592 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14593 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14594 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14595 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14596 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14597 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14598 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14599 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14601 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14602 interrupting a syscall and set with option SA_SIGINFO.
14604 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14607 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14608 argument is infinite.
14609 * math/s_cprojf.c (__cprojf): Likewise.
14610 * math/s_cprojl.c (__cprojl): Likewise.
14611 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14612 * math/libm-test.inc (cproj_test_data): Add more tests.
14614 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14616 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14617 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14618 size. Use __ffs to determine corresponding shift.
14620 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14621 Roland McGrath <roland@hack.frob.com>
14623 * Makefile (INSTALL): Remove trailing blank lines from output of
14626 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14628 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14629 Align 32 bit compat elf_greg to 8 bytes.
14631 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14633 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14635 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14637 * string/strcoll_l.c (coll_seq): New structure.
14638 (get_next_seq_cached): New function.
14639 (get_next_seq): New function.
14640 (do_compare): New function.
14641 (STRCOLL): Use GNU style definition. Simplify implementation
14642 by using get_next_seq, get_next_seq_cached and do_compare.
14644 2013-08-16 Florian Weimer <fweimer@redhat.com>
14648 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14650 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14652 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14653 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14654 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14656 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14657 GETDENTS_64BIT_ALIGNED.
14658 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14659 * manual/filesys.texi (Reading/Closing Directory): Document
14660 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14662 * manual/conf.texi (Limits for Files): Add portability note to
14663 NAME_MAX, PATH_MAX.
14664 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14666 2013-08-13 Andreas Schwab <schwab@suse.de>
14669 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14671 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14672 LDBL_MAX_EXP >= 16384]: Add tests for it.
14674 2013-08-12 David S. Miller <davem@davemloft.net>
14676 * version.h (RELEASE): Set to "development".
14677 (VERSION): Set to "2.18.90".
14678 * NEWS: Add 2.19 section.
14680 2013-08-03 David S. Miller <davem@davemloft.net>
14682 * po/ko.po: Update Korean translation from translation project.
14684 2013-08-01 David S. Miller <davem@davemloft.net>
14686 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14687 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14690 2013-07-30 David S. Miller <davem@davemloft.net>
14692 * po/fr.po: Update French translation from translation project.
14694 2013-07-28 David S. Miller <davem@davemloft.net>
14696 * po/cs.po: Update Czech translation from translation project.
14698 * po/sv.po: Update Swedish translation from translation project.
14700 2013-07-27 David S. Miller <davem@davemloft.net>
14702 * po/eo.po: Update Esperanto translation from translation project.
14704 * po/vi.po: Update Vietnamese translation from translation project.
14706 * po/de.po: Update German translation from translation project.
14708 2013-07-26 David S. Miller <davem@davemloft.net>
14710 * po/bg.po: Update Bulgarian translation from translation project.
14712 * po/nl.po: Update Dutch translation from translation project.
14713 * po/pl.po: Update Polish translation from translation project.
14714 * po/ru.po: Update Russian translation from translation project.
14716 2013-07-24 David S. Miller <davem@davemloft.net>
14718 * po/libc.pot: Update.
14720 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14722 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14723 variable page size.
14724 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14725 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14726 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14728 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14730 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14732 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14733 Andreas Schwab <schwab@suse.de>
14734 Roland McGrath <roland@hack.frob.com>
14735 Joseph Myers <joseph@codesourcery.com>
14736 Carlos O'Donell <carlos@redhat.com>
14739 * config.h.in: Define HAVE_PT_CHOWN.
14740 * config.make.in (build-pt-chown): New variable.
14741 * configure.in (--enable-pt_chown): New configure option.
14742 * configure: Regenerate.
14743 * login/Makefile: Include Makeconfig. Build pt_chown only if
14744 build-pt-chown is enabled.
14745 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14746 pt_chown to fix pty ownership.
14747 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14749 * manual/install.texi (Configuring and compiling): Mention
14750 --enable-pt_chown. Add @findex for grantpt.
14751 * INSTALL: Regenerate.
14753 2013-07-20 David S. Miller <davem@davemloft.net>
14755 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14756 difference between 32-bit and 64-bit.
14758 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14761 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14762 Avoid system header dependency with -ffreestanding.
14763 ($(objpfx)bits/syscall%d): Likewise.
14765 2013-07-13 David S. Miller <davem@davemloft.net>
14767 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14768 underflows from atanl/atan2l due to bug 15319.
14769 (casinh_test_data): Likewise.
14771 2013-07-07 David S. Miller <davem@davemloft.net>
14773 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14775 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14777 * sysdeps/i386/fpu/libm-test-ulps: Update.
14778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14780 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14782 * configure.in (--enable-lock-elision): Fix message text.
14783 * INSTALL: Regenerate.
14784 * configure: Regenerate.
14786 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14790 2013-07-03 Andreas Jaeger <aj@suse.de>
14792 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14794 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14795 (ptrace_peeksiginfo_args): Add.
14796 (__ptrace_peeksiginfo_flags): Add.
14797 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14798 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14799 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14801 2013-07-03 Allan McRae <allan@archlinux.org>
14803 * sysdeps/i386/fpu/libm-test-ulps: Update.
14805 2013-07-02 David S. Miller <davem@davemloft.net>
14807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14809 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14813 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14815 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14818 2013-07-02 Andi Kleen <ak@linux.intel.com>
14820 * config.h.in (ENABLE_LOCK_ELISION): Add.
14821 * configure.in (--enable-lock-elision): Add option.
14822 * manual/install.texi: Document --enable lock elision.
14823 * configure: Regenerate
14824 * INSTALL: Regenerate.
14826 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14828 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14829 SSE4.2 strcasecmp for libc.a.
14830 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14832 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14835 * soft-fp/op-common.h (_FP_FMA): New macro.
14836 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14837 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14838 (_FP_MUL_MEAT_1_imm): ... here.
14839 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14840 (_FP_MUL_MEAT_1_wide): ... here.
14841 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14842 (_FP_MUL_MEAT_1_hard): ... here.
14843 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14844 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14845 (_FP_MUL_MEAT_2_wide): ... here.
14846 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14847 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14848 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14849 (_FP_MUL_MEAT_2_gmp): ... here.
14850 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14851 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14852 (_FP_MUL_MEAT_4_wide): ... here.
14853 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14854 (_FP_MUL_MEAT_4_gmp): ... here.
14855 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14856 (_FP_WFRACBITS_DW_S): Likewise.
14857 (_FP_WFRACXBITS_DW_S): Likewise.
14858 (_FP_HIGHBIT_DW_S): Likewise.
14859 (FP_FMA_S): Likewise.
14860 (_FP_FRAC_HIGH_DW_S): Likewise.
14861 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14862 (_FP_WFRACBITS_DW_D): Likewise.
14863 (_FP_WFRACXBITS_DW_D): Likewise.
14864 (_FP_HIGHBIT_DW_D): Likewise.
14865 (FP_FMA_D): Likewise.
14866 (_FP_FRAC_HIGH_DW_D): Likewise.
14867 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14868 (_FP_WFRACBITS_DW_E): Likewise.
14869 (_FP_WFRACXBITS_DW_E): Likewise.
14870 (_FP_HIGHBIT_DW_E): Likewise.
14871 (FP_FMA_E): Likewise.
14872 (_FP_FRAC_HIGH_DW_E): Likewise.
14873 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14874 (_FP_WFRACBITS_DW_Q): Likewise.
14875 (_FP_WFRACXBITS_DW_Q): Likewise.
14876 (_FP_HIGHBIT_DW_Q): Likewise.
14877 (FP_FMA_Q): Likewise.
14878 (_FP_FRAC_HIGH_DW_Q): Likewise.
14879 * soft-fp/fmasf4.c: New file.
14880 * soft-fp/fmadf4.c: Likewise.
14881 * soft-fp/fmatf4.c: Likewise.
14883 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14886 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14888 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14890 (index_Slow_SSE4_2): Likewise.
14891 (index_Prefer_PMINUB_for_stringop): Likewise.
14892 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14893 bit_Slow_SSE4_2 is set.
14894 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14895 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14897 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14899 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14900 rtld_global._dl_hwcap2.
14901 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14903 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14904 POWER8 feature descriptions defined in _dl_hwcap2.
14905 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14906 string handling for POWER8 feature bits.
14907 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14908 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14909 _dl_powerpc_cap_flags.
14910 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14911 * sysdeps/powerpc/rtld-global-offsets.sym
14912 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14913 _dl_hwcap2 in the rtld_global_ro structure.
14915 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14917 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14918 hardware capabilities in support of AT_HWCAP2.
14919 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14920 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14922 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14923 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14924 explicitly the unknown a_type display mechanism is used.
14925 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14926 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14928 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14929 to macro prototype for AT_HWCAP2 support.
14930 * sysdeps/i386/dl-procinfo.h: Likewise.
14931 * sysdeps/s390/dl-procinfo.h: Likewise.
14932 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14933 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14934 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14935 return -1 for unknown a_type display fallback.
14936 * sysdeps/sparc/dl-procinfo.h: Likewise.
14937 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14938 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14940 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14942 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14943 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14945 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14948 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14949 mprotect making __stack_prot writable.
14951 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14952 Joseph Myers <joseph@codesourcery.com>
14954 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14955 as being properly aligned.
14957 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14959 * dlfcn/modstatic5.c: New file.
14960 * dlfcn/tststatic5.c: New file.
14961 * dlfcn/Makefile (tests): Add tststatic5.
14962 (tests-static): Likewise.
14963 (modules-names): Add modstatic5.
14964 (tststatic5-ENV): New variable.
14965 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14968 * elf/dl-support.c (_dl_main_map): New variable.
14969 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14970 (_dl_nns, _dl_load_adds): Set to 1.
14971 (_dl_initial_searchlist): Refer to _dl_main_map.
14972 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14973 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14974 call to _dl_get_origin.
14975 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14977 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14978 * dlfcn/modstatic3.c: New file.
14979 * dlfcn/tststatic3.c: New file.
14980 * dlfcn/tststatic4.c: New file.
14981 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14982 (tests-static): Likewise.
14983 (modules-names): Add modstatic3.
14984 (tststatic3-ENV, tststatic4-ENV): New variables.
14985 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14986 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14988 2013-06-26 Joseph Myers <joseph@codesourcery.com>
14990 * configure.in (CC): Require GCC version 4.4 or later.
14991 * configure: Regenerated.
14992 * manual/install.texi (Tools for Compilation): Update GCC version
14994 * INSTALL: Regenerated.
14996 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14999 * string/test-memcmp.c (check2): New.
15000 (main): Call check2.
15002 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15004 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15007 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15009 (dl_open_worker) [!SHARED]: ... here.
15011 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15013 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15015 2013-06-25 Richard Henderson <rth@redhat.com>
15017 * locale/programs/locarchive.c: Include <libc-internal.h>
15019 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15021 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15022 trailing whitespace removed.
15024 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15027 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15028 * locale/programs/locarchive.c: Include libc-mmap.h.
15029 (prepare_address_space): Take two new outputs (the mmap base and len).
15030 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15032 (create_archive): Declare new mmap base and len values for
15033 prepare_address_space, and store the result in ah.
15034 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15035 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15036 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15037 Declare new mmap base and len values for
15038 prepare_address_space, and store the result in new_ah.
15039 (open_archive): Declare new mmap base and len values for
15040 prepare_address_space, and store the result in ah.
15041 (close_archive): If ah->mmap_base is not NULL, use that and
15042 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15043 * sysdeps/generic/libc-mmap.h: New file.
15045 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15047 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15048 (ALIGN_UP): Likewise.
15049 (PTR_ALIGN_DOWN): Likewise.
15050 (PTR_ALIGN_UP): Likewise.
15052 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15054 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15055 entry mapped to PPC_PLATFORM_POWER8.
15056 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15058 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15059 (_dl_string_platform): Add case for exporting platform position for
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15062 search path to sysdeps/powerpc/powerpc32/power8 directory.
15063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15064 search path to sysdeps/powerpc/powerpc64/power8 directory.
15065 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15066 power7 directories.
15067 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15068 power7 directories.
15070 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15072 * INSTALL: Regenerate.
15074 * nscd/connections.c (nscd_init): Fix comment.
15076 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15078 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15081 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15082 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15084 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15086 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15088 (DL_DST_REQ_STATIC): Remove macro.
15090 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15093 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15094 with a shift of 0 bits.
15096 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15098 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15101 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15104 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15106 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15108 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15109 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15110 accepts -fno-tree-loop-distribute-patterns.
15111 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15112 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15114 * string/memset.c (memset): Likewise.
15115 * string/test-memmove.c (simple_memmove): Disable loop transformation
15117 * string/test-memset.c (simple_memset): Likewise.
15118 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15119 * benchtests/bench-memset.c (simple_memset): Likewise.
15120 * configure: Regenerated.
15122 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15124 * math/test-misc.c (main): Ignore fesetround failure when failures
15125 of subsequent rounding tests would be ignored.
15128 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15129 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15130 * math/fegetenv.c (__fegetenv): Return 0.
15131 * math/fegetexcept.c (fegetexcept): Return 0.
15132 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15134 * math/feholdexcpt.c (feholdexcept): Return 0.
15135 * math/fesetenv.c (__fesetenv): Return 0.
15136 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15137 argument FE_TONEAREST.
15138 * math/feupdateenv.c (__feupdateenv): Return 0.
15139 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15141 2013-06-18 Roland McGrath <roland@hack.frob.com>
15143 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15144 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15145 ($(objpfx)rtld-%.os rules): Use them.
15147 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15149 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15152 2013-06-17 Roland McGrath <roland@hack.frob.com>
15154 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15155 length of target pattern, then descending length of dependency pattern.
15156 * configure.in (AWK): Require gawk 3.1.2 or newer.
15157 * manual/install.texi (Tools for Compilation): Say that we do.
15158 * configure: Regenerated.
15160 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15161 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15162 * scripts/sysd-rules.awk: ... this new script.
15163 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15164 than a glob-style pattern.
15166 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15168 * math/test-misc.c (main): Do not treat incorrectly rounded
15169 conversions as failure unless ROUNDING_TESTS passes.
15171 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15174 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15175 restore exception state around main square root computation, then
15176 check for inexactness explicitly.
15178 * math/libm-test.inc (fma_test_data): Add another test.
15180 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15182 * manual/threads.texi (Non-POSIX Extensions): New document
15183 node. Document pthread_getattr_default_np and
15184 pthread_setattr_default_np.
15186 * Versions.def (libpthread): Add GLIBC_2.18.
15187 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15196 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15207 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15210 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15212 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15213 H.J. Lu <hjl.tools@gmail.com>
15216 * sysdeps/x86_64/rtld-memset.c: Remove file.
15217 * sysdeps/x86_64/rtld-memset.S: New file.
15219 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15221 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15222 (test_in_one_mode): Take arguments for whether the rounding mode
15223 is supported for each floating-point type.
15224 (do_test): Pass new arguments to test_in_one_mode using
15227 2013-06-13 Roland McGrath <roland@hack.frob.com>
15229 * posix/tst-waitid.c (do_test): Distinguish different instances of
15230 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15231 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15232 before entering the kernel for waitpid.
15234 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15236 * NEWS: Fix note on clock function precision. Text by Roland
15239 2013-06-13 Roland McGrath <roland@hack.frob.com>
15241 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15242 it into place only when and if the sanity check passes.
15244 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15246 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15247 output for whether conversion result is exact. Take argument
15248 indicating whether type is IBM long double.
15249 (round_for_all): Change need_exact field to ibm_ld.
15250 * stdlib/tst-strtod-round.c (struct exactness): New type.
15251 (struct test): Change bool ld_ok field to struct exactness exact.
15252 (TEST): Update all definitions for change to field.
15253 (tests): Regenerate array contents.
15254 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15255 field value. Check for IBM long double here.
15256 (do_test): Update calls to test_in_one_mode.
15258 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15261 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15262 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15264 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15267 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15268 generated by the compiler on loop optimizations.
15269 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15270 general definitions.
15272 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15274 * math/bug-nextafter.c: Include <math-tests.h>.
15275 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15277 * math/bug-nexttoward.c: Include <math-tests.h>.
15278 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15280 * math/test-misc.c: Include <math-tests.h>.
15281 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15284 2013-06-12 Andreas Jaeger <aj@suse.de>
15286 * po/ia.po: Update Interlingua translation from translation
15289 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15291 * include/fenv.h: Include stdbool.h.
15292 (struct rm_ctx): New structure.
15293 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15295 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15296 (SET_RESTORE_ROUNDF): Likewise.
15297 (SET_RESTORE_ROUNDL): Likewise.
15298 (SET_RESTORE_ROUND_NOEX): Likewise.
15299 (SET_RESTORE_ROUND_NOEXF): Likewise.
15300 (SET_RESTORE_ROUND_NOEXL): Likewise.
15301 (SET_RESTORE_ROUND_53BIT): Likewise.
15302 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15303 (libc_feresetround_noexf_ctx): Likewise.
15304 (libc_feresetround_noexl_ctx): Likewise.
15305 (libc_feholdsetround_53bit_ctx): Likewise.
15306 (libc_feresetround_53bit_ctx): Likewise.
15307 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15308 (libc_feholdexcept_setround_sse_ctx): New function.
15309 (libc_fesetenv_sse_ctx): Likewise.
15310 (libc_feupdateenv_sse_ctx): Likewise.
15311 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15312 (libc_feholdexcept_setround_387_ctx): Likewise.
15313 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15314 (libc_feholdsetround_387_prec_ctx): Likewise.
15315 (libc_feholdsetround_387_ctx): Likewise.
15316 (libc_feholdsetround_387_53bit_ctx): Likewise.
15317 (libc_feholdsetround_sse_ctx): Likewise.
15318 (libc_feresetround_sse_ctx): Likewise.
15319 (libc_feresetround_387_ctx): Likewise.
15320 (libc_feupdateenv_387_ctx): Likewise.
15321 (libc_feholdexcept_setroundf_ctx): Define macro.
15322 (libc_fesetenvf_ctx): Likewise.
15323 (libc_feupdateenvf_ctx): Likewise.
15324 (libc_feholdsetroundf_ctx): Likewise.
15325 (libc_feresetroundf_ctx): Likewise.
15326 (libc_feholdexcept_setround_ctx): Likewise.
15327 (libc_fesetenv_ctx): Likewise.
15328 (libc_feupdateenv_ctx): Likewise.
15329 (libc_feholdsetround_ctx): Likewise.
15330 (libc_feresetround_ctx): Likewise.
15331 (libc_feholdexcept_setroundl_ctx): Likewise.
15332 (libc_feupdateenvl_ctx): Likewise.
15333 (libc_feholdsetroundl_ctx): Likewise.
15334 (libc_feresetroundl_ctx): Likewise.
15335 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15336 (libc_feresetround_53bit_ctx): Likewise.
15338 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15340 * locale/iso-639.def: Convert to UTF-8.
15342 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15344 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15345 (EXCEPTION_TESTS_double): Likewise.
15346 (EXCEPTION_TESTS_long_double): Likewise.
15347 (EXCEPTION_TESTS): Likewise.
15348 * math/libm-test.inc (test_exceptions): Only test exceptions if
15349 EXCEPTION_TESTS (FLOAT).
15351 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15353 * benchtests/Makefile (string-bench): Add strcpy_chk and
15355 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15356 * benchtests/bench-stpcpy_chk.c: New file.
15357 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15358 * benchtests/bench-strcpy_chk.c: New file.
15359 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15361 (do_test): Likewise.
15363 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15365 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15366 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15367 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15368 with tabs where appropriate.
15369 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15371 [PPC_PLATFORM_PPC440]: Likewise.
15372 [PPC_PLATFORM_PPC464]: Likewise.
15373 [PPC_PLATFORM_PPC476]: Likewise.
15374 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15375 ppc464, and ppc476 platform strings merging from ports/
15378 2013-06-11 Andreas Schwab <schwab@suse.de>
15381 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15382 (from_ucs4_idx): Regenerate.
15383 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15384 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15385 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15386 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15387 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15388 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15389 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15390 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15391 from FROM_LOOP and TO_LOOP specific macros.
15392 (BODY): Handle combining characters.
15393 * iconvdata/BIG5HKSCS.irreversible: Update.
15394 * iconvdata/BIG5HKSCS.precomposed: New file.
15395 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15397 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15399 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15401 * include/sys/time.h: Fix indentation and add copyright header.
15403 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15404 (do_test): Likewise.
15405 * string/test-memchr.c (do_one_test): Likewise.
15406 (do_test): Likewise.
15407 * string/test-memcmp.c (do_one_test): Likewise.
15408 (do_test): Likewise.
15409 * string/test-memcpy.c (do_one_test): Likewise.
15410 (do_test): Likewise.
15411 * string/test-memmem.c (do_one_test): Likewise.
15412 (do_test): Likewise.
15413 (do_random_tests): Likewise.
15414 * string/test-memmove.c (do_one_test): Likewise.
15415 (do_test): Likewise.
15416 * string/test-memset.c (do_one_test): Likewise.
15417 (do_test): Likewise.
15418 * string/test-rawmemchr.c (do_one_test): Likewise.
15419 (do_test): Likewise.
15420 * string/test-strcasecmp.c (do_one_test): Likewise.
15421 (do_test): Likewise.
15422 * string/test-strcasestr.c (do_one_test): Likewise.
15423 (do_test): Likewise.
15424 * string/test-strcat.c (do_one_test): Likewise.
15425 (do_test): Likewise.
15426 * string/test-strchr.c (do_one_test): Likewise.
15427 (do_test): Likewise.
15428 * string/test-strcmp.c (do_one_test): Likewise.
15429 (do_test): Likewise.
15430 * string/test-strcpy.c (do_one_test): Likewise.
15431 (do_test): Likewise.
15432 * string/test-string.h: Likewise.
15433 (test_init): Likewise.
15434 * string/test-strlen.c (do_one_test): Likewise.
15435 (do_test): Likewise.
15436 * string/test-strncasecmp.c (do_one_test): Likewise.
15437 (do_test): Likewise.
15438 * string/test-strncat.c (do_one_test): Likewise.
15439 (do_test): Likewise.
15440 * string/test-strncmp.c (do_one_test): Likewise.
15441 (do_test_limit): Likewise.
15442 (do_test): Likewise.
15443 * string/test-strncpy.c (do_one_test): Likewise.
15444 (do_test): Likewise.
15445 * string/test-strnlen.c (do_one_test): Likewise.
15446 (do_test): Likewise.
15447 * string/test-strpbrk.c (do_one_test): Likewise.
15448 (do_test): Likewise.
15449 * string/test-strrchr.c (do_one_test): Likewise.
15450 (do_test): Likewise.
15451 * string/test-strspn.c (do_one_test): Likewise.
15452 (do_test): Likewise.
15453 * string/test-strstr.c (do_one_test): Likewise.
15454 (do_test): Likewise.
15456 * benchtests/Makefile (string-bench): Add string benchmarks.
15457 * benchtests/bench-bcopy-ifunc.c: New file.
15458 * benchtests/bench-bcopy.c: New file.
15459 * benchtests/bench-bzero-ifunc.c: New file.
15460 * benchtests/bench-bzero.c: New file.
15461 * benchtests/bench-memccpy-ifunc.c: New file.
15462 * benchtests/bench-memccpy.c: New file.
15463 * benchtests/bench-memchr-ifunc.c: New file.
15464 * benchtests/bench-memchr.c: New file.
15465 * benchtests/bench-memcmp-ifunc.c: New file.
15466 * benchtests/bench-memcmp.c: New file.
15467 * benchtests/bench-memmem-ifunc.c: New file.
15468 * benchtests/bench-memmem.c: New file.
15469 * benchtests/bench-memmove-ifunc.c: New file.
15470 * benchtests/bench-memmove.c: New file.
15471 * benchtests/bench-mempcpy-ifunc.c: New file.
15472 * benchtests/bench-mempcpy.c: New file.
15473 * benchtests/bench-memset-ifunc.c: New file.
15474 * benchtests/bench-memset.c: New file.
15475 * benchtests/bench-rawmemchr-ifunc.c: New file.
15476 * benchtests/bench-rawmemchr.c: New file.
15477 * benchtests/bench-stpcpy-ifunc.c: New file.
15478 * benchtests/bench-stpcpy.c: New file.
15479 * benchtests/bench-stpncpy-ifunc.c: New file.
15480 * benchtests/bench-stpncpy.c: New file.
15481 * benchtests/bench-strcasecmp-ifunc.c: New file.
15482 * benchtests/bench-strcasecmp.c: New file.
15483 * benchtests/bench-strcasestr-ifunc.c: New file.
15484 * benchtests/bench-strcasestr.c: New file.
15485 * benchtests/bench-strcat-ifunc.c: New file.
15486 * benchtests/bench-strcat.c: New file.
15487 * benchtests/bench-strchr-ifunc.c: New file.
15488 * benchtests/bench-strchr.c: New file.
15489 * benchtests/bench-strchrnul-ifunc.c: New file.
15490 * benchtests/bench-strchrnul.c: New file.
15491 * benchtests/bench-strcmp-ifunc.c: New file.
15492 * benchtests/bench-strcmp.c: New file.
15493 * benchtests/bench-strcpy-ifunc.c: New file.
15494 * benchtests/bench-strcpy.c: New file.
15495 * benchtests/bench-strcspn-ifunc.c: New file.
15496 * benchtests/bench-strcspn.c: New file.
15497 * benchtests/bench-strlen-ifunc.c: New file.
15498 * benchtests/bench-strlen.c: New file.
15499 * benchtests/bench-strncasecmp-ifunc.c: New file.
15500 * benchtests/bench-strncasecmp.c: New file.
15501 * benchtests/bench-strncat-ifunc.c: New file.
15502 * benchtests/bench-strncat.c: New file.
15503 * benchtests/bench-strncmp-ifunc.c: New file.
15504 * benchtests/bench-strncmp.c: New file.
15505 * benchtests/bench-strncpy-ifunc.c: New file.
15506 * benchtests/bench-strncpy.c: New file.
15507 * benchtests/bench-strnlen-ifunc.c: New file.
15508 * benchtests/bench-strnlen.c: New file.
15509 * benchtests/bench-strpbrk-ifunc.c: New file.
15510 * benchtests/bench-strpbrk.c: New file.
15511 * benchtests/bench-strrchr-ifunc.c: New file.
15512 * benchtests/bench-strrchr.c: New file.
15513 * benchtests/bench-strspn-ifunc.c: New file.
15514 * benchtests/bench-strspn.c: New file.
15515 * benchtests/bench-strstr-ifunc.c: New file.
15516 * benchtests/bench-strstr.c: New file.
15518 * benchtests/Makefile: Disable parallel execution of targets.
15519 (string-bench): Add memcpy.
15520 (benchset): New variable to store a list of benchmark sets.
15521 (bench-func): Renamed from bench.
15522 (bench-set): New target.
15523 (bench): Depend on bench-func and bench-set.
15524 * benchtests/README: Add section on benchmark sets.
15525 * benchtests/bench-memcpy-ifunc.c: New file.
15526 * benchtests/bench-memcpy.c: New file.
15527 * benchtests/bench-string.h: New file.
15529 2013-06-11 Andreas Schwab <schwab@suse.de>
15532 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15533 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15534 values in the triple.
15535 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15536 terminator in the group key.
15538 2013-06-11 Andreas Jaeger <aj@suse.de>
15540 * po/zh_TW.po: Update Chinese (traditional) translation from
15541 translation project.
15543 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15545 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15546 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15547 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15548 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15549 (clock_getcpuclockid): Likewise.
15550 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15551 Add weak_alias and libc_hidden_def.
15552 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15553 * rt/clock_gettime.c (clock_gettime): Rename to
15554 __clock_gettime. Add weak_alias and libc_hidden_def.
15555 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15556 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15557 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15558 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15559 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15561 * rt/clock_settime.c (clock_settime): Rename to
15562 __clock_settime. Add weak_alias and libc_hidden_def.
15563 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15565 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15567 * mach/err_boot.sub: Remove trailing whitespace.
15568 * mach/err_ipc.sub: Likewise.
15569 * mach/err_mach.sub: Likewise.
15571 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15572 (ROUNDING_TESTS_double): Likewise.
15573 (ROUNDING_TESTS_long_double): Likewise.
15574 (ROUNDING_TESTS): Likewise.
15575 * math/libm-test.inc: Include <math-tests.h>.
15576 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15577 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15578 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15579 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15581 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15583 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15586 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15588 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15589 otherwise empty TRANS lines.
15590 * sysdeps/gnu/errlist.c: Regenerated.
15592 * catgets/gencat.c (error_print): Use (void) in function
15594 * crypt/crypt_util.c (__init_des): Likewise.
15595 * crypt/speeds.c (Stop): Likewise.
15597 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15598 * inet/ruserpass.c (token): Likewise.
15599 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15600 * intl/localealias.c (extend_alias_table): Likewise.
15601 * intl/plural-exp.c (init_germanic_plural): Likewise.
15602 * libio/fcloseall.c (__fcloseall): Likewise.
15603 * libio/genops.c (_IO_flush_all): Likewise.
15604 (_IO_flush_all_linebuffered): Likewise.
15605 (_IO_cleanup): Likewise.
15606 (_IO_iter_begin): Likewise.
15607 (_IO_iter_end): Likewise.
15608 (_IO_list_lock): Likewise.
15609 (_IO_list_unlock): Likewise.
15610 (_IO_list_resetlock): Likewise.
15611 * libio/getchar.c (getchar): Likewise.
15612 * libio/getchar_u.c (getchar_unlocked): Likewise.
15613 * libio/getwchar.c (getwchar): Likewise.
15614 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15615 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15616 * login/getpt.c (__getpt): Likewise.
15617 * login/tst-utmp.c (main): Likewise.
15618 * malloc/hooks.c (__malloc_check_init): Likewise.
15619 * malloc/malloc.c (__malloc_stats): Likewise.
15620 * malloc/mtrace.c (tr_break): Likewise.
15621 (mtrace): Likewise.
15622 (muntrace): Likewise.
15623 * misc/fstab.c (endfsent): Likewise.
15624 * misc/getclktck.c (__getclktck): Likewise.
15625 * misc/getdtsz.c (__getdtablesize): Likewise.
15626 * misc/gethostid.c (gethostid): Likewise.
15627 * misc/getpagesize.c (__getpagesize): Likewise.
15628 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15629 (__get_nprocs): Likewise.
15630 (__get_phys_pages): Likewise.
15631 (__get_avphys_pages): Likewise.
15632 * misc/getttyent.c (getttyent): Likewise.
15633 (setttyent): Likewise.
15634 (endttyent): Likewise.
15635 * misc/getusershell.c (getusershell): Likewise.
15636 (endusershell): Likewise.
15637 (setusershell): Likewise.
15638 (initshells): Likewise.
15639 * misc/hsearch.c (__hdestroy): Likewise.
15640 * misc/sync.c (sync): Likewise.
15641 * misc/syslog.c (closelog_internal): Likewise.
15642 (closelog): Likewise.
15643 * misc/ttyslot.c (ttyslot): Likewise.
15644 * misc/vhangup.c (vhangup): Likewise.
15645 * posix/fork.c (__fork): Likewise.
15646 * posix/getegid.c (__getegid): Likewise.
15647 * posix/geteuid.c (__geteuid): Likewise.
15648 * posix/getgid.c (__getgid): Likewise.
15649 * posix/getpid.c (__getpid): Likewise.
15650 * posix/getppid.c (__getppid): Likewise.
15651 * posix/getuid.c (__getuid): Likewise.
15652 * posix/pause.c (pause): Likewise.
15653 * posix/setpgrp.c (setpgrp): Likewise.
15654 * posix/setsid.c (__setsid): Likewise.
15655 * posix/test-vfork.c (noop): Likewise.
15656 * resolv/gethnamaddr.c (_endhtent): Likewise.
15657 (_gethtent): Likewise.
15658 (ht_endhostent): Likewise.
15659 (gethostent): Likewise.
15660 (dns_service): Likewise.
15661 * stdlib/drand48.c (drand48): Likewise.
15662 * stdlib/lrand48.c (lrand48): Likewise.
15663 * stdlib/mrand48.c (mrand48): Likewise.
15664 * stdlib/rand.c (rand): Likewise.
15665 * stdlib/random.c (__random): Likewise.
15666 * stdlib/setenv.c (clearenv): Likewise.
15667 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15668 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15669 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15670 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15671 (__get_nprocs): Likewise.
15672 (__get_phys_pages): Likewise.
15673 (__get_avphys_pages): Likewise.
15674 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15675 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15676 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15677 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15678 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15679 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15680 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15681 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15682 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15683 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15684 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15685 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15686 * sysdeps/posix/clock.c (clock): Likewise.
15687 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15688 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15689 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15690 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15691 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15692 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15693 (__get_nprocs_conf): Likewise.
15694 (__get_phys_pages): Likewise.
15695 (__get_avphys_pages): Likewise.
15696 * time/clock.c (clock): Likewise.
15697 * time/tzset.c (__tzname_max): Likewise.
15699 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15701 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15702 (__bswap_32): Do not use "register".
15703 * crypt/crypt.c (_ufc_doit_r): Likewise.
15704 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15705 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15706 * gmon/gmon.c (__monstartup): Likewise.
15707 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15708 * hurd/hurdmalloc.c (more_memory): Likewise.
15709 (malloc): Likewise.
15711 (realloc): Likewise.
15712 (malloc_fork_prepare): Likewise.
15713 (malloc_fork_parent): Likewise.
15714 (malloc_fork_child): Likewise.
15715 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15716 (_svcauth_des): Likewise.
15717 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15718 * inet/inet_net.c (inet_network): Likewise.
15719 * inet/inet_netof.c (inet_netof): Likewise.
15720 * inet/rcmd.c (__validuser2_sa): Likewise.
15721 * io/fts.c (fts_open): Likewise.
15722 (fts_load): Likewise.
15723 (fts_close): Likewise.
15724 (fts_read): Likewise.
15725 (fts_children): Likewise.
15726 (fts_build): Likewise.
15727 (fts_stat): Likewise.
15728 (fts_sort): Likewise.
15729 (fts_alloc): Likewise.
15730 (fts_lfree): Likewise.
15731 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15732 (_IO_file_xsgetn): Likewise.
15733 (_IO_file_xsgetn_mmap): Likewise.
15734 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15735 (_IO_cookie_write): Likewise.
15736 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15737 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15738 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15739 * malloc/obstack.c (_obstack_begin): Likewise.
15740 (_obstack_begin_1): Likewise.
15741 (_obstack_newchunk): Likewise.
15742 (_obstack_allocated_p): Likewise.
15743 (obstack_free): Likewise.
15744 (_obstack_memory_used): Likewise.
15745 * misc/getttyent.c (getttynam): Likewise.
15746 (getttyent): Likewise.
15749 * misc/getusershell.c (initshells): Likewise.
15750 * misc/syslog.c (__vsyslog_chk): Likewise.
15751 * misc/ttyslot.c (ttyslot): Likewise.
15752 * nis/nis_hash.c (__nis_hash): Likewise.
15753 * posix/fnmatch_loop.c (FCT): Likewise.
15754 * posix/getconf.c (print_all): Likewise.
15756 * posix/getopt.c (exchange): Likewise.
15757 * posix/glob.c (globfree): Likewise.
15758 (prefix_array): Likewise.
15759 (__glob_pattern_type): Likewise.
15760 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15761 (NS_GET32): Likewise.
15762 (NS_PUT16): Likewise.
15763 (NS_PUT32): Likewise.
15764 * resolv/gethnamaddr.c (getanswer): Likewise.
15765 (gethostbyname2): Likewise.
15766 (gethostbyaddr): Likewise.
15767 (_gethtent): Likewise.
15768 (_gethtbyname2): Likewise.
15769 (_gethtbyaddr): Likewise.
15770 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15771 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15772 * resolv/res_init.c (__res_vinit): Likewise.
15773 (net_mask): Likewise.
15774 * resolv/res_mkquery.c (outchar): Likewise.
15776 * stdio-common/printf_fp.c (outchar): Likewise.
15778 * stdio-common/printf_fphex.c (outchar): Likewise.
15780 * stdio-common/printf_size.c (outchar): Likewise.
15782 * stdio-common/test_rdwr.c (main): Likewise.
15783 * stdio-common/tfformat.c (matches): Likewise.
15784 * stdio-common/vfprintf.c (outchar): Likewise.
15785 (printf_unknown): Likewise.
15786 (buffered_vfprintf): Likewise.
15787 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15788 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15789 (ReadFile): Likewise.
15790 * stdlib/qsort.c (SWAP): Likewise.
15791 (_quicksort): Likewise.
15792 * stdlib/setenv.c (__add_to_environ): Likewise.
15793 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15794 * stdlib/strtol_l.c (__strtol_l): Likewise.
15795 * stdlib/tst-strtod.c (main): Likewise.
15796 * stdlib/tst-strtol.c (main): Likewise.
15797 * stdlib/tst-strtoll.c (main): Likewise.
15798 * string/bits/string2.h (__strcmp_cc): Likewise.
15799 (__strcmp_cg): Likewise.
15800 (__strcspn_c1): Likewise.
15801 (__strcspn_c2): Likewise.
15802 (__strcspn_c3): Likewise.
15803 (__strspn_c1): Likewise.
15804 (__strspn_c2): Likewise.
15805 (__strspn_c3): Likewise.
15806 (__strsep_1c): Likewise.
15807 (__strsep_2c): Likewise.
15808 (__strsep_3c): Likewise.
15809 * string/memccpy.c (__memccpy): Likewise.
15810 * string/stpcpy.c (__stpcpy): Likewise.
15811 * string/strcmp.c (strcmp): Likewise.
15812 * string/strrchr.c (strrchr): Likewise.
15813 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15815 * sysdeps/mach/hurd/getcwd.c
15816 (_hurd_canonicalize_directory_name_internal): Likewise.
15817 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15818 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15819 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15820 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15821 Likewise, in both definitions.
15822 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15824 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15825 64] (__bswap_64): Likewise.
15826 * time/test_time.c (main): Likewise.
15827 * time/tzfile.c (__tzfile_read): Likewise.
15828 (__tzfile_compute): Likewise.
15829 * time/tzset.c (__tzset_parse_tz): Likewise.
15830 (tzset_internal): Likewise.
15831 (compute_change): Likewise.
15832 * wcsmbs/wcscat.c (__wcscat): Likewise.
15833 * wcsmbs/wcschr.c (wcschr): Likewise.
15834 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15835 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15836 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15837 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15838 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15839 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15840 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15841 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15842 * wcsmbs/wmemset.c (wmemset): Likewise.
15844 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15846 * scripts/config.guess: Update to version 2013-05-16.
15847 * scripts/config.sub: Update to version 2013-04-24.
15848 * scripts/install-sh: Update to version 2011-11-20.07.
15849 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15850 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15852 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15854 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15855 * elf/sln.c: Likewise.
15856 * hurd/hurd/ioctl.h: Likewise.
15857 * hurd/hurdmalloc.c: Likewise.
15858 * hurd/xattr.c: Likewise.
15859 * include/shlib-compat.h: Likewise.
15860 * inet/ruserpass.c: Likewise.
15861 * libio/iofgets_u.c: Likewise.
15862 * libio/iofgetws_u.c: Likewise.
15863 * locale/programs/ld-identification.c: Likewise.
15864 * locale/programs/ld-time.c: Likewise.
15865 * mach/msg-destroy.c: Likewise.
15866 * nss/nss_files/files-netgrp.c: Likewise.
15867 * resolv/res_data.c: Likewise.
15868 * soft-fp/op-1.h: Likewise.
15869 * soft-fp/op-2.h: Likewise.
15870 * soft-fp/op-4.h: Likewise.
15871 * soft-fp/op-common.h: Likewise.
15872 * stdio-common/printf_fphex.c: Likewise.
15873 * stdlib/strtod_l.c: Likewise.
15874 * sunrpc/rpc/clnt.h: Likewise.
15875 * sysdeps/generic/framestate.c: Likewise.
15876 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15877 * sysdeps/i386/bsd-setjmp.S: Likewise.
15878 * sysdeps/i386/__longjmp.S: Likewise.
15879 * sysdeps/i386/setjmp.S: Likewise.
15880 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15881 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15882 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15883 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15884 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15885 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15886 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15887 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15888 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15889 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15890 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15891 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15892 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15893 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15894 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15895 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15896 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15897 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15898 * sysdeps/ieee754/support.c: Likewise.
15899 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15900 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15901 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15902 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15903 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15904 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15905 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15906 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15907 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15908 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15909 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15910 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15911 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15912 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15913 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15914 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15915 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15918 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15920 * posix/transbug.c: Remove executable mode.
15922 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15924 * crypt/speeds.c: Remove trailing whitespace.
15925 * dlfcn/default.c: Likewise.
15926 * elf/ifuncdep2.c: Likewise.
15927 * elf/ifuncmain1.c: Likewise.
15928 * elf/ifuncmain1vis.c: Likewise.
15929 * elf/testobj.h: Likewise.
15930 * elf/tst-stackguard1.c: Likewise.
15931 * gmon/sys/gmon.h: Likewise.
15932 * hurd/hurdmsg.c: Likewise.
15933 * hurd/new-fd.c: Likewise.
15934 * hurd/ports-get.c: Likewise.
15935 * iconvdata/ibm1008_420.c: Likewise.
15936 * inet/tst-getni1.c: Likewise.
15937 * inet/tst-getni2.c: Likewise.
15938 * libio/ioungetc.c: Likewise.
15939 * libio/wfiledoalloc.c: Likewise.
15940 * manual/libm-err-tab.pl: Likewise.
15941 * math/w_dremf.c: Likewise.
15942 * misc/ftruncate.c: Likewise.
15943 * posix/bug-glob2.c: Likewise.
15944 * posix/tst-pcre.c: Likewise.
15945 * posix/wait4.c: Likewise.
15946 * resolv/README: Likewise.
15947 * resolv/res_debug.h: Likewise.
15948 * resolv/tst-inet_ntop.c: Likewise.
15949 * setjmp/bug269-setjmp.c: Likewise.
15950 * soft-fp/extended.h: Likewise.
15951 * soft-fp/op-1.h: Likewise.
15952 * soft-fp/op-2.h: Likewise.
15953 * soft-fp/op-4.h: Likewise.
15954 * soft-fp/op-8.h: Likewise.
15955 * soft-fp/testit.c: Likewise.
15956 * stdio-common/bug16.c: Likewise.
15957 * stdlib/random.c: Likewise.
15958 * sunrpc/rpcsvc/rquota.x: Likewise.
15959 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15960 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15961 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15962 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15963 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15964 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15965 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15966 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15967 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15968 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15969 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15970 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15972 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15974 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15975 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15976 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15981 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15986 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15988 * sysdeps/ieee754/s_lib_version.c: Likewise.
15989 * sysdeps/mach/hurd/check_fds.c: Likewise.
15990 * sysdeps/mach/hurd/getsockname.c: Likewise.
15991 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15992 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15993 * sysdeps/powerpc/bits/link.h: Likewise.
15994 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15995 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15996 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15997 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15998 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15999 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16000 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16001 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16002 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16003 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16004 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16005 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16006 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16007 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16008 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16009 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16010 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16011 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16012 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16013 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16014 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16015 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16016 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16017 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16018 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16019 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16020 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16021 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16022 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16023 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16024 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16025 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16026 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16027 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16028 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16029 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16030 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16031 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16032 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16033 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16034 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16035 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16036 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16037 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16038 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16039 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16040 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16041 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16042 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16043 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16044 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16045 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16046 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16047 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16048 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16049 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16050 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16051 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16052 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16053 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16054 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16055 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16056 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16057 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16058 * sysdeps/powerpc/sysdep.h: Likewise.
16059 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16060 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16061 * sysdeps/sh/dl-trampoline.S: Likewise.
16062 * sysdeps/sh/memset.S: Likewise.
16063 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16064 * sysdeps/sh/strlen.S: Likewise.
16065 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16066 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16067 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16068 * sysdeps/sparc/sparc32/rem.S: Likewise.
16069 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16070 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16071 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16072 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16073 * sysdeps/sparc/sparc32/urem.S: Likewise.
16074 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16075 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16076 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16077 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16078 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16079 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16080 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16081 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16082 * sysdeps/unix/bsd/times.c: Likewise.
16083 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16084 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16088 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16089 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16090 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16091 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16092 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16093 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16094 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16095 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16096 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16097 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16098 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16099 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16100 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16101 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16102 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16103 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16104 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16105 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16106 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16107 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16108 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16109 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16110 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16111 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16112 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16113 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16114 * sysdeps/x86_64/strcspn.S: Likewise.
16116 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16118 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16119 generated file. Regenerate properly from gen-translit.pl.
16120 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16121 locale/C-translit.h.
16123 2013-06-05 Andreas Schwab <schwab@suse.de>
16126 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16127 week as 6 instead of -1.
16128 * time/tst-strptime.c (day_tests): Add test case.
16130 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16132 * sysdeps/generic/math_private.h
16133 (libc_feholdexcept_setround_53bit): Replace with
16134 libc_feholdsetround_53bit.
16135 (libc_feupdateenv_53bit): Replace with
16136 libc_feresetround_53bit.
16137 (SET_RESTORE_ROUND_53BIT): Adjust.
16139 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16141 * string/test-strchrnul.c: Add copyright header.
16143 * posix/tst-getaddrinfo4.c: Increase test timeout.
16145 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16148 * math/libm-test.inc (MAX_EXP): Remove
16150 (ulp): Use MIN_EXP - MANT_DIG.
16151 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16153 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16155 * po/be.po: Revert last change.
16156 * po/zh_CN.po: Likewise.
16157 * po/header.pot: Likewise.
16159 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16161 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16162 link-libc-deps to empty as target-specific variable.
16163 * Makerules (link-libc-args): New variable.
16164 (libc-for-link): Likewise.
16165 (link-libc-deps): Likewise.
16166 (lib%.so): Depend on $(link-libc-deps). Link with
16168 (build-module): Link with $(link-libc-args).
16169 (build-module-asneeded): Likewise.
16170 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16172 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16173 target-specific variable.
16174 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16175 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16176 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16178 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16180 ($(objpfx)libpcprofile.so): Likewise.
16181 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16183 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16184 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16185 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16187 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16188 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16189 * login/Makefile ($(objpfx)libutil.so): Likewise.
16190 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16191 * math/Makefile ($(objpfx)libm.so): Likewise.
16192 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16193 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16194 variable instead of depending directly on libc.
16195 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16196 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16198 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16200 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16201 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16202 ($(objpfx)libanl.so): Likewise.
16203 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16205 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16207 * sysdeps/i386/fpu/Makefile: Remove file.
16208 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16209 ($(objpfx)libm.so): Remove dependency on ld.so.
16211 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16214 * nis/yp_xdr.c (XDRMAXNAME): Define.
16215 (XDRMAXRECORD): Define.
16216 (xdr_domainname): Use XDRMAXNAME.
16217 (xdr_mapname): Likewise.
16218 (xdr_peername): Likewise.
16219 (xdr_keydat): Use XDRMAXRECORD.
16220 (xdr_valdat): Likewise.
16222 2013-05-30 Jeff Law <law@redhat.com>
16225 * manual/errno.texi (ESTALE): Update to account for more than
16226 just NFS file systems.
16227 * sysdeps/gnu/errlist.c: Regenerated.
16229 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16232 * elf/Makefile (tests): Add tst-null-argv.
16233 (modules-names): Add tst-null-argv-lib.
16234 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16235 (tst-null-argv-ENV): Set environment for tst-null-argv.
16236 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16237 (RTLD_PROGNAME): New macro.
16238 * elf/tst-null-argv.c: New test case.
16239 * elf/tst-null-argv-lib.c: Library for test case.
16240 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16241 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16242 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16243 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16244 * elf/dl-init.c (call_init): Likewise.
16245 (_dl_init): Likewise.
16246 * elf/dl-load.c (print_search_path): Likewise.
16247 (_dl_map_object): Likewise.
16248 * elf/dl-lookup.c (do_lookup_x): Likewise.
16249 (add_dependency): Likewise.
16250 (_dl_lookup_symbol_x): Likewise.
16251 (_dl_debug_bindings): Likewise.
16252 * elf/dl-open.c (_dl_show_scope): Likewise.
16253 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16254 * elf/dl-version.c (match_symbol): Likewise.
16255 (_dl_check_map_versions): Likewise.
16256 * elf/rtld.c (dl_main): Likewise.
16257 (print_unresolved): Use RTLD_PROGNAME.
16258 (print_missing_version): Likewise.
16259 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16260 (elf_machine_rela): Likewise.
16261 * sysdeps/powerpc/powerpc32/dl-machine.c
16262 (__process_machine_rela): Likewise.
16263 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16265 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16267 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16269 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16270 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16272 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16274 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16276 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16278 * po/be.po: Add descriptive title.
16279 * po/zh_CN.po: Likewise.
16280 * po/header.pot: Likewise.
16282 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16284 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16286 (enlarge_archive): Likewise.
16288 2013-05-28 Ben North <ben@redfrontdoor.org>
16290 * manual/arith.texi (frexp): It is the magnitude of the return
16291 value which lies in [0.5, 1), not the return value itself.
16293 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16297 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16299 * stdio-common/bug26.c (main): Correct fscanf template.
16301 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16302 declare _dl_skip_args.
16304 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16307 * manual/platform.texi: Add missing @end deftypefun.
16309 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16312 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16313 bit of mantissa of 2^16382.
16314 * math/libm-test.inc (hypot_test_data): Add more tests.
16316 * math/libm-test.inc: Add drem and pow10 to list of tested
16318 (pow10_test): New function.
16319 (drem_test): Likewise.
16320 (drem_test_tonearest): Likewise.
16321 (drem_test_towardzero): Likewise.
16322 (drem_test_downward): Likewise.
16323 (drem_test_upward): Likewise.
16324 (main): Call the new functions.
16326 * math/libm-test.inc (finite_test_data): Remove.
16327 (finite_test): Run tests from isfinite_test_data.
16328 (gamma_test_data): Remove.
16329 (gamma_test): Run tests from lgamma_test_data.
16330 * sysdeps/i386/fpu/libm-test-ulps: Update.
16331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16333 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16335 * manual/platform.texi: Add PowerPC PPR function set documentation.
16336 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16339 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16341 * math/libm-test.inc (MAX_EXP): Define.
16343 (ulp): New function.
16344 (check_float_internal): Use ULPDIFF.
16345 (cpow_test): Disable failing test.
16346 (check_ulp): Test ulp() implemetnation.
16347 (main): Call check_ulp before starting tests.
16349 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16351 * math/gen-libm-test.pl (generate_testfile): Do not handle
16352 START_DATA and END_DATA.
16353 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16355 (acos_tonearest_test_data): Likewise.
16356 (acos_towardzero_test_data): Likewise.
16357 (acos_downward_test_data): Likewise.
16358 (acos_upward_test_data): Likewise.
16359 (acosh_test_data): Likewise.
16360 (asin_test_data): Likewise.
16361 (asin_tonearest_test_data): Likewise.
16362 (asin_towardzero_test_data): Likewise.
16363 (asin_downward_test_data): Likewise.
16364 (asin_upward_test_data): Likewise.
16365 (asinh_test_data): Likewise.
16366 (atan_test_data): Likewise.
16367 (atanh_test_data): Likewise.
16368 (atan2_test_data): Likewise.
16369 (cabs_test_data): Likewise.
16370 (cacos_test_data): Likewise.
16371 (cacosh_test_data): Likewise.
16372 (carg_test_data): Likewise.
16373 (casin_test_data): Likewise.
16374 (casinh_test_data): Likewise.
16375 (catan_test_data): Likewise.
16376 (catanh_test_data): Likewise.
16377 (cbrt_test_data): Likewise.
16378 (ccos_test_data): Likewise.
16379 (ccosh_test_data): Likewise.
16380 (ceil_test_data): Likewise.
16381 (cexp_test_data): Likewise.
16382 (cimag_test_data): Likewise.
16383 (clog_test_data): Likewise.
16384 (clog10_test_data): Likewise.
16385 (conj_test_data): Likewise.
16386 (copysign_test_data): Likewise.
16387 (cos_test_data): Likewise.
16388 (cos_tonearest_test_data): Likewise.
16389 (cos_towardzero_test_data): Likewise.
16390 (cos_downward_test_data): Likewise.
16391 (cos_upward_test_data): Likewise.
16392 (cosh_test_data): Likewise.
16393 (cosh_tonearest_test_data): Likewise.
16394 (cosh_towardzero_test_data): Likewise.
16395 (cosh_downward_test_data): Likewise.
16396 (cosh_upward_test_data): Likewise.
16397 (cpow_test_data): Likewise.
16398 (cproj_test_data): Likewise.
16399 (creal_test_data): Likewise.
16400 (csin_test_data): Likewise.
16401 (csinh_test_data): Likewise.
16402 (csqrt_test_data): Likewise.
16403 (ctan_test_data): Likewise.
16404 (ctan_tonearest_test_data): Likewise.
16405 (ctan_towardzero_test_data): Likewise.
16406 (ctan_downward_test_data): Likewise.
16407 (ctan_upward_test_data): Likewise.
16408 (ctanh_test_data): Likewise.
16409 (ctanh_tonearest_test_data): Likewise.
16410 (ctanh_towardzero_test_data): Likewise.
16411 (ctanh_downward_test_data): Likewise.
16412 (ctanh_upward_test_data): Likewise.
16413 (erf_test_data): Likewise.
16414 (erfc_test_data): Likewise.
16415 (exp_test_data): Likewise.
16416 (exp_tonearest_test_data): Likewise.
16417 (exp_towardzero_test_data): Likewise.
16418 (exp_downward_test_data): Likewise.
16419 (exp_upward_test_data): Likewise.
16420 (exp10_test_data): Likewise.
16421 (exp2_test_data): Likewise.
16422 (expm1_test_data): Likewise.
16423 (fabs_test_data): Likewise.
16424 (fdim_test_data): Likewise.
16425 (finite_test_data): Likewise.
16426 (floor_test_data): Likewise.
16427 (fma_test_data): Likewise.
16428 (fma_towardzero_test_data): Likewise.
16429 (fma_downward_test_data): Likewise.
16430 (fma_upward_test_data): Likewise.
16431 (fmax_test_data): Likewise.
16432 (fmin_test_data): Likewise.
16433 (fmod_test_data): Likewise.
16434 (fpclassify_test_data): Likewise.
16435 (frexp_test_data): Likewise.
16436 (gamma_test_data): Likewise.
16437 (hypot_test_data): Likewise.
16438 (ilogb_test_data): Likewise.
16439 (isfinite_test_data): Likewise.
16440 (isgreater_test_data): Likewise.
16441 (isgreaterequal_test_data): Likewise.
16442 (isinf_test_data): Likewise.
16443 (isless_test_data): Likewise.
16444 (islessequal_test_data): Likewise.
16445 (islessgreater_test_data): Likewise.
16446 (isnan_test_data): Likewise.
16447 (isnormal_test_data): Likewise.
16448 (issignaling_test_data): Likewise.
16449 (isunordered_test_data): Likewise.
16450 (j0_test_data): Likewise.
16451 (j1_test_data): Likewise.
16452 (jn_test_data): Likewise.
16453 (ldexp_test_data): Likewise.
16454 (lgamma_test_data): Likewise.
16455 (lrint_test_data): Likewise.
16456 (lrint_tonearest_test_data): Likewise.
16457 (lrint_towardzero_test_data): Likewise.
16458 (lrint_downward_test_data): Likewise.
16459 (lrint_upward_test_data): Likewise.
16460 (llrint_test_data): Likewise.
16461 (llrint_tonearest_test_data): Likewise.
16462 (llrint_towardzero_test_data): Likewise.
16463 (llrint_downward_test_data): Likewise.
16464 (llrint_upward_test_data): Likewise.
16465 (log_test_data): Likewise.
16466 (log10_test_data): Likewise.
16467 (log1p_test_data): Likewise.
16468 (log2_test_data): Likewise.
16469 (logb_test_data): Likewise.
16470 (logb_downward_test_data): Likewise.
16471 (lround_test_data): Likewise.
16472 (llround_test_data): Likewise.
16473 (modf_test_data): Likewise.
16474 (nearbyint_test_data): Likewise.
16475 (nextafter_test_data): Likewise.
16476 (nexttoward_test_data): Likewise.
16477 (pow_test_data): Likewise.
16478 (pow_tonearest_test_data): Likewise.
16479 (pow_towardzero_test_data): Likewise.
16480 (pow_downward_test_data): Likewise.
16481 (pow_upward_test_data): Likewise.
16482 (remainder_test_data): Likewise.
16483 (remainder_tonearest_test_data): Likewise.
16484 (remainder_towardzero_test_data): Likewise.
16485 (remainder_downward_test_data): Likewise.
16486 (remainder_upward_test_data): Likewise.
16487 (remquo_test_data): Likewise.
16488 (rint_test_data): Likewise.
16489 (rint_tonearest_test_data): Likewise.
16490 (rint_towardzero_test_data): Likewise.
16491 (rint_downward_test_data): Likewise.
16492 (rint_upward_test_data): Likewise.
16493 (round_test_data): Likewise.
16494 (scalb_test_data): Likewise.
16495 (scalbn_test_data): Likewise.
16496 (scalbln_test_data): Likewise.
16497 (signbit_test_data): Likewise.
16498 (sin_test_data): Likewise.
16499 (sin_tonearest_test_data): Likewise.
16500 (sin_towardzero_test_data): Likewise.
16501 (sin_downward_test_data): Likewise.
16502 (sin_upward_test_data): Likewise.
16503 (sincos_test_data): Likewise.
16504 (sinh_test_data): Likewise.
16505 (sinh_tonearest_test_data): Likewise.
16506 (sinh_towardzero_test_data): Likewise.
16507 (sinh_downward_test_data): Likewise.
16508 (sinh_upward_test_data): Likewise.
16509 (sqrt_test_data): Likewise.
16510 (tan_test_data): Likewise.
16511 (tan_tonearest_test_data): Likewise.
16512 (tan_towardzero_test_data): Likewise.
16513 (tan_downward_test_data): Likewise.
16514 (tan_upward_test_data): Likewise.
16515 (tanh_test_data): Likewise.
16516 (tgamma_test_data): Likewise.
16517 (trunc_test_data): Likewise.
16518 (y0_test_data): Likewise.
16519 (y1_test_data): Likewise.
16520 (yn_test_data): Likewise.
16521 (significand_test_data): Likewise.
16523 * math/gen-libm-test.pl (@functions): Remove variable.
16524 (generate_testfile): Don't handle START and END lines.
16525 * math/libm-test.inc (START): New macro.
16527 (END_COMPLEX): Likewise.
16528 (acos_test): Use END macro without arguments.
16529 (acos_test_tonearest): Likewise.
16530 (acos_test_towardzero): Likewise.
16531 (acos_test_downward): Likewise.
16532 (acos_test_upward): Likewise.
16533 (acosh_test): Likewise.
16534 (asin_test): Likewise.
16535 (asin_test_tonearest): Likewise.
16536 (asin_test_towardzero): Likewise.
16537 (asin_test_downward): Likewise.
16538 (asin_test_upward): Likewise.
16539 (asinh_test): Likewise.
16540 (atan_test): Likewise.
16541 (atanh_test): Likewise.
16542 (atan2_test): Likewise.
16543 (cabs_test): Likewise.
16544 (cacos_test): Use END_COMPLEX macro without arguments.
16545 (cacosh_test): Likewise.
16546 (carg_test): Use END macro without arguments.
16547 (casin_test): Use END_COMPLEX macro without arguments.
16548 (casinh_test): Likewise.
16549 (catan_test): Likewise.
16550 (catanh_test): Likewise.
16551 (cbrt_test): Use END macro without arguments.
16552 (ccos_test): Use END_COMPLEX macro without arguments.
16553 (ccosh_test): Likewise.
16554 (ceil_test): Use END macro without arguments.
16555 (cexp_test): Use END_COMPLEX macro without arguments.
16556 (cimag_test): Use END macro without arguments.
16557 (clog_test): Use END_COMPLEX macro without arguments.
16558 (clog10_test): Likewise.
16559 (conj_test): Likewise.
16560 (copysign_test): Use END macro without arguments.
16561 (cos_test): Likewise.
16562 (cos_test_tonearest): Likewise.
16563 (cos_test_towardzero): Likewise.
16564 (cos_test_downward): Likewise.
16565 (cos_test_upward): Likewise.
16566 (cosh_test): Likewise.
16567 (cosh_test_tonearest): Likewise.
16568 (cosh_test_towardzero): Likewise.
16569 (cosh_test_downward): Likewise.
16570 (cosh_test_upward): Likewise.
16571 (cpow_test): Use END_COMPLEX macro without arguments.
16572 (cproj_test): Likewise.
16573 (creal_test): Use END macro without arguments.
16574 (csin_test): Use END_COMPLEX macro without arguments.
16575 (csinh_test): Likewise.
16576 (csqrt_test): Likewise.
16577 (ctan_test): Likewise.
16578 (ctan_test_tonearest): Likewise.
16579 (ctan_test_towardzero): Likewise.
16580 (ctan_test_downward): Likewise.
16581 (ctan_test_upward): Likewise.
16582 (ctanh_test): Likewise.
16583 (ctanh_test_tonearest): Likewise.
16584 (ctanh_test_towardzero): Likewise.
16585 (ctanh_test_downward): Likewise.
16586 (ctanh_test_upward): Likewise.
16587 (erf_test): Use END macro without arguments.
16588 (erfc_test): Likewise.
16589 (exp_test): Likewise.
16590 (exp_test_tonearest): Likewise.
16591 (exp_test_towardzero): Likewise.
16592 (exp_test_downward): Likewise.
16593 (exp_test_upward): Likewise.
16594 (exp10_test): Likewise.
16595 (exp2_test): Likewise.
16596 (expm1_test): Likewise.
16597 (fabs_test): Likewise.
16598 (fdim_test): Likewise.
16599 (finite_test): Likewise.
16600 (floor_test): Likewise.
16601 (fma_test): Likewise.
16602 (fma_test_towardzero): Likewise.
16603 (fma_test_downward): Likewise.
16604 (fma_test_upward): Likewise.
16605 (fmax_test): Likewise.
16606 (fmin_test): Likewise.
16607 (fmod_test): Likewise.
16608 (fpclassify_test): Likewise.
16609 (frexp_test): Likewise.
16610 (gamma_test): Likewise.
16611 (hypot_test): Likewise.
16612 (ilogb_test): Likewise.
16613 (isfinite_test): Likewise.
16614 (isgreater_test): Likewise.
16615 (isgreaterequal_test): Likewise.
16616 (isinf_test): Likewise.
16617 (isless_test): Likewise.
16618 (islessequal_test): Likewise.
16619 (islessgreater_test): Likewise.
16620 (isnan_test): Likewise.
16621 (isnormal_test): Likewise.
16622 (issignaling_test): Likewise.
16623 (isunordered_test): Likewise.
16624 (j0_test): Likewise.
16625 (j1_test): Likewise.
16626 (jn_test): Likewise.
16627 (ldexp_test): Likewise.
16628 (lgamma_test): Likewise.
16629 (lrint_test): Likewise.
16630 (lrint_test_tonearest): Likewise.
16631 (lrint_test_towardzero): Likewise.
16632 (lrint_test_downward): Likewise.
16633 (lrint_test_upward): Likewise.
16634 (llrint_test): Likewise.
16635 (llrint_test_tonearest): Likewise.
16636 (llrint_test_towardzero): Likewise.
16637 (llrint_test_downward): Likewise.
16638 (llrint_test_upward): Likewise.
16639 (log_test): Likewise.
16640 (log10_test): Likewise.
16641 (log1p_test): Likewise.
16642 (log2_test): Likewise.
16643 (logb_test): Likewise.
16644 (logb_test_downward): Likewise.
16645 (lround_test): Likewise.
16646 (llround_test): Likewise.
16647 (modf_test): Likewise.
16648 (nearbyint_test): Likewise.
16649 (nextafter_test): Likewise.
16650 (nexttoward_test): Likewise.
16651 (pow_test): Likewise.
16652 (pow_test_tonearest): Likewise.
16653 (pow_test_towardzero): Likewise.
16654 (pow_test_downward): Likewise.
16655 (pow_test_upward): Likewise.
16656 (remainder_test): Likewise.
16657 (remainder_test_tonearest): Likewise.
16658 (remainder_test_towardzero): Likewise.
16659 (remainder_test_downward): Likewise.
16660 (remainder_test_upward): Likewise.
16661 (remquo_test): Likewise.
16662 (rint_test): Likewise.
16663 (rint_test_tonearest): Likewise.
16664 (rint_test_towardzero): Likewise.
16665 (rint_test_downward): Likewise.
16666 (rint_test_upward): Likewise.
16667 (round_test): Likewise.
16668 (scalb_test): Likewise.
16669 (scalbn_test): Likewise.
16670 (scalbln_test): Likewise.
16671 (signbit_test): Likewise.
16672 (sin_test): Likewise.
16673 (sin_test_tonearest): Likewise.
16674 (sin_test_towardzero): Likewise.
16675 (sin_test_downward): Likewise.
16676 (sin_test_upward): Likewise.
16677 (sincos_test): Likewise.
16678 (sinh_test): Likewise.
16679 (sinh_test_tonearest): Likewise.
16680 (sinh_test_towardzero): Likewise.
16681 (sinh_test_downward): Likewise.
16682 (sinh_test_upward): Likewise.
16683 (sqrt_test): Likewise.
16684 (tan_test): Likewise.
16685 (tan_test_tonearest): Likewise.
16686 (tan_test_towardzero): Likewise.
16687 (tan_test_downward): Likewise.
16688 (tan_test_upward): Likewise.
16689 (tanh_test): Likewise.
16690 (tgamma_test): Likewise.
16691 (trunc_test): Likewise.
16692 (y0_test): Likewise.
16693 (y1_test): Likewise.
16694 (yn_test): Likewise.
16695 (significand_test): Likewise.
16697 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16700 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16702 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16705 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16706 __ppc_mdoio and __ppc_mdoom.
16707 * manual/platform.texi: Document new functions __ppc_yield,
16708 __ppc_mdoio and __ppc_mdoom.
16710 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16712 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16713 (main): Mention "tls" pseudo-hwcap is legacy.
16714 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16716 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16718 * math/gen-libm-test.pl (parse_args): Output only string of
16719 arguments as text for test name, not full call or descriptions of
16720 tests for extra outputs.
16721 (generate_testfile): Do not pass function name to parse_args.
16722 Generate this_func variable from START.
16723 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16725 (struct test_ff_f_data): Likewise.
16726 (test_ff_f_data_nexttoward): Likewise.
16727 (struct test_fi_f_data): Likewise.
16728 (struct test_fl_f_data): Likewise.
16729 (struct test_if_f_data): Likewise.
16730 (struct test_fff_f_data): Likewise.
16731 (struct test_c_f_data): Likewise.
16732 (struct test_f_f1_data): Likewise. Remove field extra_name.
16733 (struct test_fF_f1_data): Likewise.
16734 (struct test_ffI_f1_data): Likewise.
16735 (struct test_c_c_data): Rename test_name field to arg_str.
16736 (struct test_cc_c_data): Likewise.
16737 (struct test_f_i_data): Likewise.
16738 (struct test_ff_i_data): Likewise.
16739 (struct test_f_l_data): Likewise.
16740 (struct test_f_L_data): Likewise.
16741 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16743 (COMMON_TEST_SETUP): New macro.
16744 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16745 (COMMON_TEST_CLEANUP): Likewise.
16746 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16747 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16749 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16750 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16752 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16753 (RUN_TEST_fff_f): Take argument string. Call new setup and
16755 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16756 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16758 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16759 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16761 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16762 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16764 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16765 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16767 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16768 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16770 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16771 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16773 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16774 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16776 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16777 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16779 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16780 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16782 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16783 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16785 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16786 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16788 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16789 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16791 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16792 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16794 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16795 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16797 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16798 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16800 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16802 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16804 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16805 to _sifields.sigfault.
16806 (si_addr_lsb): Define new macro.
16807 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16808 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16809 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16811 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16814 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16816 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16818 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16819 loading the domain.
16821 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16823 * math/gen-libm-test.pl (parse_args): Do not include expected
16824 result in test name.
16825 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16826 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16827 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16828 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16829 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16832 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16834 * benchtests/Makefile: Sort function entries.
16836 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16837 tanh, asinh, acosh, atanh.
16838 * benchtests/acos-inputs: New file.
16839 * benchtests/acosh-inputs: New file.
16840 * benchtests/asin-inputs: New file.
16841 * benchtests/asinh-inputs: New file.
16842 * benchtests/atanh-inputs: New file.
16843 * benchtests/cosh-inputs: New file.
16844 * benchtests/log-inputs: New file.
16845 * benchtests/sinh-inputs: New file.
16846 * benchtests/tanh-inputs: New file.
16848 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16851 * posix/tst-getaddrinfo4.c: New test.
16852 * posix/Makefile (tests): Add it.
16854 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16857 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16858 when no services were used.
16859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16860 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16862 2013-05-21 Andreas Schwab <schwab@suse.de>
16865 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16866 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16868 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16869 redundant variable declarations and reallocation of buffer when
16870 parsing as IPv6 address. Always set NSS status when called from
16871 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16872 buffer too small. Correct computation of needed size.
16873 * nss/Makefile (tests): Add test-digits-dots.
16874 * nss/test-digits-dots.c: New test.
16876 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16878 * benchtests/Makefile: Remove instructions for adding
16880 * benchtests/README: New file to explain how to execute and
16881 enhance the benchmark tests.
16883 2013-05-21 Andreas Schwab <schwab@suse.de>
16886 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16887 * setjmp/tst-sigsetjmp.c: New test.
16889 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16891 * sysdeps/x86_64/memset.S (memset): New implementation.
16892 (__bzero): Likewise.
16893 (__memset_tail): New function.
16895 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16897 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16898 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16899 __memcpy_sse2_unaligned ifunc selection.
16900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16901 Add memcpy-sse2-unaligned.S.
16902 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16903 Add: __memcpy_sse2_unaligned.
16905 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16908 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16909 math_force_eval before restoring floating-point envrionment.
16910 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16911 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16913 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16915 (__nearbyintl): Use math_force_eval before restoring
16916 floating-point environment.
16917 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16919 * math/gen-libm-test.pl (special_functions): Remove.
16920 (parse_args): Don't handle TEST_extra. Handle functions with no
16922 * math/libm-test.inc (struct test_sincos_data): Replace with
16923 struct test_fFF_11_data.
16924 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16925 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16926 (sincos_test_data): Change element type to struct
16927 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16928 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16929 RUN_TEST_LOOP_sincos.
16930 * math/README.libm-test: Don't mention special handling of
16931 individual functions.
16932 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16933 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16934 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16935 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16936 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16939 * math/gen-libm-test.pl (get_variable): Remove function.
16940 (parse_args): Don't show pointer parameters to call in test
16941 names. Use "extra output N" in test names for extra outputs
16942 rather than naming variables.
16944 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16947 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16948 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16949 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16951 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16953 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16956 * math/gen-libm-test.pl (@tests): Remove variable.
16957 ($count): Likewise.
16958 (new_test): Remove function.
16959 (show_exceptions): New function.
16960 (special_functions): Use show_exceptions instead of new_test.
16961 (parse_args): Likewise.
16962 (generate_testfile): Pass only function name in generated call to
16963 print_max_error or print_complex_max_error.
16964 (get_ulps): Do not handle complex tests specially.
16965 (output_test): Rename to ...
16966 (get_all_ulps_for_test): ... this. Return a string rather than
16967 printing to a file. Require ulps to be present.
16968 (output_ulps): Generate arrays rather than #defines.
16969 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16970 (struct ulp_data): New type.
16971 (BUILD_COMPLEX_ULP): Remove macro.
16972 (compare_ulp_data): New function.
16973 (find_ulps): Likewise.
16974 (find_test_ulps): Likewise.
16975 (find_function_ulps): Likewise.
16976 (find_complex_function_ulps): Likewise.
16977 (print_max_error): Determine allowed ulps using
16978 find_function_ulps.
16979 (print_complex_max_error): Determine allowed ulps using
16980 find_complex_function_ulps.
16981 (check_float_internal): Determine max ulps using find_test_ulps.
16982 (check_float): Do not take max_ulp parameter. Update call to
16983 check_float_internal.
16984 (check_complex): Likewise.
16985 (check_int): Do not take max_ulp parameter.
16986 (check_long): Likewise.
16987 (check_bool): Likewise.
16988 (check_longlong): Likewise.
16989 (struct test_f_f_data): Remove max_ulp field.
16990 (struct test_ff_f_data): Likewise.
16991 (struct test_ff_f_data_nexttoward): Likewise.
16992 (struct test_fi_f_data): Likewise.
16993 (struct test_fl_f_data): Likewise.
16994 (struct test_if_f_data): Likewise.
16995 (struct test_fff_f_data): Likewise.
16996 (struct test_c_f_data): Likewise.
16997 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16998 (struct test_fF_f1_data): Likewise.
16999 (struct test_ffI_f1_data): Likewise.
17000 (struct test_c_c_data): Remove max_ulp field.
17001 (struct test_cc_c_data): Likewise.
17002 (struct test_f_i_data): Likewise.
17003 (struct test_ff_i_data): Likewise.
17004 (struct test_f_l_data): Likewise.
17005 (struct test_f_L_data): Likewise.
17006 (struct test_sincos_data): Likewise.
17007 (RUN_TEST_f_f): Do not handle ulps.
17008 (RUN_TEST_LOOP_f_f): Likewise.
17009 (RUN_TEST_2_f): Likewise.
17010 (RUN_TEST_LOOP_2_f): Likewise.
17011 (RUN_TEST_fff_f): Likewise.
17012 (RUN_TEST_LOOP_fff_f): Likewise.
17013 (RUN_TEST_c_f): Likewise.
17014 (RUN_TEST_LOOP_c_f): Likewise.
17015 (RUN_TEST_f_f1): Likewise.
17016 (RUN_TEST_LOOP_f_f1): Likewise.
17017 (RUN_TEST_fF_f1): Likewise.
17018 (RUN_TEST_LOOP_fF_f1): Likewise.
17019 (RUN_TEST_fI_f1): Likewise.
17020 (RUN_TEST_LOOP_fI_f1): Likewise.
17021 (RUN_TEST_ffI_f1): Likewise.
17022 (RUN_TEST_LOOP_ffI_f1): Likewise.
17023 (RUN_TEST_c_c): Likewise.
17024 (RUN_TEST_LOOP_c_c): Likewise.
17025 (RUN_TEST_cc_c): Likewise.
17026 (RUN_TEST_LOOP_cc_c): Likewise.
17027 (RUN_TEST_f_i): Likewise.
17028 (RUN_TEST_LOOP_f_i): Likewise.
17029 (RUN_TEST_f_i_tg): Likewise.
17030 (RUN_TEST_LOOP_f_i_tg): Likewise.
17031 (RUN_TEST_ff_i_tg): Likewise.
17032 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17033 (RUN_TEST_f_b): Likewise.
17034 (RUN_TEST_LOOP_f_b): Likewise.
17035 (RUN_TEST_f_b_tg): Likewise.
17036 (RUN_TEST_LOOP_f_b_tg): Likewise.
17037 (RUN_TEST_f_l): Likewise.
17038 (RUN_TEST_LOOP_f_l): Likewise.
17039 (RUN_TEST_f_L): Likewise.
17040 (RUN_TEST_LOOP_f_L): Likewise.
17041 (RUN_TEST_sincos): Likewise.
17042 (RUN_TEST_LOOP_sincos): Likewise.
17044 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17048 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17049 main case of finite arguments, set rounding mode to FE_TONEAREST
17050 and discard exceptions.
17051 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17053 (remainder_tonearest_test_data): New variable.
17054 (remainder_test_tonearest): New function.
17055 (remainder_towardzero_test_data): New variable.
17056 (remainder_test_towardzero): New function.
17057 (remainder_downward_test_data): New variable.
17058 (remainder_test_downward): New function.
17059 (remainder_upward_test_data): New variable.
17060 (remainder_test_upward): New function.
17061 (main): Call the new test functions.
17063 * math/libm-test.inc (struct test_f_f1_data): Remove field
17065 (struct test_fF_f1_data): Likewise.
17066 (struct test_ffI_f1_data): Likewise.
17067 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17068 based on value of EXTRA_EXPECTED.
17069 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17070 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17071 EXTRA_VAR based on value of EXTRA_EXPECTED.
17072 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17073 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17074 EXTRA_VAR based on value of EXTRA_EXPECTED.
17075 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17076 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17077 EXTRA_VAR based on value of EXTRA_EXPECTED.
17078 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17079 * math/gen-libm-test.pl (parse_args): Don't output initializers
17080 for extra output values.
17082 * math/libm-test.inc (check_int): Expect result to be exactly
17083 equal to expected value and do not handle ulps.
17084 (check_long): Likewise.
17085 (check_longlong): Likewise.
17087 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17089 (cimag_test_data): Likewise.
17090 (conj_test_data): Likewise.
17091 (copysign_test_data): Likewise.
17092 (cproj_test_data): Likewise.
17093 (creal_test_data): Likewise.
17094 (fabs_test_data): Likewise.
17095 (fdim_test_data): Likewise.
17096 (finite_test_data): Likewise.
17097 (floor_test_data): Likewise.
17098 (fmax_test_data): Likewise.
17099 (fmin_test_data): Likewise.
17100 (fmod_test_data): Likewise.
17101 (fpclassify_test_data): Likewise.
17102 (frexp_test_data): Likewise.
17103 (ilogb_test_data): Likewise.
17104 (isfinite_test_data): Likewise.
17105 (isgreater_test_data): Likewise.
17106 (isgreaterequal_test_data): Likewise.
17107 (isinf_test_data): Likewise.
17108 (isless_test_data): Likewise.
17109 (islessequal_test_data): Likewise.
17110 (islessgreater_test_data): Likewise.
17111 (isnan_test_data): Likewise.
17112 (isnormal_test_data): Likewise.
17113 (issignaling_test_data): Likewise.
17114 (isunordered_test_data): Likewise.
17115 (ldexp_test_data): Likewise.
17116 (lrint_test_data): Likewise.
17117 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17118 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17119 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17120 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17121 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17122 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17124 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17125 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17126 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17127 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17129 (lrint_downward_test_data): Test for "inexact" exceptions.
17130 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17131 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17132 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17134 (lrint_upward_test_data): Test for "inexact" exceptions.
17135 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17137 (llrint_test_data): Test for "inexact" exceptions.
17138 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17139 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17140 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17141 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17142 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17143 (llrint_downward_test_data): Test for "inexact" exceptions.
17144 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17145 (llrint_upward_test_data): Test for "inexact" exceptions.
17146 (logb_test_data): Likewise.
17147 (logb_downward_test_data): Likewise.
17148 (nextafter_test_data): Likewise.
17149 (nexttoward_test_data): Likewise.
17150 (remainder_test_data): Likewise.
17151 (remquo_test_data): Likewise.
17152 (scalbn_test_data): Likewise.
17153 (scalbln_test_data): Likewise.
17154 (signbit_test_data): Likewise.
17155 (sqrt_test_data): Likewise.
17156 (significand_test_data): Likewise.
17158 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17161 * benchtests/bench-modf.c (struct args): Mark arg0 as
17163 * scripts/bench.pl: Mark members of struct args as volatile.
17165 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17168 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17169 negative infinity on POWER6 or lower.
17170 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17172 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17175 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17176 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17177 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17178 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17179 (_FP_SETQNAN): New macro.
17180 (_FP_SETQNAN_SEMIRAW): Likewise.
17181 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17182 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17183 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17184 (FP_EXTEND): Use _FP_FRAC_SNANP.
17185 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17186 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17188 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17190 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17193 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17195 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17196 with DIVIDE_BY_ZERO_EXCEPTION.
17197 (gamma_test_data): Likewise.
17198 (lgamma_test_data): Likewise.
17199 (log_test_data): Likewise.
17200 (log10_test_data): Likewise.
17201 (log2_test_data): Likewise.
17202 (tgamma_test_data): Likewise.
17204 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17205 (acos_test_tonearest): Likewise.
17206 (acos_test_towardzero): Likewise.
17207 (acos_test_downward): Likewise.
17208 (acos_test_upward): Likewise.
17209 (acosh_test): Likewise.
17210 (asin_test): Likewise.
17211 (asin_test_tonearest): Likewise.
17212 (asin_test_towardzero): Likewise.
17213 (asin_test_downward): Likewise.
17214 (asin_test_upward): Likewise.
17215 (asinh_test): Likewise.
17216 (atan_test): Likewise.
17217 (atanh_test): Likewise.
17218 (atan2_test): Likewise.
17219 (cabs_test): Likewise.
17220 (cacos_test): Likewise.
17221 (cacosh_test): Likewise.
17222 (casin_test): Likewise.
17223 (casinh_test): Likewise.
17224 (catan_test): Likewise.
17225 (catanh_test): Likewise.
17226 (cbrt_test): Likewise.
17227 (ccos_test): Likewise.
17228 (ccosh_test): Likewise.
17229 (cexp_test): Likewise.
17230 (clog_test): Likewise.
17231 (clog10_test): Likewise.
17232 (cos_test): Likewise.
17233 (cos_test_tonearest): Likewise.
17234 (cos_test_towardzero): Likewise.
17235 (cos_test_downward): Likewise.
17236 (cos_test_upward): Likewise.
17237 (cosh_test): Likewise.
17238 (cosh_test_tonearest): Likewise.
17239 (cosh_test_towardzero): Likewise.
17240 (cosh_test_downward): Likewise.
17241 (cosh_test_upward): Likewise.
17242 (cpow_test): Likewise.
17243 (csin_test): Likewise.
17244 (csinh_test): Likewise.
17245 (csqrt_test): Likewise.
17246 (ctan_test): Likewise.
17247 (ctan_test_tonearest): Likewise.
17248 (ctan_test_towardzero): Likewise.
17249 (ctan_test_downward): Likewise.
17250 (ctan_test_upward): Likewise.
17251 (ctanh_test): Likewise.
17252 (ctanh_test_tonearest): Likewise.
17253 (ctanh_test_towardzero): Likewise.
17254 (ctanh_test_downward): Likewise.
17255 (ctanh_test_upward): Likewise.
17256 (erf_test): Likewise.
17257 (erfc_test): Likewise.
17258 (exp_test): Likewise.
17259 (exp_test_tonearest): Likewise.
17260 (exp_test_towardzero): Likewise.
17261 (exp_test_downward): Likewise.
17262 (exp_test_upward): Likewise.
17263 (exp10_test): Likewise.
17264 (exp2_test): Likewise.
17265 (expm1_test): Likewise.
17266 (fmod_test): Likewise.
17267 (gamma_test): Likewise.
17268 (hypot_test): Likewise.
17269 (j0_test): Likewise.
17270 (j1_test): Likewise.
17271 (jn_test): Likewise.
17272 (lgamma_test): Likewise.
17273 (log_test): Likewise.
17274 (log10_test): Likewise.
17275 (log1p_test): Likewise.
17276 (log2_test): Likewise.
17277 (logb_test_downward): Likewise.
17278 (pow_test): Likewise.
17279 (pow_test_tonearest): Likewise.
17280 (pow_test_towardzero): Likewise.
17281 (pow_test_downward): Likewise.
17282 (pow_test_upward): Likewise.
17283 (remainder_test): Likewise.
17284 (remquo_test): Likewise.
17285 (sin_test): Likewise.
17286 (sin_test_tonearest): Likewise.
17287 (sin_test_towardzero): Likewise.
17288 (sin_test_downward): Likewise.
17289 (sin_test_upward): Likewise.
17290 (sincos_test): Likewise.
17291 (sinh_test): Likewise.
17292 (sinh_test_tonearest): Likewise.
17293 (sinh_test_towardzero): Likewise.
17294 (sinh_test_downward): Likewise.
17295 (sinh_test_upward): Likewise.
17296 (sqrt_test): Likewise.
17297 (tan_test): Likewise.
17298 (tan_test_tonearest): Likewise.
17299 (tan_test_towardzero): Likewise.
17300 (tan_test_downward): Likewise.
17301 (tan_test_upward): Likewise.
17302 (tanh_test): Likewise.
17303 (tgamma_test): Likewise.
17304 (y0_test): Likewise.
17305 (y1_test): Likewise.
17306 (yn_test): Likewise.
17308 * math/gen-libm-test.pl (adjust_arg): Remove function.
17309 (special_function): Remove argument $in_func. Only handle
17310 generating output for tables of tests, not inside functions.
17311 (parse_args): Likewise.
17312 (generate_testfile): Remove variable $in_func. Update call to
17314 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17315 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17316 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17317 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17318 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17319 (MAX_VALUE_INIT): Rename macro to max_value.
17320 (MIN_VALUE_INIT): Rename macro to min_value.
17321 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17322 (plus_zero): Remove variable.
17323 (minus_zero): Likewise.
17324 (plus_infty): Likewise.
17325 (minus_infty): Likewise.
17326 (qnan_value): Likewise.
17327 (max_value): Likewise.
17328 (min_value): Likewise.
17329 (min_subnorm_value): Likewise.
17331 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17333 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17334 uint64_t or uint32_t usage.
17335 * crypt/sha256-block.c: Likewise.
17336 * crypt/sha256-crypt.c: Likewise.
17337 * crypt/sha256.c: Likewise.
17338 * crypt/sha512-block.c: Likewise.
17339 * crypt/sha512-crypt.c: Likewise.
17340 * crypt/sha512.c: Likewise.
17341 * debug/backtrace-tst.c: Likewise.
17342 * debug/pcprofiledump.c: Likewise.
17343 * elf/cache.c: Likewise.
17344 * elf/dl-cache.c: Likewise.
17345 * elf/dl-misc.c: Likewise.
17346 * elf/dl-profile.c: Likewise.
17347 * elf/dl-support.c: Likewise.
17348 * elf/ldconfig.c: Likewise.
17349 * elf/sprof.c: Likewise.
17350 * iconv/dummy-repertoire.c: Likewise.
17351 * iconv/iconv_charmap.c: Likewise.
17352 * iconv/skeleton.c: Likewise.
17353 * iconvdata/8bit-generic.c: Likewise.
17354 * iconvdata/cp737.h: Likewise.
17355 * iconvdata/cp775.h: Likewise.
17356 * iconvdata/ibm1008.h: Likewise.
17357 * iconvdata/ibm1025.h: Likewise.
17358 * iconvdata/ibm1046.h: Likewise.
17359 * iconvdata/ibm1097.h: Likewise.
17360 * iconvdata/ibm1112.h: Likewise.
17361 * iconvdata/ibm1122.h: Likewise.
17362 * iconvdata/ibm1123.h: Likewise.
17363 * iconvdata/ibm1124.h: Likewise.
17364 * iconvdata/ibm1129.h: Likewise.
17365 * iconvdata/ibm1130.h: Likewise.
17366 * iconvdata/ibm1132.h: Likewise.
17367 * iconvdata/ibm1133.h: Likewise.
17368 * iconvdata/ibm1137.h: Likewise.
17369 * iconvdata/ibm1140.h: Likewise.
17370 * iconvdata/ibm1141.h: Likewise.
17371 * iconvdata/ibm1142.h: Likewise.
17372 * iconvdata/ibm1143.h: Likewise.
17373 * iconvdata/ibm1144.h: Likewise.
17374 * iconvdata/ibm1145.h: Likewise.
17375 * iconvdata/ibm1146.h: Likewise.
17376 * iconvdata/ibm1147.h: Likewise.
17377 * iconvdata/ibm1148.h: Likewise.
17378 * iconvdata/ibm1149.h: Likewise.
17379 * iconvdata/ibm1153.h: Likewise.
17380 * iconvdata/ibm1154.h: Likewise.
17381 * iconvdata/ibm1155.h: Likewise.
17382 * iconvdata/ibm1156.h: Likewise.
17383 * iconvdata/ibm1157.h: Likewise.
17384 * iconvdata/ibm1158.h: Likewise.
17385 * iconvdata/ibm1160.h: Likewise.
17386 * iconvdata/ibm1161.h: Likewise.
17387 * iconvdata/ibm1162.h: Likewise.
17388 * iconvdata/ibm1163.h: Likewise.
17389 * iconvdata/ibm1164.h: Likewise.
17390 * iconvdata/ibm1166.h: Likewise.
17391 * iconvdata/ibm1167.h: Likewise.
17392 * iconvdata/ibm12712.h: Likewise.
17393 * iconvdata/ibm1390.h: Likewise.
17394 * iconvdata/ibm1399.h: Likewise.
17395 * iconvdata/ibm16804.h: Likewise.
17396 * iconvdata/ibm4517.h: Likewise.
17397 * iconvdata/ibm4899.h: Likewise.
17398 * iconvdata/ibm4909.h: Likewise.
17399 * iconvdata/ibm4971.h: Likewise.
17400 * iconvdata/ibm5347.h: Likewise.
17401 * iconvdata/ibm803.h: Likewise.
17402 * iconvdata/ibm856.h: Likewise.
17403 * iconvdata/ibm901.h: Likewise.
17404 * iconvdata/ibm902.h: Likewise.
17405 * iconvdata/ibm9030.h: Likewise.
17406 * iconvdata/ibm9066.h: Likewise.
17407 * iconvdata/ibm921.h: Likewise.
17408 * iconvdata/ibm922.h: Likewise.
17409 * iconvdata/ibm9448.h: Likewise.
17410 * iconvdata/isiri-3342.h: Likewise.
17411 * iconvdata/jis0201.h: Likewise.
17412 * include/link.h: Likewise.
17413 * include/netdb.h: Likewise.
17414 * inet/check_native.c: Likewise.
17415 * inet/check_pf.c: Likewise.
17416 * inet/getipv4sourcefilter.c: Likewise.
17417 * inet/getnameinfo.c: Likewise.
17418 * inet/getsourcefilter.c: Likewise.
17419 * inet/htonl.c: Likewise.
17420 * inet/setipv4sourcefilter.c: Likewise.
17421 * inet/setsourcefilter.c: Likewise.
17422 * inet/test-inet6_opt.c: Likewise.
17423 * inet/tst-network.c: Likewise.
17424 * locale/C-collate.c: Likewise.
17425 * locale/C-ctype.c: Likewise.
17426 * locale/C-time.c: Likewise.
17427 * locale/C-translit.h: Likewise.
17428 * locale/loadarchive.c: Likewise.
17429 * locale/programs/3level.h: Likewise.
17430 * locale/programs/charmap.c: Likewise.
17431 * locale/programs/charmap.h: Likewise.
17432 * locale/programs/ld-address.c: Likewise.
17433 * locale/programs/ld-collate.c: Likewise.
17434 * locale/programs/ld-ctype.c: Likewise.
17435 * locale/programs/ld-identification.c: Likewise.
17436 * locale/programs/ld-measurement.c: Likewise.
17437 * locale/programs/ld-messages.c: Likewise.
17438 * locale/programs/ld-monetary.c: Likewise.
17439 * locale/programs/ld-name.c: Likewise.
17440 * locale/programs/ld-numeric.c: Likewise.
17441 * locale/programs/ld-paper.c: Likewise.
17442 * locale/programs/ld-telephone.c: Likewise.
17443 * locale/programs/ld-time.c: Likewise.
17444 * locale/programs/linereader.c: Likewise.
17445 * locale/programs/locale.c: Likewise.
17446 * locale/programs/locarchive.c: Likewise.
17447 * locale/programs/locfile.h: Likewise.
17448 * locale/programs/repertoire.c: Likewise.
17449 * locale/programs/simple-hash.c: Likewise.
17450 * locale/programs/simple-hash.h: Likewise.
17451 * malloc/memusage.c: Likewise.
17452 * malloc/memusagestat.c: Likewise.
17453 * nis/nis_defaults.c: Likewise.
17454 * nis/nis_hash.c: Likewise.
17455 * nis/nis_print.c: Likewise.
17456 * nis/nis_xdr.c: Likewise.
17457 * nscd/connections.c: Likewise.
17458 * nscd/hstcache.c: Likewise.
17459 * nscd/nscd_gethst_r.c: Likewise.
17460 * nscd/nscd_getserv_r.c: Likewise.
17461 * nscd/nscd_helper.c: Likewise.
17462 * nscd/servicescache.c: Likewise.
17463 * nss/makedb.c: Likewise.
17464 * nss/nss_db/db-XXX.c: Likewise.
17465 * nss/nss_db/db-initgroups.c: Likewise.
17466 * nss/nss_db/db-netgrp.c: Likewise.
17467 * nss/nss_files/files-network.c: Likewise.
17468 * nss/nss_files/files-parse.c: Likewise.
17469 * posix/bug-regex5.c: Likewise.
17470 * posix/fnmatch_loop.c: Likewise.
17471 * posix/regcomp.c: Likewise.
17472 * posix/regexec.c: Likewise.
17473 * posix/tst-rfc3484-2.c: Likewise.
17474 * posix/tst-rfc3484-3.c: Likewise.
17475 * posix/tst-rfc3484.c: Likewise.
17476 * resolv/nss_dns/dns-canon.c: Likewise.
17477 * resolv/nss_dns/dns-network.c: Likewise.
17478 * resolv/res_init.c: Likewise.
17479 * resolv/res_mkquery.c: Likewise.
17480 * resolv/tst-aton.c: Likewise.
17481 * stdlib/cxa_atexit.c: Likewise.
17482 * stdlib/cxa_finalize.c: Likewise.
17483 * stdlib/gen-fpioconst.c: Likewise.
17484 * stdlib/strtol_l.c: Likewise.
17485 * string/tst-endian.c: Likewise.
17486 * sunrpc/auth_des.c: Likewise.
17487 * sunrpc/clnt_udp.c: Likewise.
17488 * sunrpc/rtime.c: Likewise.
17489 * sunrpc/svcauth_des.c: Likewise.
17490 * sunrpc/xdr.c: Likewise.
17491 * sunrpc/xdr_intXX_t.c: Likewise.
17492 * sunrpc/xdr_rec.c: Likewise.
17493 * sysdeps/generic/ldconfig.h: Likewise.
17494 * sysdeps/generic/ldsodefs.h: Likewise.
17495 * sysdeps/generic/memusage.h: Likewise.
17496 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17497 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17498 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17499 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17500 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17501 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17502 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17503 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17504 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17505 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17506 * sysdeps/posix/getaddrinfo.c: Likewise.
17507 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17508 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17509 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17510 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17511 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17512 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17513 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17514 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17515 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17516 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17517 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17518 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17519 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17520 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17521 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17522 * sysdeps/x86_64/dl-tls.h: Likewise.
17523 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17524 * time/alt_digit.c: Likewise.
17525 * time/era.c: Likewise.
17526 * wcsmbs/tst-c16c32-1.c: Likewise.
17528 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17530 * math/libm-test.inc (struct test_sincos_data): New type.
17531 (RUN_TEST_LOOP_sincos): New macro.
17532 (sincos_test_data): New variable.
17533 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17535 2013-05-16 Richard Henderson <rth@redhat.com>
17537 * math/atest-exp2.c (LIMB64): New macro.
17538 (CONSTSZ): New macro.
17539 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17541 (print_mpn_fp): ... to function scope.
17542 (read_mpn_hex): Remove.
17543 (get_log2): Remove.
17544 (exp2_mpn): Use mp_log2.
17545 (main): Use mp_exp1.
17547 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17549 * math/libm-test.inc: Remove comment about not testing "inexact"
17551 (INEXACT_EXCEPTION): New macro.
17552 (NO_INEXACT_EXCEPTION): Likewise.
17553 (INVALID_EXCEPTION_OK): Update value.
17554 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17555 (OVERFLOW_EXCEPTION_OK): Likewise.
17556 (UNDERFLOW_EXCEPTION_OK): Likewise.
17557 (IGNORE_ZERO_INF_SIGN): Likewise.
17558 (ERRNO_UNCHANGED): Likewise.
17559 (ERRNO_EDOM): Likewise.
17560 (ERRNO_ERANGE): Likewise.
17561 (test_exceptions): Handle testing "inexact" exceptions.
17562 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17563 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17564 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17565 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17567 (rint_towardzero_test_data): Likewise.
17568 (rint_downward_test_data): Likewise.
17569 (rint_upward_test_data): Likewise.
17571 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17572 with OVERFLOW_EXCEPTION.
17573 (exp10_test_data): Likewise.
17574 (exp2_test_data): Likewise.
17575 (expm1_test_data): Likewise.
17576 (lgamma_test_data): Likewise.
17577 (pow_test_data): Likewise.
17578 (tgamma_test_data): Likewise.
17579 (yn_test_data): Remove duplicate test of overflow.
17581 * math/libm-test.inc (struct test_cc_c_data): New type.
17582 (RUN_TEST_LOOP_cc_c): New macro.
17583 (cpow_test_data): New variable.
17584 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17586 * math/libm-test.inc (struct test_f_L_data): New type.
17587 (RUN_TEST_LOOP_f_L): New macro.
17588 (llrint_test_data): New variable.
17589 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17590 (llrint_tonearest_test_data): New variable.
17591 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17592 (llrint_towardzero_test_data): New variable.
17593 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17594 (llrint_downward_test_data): New variable.
17595 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17596 (llrint_upward_test_data): New variable.
17597 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17598 (llround_test_data): New variable.
17599 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17601 2013-05-13 Peter Collingbourne <pcc@google.com>
17603 * math/atest-exp2.c (get_log2): Remove const attribute.
17605 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17607 * math/libm-test.inc (struct test_f_l_data): New type.
17608 (RUN_TEST_LOOP_f_l): New macro.
17609 (lrint_test_data): New variable.
17610 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17611 (lrint_tonearest_test_data): New variable.
17612 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17613 (lrint_towardzero_test_data): New variable.
17614 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17615 (lrint_downward_test_data): New variable.
17616 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17617 (lrint_upward_test_data): New variable.
17618 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17619 (lround_test_data): New variable.
17620 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17622 2013-05-15 Peter Collingbourne <pcc@google.com>
17624 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17625 (EXTRACT_WORDS64) Use where appropriate.
17626 (INSERT_WORDS64) Likewise.
17628 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17629 constraints with x constraints.
17630 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17632 * malloc/obstack.c (_obstack_compat): Add initializer.
17634 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17636 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17637 si_trapno and add si_addr_lsb to _sifields.sigfault.
17638 (si_trapno): Remove macro.
17639 (si_addr_lsb): Define new macro.
17640 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17642 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17644 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17645 instead of TEST_f_l.
17646 (llrint_test_tonearest): Likewise.
17647 (llrint_test_towardzero): Likewise.
17648 (llrint_test_downward): Likewise.
17649 (llrint_test_upward): Likewise.
17650 (llround_test): Likewise.
17652 * math/libm-test.inc (struct test_f_i_data): Add comment.
17653 (RUN_TEST_LOOP_f_b): New macro.
17654 (RUN_TEST_LOOP_f_b_tg): Likewise.
17655 (finite_test_data): New variable.
17656 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17657 (isfinite_test_data): New variable.
17658 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17659 (isinf_test_data): New variable.
17660 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17661 (isnan_test_data): New variable.
17662 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17663 (isnormal_test_data): New variable.
17664 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17665 (issignaling_test_data): New variable.
17666 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17667 (signbit_test_data): New variable.
17668 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17670 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17671 with INVALID_EXCEPTION.
17672 (acosh_test_data): Likewise.
17673 (asin_test_data): Likewise.
17674 (atanh_test_data): Likewise.
17675 (fmod_test_data): Likewise.
17676 (log_test_data): Likewise.
17677 (log10_test_data): Likewise.
17678 (log2_test_data): Likewise.
17679 (pow_test_data): Likewise.
17680 (sqrt_test_data): Likewise.
17681 (y0_test_data): Likewise.
17682 (y1_test_data): Likewise.
17683 (yn_test_data): Likewise.
17685 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17688 * math/libm-test.inc (struct test_ff_i_data): New type.
17689 (RUN_TEST_LOOP_ff_i_tg): New macro.
17690 (isgreater_test_data): New variable.
17691 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17692 (isgreaterequal_test_data): New variable.
17693 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17694 (isless_test_data): New variable.
17695 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17696 (islessequal_test_data): New variable.
17697 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17698 (islessgreater_test_data): New variable.
17699 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17700 (isunordered_test_data): New variable.
17701 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17703 2013-05-14 David S. Miller <davem@davemloft.net>
17705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17707 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17709 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17711 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17713 (struct test_f_i_data): Change type of max_ulp to int.
17715 * math/libm-test.inc (test_ffI_f1_data): New type.
17716 (RUN_TEST_LOOP_ffI_f1): New macro.
17717 (remquo_test_data): New variable.
17718 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17720 * setjmp/tst-setjmp-fp.c: New file.
17721 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17722 (link-libm): New variable.
17723 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17725 * math/libm-test.inc (struct test_f_i_data): New type.
17726 (RUN_TEST_LOOP_f_i): New macro.
17727 (RUN_TEST_LOOP_f_i_tg): Likewise.
17728 (fpclassify_test_data): New variable.
17729 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17730 (ilogb_test_data): New variable.
17731 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17733 * math/libm-test.inc (scalbln_test): Correct function name in END
17736 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17737 (RUN_TEST_LOOP_fI_f1): New macro.
17738 (frexp_test_data): New variable.
17739 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17741 * math/libm-test.inc (struct test_fF_f1_data): New type.
17742 (RUN_TEST_LOOP_fF_f1): New macro.
17743 (modf_test_data): New variable.
17744 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17746 * math/libm-test.inc (struct test_f_f1_data): New type.
17747 (RUN_TEST_LOOP_f_f1): New macro.
17748 (gamma_test_data): New variable.
17749 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17750 (lgamma_test_data): New variable.
17751 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17753 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17755 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17756 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17757 (main): Comment "tls" pseudo-hwcap.
17759 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17761 * math/libm-test.inc (struct test_fl_f_data): New type.
17762 (RUN_TEST_LOOP_fl_f): New variable.
17763 (scalbln_test_data): New variable.
17764 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17766 * math/libm-test.inc (struct test_fi_f_data): New type.
17767 (RUN_TEST_LOOP_fi_f): New macro.
17768 (ldexp_test_data): New variable.
17769 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17770 (scalbn_test_data): New variable.
17771 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17773 * math/libm-test.inc (struct test_c_f_data): New type.
17774 (RUN_TEST_LOOP_c_f): New macro.
17775 (cabs_test_data): New variable.
17776 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17777 (carg_test_data): New variable.
17778 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17779 (cimag_test_data): New variable.
17780 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17781 (creal_test_data): New variable.
17782 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17784 * math/libm-test.inc (struct test_if_f_data): New type.
17785 (RUN_TEST_LOOP_if_f): New macro.
17786 (jn_test_data): New variable.
17787 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17788 (yn_test_data): New variable.
17789 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17791 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17793 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17795 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17796 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17798 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17800 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17801 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17802 (bench-deps): Add bench-timing.h.
17803 * benchtests-bench-skeleton.c: Include bench-timing.h.
17804 (main): Use TIMING_* macros instead of clock_gettime.
17805 * benchtests/bench-timing.h: New file.
17808 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17809 Renamed from _LIB_VERSION.
17810 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17812 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17814 * math/libm-test.inc (struct test_fff_f_data): New type.
17815 (RUN_TEST_LOOP_fff_f): New macro.
17816 (fma_test_data): New variable.
17817 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17818 (fma_towardzero_test_data): New variable.
17819 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17820 (fma_downward_test_data): New variable.
17821 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17822 (fma_upward_test_data): New variable.
17823 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17825 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17826 (struct test_c_c_data): New type.
17827 (RUN_TEST_LOOP_c_c): New macro.
17828 (cacos_test_data): New variable.
17829 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17830 (cacosh_test_data): New variable.
17831 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17832 (casin_test_data): New variable.
17833 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17834 (casinh_test_data): New variable.
17835 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17836 (catan_test_data): New variable.
17837 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17838 (catanh_test_data): New variable.
17839 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17840 (ccos_test_data): New variable.
17841 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17842 (ccosh_test_data): New variable.
17843 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17844 (cexp_test_data): New variable.
17845 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17846 (clog_test_data): New variable.
17847 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17848 (clog10_test_data): New variable.
17849 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17850 (conj_test_data): New variable.
17851 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17852 (cproj_test_data): New variable.
17853 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17854 (csin_test_data): New variable.
17855 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17856 (csinh_test_data): New variable.
17857 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17858 (csqrt_test_data): New variable.
17859 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17860 (ctan_test_data): New variable.
17861 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17862 (ctan_tonearest_test_data): New variable.
17863 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17864 (ctan_towardzero_test_data): New variable.
17865 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17866 (ctan_downward_test_data): New variable.
17867 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17868 (ctan_upward_test_data): New variable.
17869 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17870 (ctanh_test_data): New variable.
17871 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17872 (ctanh_tonearest_test_data): New variable.
17873 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17874 (ctanh_towardzero_test_data): New variable.
17875 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17876 (ctanh_downward_test_data): New variable.
17877 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17878 (ctanh_upward_test_data): New variable.
17879 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17880 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17883 * math/libm-test.inc (struct test_ff_f_data): New type.
17884 (struct test_ff_f_data_nexttoward): Likewise.
17885 (RUN_TEST_LOOP_2_f): New macro.
17886 (RUN_TEST_LOOP_ff_f): Likewise.
17887 (atan2_test_data): New variable.
17888 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17889 (copysign_test_data): New variable.
17890 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17891 (fdim_test_data): New variable.
17892 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17893 (fmax_test_data): New variable.
17894 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17895 (fmin_test_data): New variable.
17896 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17897 (fmod_test_data): New variable.
17898 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17899 (hypot_test_data): New variable.
17900 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17901 (nextafter_test_data): New variable.
17902 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17903 (nexttoward_test_data): New variable.
17904 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17905 (pow_test_data): New variable.
17906 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17907 (pow_tonearest_test_data): New variable.
17908 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17909 (pow_towardzero_test_data): New variable.
17910 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17911 (pow_downward_test_data): New variable.
17912 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17913 (pow_upward_test_data): New variable.
17914 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17915 (remainder_test_data): New variable.
17916 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17917 (scalb_test_data): New variable.
17918 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17919 * sysdeps/i386/fpu/libm-test-ulps: Update.
17921 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17923 * math/libm-test.inc (fma_test): Use max_value instead of local
17925 (nextafter_test): Likewise.
17927 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17928 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17929 (acos_downward_test_data): New variable.
17930 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17931 (acos_upward_test_data): New variable.
17932 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17933 (acosh_test_data): New variable.
17934 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17935 (asin_test_data): New variable.
17936 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17937 (asin_tonearest_test_data): New variable.
17938 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17939 (asin_towardzero_test_data): New variable.
17940 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17941 (asin_downward_test_data): New variable.
17942 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17943 (asin_upward_test_data): New variable.
17944 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17945 (asinh_test_data): New variable.
17946 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17947 (atan_test_data): New variable.
17948 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17949 (atanh_test_data): New variable.
17950 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17951 (cbrt_test_data): New variable.
17952 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17953 (ceil_test_data): New variable.
17954 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17955 (cos_test_data): New variable.
17956 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17957 (cos_tonearest_test_data): New variable.
17958 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17959 (cos_towardzero_test_data): New variable.
17960 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17961 (cos_downward_test_data): New variable.
17962 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17963 (cos_upward_test_data): New variable.
17964 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17965 (cosh_test_data): New variable.
17966 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17967 (cosh_tonearest_test_data): New variable.
17968 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17969 (cosh_towardzero_test_data): New variable.
17970 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17971 (cosh_downward_test_data): New variable.
17972 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17973 (cosh_upward_test_data): New variable.
17974 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17975 (erf_test_data): New variable.
17976 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17977 (erfc_test_data): New variable.
17978 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17979 (exp_test_data): New variable.
17980 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17981 (exp_tonearest_test_data): New variable.
17982 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17983 (exp_towardzero_test_data): New variable.
17984 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17985 (exp_downward_test_data): New variable.
17986 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17987 (exp_upward_test_data): New variable.
17988 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17989 (exp10_test_data): New variable.
17990 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17991 (exp2_test_data): New variable.
17992 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17993 (expm1_test_data): New variable.
17994 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17995 (fabs_test_data): New variable.
17996 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17997 (floor_test_data): New variable.
17998 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17999 (j0_test_data): New variable.
18000 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18001 (j1_test_data): New variable.
18002 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18003 (log_test_data): New variable.
18004 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18005 (log10_test_data): New variable.
18006 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18007 (log1p_test_data): New variable.
18008 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18009 (log2_test_data): New variable.
18010 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18011 (logb_test_data): New variable.
18012 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18013 (logb_downward_test_data): New variable.
18014 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18015 (nearbyint_test_data): New variable.
18016 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18017 (rint_test_data): New variable.
18018 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18019 (rint_tonearest_test_data): New variable.
18020 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18021 (rint_towardzero_test_data): New variable.
18022 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18023 (rint_downward_test_data): New variable.
18024 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18025 (rint_upward_test_data): New variable.
18026 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18027 (round_test_data): New variable.
18028 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18029 (sin_test_data): New variable.
18030 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18031 (sin_tonearest_test_data): New variable.
18032 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18033 (sin_towardzero_test_data): New variable.
18034 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18035 (sin_downward_test_data): New variable.
18036 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18037 (sin_upward_test_data): New variable.
18038 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18039 (sinh_test_data): New variable.
18040 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18041 (sinh_tonearest_test_data): New variable.
18042 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18043 (sinh_towardzero_test_data): New variable.
18044 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18045 (sinh_downward_test_data): New variable.
18046 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18047 (sinh_upward_test_data): New variable.
18048 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18049 (sqrt_test_data): New variable.
18050 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18051 (tan_test_data): New variable.
18052 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18053 (tan_tonearest_test_data): New variable.
18054 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18055 (tan_towardzero_test_data): New variable.
18056 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18057 (tan_downward_test_data): New variable.
18058 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18059 (tan_upward_test_data): New variable.
18060 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18061 (tanh_test_data): New variable.
18062 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18063 (tgamma_test_data): New variable.
18064 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18065 (trunc_test_data): New variable.
18066 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18067 (y0_test_data): New variable.
18068 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18069 (y1_test_data): New variable.
18070 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18071 (significand_test_data): New variable.
18072 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18074 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18077 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18079 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18081 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18083 2013-05-10 Andreas Jaeger <aj@suse.de>
18086 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18087 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18089 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18091 * math/gen-libm-test.pl (adjust_arg): New function.
18092 (special_functions): Handle generating output in both functions
18094 (parse_args): Likewise.
18095 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18096 $in_func argument to parse_args.
18097 * math/libm-test.inc (struct test_f_f_data): New type.
18098 (IF_ROUND_INIT_): New macro.
18099 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18100 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18101 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18102 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18103 (ROUND_RESTORE_): Likewise.
18104 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18105 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18106 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18107 (ROUND_RESTORE_FE_UPWARD): Likewise.
18108 (RUN_TEST_LOOP_f_f): New macro.
18109 (acos_test_data): New variable.
18110 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18111 (acos_tonearest_test_data): New variable.
18112 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18114 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18116 * benchtests/bench-skeleton.c (startup): Fix coding style.
18118 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18121 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18122 negative infinity argument.
18123 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18124 negative infinity argument.
18125 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18126 negative infinity argument.
18127 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18130 2013-05-10 Florian Weimer <fweimer@redhat.com>
18132 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18133 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18134 * iconv/iconv_prog.c (main): Likewise.
18135 * locale/programs/charmap-dir.c (charmap_readdir)
18136 (fopen_uncompressed): Likewise.
18137 * locale/programs/locfile.c (siblings_uncached)
18138 (write_locale_data): Use lstat64 instead of lstat.
18139 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18142 2013-05-10 Andreas Jaeger <aj@suse.de>
18145 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18147 Include <locale.h>.
18149 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18151 * elf/dl-close.c (_dl_close_worker): Add comments.
18153 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18156 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18158 (__ieee754_rem_pio2l): Update comments.
18161 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18163 (__ieee754_rem_pio2l): Update comments.
18165 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18166 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18168 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18171 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18172 (M_PI_34_LOG10El): Likewise.
18173 (M_PI2_LOG10El): Likewise.
18174 (M_PI4_LOG10El): Likewise.
18175 (M_PI_LOG10El): Likewise.
18177 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18181 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18183 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18184 (MINUS_ZERO_INIT): Likewise.
18185 (PLUS_INFTY_INIT): Likewise.
18186 (MINUS_INFTY_INIT): Likewise.
18187 (QNAN_VALUE_INIT): Likewise.
18188 (MAX_VALUE_INIT): Likewise.
18189 (MIN_VALUE_INIT): Likewise.
18190 (MIN_SUBNORM_VALUE_INIT): Likewise.
18191 (plus_zero): Initialize with PLUS_ZERO_INIT.
18192 (minus_zero): Initialize with MINUS_ZERO_INIT.
18193 (plus_infty): Initialize with PLUS_INFTY_INIT.
18194 (minus_infty): Initialize with MINUS_INFTY_INIT.
18195 (qnan_value): Initialize with QNAN_VALUE_INIT.
18196 (max_value): Initialize with MAX_VALUE_INIT.
18197 (min_value): Initialize with MIN_VALUE_INIT.
18198 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18200 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18201 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18202 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18203 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18205 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18206 (RUN_TEST_2_f): Likewise.
18207 (RUN_TEST_ff_f): Likewise.
18208 (RUN_TEST_fi_f): Likewise.
18209 (RUN_TEST_fl_f): Likewise.
18210 (RUN_TEST_fff_f): Likewise.
18211 (RUN_TEST_c_f): Likewise.
18212 (RUN_TEST_f_f1): Likewise.
18213 (RUN_TEST_fF_f1): Likewise.
18214 (RUN_TEST_fI_f1): Likewise.
18215 (RUN_TEST_ffI_f1): Likewise.
18216 (RUN_TEST_c_c): Likewise.
18217 (RUN_TEST_cc_c): Likewise.
18218 (RUN_TEST_f_i): Likewise.
18219 (RUN_TEST_f_i_tg): Likewise.
18220 (RUN_TEST_ff_i_tg): Likewise.
18221 (RUN_TEST_f_b): Likewise.
18222 (RUN_TEST_f_b_tg): Likewise.
18223 (RUN_TEST_f_l): Likewise.
18224 (RUN_TEST_f_L): Likewise.
18225 (RUN_TEST_sincos): Likewise.
18226 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18227 whether to show exceptions. Do not include ");\n" in return
18229 (special_functions): Output call to RUN_TEST_sincos instead of
18230 check_float calls. Update calls to new_test.
18231 (parse_args): Output call to single RUN_TEST_* macro instead of
18232 check_* calls and other assignments. Update calls to new_test.
18238 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18239 input to result for tgamma overflow.
18240 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18241 (gamma_coeff): New variable.
18242 (NCOEFF): New macro.
18243 (gamma_positive): New function.
18244 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18245 underflow here. Use gamma_positive instead of exp (lgamma) for
18247 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18248 (gamma_coeff): New variable.
18249 (NCOEFF): New macro.
18250 (gammaf_positive): New function.
18251 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18252 underflow here. Use gamma_positive instead of exp (lgamma) for
18254 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18255 (gamma_coeff): New variable.
18256 (NCOEFF): New macro.
18257 (gammal_positive): New function.
18258 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18259 underflow here. Use gamma_positive instead of exp (lgamma) for
18261 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18262 (gamma_coeff): New variable.
18263 (NCOEFF): New macro.
18264 (gammal_positive): New function.
18265 (__ieee754_gammal_r): Handle positive infinity, overflow and
18266 underflow here. Handle NaN the same as positive infinity. Remove
18267 check x < 0xffffffff for negative integers. Use gamma_positive
18268 instead of exp (lgamma) for other arguments.
18269 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18270 (gamma_coeff): New variable.
18271 (NCOEFF): New macro.
18272 (gammal_positive): New function.
18273 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18274 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18278 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18279 * sysdeps/generic/math_private.h (__gamma_productf): New
18281 (__gamma_product): Likewise.
18282 (__gamma_productl): Likewise.
18283 * math/Makefile (libm-calls): Add gamma_product.
18284 * math/libm-test.inc (tgamma_test): Add more tests.
18285 * sysdeps/i386/fpu/libm-test-ulps: Update.
18286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18288 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18290 * benchtests/bench-skeleton.c (main): Preheat CPU.
18292 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18294 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18296 2013-05-07 Roland McGrath <roland@hack.frob.com>
18298 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18299 and _dl_skip_args_internal.
18301 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18303 * manual/message.texi (Message Translation): Talk about users.
18304 Message to key mapping impacts design.
18306 2013-05-06 Roland McGrath <roland@hack.frob.com>
18308 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18310 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18312 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18313 * sysdeps/wordsize-64/glob64.c: ... here.
18315 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18316 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18319 * debug/getlogin_r_chk.c: Moved to ...
18320 * login/getlogin_r_chk.c: ... here.
18321 * debug/Makefile (routines): Move getlogin_r_chk to ...
18322 * login/Makefile (routines): ... here.
18323 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18324 * login/Versions (libc: GLIBC_2.4): ... here.
18326 * io/poll.c (__poll): Renamed from poll.
18327 Add libc_hidden_def.
18328 (poll): Define as weak alias.
18330 * debug/ptsname_r_chk.c: Moved to ...
18331 * login/ptsname_r_chk.c: ... here.
18332 * debug/Makefile (routines): Move ptsname_r_chk to ...
18333 * login/Makefile (routines): ... here.
18334 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18335 * login/Versions (libc: GLIBC_2.4): ... here.
18337 * posix/getlogin.c: Moved to ...
18338 * login/getlogin.c: ... here.
18339 * posix/getlogin_r.c: Moved to ...
18340 * login/getlogin_r.c: ... here.
18341 * posix/getlogin_r.c: Moved to ...
18342 * login/getlogin_r.c: ... here.
18343 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18344 * login/Makefile (routines): ... here.
18345 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18346 * login/Versions (libc: GLIBC_2.0): ... here.
18348 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18349 (setrlimit): Define as weak alias.
18351 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18352 Call __ names for open, ftruncate, and close.
18353 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18354 (truncate): Define as weak alias.
18356 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18358 * math/gen-libm-test.pl (parse_args): Initialize x before each
18359 test of frexp, modf and remquo.
18361 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18362 test signgam value.
18364 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18368 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18370 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18372 2013-05-06 Roland McGrath <roland@hack.frob.com>
18374 * elf/dl-writev.h: New file.
18375 * elf/dl-misc.c: Include it.
18376 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18377 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18379 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18381 * math/libm-test.inc (noXFails): Remove variable.
18382 (noXPasses): Likewise.
18383 (BUILD_COMPLEX_INT): Remove macro.
18384 (print_screen): Remove xfail argument.
18385 (print_screen_max_error): Likewise.
18386 (update_stats): Likewise.
18387 (print_max_error): Likewise. Update calls to other affected
18389 (print_complex_max_error): Likewise.
18390 (test_single_exception): Update calls to print_screen.
18391 (test_single_errno): Likewise.
18392 (check_float_internal): Remove xfail argument. Update calls to
18393 other affected functions.
18394 (check_float): Likewise.
18395 (check_complex): Likewise.
18396 (check_int): Likewise.
18397 (check_long): Likewise.
18398 (check_bool): Likewise.
18399 (check_longlong): Likewise.
18400 (main): Don't print noXFails and noXPasses.
18401 * math/gen-libm-test.pl (top level): Don't mention expected
18402 failure handling in comment.
18403 (new_test): Don't handle expected failures.
18404 (parse_args): Don't mention expected failure handling in comment.
18405 (generate_testfile): Don't handle expected failures.
18406 (parse_ulps): Likewise.
18407 (print_ulps_file): Likewise.
18408 (get_failure): Remove function.
18409 (output_test): Don't handle expected failures.
18410 * make/README.libm-test: Don't mention expected failure handling.
18412 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18413 (minus_zero): Likewise.
18414 (plus_infty): Likewise.
18415 (minus_infty): Likewise.
18416 (qnan_value): Likewise.
18417 (max_value): Likewise.
18418 (min_value): Likewise.
18419 (min_subnorm_value): Likewise.
18420 (initialize): Do not initialize those variables dynamically.
18422 2013-05-03 Roland McGrath <roland@hack.frob.com>
18424 * io/open.c (__open_2): Moved to ...
18425 * io/open_2.c: ... this new file.
18426 * io/open64.c (__open64_2): Moved to ...
18427 * io/open64_2.c: ... this new file.
18428 * io/openat.c (__openat_2): Moved to ...
18429 * io/openat_2.c: ... this new file.
18430 * io/openat64.c (__openat64_2): Moved to ...
18431 * io/openat64_2.c: ... this new file.
18432 * io/Makefile (routines): Add them.
18433 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18434 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18435 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18436 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18437 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18438 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18439 (__openat64): Add hidden_ver.
18440 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18441 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18443 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18444 Separately conditionalize setting of GLRO(dl_sysinfo) so
18445 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18446 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18448 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18450 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18451 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18453 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18454 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18455 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18456 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18457 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18459 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18461 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18462 test signgam value.
18464 * math/libm-test.inc (hypot_test): Do not use
18465 IGNORE_ZERO_INF_SIGN.
18467 2013-05-03 Andreas Jaeger <aj@suse.de>
18469 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18471 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18472 (PF_MAX): Adjust for VSOCK change.
18474 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18478 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18481 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18482 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18483 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18485 2013-05-02 David S. Miller <davem@davemloft.net>
18487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18489 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18491 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18493 2013-05-01 Roland McGrath <roland@hack.frob.com>
18495 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18497 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18500 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18501 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18502 Use __attribute__ ((__gnu_inline__)).
18503 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18504 Don't use __attribute__ ((__gnu_inline__)).
18506 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18509 * math/s_catan.c (__catan): Handle small real or imaginary part of
18510 input specially to avoid spurious underflow.
18511 * math/s_catanf.c (__catanf): Likewise.
18512 * math/s_catanh.c (__catanh): Likewise.
18513 * math/s_catanhf.c (__catanhf): Likewise.
18514 * math/s_catanhl.c (__catanhl): Likewise.
18515 * math/s_catanl.c (__catanl): Likewise.
18516 * math/libm-test.inc (catan_test): Add more tests.
18517 (catanh_test): Likewise.
18518 * sysdeps/i386/fpu/libm-test-ulps: Update.
18519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18521 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18525 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18528 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18529 accurately for denominator in atan2.
18530 * math/s_catanf.c (__catanf): Likewise.
18531 * math/s_catanh.c (__catanh): Likewise.
18532 * math/s_catanhf.c (__catanhf): Likewise.
18533 * math/s_catanhl.c (__catanhl): Likewise.
18534 * math/s_catanl.c (__catanl): Likewise.
18535 * math/libm-test.inc (catan_test): Add more tests.
18536 (catanh_test): Likewise.
18537 * sysdeps/i386/fpu/libm-test-ulps: Update.
18538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18540 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18542 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18544 * benchtests/Makefile (bench): Remove slow benchmarks.
18545 * benchtests/atan-inputs: Add slow benchmark inputs.
18546 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18547 (BENCH_FUNC): Accept variant offset.
18549 * benchtests/bench-skeleton.c (main): Run benchmark for each
18551 * benchtests/cos-inputs: Add slow benchmark inputs.
18552 * benchtests/exp-inputs: Likewise.
18553 * benchtests/pow-inputs: Likewise.
18554 * benchtests/sin-inputs: Likewise.
18555 * benchtests/slowatan-inputs: Remove.
18556 * benchtests/slowatan.c: Remove.
18557 * benchtests/slowcos-inputs: Remove.
18558 * benchtests/slowcos.c: Remove.
18559 * benchtests/slowexp-inputs: Remove.
18560 * benchtests/slowexp.c: Remove.
18561 * benchtests/slowpow-inputs: Remove.
18562 * benchtests/slowpow.c: Remove.
18563 * benchtests/slowsin-inputs: Remove.
18564 * benchtests/slowsin.c: Remove.
18565 * benchtests/slowtan-inputs: Remove.
18566 * benchtests/slowtan.c: Remove.
18567 * benchtests/tan-inputs: Add slow benchmark inputs.
18568 * scripts/bench.pl: Parse comments and directives.
18570 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18572 ($(objpfx)bench-%.c): Remove *-ITER.
18573 * benchtests/bench-modf.c: Remove definition of ITER.
18574 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18575 (main): Loop for DURATION seconds instead of fixed number of
18577 * scripts/bench.pl: Don't expect iterations in parameters.
18579 2013-04-29 Roland McGrath <roland@hack.frob.com>
18581 * io/fchdir.c (__fchdir): Renamed from fchdir.
18582 (fchdir): Define as weak alias.
18584 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18586 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18587 (ERRNO_EDOM): Likewise.
18588 (ERRNO_ERANGE): Likewise.
18589 (noErrnoTests): New variable.
18590 (init_max_error): Set errno to 0.
18591 (test_single_errno): New function.
18592 (test_errno): Likewise.
18593 (check_float_internal): Call test_errno. Set errno to 0.
18594 (check_complex): Refer to errno tests in comment.
18595 (check_int): Call test_errno. Set errno to 0.
18596 (check_long): Likewise.
18597 (check_bool): Likewise.
18598 (check_longlong): Likewise.
18599 (cos_test): Use ERRNO_* flags for errno tests instead of
18601 (expm1_test): Likewise.
18602 (fmod_test): Likewise.
18603 (ilogb_test): Likewise.
18604 (lgamma_test): Likewise.
18605 (pow_test): Likewise.
18606 (remainder_test): Likewise.
18607 (sin_test): Likewise.
18608 (tan_test): Likewise.
18609 (yn_test): Likewise.
18610 (initialize): Set errno to 0.
18611 (main): Print number of errno tests.
18612 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18614 2013-04-29 Andreas Jaeger <aj@suse.de>
18617 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18621 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18622 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18626 * stdlib/random.c (__initstate): Return NULL if
18630 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18631 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18634 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18638 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18640 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18641 of individual tests.
18642 (casin_test): Likewise.
18643 (casinh_test): Likewise.
18645 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18648 * math/s_catan.c (__catan): Handle arguments with large real or
18649 imaginary part separately without squaring.
18650 * math/s_catanf.c (__catanf): Likewise.
18651 * math/s_catanh.c (__catanh): Likewise.
18652 * math/s_catanhf.c (__catanhf): Likewise.
18653 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18655 (__catanhl): Handle arguments with large real or imaginary part
18656 separately without squaring.
18657 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18659 (__catanl): Handle arguments with large real or imaginary part
18660 separately without squaring.
18661 * math/libm-test.inc (catan_test): Add more tests.
18662 (catanh_test): Likewise.
18663 * sysdeps/i386/fpu/libm-test-ulps: Update.
18664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18666 2013-04-27 Andreas Jaeger <aj@suse.de>
18669 * stdlib/stdlib.h: Update guards for qecvt.
18670 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18673 2013-04-27 Allan McRae <allan@archlinux.org>
18675 * sysdeps/i386/fpu/libm-test-ulps: Update.
18677 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18680 * math/s_catan.c: Include <float.h>.
18681 (__catan): Ensure underflow exception occurs for underflowed
18683 * math/s_catanf.c: Include <float.h>.
18684 (__catanf): Ensure underflow exception occurs for underflowed
18686 * math/s_catanh.c: Include <float.h>.
18687 (__catanh): Ensure underflow exception occurs for underflowed
18689 * math/s_catanhf.c: Include <float.h>.
18690 (__catanhf): Ensure underflow exception occurs for underflowed
18692 * math/s_catanhl.c: Include <float.h>.
18693 (__catanhl): Ensure underflow exception occurs for underflowed
18695 * math/s_catanl.c: Include <float.h>.
18696 (__catanl): Ensure underflow exception occurs for underflowed
18698 * math/libm-test.inc (catan_test): Add more tests.
18699 (catanh_test): Likewise.
18702 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18703 underflowed result.
18704 * math/s_ccoshf.c (__ccoshf): Likewise.
18705 * math/s_ccoshl.c (__ccoshl): Likewise.
18706 * math/s_csin.c (__csin): Likewise.
18707 * math/s_csinf.c (__csinf): Likewise.
18708 * math/s_csinh.c (__csinh): Likewise.
18709 * math/s_csinhf.c (__csinhf): Likewise.
18710 * math/s_csinhl.c (__csinhl): Likewise.
18711 * math/s_csinl.c (__csinl): Likewise.
18712 * math/libm-test.inc (ccos_test): Add more tests.
18713 (ccosh_test): Likewise.
18714 (csin_test): Likewise.
18715 (csinh_test): Likewise.
18717 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18719 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18720 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18721 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18722 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18723 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18724 powerpc/power5+/fpu folders.
18725 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18728 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18732 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18734 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18735 additions to variable.
18736 [$(config-machine) = x86_64] (modules-names): Likewise.
18737 ($(objpfx)tst-audit3): Remove dependency.
18738 ($(objpfx)tst-audit3.out): Likewise.
18739 ($(objpfx)tst-audit4): Likewise.
18740 ($(objpfx)tst-audit4.out): Likewise.
18741 ($(objpfx)tst-audit5): Likewise.
18742 ($(objpfx)tst-audit5.out): Likewise.
18743 ($(objpfx)tst-audit6): Likewise.
18744 ($(objpfx)tst-audit6.out): Likewise.
18745 ($(objpfx)tst-audit7): Likewise.
18746 ($(objpfx)tst-audit7.out): Likewise.
18747 (tst-audit3-ENV): Remove variable.
18748 (tst-audit4-ENV): Likewise.
18749 (tst-audit5-ENV): Likewise.
18750 (tst-audit6-ENV): Likewise.
18751 (tst-audit7-ENV): Likewise.
18752 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18753 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18754 addition to variable.
18755 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18756 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18757 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18758 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18759 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18760 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18761 tst-audit3, tst-audit4 and tst-audit5.
18762 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18763 tst-audit6 and tst-audit7.
18764 [$(subdir) = elf] (modules-names): Add audit modules for those
18766 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18767 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18768 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18769 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18770 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18771 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18772 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18773 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18774 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18775 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18776 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18777 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18778 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18779 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18780 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18781 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18783 [$(subdir) = elf && $(config-cflags-avx) = yes]
18784 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18785 [$(subdir) = elf && $(config-cflags-avx) = yes]
18786 (CFLAGS-tst-auditmod4a.c): Likewise.
18787 [$(subdir) = elf && $(config-cflags-avx) = yes]
18788 (CFLAGS-tst-auditmod4b.c): Likewise.
18789 [$(subdir) = elf && $(config-cflags-avx) = yes]
18790 (CFLAGS-tst-auditmod6b.c): Likewise.
18791 [$(subdir) = elf && $(config-cflags-avx) = yes]
18792 (CFLAGS-tst-auditmod6c.c): Likewise.
18793 [$(subdir) = elf && $(config-cflags-avx) = yes]
18794 (CFLAGS-tst-auditmod7b.c): Likewise.
18795 * elf/tst-audit3.c: Move to ...
18796 * sysdeps/x86_64/tst-audit3.c: ... here.
18797 * elf/tst-audit4.c: Move to ...
18798 * sysdeps/x86_64/tst-audit4.c: ... here.
18799 * elf/tst-audit5.c: Move to ...
18800 * sysdeps/x86_64/tst-audit5.c: ... here.
18801 * elf/tst-audit6.c: Move to ...
18802 * sysdeps/x86_64/tst-audit6.c: ... here.
18803 * elf/tst-audit7.c: Move to ...
18804 * sysdeps/x86_64/tst-audit7.c: ... here.
18805 * elf/tst-auditmod3a.c: Move to ...
18806 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18807 * elf/tst-auditmod3b.c: Move to ...
18808 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18809 * elf/tst-auditmod4a.c: Move to ...
18810 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18811 * elf/tst-auditmod4b.c: Move to ...
18812 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18813 * elf/tst-auditmod5a.c: Move to ...
18814 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18815 * elf/tst-auditmod5b.c: Move to ...
18816 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18817 * elf/tst-auditmod6a.c: Move to ...
18818 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18819 * elf/tst-auditmod6b.c: Move to ...
18820 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18821 * elf/tst-auditmod6c.c: Move to ...
18822 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18823 * elf/tst-auditmod7a.c: Move to ...
18824 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18825 * elf/tst-auditmod7b.c: Move to ...
18826 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18828 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18831 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18832 define unconditionally.
18833 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18834 define unconditionally.
18835 (INT8_C, INT16_C, etc.): Likewise.
18837 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18839 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18840 __ehdr_start with hidden visibility.
18842 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18844 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18846 * math/libm-test.inc (cos_test): Use accurate hex constants.
18847 (sincost_test): Likewise.
18849 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18851 * math/libm-test.inc (catan_test): Add more tests.
18852 (catanh_test): Likewise.
18854 * math/s_catanf.c (__catanf): Use suffixed floating-point
18856 * math/s_catanhf.c (__catanhf): Likewise.
18857 * math/s_catanhl.c (__catanhl): Likewise.
18858 * math/s_catanl.c (__catanl): Likewise.
18861 * math/s_catan.c (__catan): Calculate imaginary part of result
18862 with log1p not log unless computing log of number close to 0.
18863 * math/s_catanf.c (__catanf): Likewise.
18864 * math/s_catanl.c (__catanl): Likewise.
18865 * math/s_catanh.c (__catanh): Calculate real part of result with
18866 log1p not log unless computing log of number close to 0.
18867 * math/s_catanhf.c (__catanhf): Likewise.
18868 * math/s_catanhl.c (__catanhl): Likewise.
18869 * math/libm-test.inc (catan_test): Add more tests.
18870 (catanh_test): Likewise.
18871 * sysdeps/i386/fpu/libm-test-ulps: Update.
18872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18874 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18876 * benchtests/Makefile: Mention files in which fast and slow
18877 paths of math functions are implemented.
18879 2013-04-23 Roland McGrath <roland@hack.frob.com>
18881 * sysdeps/posix/timespec_get.c: New file.
18883 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18885 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18887 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18889 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18890 powerpc/power5/fpu folders.
18891 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18892 * benchtests/Makefile: Add modf testcase.
18893 * benchtests/bench-modf.c: New file: Benchmark test for mo
18895 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18898 * time/Makefile (tests): Add tst-strptime-whitespace.
18899 * time/strptime_l.c (get_number): Use ISSPACE.
18900 (__strptime_internal): Likewise.
18901 * time/tst-strptime-whitespace.c: New test case.
18903 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18905 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18907 (_nss_files_init): Set it here.
18909 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18911 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18912 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18915 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18917 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18919 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18921 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18924 2013-04-21 David S. Miller <davem@davemloft.net>
18926 * po/ru.po: Update Russion translation from translation project.
18928 2013-04-17 Adam Conrad <adconrad@0c3.net>
18930 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18933 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18935 * configure.in: Remove i386 configure warning. Remove i386 case.
18936 * configure: Regenerate.
18937 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18938 Add example to error message.
18939 * sysdeps/i386/configure: Regenerate.
18941 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18943 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18945 * benchtests/cos-inputs: New file.
18946 * benchtests/slowcos-inputs: New file.
18947 * benchtests/slowcos.c: New file.
18948 * benchtests/slowtan-inputs: New file.
18949 * benchtests/slowtan.c: New file.
18950 * benchtests/tan-inputs: New file.
18952 2013-04-16 Roland McGrath <roland@hack.frob.com>
18954 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18957 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18959 * benchtests/Makefile: Include cppflags-iterator.mk to add
18960 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18962 * Makefile.in (bench-clean): New target.
18963 * benchtests/Makefile (bench-clean): Likewise.
18965 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18967 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18969 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18971 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18973 2013-04-15 Andreas Schwab <schwab@suse.de>
18975 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18976 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18977 * nscd/pwdcache.c (cache_addpw): Likewise.
18978 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18981 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18983 * benchtests/Makefile (bench): Write all output to
18984 bench-out.tmp together.
18986 2013-04-15 Andreas Schwab <schwab@suse.de>
18988 * nscd/nscd.c (main): Don't fork again after closing files.
18990 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18992 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18994 * benchtests/Rules (bench-deps): Collect dependencies into a
18995 single variable. Add Makefile to dependencies.
18996 ($(objpfx)bench-%.c): Depend on bench-deps.
18998 2013-04-12 Roland McGrath <roland@hack.frob.com>
18999 Xavier Roche <roche+kml2@exalead.com>
19002 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19003 just that it's a file descriptor.
19004 * manual/llio.texi (Synchronizing AIO Operations): Update description
19005 for EBADF error from aio_fsync.
19007 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19009 * Rules (bench): Move target definition...
19010 * benchtests/Makefile: ... here.
19012 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19014 * math/libm-test.inc (cos_test): Fix PI/2 test.
19015 (sincos_test): Likewise.
19016 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19017 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19019 2013-04-11 Andreas Schwab <schwab@suse.de>
19022 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19023 accept exponent character only when digits were seen.
19024 * stdio-common/Makefile (tests): Add bug26.
19025 * stdio-common/bug26.c: New file.
19028 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19031 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19033 * Makeconfig (rtld-prefix): Define built linker prefix.
19034 * Rules (run-bench): Use it.
19035 * math/Makefile (run-regen-ulps): Likewise.
19037 * Rules (bench): Remove eval.
19039 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19040 Roland McGrath <roland@hack.frob.com>
19041 Ondrej Bilka <neleai@seznam.cz>
19044 * time/getdate.c: Include ctype.h and alloca.h.
19045 (__getdate_r): Trim leading and trailing spaces of input.
19046 * time/tst-getdate.c (tests): Add tests with leading and
19049 2013-04-08 Roland McGrath <roland@hack.frob.com>
19052 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19053 when computing value.
19055 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19057 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19058 Use testrun.sh to run libm tests.
19061 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19063 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19066 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19068 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19070 * Makefile.in (regen-ulps): New target.
19071 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19072 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19073 [ifneq (no,$(PERL)] (regen-ulps): New target.
19074 [ifeq (no,$(PERL)] (regen-ulps): New target.
19075 * math/libm-test.inc (ulps_file_name): Define.
19076 (output_dir): New variable.
19077 (options): Add "output-dir" option.
19078 (parse_opt): Handle 'o' case.
19079 (main): If output_dir is non-NULL use it as a prefix
19081 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19083 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19085 [BZ #10060, #10062]
19086 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19087 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19088 fail configure if __sync_val_compare_and_swap is not inlined.
19089 * sysdeps/i386/configure: Regenerate.
19090 * configure.in: Build for i686 when configured for i386.
19091 * configure: Regenerate.
19092 * README: Remove i386 reference.
19094 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19096 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19097 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19099 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19101 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19102 (lmsnanval): New variables.
19103 (F): Add conversion tests.
19104 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19105 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19107 * stdio-common/tstdiomisc.c (F): Properly collect individual
19110 [BZ #14686, #15336]
19111 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19112 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19113 Instead, use input NaN values or generate a qNaN by arithmetic
19114 operation. Also fix bugs to comply with the standard.
19115 * math/libm-test.inc (remainder_test): Add more tests.
19117 [BZ #15335, #15342]
19118 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19119 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19120 input NaN values or generate a qNaN by arithmetic operation.
19122 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19125 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19128 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19131 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19132 underflowed result.
19133 * math/s_cexpf.c (__cexpf): Likewise.
19134 * math/s_cexpl.c (__cexpl): Likewise.
19135 * math/libm-test.inc (cexp_test): Add more tests.
19137 2013-04-03 Andreas Schwab <schwab@suse.de>
19140 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19141 order arrays from heap if bigger than alloca cutoff.
19143 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19145 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19146 (SNAN_TESTS_double): Refer to GCC PR56831.
19147 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19150 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19152 * Rules (bench): Move bench.out after the run is complete.
19154 * Rules (bench): Echo currently running benchmark.
19156 * benchtests/Makefile (bench): Add atan and slowatan.
19157 * benchtests/atan-inputs: New file.
19158 * benchtests/slowatan-inputs: New file.
19159 * benchtests/slowatan.c: New file.
19161 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19162 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19166 * sysdeps/unix/sysv/linux/kernel-features.h
19167 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19168 __ASSUME_XFS_RESTRICTED_CHOWN.
19169 * sysdeps/unix/sysv/linux/pathconf.c
19170 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19171 Save and restore errno.
19173 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19176 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19177 arguments using __kernel_casinh.
19178 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19179 arguments using __kernel_casinhf.
19180 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19181 arguments using __kernel_casinhl.
19182 * math/libm-test.inc (cacosh_test): Add more tests.
19183 * sysdeps/i386/fpu/libm-test-ulps: Update.
19184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19186 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19188 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19189 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19191 * bench/Makefile (bench): Add sin and slowsin.
19192 * benchtests/sin-inputs: New file.
19193 * benchtests/slowsin-inputs: New file.
19194 * benchtests/slowsin.c: New file.
19196 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19197 (bench): Add slowexp and slowpow.
19198 (exp-ITER): Increase iterations.
19199 (pow-ITER): Likewise.
19200 * benchtests/exp-inputs: Change input.
19201 * benchtests/pow-inputs: Likewise.
19202 * benchtests/slowexp-inputs: New file.
19203 * benchtests/slowexp.c: New file.
19204 * benchtests/slowpow-inputs: New file.
19205 * benchtests/slowpow.c: New file.
19207 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19209 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19211 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19212 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19213 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19214 * benchtests/Makefile: Add rint benchtest.
19215 * benchtests/rint-inputs: Input for rint benchtest.
19217 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19219 * Versions.def (libm): Add GLIBC_2.18.
19220 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19221 hidden libm prototypes.
19222 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19223 * math/Makefile (libm-calls): Add s_issignaling.
19224 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19225 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19226 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19228 * math/math.h [__USE_GNU] (issignaling): New macro.
19229 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19230 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19231 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19232 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19233 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19234 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19235 * manual/arith.texi (issignaling): New section.
19236 * manual/libm-err-tab.pl (@all_functions): Update comment.
19237 * math/gen-libm-test.pl (parse_args): Apply special handling for
19239 * math/libm-test.inc (print_float, issignaling_test): New
19241 (check_float_internal): Add issignaling checks.
19242 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19243 default definition.
19244 * sysdeps/powerpc/math-tests.h: New file.
19245 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19247 * math/test-snan.c (TEST_FUNC): Likewise.
19249 2013-03-30 David S. Miller <davem@davemloft.net>
19251 * po/de.po: Update from translation team.
19253 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19256 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19257 imaginary part less than 1.0 and real part less than 0.5
19259 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19260 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19261 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19262 (cacos_test): Add more tests.
19263 (casin_test): Likewise.
19264 (casinh_test): Likewise.
19265 * sysdeps/i386/fpu/libm-test-ulps: Update.
19266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19268 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19270 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19271 ONE with its value.
19273 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19274 (__pow_mp): Replace ONE and MONE with their values.
19275 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19276 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19277 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19278 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19279 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19280 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19282 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19284 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19285 (__pow_mp): Replace ZERO and MZERO with their values.
19286 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19287 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19288 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19290 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19291 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19294 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19296 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19298 2013-03-28 Roland McGrath <roland@hack.frob.com>
19300 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19301 Declare with __attribute__ ((weak)).
19302 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19303 Call __call_tls_dtors only if it's not NULL.
19305 2013-03-28 Roland McGrath <roland@hack.frob.com>
19307 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19308 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19309 magic __ehdr_start linker symbol if it's defined.
19310 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19311 them up here if it was already done.
19313 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19314 (_dl_aux_init): Use const in cast when setting it.
19315 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19316 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19317 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19319 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19321 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19322 * csu/libc-tls.c: Nor here.
19323 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19325 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19326 (__libc_message): Never call vsyslog.
19328 2013-03-28 Alan Modra <amodra@gmail.com>
19330 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19332 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19335 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19338 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19342 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19345 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19346 Don't add gid passed as argument.
19348 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19350 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19353 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19354 imaginary part between 1.0 and 1.5 and real part less than 0.5
19356 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19357 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19358 * math/libm-test.inc (cacos_test): Add more tests.
19359 (casin_test): Likewise.
19360 (casinh_test): Likewise.
19361 * sysdeps/i386/fpu/libm-test-ulps: Update.
19362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19364 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19366 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19369 (denorm): Likewise.
19370 (__dbl_mp): Likewise.
19371 (add_magnitudes): Likewise.
19372 (sub_magnitudes): Likewise.
19380 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19382 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19383 (__dubcos): Likewise.
19384 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19385 (__ieee754_acos): Likewise.
19386 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19387 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19388 (__exp1): Likewise.
19389 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19390 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19392 (my_log2): Likewise.
19393 (checkint): Likewise.
19394 * sysdeps/ieee754/dbl-64/e_remainder.c
19395 (__ieee754_remainder): Likewise.
19396 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19397 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19398 (bsloww): Likewise.
19399 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19401 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19402 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19403 MANTISSA_STORE_T to store computations on mantissa. Use
19404 macros for rounding and division.
19405 (denorm): Likewise.
19406 (__dbl_mp): Likewise.
19407 (add_magnitudes): Likewise.
19408 (sub_magnitudes): Likewise.
19411 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19412 powers of two in terms of TWOPOW macro.
19413 (mp_no): Make type of mantissa as MANTISSA_T.
19414 [!RADIXI]: Define RADIXI.
19415 [!TWO52]: Define TWO52.
19416 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19418 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19420 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19421 llroundl symbol when building for PPC32.
19423 2013-03-24 Mark H Weaver <mhw@netris.org>
19425 * manual/arith.texi (Normalization Functions): Fix prototypes for
19426 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19428 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19431 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19432 high value to check if expl overflow.
19433 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19434 to check for underflow and overflow.
19435 * math/libm-test.inc: Add exp test.
19437 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19440 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19443 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19445 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19448 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19450 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19451 wrap blocks consisting of several statements.
19453 * sysdeps/generic/math-tests.h: New file.
19454 * sysdeps/i386/fpu/math-tests.h: Likewise.
19455 * math/test-snan.c: Include it.
19456 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19458 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19461 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19462 (__ieee754_j0l): Do not improve calculations using cos of twice
19463 input for inputs above LDBL_MAX / 2.0L.
19464 (__ieee754_y0l): Likewise.
19465 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19466 (__ieee754_j1l): Do not improve calculations using cos of twice
19467 input for inputs above LDBL_MAX / 2.0L.
19468 (__ieee754_y1l): Likewise.
19469 * math/libm-test.inc (j0_test): Add another test.
19470 (j1_test): Likewise.
19471 (y0_test): Likewise.
19472 (y1_test): Likewise.
19473 * sysdeps/i386/fpu/libm-test-ulps: Update.
19475 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19477 * Rules ($(objpfx)bench-%.c): Include code from a C source
19480 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19483 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19484 imaginary part 1.0 and real part less than 0.5 specially.
19485 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19486 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19487 * math/libm-test.inc (cacos_test): Add more tests.
19488 (casin_test): Likewise.
19489 (casinh_test): Likewise.
19490 * sysdeps/i386/fpu/libm-test-ulps: Update.
19491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19493 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19495 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19496 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19498 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19500 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19501 * config.make.in (config-cflags-sse4): Remove variable.
19502 (config-cflags-avx): Likewise.
19503 (config-cflags-sse2avx): Likewise.
19504 (config-cflags-novzeroupper): Likewise.
19505 (config-asflags-i686): Likewise.
19506 (have-mfma4): Likewise.
19507 (have-as-vis3): Likewise.
19509 * configure.in (MIG): Do not AC_SUBST.
19510 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19511 (libc_cv_cc_sse4): Do not AC_SUBST.
19512 (libc_cv_cc_avx): Likewise.
19513 (libc_cv_cc_sse2avx): Likewise.
19514 (libc_cv_cc_novzeroupper): Likewise.
19515 (libc_cv_cc_fma4): Likewise.
19516 (libc_cv_as_i686): Likewise.
19517 (libc_cv_sparc_as_vis3): Likewise.
19518 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19520 (config-asflags-i686): Likewise.
19521 (config-cflags-avx): Likewise.
19522 (config-cflags-sse2avx): Likewise.
19523 (have-mfma4): Likewise.
19524 (config-cflags-novzeroupper): Likewise.
19525 * sysdeps/mach/configure.in (MIG): Likewise.
19526 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19527 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19529 (config-cflags-avx): Likewise.
19530 (config-cflags-sse2avx): Likewise.
19531 (have-mfma4): Likewise.
19532 (config-cflags-novzeroupper): Likewise.
19533 * configure: Regenerated.
19534 * sysdeps/i386/configure: Likewise.
19535 * sysdeps/mach/configure: Likewise.
19536 * sysdeps/sparc/configure: Likewise.
19537 * sysdeps/x86_64/configure: Likewise.
19539 2013-03-20 Roland McGrath <roland@hack.frob.com>
19542 * locale/programs/localedef.c (options): Put N_ translation marker
19543 on argument names, not just descriptions.
19545 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19547 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19549 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19552 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19554 2013-03-19 Roland McGrath <roland@hack.frob.com>
19556 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19557 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19558 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19559 [!BEFORE_ABORT] (before_abort): New function.
19560 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19561 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19562 (writev_for_fatal): New function.
19563 (WRITEV_FOR_FATAL): New macro; call that.
19564 (backtrace_and_maps): New function.
19565 (BEFORE_ABORT): New macro; call that.
19566 (struct str_list): Type removed.
19567 (__libc_message, __libc_fatal): Functions removed.
19568 Include <sysdeps/posix/libc_fatal.c> instead.
19570 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19572 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19574 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19577 2013-03-19 Andreas Schwab <schwab@suse.de>
19579 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19580 * sysdeps/gnu/configure: Regenerate.
19582 * configure.in: Substitute libc_cv_rtlddir.
19583 * configure: Regenerate.
19584 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19585 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19586 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19587 * elf/Makefile (install-others, CFLAGS-interp.c)
19588 (ldso_install, common-ldd-rewrite): Likewise.
19589 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19590 $(inst_slibdir)/$(rtld-installed-name).
19591 * scripts/rellns-sh: Add -p option.
19592 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19595 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19597 * manual/nptl.texi: Renamed to ...
19598 * manual/threads.texi: ... this.
19599 * manual/Makefile (chapters): Update.
19601 2013-03-18 Roland McGrath <roland@hack.frob.com>
19604 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19605 on argument names, not just descriptions.
19606 * malloc/memusagestat.c (options): Likewise.
19607 * nss/getent.c (options): Likewise.
19609 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19612 * iconv/iconv_prog.c (options): Put N_ translation marker
19613 on argument names, not just descriptions.
19614 * iconv/iconvconfig.c (options): Likewise.
19616 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19618 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19619 implementation which is faster on all x86_64 architectures.
19620 Tested on AMD, Intel Nehalem, SNB, IVB.
19621 * sysdeps/x86_64/strnlen.S: Likewise.
19623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19624 Remove all multiarch strlen and strnlen versions.
19625 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19626 Remove strlen and strnlen related parts.
19628 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19629 Inline strlen part.
19630 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19632 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19633 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19634 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19635 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19636 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19637 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19639 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19641 * manual/memory.texi (Malloc Tunable Parameters):
19642 Sort parameters alphabetically. Add comments for missing entries.
19644 2013-03-17 David S. Miller <davem@davemloft.net>
19646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19648 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19651 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19652 for arguments at most half maximum finite value.
19653 * math/libm-test.inc (j0_test): Add more tests.
19654 (j1_test): Likewise.
19655 (y0_test): Likewise.
19656 (y1_test): Likewise.
19657 * sysdeps/i386/fpu/libm-test-ulps: Update.
19658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19661 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19662 1 / x and functions P and Q for arguments above 0x1p256L.
19663 (__ieee754_y0l): Likewise.
19664 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19665 (__ieee754_y1l): Likewise.
19666 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19667 (j1_test): Likewise.
19668 (y0_test): Likewise.
19669 (y1_test): Likewise.
19671 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19673 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19676 2013-03-15 Roland McGrath <roland@hack.frob.com>
19678 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19679 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19680 zero since it's initialized to EXEC_PAGESIZE.
19682 * sysdeps/unix/sysv/linux/ldsodefs.h
19683 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19684 * sysdeps/generic/ldsodefs.h: ... here.
19686 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19688 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19690 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19692 * math/test-snan.c: Renamed from
19693 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19694 * math/Makefile (tests): Add test-snan.
19695 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19698 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19699 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19701 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19702 __builtin_nan family of functions.
19703 * math/libm-test.inc (initialize): Initialize qnan_value with
19704 __builtin_nan family of functions.
19705 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19707 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19709 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19710 storage class. Initialize qNaN_var and sNaN_var with
19711 __builtin_nan and __builtin_nans families of functions,
19714 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19715 (sqrt_test): Remove duplicate test with qNaN input.
19716 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19717 (round_test, signbit_test, significand_test): Note missing +/-Inf
19718 as well as qNaN tests.
19720 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19721 qNaN_var. Fix a few strings, too.
19722 * math/libm-test.inc (nan_value): Rename to qnan_value.
19723 * math/gen-libm-test.pl (%beautify): Adjust to that.
19724 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19725 * math/test-misc.c (main): Likewise.
19726 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19727 to __qnan_bytes, and __qnan_union, respectively.
19728 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19730 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19731 and lqnanval, respectively.
19732 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19733 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19734 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19735 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19737 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19738 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19741 * math/test-misc.c (main): Fix copy'n'pastos.
19742 * misc/tst-efgcvt.c (special): Likewise.
19744 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19745 Remove declarations.
19747 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19749 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19750 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19751 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19752 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19754 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19756 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19757 macro to return vdso values correctly in IFUNC implementations.
19758 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19759 Optimization by using IFUNC.
19761 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19762 Richard Henderson <rth@redhat.com>
19763 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19765 * Makefile.in (bench): New target.
19766 * NEWS: Mention the benchmark framework.
19767 * Rules (bench): Likewise.
19768 (binaries-bench): Generate binaries for functions to
19770 * benchtests/Makefile: New makefile for benchmark tests.
19771 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19773 * benchtests/exp-inputs: New input file for EXP function.
19774 * benchtests/pow-inputs: New input file for POW function.
19775 * scripts/bench.pl: New script to generate source files for
19776 benchmark programs.
19778 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19780 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19781 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19782 computations on mantissa. Use macros for rounding and
19784 (denorm): Likewise.
19785 (__dbl_mp): Likewise.
19786 (add_magnitudes): Likewise.
19787 (sub_magnitudes): Likewise.
19790 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19791 powers of two in terms of TWOPOW macro.
19792 (mp_no): Make type of mantissa as MANTISSA_T.
19793 [!RADIXI]: Define RADIXI.
19794 [!TWO52]: Define TWO52.
19795 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19797 * manual/nptl.texi (cindex): Modify threads to pthreads.
19799 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19801 * sysdeps/x86_64/preconfigure: Regenerated.
19803 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19806 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19808 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19809 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19811 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19812 * math/libm-test.inc (j0_test): Do not allow one spurious
19813 underflow exception.
19814 (y1_test): Likewise.
19816 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19818 * manual/Makefile (chapters): Add nptl.
19819 * manual/debug.texi (Debugging Support): Add link to Threads
19821 * manual/nptl.texi: New file.
19823 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19825 2013-03-14 Petr Baudis <pasky@ucw.cz>
19827 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19828 for non-NULL pointer before the memory validity test. Pointed
19829 out by Holger Brunck <holger.brunck@keymile.com>.
19831 2013-03-13 Andreas Schwab <schwab@suse.de>
19833 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19836 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19838 * timezone/zic.c: Update from tzcode 2013b.
19840 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19842 * manual/install.texi (Configuring and compiling):
19843 Mention i686 and i586.
19844 * INSTALL: Regenerate.
19846 2013-03-12 Roland McGrath <roland@hack.frob.com>
19848 * sysdeps/init_array/elf-init.c: New file.
19850 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19851 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19853 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19854 __gmon_start__ as global, but as static with a .preinit_array pointer.
19855 * sysdeps/init_array/gmon-start.c: New file. Use that.
19856 * sysdeps/init_array/crti.S: New file, empty except for comments.
19857 * sysdeps/init_array/crtn.S: Likewise.
19859 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19861 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19864 Remove Prefer_SSE_for_memop.
19865 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19866 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19867 HAS_PREFER_SSE_FOR_MEMOP.
19868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19870 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19871 Remove bzero, memset ifunc support.
19872 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19873 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19874 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19875 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19877 2013-03-11 Andreas Schwab <schwab@suse.de>
19880 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19883 (GLIBC_2.16): Remove pthread_atfork.
19885 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19887 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19888 (ptestcases.h): Likewise.
19890 2013-03-08 Roland McGrath <roland@hack.frob.com>
19892 * Makeconfig ($(common-objpfx)config.status): Depend on
19893 sysdeps/*/preconfigure{,.in} too.
19895 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19897 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19898 (__free_hook): Use void * instead of __malloc_ptr_t.
19899 (__malloc_hook): Likewise.
19900 (__realloc_hook): Likewise.
19901 (__memalign_hook): Likewise.
19902 (__after_morecore_hook): Likewise.
19903 * malloc/arena.c (save_malloc_hook): Likewise.
19904 (save_free_hook): Likewise.
19905 * malloc/hooks.c (malloc_hook_ini): Likewise.
19906 (realloc_hook_ini): Likewise.
19907 (memalign_hook_ini): Likewise.
19908 * malloc/malloc.c (malloc_hook_ini): Likewise.
19909 (realloc_hook_ini): Likewise.
19910 (memalign_hook_ini): Likewise.
19911 (__free_hook): Likewise.
19912 (__malloc_hook): Likewise.
19913 (__realloc_hook): Likewise.
19914 (__memalign_hook): Likewise.
19915 (__libc_malloc): Likewise.
19916 (__libc_free): Likewise.
19917 (__libc_realloc): Likewise.
19918 (__libc_memalign): Likewise.
19919 (__libc_valloc): Likewise.
19920 (__libc_pvalloc): Likewise.
19921 (__libc_calloc): Likewise.
19922 (__posix_memalign): Likewise.
19923 * malloc/morecore.c (__sbrk): Likewise.
19924 (__default_morecore): Likewise.
19926 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19928 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19929 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19930 __malloc_ptrdiff_t.
19932 * malloc/malloc.h (__malloc_size_t): Remove macro.
19933 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19935 (old_memalign_hook): Likewise.
19936 (old_realloc_hook): Likewise.
19937 (struct hdr): Likewise.
19939 (mallochook): Likewise.
19940 (memalignhook): Likewise.
19941 (reallochook): Likewise.
19942 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19943 (tr_old_realloc_hook): Likewise.
19944 (tr_old_memalign_hook): Likewise.
19945 (tr_mallochook): Likewise.
19946 (tr_reallochook): Likewise.
19947 (tr_memalignhook): Likewise.
19949 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19951 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19952 default_ldbl_pack and using as default implementation.
19953 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19955 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19956 redundant definition.
19957 (ldbl_insert_mantissa): Likewise.
19958 (ldbl_canonicalize): Likewise.
19959 (ldbl_nearbyint): Likewise.
19960 (ldbl_pack): Rename to ldbl_pack_ppc.
19961 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19962 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19963 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19965 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19968 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19969 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19970 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19972 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19973 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19974 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19976 2013-03-07 Andreas Jaeger <aj@suse.de>
19978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19981 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19983 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19984 Include mpa.h and declare __MPEXP.
19985 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19986 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19987 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19988 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19989 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19990 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19991 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19993 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19994 (__slowpow): Use long double EXPL and LOGL functions to
19996 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19997 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19998 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19999 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20000 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20001 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20004 intermediate variable to calculate exponent.
20006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20010 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20011 [!NO__SQR]: Define __sqr.
20012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20013 and NO__SQR. Remove all code except __mul and __sqr. Include
20014 sysdeps/ieee754/dbl-64/mpa.c.
20015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20018 * posix/Makefile (tests): Add tst-pathconf.
20019 * posix/tst-pathconf.c: New test case.
20020 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20022 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20024 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20026 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20028 2013-03-06 Andreas Jaeger <aj@suse.de>
20030 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20031 definition via __MAP_ANONYMOUS.
20033 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20034 it's not part of Linux headers.
20036 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20037 (MAP_HUGE_MASK): Define.
20039 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20041 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20042 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20044 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20045 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20047 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20048 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20050 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20052 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20053 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20054 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20055 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20056 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20057 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20059 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20062 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20063 Handle f2fs and efivarfs.
20065 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20068 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20069 (EFIVARFS_MAGIC): Add.
20070 (F2FS_LINK_MAX): Add.
20072 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20074 * stdio-common/vfprintf.c: Replace __builtin_expect with
20077 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20080 * sysdeps/generic/bp-sym.h: Remove file.
20081 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20082 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20083 <bp-sym.h> and <bp-asm.h>.
20084 (__longjmp): Don't use BP_SYM.
20085 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20087 (memcpy): Don't use BP_SYM.
20088 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20089 <bp-sym.h> and <bp-asm.h>.
20090 (memcpy): Don't use BP_SYM.
20091 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20093 (memcpy): Don't use BP_SYM.
20094 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20096 (memset): Don't use BP_SYM.
20097 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20098 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20099 (__bzero): Don't use BP_SYM.
20100 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20101 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20102 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20103 <bp-sym.h> and <bp-asm.h>.
20104 (memcmp): Don't use BP_SYM. Remove comment about bounded
20106 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20107 <bp-sym.h> and <bp-asm.h>.
20108 (memcpy): Don't use BP_SYM.
20109 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20110 <bp-sym.h> and <bp-asm.h>.
20111 (memset): Don't use BP_SYM.
20112 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20113 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20114 (__bzero): Don't use BP_SYM.
20115 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20116 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20117 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20118 <bp-sym.h> and <bp-asm.h>.
20119 (strncmp): Don't use BP_SYM. Remove comment about bounded
20121 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20122 <bp-sym.h> and <bp-asm.h>.
20123 (memcpy): Don't use BP_SYM.
20124 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20125 <bp-sym.h> and <bp-asm.h>.
20126 (memset): Don't use BP_SYM.
20127 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20128 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20129 (__bzero): Don't use BP_SYM.
20130 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20131 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20132 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20133 <bp-sym.h> and <bp-asm.h>.
20134 (__memchr): Don't use BP_SYM.
20135 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20136 <bp-sym.h> and <bp-asm.h>.
20137 (memcmp): Don't use BP_SYM. Remove comment about bounded
20139 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20140 <bp-sym.h> and <bp-asm.h>.
20141 (memcpy): Don't use BP_SYM.
20142 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20143 <bp-sym.h> and <bp-asm.h>.
20144 (__mempcpy): Don't use BP_SYM.
20145 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20146 <bp-sym.h> and <bp-asm.h>.
20147 (__memrchr): Don't use BP_SYM.
20148 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20149 <bp-sym.h> and <bp-asm.h>.
20150 (memset): Don't use BP_SYM.
20151 (__bzero): Likewise.
20152 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20153 <bp-sym.h> and <bp-asm.h>.
20154 (__rawmemchr): Don't use BP_SYM.
20155 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20156 <bp-sym.h> and <bp-asm.h>.
20157 (__STRCMP): Don't use BP_SYM.
20158 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20159 <bp-sym.h> and <bp-asm.h>.
20160 (strchr): Don't use BP_SYM.
20161 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20162 <bp-sym.h> and <bp-asm.h>.
20163 (__strchrnul): Don't use BP_SYM.
20164 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20165 <bp-sym.h> and <bp-asm.h>.
20166 (strlen): Don't use BP_SYM.
20167 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20168 <bp-sym.h> and <bp-asm.h>.
20169 (strncmp): Don't use BP_SYM. Remove comment about bounded
20171 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20172 <bp-sym.h> and <bp-asm.h>.
20173 (__strnlen): Don't use BP_SYM.
20174 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20175 <bp-sym.h> and <bp-asm.h>.
20176 (__GI__setjmp): Don't use BP_SYM.
20177 (_setjmp): Likewise.
20178 (__sigsetjmp): Likewise.
20179 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20180 (L(start_addresses)): Don't use BP_SYM.
20181 (_start): Likewise.
20182 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20184 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20185 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20186 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20187 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20188 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20190 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20191 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20192 about bounded pointers.
20193 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20194 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20195 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20197 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20198 about bounded pointers. Remove GKM FIXME comments.
20199 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20200 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20202 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20203 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20204 Remove GKM FIXME comments.
20205 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20206 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20207 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20209 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20210 about bounded pointers. Remove GKM FIXME comment.
20211 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20213 (strncmp): Don't use BP_SYM. Remove comment about bounded
20215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20216 <bp-sym.h> and <bp-asm.h>.
20217 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20219 <bp-sym.h> and <bp-asm.h>.
20220 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20223 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20225 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20228 2013-03-05 David S. Miller <davem@davemloft.net>
20230 * po/es.po: Update from translation team.
20232 2013-03-05 Andreas Jaeger <aj@suse.de>
20234 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20235 <bits/mman-linux.h>.
20236 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20238 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20239 <bits/mman-linux.h> to end of file.
20240 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20242 * sysdeps/unix/sysv/linux/x86/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/sparc/bits/mman.h: Move include of
20247 <bits/mman-linux.h> to end of file.
20249 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20250 (MCL_CURRENT, MCL_FUTURE): Define here.
20252 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20255 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20257 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20259 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20261 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20262 fourth parameter needed for rt_sigprocmask syscall.
20263 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20264 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20265 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20266 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20267 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20268 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20270 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20273 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20274 comment about bounded pointers.
20275 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20276 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20278 2013-03-04 Andreas Jaeger <aj@suse.de>
20280 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20281 common definitions.
20283 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20284 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20285 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20286 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20287 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20288 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20290 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20293 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20294 __ieee754_sqrl instead of __sqrl.
20296 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20298 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20299 * sysdeps/powerpc/fpu_control.h: ... here.
20300 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20301 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20302 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20303 * sysdeps/powerpc/bits/mathinline.h: ... here.
20305 2013-03-01 Roland McGrath <roland@hack.frob.com>
20307 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20308 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20309 to just [NEED_DL_SYSINFO_DSO].
20310 * elf/dl-support.c: Likewise.
20311 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20312 * elf/rtld.c (dl_main): Likewise.
20313 * elf/setup-vdso.h (setup_vdso): Likewise.
20314 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20315 * sysdeps/unix/sysv/linux/dl-sysdep.c
20316 (_dl_discover_osversion): Likewise.
20318 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20320 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20321 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20323 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20325 * NEWS: Mention libm performance improvements and non-x86 PI
20328 * csu/libc-start.c (__pthread_initialize_minimal): Change
20329 function arguments.
20330 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20332 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20335 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20336 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20337 <bp-sym.h> and <bp-asm.h>.
20338 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20339 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20341 (memcpy): Don't use BP_SYM.
20342 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20344 (__mpn_add_n): Don't use BP_SYM.
20345 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20346 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20348 (__mpn_addmul_1): Don't use BP_SYM.
20349 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20350 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20352 (_setjmp): Don't use BP_SYM.
20353 (__novmx_setjmp): Likewise.
20354 (__GI__setjmp): Likewise.
20355 (__vmx_setjmp): Likewise.
20356 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20358 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20359 (__bzero): Don't use BP_SYM.
20360 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20361 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20362 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20363 <bp-sym.h> and <bp-asm.h>.
20364 (memcpy): Don't use BP_SYM.
20365 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20366 <bp-sym.h> and <bp-asm.h>.
20367 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20368 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20369 <bp-sym.h> and <bp-asm.h>.
20370 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20371 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20373 (__mpn_lshift): Don't use BP_SYM.
20374 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20375 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20377 (memset): Don't use BP_SYM.
20378 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20379 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20380 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20382 (__mpn_mul_1): Don't use BP_SYM.
20383 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20384 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20385 <bp-sym.h> and <bp-asm.h>.
20386 (memcmp): Don't use BP_SYM.
20387 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20388 <bp-sym.h> and <bp-asm.h>.
20389 (memcpy): Don't use BP_SYM.
20390 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20391 <bp-sym.h> and <bp-asm.h>.
20392 (memset): Don't use BP_SYM.
20393 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20394 <bp-sym.h> and <bp-asm.h>.
20395 (strncmp): Don't use BP_SYM.
20396 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20397 <bp-sym.h> and <bp-asm.h>.
20398 (memcpy): Don't use BP_SYM.
20399 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20400 <bp-sym.h> and <bp-asm.h>.
20401 (memset): Don't use BP_SYM.
20402 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20403 <bp-sym.h> and <bp-asm.h>.
20404 (__memchr): Don't use BP_SYM.
20405 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20406 <bp-sym.h> and <bp-asm.h>.
20407 (memcmp): Don't use BP_SYM.
20408 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20409 <bp-sym.h> and <bp-asm.h>.
20410 (memcpy): Don't use BP_SYM.
20411 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20412 <bp-sym.h> and <bp-asm.h>.
20413 (__mempcpy): Don't use BP_SYM.
20414 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20415 <bp-sym.h> and <bp-asm.h>.
20416 (__memrchr): Don't use BP_SYM.
20417 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20418 <bp-sym.h> and <bp-asm.h>.
20419 (memset): Don't use BP_SYM.
20420 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20421 <bp-sym.h> and <bp-asm.h>.
20422 (__rawmemchr): Don't use BP_SYM.
20423 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20424 <bp-sym.h> and <bp-asm.h>.
20425 (__STRCMP): Don't use BP_SYM.
20426 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20427 <bp-sym.h> and <bp-asm.h>.
20428 (strchr): Don't use BP_SYM.
20429 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20430 <bp-sym.h> and <bp-asm.h>.
20431 (__strchrnul): Don't use BP_SYM.
20432 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20433 <bp-sym.h> and <bp-asm.h>.
20434 (strlen): Don't use BP_SYM.
20435 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20436 <bp-sym.h> and <bp-asm.h>.
20437 (strncmp): Don't use BP_SYM.
20438 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20439 <bp-sym.h> and <bp-asm.h>.
20440 (__strnlen): Don't use BP_SYM.
20441 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20443 (__mpn_rshift): Don't use BP_SYM.
20444 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20445 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20446 <bp-sym.h> and <bp-asm.h>.
20447 (__sigsetjmp): Don't use BP_SYM.
20448 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20449 (L(start_addresses)): Don't use BP_SYM.
20450 (_start): Likewise.
20451 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20453 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20454 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20455 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20456 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20458 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20459 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20460 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20461 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20463 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20465 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20466 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20468 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20470 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20471 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20472 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20474 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20476 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20478 (strncmp): Don't use BP_SYM,
20479 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20481 (__mpn_sub_n): Don't use BP_SYM.
20482 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20483 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20485 (__mpn_submul_1): Don't use BP_SYM.
20486 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20488 <bp-sym.h> and <bp-asm.h>.
20489 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20491 <bp-sym.h> and <bp-asm.h>.
20492 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20495 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20498 Use ZK to minimize writes to Z.
20499 (sub_magnitudes): Simplify code a bit.
20500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20501 Use ZK to minimize writes to Z.
20502 (sub_magnitudes): Simplify code a bit.
20504 2013-02-27 Roland McGrath <roland@hack.frob.com>
20506 * csu/gmon-start.c: Add special exception to license text.
20508 2013-02-27 Richard Henderson <rth@redhat.com>
20510 * scripts/config.guess: Update from config.git.
20511 * scripts/config.sub: Likewise.
20513 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20515 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20517 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20519 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20521 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20523 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20525 2013-02-26 Roland McGrath <roland@hack.frob.com>
20527 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20528 [$(build-shared = yes].
20530 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20532 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20533 (__mul): Reduce iterations for calculating mantissa.
20535 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20537 (__mpranred): Likewise.
20540 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20541 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20543 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20545 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20546 Define __attribute__.
20548 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20550 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20552 * posix/regex_internal.h (__attribute): Remove.
20553 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20554 (re_string_context_at): Likewise.
20555 (bitset_not): Use __attribute__ and mark function as possibly
20557 (bitset_merge): Likewise.
20558 (bitset_mask): Likewise.
20559 (re_string_char_size_at): Likewise.
20560 (re_string_wchar_at): Likewise.
20561 (re_string_elem_size_at): Likewise.
20563 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20565 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20569 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20573 (denorm): Likewise.
20574 (__dbl_mp): Likewise.
20575 (add_magnitudes): Likewise.
20576 (sub_magnitudes): Likewise.
20580 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20583 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20586 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20590 up changes with default code.
20591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20594 2013-02-24 Allan McRae <allan@archlinux.org>
20596 * manual/socket.texi (The Internet Namespace): Order menu items
20597 to match that in the file.
20599 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20600 node listing of the info page menu.
20602 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20605 * sysdeps/i386/bp-asm.h: Remove file.
20606 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20607 (PARMS): Do not use macros from bp-asm.h.
20611 (__mpn_add_n): Do not use BP_SYM
20612 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20614 (PARMS): Do not use macros from bp-asm.h.
20617 (__mpn_addmul_1): Do not use BP_SYM
20618 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20620 (PARMS): Do not use macros from bp-asm.h.
20621 (SIGMSK): Likewise.
20622 (_setjmp): Likewise. Do not use BP_SYM.
20623 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20625 (PARMS): Do not use macros from bp-asm.h.
20626 (SIGMSK): Likewise.
20627 (setjmp): Likewise. Do not use BP_SYM.
20628 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20630 (PARMS): Do not use macros from bp-asm.h.
20631 (__frexp): Do not use BP_SYM.
20633 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20635 (PARMS): Do not use macros from bp-asm.h.
20636 (__frexpf): Do not use BP_SYM.
20637 (frexpf): Likewise.
20638 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20640 (PARMS): Do not use macros from bp-asm.h.
20641 (__frexpl): Do not use BP_SYM.
20642 (frexpl): Likewise.
20643 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20645 (PARMS): Do not use macros from bp-asm.h.
20646 (__remquo): Do not use BP_SYM.
20647 (remquo): Likewise.
20648 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20650 (PARMS): Do not use macros from bp-asm.h.
20651 (__remquof): Do not use BP_SYM.
20652 (remquof): Likewise.
20653 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20655 (PARMS): Do not use macros from bp-asm.h.
20656 (__remquol): Do not use BP_SYM.
20657 (remquol): Likewise.
20658 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20660 (PARMS): Do not use macros from bp-asm.h.
20663 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20664 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20666 (PARMS): Do not use macros from bp-asm.h.
20667 (strlen): Do not use BP_SYM.
20668 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20670 (PARMS): Do not use macros from bp-asm.h.
20674 (__mpn_add_n): Do not use BP_SYM.
20675 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20677 (PARMS): Do not use macros from bp-asm.h.
20680 (__mpn_addmul_1): Do not use BP_SYM.
20681 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20684 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20686 (PARMS): Do not use macros from bp-asm.h.
20689 (__mpn_lshift): Do not use BP_SYM.
20690 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20692 (PARMS): Do not use macros from bp-asm.h.
20696 (memcpy): Likewise. Do not use BP_SYM.
20697 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20698 libc_hidden_def and weak_alias.
20699 (mempcpy): Do not use BP_SYM in weak_alias.
20700 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20702 (PARMS): Do not use macros from bp-asm.h.
20705 [!BZERO_P] (CHR): Likewise.
20706 (memset): Likewise. Do not use BP_SYM.
20707 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20709 (PARMS): Do not use macros from bp-asm.h.
20712 (__mpn_mul_1): Do not use BP_SYM.
20713 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20715 (PARMS): Do not use macros from bp-asm.h.
20718 (__mpn_rshift): Do not use BP_SYM.
20719 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20721 (PARMS): Do not use macros from bp-asm.h.
20724 (strchr): Likewise. Do not use BP_SYM.
20725 (index): Do not use BP_SYM in weak_alias.
20726 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20728 (PARMS): Do not use macros from bp-asm.h.
20731 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20732 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20734 (PARMS): Do not use macros from bp-asm.h.
20735 (strlen): Do not use BP_SYM.
20736 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20738 (PARMS): Do not use macros from bp-asm.h.
20742 (__mpn_sub_n): Do not use BP_SYM.
20743 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20745 (PARMS): Do not use macros from bp-asm.h.
20748 (__mpn_submul_1): Do not use BP_SYM.
20749 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20751 (PARMS): Do not use macros from bp-asm.h.
20755 (__mpn_add_n): Do not use BP_SYM.
20756 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20759 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20761 (PARMS): Do not use macros from bp-asm.h.
20764 (memcmp): Do not use BP_SYM.
20765 (bcmp): Do not use BP_SYM in weak_alias.
20766 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20768 (PARMS): Do not use macros from bp-asm.h.
20772 (memcpy): Likewise. Do not use BP_SYM.
20773 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20775 (PARMS): Do not use macros from bp-asm.h.
20779 (memmove): Likewise. Do not use BP_SYM.
20780 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20782 (PARMS): Do not use macros from bp-asm.h.
20786 (__mempcpy): Likewise. Do not use BP_SYM.
20787 (mempcpy): Do not use BP_SYM in weak_alias.
20788 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20790 (PARMS): Do not use macros from bp-asm.h.
20793 [!BZERO_P] (CHR): Likewise.
20794 (memset): Likewise. Do not use BP_SYM.
20795 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20797 (PARMS): Do not use macros from bp-asm.h.
20799 (strcmp): Do not use BP_SYM.
20800 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20802 (PARMS): Do not use macros from bp-asm.h.
20805 [USE_AS_STRTOK_R] (SAVE): Likewise.
20806 (FUNCTION): Likewise. Do not use BP_SYM.
20807 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20809 (strtok_r): Likewise.
20810 (__GI___strtok_r): Likewise.
20811 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20812 (PARMS): Do not use macros from bp-asm.h.
20815 (__mpn_lshift): Do not use BP_SYM.
20816 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20817 (PARMS): Do not use macros from bp-asm.h.
20820 (__memchr): Do not use BP_SYM.
20821 (memchr): Do not use BP_SYM in weak_alias.
20822 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20823 (PARMS): Do not use macros from bp-asm.h.
20826 (memcmp): Do not use BP_SYM.
20827 (bcmp): Do not use BP_SYM in weak_alias.
20828 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20829 (PARMS): Do not use macros from bp-asm.h.
20832 (__mpn_mul_1): Do not use BP_SYM.
20833 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20835 (PARMS): Do not use macros from bp-asm.h.
20838 (__rawmemchr): Do not use BP_SYM.
20839 (rawmemchr): Do not use BP_SYM in weak_alias.
20840 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20841 (PARMS): Do not use macros from bp-asm.h.
20844 (__mpn_rshift): Do not use BP_SYM.
20845 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20846 (PARMS): Do not use macros from bp-asm.h.
20847 (SIGMSK): Likewise.
20848 (__sigsetjmp): Likewise. Do not use BP_SYM.
20849 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20850 (_start): Do not use BP_SYM.
20851 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20852 (PARMS): Do not use macros from bp-asm.h.
20855 (__stpcpy): Likewise. Do not use BP_SYM.
20856 (stpcpy): Do not use BP_SYM in weak_alias.
20857 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20859 (PARMS): Do not use macros from bp-asm.h.
20863 (__stpncpy): Likewise. Do not use BP_SYM.
20864 (stpncpy): Do not use BP_SYM in weak_alias.
20865 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20866 (PARMS): Do not use macros from bp-asm.h.
20869 (strchr): Likewise. Do not use BP_SYM.
20870 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20872 (PARMS): Do not use macros from bp-asm.h.
20875 (__strchrnul): Likewise. Do not use BP_SYM.
20876 (strchrnul): Do not use BP_SYM in weak_alias.
20877 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20879 (PARMS): Do not use macros from bp-asm.h.
20881 (strcspn): Do not use BP_SYM.
20882 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20884 (PARMS): Do not use macros from bp-asm.h.
20887 (strpbrk): Likewise. Do not use BP_SYM.
20888 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20890 (PARMS): Do not use macros from bp-asm.h.
20893 (strrchr): Likewise. Do not use BP_SYM.
20894 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20895 (PARMS): Do not use macros from bp-asm.h.
20897 (strspn): Do not use BP_SYM.
20898 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20899 (PARMS): Do not use macros from bp-asm.h.
20903 (FUNCTION): Likewise. Do not use BP_SYM.
20904 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20906 (strtok_r): Likewise.
20907 (__GI___strtok_r): Likewise.
20908 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20909 (PARMS): Do not use macros from bp-asm.h.
20913 (__mpn_sub_n): Do not use BP_SYM.
20914 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20916 (PARMS): Do not use macros from bp-asm.h.
20919 (__mpn_submul_1): Do not use BP_SYM.
20920 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20922 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20924 (PARMS): Do not use macros from bp-asm.h.
20929 (__clone): Do not use BP_SYM.
20930 (clone): Do not use BP_SYM in weak_alias.
20931 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20933 (PARMS): Do not use macros from bp-asm.h.
20935 (__mmap64): Do not use BP_SYM.
20936 (mmap64): Do not use BP_SYM in weak_alias.
20937 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20938 <bp-sym.h> and <bp-asm.h>.
20939 (PARMS): Do not use macros from bp-asm.h.
20940 (__posix_fadvise64_l64): Do not use BP_SYM.
20941 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20942 (PARMS): Do not use macros from bp-asm.h.
20944 (semtimedop): Do not use BP_SYM.
20945 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20948 2013-02-21 Allan McRae <allan@archlinux.org>
20950 * manual/message.texi (Charset conversion in gettext):
20951 Move @end statement to beginning of line.
20953 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20955 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20960 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20961 (denorm): Likewise.
20962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20965 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20967 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20968 tail-call to the resolved function if pltexit isn't needed.
20970 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20973 or Y being zero as being unlikely.
20974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20977 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20979 * manual/nss.texi (System Databases and Name Service Switch):
20980 Remove frobnicate @pxref.
20982 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20984 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20985 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20987 2013-02-20 Petr Machata <pmachata@redhat.com>
20989 * elf/elf.h (R_ARM_TARGET1): New macro.
20990 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20991 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20992 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20993 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20994 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20995 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20996 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20997 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20998 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20999 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21000 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21001 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21002 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21003 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21004 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21005 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21006 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21007 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21008 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21009 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21010 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21011 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21012 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21013 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21014 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21015 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21016 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21017 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21018 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21019 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21020 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21021 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21022 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21023 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21024 (R_ARM_THM_GOT_BREL12): Likewise.
21025 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21026 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21027 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21028 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21029 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21030 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21031 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21032 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21033 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21035 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21037 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21038 __attribute_used__ to __attribute__ ((unused)).
21040 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21042 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21045 comment formatting.
21046 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21048 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21051 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21053 (ENTER): Remove both macro definitions.
21055 (CHECK_BOUNDS_LOW): Likewise.
21056 (CHECK_BOUNDS_HIGH): Likewise.
21057 (CHECK_BOUNDS_BOTH): Likewise.
21058 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21059 (RETURN_BOUNDED_POINTER): Likewise.
21060 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21061 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21062 (POP_ERRNO_LOCATION_RETURN): Likewise.
21063 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21064 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21065 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21067 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21068 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21069 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21070 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21071 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21072 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21073 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21074 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21075 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21076 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21077 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21078 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21079 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21080 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21082 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21083 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21085 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21086 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21087 * sysdeps/i386/i586/memset.S (memset): Likewise.
21088 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21089 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21090 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21092 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21093 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21094 Change uses of L(2) to L(out).
21095 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21096 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21097 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21098 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21099 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21101 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21102 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21104 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21105 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21106 (RETURN): Do not use macro LEAVE.
21107 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21108 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21109 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21110 * sysdeps/i386/i686/memset.S (memset): Likewise.
21111 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21112 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21113 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21114 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21116 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21117 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21118 L(1_2) and L(1_3) into L(1).
21119 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21120 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21121 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21122 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21123 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21124 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21125 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21126 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21127 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21129 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21130 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21131 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21132 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21133 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21134 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21135 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21136 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21137 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21138 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21139 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21140 * sysdeps/i386/strspn.S (strspn): Likewise.
21141 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21143 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21144 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21145 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21146 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21147 L(1_3) into L(1_1).
21148 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21149 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21150 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21152 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21154 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21156 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21159 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21161 * math/atest-exp.c (exp_mpn): Remove ROUND.
21162 * math/atest-exp2.c (exp_mpn): Likewise.
21163 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21165 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21166 * stdlib/tst-tls-atexit-lib.c: Likewise.
21167 * stdlib/tst-tls-atexit.c: Likewise.
21169 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21171 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21172 and __attribute_alloc_size__.
21174 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21176 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21177 __attribute_alloc_size__.
21178 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21179 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21181 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21183 * include/programs/xmalloc.h: New file.
21184 * catgets/gencat.c: Include it.
21185 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21186 * elf/pldd.c: Likewise.
21187 * iconv/iconv_charmap.c: Likewise.
21188 * iconv/iconvconfig.c: Likewise.
21189 * iconv/strtab.c: Likewise.
21190 * locale/programs/locale.c: Likewise.
21191 * locale/programs/localedef.h: Likewise.
21192 * locale/programs/simple-hash.c: Likewise.
21193 * nscd/nscd.h: Likewise.
21194 * nss/makedb.c: Likewise.
21195 * sysdeps/generic/ldconfig.h: Likewise.
21197 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21199 * Versions.def: Add GLIBC_2.18.
21200 * include/link.h (struct link_map): New member l_tls_dtor_count.
21201 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21202 (__call_tls_dtors): Likewise.
21203 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21204 __cxa_thread_atexit_impl.
21205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21213 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21221 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21222 (tests): Add test case tst-tls-atexit.
21223 (modules-names): Add shared library for tst-tls-atexit.
21224 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21225 (GLIBC_PRIVATE): Add __call_tls_dtors.
21226 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21228 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21229 * stdlib/tst-tls-atexit.c: New test case.
21230 * stdlib/tst-tls-atexit-lib.c: New test case.
21232 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21234 * elf/Versions (ld): Add _dl_find_dso_for_object.
21235 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21236 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21237 (dl_open_worker): Use _dl_find_dso_for_object.
21238 * elf/dl-sym.c (do_sym): Likewise.
21239 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21241 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21243 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21244 Syntactic changes only.
21245 (_dl_runtime_profile): Do a tail-call to the resolved function.
21247 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21250 * sysdeps/x86_64/bp-asm.h: Remove file.
21251 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21252 <bp-sym.h> and <bp-asm.h>.
21253 (__clone): Do not use BP_SYM.
21254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21255 <bp-sym.h> and <bp-asm.h>.
21256 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21257 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21259 (_setjmp): Do not use BP_SYM.
21260 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21262 (setjmp): Do not use BP_SYM.
21263 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21265 (mempcpy): Do not use BP_SYM in weak_alias.
21266 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21268 (strchr): Do not use BP_SYM.
21269 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21271 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21272 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21273 (_start): Do not use BP_SYM.
21274 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21276 (strcat): Do not use BP_SYM.
21277 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21279 (STRCMP): Do not use BP_SYM.
21280 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21282 (STRCPY): Do not use BP_SYM.
21283 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21285 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21287 (FUNCTION): Do not use BP_SYM.
21288 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21290 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21292 2013-02-17 Andreas Jaeger <aj@suse.de>
21294 * time/Versions: Sort entries.
21295 * string/Versions: Likewise.
21296 * resolv/Versions: Likewise.
21297 * posix/Versions: Likewise.
21298 * iconv/Versions: Likewise.
21299 * elf/Versions: Likewise.
21300 * wcsmbs/Versions: Likewise.
21302 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21304 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21305 loop termination condition.
21307 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21308 variable to calculate EZ.
21311 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21312 the lower precision input.
21314 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21317 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21318 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21319 (run-via-rtld-prefix): Do not handle %-bp tests.
21320 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21321 (all-object-suffixes): Remove .ob.
21322 (bppfx): Remove variable.
21323 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21324 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21325 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21326 [$(build-bounded) = yes] (libtype.ob): Likewise.
21327 * Makerules (elide-routines.ob): Remove variable.
21328 (do-tests-clean): Do not handle *-bp.out.
21329 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21330 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21331 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21332 (tests): Do not include $(tests-bp.out).
21333 (xtests): Do not include $(xtests-bp.out).
21334 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21335 [$(build-bounded) = yes] ($(addprefix
21336 $(objpfx),$(binaries-bounded))): Remove rule.
21337 ($(objpfx)%-bp.out): Remove rule.
21338 * config.make.in (build-bounded): Remove variable.
21339 * crypt/Makefile [$(build-bounded) = yes]
21340 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21341 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21342 append to variable.
21343 [$(build-bounded) = yes] (install-lib): Likewise.
21344 [$(build-bounded) = yes] (generated): Likewise.
21345 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21347 * intl/Makefile [$(build-bounded) = yes]
21348 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21349 * math/Makefile [$(build-bounded) = yes]
21350 ($(tests:%=$(objpfx)%-bp): Likewise.
21351 * misc/Makefile [$(build-bounded) = yes]
21352 ($(objpfx)tst-tsearch-bp): Likewise.
21353 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21354 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21356 * string/Makefile (o-objects.ob): Remove variable.
21357 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21358 (CFLAGS-.ob): Remove variable.
21359 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21360 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21361 both definitions of variable.
21362 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21363 (ASFLAGS-.ob): Remove variable.
21365 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21368 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21369 Remove __BOUNDED_POINTERS__ from condition.
21370 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21371 * string/bits/string2.h [!__NO_STRING_INLINES &&
21372 !__BOUNDED_POINTERS__]: Likewise.
21373 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21375 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21376 Remove conditional code.
21377 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21378 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21379 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21383 * csu/libc-start.c: Do not include <bp-sym.h>.
21384 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21385 * elf/dl-open.c: Do not include <bp-sym.h>.
21386 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21387 * math/fegetenv.c: Do not include <bp-sym.h>.
21388 (fegetenv): Do not use BP_SYM in versioned symbols.
21389 * nptl/sysdeps/pthread/bits/libc-lockP.h
21390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21393 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21395 (__pthread_mutex_destroy): Likewise.
21396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21397 (__pthread_mutex_lock): Likewise.
21398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21399 (__pthread_mutex_trylock): Likewise.
21400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21401 (__pthread_mutex_unlock): Likewise.
21402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21403 (__pthread_mutexattr_init): Likewise.
21404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21405 (__pthread_mutexattr_destroy): Likewise.
21406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21407 (__pthread_mutexattr_settype): Likewise.
21408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21409 (__pthread_rwlock_init): Likewise.
21410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21411 (__pthread_rwlock_destroy): Likewise.
21412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21413 (__pthread_rwlock_rdlock): Likewise.
21414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21415 (__pthread_rwlock_tryrdlock): Likewise.
21416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21417 (__pthread_rwlock_wrlock): Likewise.
21418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21419 (__pthread_rwlock_trywrlock): Likewise.
21420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21421 (__pthread_rwlock_unlock): Likewise.
21422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21423 (__pthread_key_create): Likewise.
21424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21425 (__pthread_setspecific): Likewise.
21426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21427 (__pthread_getspecific): Likewise.
21428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21431 (_pthread_cleanup_push_defer): Likewise.
21432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21433 (_pthread_cleanup_pop_restore): Likewise.
21434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21435 (pthread_setcancelstate): Likewise.
21436 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21438 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21439 (memchr): Do not use BP_SYM in weak_alias.
21440 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21441 (fegetenv): Do not use BP_SYM in versioned symbols.
21442 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21443 (fesetenv): Do not use BP_SYM in versioned symbols.
21444 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21445 (feupdateenv): Do not use BP_SYM in versioned symbols.
21446 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21447 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21448 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21449 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21450 (open64): Do not use BP_SYM in weak_alias.
21451 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21452 (fegetenv): Do not use BP_SYM in versioned symbols.
21453 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21454 (fesetenv): Do not use BP_SYM in versioned symbols.
21455 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21456 (feupdateenv): Do not use BP_SYM in versioned symbols.
21457 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21458 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21459 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21460 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21461 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21462 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21463 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21465 (__libc_start_main): Do not use BP_SYM.
21467 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21470 redundant return line.
21472 (denorm): Likewise.
21473 (dbl_mp): Likewise.
21474 (sub_magnitudes): Likewise.
21480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21482 (denorm): Likewise.
21483 (dbl_mp): Likewise.
21484 (sub_magnitudes): Likewise.
21491 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21493 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21494 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21497 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21498 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21499 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21500 of __mul for squares.
21501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21505 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21506 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21508 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21511 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21513 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21514 prototype or function definition. Rename ubp_* variables and
21515 parameters. Remove argv definitions conditional on
21516 [__BOUNDED_POINTERS__].
21517 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21518 * elf/dl-runtime.c (_dl_fixup): Likewise.
21519 * include/set-hooks.h (RUN_HOOK): Likewise.
21520 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21522 * string/strcpy.c (strcpy): Do not use __unbounded.
21523 * sysdeps/generic/frame.h (struct layout): Likewise.
21524 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21525 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21526 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21527 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21528 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21529 (__backtrace): Likewise.
21530 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21532 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21533 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21534 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21536 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21537 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21538 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21539 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21540 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21541 Do not use __unbounded.
21542 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21543 Rename __unboundedrlimits parameter to rlimits in prototype.
21544 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21545 Do not use __unbounded.
21546 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21547 not use __ptrvalue.
21548 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21549 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21550 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21551 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21552 __ptrvalue or __unbounded.
21553 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21554 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21556 (__new_msgctl): Do not use __ptrvalue.
21557 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21559 (__libc_msgrcv): Do not use __ptrvalue.
21560 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21561 startup_info): Do not use __unbounded.
21562 (__libc_start_main): Likewise. Rename ubp_* variables and
21563 parameters. Remove argv definitions conditional on
21564 [__BOUNDED_POINTERS__].
21565 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21567 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21569 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21571 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21573 (__new_shmctl): Do not use __ptrvalue.
21574 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21575 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21577 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21578 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21579 (__libc_sigaction): Likewise.
21580 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21581 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21583 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21585 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21587 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21589 * string/mempcpy.c: Implement by calling memcpy.
21591 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21593 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21595 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21598 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21599 values in the mantissa.
21601 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21602 minimize writes to Z.
21603 (sub_magnitudes): Simplify code a bit.
21605 2013-02-12 Roland McGrath <roland@hack.frob.com>
21607 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21608 from the message. The linker prefixes all warnings with that already.
21610 2013-02-12 Andreas Schwab <schwab@suse.de>
21613 * posix/regexec.c (extend_buffers): Add parameter min_len.
21614 (check_matching): Pass minimum needed length.
21615 (clean_state_log_if_needed): Likewise.
21616 (get_subexp): Likewise.
21617 * posix/Makefile (tests): Add bug-regex34.
21618 (bug-regex34-ENV): Define.
21619 * posix/bug-regex34.c: New file.
21622 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21623 elements compare against the byte sequence of it, not its name.
21624 * posix/Makefile (tests): Add bug-regex35.
21625 (bug-regex35-ENV): Define.
21626 * posix/bug-regex35.c: New file.
21628 2013-02-11 Tom de Vries <tom@codesourcery.com>
21630 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21632 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21633 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21634 (CHECK_EOL): Add undef.
21636 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21638 * bits/stdlib-bsearch.h: New file.
21639 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21640 * stdlib/stdlib.h: Likewise.
21642 2013-02-11 Roland McGrath <roland@hack.frob.com>
21644 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21645 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21647 * manual/search.texi (Array Search Function): Add missing const in
21649 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21650 declaration to use rlim_t.
21651 (Basic Scheduling Functions): Remove erroneous const from
21652 sched_getparam prototype. Remove erroneous * from
21653 sched_get_priority_max and sched_get_priority_min prototypes.
21654 (Resource Usage): Fix summary @comment on vtimes to refer to
21655 sys/vtimes.h rather than vtimes.h.
21656 Add missing *s in vtimes prototype.
21657 (Limits on Resources): Fix ulimit prototype to return long int.
21658 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21659 prototypes to use long int rather than double.
21660 (BSD Random): Fix initstate and setstate to use char *, not void *.
21661 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21662 prototype to make second argument 'struct aiocb64 *const[]'.
21663 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21664 (Status of AIO Operations): Remove erroneous const in aio_return and
21665 aio_return64 prototypes.
21666 (Synchronizing I/O): Fix sync prototype to return void.
21667 * manual/startup.texi (Suboptions): Remove an erroneous const in
21668 getsubopt prototype.
21669 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21670 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21671 use size_t rather than int.
21672 (Scanning All Users): Likewise for getpwent_r.
21673 (Setting Groups): Add missing const to setgroups prototype.
21674 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21675 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21676 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21677 'const void *' rather than 'const char *'.
21678 (Host Address Functions): Likewise for inet_ntop.
21679 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21680 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21681 ssize_t for return value.
21682 (Sending Data): Likewise for send, sendto, sendmsg.
21683 (Socket Option Functions): Add a missing const in setsockopt prototype.
21684 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21685 use wchar_t for the argument.
21686 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21687 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21689 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21690 double/float/long double for second argument.
21691 Fix return types of significand, significandf, significandl.
21692 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21693 argument in fchmod prototype.
21694 (File Owner): Use uid_t and gid_t in fchown prototype.
21695 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21696 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21697 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21698 use 'const struct dirent **' as argument types to CMP function pointer
21700 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21701 (File Times): Fix summary magic @comment for struct utimbuf and utime
21702 to refer to utime.h, not time.h.
21703 * manual/string.texi (Argz Functions): Add missing const in
21704 argz_extract and argz_next prototypes.
21705 (Finding Tokens in a String): Likewise for basename.
21706 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21707 (Copying and Concatenation): Fix typo in wmemmove prototype.
21708 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21709 (Signal Stack): Remove erroneous const in sigstack prototype.
21710 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21712 (Simple Calendar Time): Likewise for stime.
21713 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21715 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21716 say sys/sysctl.h instead.
21717 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21718 and vsyslog prototypes.
21720 2013-02-11 Tom de Vries <tom@codesourcery.com>
21722 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21725 2013-02-11 Roland McGrath <roland@hack.frob.com>
21727 * misc/sys/mman.h: Fix typo in mremap comment.
21729 2013-02-08 Roland McGrath <roland@hack.frob.com>
21731 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21732 the '\0' terminator.
21734 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21737 * debug/segfault.c: Don't include <bp-checks.h>.
21738 * sysdeps/generic/bp-checks.h: Remove file.
21739 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21740 (__GETDENTS): Don't use CHECK_N.
21741 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21742 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21743 (__getgroups): Don't use CHECK_N.
21744 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21745 (setgroups): Don't use CHECK_N.
21746 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21747 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21748 (__libc_msgrcv): Don't use CHECK_N.
21749 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21750 (__libc_msgsnd): Don't use CHECK_N.
21751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21753 (__libc_pread): Don't use CHECK_N.
21754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21755 include <bp-checks.h>.
21756 (__libc_pread64): Don't use CHECK_N.
21757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21758 include <bp-checks.h>.
21759 (__libc_pwrite): Don't use CHECK_N.
21760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21761 include <bp-checks.h>.
21762 (__libc_pwrite64): Don't use CHECK_N.
21763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21765 (__libc_pread): Don't use CHECK_N.
21766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21767 include <bp-checks.h>.
21768 (__libc_pread64): Don't use CHECK_N.
21769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21770 include <bp-checks.h>.
21771 (__libc_pwrite): Don't use CHECK_N.
21772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21773 include <bp-checks.h>.
21774 (__libc_pwrite64): Don't use CHECK_N.
21775 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21776 (do_pread): Don't use CHECK_N.
21777 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21778 (do_pread64): Don't use CHECK_N.
21779 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21780 (do_pwrite): Don't use CHECK_N.
21781 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21782 (do_pwrite64): Don't use CHECK_N.
21783 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21784 (__libc_readv): Don't use CHECK_N.
21785 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21786 (semop): Don't use CHECK_N.
21787 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21789 (semtimedop): Don't use CHECK_N.
21790 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21791 (__libc_pread): Don't use CHECK_N.
21792 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21794 (__libc_pread64): Don't use CHECK_N.
21795 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21797 (__libc_pwrite): Don't use CHECK_N.
21798 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21800 (__libc_pwrite64): Don't use CHECK_N.
21801 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21803 (__libc_msgrcv): Don't use CHECK_N.
21804 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21805 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21806 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21807 (__libc_writev): Don't use CHECK_N.
21809 2013-02-08 Roland McGrath <roland@hack.frob.com>
21811 * string/strcpy.c: Removed unused variable.
21813 * Makeconfig (+sysdep-includes): Define with := rather than =.
21814 Use an existing include/ subdir of each sysdeps dir before it.
21816 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21818 * nscd/connection.c (register_traced_file): Comment function.
21819 [HAVE_INOTIFY] (union __inev): Define.
21820 [HAVE_INOTIFY] (inotify_check_files): New function.
21821 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21822 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21824 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21826 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21828 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21829 loaded if not already and that a failure is permanent.
21831 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21834 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21835 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21837 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21840 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21841 (CHECK_1_NULL_OK): Likewise.
21842 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21843 (__fxstat): Do not use CHECK_1.
21844 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21846 (___fxstat64): Do not use CHECK_1.
21847 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21849 (__fxstatat): Do not use CHECK_1.
21850 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21852 (__fxstatat64): Do not use CHECK_1.
21853 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21855 (__fxstat): Do not use CHECK_1.
21856 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21858 (__fxstatat): Do not use CHECK_1.
21859 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21861 (__getresgid): Do not use CHECK_1.
21862 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21864 (__getresuid): Do not use CHECK_1.
21865 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21867 (__lxstat): Do not use CHECK_1.
21868 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21870 (__old_msgctl): Do not use CHECK_1.
21871 (__new_msgctl): Likewise.
21872 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21874 (__new_setrlimit): Do not use CHECK_1.
21875 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21877 (__old_shmctl): Do not use CHECK_1.
21878 (__new_shmctl): Likewise.
21879 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21881 (__xstat): Do not use CHECK_1.
21882 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21883 (__lxstat): Do not use CHECK_1.
21884 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21886 (___lxstat64): Do not use CHECK_1.
21887 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21888 (__old_msgctl): Do not use CHECK_1.
21889 (__new_msgctl): Likewise.
21890 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21892 (__gettimeofday): Do not use CHECK_1.
21893 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21894 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21895 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21897 (__gettimeofday): Do not use CHECK_1.
21898 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21899 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21900 (__new_shmctl): Do not use CHECK_1.
21901 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21903 (do_sigtimedwait): Do not use CHECK_1.
21904 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21906 (do_sigwaitinfo): Do not use CHECK_1.
21907 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21909 (msgctl): Do not use CHECK_1.
21910 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21912 (shmctl): Do not use CHECK_1.
21913 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21914 (ustat): Do not use CHECK_1.
21915 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21917 (__fxstat): Do not use CHECK_1.
21918 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21920 (__fxstatat): Do not use CHECK_1.
21921 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21923 (__lxstat): Do not use CHECK_1.
21924 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21926 (__xstat): Do not use CHECK_1.
21927 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21928 (__xstat): Do not use CHECK_1.
21929 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21930 (___xstat64): Do not use CHECK_1.
21933 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21935 (CHECK_BOUNDS_HIGH): Likewise.
21936 * string/strcpy.c: Do not include <bp-checks.h>.
21937 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21939 2013-02-07 Roland McGrath <roland@hack.frob.com>
21941 * nscd/nscd-client.h (__nscd_drop_map_ref):
21942 Add __attribute__ ((unused)).
21943 * nis/nss-nisplus.h (niserr2nss): Likewise.
21945 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21946 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21948 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21949 Remove inline keyword.
21950 * include/rounding-mode.h (round_away): Likewise.
21951 * libio/wfileops.c (adjust_wide_data): Likewise.
21952 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21953 (__m128i_strloadu_tolower): Likewise.
21954 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21955 (__m128i_strloadu_tolower): Likewise.
21956 * time/mktime.c (ydhms_diff): Likewise.
21957 * locale/elem-hash.h (elem_hash): Likewise.
21958 * locale/setlocale.c (setdata): Likewise.
21959 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21960 (re_string_wchar_at): Likewise.
21961 (bitset_not, bitset_merge, bitset_mask): Likewise.
21962 [!(__GNUC__ > 3)] (inline): Remove macro.
21963 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21964 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21965 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21966 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21967 * string/memcmp.c (memcmp_bytes): Likewise.
21968 * locale/programs/locarchive.c (compute_hashval): Likewise.
21969 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21970 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21971 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21972 * nss/getent.c (print_rpc, print_protocols): Likewise.
21973 (print_passwd, print_group, print_aliases): Likewise.
21974 * nis/nss-nisplus.h (niserr2nss): Likewise.
21975 * nscd/connections.c (restart_p): Likewise.
21976 Change return type to bool.
21978 2013-02-05 Roland McGrath <roland@hack.frob.com>
21980 * Makeconfig (all-Depend-files): Add existing
21981 $(sorted-subdirs:=/Depend) files.
21982 (all-subdirs): Remove nss.
21983 * sysdeps/unix/inet/Subdirs: Add it here instead.
21984 * hesiod/Depend: New file.
21986 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21987 instead of calling alloca.
21989 * io/lseek.c (__lseek): Rename to __libc_lseek.
21990 Define __lseek as an alias.
21992 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21994 2013-02-04 Carlos O'Donell <carlos@redhat.com>
21996 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21997 else clause and remove check for non-standard endianness.
21999 2013-02-04 David S. Miller <davem@davemloft.net>
22001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22003 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22006 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22007 (__ubp_memchr): Remove prototype.
22008 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22009 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22010 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22011 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22012 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22014 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22015 (__ubp_memchr): Likewise.
22016 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22017 (__ubp_memchr): Likewise.
22018 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22019 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22020 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22021 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22023 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22024 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22025 (__getcwd): Do not use CHECK_STRING.
22026 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22028 (__real_chown): Do not use CHECK_STRING.
22029 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22031 (fchownat): Do not use CHECK_STRING.
22032 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22034 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22036 (__lchown): Do not use CHECK_STRING.
22037 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22038 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22039 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22040 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22042 include <bp-checks.h>.
22043 (truncate64): Do not use CHECK_STRING.
22044 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22046 (__real_chown): Do not use CHECK_STRING.
22047 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22049 (__lchown): Do not use CHECK_STRING.
22050 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22052 (__chown): Do not use CHECK_STRING.
22053 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22055 (truncate64): Do not use CHECK_STRING.
22056 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22058 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22059 (__xmknod): Do not use CHECK_STRING.
22060 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22062 (__xmknodat): Do not use CHECK_STRING.
22063 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22064 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22066 2013-02-04 Andreas Schwab <schwab@suse.de>
22069 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22070 * include/netdb.h: Likewise for h_errno.
22071 * elf/tst-stackguard1.c: Include <tls.h>.
22073 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22075 * elf/link.h (struct link_map): Extend the l_addr comment.
22076 * include/link.h (struct link_map): Likewise.
22078 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22081 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22082 (BOUNDED_1): Remove macro.
22083 * debug/backtrace.c: Don't include <bp-checks.h>.
22084 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22085 (__backtrace): Likewise.
22086 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22088 (__backtrace): Don't use BOUNDED_1.
22089 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22091 (__backtrace): Don't use BOUNDED_1.
22092 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22093 (__backtrace): Don't use BOUNDED_1.
22094 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22095 (shmat): Don't use BOUNDED_N.
22097 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22100 * sysdeps/generic/bp-start.h: Remove file.
22101 * csu/libc-start.c: Don't include <bp-start.h>.
22102 (LIBC_START_MAIN): Set up __environ directly instead of using
22103 INIT_ARGV_and_ENVIRON.
22104 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22108 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22110 (CHECK_FCNTL): Likewise.
22111 (CHECK_N_PAGES): Likewise.
22114 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22116 (CHECK_SIGSET_NULL_OK): Likewise.
22117 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22119 (sigpending): Don't use CHECK_SIGSET.
22120 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22122 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22123 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22125 (do_sigsuspend): Don't use CHECK_SIGSET.
22126 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22128 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22129 (do_sigwait): Don't use CHECK_SIGSET.
22130 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22132 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22133 include <bp-checks.h>.
22134 (sigpending): Don't use CHECK_SIGSET.
22135 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22136 include <bp-checks.h>.
22137 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22138 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22140 (sigpending): Don't use CHECK_SIGSET.
22141 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22143 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22146 * sysdeps/generic/bp-semctl.h: Remove file.
22147 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22148 <bp-checks.h> and <bp-semctl.h>.
22149 (__old_semctl): Don't use CHECK_SEMCTL.
22150 (__new_semctl): Likewise.
22151 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22153 (__old_semctl): Don't use CHECK_SEMCTL.
22154 (__new_semctl): Likewise.
22155 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22156 <bp-checks.h> and <bp-semctl.h>.
22157 (__old_semctl): Don't use CHECK_SEMCTL.
22158 (__new_semctl): Likewise.
22159 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22160 <bp-checks.h> and <bp-semctl.h>.
22161 (semctl): Don't use CHECK_SEMCTL.
22164 * Makerules (elide-bp-thunks): Remove variable.
22165 (elide-routines.oS): Don't use $(elide-bp-thunks).
22166 (elide-routines.os): Likewise.
22167 (elide-routines.o): Likewise.
22168 (elide-routines.op): Likewise.
22169 (elide-routines.og): Likewise.
22170 (objects): Don't use $(bp-thunks).
22171 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22173 (common-generated): Do not add s-proto-bp.d.
22174 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22177 Do not generate makefile rules for bounded-pointer thunks.
22178 * sysdeps/generic/bp-thunks.h: Remove file.
22179 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22180 * sysdeps/unix/s-proto-bp.S: Likewise.
22183 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22184 parts of result separately when argument is not close to line from
22185 -i to i and one part of argument is small.
22186 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22187 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22188 * math/libm-test.inc (cacos_test): Add more tests.
22189 (casin_test): Likewise.
22190 (casinh_test): Likewise.
22191 * sysdeps/i386/fpu/libm-test-ulps: Update.
22192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22194 2013-01-31 David S. Miller <davem@davemloft.net>
22196 * po/de.po: Update from translation team.
22198 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22200 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22202 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22204 * configure.in (_AC_PROG_CC_C89): New definition.
22205 * configure: Regenerate.
22207 * configure.in (AC_PROG_CPP): New definition.
22208 * configure: Regenerate.
22210 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22212 * debug/tst-backtrace.h: New file.
22213 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22214 (ret): Remove variable.
22216 (FAIL): Remove macro.
22217 (NO_INLINE): Likewise.
22218 (fn1): Use match function instead of strstr.
22219 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22220 (ret): Remove variable.
22222 (FAIL): Remove macro.
22223 (NO_INLINE): Likewise.
22224 (fn): Use match function instead of strstr.
22225 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22226 (ret): Remove variable.
22228 (FAIL): Remove macro.
22229 (NO_INLINE): Likewise.
22230 (handle_signal): Use match function instead of strstr.
22231 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22232 (ret): Remove variable.
22234 (FAIL): Remove macro.
22235 (NO_INLINE): Likewise.
22236 (handle_signal): Use match function instead of strstr.
22238 2013-01-23 Roland McGrath <roland@hack.frob.com>
22240 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22242 2013-01-23 David S. Miller <davem@davemloft.net>
22244 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22245 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22246 argument of CAS if possible.
22247 * sysdeps/sparc/sparc64/bits/atomic.h
22248 (__arch_compare_and_exchange_val_32_acq): Likewise.
22249 (__arch_compare_and_exchange_val_64_acq): Likewise.
22251 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22253 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22254 * sysdeps/posix/ulimit.c: ... this.
22255 Include <limits.h>.
22256 * sysdeps/unix/bsd/ulimit.c: Remove file.
22258 2013-01-23 Adam Conrad <adconrad@0c3.net>
22260 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22261 (LDFLAGS-tst-array5): Likewise.
22263 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22266 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22267 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22268 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22269 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22271 2013-01-21 David S. Miller <davem@davemloft.net>
22273 * sysdeps/sparc/backtrace.c: New file.
22274 * sysdeps/sparc/sparc32/backtrace.h: New file.
22275 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22276 * sysdeps/sparc/sparc64/backtrace.h: New file.
22277 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22278 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22281 2013-01-21 Andreas Schwab <schwab@suse.de>
22284 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22287 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22293 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22294 Mark Mitchell <mark@codesourcery.com>
22295 Tom de Vries <tom@codesourcery.com>
22296 Paul Pluzhnikov <ppluzhnikov@google.com>
22298 * debug/tst-backtrace2.c: New file.
22299 * debug/tst-backtrace3.c: Likewise.
22300 * debug/tst-backtrace4.c: Likewise.
22301 * debug/tst-backtrace5.c: Likewise.
22302 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22303 (CFLAGS-tst-backtrace3.c): Likewise.
22304 (CFLAGS-tst-backtrace4.c): Likewise.
22305 (CFLAGS-tst-backtrace5.c): Likewise.
22306 (LDFLAGS-tst-backtrace2): Likewise.
22307 (LDFLAGS-tst-backtrace3): Likewise.
22308 (LDFLAGS-tst-backtrace4): Likewise.
22309 (LDFLAGS-tst-backtrace5): Likewise.
22310 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22311 tst-backtrace4 and tst-backtrace5.
22313 2013-01-18 Anton Blanchard <anton@samba.org>
22314 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22316 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22317 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22318 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22319 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22321 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22322 "+r" and remove output regs list as redundant. Add explicit inline
22323 asm to specify register of return val to work around compiler codegen
22324 bug. Remove (int) cast on return value. Add return type parameter to
22325 use in macro so that this macro does not truncate return value for
22327 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22328 pass to INTERNAL_VSYSCALL_NCS.
22329 (INLINE_VSYSCALL): Add 'long int' as return type to
22330 INTERNAL_VSYSCALL_NCS macro invocation.
22331 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22332 INTERNAL_VSYSCALL_NCS macro invocation.
22333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22335 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22338 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22339 Fix application of SIMD FP exception mask.
22341 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22342 mp_no from a power of two.
22343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22344 __mpexp_twomm1. Use __pow_mp.
22346 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22349 2013-01-17 David S. Miller <davem@davemloft.net>
22351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22353 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22356 * include/complex.h: Condition contents on [!_COMPLEX_H].
22357 (__kernel_casinhf): New prototype.
22358 (__kernel_casinh): Likewise.
22359 (__kernel_casinhl): Likewise.
22360 * math/Makefile (libm_calls): Add k_casinh.
22361 * math/k_casinh.c: New file.
22362 * math/k_casinhf.c: Likewise.
22363 * math/k_casinhl.c: Likewise.
22364 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22365 finite nonzero arguments.
22366 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22367 finite nonzero arguments.
22368 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22369 finite nonzero arguments.
22370 * math/s_casinh.c: Do not include <float.h>.
22371 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22372 * math/s_casinhf.c: Do not include <float.h>.
22373 (__casinhf): Move code for finite nonzero arguments to
22375 * math/s_casinhl.c: Do not include <float.h>.
22376 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22378 (__casinhl): Move code for finite nonzero arguments to
22380 * math/libm-test.inc (cacos_test): Add more tests.
22381 * sysdeps/i386/fpu/libm-test-ulps: Update.
22382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22384 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22386 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22387 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22388 [!HAVE_MREMAP]: Remove [defined linux] case.
22389 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22391 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22393 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22395 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22397 * elf/elf.h (R_386_SIZE32): New relocation.
22398 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22400 (elf_machine_rela): Likewise.
22401 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22402 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22404 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22406 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22407 (FP_FAST_FMA): Do not define.
22408 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22409 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22410 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22411 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22412 !_SOFT_FLOAT]: Likewise.
22413 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22414 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22416 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22417 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22418 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22419 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22420 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22421 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22424 2013-01-16 Andreas Schwab <schwab@suse.de>
22427 * include/stdlib.h (__mktemp): Add declaration.
22428 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22429 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22431 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22433 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22435 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22436 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22437 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22439 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22440 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22442 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22444 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22445 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22446 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22448 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22449 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22451 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22453 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22455 2013-01-15 David S. Miller <davem@davemloft.net>
22457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22458 trunc{,f} to libm-sysdep_routes.
22459 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22469 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22470 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22471 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22472 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22473 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22474 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22477 nearbyint{,f} to libm-sysdep_routes.
22478 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22489 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22491 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22492 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22494 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22495 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22496 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22498 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22499 libc_feholdexcept and libc_fesetenv.
22501 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22503 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22505 2013-01-14 David S. Miller <davem@davemloft.net>
22507 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22508 (SPARC_ASM_VIS2_IFUNC): Likewise.
22509 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22511 use of 'siam' instruction.
22512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22518 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22521 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22540 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22545 routines to libm-sysdep_routines.
22546 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22549 fdim/fdimf to libm-sysdep_routines.
22550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22558 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22559 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22560 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22561 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22563 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22565 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22566 to optimize copies.
22568 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22573 local variable MPTWO.
22574 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22577 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22579 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22582 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22584 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22586 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22588 * manual/pattern.texi (glob_t): Document gl_flags.
22589 (glob64_t): Likewise.
22591 2013-01-11 David S. Miller <davem@davemloft.net>
22593 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22594 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22595 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22596 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22597 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22598 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22599 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22600 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22601 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22602 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22603 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22604 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22605 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22607 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22608 sparc V9 rather than using V8 code.
22609 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22610 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22612 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22614 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22617 2013-01-11 Roland McGrath <roland@hack.frob.com>
22619 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22620 not in the main loop.
22621 * configure: Regenerated.
22623 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22625 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22626 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22628 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22629 [!__GLIBC_HAVE_LONG_LONG] case.
22630 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22631 condition to just #else.
22632 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22633 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22634 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22635 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22637 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22638 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22639 #elif condition to just #else.
22640 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22641 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22642 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22643 #elif condition to just #else.
22645 2013-01-11 Steve Ellcey <sellcey@mips.com>
22647 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22648 (EF_MIPS_ARCH_64): Fix value.
22649 (EF_MIPS_ARCH_32R2): New.
22650 (EF_MIPS_ARCH_64R2): New.
22652 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22654 * Makeconfig (+link-pie-before-libc): New.
22655 (+link-pie-after-libc): Likewise.
22656 (+link-pie-tests): Likewise.
22657 (+link-pie): Rewritten.
22658 (link-before-libc): Remove $(config-LDFLAGS).
22659 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22660 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22661 (config-LDFLAGS): Renamed to ...
22662 (rtld-LDFLAGS): This.
22663 (rtld-tests-LDFLAGS): New macro.
22664 (link-libc-rpath-link): Likewise.
22665 (link-libc-tests-rpath-link): Likewise.
22666 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22667 (link-libc): Prepand $(link-libc-rpath-link).
22668 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22669 (test-program-prefix): New macro.
22670 (test-via-rtld-prefix): Likewise.
22671 (test-program-cmd): Likewise.
22672 (host-test-program-cmd): Likewise.
22673 * Makefile ($(common-objpfx)testrun.sh): Replace
22674 $(run-program-prefix) with $(test-program-prefix).
22675 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22677 ($(common-objpfx)shlib.lds): Likewise.
22678 (build-module-helper): Likewise.
22679 ($(common-objpfx)format.lds): Likewise.
22680 * Rules (binaries-pie-tests): New.
22681 (binaries-pie-notests): Likewise.
22682 (binaries-pie): Rewritten.
22683 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22684 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22685 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22686 (make-test-out): Replace $(host-built-program-cmd) with
22687 $(host-test-program-cmd).
22688 * config.make.in (build-hardcoded-path-in-tests): New variable.
22689 * configure.in (--enable-hardcoded-path-in-tests): New configure
22691 (hardcoded_path_in_tests): New AC_SUBST.
22692 * configure: Regenerated.
22693 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22694 $(built-program-cmd) with $(test-program-cmd).
22695 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22696 (test_program_cmd): This.
22697 * elf/Makefile ($(objpfx)order.out): Run test with
22698 $(test-program-prefix).
22699 ($(objpfx)order2.out): Likewise.
22700 ($(objpfx)tst-initorder.out): Likewise.
22701 ($(objpfx)tst-initorder2.out): Likewise.
22702 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22703 $(test-program-cmd).
22704 ($(objpfx)tst-array1-static.out): Likewise.
22705 ($(objpfx)tst-array2.out): Likewise.
22706 ($(objpfx)tst-array3.out): Likewise.
22707 ($(objpfx)tst-array4.out): Likewise.
22708 ($(objpfx)tst-array5.out): Likewise.
22709 ($(objpfx)tst-array5-static.out): Likewise.
22710 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22711 $(test-program-cmd).
22712 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22713 $(run-program-prefix) with $(test-program-prefix).
22714 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22715 (test_program_prefix): This.
22716 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22717 $(run-program-prefix) with $(test-program-prefix).
22718 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22719 (test_program_prefix): This.
22720 * iconvdata/tst-tables.sh: Likewise.
22721 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22722 $(run-program-prefix) with $(test-program-prefix).
22723 ($(objpfx)tst-translit.out): Likewise.
22724 ($(objpfx)tst-gettext2.out): Likewise.
22725 ($(objpfx)tst-gettext4.out): Likewise.
22726 ($(objpfx)tst-gettext6.out): Likewise.
22727 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22728 (test_program_prefix): This.
22729 * intl/tst-gettext2.sh: Likewise.
22730 * intl/tst-gettext4.sh Likewise.
22731 * intl/tst-gettext6.sh: Likewise.
22732 * intl/tst-translit.sh: Likewise.
22733 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22734 with $(test-program-cmd).
22735 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22736 $(run-program-prefix) with $(test-program-prefix).
22737 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22738 (test_program_prefix): This.
22739 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22740 $(run-program-prefix) with $(test-program-prefix).
22741 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22742 (test_program_prefix): This.
22743 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22744 * posix/Makefile ($(objpfx)globtest.out): Replace
22745 $(run-via-rtld-prefix) and $(test-wrapper) with
22746 $(test-program-prefix) and $(test-via-rtld-prefix).
22747 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22748 $(test-program-prefix).
22749 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22750 $(host-test-program-cmd).
22751 (tst-spawn-ARGS): Likewise.
22752 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22753 $(test-program-prefix).
22754 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22755 (test_via_rtld_prefix): This.
22756 (test_wrapper): Renamed to ...
22757 (test_program_prefix): This.
22758 (run_program_prefix): Replaced by test_program_prefix.
22759 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22760 (test_program_prefix): This.
22761 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22762 with $(host-test-program-cmd).
22763 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22764 $(run-program-prefix) with $(test-program-prefix).
22765 ($(objpfx)tst-printf.out): Likewise.
22766 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22767 $(test-program-cmd).
22768 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22769 (test_program_prefix): This.
22770 * stdio-common/tst-unbputc.sh: Likewise.
22771 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22772 $(run-program-prefix) with $(test-program-prefix).
22773 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22774 (test_program_prefix): This.
22775 * string/Makefile ($(objpfx)tst-svc.out): Replace
22776 $(built-program-cmd) with $(test-program-cmd).
22778 2013-01-11 Andreas Jaeger <aj@suse.de>
22781 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22782 value. Sync with Linux 3.7.
22784 2013-01-10 David S. Miller <davem@davemloft.net>
22786 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22787 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22788 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22790 2013-01-10 Roland McGrath <roland@hack.frob.com>
22792 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22794 * configure: Regenerated.
22796 2013-01-10 David S. Miller <davem@davemloft.net>
22798 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22799 sparc V9 rather than using V8 code.
22800 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22801 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22803 2013-01-10 Roland McGrath <roland@hack.frob.com>
22805 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22806 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22807 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22808 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22809 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22810 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22811 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22812 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22813 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22814 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22815 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22816 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22817 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22818 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22819 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22820 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22821 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22822 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22823 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22824 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22825 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22826 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22827 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22828 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22829 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22830 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22831 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22833 2013-01-10 David S. Miller <davem@davemloft.net>
22835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22837 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22839 * posix/Makefile (tests-static): New variable.
22840 (tests): Add $(tests-static).
22841 (tst-exec-static-ARGS): New variable.
22842 (tst-spawn-static-ARGS): Likewise.
22843 * posix/tst-exec-static.c: New file.
22844 * posix/tst-spawn-static.c: Likewise.
22845 * posix/tst-exec.c: Support run directly.
22846 * posix/tst-spawn.c: Likewise.
22848 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22850 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22852 * math/bits/mathcalls.h (llrint): Likewise.
22853 (llround): Likewise.
22854 * stdlib/stdlib.h (struct drand48_data): Likewise.
22855 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22856 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22857 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22859 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22861 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22862 (elf_greg_t): Likewise.
22863 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22864 (__jmp_buf): Likewise.
22865 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22867 (llrint): Likewise, for all definitions.
22868 (llrintl): Likewise.
22870 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22871 Remove [__GNUC__] condition.
22872 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22873 condition to just [__USE_ISOC99].
22874 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22876 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22879 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22880 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22882 (_POSIX_V6_ILP32_OFF32): Likewise.
22883 (_XBS5_ILP32_OFF32): Likewise.
22884 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22885 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22887 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22889 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22891 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22892 doubles __mpexp_twomm1. Adjust usage.
22893 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22896 2013-01-10 Andreas Schwab <schwab@suse.de>
22899 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22900 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22902 2013-01-09 David S. Miller <davem@davemloft.net>
22905 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22906 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22907 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22908 (TCP_FASTOPEN): Define.
22909 (tcp_repair_opt): New structure.
22910 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22912 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22913 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22914 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22915 (tcp_cookie_transactions): New structure.
22917 2013-01-09 Anton Blanchard <anton@samba.org>
22919 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22920 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22921 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22922 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22924 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22926 * include/features.h (__USE_ANSI): Remove.
22928 2013-01-09 Roland McGrath <roland@hack.frob.com>
22930 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22932 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22934 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22936 * sysdeps/s390/fpu/libm-test-ulps: Update.
22938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22940 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22944 (denorm): Likewise.
22945 (__mp_dbl): Likewise.
22946 (__dbl_mp): Likewise.
22947 (add_magnitudes): Likewise.
22948 (sub_magnitudes): Likewise.
22954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22958 (denorm): Likewise.
22959 (__mp_dbl): Likewise.
22960 (__dbl_mp): Likewise.
22961 (add_magnitudes): Likewise.
22962 (sub_magnitudes): Likewise.
22968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22972 (denorm): Likewise.
22973 (__mp_dbl): Likewise.
22974 (__dbl_mp): Likewise.
22975 (add_magnitudes): Likewise.
22976 (sub_magnitudes): Likewise.
22983 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22985 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22986 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22987 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22988 2 && __USE_EXTERN_INLINES]: Likewise.
22990 2013-01-08 Andreas Jaeger <aj@suse.de>
22993 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22995 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22996 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22998 2013-01-07 Anton Blanchard <anton@samba.org>
23000 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23001 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23002 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23003 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23004 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23005 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23006 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23007 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23009 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23010 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23011 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23012 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23013 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23014 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23015 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23016 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23017 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23018 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23019 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23020 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23021 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23022 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23023 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23024 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23025 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23026 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23027 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23028 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23029 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23030 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23032 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23033 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23034 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23035 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23036 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23037 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23038 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23039 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23040 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23041 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23042 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23044 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23046 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23047 (__MALLOC_PMT): Likewise.
23048 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23049 [__GNUC__], only on [_LIBC].
23050 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23051 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23052 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23053 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23054 forward declaration.
23055 (realloc_hook_ini): Likewise.
23056 (memalign_hook_ini): Likewise.
23057 (__libc_memalign): Do not use __MALLOC_PMT in variable
23059 (__libc_valloc): Likewise.
23060 (__libc_pvalloc): Likewise.
23061 (__libc_calloc): Likewise.
23062 (__posix_memalign): Likewise.
23065 * math/s_casinh.c: Include <float.h>.
23066 (__casinh): Do not do computation with squaring and square root
23067 for large arguments.
23068 * math/s_casinhf.c: Include <float.h>.
23069 (__casinhf): Do not do computation with squaring and square root
23070 for large arguments.
23071 * math/s_casinhl.c: Include <float.h>.
23072 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23073 (__casinhl): Do not do computation with squaring and square root
23074 for large arguments.
23075 * math/libm-test.inc (casin_test): Add more tests.
23076 (casinh_test): Likewise.
23077 * sysdeps/i386/fpu/libm-test-ulps: Update.
23078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23080 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23082 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23083 (__x86_64_raw_data_cache_size): Likewise.
23084 (__x86_64_data_cache_size_half): Likewise.
23085 (__x86_64_raw_data_cache_size_half): Likewise.
23086 (__x86_64_shared_cache_size): Likewise.
23087 (__x86_64_raw_shared_cache_size): Likewise.
23088 (__x86_64_shared_cache_size_half): Likewise.
23089 (__x86_64_raw_shared_cache_size_half): Likewise.
23090 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23092 (__x86_data_cache_size): This.
23093 (__x86_64_raw_data_cache_size): Renamed to ...
23094 (__x86_raw_data_cache_size): This.
23095 (__x86_64_data_cache_size_half): Renamed to ...
23096 (__x86_data_cache_size_half): This.
23097 (__x86_64_raw_data_cache_size_half): Renamed to ...
23098 (__x86_raw_data_cache_size_half): This.
23099 (__x86_64_shared_cache_size): Renamed to ...
23100 (__x86_shared_cache_size): This.
23101 (__x86_64_raw_shared_cache_size): Renamed to ...
23102 (__x86_raw_shared_cache_size): This.
23103 (__x86_64_shared_cache_size_half): Renamed to ...
23104 (__x86_shared_cache_size_half): This.
23105 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23106 (__x86_raw_shared_cache_size_half): This.
23107 * sysdeps/x86_64/memcpy.S: Updated.
23108 * sysdeps/x86_64/memset.S: Likewise.
23109 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23113 2013-01-04 David S. Miller <davem@davemloft.net>
23115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23117 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23119 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23120 1 to avoid redefinition warning.
23121 (__USE_GNU): Don't define.
23122 (init_signaling_nan): Protoize.
23124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23126 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23128 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23130 (__cpymn): Likewise.
23131 (norm): Remove commented code.
23132 (denorm): Likewise.
23133 (__mp_dbl): Likewise.
23135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23136 (__cpymn): Likewise.
23137 (norm): Remove commented code.
23138 (denorm): Likewise.
23139 (__mp_dbl): Likewise.
23142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23143 mp_no value for 1.0 and 2.0.
23144 (norm): Use RADIXI instead of radixi.d.
23145 (denorm): Likewise.
23146 (__mul): Use 0.0 instead of zero.d.
23147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23148 mp_no value for 1.0 and 2.0.
23149 (norm): Use RADIXI instead of radixi.d.
23150 (denorm): Likewise.
23151 (__mul): Use 0.0 instead of zero.d.
23153 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23156 * math/s_casinh.c (__casinh): Reduce finite argument to first
23157 quadrant then set signs of results at the end.
23158 * math/s_casinhf.c (__casinhf): Likewise.
23159 * math/s_casinhl.c (__casinhl): Likewise.
23160 * math/libm-test.inc (casin_test): Add more tests.
23161 (casinh_test): Likewise.
23162 * sysdeps/i386/fpu/libm-test-ulps: Update.
23163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23165 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23167 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23169 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23171 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23173 (denorm): Likewise.
23174 (__mp_dbl): Likewise.
23177 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23178 and adjust the header comment.
23180 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23181 variable name from declaration.
23183 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23186 Initialize COMMON_CPUID_INDEX_7 element.
23187 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23188 (CPUID_RTM): Likewise.
23189 (HAS_RTM): Likewise.
23190 (COMMON_CPUID_INDEX_7): New enum.
23192 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23195 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23196 size is zero, record memory as freed.
23198 2013-01-03 Andreas Jaeger <aj@suse.de>
23200 * po/ia.po: Add new Interlingua translation.
23202 2012-01-03 Allan McRae <allan@archlinux.org>
23204 * locale/programs/localedef.c: Fix description of '--posix' flag.
23206 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23208 * NEWS: Update dates in second copyright notice.
23209 * README: Update copyright dates in example.
23210 * manual/libc.texinfo: Update copyright dates.
23211 * scripts/test-installation.pl: Update copyright date in --version
23214 * hurd/ctty-input.c: Fix copyright notice formatting.
23215 * hurd/ctty-output.c: Likewise.
23216 * hurd/dtable.c: Likewise.
23217 * hurd/hurd-raise.c: Likewise.
23218 * hurd/hurdprio.c: Likewise.
23219 * hurd/msgportdemux.c: Likewise.
23220 * misc/sys/file.h: Likewise.
23221 * misc/sys/ioctl.h: Likewise.
23222 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23223 * sysdeps/mach/hurd/chdir.c: Likewise.
23224 * sysdeps/mach/hurd/fchdir.c: Likewise.
23225 * sysdeps/mach/hurd/rename.c: Likewise.
23226 * sysdeps/mach/hurd/rmdir.c: Likewise.
23227 * sysdeps/mach/hurd/seekdir.c: Likewise.
23228 * sysdeps/mach/hurd/setsid.c: Likewise.
23229 * sysdeps/posix/wait3.c: Likewise.
23231 * All files with FSF copyright notices: Update copyright dates
23232 using scripts/update-copyrights.
23233 * intl/plural.c: Regenerated.
23234 * locale/programs/charmap-kw.h: Likewise.
23235 * locale/programs/locfile-kw.h: Likewise.
23237 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23239 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23242 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23243 calculation loop and add branch prediction.
23245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23246 check access beyond bounds of m1np.
23248 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23250 (__inv): Remove local variable MPTWO to use the global
23252 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23253 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23255 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23256 MP3HALFS static const.
23258 2013-01-01 David S. Miller <davem@davemloft.net>
23260 * po/ca.po: Update from translation team.
23262 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23264 * scripts/update-copyrights: New file.
23265 * Makeconfig: Reformat copyright notice.
23266 * ctype/ctype.h: Likewise.
23267 * debug/swprintf_chk.c: Likewise.
23268 * elf/dl-cache.c: Likewise.
23269 * elf/dl-debug.c: Likewise.
23270 * elf/dl-object.c: Likewise.
23271 * grp/initgroups.c: Likewise.
23272 * hurd/Makefile: Likewise.
23273 * hurd/hurd/signal.h: Likewise.
23274 * hurd/hurdfault.c: Likewise.
23275 * hurd/hurdioctl.c: Likewise.
23276 * hurd/hurdlookup.c: Likewise.
23277 * hurd/intr-msg.c: Likewise.
23278 * iconv/gconv_open.c: Likewise.
23279 * libio/swprintf.c: Likewise.
23280 * locale/lc-ctype.c: Likewise.
23281 * locale/nl_langinfo.c: Likewise.
23282 * mach/Machrules: Likewise.
23283 * mach/Makefile: Likewise.
23284 * malloc/obstack.h: Likewise.
23285 * manual/Makefile: Likewise.
23286 * manual/tsort.awk: Likewise.
23287 * misc/bits/stab.def: Likewise.
23288 * nis/nis_print_group_entry.c: Likewise.
23289 * nis/nis_table.c: Likewise.
23290 * nis/nss_compat/compat-pwd.c: Likewise.
23291 * nis/nss_compat/compat-spwd.c: Likewise.
23292 * po/Makefile: Likewise.
23293 * posix/fnmatch.c: Likewise.
23294 * posix/regex.h: Likewise.
23295 * resolv/Makefile: Likewise.
23296 * resolv/nss_dns/dns-network.c: Likewise.
23297 * resolv/res_hconf.c: Likewise.
23298 * scripts/gen-sorted.awk: Likewise.
23299 * soft-fp/soft-fp.h: Likewise.
23300 * stdio-common/printf.h: Likewise.
23301 * stdlib/monetary.h: Likewise.
23302 * stdlib/random.c: Likewise.
23303 * stdlib/random_r.c: Likewise.
23304 * sysdeps/generic/Makefile: Likewise.
23305 * sysdeps/gnu/Makefile: Likewise.
23306 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23307 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23308 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23309 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23310 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23311 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23314 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23323 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23329 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23330 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23331 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23332 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23333 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23334 * sysdeps/mach/hurd/errnos.awk: Likewise.
23335 * sysdeps/mach/hurd/fork.c: Likewise.
23336 * sysdeps/mach/hurd/getcwd.c: Likewise.
23337 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23338 * sysdeps/mach/hurd/mmap.c: Likewise.
23339 * sysdeps/mach/hurd/utimes.c: Likewise.
23340 * sysdeps/mach/hurd/xmknod.c: Likewise.
23341 * sysdeps/posix/profil.c: Likewise.
23342 * sysdeps/posix/readdir_r.c: Likewise.
23343 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23344 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23345 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23346 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23348 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23349 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23350 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23352 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23353 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23354 * sysdeps/pthread/lio_listio.c: Likewise.
23355 * sysdeps/sparc/dl-procinfo.h: Likewise.
23356 * sysdeps/unix/i386/sysdep.S: Likewise.
23357 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23358 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23359 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23360 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23362 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23363 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23364 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23365 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23366 * sysdeps/wordsize-32/divdi3.c: Likewise.
23367 * time/sys/time.h: Likewise.
23368 * wcsmbs/Makefile: Likewise.
23370 2013-01-01 David S. Miller <davem@davemloft.net>
23372 * po/fr.po: Update from translation team.
23374 * catgets/gencat.c: Update copyright year.
23375 * csu/version.c: Likewise.
23376 * debug/catchsegv.sh: Likewise.
23377 * debug/pcprofiledump.c: Likewise.
23378 * debug/xtrace.sh: Likewise.
23379 * elf/ldconfig.c: Likewise.
23380 * elf/ldd.bash.in: Likewise.
23381 * elf/pldd.c: Likewise.
23382 * elf/sotruss.ksh: Likewise.
23383 * elf/sprof.c: Likewise.
23384 * iconv/iconv_prog.c: Likewise.
23385 * iconv/iconvconfig.c: Likewise.
23386 * locale/programs/locale.c: Likewise.
23387 * locale/programs/localedef.c: Likewise.
23388 * login/programs/pt_chown.c: Likewise.
23389 * malloc/memusage.sh: Likewise.
23390 * malloc/memusagestat.c: Likewise.
23391 * malloc/mtrace.pl: Likewise.
23392 * nscd/nscd.c: Likewise.
23393 * nss/getent.c: Likewise.
23394 * nss/makedb.c: Likewise.
23395 * posix/getconf.c: Likewise.
23397 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23399 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23402 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23404 * math/bits/mathcalls.h (modf): Use __nonnull.
23406 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23408 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23409 (split): Use macro CN instead of the bare value.
23410 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23412 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23413 instead of the bare value.
23414 (power1): Likewise.
23416 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23418 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23420 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23422 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23424 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23425 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23426 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23427 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23429 2012-12-28 Andreas Jaeger <aj@suse.de>
23431 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23432 values are from Linux 3.7.
23434 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23435 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23437 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23439 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23442 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23444 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23445 variables with preprocessor constants.
23446 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23447 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23448 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23450 2012-12-27 Bruno Haible <bruno@clisp.org>
23453 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23456 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23458 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23459 and use variable directly.
23460 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23462 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23464 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23465 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23467 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23468 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23469 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23470 include directive. Remove local variable MPONE.
23471 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23472 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23473 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23475 2012-12-25 David S. Miller <davem@davemloft.net>
23477 * version.h (RELEASE): Set to "development".
23478 (VERSION): Set to "2.17.90".
23479 * NEWS: Add 2.18 section.
23481 2012-12-21 David S. Miller <davem@davemloft.net>
23483 * po/hr.po: Update from translation team.
23485 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23487 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23489 2012-12-19 Steve Ellcey <sellcey@mips.com>
23491 * NEWS: Mention new memcpy for MIPS.
23493 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23495 * manual/contrib.texi (Contributors): Spelling correction.
23497 2012-12-15 David S. Miller <davem@davemloft.net>
23499 * po/ru.po: Update from translation team.
23501 2012-12-13 David S. Miller <davem@davemloft.net>
23503 * NEWS: Mention IFUNC testsuite enhancements.
23505 * po/pl.po: Update from translation team.
23506 * po/bg.po: Likewise.
23508 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23509 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23511 2012-12-11 David S. Miller <davem@davemloft.net>
23513 * po/sv.po: Update from translation team.
23515 * po/vi.po: Update from translation team.
23517 * po/cs.po: Update from translation team.
23519 * po/de.po: Update from translation team.
23520 * po/eo.po: Likewise.
23521 * po/nl.po: Likewise.
23523 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23526 * manual/argp.texi (Argp Helper Functions): Move node to follow
23527 Argp Parsing State.
23530 * manual/conf.texi (Limits on File System Capacity): Mention if
23531 terminating null is included in the max size.
23533 2012-12-10 Andreas Jaeger <aj@suse.de>
23535 * po/cs.po: Update from translation team.
23537 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23539 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23540 void pointer and cast to uintptr_t.
23541 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23543 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23544 * sysdeps/s390/s390-64/memset.S: Likewise.
23546 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23549 * menual/message.texi (Message Translation): Fix typos.
23550 (Helper programs for gettext): Likewise.
23552 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23555 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23558 2012-12-07 David S. Miller <davem@davemloft.net>
23560 * po/libc.pot: Update.
23562 2012-12-07 Richard Henderson <rth@redhat.com>
23565 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23566 normal/normal case to before the switch.
23567 (_FP_DIV): Likewise.
23569 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23570 Mike Frysinger <vapier@gentoo.org>
23572 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23573 check for __NR_fadvise64_64.
23575 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23577 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23578 0, not just to plain "0" as a statement.
23579 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23582 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23584 * NEWS: Use sourceware.org in Bugzilla URL.
23586 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23589 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23591 * stdio-common/tst-put-error.c (do_test): Add newline to the
23592 padded test to ensure flush.
23594 2012-12-05 Jeff Law <law@redhat.com>
23596 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23598 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23600 * README: Don't refer to ports add-on as distributed separately.
23601 Mention AArch64 in list of systems supported in the ports add-on.
23603 * LICENSES: Add more non-FSF copyright and license notices.
23605 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23608 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23610 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23611 10000 as width of padded output.
23613 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23615 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23617 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23618 variable LX with __attribute__ ((unused)).
23619 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23621 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23622 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23623 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23624 with __attribute__ ((unused)).
23626 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23628 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23630 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23632 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23633 (CFLAGS-nldbl-acos.c): New variable.
23634 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23635 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23636 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23637 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23638 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23639 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23640 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23641 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23642 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23643 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23644 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23645 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23646 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23647 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23648 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23649 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23650 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23651 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23655 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23656 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23657 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23658 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23659 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23660 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23661 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23662 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23663 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23664 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23665 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23666 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23667 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23668 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23669 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23670 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23671 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23672 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23673 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23674 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23675 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23676 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23677 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23678 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23679 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23680 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23681 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23682 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23683 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23684 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23685 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23686 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23687 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23688 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23689 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23690 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23691 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23692 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23693 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23694 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23695 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23696 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23697 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23698 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23699 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23700 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23701 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23702 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23703 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23704 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23705 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23706 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23707 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23708 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23709 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23710 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23711 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23712 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23713 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23714 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23715 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23716 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23717 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23718 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23719 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23720 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23721 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23722 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23723 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23724 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23725 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23726 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23727 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23728 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23729 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23730 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23733 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23736 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23737 whole low double instead of just low 47 bits when splitting values
23740 2012-12-03 Allan McRae <allan@archlinux.org>
23742 * manual/stdio.texi (Predefined Printf Handlers): Remove
23743 @hsep and @vsep usage.
23745 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23747 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23748 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23750 2012-12-03 Jeff Law <law@redhat.com>
23752 * time/sys/time.h (settimeofday): Do not mark TV argument
23755 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23757 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23758 when currently writing and seek to current position when not.
23759 * libio/Makefile (tests): Remove bug-fclose1.
23760 * libio/bug-fclose1.c: Delete.
23762 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23764 * manual/arith.texi (feenableexcept): Fix typo.
23765 (fedisableexcept): Likewise.
23767 2012-11-30 Roland McGrath <roland@hack.frob.com>
23769 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23770 second, differently-typed declaration, rather than a cast.
23772 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23774 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23775 * include/rpc/svc.h: ... here.
23777 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23780 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23781 depending n and resplen2 to catch cases where answer
23784 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23786 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23787 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23789 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23791 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23793 2012-11-29 Roland McGrath <roland@hack.frob.com>
23795 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23797 2012-11-28 Jeff Law <law@redhat.com>
23800 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23801 dataset_temporary. Track alloca usage into alloca_used.
23802 If dataset is large allocate and release it via malloc/free.
23804 2012-06-04 Florian Weimer <fweimer@redhat.com>
23807 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23809 2012-11-28 David S. Miller <davem@davemloft.net>
23811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23813 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23816 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23817 of pi/2 rounded to nearest to 64 bits.
23818 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23819 nearest to 64 bits.
23820 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23823 2012-11-28 Jeff Law <law@redhat.com>
23824 Martin Osvald <mosvald@redhat.com>
23827 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23828 * sunrpc/svc.c: Include time.h.
23829 (__svc_accept_failed): New function.
23830 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23831 any reason other than EINTR, call __svc_accept_failed.
23832 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23833 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23835 2012-11-28 Andreas Schwab <schwab@suse.de>
23837 * scripts/abilist.awk: Also handle indirect functions in .opd
23840 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23843 * sysdeps/x86/fpu/powl_helper.c: New file.
23844 * sysdeps/x86/fpu/Makefile: Likewise.
23845 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23847 (__ieee754_powl): Use __powl_helper for finite arguments except
23848 integer exponents below 8.
23849 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23851 (__ieee754_powl): Use __powl_helper for finite arguments except
23852 integer exponents below 8.
23853 * math/libm-test.inc (pow_test): Add more tests and enable some
23854 previously disabled tests.
23855 * sysdeps/i386/fpu/libm-test-ulps: Update.
23856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23858 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23859 Carlos O'Donell <carlos_odonell@mentor.com>
23861 * nss/makedb.c (is_prime): Assert that input is odd and greater
23862 than 4. Note that fact in a comment too.
23863 (next_prime): Add 4 to input.
23865 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23868 * libio/Makefile (tests): Add test case tst-fwrite-error.
23869 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23870 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23871 * libio/tst-fwrite-error.c: New test case.
23873 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23875 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23876 before casting to void *.
23877 * include/libc-internal.h (__pointer_type): New macro.
23878 (__integer_if_pointer_type_sub): Likewise.
23879 (__integer_if_pointer_type): Likewise.
23880 (cast_to_integer): Likewise.
23881 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23882 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23883 before casting to atomic64_t.
23884 (atomic_exchange_acq): Likewise.
23885 (__arch_exchange_and_add_body): Likewise.
23886 (__arch_add_body): Likewise.
23887 (atomic_add_negative): Likewise.
23888 (atomic_add_zero): Likewise.
23890 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23892 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23893 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23894 (add_fdes): Likewise.
23895 (linear_search_fdes): Likewise.
23896 (binary_search_unencoded_fdes): Likewise.
23898 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23900 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23902 2012-11-24 Adam Conrad <adconrad@0c3.net>
23904 * configure.in: Autodetect C++ header directories.
23905 * configure: Regenerated.
23907 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23909 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23911 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23915 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23917 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23918 LDBL_MANT_DIG == 106]: Disable some tests.
23919 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23921 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23925 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23926 input for small inputs. Return +/- pi/2 for large inputs.
23927 * math/libm-test.inc (atan_test): Add more tests.
23929 * sysdeps/generic/unwind-dw2-fde-glibc.c
23930 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23931 __attribute__ ((unused)).
23934 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23935 x * y if x and y are nonzero and z is zero.
23938 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23939 nonzero exponents with absolute value below 0x1p-117 to +/-
23943 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23944 up arguments below 2**-450, not just those below 2**-500.
23945 * math/libm-test.inc (hypot_test): Add another test.
23948 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23949 Return a+b for ratio over 2**120, not 2**60.
23950 * math/libm-test.inc (hypot_test): Add another test.
23952 * math/libm-test.inc (clog_test): Use
23953 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23954 (clog10_test): Likewise.
23957 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23959 2012-11-22 Andreas Schwab <schwab@suse.de>
23961 * sysdeps/i386/fpu/libm-test-ulps: Update.
23963 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23965 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23966 printf output with newline.
23968 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23971 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23972 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23973 -z nodlopen, -z initfirst and -z execstack support.
23974 * configure: Regenerated.
23976 * elf/elf.h (DF_1_NODIRECT): New macro.
23977 (DF_1_IGNMULDEF): Likewise.
23978 (DF_1_NOKSYMS): Likewise.
23979 (DF_1_NOHDR): Likewise.
23980 (DF_1_EDITED): Likewise.
23981 (DF_1_NORELOC): Likewise.
23982 (DF_1_SYMINTPOSE): Likewise.
23983 (DF_1_GLOBAUDIT): Likewise.
23984 (DF_1_SINGLETON): Likewise.
23985 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23986 DT_1_SUPPORTED_MASK bits.
23987 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23989 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23991 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23993 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23995 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23998 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23999 (sendmmsg): Move declarations...
24000 * socket/sys/socket.h: ... here.
24001 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24002 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24004 * socket/recvmmsg.c: ... this new file.
24005 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24006 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24007 definition of __sendmmsg hidden.
24008 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24009 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24010 Move ENOSYS stub into and include it from...
24011 * socket/sendmmsg.c: ... this new file.
24012 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24013 (sysdep_routines): Move recvmmsg and sendmmsg...
24014 * socket/Makefile (routines): ... here.
24015 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24016 (GLIBC_PRIVATE): Add __sendmmsg.
24017 * include/sys/socket.h (__sendmmsg): Add declarations.
24018 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24021 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24023 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24024 variable I1 with __attribute__ ((unused)).
24025 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24027 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24029 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24030 DUMMY variables with __attribute__ ((unused)).
24032 * bits/byteswap.h: Include <bits/types.h>.
24033 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24035 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24037 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24038 string_t. Do not manually set errno.
24039 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24040 length with __strnlen. Make sure to both set errno and return it on
24043 2012-11-19 David S. Miller <davem@davemloft.net>
24045 With help from Joseph Myers.
24046 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24047 very large arguments properly.
24048 * math/libm-test.inc (atan_test): New tests.
24049 (atan2_test): New tests.
24050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24053 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24056 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24059 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24060 [POSIX] (EADDRNOTAVAIL): Likewise.
24061 [POSIX] (EAFNOSUPPORT): Likewise.
24062 [POSIX] (EALREADY): Likewise.
24063 [POSIX] (ECONNABORTED): Likewise.
24064 [POSIX] (ECONNREFUSED): Likewise.
24065 [POSIX] (ECONNRESET): Likewise.
24066 [POSIX] (EDESTADDRREQ): Likewise.
24067 [POSIX] (EDQUOT): Likewise.
24068 [POSIX] (EHOSTUNREACH): Likewise.
24069 [POSIX] (EIDRM): Likewise.
24070 [POSIX] (EISCONN): Likewise.
24071 [POSIX] (ELOOP): Likewise.
24072 [POSIX] (EMULTIHOP): Likewise.
24073 [POSIX] (ENETDOWN): Likewise.
24074 [POSIX] (ENETUNREACH): Likewise.
24075 [POSIX] (ENOBUFS): Likewise.
24076 [POSIX] (ENODATA): Likewise.
24077 [POSIX] (ENOLINK): Likewise.
24078 [POSIX] (ENOMSG): Likewise.
24079 [POSIX] (ENOPROTOOPT): Likewise.
24080 [POSIX] (ENOSR): Likewise.
24081 [POSIX] (ENOSTR): Likewise.
24082 [POSIX] (ENOTCONN): Likewise.
24083 [POSIX] (ENOTSOCK): Likewise.
24084 [POSIX] (EOPNOTSUPP): Likewise.
24085 [POSIX] (EOVERFLOW): Likewise.
24086 [POSIX] (EPROTO): Likewise.
24087 [POSIX] (EPROTONOSUPPORT): Likewise.
24088 [POSIX] (EPROTOTYPE): Likewise.
24089 [POSIX] (ESTALE): Likewise.
24090 [POSIX] (ETIME): Likewise.
24091 [POSIX] (ETXTBSY): Likewise.
24092 [POSIX] (EWOULDBLOCK): Likewise.
24093 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24094 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24095 [POSIX] (SEEK_CUR): Likewise.
24096 [POSIX] (SEEK_END): Likewise.
24097 [POSIX || UNIX98] (mode_t): Do not require.
24098 [POSIX] (off_t): Likewise.
24099 [POSIX] (pid_t): Likewise.
24100 [POSIX] (sys/stat.h): Do not allow header.
24101 [POSIX] (unistd.h): Likewise.
24102 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24103 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24104 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24105 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24107 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24108 sigevent): Specify elements.
24109 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24111 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24112 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24114 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24115 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24116 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24117 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24118 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24119 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24120 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24121 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24122 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24123 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24124 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24125 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24126 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24127 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24129 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24131 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24133 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24135 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24136 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24137 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24138 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24139 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24140 Specify lower bound on value.
24141 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24142 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24143 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24144 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24145 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24146 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24147 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24148 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24150 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24152 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24153 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24154 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24155 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24156 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24157 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24158 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24159 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24160 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24161 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24162 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24163 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24164 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24165 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24166 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24167 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24169 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24171 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24172 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24173 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24174 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24175 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24176 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24178 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24179 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24180 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24181 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24182 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24183 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24184 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24186 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24187 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24188 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24189 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24190 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24191 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24192 specify as optional.
24193 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24194 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24195 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24196 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24197 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24198 [XPG3] (NL_LANGMAX): Likewise.
24199 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24200 [POSIX || XPG3] (NL_NMAX): Likewise.
24201 [POSIX || XPG3] (NL_SETMAX): Likewise.
24202 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24203 [XPG3] (NZERO): Likewise.
24204 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24205 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24206 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24207 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24208 (REG_ERANGE): Expect.
24209 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24211 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24212 Use (void) in prototype.
24213 [POSIX] (*_t): Allow.
24214 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24215 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24216 (WRDE_BADVAL): Expect.
24218 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24220 [XPG3 || XPG4] (O_RSYNC): Likewise.
24221 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24223 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24224 [XPG3 || XPG4] (sigqueue): Likewise.
24225 [XPG3 || XPG4] (sigtimedwait): Likewise.
24226 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24227 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24228 [XPG3 || XPG4] (vsnprintf): Likewise.
24229 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24231 [XPG3 || XPG4] (blksize_t): Likewise.
24232 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24234 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24235 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24236 [XPG3 || XPG4] (struct itimerspec): Likewise.
24237 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24238 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24239 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24240 [XPG3 || XPG4] (clockid_t): Likewise.
24241 [XPG3 || XPG4] (timer_t): Likewise.
24242 [XPG3 || XPG4] (clock_getres): Likewise.
24243 [XPG3 || XPG4] (clock_gettime): Likewise.
24244 [XPG3 || XPG4] (clock_settime): Likewise.
24245 [XPG3 || XPG4] (nanosleep): Likewise.
24246 [XPG3 || XPG4] (timer_create): Likewise.
24247 [XPG3 || XPG4] (timer_delete): Likewise.
24248 [XPG3 || XPG4] (timer_gettime): Likewise.
24249 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24250 [XPG3 || XPG4] (timer_settime): Likewise.
24251 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24252 [XPG3 || XPG4] (getlogin_r): Likewise.
24253 [XPG3 || XPG4] (pread): Likewise.
24254 [XPG3 || XPG4] (pthread_atfork): Likewise.
24255 [XPG3 || XPG4] (pwrite): Likewise.
24258 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24261 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24263 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24264 finalizing MALLSTREAM.
24266 * sysdeps/mach/hurd/syncfs.c: New file.
24268 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24271 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24272 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24273 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24274 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24275 (_nss_dns_gethostbyname4_r): Likewise.
24276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24277 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24279 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24282 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24284 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24286 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24287 * elf/cache.c (print_entry): Print ",AArch64" for
24290 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24291 * elf/cache.c (print_entry): Print ",hard-float" for
24294 2012-11-18 David S. Miller <davem@davemloft.net>
24296 With help from Joseph Myers.
24297 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24299 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24301 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24302 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24304 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24305 * math/libm-test.inc (y0_test): New tests.
24306 (y1_test): New tests.
24307 * sysdeps/i386/fpu/libm-test-ulps: Update.
24308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24311 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24313 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24315 * configure: Regenerated.
24317 2012-11-17 David S. Miller <davem@davemloft.net>
24320 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24321 nonzero exponents with absolute value below 0x1p-128 to +/-
24324 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24326 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24328 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24330 * posix/getconf-speclist.c: New file.
24331 * posix/posix-envs.def: Likewise.
24332 * posix/confstr.c (START_ENV_GROUP): New macro.
24333 (END_ENV_GROUP): Likewise.
24334 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24335 (KNOWN_PRESENT_ENV_STRING): Likewise.
24336 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24337 (UNKNOWN_ENVIRONMENT): Likewise.
24338 (confstr): Include posix-envs.def instead of handling
24339 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24340 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24341 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24342 (END_ENV_GROUP): Likewise.
24343 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24344 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24345 (UNKNOWN_ENVIRONMENT): Likewise.
24346 (__sysconf): Include posix-envs.def instead of handling associated
24347 cases directly here.
24348 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24349 preprocessing getconf-speclist.c rather than running getconf or
24350 generating empty file.
24352 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24354 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24356 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24359 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24361 2012-11-16 David S. Miller <davem@davemloft.net>
24363 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24364 smaller than LDBL_EPSILON/2.0L, just return xm1.
24366 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24368 * elf/tst-array1.c (init): Set constructor priority to 1000.
24369 (fini): Set destructor priority to 1000.
24370 * elf/tst-array2dep.c: Likewise.
24372 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24375 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24376 (_IO_new_file_xsputn): Also return EOF if none of the input
24377 data was written when overflow failed.
24378 * libio/iopadn.c (_IO_padn): Likewise.
24379 * libio/iowpadn.c (_IO_wpadn): Likewise.
24380 * stdio-common/tst-put-error.c: Add copyright notice.
24381 (do_test): Add case for printing padded string.
24382 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24383 _IO_padn returned error.
24384 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24385 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24388 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24390 * libio/libioP.h: Add comment note that the references to C++
24391 bits are now obsolete.
24393 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24395 * math/libm-test.inc (check_complex): Use asprintf.
24397 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24399 * debug/pcprofiledump.c (print_version): Update copyright year.
24400 * malloc/memusagestat.c (print_version): Likewise.
24402 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24405 * elf/Makefile (tests): Add tst-audit8.
24406 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24407 ($(objpfx)tst-audit8.out): New target.
24408 (tst-audit8-ENV): New variable.
24409 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24410 audit if l_reloc_result is NULL.
24411 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24412 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24413 * elf/tst-audit8.c: New file.
24415 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24417 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24418 * misc/Makefile (CFLAGS-select.c): Define.
24419 * posix/Makefile (CFLAGS-pause.c): Define.
24421 2012-11-13 David S. Miller <davem@davemloft.net>
24423 * crypt/Makefile: Move test targets after toplevel Rules
24424 inclusion. Grab any necessary sysdep routines when linking.
24425 * crypt/md5.c (md5_process_block): Remove define, we will always
24426 name it __md5_process_block.
24427 (md5_finish_ctx): Update md5_process_block call.
24428 (md5_stream): Likewise.
24429 (md5_process_bytes): Likewise.
24430 (md5_process_block): Rename to __md5_process_block and move to ...
24431 * crypt/md5-block.c: ... here.
24432 * crypt/sha256.c (sha256_process_block): Move to ...
24433 * crypt/sha256-block.c: ... here.
24434 * crypt/sha512.c (sha512_process_block): Move to ...
24435 * crypt/sha512-block.c: ... here.
24436 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24438 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24439 * sysdeps/sparc/sparc64/multiarch/Makefile
24440 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24442 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24443 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24445 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24446 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24447 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24448 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24449 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24450 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24451 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24452 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24453 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24455 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24456 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24458 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24460 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24462 * timezone/tzselect.ksh: Update from tzcode git revision
24463 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24464 * timezone/zdump.c: Likewise.
24465 * timezone/zic.c: Likewise.
24466 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24467 in TZVERSION setting, not $(PKGVERSION).
24468 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24469 REPORT_BUGS_TO settings.
24472 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24475 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24477 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24478 detection to immediately after _FP_ROUND().
24479 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24482 2012-11-11 David S. Miller <davem@davemloft.net>
24484 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24486 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24487 __close rather than their public counterparts.
24489 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24491 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24493 [UNIX98] (sem_timedwait): Do not expect.
24494 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24495 [XPG4 || UNIX98] (sockatmark): Do not expect.
24496 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24497 (clock_getcpuclockid): Do not expect.
24498 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24499 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24501 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24502 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24503 [UNIX98] (vwscanf): Likewise.
24504 [UNIX98] (vswscanf): Likewise.
24506 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24508 * timezone/version.h: Remove file.
24509 * timezone/README: Do not refer to version.h.
24510 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24511 $(objpfx)version.h.
24512 ($(objpfx)zdump.o): Likewise.
24513 ($(objpfx)version.h): New target.
24515 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24517 * timezone/README: Don't mention modification to tzselect.ksh.
24518 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24519 work on unmodified tzselect.ksh. Substitute version numbers in
24522 * Makefile (format-me): Remove.
24523 (INSTALL): Adjust indentation. Use commands directly instead of
24524 using $(format-me).
24526 * aclocal.m4 (ACX_PKGVERSION): New macro.
24527 (ACX_BUGURL): Likewise.
24528 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24529 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24530 (REPORT_BUGS_TO): Likewise.
24531 * configure: Regenerated.
24532 * config.h.in (PKGVERSION): New macro.
24533 (REPORT_BUGS_TO): Likewise.
24534 * config.make.in (PKGVERSION): New variable.
24535 (PKGVERSION_TEXI): Likewise.
24536 (REPORT_BUGS_TO): Likewise.
24537 (REPORT_BUGS_TEXI): Likewise.
24538 * Makefile (format-me): Use -I$(common-objpfx)manual.
24539 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24540 ($(common-objpfx)manual/%): New target.
24541 (manual/%): Remove target.
24542 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24543 (print_version): Use PKGVERSION.
24544 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24545 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24546 and REPORT_BUGS_TO.
24547 ($(objpfx)xtrace): Likewise.
24548 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24549 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24550 (print_version): Use PKGVERSION.
24551 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24552 (do_version): Use PKGVERSION.
24553 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24555 (common-ldd-rewrite): Likewise.
24556 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24557 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24558 (print_version): Use PKGVERSION.
24559 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24560 * elf/pldd.c (argp_program_bug_address): Remove variable.
24561 (more_help): New function.
24562 (argp): Use more_help.
24563 (print_version): Use PKGVERSION.
24564 * elf/sln.c (main): Use PKGVERSION.
24565 (usage): Use REPORT_BUGS_TO.
24566 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24567 (top level): Use PKGVERSION.
24568 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24569 (print_version): Use PKGVERSION.
24570 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24571 (print_version): Use PKGVERSION.
24572 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24573 (print_version): Use PKGVERSION.
24574 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24575 (print_version): Use PKGVERSION.
24576 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24577 (print_version): Use PKGVERSION.
24578 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24579 (print_version): Use PKGVERSION.
24580 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24582 ($(objpfx)memusage): Likewise.
24583 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24584 (do_version): Use PKGVERSION.
24585 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24586 (print_version): Use PKGVERSION.
24587 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24588 ($PKGVERSION): New variable.
24589 ($REPORT_BUGS_TO): Likewise.
24590 (usage): Use $REPORT_BUGS_TO.
24591 (top level): Use $PKGVERSION.
24592 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24593 ($(objpfx)pkgvers.texi): New rule.
24594 ($(objpfx)stamp-pkgvers): Likewise.
24595 * manual/install.texi: Include pkgvers.texi.
24596 (--with-pkgversion): Document new configure option.
24597 (--with-bugurl): Likewise.
24598 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24599 than necessarily for this particular distribution. Use
24600 REPORT_BUGS_TO for where to report bugs.
24601 * INSTALL: Regenerated.
24602 * manual/libc.texinfo: Include pkgvers.texi.
24603 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24604 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24605 (print_version): Use PKGVERSION.
24606 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24607 (print_version): Use PKGVERSION.
24608 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24609 (print_version): Use PKGVERSION.
24610 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24611 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24613 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24614 (print_version): Use PKGVERSION.
24615 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24616 (print_version): Use PKGVERSION.
24617 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24620 * timezone/checktab.awk: Update from tzcode 2012i.
24621 * timezone/ialloc.c: Likewise.
24622 * timezone/private.h: Likewise.
24623 * timezone/scheck.c: Likewise.
24624 * timezone/tzfile.h: Likewise.
24625 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24626 (TZVERSION): Hardcode tzcode version number.
24627 * timezone/zdump.c: Update from tzcode 2012i.
24628 * timezone/zic.c: Likewise.
24629 * timezone/version.h: New file.
24630 * timezone/README: Describe version.h. Update upstream location.
24633 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24634 (mktemp): Enable declaration.
24635 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24636 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24637 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24638 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24640 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24642 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24644 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24646 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24648 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24652 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24653 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24654 for copies of such integer values.
24655 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24656 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24658 2012-11-09 Andreas Jaeger <aj@suse.de>
24660 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24661 definitions and declarations that are provided by
24662 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24664 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24666 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24667 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24668 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24671 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24673 * elf/elf.h: Update comment before AArch64 relocations.
24675 2012-11-07 David S. Miller <davem@davemloft.net>
24677 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24678 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24679 (__start_context): Declare.
24680 (__makecontext_ret): Delete.
24681 (__makecontext): Hook up __start_context instead of
24683 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24684 (sysdep_routines): Add __start_context when in stdlib.
24686 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24688 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24689 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24690 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24692 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24693 (READELF): New variable. Use it instead of hardcoded "readelf".
24695 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24697 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24698 * sysdeps/x86/Makefile: Here.
24699 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24700 * sysdeps/x86/tst-xmmymm.sh: This.
24702 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24704 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24706 [UNIX98] (pthread_barrier_t): Do not expect.
24707 [UNIX98] (pthread_barrierattr_t): Likewise.
24708 [UNIX98] (pthread_spinlock_t): Likewise.
24709 [UNIX98] (pthread_barrier_destroy): Likewise.
24710 [UNIX98] (pthread_barrier_init): Likewise.
24711 [UNIX98] (pthread_barrier_wait): Likewise.
24712 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24713 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24714 [UNIX98] (pthread_barrierattr_init): Likewise.
24715 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24716 [UNIX98] (pthread_getcpuclockid): Likewise.
24717 [UNIX98] (pthread_mutex_timedlock): Likewise.
24718 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24719 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24720 [UNIX98] (pthread_sigmask): Likewise.
24721 [UNIX98] (pthread_spin_destroy): Likewise.
24722 [UNIX98] (pthread_spin_init): Likewise.
24723 [UNIX98] (pthread_spin_lock): Likewise.
24724 [UNIX98] (pthread_spin_trylock): Likewise.
24725 [UNIX98] (pthread_spin_unlock): Likewise.
24726 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24728 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24729 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24730 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24731 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24732 [XPG3 || XPG4] (pthread_key_t): Likewise.
24733 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24734 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24735 [XPG3 || XPG4] (pthread_once_t): Likewise.
24736 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24737 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24738 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24739 [XPG3 || XPG4] (pthread_t): Likewise.
24741 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24743 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24745 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24746 Change function return type to int.
24748 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24749 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24750 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24751 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24752 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24753 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24754 [!POSIX] (posix_madvise): Likewise.
24755 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24757 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24758 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24759 (mode_t): Likewise.
24760 (posix_mem_offset): Likewise.
24761 (posix_typed_mem_get_info): Likewise.
24762 (posix_typed_mem_open): Likewise.
24764 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24765 Change condition to [XOPEN2K8].
24767 * conform/conformtest.pl: Preprocess allow-header data with -x c
24768 instead of from stdin.
24769 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24770 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24771 [C99-based standards] (cerfc): Likewise.
24772 [C99-based standards] (cexp2): Likewise.
24773 [C99-based standards] (cexpm1): Likewise.
24774 [C99-based standards] (clog10): Likewise.
24775 [C99-based standards] (clog1p): Likewise.
24776 [C99-based standards] (clog2): Likewise.
24777 [C99-based standards] (clgamma): Likewise.
24778 [C99-based standards] (ctgamma): Likewise.
24779 [C99-based standards] (cerff): Likewise.
24780 [C99-based standards] (cerfcf): Likewise.
24781 [C99-based standards] (cexp2f): Likewise.
24782 [C99-based standards] (cexpm1f): Likewise.
24783 [C99-based standards] (clog10f): Likewise.
24784 [C99-based standards] (clog1pf): Likewise.
24785 [C99-based standards] (clog2f): Likewise.
24786 [C99-based standards] (clgammaf): Likewise.
24787 [C99-based standards] (ctgammaf): Likewise.
24788 [C99-based standards] (cerfl): Likewise.
24789 [C99-based standards] (cerfcl): Likewise.
24790 [C99-based standards] (cexp2l): Likewise.
24791 [C99-based standards] (cexpm1l): Likewise.
24792 [C99-based standards] (clog10l): Likewise.
24793 [C99-based standards] (clog1pl): Likewise.
24794 [C99-based standards] (clog2l): Likewise.
24795 [C99-based standards] (clgammal): Likewise.
24796 [C99-based standards] (ctgammal): Likewise.
24797 * conform/data/inttypes.h-data [C99-based standards]: Include
24798 stdint.h-data. Remove all expectations for stdint.h contents.
24799 [C99-based standards] (PRI*): Do not allow.
24800 [C99-based standards] (SCN*): Likewise.
24801 [C99-based standards] (*_t): Likewise.
24802 [C99-based-standards] (PRId8): Expect macro.
24803 [C99-based-standards] (PRIi8): Likewise.
24804 [C99-based-standards] (PRIo8): Likewise.
24805 [C99-based-standards] (PRIu8): Likewise.
24806 [C99-based-standards] (PRIx8): Likewise.
24807 [C99-based-standards] (PRIX8): Likewise.
24808 [C99-based-standards] (SCNd8): Likewise.
24809 [C99-based-standards] (SCNi8): Likewise.
24810 [C99-based-standards] (SCNo8): Likewise.
24811 [C99-based-standards] (SCNu8): Likewise.
24812 [C99-based-standards] (SCNx8): Likewise.
24813 [C99-based-standards] (PRIdLEAST8): Likewise.
24814 [C99-based-standards] (PRIiLEAST8): Likewise.
24815 [C99-based-standards] (PRIoLEAST8): Likewise.
24816 [C99-based-standards] (PRIuLEAST8): Likewise.
24817 [C99-based-standards] (PRIxLEAST8): Likewise.
24818 [C99-based-standards] (PRIXLEAST8): Likewise.
24819 [C99-based-standards] (SCNdLEAST8): Likewise.
24820 [C99-based-standards] (SCNiLEAST8): Likewise.
24821 [C99-based-standards] (SCNoLEAST8): Likewise.
24822 [C99-based-standards] (SCNuLEAST8): Likewise.
24823 [C99-based-standards] (SCNxLEAST8): Likewise.
24824 [C99-based-standards] (PRIdFAST8): Likewise.
24825 [C99-based-standards] (PRIiFAST8): Likewise.
24826 [C99-based-standards] (PRIoFAST8): Likewise.
24827 [C99-based-standards] (PRIuFAST8): Likewise.
24828 [C99-based-standards] (PRIxFAST8): Likewise.
24829 [C99-based-standards] (PRIXFAST8): Likewise.
24830 [C99-based-standards] (SCNdFAST8): Likewise.
24831 [C99-based-standards] (SCNiFAST8): Likewise.
24832 [C99-based-standards] (SCNoFAST8): Likewise.
24833 [C99-based-standards] (SCNuFAST8): Likewise.
24834 [C99-based-standards] (SCNxFAST8): Likewise.
24835 [C99-based-standards] (PRId16): Likewise.
24836 [C99-based-standards] (PRIi16): Likewise.
24837 [C99-based-standards] (PRIo16): Likewise.
24838 [C99-based-standards] (PRIu16): Likewise.
24839 [C99-based-standards] (PRIx16): Likewise.
24840 [C99-based-standards] (PRIX16): Likewise.
24841 [C99-based-standards] (SCNd16): Likewise.
24842 [C99-based-standards] (SCNi16): Likewise.
24843 [C99-based-standards] (SCNo16): Likewise.
24844 [C99-based-standards] (SCNu16): Likewise.
24845 [C99-based-standards] (SCNx16): Likewise.
24846 [C99-based-standards] (PRIdLEAST16): Likewise.
24847 [C99-based-standards] (PRIiLEAST16): Likewise.
24848 [C99-based-standards] (PRIoLEAST16): Likewise.
24849 [C99-based-standards] (PRIuLEAST16): Likewise.
24850 [C99-based-standards] (PRIxLEAST16): Likewise.
24851 [C99-based-standards] (PRIXLEAST16): Likewise.
24852 [C99-based-standards] (SCNdLEAST16): Likewise.
24853 [C99-based-standards] (SCNiLEAST16): Likewise.
24854 [C99-based-standards] (SCNoLEAST16): Likewise.
24855 [C99-based-standards] (SCNuLEAST16): Likewise.
24856 [C99-based-standards] (SCNxLEAST16): Likewise.
24857 [C99-based-standards] (PRIdFAST16): Likewise.
24858 [C99-based-standards] (PRIiFAST16): Likewise.
24859 [C99-based-standards] (PRIoFAST16): Likewise.
24860 [C99-based-standards] (PRIuFAST16): Likewise.
24861 [C99-based-standards] (PRIxFAST16): Likewise.
24862 [C99-based-standards] (PRIXFAST16): Likewise.
24863 [C99-based-standards] (SCNdFAST16): Likewise.
24864 [C99-based-standards] (SCNiFAST16): Likewise.
24865 [C99-based-standards] (SCNoFAST16): Likewise.
24866 [C99-based-standards] (SCNuFAST16): Likewise.
24867 [C99-based-standards] (SCNxFAST16): Likewise.
24868 [C99-based-standards] (PRId32): Likewise.
24869 [C99-based-standards] (PRIi32): Likewise.
24870 [C99-based-standards] (PRIo32): Likewise.
24871 [C99-based-standards] (PRIu32): Likewise.
24872 [C99-based-standards] (PRIx32): Likewise.
24873 [C99-based-standards] (PRIX32): Likewise.
24874 [C99-based-standards] (SCNd32): Likewise.
24875 [C99-based-standards] (SCNi32): Likewise.
24876 [C99-based-standards] (SCNo32): Likewise.
24877 [C99-based-standards] (SCNu32): Likewise.
24878 [C99-based-standards] (SCNx32): Likewise.
24879 [C99-based-standards] (PRIdLEAST32): Likewise.
24880 [C99-based-standards] (PRIiLEAST32): Likewise.
24881 [C99-based-standards] (PRIoLEAST32): Likewise.
24882 [C99-based-standards] (PRIuLEAST32): Likewise.
24883 [C99-based-standards] (PRIxLEAST32): Likewise.
24884 [C99-based-standards] (PRIXLEAST32): Likewise.
24885 [C99-based-standards] (SCNdLEAST32): Likewise.
24886 [C99-based-standards] (SCNiLEAST32): Likewise.
24887 [C99-based-standards] (SCNoLEAST32): Likewise.
24888 [C99-based-standards] (SCNuLEAST32): Likewise.
24889 [C99-based-standards] (SCNxLEAST32): Likewise.
24890 [C99-based-standards] (PRIdFAST32): Likewise.
24891 [C99-based-standards] (PRIiFAST32): Likewise.
24892 [C99-based-standards] (PRIoFAST32): Likewise.
24893 [C99-based-standards] (PRIuFAST32): Likewise.
24894 [C99-based-standards] (PRIxFAST32): Likewise.
24895 [C99-based-standards] (PRIXFAST32): Likewise.
24896 [C99-based-standards] (SCNdFAST32): Likewise.
24897 [C99-based-standards] (SCNiFAST32): Likewise.
24898 [C99-based-standards] (SCNoFAST32): Likewise.
24899 [C99-based-standards] (SCNuFAST32): Likewise.
24900 [C99-based-standards] (SCNxFAST32): Likewise.
24901 [C99-based-standards] (PRId64): Likewise.
24902 [C99-based-standards] (PRIi64): Likewise.
24903 [C99-based-standards] (PRIo64): Likewise.
24904 [C99-based-standards] (PRIu64): Likewise.
24905 [C99-based-standards] (PRIx64): Likewise.
24906 [C99-based-standards] (PRIX64): Likewise.
24907 [C99-based-standards] (SCNd64): Likewise.
24908 [C99-based-standards] (SCNi64): Likewise.
24909 [C99-based-standards] (SCNo64): Likewise.
24910 [C99-based-standards] (SCNu64): Likewise.
24911 [C99-based-standards] (SCNx64): Likewise.
24912 [C99-based-standards] (PRIdLEAST64): Likewise.
24913 [C99-based-standards] (PRIiLEAST64): Likewise.
24914 [C99-based-standards] (PRIoLEAST64): Likewise.
24915 [C99-based-standards] (PRIuLEAST64): Likewise.
24916 [C99-based-standards] (PRIxLEAST64): Likewise.
24917 [C99-based-standards] (PRIXLEAST64): Likewise.
24918 [C99-based-standards] (SCNdLEAST64): Likewise.
24919 [C99-based-standards] (SCNiLEAST64): Likewise.
24920 [C99-based-standards] (SCNoLEAST64): Likewise.
24921 [C99-based-standards] (SCNuLEAST64): Likewise.
24922 [C99-based-standards] (SCNxLEAST64): Likewise.
24923 [C99-based-standards] (PRIdFAST64): Likewise.
24924 [C99-based-standards] (PRIiFAST64): Likewise.
24925 [C99-based-standards] (PRIoFAST64): Likewise.
24926 [C99-based-standards] (PRIuFAST64): Likewise.
24927 [C99-based-standards] (PRIxFAST64): Likewise.
24928 [C99-based-standards] (PRIXFAST64): Likewise.
24929 [C99-based-standards] (SCNdFAST64): Likewise.
24930 [C99-based-standards] (SCNiFAST64): Likewise.
24931 [C99-based-standards] (SCNoFAST64): Likewise.
24932 [C99-based-standards] (SCNuFAST64): Likewise.
24933 [C99-based-standards] (SCNxFAST64): Likewise.
24934 [C99-based-standards] (PRIdMAX): Likewise.
24935 [C99-based-standards] (PRIiMAX): Likewise.
24936 [C99-based-standards] (PRIoMAX): Likewise.
24937 [C99-based-standards] (PRIuMAX): Likewise.
24938 [C99-based-standards] (PRIxMAX): Likewise.
24939 [C99-based-standards] (PRIXMAX): Likewise.
24940 [C99-based-standards] (SCNdMAX): Likewise.
24941 [C99-based-standards] (SCNiMAX): Likewise.
24942 [C99-based-standards] (SCNoMAX): Likewise.
24943 [C99-based-standards] (SCNuMAX): Likewise.
24944 [C99-based-standards] (SCNxMAX): Likewise.
24945 [C99-based-standards] (PRIdPTR): Likewise.
24946 [C99-based-standards] (PRIiPTR): Likewise.
24947 [C99-based-standards] (PRIoPTR): Likewise.
24948 [C99-based-standards] (PRIuPTR): Likewise.
24949 [C99-based-standards] (PRIxPTR): Likewise.
24950 [C99-based-standards] (PRIXPTR): Likewise.
24951 [C99-based-standards] (SCNdPTR): Likewise.
24952 [C99-based-standards] (SCNiPTR): Likewise.
24953 [C99-based-standards] (SCNoPTR): Likewise.
24954 [C99-based-standards] (SCNuPTR): Likewise.
24955 [C99-based-standards] (SCNxPTR): Likewise.
24956 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24958 * conform/data/stdint.h-data: Update comments to clarify
24960 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24962 [C99-based standards] (INT8_MAX): Likewise.
24963 [C99-based standards] (INT16_MIN): Likewise.
24964 [C99-based standards] (INT16_MAX): Likewise.
24965 [C99-based standards] (INT32_MIN): Likewise.
24966 [C99-based standards] (INT32_MAX): Likewise.
24967 [C99-based standards] (INT64_MIN): Likewise.
24968 [C99-based standards] (INT64_MAX): Likewise.
24969 [C99-based standards] (UINT8_MAX): Likewise.
24970 [C99-based standards] (UINT16_MAX): Likewise.
24971 [C99-based standards] (UINT32_MAX): Likewise.
24972 [C99-based standards] (UINT64_MAX): Likewise.
24973 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24974 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24975 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24976 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24977 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24978 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24979 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24980 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24981 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24982 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24983 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24984 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24985 [C99-based standards] (INT_FAST8_MIN): Likewise.
24986 [C99-based standards] (INT_FAST8_MAX): Likewise.
24987 [C99-based standards] (INT_FAST16_MIN): Likewise.
24988 [C99-based standards] (INT_FAST16_MAX): Likewise.
24989 [C99-based standards] (INT_FAST32_MIN): Likewise.
24990 [C99-based standards] (INT_FAST32_MAX): Likewise.
24991 [C99-based standards] (INT_FAST64_MIN): Likewise.
24992 [C99-based standards] (INT_FAST64_MAX): Likewise.
24993 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24994 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24995 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24996 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24997 [C99-based standards] (INTPTR_MIN): Likewise.
24998 [C99-based standards] (INTPTR_MAX): Likewise.
24999 [C99-based standards] (UINTPTR_MAX): Likewise.
25000 [C99-based standards] (INTMAX_MIN): Likewise.
25001 [C99-based standards] (INTMAX_MAX): Likewise.
25002 [C99-based standards] (UINTMAX_MAX): Likewise.
25003 [C99-based standards] (PTRDIFF_MIN): Likewise.
25004 [C99-based standards] (PTRDIFF_MAX): Likewise.
25005 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25006 [C99-based standards] (SIZE_MAX): Likewise.
25007 [C99-based standards] (WCHAR_MAX): Likewise.
25008 [C99-based standards] (WINT_MAX): Likewise.
25009 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25010 constraint on value.
25011 [C99-based standards] (WCHAR_MIN): Likewise.
25012 [C99-based standards] (WINT_MIN): Likewise.
25013 [C99-based standards] (*_t): Allow.
25014 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25015 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25016 Include math.h-data and complex.h-data. Remove all expectations
25017 of math.h and complex.h contents.
25018 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25020 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25021 (struct tm): Expect tag.
25022 [C99-based-standards] (wcstof): Expect function.
25023 [C99-based-standards] (wcstold): Likewise.
25024 [C99-based-standards] (wcstoll): Likewise.
25025 [C99-based-standards] (wcstoull): Likewise.
25026 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25027 macro-int-constant. Specify type.
25028 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25029 constraint on value.
25030 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25032 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25034 [ISO C standards]: Do not allow headers.
25035 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25036 wcs[abcdefghijklmnopqrstuvwxyz]*.
25037 [ISO C standards] (*_t): Do not allow.
25038 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25040 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25041 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25043 [ISO C standards]: Do not allow headers.
25044 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25045 is[abcdefghijklmnopqrstuvwxyz]*.
25046 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25047 to[abcdefghijklmnopqrstuvwxyz]*.
25048 [ISO C standards] (*_t): Do not allow.
25049 * conform/data/stdalign.h-data: New file.
25050 * conform/data/stdbool.h-data: Likewise.
25051 * conform/data/stdnoreturn.h-data: Likewise.
25053 2012-11-07 Roland McGrath <roland@hack.frob.com>
25056 * manual/filesys.texi (Directory Entries): Typo fix.
25057 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25059 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25061 * elf/elf.h (EM_AARCH64): New macro.
25062 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25063 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25064 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25065 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25066 (R_AARCH64_TLSDESC): Likewise.
25067 (NT_ARM_TLS): Likewise.
25068 (NT_ARM_HW_BREAK): Likewise.
25069 (NT_ARM_HW_WATCH): Likewise.
25071 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25074 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25075 (__ieee754_powl): Saturate nonzero exponents with absolute value
25076 below 0x1p-79 to +/- 0x1p-79.
25077 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25078 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25079 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25080 nonzero exponents with absolute value below 0x1p-32 to +/-
25082 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25083 (__ieee754_powl): Saturate nonzero exponents with absolute value
25084 below 0x1p-79 to +/- 0x1p-79.
25085 * math/libm-test.inc (pow_test): Add more tests.
25087 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25089 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25090 _dl_s390_cap_flags with kernel. Increase string length.
25091 (_dl_s390_platforms): Add z196 and zEC12.
25093 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25095 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25096 Change XOPEN21K to XOPEN2K.
25098 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25100 * string/memmove.c: Use memcpy when possible.
25102 2012-11-06 Andreas Jaeger <aj@suse.de>
25104 * po/eo.po: Update from translation team.
25106 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25110 exponent and small x and y exponents, scale x or y up. Increase
25111 by 2 the exponent used in scaling up.
25112 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25113 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25114 * math/libm-test.inc (fma_test): Add more tests.
25115 (fma_test_towardzero): Likewise.
25116 (fma_test_downward): Likewise.
25117 (fma_test_upward): Likewise.
25119 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25122 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25126 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25127 namespace for names of struct fields.
25128 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25130 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25131 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25133 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25136 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25138 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25140 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25144 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25147 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25151 definitely overflow as x * y not x * y + z.
25152 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25153 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25154 * math/libm-test.inc (fma_test): Add more tests.
25155 (fma_test_towardzero): Likewise.
25156 (fma_test_downward): Likewise.
25157 (fma_test_upward): Likewise.
25159 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25163 * include/stub-tag.h: Remove file.
25164 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25166 * manual/maint.texi (Porting): Don't reference it.
25167 * Makerules ($(objpfx)stubs): Likewise.
25168 * dirent/closedir.c: Don't include <stub-tag.h>.
25169 * dirent/dirfd.c: Likewise.
25170 * dirent/fdopendir.c: Likewise.
25171 * dirent/getdents.c: Likewise.
25172 * dirent/getdents64.c: Likewise.
25173 * dirent/opendir.c: Likewise.
25174 * dirent/readdir.c: Likewise.
25175 * dirent/readdir64.c: Likewise.
25176 * dirent/readdir64_r.c: Likewise.
25177 * dirent/readdir_r.c: Likewise.
25178 * dirent/rewinddir.c: Likewise.
25179 * dirent/seekdir.c: Likewise.
25180 * dirent/telldir.c: Likewise.
25181 * gmon/profil.c: Likewise.
25182 * grp/setgroups.c: Likewise.
25183 * inet/if_index.c: Likewise.
25184 * io/access.c: Likewise.
25185 * io/chdir.c: Likewise.
25186 * io/chmod.c: Likewise.
25187 * io/chown.c: Likewise.
25188 * io/close.c: Likewise.
25189 * io/dup.c: Likewise.
25190 * io/dup2.c: Likewise.
25191 * io/dup3.c: Likewise.
25192 * io/euidaccess.c: Likewise.
25193 * io/faccessat.c: Likewise.
25194 * io/fchdir.c: Likewise.
25195 * io/fchmod.c: Likewise.
25196 * io/fchmodat.c: Likewise.
25197 * io/fchown.c: Likewise.
25198 * io/fchownat.c: Likewise.
25199 * io/fcntl.c: Likewise.
25200 * io/flock.c: Likewise.
25201 * io/fstatfs.c: Likewise.
25202 * io/fstatfs64.c: Likewise.
25203 * io/fstatvfs.c: Likewise.
25204 * io/fstatvfs64.c: Likewise.
25205 * io/futimens.c: Likewise.
25206 * io/fxstat.c: Likewise.
25207 * io/fxstat64.c: Likewise.
25208 * io/fxstatat.c: Likewise.
25209 * io/fxstatat64.c: Likewise.
25210 * io/getcwd.c: Likewise.
25211 * io/isatty.c: Likewise.
25212 * io/lchmod.c: Likewise.
25213 * io/lchown.c: Likewise.
25214 * io/link.c: Likewise.
25215 * io/linkat.c: Likewise.
25216 * io/lseek.c: Likewise.
25217 * io/lseek64.c: Likewise.
25218 * io/lxstat64.c: Likewise.
25219 * io/mkdir.c: Likewise.
25220 * io/mkdirat.c: Likewise.
25221 * io/mkfifo.c: Likewise.
25222 * io/mkfifoat.c: Likewise.
25223 * io/open.c: Likewise.
25224 * io/open64.c: Likewise.
25225 * io/openat.c: Likewise.
25226 * io/openat64.c: Likewise.
25227 * io/pipe.c: Likewise.
25228 * io/pipe2.c: Likewise.
25229 * io/poll.c: Likewise.
25230 * io/posix_fadvise.c: Likewise.
25231 * io/posix_fadvise64.c: Likewise.
25232 * io/posix_fallocate.c: Likewise.
25233 * io/posix_fallocate64.c: Likewise.
25234 * io/read.c: Likewise.
25235 * io/readlink.c: Likewise.
25236 * io/readlinkat.c: Likewise.
25237 * io/rmdir.c: Likewise.
25238 * io/sendfile.c: Likewise.
25239 * io/sendfile64.c: Likewise.
25240 * io/statfs.c: Likewise.
25241 * io/statfs64.c: Likewise.
25242 * io/statvfs.c: Likewise.
25243 * io/statvfs64.c: Likewise.
25244 * io/symlink.c: Likewise.
25245 * io/symlinkat.c: Likewise.
25246 * io/ttyname.c: Likewise.
25247 * io/ttyname_r.c: Likewise.
25248 * io/umask.c: Likewise.
25249 * io/unlink.c: Likewise.
25250 * io/unlinkat.c: Likewise.
25251 * io/utime.c: Likewise.
25252 * io/utimensat.c: Likewise.
25253 * io/write.c: Likewise.
25254 * io/xmknod.c: Likewise.
25255 * io/xmknodat.c: Likewise.
25256 * io/xstat.c: Likewise.
25257 * io/xstat64.c: Likewise.
25258 * login/getpt.c: Likewise.
25259 * login/grantpt.c: Likewise.
25260 * login/unlockpt.c: Likewise.
25261 * math/e_acoshl.c: Likewise.
25262 * math/e_acosl.c: Likewise.
25263 * math/e_asinl.c: Likewise.
25264 * math/e_atan2l.c: Likewise.
25265 * math/e_atanhl.c: Likewise.
25266 * math/e_coshl.c: Likewise.
25267 * math/e_expl.c: Likewise.
25268 * math/e_fmodl.c: Likewise.
25269 * math/e_gammal_r.c: Likewise.
25270 * math/e_hypotl.c: Likewise.
25271 * math/e_j0l.c: Likewise.
25272 * math/e_j1l.c: Likewise.
25273 * math/e_jnl.c: Likewise.
25274 * math/e_lgammal_r.c: Likewise.
25275 * math/e_log10l.c: Likewise.
25276 * math/e_log2l.c: Likewise.
25277 * math/e_logl.c: Likewise.
25278 * math/e_powl.c: Likewise.
25279 * math/e_rem_pio2l.c: Likewise.
25280 * math/e_sinhl.c: Likewise.
25281 * math/e_sqrtl.c: Likewise.
25282 * math/fclrexcpt.c: Likewise.
25283 * math/fedisblxcpt.c: Likewise.
25284 * math/feenablxcpt.c: Likewise.
25285 * math/fegetenv.c: Likewise.
25286 * math/fegetexcept.c: Likewise.
25287 * math/fegetround.c: Likewise.
25288 * math/feholdexcpt.c: Likewise.
25289 * math/fesetenv.c: Likewise.
25290 * math/fesetround.c: Likewise.
25291 * math/feupdateenv.c: Likewise.
25292 * math/fgetexcptflg.c: Likewise.
25293 * math/fraiseexcpt.c: Likewise.
25294 * math/fsetexcptflg.c: Likewise.
25295 * math/ftestexcept.c: Likewise.
25296 * math/k_cosl.c: Likewise.
25297 * math/k_rem_pio2l.c: Likewise.
25298 * math/k_sinl.c: Likewise.
25299 * math/k_tanl.c: Likewise.
25300 * math/s_asinhl.c: Likewise.
25301 * math/s_atanl.c: Likewise.
25302 * math/s_cbrtl.c: Likewise.
25303 * math/s_erfl.c: Likewise.
25304 * math/s_expm1l.c: Likewise.
25305 * math/s_log1pl.c: Likewise.
25306 * math/s_tanhl.c: Likewise.
25307 * misc/acct.c: Likewise.
25308 * misc/brk.c: Likewise.
25309 * misc/chflags.c: Likewise.
25310 * misc/chroot.c: Likewise.
25311 * misc/fchflags.c: Likewise.
25312 * misc/fgetxattr.c: Likewise.
25313 * misc/flistxattr.c: Likewise.
25314 * misc/fremovexattr.c: Likewise.
25315 * misc/fsetxattr.c: Likewise.
25316 * misc/fsync.c: Likewise.
25317 * misc/ftruncate.c: Likewise.
25318 * misc/futimes.c: Likewise.
25319 * misc/futimesat.c: Likewise.
25320 * misc/getdomain.c: Likewise.
25321 * misc/getdtsz.c: Likewise.
25322 * misc/gethostid.c: Likewise.
25323 * misc/gethostname.c: Likewise.
25324 * misc/getloadavg.c: Likewise.
25325 * misc/getpagesize.c: Likewise.
25326 * misc/getsysstats.c: Likewise.
25327 * misc/getxattr.c: Likewise.
25328 * misc/gtty.c: Likewise.
25329 * misc/ioctl.c: Likewise.
25330 * misc/lgetxattr.c: Likewise.
25331 * misc/listxattr.c: Likewise.
25332 * misc/llistxattr.c: Likewise.
25333 * misc/lremovexattr.c: Likewise.
25334 * misc/lsetxattr.c: Likewise.
25335 * misc/lutimes.c: Likewise.
25336 * misc/madvise.c: Likewise.
25337 * misc/mincore.c: Likewise.
25338 * misc/mlock.c: Likewise.
25339 * misc/mlockall.c: Likewise.
25340 * misc/mmap.c: Likewise.
25341 * misc/mprotect.c: Likewise.
25342 * misc/msync.c: Likewise.
25343 * misc/munlock.c: Likewise.
25344 * misc/munlockall.c: Likewise.
25345 * misc/munmap.c: Likewise.
25346 * misc/preadv.c: Likewise.
25347 * misc/preadv64.c: Likewise.
25348 * misc/ptrace.c: Likewise.
25349 * misc/pwritev.c: Likewise.
25350 * misc/pwritev64.c: Likewise.
25351 * misc/readv.c: Likewise.
25352 * misc/reboot.c: Likewise.
25353 * misc/remap_file_pages.c: Likewise.
25354 * misc/removexattr.c: Likewise.
25355 * misc/revoke.c: Likewise.
25356 * misc/select.c: Likewise.
25357 * misc/setdomain.c: Likewise.
25358 * misc/setegid.c: Likewise.
25359 * misc/seteuid.c: Likewise.
25360 * misc/sethostid.c: Likewise.
25361 * misc/sethostname.c: Likewise.
25362 * misc/setregid.c: Likewise.
25363 * misc/setreuid.c: Likewise.
25364 * misc/setxattr.c: Likewise.
25365 * misc/sstk.c: Likewise.
25366 * misc/stty.c: Likewise.
25367 * misc/swapoff.c: Likewise.
25368 * misc/swapon.c: Likewise.
25369 * misc/sync.c: Likewise.
25370 * misc/syncfs.c: Likewise.
25371 * misc/syscall.c: Likewise.
25372 * misc/truncate.c: Likewise.
25373 * misc/ualarm.c: Likewise.
25374 * misc/usleep.c: Likewise.
25375 * misc/ustat.c: Likewise.
25376 * misc/utimes.c: Likewise.
25377 * misc/vhangup.c: Likewise.
25378 * misc/writev.c: Likewise.
25379 * posix/_exit.c: Likewise.
25380 * posix/alarm.c: Likewise.
25381 * posix/execve.c: Likewise.
25382 * posix/fexecve.c: Likewise.
25383 * posix/fork.c: Likewise.
25384 * posix/fpathconf.c: Likewise.
25385 * posix/getaddrinfo.c: Likewise.
25386 * posix/getegid.c: Likewise.
25387 * posix/geteuid.c: Likewise.
25388 * posix/getgid.c: Likewise.
25389 * posix/getgroups.c: Likewise.
25390 * posix/getlogin.c: Likewise.
25391 * posix/getlogin_r.c: Likewise.
25392 * posix/getpgid.c: Likewise.
25393 * posix/getpid.c: Likewise.
25394 * posix/getppid.c: Likewise.
25395 * posix/getresgid.c: Likewise.
25396 * posix/getresuid.c: Likewise.
25397 * posix/getsid.c: Likewise.
25398 * posix/getuid.c: Likewise.
25399 * posix/glob64.c: Likewise.
25400 * posix/nanosleep.c: Likewise.
25401 * posix/pathconf.c: Likewise.
25402 * posix/pause.c: Likewise.
25403 * posix/posix_madvise.c: Likewise.
25404 * posix/pread.c: Likewise.
25405 * posix/pread64.c: Likewise.
25406 * posix/pwrite.c: Likewise.
25407 * posix/pwrite64.c: Likewise.
25408 * posix/sched_getaffinity.c: Likewise.
25409 * posix/sched_getp.c: Likewise.
25410 * posix/sched_gets.c: Likewise.
25411 * posix/sched_primax.c: Likewise.
25412 * posix/sched_primin.c: Likewise.
25413 * posix/sched_rr_gi.c: Likewise.
25414 * posix/sched_setaffinity.c: Likewise.
25415 * posix/sched_setp.c: Likewise.
25416 * posix/sched_sets.c: Likewise.
25417 * posix/sched_yield.c: Likewise.
25418 * posix/setgid.c: Likewise.
25419 * posix/setlogin.c: Likewise.
25420 * posix/setpgid.c: Likewise.
25421 * posix/setresgid.c: Likewise.
25422 * posix/setresuid.c: Likewise.
25423 * posix/setsid.c: Likewise.
25424 * posix/setuid.c: Likewise.
25425 * posix/sleep.c: Likewise.
25426 * posix/spawni.c: Likewise.
25427 * posix/sysconf.c: Likewise.
25428 * posix/times.c: Likewise.
25429 * posix/wait.c: Likewise.
25430 * posix/wait3.c: Likewise.
25431 * posix/wait4.c: Likewise.
25432 * posix/waitpid.c: Likewise.
25433 * resolv/gai_sigqueue.c: Likewise.
25434 * resource/getpriority.c: Likewise.
25435 * resource/getrlimit.c: Likewise.
25436 * resource/getrusage.c: Likewise.
25437 * resource/nice.c: Likewise.
25438 * resource/setpriority.c: Likewise.
25439 * resource/setrlimit.c: Likewise.
25440 * resource/ulimit.c: Likewise.
25441 * rt/aio_cancel.c: Likewise.
25442 * rt/aio_fsync.c: Likewise.
25443 * rt/aio_read.c: Likewise.
25444 * rt/aio_sigqueue.c: Likewise.
25445 * rt/aio_suspend.c: Likewise.
25446 * rt/aio_write.c: Likewise.
25447 * rt/clock_getres.c: Likewise.
25448 * rt/clock_gettime.c: Likewise.
25449 * rt/clock_nanosleep.c: Likewise.
25450 * rt/clock_settime.c: Likewise.
25451 * rt/lio_listio.c: Likewise.
25452 * rt/mq_close.c: Likewise.
25453 * rt/mq_getattr.c: Likewise.
25454 * rt/mq_notify.c: Likewise.
25455 * rt/mq_open.c: Likewise.
25456 * rt/mq_receive.c: Likewise.
25457 * rt/mq_send.c: Likewise.
25458 * rt/mq_setattr.c: Likewise.
25459 * rt/mq_timedreceive.c: Likewise.
25460 * rt/mq_timedsend.c: Likewise.
25461 * rt/mq_unlink.c: Likewise.
25462 * rt/shm_open.c: Likewise.
25463 * rt/shm_unlink.c: Likewise.
25464 * rt/timer_create.c: Likewise.
25465 * rt/timer_delete.c: Likewise.
25466 * rt/timer_getoverr.c: Likewise.
25467 * rt/timer_gettime.c: Likewise.
25468 * rt/timer_settime.c: Likewise.
25469 * setjmp/__longjmp.c: Likewise.
25470 * setjmp/setjmp.c: Likewise.
25471 * signal/kill.c: Likewise.
25472 * signal/killpg.c: Likewise.
25473 * signal/raise.c: Likewise.
25474 * signal/sigaction.c: Likewise.
25475 * signal/sigaltstack.c: Likewise.
25476 * signal/sigblock.c: Likewise.
25477 * signal/sigignore.c: Likewise.
25478 * signal/sigintr.c: Likewise.
25479 * signal/signal.c: Likewise.
25480 * signal/sigpause.c: Likewise.
25481 * signal/sigpending.c: Likewise.
25482 * signal/sigqueue.c: Likewise.
25483 * signal/sigreturn.c: Likewise.
25484 * signal/sigset.c: Likewise.
25485 * signal/sigsetmask.c: Likewise.
25486 * signal/sigstack.c: Likewise.
25487 * signal/sigsuspend.c: Likewise.
25488 * signal/sigtimedwait.c: Likewise.
25489 * signal/sigvec.c: Likewise.
25490 * signal/sigwait.c: Likewise.
25491 * signal/sigwaitinfo.c: Likewise.
25492 * signal/sysv_signal.c: Likewise.
25493 * socket/accept.c: Likewise.
25494 * socket/accept4.c: Likewise.
25495 * socket/bind.c: Likewise.
25496 * socket/connect.c: Likewise.
25497 * socket/getpeername.c: Likewise.
25498 * socket/getsockname.c: Likewise.
25499 * socket/getsockopt.c: Likewise.
25500 * socket/isfdtype.c: Likewise.
25501 * socket/listen.c: Likewise.
25502 * socket/recv.c: Likewise.
25503 * socket/recvfrom.c: Likewise.
25504 * socket/recvmsg.c: Likewise.
25505 * socket/send.c: Likewise.
25506 * socket/sendmsg.c: Likewise.
25507 * socket/sendto.c: Likewise.
25508 * socket/setsockopt.c: Likewise.
25509 * socket/shutdown.c: Likewise.
25510 * socket/sockatmark.c: Likewise.
25511 * socket/socket.c: Likewise.
25512 * socket/socketpair.c: Likewise.
25513 * stdio-common/ctermid.c: Likewise.
25514 * stdio-common/cuserid.c: Likewise.
25515 * stdio-common/remove.c: Likewise.
25516 * stdio-common/rename.c: Likewise.
25517 * stdio-common/renameat.c: Likewise.
25518 * stdio-common/tempname.c: Likewise.
25519 * stdlib/getcontext.c: Likewise.
25520 * stdlib/makecontext.c: Likewise.
25521 * stdlib/setcontext.c: Likewise.
25522 * stdlib/swapcontext.c: Likewise.
25523 * stdlib/system.c: Likewise.
25524 * streams/fattach.c: Likewise.
25525 * streams/fdetach.c: Likewise.
25526 * streams/getmsg.c: Likewise.
25527 * streams/getpmsg.c: Likewise.
25528 * streams/putmsg.c: Likewise.
25529 * streams/putpmsg.c: Likewise.
25530 * sysdeps/unix/bsd/getpt.c: Likewise.
25531 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25532 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25533 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25536 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25537 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25538 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25539 * sysvipc/msgctl.c: Likewise.
25540 * sysvipc/msgget.c: Likewise.
25541 * sysvipc/msgrcv.c: Likewise.
25542 * sysvipc/msgsnd.c: Likewise.
25543 * sysvipc/semctl.c: Likewise.
25544 * sysvipc/semget.c: Likewise.
25545 * sysvipc/semop.c: Likewise.
25546 * sysvipc/semtimedop.c: Likewise.
25547 * sysvipc/shmat.c: Likewise.
25548 * sysvipc/shmctl.c: Likewise.
25549 * sysvipc/shmdt.c: Likewise.
25550 * sysvipc/shmget.c: Likewise.
25551 * termios/tcdrain.c: Likewise.
25552 * termios/tcflow.c: Likewise.
25553 * termios/tcflush.c: Likewise.
25554 * termios/tcgetattr.c: Likewise.
25555 * termios/tcgetpgrp.c: Likewise.
25556 * termios/tcsendbrk.c: Likewise.
25557 * termios/tcsetattr.c: Likewise.
25558 * termios/tcsetpgrp.c: Likewise.
25559 * time/adjtime.c: Likewise.
25560 * time/clock.c: Likewise.
25561 * time/getitimer.c: Likewise.
25562 * time/gettimeofday.c: Likewise.
25563 * time/setitimer.c: Likewise.
25564 * time/settimeofday.c: Likewise.
25565 * time/stime.c: Likewise.
25566 * time/time.c: Likewise.
25568 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25570 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25573 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25575 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25577 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25581 FE_TONEAREST before applying Dekker multiplication and Knuth
25582 addition. Clear inexact exceptions and check for exact zero
25583 results afterwards.
25584 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25585 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25586 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25587 * math/libm-test.inc (fma_test): Add more tests.
25588 (fma_test_towardzero): Likewise.
25589 (fma_test_downward): Likewise.
25590 (fma_test_upward): Likewise.
25591 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25593 (libc_fesetround): New macro.
25594 (libc_fesetroundf): Likewise.
25595 (libc_fesetroundl): Likewise.
25596 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25598 (libc_fesetround_387): Likewise.
25599 (libc_fesetroundf): New macro.
25600 (libc_fesetround): Likewise.
25601 (libc_fesetroundl): Likewise.
25602 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25604 (libc_fesetroundf): New macro.
25605 (libc_fesetround): Likewise.
25606 (libc_fesetroundl): Likewise.
25607 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25608 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25609 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25611 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25612 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25614 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25615 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25617 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25621 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25622 integer constant usable in #if and use that to give value to enum
25624 (FE_DIVBYZERO): Likewise.
25625 (FE_UNDERFLOW): Likewise.
25626 (FE_OVERFLOW): Likewise.
25627 (FE_INVALID): Likewise.
25628 (FE_INVALID_SNAN): Likewise.
25629 (FE_INVALID_ISI): Likewise.
25630 (FE_INVALID_IDI): Likewise.
25631 (FE_INVALID_ZDZ): Likewise.
25632 (FE_INVALID_IMZ): Likewise.
25633 (FE_INVALID_COMPARE): Likewise.
25634 (FE_INVALID_SOFTWARE): Likewise.
25635 (FE_INVALID_SQRT): Likewise.
25636 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25637 (FE_TONEAREST): Likewise.
25638 (FE_TOWARDZERO): Likewise.
25639 (FE_UPWARD): Likewise.
25640 (FE_DOWNWARD): Likewise.
25641 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25642 (FE_DIVBYZERO): Likewise.
25643 (FE_OVERFLOW): Likewise.
25644 (FE_UNDERFLOW): Likewise.
25645 (FE_INEXACT): Likewise.
25646 (FE_TONEAREST): Likewise.
25647 (FE_DOWNWARD): Likewise.
25648 (FE_UPWARD): Likewise.
25649 (FE_TOWARDZERO): Likewise.
25650 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25651 (FE_UNDERFLOW): Likewise.
25652 (FE_OVERFLOW): Likewise.
25653 (FE_DIVBYZERO): Likewise.
25654 (FE_INVALID): Likewise.
25655 (FE_TONEAREST): Likewise.
25656 (FE_TOWARDZERO): Likewise.
25657 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25658 (FE_OVERFLOW): Likewise.
25659 (FE_UNDERFLOW): Likewise.
25660 (FE_DIVBYZERO): Likewise.
25661 (FE_INEXACT): Likewise.
25662 (FE_TONEAREST): Likewise.
25663 (FE_TOWARDZERO): Likewise.
25664 (FE_UPWARD): Likewise.
25665 (FE_DOWNWARD): Likewise.
25666 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25667 (FE_DIVBYZERO): Likewise.
25668 (FE_OVERFLOW): Likewise.
25669 (FE_UNDERFLOW): Likewise.
25670 (FE_INEXACT): Likewise.
25671 (FE_TONEAREST): Likewise.
25672 (FE_DOWNWARD): Likewise.
25673 (FE_UPWARD): Likewise.
25674 (FE_TOWARDZERO): Likewise.
25676 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25678 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25680 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25682 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25683 commands. Quote $PWD.
25684 (blacklist_exports): Don't use remove_newlines. Replace "declare
25686 (remove_newlines): Remove.
25688 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25690 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25691 * stdlib/stdlib.h (atof): Moved to ...
25692 * include/bits/stdlib-float.h: Here. New file.
25693 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25694 * stdlib/bits/stdlib-float.h: New file.
25695 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25697 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25700 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25702 * conform/conformtest.pl (@headers): Add fenv.h.
25703 * conform/data/fenv.h-data: New file.
25704 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25705 include of <math/fenv.h>.
25707 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25708 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25709 && !UNIX98]. Enables tests for XOPEN2K8.
25710 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25711 POSIX2008]: Likewise.
25713 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25714 (struct rusage): Do not expect type or its members.
25717 * math/math.h (FP_NAN): Define macro to integer constant usable in
25718 #if and use that to give value to enum constant.
25719 (FP_INFINITE): Likewise.
25720 (FP_ZERO): Likewise.
25721 (FP_SUBNORMAL): Likewise.
25722 (FP_NORMAL): Likewise.
25724 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25726 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25727 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25730 2012-11-02 Roland McGrath <roland@hack.frob.com>
25732 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25733 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25734 autoconf-time if not.
25735 * configure.in: Remove AC_PREREQ.
25737 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25739 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25740 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25741 of the internal implementation.
25743 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25745 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25746 except include of <misc/sys/syslog.h>.
25748 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25751 function returns with a NULL context exit with zero.
25753 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25755 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25757 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25759 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25760 (run_program_cmd): This.
25761 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25762 (tst_langinfo): New variable. Use it.
25764 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25766 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25767 floating point opcodes.
25769 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25771 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25774 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25776 * sysdeps/mach/hurd/powerpc: Remove directory.
25777 * sysdeps/mach/powerpc: Likewise.
25779 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25781 * scripts/check-local-headers.sh: Ignore c++ headers.
25783 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25785 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25786 __libc_cleanup_region_start argument.
25788 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25793 x * y using scaling, not as x * y + z.
25794 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25795 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25796 * math/libm-test.inc (fma_test): Add more tests.
25797 (fma_test_towardzero): Likewise.
25798 (fma_test_downward): Likewise.
25799 (fma_test_upward): Likewise.
25801 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25803 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25805 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25807 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25810 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25812 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25814 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25821 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25824 Fix the order of the list for glibc 2.17.
25825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25828 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25832 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25835 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25836 for low part of x being zero before using __atanl (y).
25837 * math/libm-test.inc (atan2_test): Add another test.
25839 * manual/install.texi (Configuring and compiling): Document
25840 general use of test-wrapper and test-wrapper-env.
25841 * INSTALL: Regenerated.
25843 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25844 (__fma): Do not extract and scale down low bits on after-rounding
25845 systems when result rounded to normal precision would have normal
25847 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25848 (__fmal): 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-96/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 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25857 (fma_test): Add more tests.
25858 (fma_test_towardzero): Likewise.
25859 (fma_test_downward): Likewise.
25860 (fma_test_upward): Likewise.
25862 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25864 * sysdeps/i386/tininess.h: Renamed to ...
25865 * sysdeps/x86/tininess.h: This.
25866 * sysdeps/x86_64/tininess.h: Removed.
25868 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25870 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25871 input. Use $(build-program-cmd).
25872 ($(objpfx)tst-array1-static.out): Likewise.
25873 ($(objpfx)tst-array2.out): Likewise.
25874 ($(objpfx)tst-array3.out): Likewise.
25875 ($(objpfx)tst-array4.out): Likewise.
25876 ($(objpfx)tst-array5.out): Likewise.
25877 ($(objpfx)tst-array5-static.out): Likewise.
25879 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25881 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25884 * nss/nsswitch.h (nss_interface_function): Provide new
25885 macro for use with NSS functions.
25886 * grp/initgroups.c: Use new macro.
25887 * nss/getXXbyYY.c: Likewise.
25888 * nss/getXXbyYY_r.c: Likewise.
25889 * nss/getXXent.c: Likewise.
25890 * nss/getXXent_r.c: Likewise.
25891 * sysdeps/posix/getaddrinfo.c: Likewise.
25893 2012-10-30 Andreas Jaeger <aj@suse.de>
25895 * po/ru.po: Update Russion translation from translation project.
25897 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25901 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25902 result and shift together with sticky bit instead of replicating
25903 round-to-nearest rounding.
25904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25905 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25906 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25907 missing underflow exceptions.
25908 (fma_test_towardzero): Add more tests.
25909 (fma_test_downward): Likewise.
25910 (fma_test_upward): Likewise.
25913 * sysdeps/generic/tininess.h: New file.
25914 * sysdeps/i386/tininess.h: Likewise.
25915 * sysdeps/sh/tininess.h: Likewise.
25916 * sysdeps/x86_64/tininess.h: Likewise.
25917 * stdlib/tst-strtod-underflow.c: Likewise.
25918 * stdlib/tst-tininess.c: Likewise.
25919 * stdlib/strtod_l.c: Include <tininess.h>.
25920 (round_and_return): Do not set errno for exact underflow cases.
25921 Force an underflow exception when setting errno for underflow.
25922 Determine underflow based on rounding to normal precision if
25923 TININESS_AFTER_ROUNDING.
25924 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25925 ERANGE for exact underflow cases.
25926 * stdlib/Makefile (tests): Add tst-tininess and
25927 tst-strtod-underflow.
25928 ($(objpfx)tst-tininess): Use $(link-libm).
25929 ($(objpfx)tst-strtod-underflow): Likewise.
25931 2012-10-30 Andreas Jaeger <aj@suse.de>
25934 * elf/Makefile (tests): Remove conditional for have-initfini-array
25935 since this is now always required and the variable does not exist
25937 (tests-static): Likewise.
25938 (modules-names): Likewise.
25940 * po/eo.po: Add Esperanto translation from translation project.
25942 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25943 merged with constructor/destructor.
25944 (init_array): Likewise.
25945 * elf/tst-array2dep.c (fini_array): Likewise.
25946 (init_array): Likewise.
25948 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25950 * manual/message.texi: Delete @cartouche tags.
25952 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25954 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25956 * sysdeps/mach/hurd/fsync.c: Likewise.
25958 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25959 [_POSIX_REALTIME_SIGNALS]: Change condition to
25960 [_POSIX_REALTIME_SIGNALS > 0].
25962 2012-10-27 Andreas Jaeger <aj@suse.de>
25964 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25965 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25967 [__WORDSIZE != 64]: Likewise.
25969 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25971 * iconvdata/tst-table.sh: Remove ${SHELL}.
25972 * iconvdata/tst-tables.sh: Likewise.
25974 2012-10-25 David S. Miller <davem@davemloft.net>
25976 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25977 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25982 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25983 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25984 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25987 2012-10-25 Roland McGrath <roland@hack.frob.com>
25989 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25990 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25993 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25994 Jim Blandy <jimb@codesourcery.com>
25996 * scripts/cross-test-ssh.sh: New file.
25997 * manual/install.texi (Configuring and compiling): Document use of
25999 * INSTALL: Regenerated.
26001 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26003 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26006 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26008 * Makeconfig (run-program-prefix): Fix comment.
26010 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26011 Jim Blandy <jimb@codesourcery.com>
26013 * Makeconfig (test-wrapper): New variable,
26014 (test-wrapper-env): Likewise.
26015 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26016 (run-built-tests): Define to yes.
26017 (run-program-prefix): Use $(test-wrapper).
26018 (built-program-cmd): Likewise.
26019 * Rules (make-test-out): Use $(test-wrapper-env) and
26020 $(host-built-program-cmd).
26021 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26022 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26024 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26025 $(test-wrapper-env) to tst-rtld-load-self.sh.
26026 ($(objpfx)order2.out): Use $(test-wrapper).
26027 ($(objpfx)tst-initorder.out): Likewise.
26028 ($(objpfx)tst-initorder2.out): Likewise.
26029 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26030 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26031 (test_wrapper_env): New variable. Use it to run ld.so.
26032 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26033 Use it to run ld.so.
26034 (test_wrapper_env): Likewise.
26035 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26036 $(test-wrapper) to run-iconv-test.sh.
26037 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26038 (ICONV): Use $test_wrapper.
26039 * posix/Makefile ($(objpfx)globtest.out): Pass
26040 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26041 globtest.sh, not $(run-program-prefix).
26042 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26043 (test_wrapper): Likewise.
26044 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26045 set together with run_via_rtld_prefix.
26046 (run_program_prefix): Define in terms of test_wrapper and
26047 run_via_rtld_prefix.
26049 2012-10-24 Roland McGrath <roland@hack.frob.com>
26051 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26052 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26056 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26057 Declare __clock_getres, __clock_gettime, __clock_settime,
26058 __clock_nanosleep, and __clock_getcpuclockid.
26059 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26060 Remove librt_hidden_def (clock_gettime).
26061 * sysdeps/unix/clock_gettime.c: Likewise.
26062 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26063 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26064 * rt/clock_getres.c: Define __clock_getres as an alias.
26065 * sysdeps/posix/clock_getres.c: Likewise.
26066 * rt/clock_settime.c: Define __clock_settime as an alias.
26067 * sysdeps/unix/clock_settime.c: Likewise.
26068 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26069 * sysdeps/unix/clock_nanosleep.c: Likewise.
26070 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26071 * rt/clock-compat.c: New file.
26072 * rt/Makefile (librt-routines): Add clock-compat and move
26073 $(clock-routines) to ...
26074 (routines): ... here, new variable.
26075 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26076 Don't add get_clockfreq here.
26077 * rt/Versions (libc: GLIBC_2.17): New version set.
26078 Add clock_* symbols here.
26079 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26080 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26081 (GLIBC_2.17): Add clock_* symbols.
26082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26084 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26093 * NEWS: Mention the move.
26095 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26096 Use __open, __read, __close rather than their public counterparts.
26097 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26098 (__get_clockfreq_via_cpuinfo): Likewise.
26099 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26100 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26102 * config.h.in (HAVE_IFUNC): New #undef.
26103 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26105 * configure: Regenerated.
26107 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26109 * configure.in: Move READELF check to start of file.
26110 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26111 libc_cv_asm_gnu_indirect_function in the process.
26112 * configure: Regenerated.
26114 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26116 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26117 send the output to /dev/null.
26118 (libc_cv_cc_with_libunwind): Likewise.
26119 (libc_cv_as_noexecstack): Likewise.
26120 * configure: Regenerate.
26122 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26124 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26126 * posix/globtest.sh (TMPDIR): Do not set.
26127 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26128 (testout): Likewise.
26130 2012-10-24 Andreas Jaeger <aj@suse.de>
26132 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26133 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26134 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26135 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26136 posix_fadvise64, posix_fallocate64.
26138 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26139 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26140 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26142 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26144 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26147 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26148 <bits/fcntl-linux.h>.
26149 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26151 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26152 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26153 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26154 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26155 [__WORDSIZE != 64]: Likewise.
26157 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26159 * Makeconfig (run-built-tests): New variable.
26160 * Rules [$(cross-compiling) = yes]: Change condition to
26161 [$(run-built-tests) = no].
26162 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26163 to [$(run-built-tests) = yes].
26164 * elf/Makefile [$(cross-compiling) = no]: Likewise
26165 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26166 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26167 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26168 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26169 * io/Makefile [$(cross-compiling) = no]: Likewise.
26170 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26171 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26172 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26173 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26174 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26175 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26176 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26177 * string/Makefile [$(cross-compiling) = no]: Likewise.
26179 * posix/Makefile ($(objpfx)globtest.out): Pass
26180 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26181 $(rtld-installed-name).
26182 * posix/globtest.sh (elf_objpfx): Remove variable.
26183 (rtld_installed_name): Likewise.
26184 (library_path): Likewise.
26185 (run_program_prefix): New variable. Use for running globtest
26188 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26189 Joseph Myers <joseph@codesourcery.com>
26191 * Makeconfig (host-built-program-cmd): New variable.
26192 * elf/Makefile (tst-stackguard1-ARGS): Use
26193 $(host-built-program-cmd).
26194 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26195 (tst-spawn-ARGS): Likewise.
26196 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26198 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26199 Jim Blandy <jimb@codesourcery.com>
26201 * Makeconfig (run-via-rtld-prefix): New variable.
26202 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26203 (built-program-cmd): Likewise.
26205 2012-10-22 Andreas Jaeger <aj@suse.de>
26207 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26208 __O_RSYNC if it exists, otherwise to O_SYNC.
26210 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26211 Joseph Myers <joseph@codesourcery.com>
26213 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26215 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26217 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26220 2012-10-22 Andreas Jaeger <aj@suse.de>
26222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26224 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26227 bits/fcntl-linux.h.
26229 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26230 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26232 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26237 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26238 Joseph Myers <joseph@codesourcery.com>
26240 * config.make.in (NM): New variable.
26242 2012-10-21 Andreas Jaeger <aj@suse.de>
26244 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26245 definitions and declarations that are provided by
26246 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26248 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26251 * elf/Makefile (tests-static): Add tst-leaks1-static.
26252 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26253 ($(objpfx)tst-leaks1-static): New rule.
26254 ($(objpfx)tst-leaks1-static-mem): Likewise.
26255 (tst-leaks1-static-ENV): New macro.
26256 * elf/dl-open.c (dl_open_worker): Check the main application
26257 only if SHARED is defined.
26258 * elf/tst-leaks1-static.c: New file.
26260 2012-10-20 Andreas Jaeger <aj@suse.de>
26262 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26263 generic values for Linux.
26264 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26265 and declarations that are provided by <bits/fcntl-linux.h> and
26266 include <bits/fcntl-linux.h>.
26267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26270 2012-10-20 Roland McGrath <roland@hack.frob.com>
26272 * io/fcntl.h: Move include of <bits/types.h> to the top and
26273 include it unconditionally.
26275 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26277 * wcsmbs/Makefile (tests-ifunc): New variable.
26278 (tests): Add $(tests-ifunc).
26279 * wcsmbs/test-wcschr-ifunc.c: New file.
26280 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26281 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26282 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26283 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26284 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26286 * string/Makefile (tests-ifunc): New variable.
26287 (tests): Add $(tests-ifunc).
26288 * string/test-memccpy.c (TEST_NAME): New macro.
26289 * string/test-memchr.c (TEST_NAME): Likewise.
26290 * string/test-memcmp.c (TEST_NAME): Likewise.
26291 * string/test-memcpy.c (TEST_NAME): Likewise.
26292 * string/test-memmem.c (TEST_NAME): Likewise.
26293 * string/test-memmove.c (TEST_NAME): Likewise.
26294 * string/test-memset.c (TEST_NAME): Likewise.
26295 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26296 * string/test-stpcpy.c (TEST_NAME): Likewise.
26297 * string/test-stpncpy.c (TEST_NAME): Likewise.
26298 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26299 * string/test-strcasestr.c (TEST_NAME): Likewise.
26300 * string/test-strcat.c (TEST_NAME): Likewise.
26301 * string/test-strchr.c (TEST_NAME): Likewise.
26302 * string/test-strcmp.c(TEST_NAME): Likewise.
26303 * string/test-strcpy.c (TEST_NAME): Likewise.
26304 * string/test-strcspn.c (TEST_NAME): Likewise.
26305 * string/test-strlen.c (TEST_NAME): Likewise.
26306 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26307 * string/test-strncmp.c (TEST_NAME): Likewise.
26308 * string/test-strncpy.c (TEST_NAME): Likewise.
26309 * string/test-strnlen.c (TEST_NAME): Likewise.
26310 * string/test-strpbrk.c (TEST_NAME): Likewise.
26311 * string/test-strrchr.c (TEST_NAME): Likewise.
26312 * string/test-strspn.c (TEST_NAME): Likewise.
26313 * string/test-strstr.c (TEST_NAME): Likewise.
26314 * string/test-bcopy-ifunc.c: New file.
26315 * string/test-bzero-ifunc.c: Likewise.
26316 * string/test-memccpy-ifunc.c: Likewise.
26317 * string/test-memchr-ifunc.c: Likewise.
26318 * string/test-memcmp-ifunc.c: Likewise.
26319 * string/test-memcpy-ifunc.c: Likewise.
26320 * string/test-memmem-ifunc.c: Likewise.
26321 * string/test-memmove-ifunc.c: Likewise.
26322 * string/test-mempcpy-ifunc.c: Likewise.
26323 * string/test-memset-ifunc.c: Likewise.
26324 * string/test-rawmemchr-ifunc.c: Likewise.
26325 * string/test-stpcpy-ifunc.c: Likewise.
26326 * string/test-stpncpy-ifunc.c: Likewise.
26327 * string/test-strcasecmp-ifunc.c: Likewise.
26328 * string/test-strcasestr-ifunc.c: Likewise.
26329 * string/test-strcat-ifunc.c: Likewise.
26330 * string/test-strchr-ifunc.c: Likewise.
26331 * string/test-strchrnul-ifunc.c: Likewise.
26332 * string/test-strcmp-ifunc.c: Likewise.
26333 * string/test-strcpy-ifunc.c: Likewise.
26334 * string/test-strcspn-ifunc.c: Likewise.
26335 * string/test-strlen-ifunc.c: Likewise.
26336 * string/test-strncasecmp-ifunc.c: Likewise.
26337 * string/test-strncat-ifunc.c: Likewise.
26338 * string/test-strncmp-ifunc.c: Likewise.
26339 * string/test-strncpy-ifunc.c: Likewise.
26340 * string/test-strnlen-ifunc.c: Likewise.
26341 * string/test-strpbrk-ifunc.c: Likewise.
26342 * string/test-strrchr-ifunc.c: Likewise.
26343 * string/test-strspn-ifunc.c: Likewise.
26344 * string/test-strstr-ifunc.c: Likewise.
26346 * debug/Makefile (tests-ifunc): New variable.
26347 (tests): Add $(tests-ifunc).
26348 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26349 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26350 * debug/test-stpcpy_chk-ifunc.c: New file.
26351 * debug/test-strcpy_chk-ifunc.c: Likewise.
26353 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26356 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26357 header is not read in.
26359 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26361 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26362 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26363 directly. Pass built executable to script as
26364 $(built-program-cmd).
26365 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26366 $testprogram without using LD_LIBRARY_PATH and $ldso.
26368 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26369 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26370 $(rtld-installed-name).
26371 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26372 (rtld_installed_name): Likewise.
26373 (library_path): Likewise.
26374 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26375 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26376 $(run-program-prefix) to tst-tables.sh.
26377 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26378 it to run tst-table-from and tst-table-to.
26379 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26380 Pass it to tst-table.sh.
26381 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26382 $(run-program-prefix) to tst-gettext.sh.
26383 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26385 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26387 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26388 to run tst-gettext.
26389 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26390 to run tst-gettext2.
26391 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26392 to run tst-translit.
26393 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26394 $(run-program-prefix) to tst-mtrace.sh.
26395 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26397 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26398 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26399 $(rtld-installed-name).
26400 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26401 (rtld_installed_name): Likewise.
26402 (run_program_prefix): New variable. Use it to run wordexp-test.
26404 * Makeconfig (ARCH): Remove all definitions.
26405 (machine): Likewise.
26406 [ARCH]: Remove conditional code.
26407 [!objdir]: Give error.
26408 [!objdir] (objpfx): Remove.
26409 [!objdir] (common-objpfx): Likewise.
26410 [!objdir] (common-objdir): Likewise.
26411 * configure.in (config_makefile): Remove. Hardcode Makefile in
26412 AC_CONFIG_FILES call.
26413 * configure: Regenerated.
26416 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26418 (testout): Likewise.
26420 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26421 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26422 $(rtld-installed-name).
26423 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26424 (rtld_installed_name): Likwise.
26425 (runit): Remove function.
26426 (run_getconf): New variable, Use it for running getconf binary.
26428 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26431 * string/test-memmem.c (check_result): New function.
26432 (do_one_test): Use it.
26433 (check1): New function.
26434 (test_main): Use it.
26436 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26438 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26440 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26442 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26443 (_G_LSEEK64): Likewise.
26444 (_G_MMAP64): Likewise.
26445 (_G_FSTAT64): Likewise.
26446 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26447 (_G_LSEEK64): Likewise.
26448 (_G_MMAP64): Likewise.
26449 (_G_FSTAT64): Likewise.
26450 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26451 unconditional. Call __mmap64 directly.
26452 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26453 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26454 __lseek64 directly.
26455 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26456 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26458 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26459 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26460 __lseek64 directly.
26461 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26462 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26463 __lseek64 directly.
26464 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26465 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26466 __lseek64 directly.
26467 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26468 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26469 __fxstat64 directly.
26470 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26471 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26473 (freopen64) [!_G_OPEN64]: Remove conditional code.
26474 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26476 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26477 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26479 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26480 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26482 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26483 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26485 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26486 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26488 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26489 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26491 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26492 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26494 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26496 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26499 * manual/memory.texi (Malloc Tunable Parameters): Add note
26500 about free list pointers overwriting some perturb bytes.
26501 Wording suggested by Roland McGrath.
26503 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26505 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26506 (lgamma_test): Likewise.
26507 (tgamma_test): Likewise.
26509 2012-10-16 Florian Weimer <fweimer@redhat.com>
26512 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26513 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26515 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26517 * NEWS: Mention BZ #14716.
26518 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26519 when removing AVAILABLE1_USES_J macro.
26521 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26523 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26524 (__bswap_64): __uint64_t for unsigned 64-bit int.
26526 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26528 * include/string.h (memmem): Declare libc hidden alias.
26529 * string/memmem.c (memmem): Define libc hidden alias.
26530 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26531 __read, __close instead of open, read, close.
26533 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26535 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26536 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26538 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26539 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26540 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26542 (__rawmemchr_sse2): Likewise.
26543 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26544 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26545 (__strchr_sse2): Likewise.
26546 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26547 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26548 (__strcasecmp_sse2): Likewise.
26549 (__strncasecmp_sse2): Likewise.
26550 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26551 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26552 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26553 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26554 (__strrchr_sse2): Likewise.
26555 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26557 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26558 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26559 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26560 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26561 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26562 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26563 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26564 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26565 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26566 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26567 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26568 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26569 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26570 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26571 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26572 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26573 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26574 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26575 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26576 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26577 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26578 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26579 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26580 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26581 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26582 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26583 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26584 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26585 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26586 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26588 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26590 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26591 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26592 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26593 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26595 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26597 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26598 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26599 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26600 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26602 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26603 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26604 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26605 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26606 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26607 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26608 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26609 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26610 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26611 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26612 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26613 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26614 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26615 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26616 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26617 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26618 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26619 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26620 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26621 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26622 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26623 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26624 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26625 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26626 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26627 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26628 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26629 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26630 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26631 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26632 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26633 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26634 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26635 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26636 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26637 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26638 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26639 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26640 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26641 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26642 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26644 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26645 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26646 * include/ifunc-impl-list.h: New file.
26647 * misc/ifunc-impl-list.c: Likewise.
26648 * misc/Makefile (routines): Add ifunc-impl-list.
26649 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26650 * string/test-string.h: Include <ifunc-impl-list.h>.
26651 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26652 TEST_NAME]: New variables.
26653 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26655 (test_init): Call __libc_ifunc_impl_list to initialize
26656 func_list if TEST_IFUNC and TEST_NAME are defined.
26658 * string/Makefile (strop-tests): Add bcopy and bzero.
26659 * string/test-bcopy.c: New file.
26660 * string/test-bzero.c: Likewise.
26661 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26663 * string/test-memset.c: Support bzero test if TEST_BZERO is
26665 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26667 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26669 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26672 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26674 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26675 * configure: Regenerated.
26677 * Makeconfig (+link-static-before-libc): Don't include
26678 $(link-static-libc).
26680 * libio/libio.h (_IO_pos_t): Remove.
26682 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26684 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26687 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26689 * crypt/crypt-entry.c: Include fips-private.h.
26690 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26691 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26692 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26693 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26695 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26697 * crypt/crypt-private.h: Include stdbool.h.
26698 (_ufc_setup_salt_r): Return bool.
26699 * crypt/crypt-entry.c: Include errno.h.
26700 (__crypt_r): Return NULL with EINVAL for bad salt.
26701 * crypt/crypt_util.c (bad_for_salt): New.
26702 (_ufc_setup_salt_r): Check that salt is long enough and within
26703 the specified alphabet.
26704 * crypt/badsalttest.c: New file.
26705 * crypt/Makefile (tests): Add it.
26706 ($(objpfx)badsalttest): New.
26708 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26710 * NEWS: Add entry for BZ #14602.
26712 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26714 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26716 * math/libm-test.inc: Update comment listing what functions and
26718 (isgreater_test): New function.
26719 (isgreaterequal_test): Likewise.
26720 (isless_test): Likewise.
26721 (islessequal_test): Likewise.
26722 (islessgreater_test): Likewise.
26723 (isunordered_test): Likewise.
26724 (main): Call the new functions.
26726 2012-10-09 Roland McGrath <roland@hack.frob.com>
26728 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26729 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26730 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26731 * sysdeps/i386/configure: Regenerated.
26732 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26733 * sysdeps/mach/configure: Regenerated.
26734 * sysdeps/mach/hurd/configure: Regenerated.
26735 * sysdeps/powerpc/configure: Regenerated.
26736 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26737 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26738 * sysdeps/s390/s390-32/configure: Regenerated.
26739 * sysdeps/s390/s390-64/configure: Regenerated.
26740 * sysdeps/sh/configure: Regenerated.
26741 * sysdeps/sparc/configure: Regenerated.
26742 * sysdeps/unix/sysv/linux/configure: Regenerated.
26743 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26744 * sysdeps/x86_64/configure: Regenerated.
26746 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26747 defined. Don't check if MAP is NULL.
26749 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26751 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26752 (_G_stat64): Likewise.
26753 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26754 (_G_stat64): Likewise.
26755 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26756 instead of struct _G_stat64.
26757 * libio/fileops.c (mmap_remap_check): Likewise.
26758 (decide_maybe_mmap): Likewise.
26759 (_IO_new_file_seekoff): Likewise.
26760 (_IO_file_stat): Likewise.
26761 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26763 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26764 instead of struct _G_stat64.
26765 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26767 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26770 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26772 (CHECK_EOL): New macro.
26773 (two_way_short_needle): Check beginning of haystack for EOL. Use
26775 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26776 Replace with CHECK_EOL.
26777 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26778 Replace with CHECK_EOL.
26780 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26782 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26784 * math/libm-test.inc: Update comment listing what functions and
26786 (finite_test): New function.
26787 (isinf_test): Likewise.
26788 (isnan_test): Likewise.
26789 (fpclassify_test): Test subnormal input.
26790 (isfinite_test): Likewise.
26791 (isnormal_test): Likewise.
26792 (main): Call the new functions.
26794 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26797 * Makerules (%.dynsym): Force C locale when running
26798 $(OBJDUMP) --dynamic-syms.
26800 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26802 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26805 2012-10-06 David S. Miller <davem@davemloft.net>
26807 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26808 upper 32-bits of the length value in %o2 since we use branch-on-register
26809 tests which consider the entire 64-bit register.
26811 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26813 * string/test-strstr.c (check2): Add a test for page boundary.
26815 2012-10-05 David S. Miller <davem@davemloft.net>
26817 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26818 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26820 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26822 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26823 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26824 and bzero when HWCAP_SPARC_CRYPTO is present.
26826 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26829 * string/test-strstr.c (check2): New function.
26830 (test_main): Call check2.
26832 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26834 * string/bug-strcasestr1.c (do_test): Moved to ...
26835 * string/test-strcasestr.c (check1): Here. New function.
26836 (do_one_test): Break out result checking code into ...
26837 (check_result): This. New function.
26838 (do_one_test): Call check_result.
26839 (test_main): Call check1.
26840 * string/bug-strchr1.c (do_test): Moved to ...
26841 * string/test-strchr.c (check1): Here. New function.
26842 (do_one_test): Break out result checking code into ...
26843 (check_result): This. New function.
26844 (do_one_test): Call check_result.
26845 (test_main): Call check1.
26846 * string/bug-strstr1.c (main): Moved to ...
26847 * string/test-strstr.c (check1): Here. New function.
26848 (do_one_test): Break out result checking code into ...
26849 (check_result): This. New function.
26850 (do_one_test): Call check_result.
26851 (test_main): Call check1.
26852 * string/bug-strcasestr1.c: Removed.
26853 * string/bug-strchr1.c: Likewise.
26854 * string/bug-strstr1.c: Likewise.
26856 * elf/Makefile (dl-routines): Add hwcaps.
26857 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26858 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26859 (_dl_important_hwcaps): Moved to ...
26860 * elf/dl-hwcaps.c: Here. New file.
26861 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26864 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26865 if IS_IN_rtld isn't defined.
26867 * elf/dl-support.c (_dl_sysinfo_map): New.
26868 Include "get-dynamic-info.h" and "setup-vdso.h".
26869 (_dl_non_dynamic_init): Call setup_vdso.
26870 * elf/dynamic-link.h: Don't include <assert.h>.
26871 (elf_get_dynamic_info): Moved to ...
26872 * elf/get-dynamic-info.h: Here. New file.
26873 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26874 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26875 * elf/setup-vdso.h: Here. New file.
26876 * elf/rtld.c: Include "setup-vdso.h".
26877 (dl_main): Call setup_vdso.
26879 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26881 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26882 creal in comment listing functions tested. List finite, isinf,
26883 isnan, isless, islessequal, isgreater, isgreaterequal,
26884 islessgreater, isunordered, lgamma_r and pow10 as functions and
26885 macros not tested. Mention which functions not tested are aliases
26886 for other functions. Fix typo. Note that signs of NaNs are not
26889 * scripts/config.guess: Update from config.git.
26890 * scripts/config.sub: Likewise.
26892 2012-10-04 Roland McGrath <roland@hack.frob.com>
26894 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26895 * misc/madvise.c (madvise): Renamed to __madvise.
26896 Make madvise a weak alias.
26897 * include/sys/mman.h: Declare __madvise.
26898 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26899 * sysdeps/unix/syscalls.list
26900 (madvise): Make __madvise the strong name, and madvise a weak alias.
26901 * sysdeps/unix/sysv/linux/syscalls.list
26902 (madvise, mmap): Remove redundant entries.
26903 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26904 * malloc/malloc.c (mtrim): Likewise.
26905 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26907 2012-10-03 Roland McGrath <roland@hack.frob.com>
26909 * sysdeps/mach/hurd/dl-cache.c: File removed.
26910 * config.h.in (USE_LDCONFIG): New #undef.
26911 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26912 * configure: Regenerated.
26913 * elf/Makefile (dl-routines): Add dl-cache only under
26914 [$(use-ldconfig) = yes].
26915 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26916 cache on [USE_LDCONFIG].
26917 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26919 * elf/rtld.c (dl_main): Likewise.
26921 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26923 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26924 _SC_LEVEL4_CACHE_LINESIZE.
26926 2012-10-03 Roland McGrath <roland@hack.frob.com>
26928 * sysdeps/unix/bsd/confstr.h: File removed.
26930 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26932 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26935 2012-10-02 Roland McGrath <roland@hack.frob.com>
26937 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26938 Make 'mapoff' field ElfW(Off) rather than off_t.
26940 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26942 * nscd/Makefile: Remove nscd-cflags and all its users.
26943 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26944 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26947 * malloc.c (malloc_printerr): Clarify error message.
26949 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26953 Set bit_FMA_Usable if FMA is supported.
26954 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26956 (bit_FMA4_Usable): Updated.
26957 (index_FMA_Usable): New macro.
26958 (CPUID_FMA): Likewise
26959 (HAS_FMA): Defined with bit_FMA_Usable.
26961 2012-10-01 Roland McGrath <roland@hack.frob.com>
26963 * bits/types.h (__swblk_t): Type removed.
26964 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26965 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26966 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26967 (__SWBLK_T_TYPE): Likewise.
26968 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26969 (__SWBLK_T_TYPE): Likewise.
26970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26971 (__SWBLK_T_TYPE): Likewise.
26972 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26973 (__SWBLK_T_TYPE): Likewise.
26975 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26976 Honza Horak <hhorak@redhat.com>
26978 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26979 (xdr_mapname): Use YPMAXMAP as maxsize.
26980 (xdr_peername): Use YPMAXPEER as maxsize.
26981 (xdr_keydat): Use YPAXRECORD as maxsize.
26982 (xdr_valdat): Use YPMAXRECORD as maxsize.
26984 2012-10-01 Roland McGrath <roland@hack.frob.com>
26986 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26988 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26989 * csu/init-first.c: ... here.
26990 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26991 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26992 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26993 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26994 * sysdeps/i386/init-first.c: File removed.
26995 * sysdeps/sh/init-first.c: File removed.
26997 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27001 if x * y might underflow to zero and z is zero.
27002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27003 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27004 * math/libm-test.inc (min_subnorm_value): New variable.
27005 (fma_test): Add more tests.
27006 (fma_test_towardzero): Likewise.
27007 (fma_test_downward): Likewise
27008 (fma_test_upward): Likewise.
27009 (initialize): Set min_subnorm_value.
27011 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27016 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27017 mode for addition resulting in exact zero.
27018 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27021 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27022 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27023 * math/libm-test.inc (fma_test): Add more tests.
27024 (fma_test_towardzero): New function.
27025 (fma_test_downward): Likewise.
27026 (fma_test_upward): Likewise.
27027 (main): Call the new functions.
27029 2012-09-28 David S. Miller <davem@davemloft.net>
27031 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27033 2012-09-28 Roland McGrath <roland@hack.frob.com>
27035 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27036 instead of SIGALRM.
27038 * sysdeps/gnu/_G_config.h: Moved to ...
27039 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27040 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27041 * sysdeps/generic/_G_config.h: ... here.
27043 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27045 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27047 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27048 Conditionalize target on [libnss_test1.so-version].
27050 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27052 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27053 (elfobjdir): Move out of conditionals.
27055 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27056 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27057 (__nss_lookup_function): Conditionalize label remove_from_tree on
27058 [!DO_STATIC_NSS || SHARED], matching its only use.
27060 2012-09-28 David S. Miller <davem@davemloft.net>
27062 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27063 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27065 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27067 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27068 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27069 when HWCAP_SPARC_CRYPTO is present.
27071 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27073 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27075 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27078 * stdio-common/vfprintf.c (process_string_arg): Revert
27081 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27083 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27085 * stdio-common/tst-sprintf.c: Include <locale.h>
27086 (main): Test sprintf's handling of incomplete multibyte
27089 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27091 * elf/dl-runtime.c (VERSYMIDX): Removed.
27092 * elf/dl-version.c (VERSYMIDX): Likewise.
27093 * elf/do-rel.h (VERSYMIDX): Likewise.
27094 (VALIDX): Likewise.
27095 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27096 * elf/rtld.c (VALIDX): Likewise.
27097 (ADDRIDX): Likewise.
27098 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27099 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27100 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27101 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27102 (VALIDX): Likewise.
27103 (ADDRIDX): Likewise.
27105 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27107 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27109 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27112 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27114 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27115 addresses are in the same scope as 192.0.2/24.
27116 * posix/gai.conf: Document new scope table defaults.
27118 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27121 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27122 for ftell. Compute offsets from write pointers instead.
27123 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27125 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27128 * libio/Makefile (tests): New test case tst-fseek.
27129 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27130 combination works in wide mode.
27131 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27132 state when the external buffer state changes.
27134 2012-09-27 David S. Miller <davem@davemloft.net>
27137 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27138 pass reloc->r_addend in as the 'high' argument to
27139 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27143 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27145 * rt/tst-aio2.c: Include <pthread.h>.
27146 * rt/tst-aio3.c: Likewise.
27148 2012-09-27 Steve Ellcey <sellcey@mips.com>
27150 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27152 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27154 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27155 contents on [SHARED].
27157 2012-09-26 Marek Polacek <polacek@redhat.com>
27161 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27162 for C++ and GCC <4.3 as well as for non GCC compilers.
27164 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27168 2012-09-25 Roland McGrath <roland@hack.frob.com>
27170 * Makefile.in (all, install): Declare with .PHONY.
27171 Reported by Michael Hope <michael.hope@linaro.org>.
27173 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27175 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27176 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27178 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27180 (sydep_routines): Add the new and the internal functions.
27181 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27182 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27184 (GLIBC_2.17): Add the new function.
27185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27186 (GLIBC_2.17): Likewise.
27187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27188 (GLIBC_2.17): Likewise.
27189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27190 (GLIBC_2.17): Likewise.
27191 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27193 2012-09-25 Alan Modra <amodra@gmail.com>
27195 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27196 Add release barrier before setting once_control to say
27197 initialisation is done. Add hints on lwarx. Use macro in
27199 (clear_once_control): Add release barrier.
27201 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27204 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27206 * math/s_clog10.c (__clog10): Likewise.
27207 * math/s_clog10f.c (__clog10f): Likewise.
27208 * math/s_clog10l.c (__clog10l): Likewise.
27209 * math/s_clogf.c (__clogf): Likewise.
27210 * math/s_clogl.c (__clogl): Likewise.
27211 * math/Makefile (libm-calls): Add x2y2m1.
27212 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27213 (__x2y2m1): Likewise.
27214 (__x2y2m1l): Likewise.
27215 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27216 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27217 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27218 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27219 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27220 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27221 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27222 * sysdeps/i386/fpu/libm-test-ulps: Update.
27223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27226 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27227 int as type of variable DEPTH.
27228 (glob): Use size_t instead of int as type of variables NEWCOUNT
27231 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27233 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27234 Add s_sincosf-sse2.
27235 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27236 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27237 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27238 macros for using routine as __sincosf_ia32.
27239 Use macro for function declaration and weak_alias.
27240 * sysdeps/i386/fpu/libm-test-ulps: Update.
27242 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27245 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27246 subnormal argument.
27247 * math/s_cexpf.c (__cexpf): Likewise.
27248 * math/s_csinf.c (__csinf): Likewise.
27249 * math/s_csinhf.c (__csinhf): Likewise.
27250 * math/s_ctanf.c (__ctanf): Likewise.
27251 * math/s_ctanhf.c (__ctanhf): Likewise.
27252 * math/s_ccosh.c (__ccoshf): Likewise.
27253 * math/s_cexp.c (__cexpl): Likewise.
27254 * math/s_csin.c (__csin): Likewise.
27255 * math/s_csinh.c (__csinh): Likewise.
27256 * math/s_ctan.c (__ctan): Likewise.
27257 * math/s_ctanh.c (ctanh): Likewise.
27258 * math/s_ccoshl.c (__ccoshl): Likewise.
27259 * math/s_cexpl.c (__cexpl): Likewise.
27260 * math/s_csinl.c (__csinl): Likewise.
27261 * math/s_csinhl.c (__csinhl): Likewise.
27262 * math/s_ctanl.c (__ctanl): Likewise.
27263 * math/s_ctanhl.c (__ctanhl): Likewise.
27265 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27267 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27268 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27269 (_IO_off_t): Define to __off_t, not _G_off_t.
27270 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27271 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27272 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27273 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27274 type of __dummy and __dummy2 fields.
27275 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27276 (_G_ssize_t): Likewise.
27277 (_G_off_t): Likewise.
27278 (_G_pid_t): Likewise.
27279 (_G_uid_t): Likewise.
27280 (_G_wchar_t): Likewise.
27281 (_G_wint_t): Likewise.
27282 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27283 (_G_ssize_t): Likewise.
27284 (_G_off_t): Likewise.
27285 (_G_pid_t): Likewise.
27286 (_G_uid_t): Likewise.
27287 (_G_wchar_t): Likewise.
27288 (_G_wint_t): Likewise.
27289 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27290 (_G_ssize_t): Likewise.
27291 (_G_off_t): Likewise.
27292 (_G_pid_t): Likewise.
27293 (_G_uid_t): Likewise.
27294 (_G_wchar_t): Likewise.
27295 (_G_wint_t): Likewise.
27297 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27299 * malloc/arena.c: Include malloc-sysdep.h.
27300 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27301 is sufficient to shrink the heap or an unmap is needed.
27302 * sysdeps/generic/malloc-sysdep.h: New file. Define
27303 new function check_may_shrink_heap.
27304 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27305 new function check_may_shrink_heap.
27307 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27309 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27312 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27314 * catgets/test-gencat.sh: Add "set -e".
27315 * elf/tst-pathopt.sh: Likewise.
27316 * grp/tst_fgetgrent.sh: Likewise.
27317 * iconvdata/run-iconv-test.sh: Likewise.
27318 * intl/tst-gettext.sh: Likewise.
27319 * intl/tst-gettext2.sh: Likewise.
27320 * intl/tst-gettext4.sh: Likewise.
27321 * intl/tst-gettext6.sh: Likewise.
27322 * intl/tst-translit.sh: Likewise.
27323 * io/ftwtest-sh: Likewise.
27324 * libio/test-freopen.sh: Likewise.
27325 * malloc/tst-mtrace.sh: Likewise.
27326 * posix/globtest.sh: Likewise.
27327 * posix/tst-getconf.sh: Likewise.
27328 * posix/wordexp-tst.sh: Likewise.
27329 * stdio-common/tst-printf.sh: Likewise.
27330 * stdio-common/tst-unbputc.sh: Likewise.
27331 * stdlib/tst-fmtmsg.sh: Likewise.
27332 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27333 * catgets/Makefile: Do not specify -e option when running
27334 testsuite shell scripts.
27335 * elf/Makefile: Likewise.
27336 * grp/Makefile: Likewise.
27337 * iconvdata/Makefile: Likewise.
27338 * intl/Makefile: Likewise.
27339 * io/Makefile: Likewise.
27340 * libio/Makefile: Likewise.
27341 * malloc/Makefile: Likewise.
27342 * posix/Makefile: Likewise.
27343 * stdio-common/Makefile: Likewise.
27344 * stdlib/Makefile: Likewise.
27345 * sysdeps/x86_64/Makefile: Likewise.
27347 * io/ftwtest-sh: Add copyright header.
27348 * posix/globtest.sh: Likewise.
27349 * posix/tst-getconf.sh: Likewise.
27350 * posix/wordexp-tst.sh: Likewise.
27351 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27353 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27356 * Makeconfig (+link): Defined as $(+link-static) if
27357 $(build-shared) isn't yes.
27358 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27360 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27362 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27365 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27366 new chunk size with MALLOC_ALIGN_MASK.
27368 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27371 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27373 (__printf_fphex): Determine rounding using get_rounding_mode and
27375 * stdio-common/tst-printf-round.c (struct hex_test): New
27377 (hex_tests): New variable.
27378 (test_hex_in_one_mode): New function.
27379 (do_test): Also run tests for hex float output.
27381 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27383 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27384 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27385 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27386 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27387 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27388 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27389 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27390 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27392 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27394 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27395 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27396 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27397 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27399 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27402 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27404 * elf/tst-rtld-load-self.sh: New test.
27405 * elf/Makefile: Run it.
27407 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27409 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27410 (tst-writev-ENV): Remove.
27411 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27413 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27415 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27417 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27419 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27421 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27423 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27424 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27425 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27428 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27431 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27432 * config.make.in (have-cpp-asm-debuginfo): Removed.
27433 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27434 * configure: Regenerated.
27436 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27439 * stdio-common/printf_fp.c: Include <stdbool.h> and
27441 (___printf_fp): Determine rounding using get_rounding_mode and
27443 * stdio-common/tst-printf-round.c: New file.
27444 * stdio-common/Makefile (tests): Add tst-printf-round.
27445 (link-libm): New variable.
27446 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27448 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27451 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27452 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27454 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27457 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27459 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27460 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27461 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27462 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27464 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27467 * include/rounding-mode.h: New file.
27468 * sysdeps/generic/get-rounding-mode.h: Likewise.
27469 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27470 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27471 (MAX_VALUE): New macro.
27472 (MIN_VALUE): Likewise.
27473 (overflow_value): New function.
27474 (underflow_value): Likewise.
27475 (round_and_return): Use overflow_value and underflow_value to
27476 determine return values in overflow and underflow cases. Use
27477 round_away to determine rounding depending on rounding mode.
27478 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27479 determine return values in overflow and underflow cases.
27480 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27481 (struct test_results): New structure.
27482 (struct test): Use struct test_results to store expected results
27483 for all rounding modes.
27484 (TEST): Include expected results for all rounding modes.
27485 (test_in_one_mode): New function.
27486 (do_test): Use test_in_one_mode to compute and check results.
27487 Check results for all rounding modes.
27488 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27491 2012-12-09 Allan McRae <allan@archlinux.org>
27493 * sysdeps/i386/fpu/libm-test-ulps: Update
27495 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27497 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27498 (_G_int32_t): Likewise.
27499 (_G_uint16_t): Likewise.
27500 (_G_uint32_t): Likewise.
27501 (_G_HAVE_BOOL): Likewise.
27502 (_G_HAVE_ATEXIT): Likewise.
27503 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27504 (_G_HAVE_IO_FILE_OPEN): Likewise.
27505 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27506 (_G_int32_t): Likewise.
27507 (_G_uint16_t): Likewise.
27508 (_G_uint32_t): Likewise.
27509 (_G_HAVE_BOOL): Likewise.
27510 (_G_HAVE_ATEXIT): Likewise.
27511 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27512 (_G_HAVE_IO_FILE_OPEN): Likewise.
27513 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27514 (_G_int32_t): Likewise.
27515 (_G_uint16_t): Likewise.
27516 (_G_uint32_t): Likewise.
27517 (_G_HAVE_BOOL): Likewise.
27518 (_G_HAVE_ATEXIT): Likewise.
27519 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27520 (_G_HAVE_IO_FILE_OPEN): Likewise.
27522 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27524 * csu/libc-tls.c: Update copyright years.
27526 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27528 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27529 [!_G_USING_THUNKS]: Remove conditional code.
27530 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27531 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27533 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27534 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27535 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27536 (_G_VTABLE_LABEL_PREFIX): Likewise.
27537 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27538 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27539 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27540 (_G_VTABLE_LABEL_PREFIX): Likewise.
27541 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27542 * sysdeps/mach/hurd/_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.
27547 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27549 * libio/Makefile: Include ../Makeconfig before tests.
27550 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27551 only if $(build-shared) is yes.
27553 * iconv/gconv_db.c: Update copyright years.
27555 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27557 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27558 unwind info if defined PIC. Fix special cases description.
27559 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27561 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27563 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27565 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27567 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27569 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27572 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27573 (LDLIBS-tst-chk4): This.
27574 (LDFLAGS-tst-chk5): Renamed to ...
27575 (LDLIBS-tst-chk5): This.
27576 (LDFLAGS-tst-chk6): Renamed to ...
27577 (LDLIBS-tst-chk6): This.
27578 (LDFLAGS-tst-lfschk4): Renamed to ...
27579 (LDLIBS-tst-lfschk4): This.
27580 (LDFLAGS-tst-lfschk5): Renamed to ...
27581 (LDLIBS-tst-lfschk5): This.
27582 (LDFLAGS-tst-lfschk6): Renamed to ...
27583 (LDLIBS-tst-lfschk6): This.
27585 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27586 on $(common-objpfx)soversions.mk.
27588 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27591 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27594 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27596 * malloc/arena.c (arena_get_retry): New function that gets
27597 another arena for the caller to try its request on.
27598 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27599 current arena cannot fulfill the request.
27600 (__libc_memalign): Likewise.
27601 (__libc_memalign): Likewise.
27602 (__libc_pvalloc): Likewise.
27603 (__libc_calloc): Likewise.
27605 2012-09-05 John Tobey <john.tobey@gmail.com>
27608 * manual/arith.texi (Operations on Complex): Fix description
27609 of carg branch cut.
27611 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27614 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27618 * manual/memory.texi (Memory): Make order of menu items match
27621 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27623 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27624 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27625 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27627 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27629 * csu/libc-tls.c (static_dtv): Renamed to ...
27630 (_dl_static_dtv): This. Make it global.
27631 (_dl_initial_dtv): Removed.
27632 (__libc_setup_tls): Updated.
27633 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27634 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27637 2012-09-06 Petr Machata <pmachata@redhat.com>
27639 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27640 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27641 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27642 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27644 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27647 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27648 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27651 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27654 * Makeconfig (link-static-before-libc): Replace $(+prector)
27656 (link-static-after-libc): Replace $(+postctor) with
27658 (link-bounded): Replace $(+prector)/$(+postctor) with
27659 $(+prectorT)/$(+postctorT).
27660 (+prectorT): New macro.
27661 (+postctorT): Likewise.
27663 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27665 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27666 (round_str): Handle values above the maximum for IBM long double
27668 * stdlib/tst-strtod-round.c (tests): Regenerated.
27670 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27672 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27674 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27675 zarch_nohighgprs around the zarch optimized routines.
27676 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27677 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27678 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27681 2012-09-05 David S. Miller <davem@davemloft.net>
27683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27685 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27686 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27687 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27688 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27691 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27693 * malloc/arena.c: Fold copyright years.
27694 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27696 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27698 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27700 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27702 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27704 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27706 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27707 change internal state upon failure.
27709 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27711 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27712 * malloc/memusage.c (mmap): Likewise.
27713 (mmap64, mremap): Likewise. Adjust name in comment.
27715 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27717 * libio/fileops.c: Fix typos in comments.
27718 * libio/oldfileops.c: Likewise.
27719 * libio/wfileops.c: Likewise.
27721 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27724 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27725 (tst-malloc-usable-ENV): Set environment for test case.
27726 * malloc/hooks.c (malloc_check_get_size): New function to get
27728 * malloc/malloc.c (musable): Use malloc_check_get_size.
27729 * malloc/tst-malloc-usable.c: New test case.
27731 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27733 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27735 2012-09-05 Allan McRae <allan@archlinux.org>
27738 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27739 determine header location.
27740 * configure: Regenerated.
27742 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27744 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27746 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27747 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27749 (test): Regenerate.
27751 2012-09-04 David S. Miller <davem@davemloft.net>
27753 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27754 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27755 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27757 2012-09-04 Florian Weimer <fweimer@redhat.com>
27759 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27762 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27764 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27767 * libio/iogetdelim.c: Include <limits.h>.
27768 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27769 + len + 1 would overflow.
27771 2012-09-03 Andreas Jaeger <aj@suse.de>
27773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27774 * sysdeps/i386/fpu/libm-test-ulps: Update.
27776 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27778 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27779 Add s_sinf-sse2, s_conf-sse2.
27781 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27782 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27783 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27784 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27786 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27787 for using routine as __sinf_ia32.
27788 Use macro for function declaration and weak_alias.
27789 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27790 for using routine as __cosf_ia32.
27791 Use macro for function declaration and weak_alias.
27793 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27794 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27796 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27797 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27800 * math/libm-test.inc (cos_test): Add more test cases.
27801 (sin_test): Likewise.
27802 (sincos_test): Likewise.
27804 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27806 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27807 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27809 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27811 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27814 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27815 first element of the GOT.
27816 (elf_machine_load_address): Return the difference between
27817 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27819 2012-09-01 Allan McRae <allan@archlinux.org>
27822 * configure.in (AWK): Require gawk version 3.0 or later.
27823 * configure: Regenerated.
27825 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27827 * sysdeps/unix/sysv/linux/kernel-features.h
27828 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27829 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27830 [__NR_clock_getres]: Make code unconditional.
27831 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27832 (clock_getcpuclockid): Remove code left unreachable by removal of
27834 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27835 code unconditional.
27836 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27837 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27838 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27839 Make code unconditional.
27840 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27841 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27842 * sysdeps/unix/sysv/linux/clock_settime.c
27843 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27845 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27846 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27848 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27851 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27852 scripts/test-installation.pl.
27854 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27855 and $ld_so_version if it is set.
27857 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27860 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27861 failure if reading from procfs failed.
27862 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27864 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27866 * sysdeps/unix/sysv/linux/kernel-features.h
27867 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27868 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27869 Remove conditional code.
27870 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27871 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27872 Remove conditional code.
27873 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27874 * sysdeps/unix/sysv/linux/i386/fxstat.c
27875 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27876 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27877 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27878 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27879 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27880 * sysdeps/unix/sysv/linux/i386/lxstat.c
27881 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27882 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27883 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27884 Remove conditional code.
27885 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27886 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27887 Remove conditional code.
27888 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27889 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27890 <kernel-features.h>.
27891 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27893 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27894 Remove conditional code.
27895 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27896 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27897 Remove conditional.
27899 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27902 * NEWS: Add fixed bug number.
27904 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27907 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27908 underflowing exponent in case of negative sign.
27909 * stdlib/tst-strtod-round-data: Add more tests.
27910 * stdlib/tst-strtod-round.c (tests): Regenerated.
27913 * stdlib/strtod_l.c (NDIG): Remove.
27914 (HEXNDIG): Likewise.
27915 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27916 smallest representable value.
27917 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27918 lie within an exact representation of 1/2 ulp of the result.
27919 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27921 (TENS_P9_IDX): Define unconditionally.
27922 (TENS_P9_SIZE): Likewise.
27923 (TENS_P10_IDX): Likewise.
27924 (TENS_P10_SIZE): Likewise.
27925 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27926 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27927 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27928 entries for 10^2^13 and 10^2^14.
27929 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27930 (TENS_P13_IDX): Define.
27931 (TENS_P13_SIZE): Likewise.
27932 (TENS_P14_IDX): Likewise.
27933 (TENS_P14_SIZE): Likewise.
27934 (_fpioconst_pow10): Change array size to
27935 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27937 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27938 1024]: Add entries for 10^2^13 and 10^2^14.
27939 [LAST_POW10 > _LAST_POW10]: Remove #error.
27940 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27941 (_fpioconst_pow10): Change array size to
27942 FPIOCONST_POW10_ARRAY_SIZE.
27943 * stdlib/gen-fpioconst.c: New file.
27944 * stdlib/gen-tst-strtod-round.c: Likewise.
27945 * stdlib/tst-strtod-round-data: Likewise.
27946 * stdlib/tst-strtod-round.c: Likewise.
27947 * stdlib/Makefile (tests): Add tst-strtod-round.
27950 * stdlib/strtod_l.c: Include <stdint.h>.
27951 (NDEBUG): Do not define.
27952 (round_and_return): Change EXPONENT parameter to type intmax_t.
27953 Rearrange calculations to avoid internal overflow possibilities.
27954 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27955 Rearrange calculations to avoid internal overflow possibilities.
27956 Assert that number fits inside MPNSIZE limbs.
27957 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27958 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27959 calculations and add assertions to avoid internal overflow
27960 possibilities. Add casts to avoid signed/unsigned operations.
27961 * stdlib/tst-strtod-overflow.c: New file.
27962 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27964 2012-08-25 Marek Polacek <polacek@redhat.com>
27966 * time/time.h: Fix some typos in comments.
27968 2012-08-23 Roland McGrath <roland@hack.frob.com>
27970 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27971 * posix/tst-rfc3484-2.c: Likewise.
27972 * posix/tst-rfc3484-3.c: Likewise.
27974 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27976 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27977 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27979 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27981 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27982 #include of fxstatat64.c.
27984 2012-08-22 Roland McGrath <roland@hack.frob.com>
27986 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27987 * shadow/getspent_r.c: Likewise.
27988 * shadow/getspnam.c: Likewise.
27989 * shadow/getspnam_r.c: Likewise.
27990 * gshadow/getsgent.c: Likewise.
27991 * gshadow/getsgent_r.c: Likewise.
27992 * gshadow/getsgnam.c: Likewise.
27993 * gshadow/getsgnam_r.c: Likewise.
27994 * inet/getnetbyad.c: Likewise.
27995 * inet/getnetbyad_r.c: Likewise.
27996 * inet/getnetbynm.c: Likewise.
27997 * inet/getnetbynm_r.c: Likewise.
27998 * inet/getnetent.c: Likewise.
27999 * inet/getnetent_r.c: Likewise.
28000 * inet/getproto.c: Likewise.
28001 * inet/getproto_r.c: Likewise.
28002 * inet/getprtent.c: Likewise.
28003 * inet/getprtent_r.c: Likewise.
28004 * inet/getprtname.c: Likewise.
28005 * inet/getprtname_r.c: Likewise.
28006 * inet/getrpcbyname.c: Likewise.
28007 * inet/getrpcbyname_r.c: Likewise.
28008 * inet/getrpcbynumber.c: Likewise.
28009 * inet/getrpcbynumber_r.c: Likewise.
28010 * inet/getrpcent.c: Likewise.
28011 * inet/getrpcent_r.c: Likewise.
28012 * inet/getaliasent.c: Likewise.
28013 * inet/getaliasent_r.c: Likewise.
28014 * inet/getaliasname.c: Likewise.
28015 * inet/getaliasname_r.c: Likewise.
28016 * nscd/getgrgid_r.c: Likewise.
28017 * nscd/getgrnam_r.c: Likewise.
28018 * nscd/gethstbyad_r.c: Likewise.
28019 * nscd/gethstbynm3_r.c: Likewise.
28020 * nscd/getpwnam_r.c: Likewise.
28021 * nscd/getpwuid_r.c: Likewise.
28022 * nscd/getsrvbynm_r.c: Likewise.
28023 * nscd/getsrvbypt_r.c: Likewise.
28024 * nscd/gai.c: Likewise.
28026 * configure.in (build_nscd): New substituted variable, set
28027 by --disable-build-nscd and defaults to $use_nscd.
28028 * configure: Regenerated.
28029 * config.make.in (build-nscd): New substituted variable.
28030 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28031 Change conditional to require [$(build-nscd) = yes] as well.
28032 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28035 * configure.in (use_nscd): New substituted variable, set by
28036 --disable-nscd. If enabled, define USE_NSCD.
28037 * configure: Regenerated.
28038 * config.h.in: Add USE_NSCD.
28039 * config.make.in (use-nscd): New substituted variable.
28040 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28041 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28042 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28043 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28044 (CFLAGS-getgrnam_r.c): Likewise.
28045 (CFLAGS-initgroups.c): Likewise.
28046 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28047 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28049 * inet/getnetgrent_r.c
28050 (nscd_setnetgrent): New function, broken out of ...
28051 (setnetgrent): ... here. Call it.
28052 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28053 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28054 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28055 * nscd/Makefile (routines, aux): Move definitions after include of
28056 Makeconfig. Conditionalize on [$(use-nscd) != no].
28057 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28058 Conditionalize on [USE_NSCD].
28059 (is_nscd, nscd_init_cb): Likewise.
28060 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28061 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28062 * nss/nss_db/db-init.c: Likewise.
28063 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28065 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28066 (make_request): Use it.
28067 (cache_valid_p): New function.
28068 (__check_pf): Use it.
28069 * NEWS: Add item for --disable-nscd.
28071 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28073 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28074 to support sed >= 4.2.1-20-ga9bf076.
28075 * configure: Regenerated.
28077 2012-08-22 Roland McGrath <roland@hack.frob.com>
28079 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28080 Conditionalize whole body on [IREL].
28082 2012-08-22 Jeff Law <law@redhat.com>
28085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28086 if the family is PF_UNSPEC.
28088 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28090 * Makerules (lib-version): Rename from V.
28091 (install-lib-nosubdir): Change V to lib-version.
28093 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28096 * powerpc32/power6/wcschr.c: New file.
28097 * powerpc32/power6/wcscpy.c: New file.
28098 * powerpc32/power6/wcsrchr.c: New file.
28099 * powerpc64/power6/wcschr.c: New file.
28100 * powerpc64/power6/wcscpy.c: New file.
28101 * powerpc64/power6/wcsrchr.c: New file.
28103 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28105 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28106 (two_way_short_needle): Use it.
28107 * string/strstr.c (AVAILABLE1_USES_J): Define.
28108 * string/strcasestr.c: Likewise.
28110 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28112 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28115 * NEWS: Add an entry.
28116 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28117 define their defaults.
28118 (two_way_short_needle): Detect end-of-string on-the-fly.
28119 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28120 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28121 * string/bug-strcasestr1.c: New test.
28122 * string/Makefile: Run it.
28124 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28127 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28128 the first character.
28130 2012-08-21 Roland McGrath <roland@hack.frob.com>
28132 * csu/elf-init.c (__libc_csu_irel): Function removed.
28133 * csu/libc-start.c (apply_irel): New function.
28134 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28136 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28138 * sysdeps/unix/sysv/linux/kernel-features.h
28139 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28140 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28141 <kernel-features.h>.
28142 [__NR_fadvise64_64]: Make code unconditional.
28143 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28144 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28145 !__NR_fadvise64_64)]: Likewise.
28146 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28147 !__NR_fadvise64_64))]: Likewise.
28148 [__NR_fadvise64]: Make code unconditional.
28149 [!__NR_fadvise64]: Remove conditional code.
28150 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28151 <kernel-features.h>.
28152 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28154 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28157 not include <kernel-features.h>.
28158 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28160 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28162 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28163 include <kernel-features.h>.
28164 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28166 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28169 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28171 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28172 slight instruction rearrangements per scrollpipe analysis.
28173 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28175 2012-08-20 Roland McGrath <roland@hack.frob.com>
28177 * manual/syslog.texi (syslog; vsyslog, closelog):
28178 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28179 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28181 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28182 DSOCAPS to match condition on defining it.
28184 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28186 * sysdeps/unix/sysv/linux/kernel-features.h
28187 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28189 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28190 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28192 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28193 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28195 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28196 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28198 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28199 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28201 * sysdeps/unix/sysv/linux/kernel-features.h
28202 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28203 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28205 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28206 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28207 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28208 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28209 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28210 Make code unconditional.
28211 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28212 (__mmap64) [!__NR_mmap2]: Likewise.
28213 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28214 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28215 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28216 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28217 [__NR_mmap2]: Make code unconditional.
28218 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28219 (__mmap64) [!__NR_mmap2]: Likewise.
28221 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28223 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28225 2012-08-18 Andreas Jaeger <aj@suse.de>
28227 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28229 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28231 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28232 * include/unistd.h (__have_sock_cloexec): Likewise.
28233 (__have_pipe2): Likewise.
28234 (__have_dup3): Likewise.
28236 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28239 * include/unistd.h (__have_pipe2): Change define into an extern int.
28240 (__have_dup3): Likewise.
28241 * socket/have_sock_cloexec.c: Include fcntl.h.
28242 (__have_pipe2): New variable.
28243 (__have_dup3): Likewise.
28245 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28247 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28249 2012-08-17 Marek Polacek <polacek@redhat.com>
28251 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28252 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28254 2012-08-17 Roland McGrath <roland@hack.frob.com>
28256 * configure.in: Add AC_SUBST for sysheaders.
28257 * configure: Regenerated.
28258 * config.make.in (sysheaders): New substituted variable.
28260 * sysdeps/unix/mkfifo.c: Moved ...
28261 * sysdeps/posix/mkfifo.c: ... here.
28262 * sysdeps/unix/mkfifoat.c: Moved ...
28263 * sysdeps/posix/mkfifoat.c: ... here.
28265 * sysdeps/unix/utime.c: Moved ...
28266 * sysdeps/posix/utime.c: ... here.
28268 * sysdeps/unix/time.c: Moved ...
28269 * sysdeps/posix/time.c: ... here.
28270 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28271 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28273 * sysdeps/unix/nice.c: Moved ...
28274 * sysdeps/posix/nice.c: ... here.
28276 * sysdeps/unix/alarm.c: Moved ...
28277 * sysdeps/posix/alarm.c: ... here.
28279 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28281 2012-08-17 Jeff Law <law@redhat.com>
28283 * intl/Makefile (codeset_mo): New variable.
28284 ($(codeset_mo)): New target.
28285 (tst-codeset.out): Depend on that. Remove explicit rule.
28286 (tst-gettext3.out, tst-gettext5.out): Likewise.
28287 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28288 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28289 * intl/tst-codeset.sh: Remove.
28290 * intl/tst-gettext3.sh: Likewise.
28291 * intl/tst-gettext5.sh: Likewise.
28293 2012-08-17 Roland McGrath <roland@hack.frob.com>
28295 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28296 * sysdeps/unix/syscalls.list: ... here.
28298 * sysdeps/posix/getaddrinfo.c
28299 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28300 (gaiconf_init, gaiconf_reload): Use them.
28301 [!_STATBUF_ST_NSEC]
28302 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28303 Define using time_t rather than struct timespec.
28305 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28306 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28308 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28310 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28311 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28314 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28315 __libc_cleanup_push argument.
28317 * bits/param.h: New file.
28318 * misc/sys/param.h: New file.
28319 * include/sys/param.h: New file.
28320 * misc/Makefile (headers): Add bits/param.h.
28321 * sysdeps/generic/sys/param.h: File removed.
28322 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28323 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28324 * sysdeps/mach/hurd/bits/param.h: New file.
28325 * sysdeps/mach/hurd/sys/param.h: File removed.
28327 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28330 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28332 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28333 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28336 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28337 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28338 rather than -D_IO_MTSAFE_IO conditionally.
28339 * stdio-common/Makefile (CPPFLAGS): Likewise.
28340 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28341 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28342 Use $(libio-mtsafe).
28343 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28344 of -D_IO_MTSAFE_IO.
28345 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28346 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28347 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28348 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28349 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28350 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28351 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28352 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28353 (CFLAGS-fread_u_chk.c): Likewise.
28354 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28355 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28356 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28357 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28358 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28359 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28360 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28361 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28362 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28364 * libio/Makefile: Test [$(libc-reentrant) = yes]
28365 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28368 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28369 * sysdeps/pthread/configure: File removed.
28370 * sysdeps/pthread/Makeconfig: New file.
28371 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28372 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28374 2012-08-16 Gary Benson <gbenson@redhat.com>
28376 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28377 unmapping the first object in a namespace.
28379 2012-08-16 Roland McGrath <roland@hack.frob.com>
28381 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28382 (__internal_setnetgrent): ... this. Add internal_function to
28383 definition. Add libc_hidden_def.
28384 (setnetgrent): Update caller.
28385 (internal_endnetgrent): Renamed to ...
28386 (__internal_endnetgrent): ... this. Add internal_function to
28387 definition. Add libc_hidden_def.
28388 (endnetgrent): Update caller.
28389 (internal_getnetgrent_r): Renamed to ...
28390 (__internal_getnetgrent_r): ... this. Add internal_function to
28391 definition. Add libc_hidden_def.
28392 (__getnetgrent_r): Update caller.
28393 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28395 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28397 * stdlib/longlong.h: Update from GCC.
28399 2012-08-16 Roland McGrath <roland@hack.frob.com>
28401 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28402 on _QL, which is set by umul_ppmm but never used.
28403 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28404 variables, which are set by GMP macros but never used.
28405 * stdio-common/_itowa.c (_itowa): Likewise.
28406 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28407 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28409 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28411 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28412 struct La_sh_regs is not constant.
28413 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28414 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28415 and struct La_sparc64_regs are not constant.
28417 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28419 * sysdeps/unix/sysv/linux/kernel-features.h
28420 (__ASSUME_POSIX_TIMERS): Remove.
28421 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28422 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28423 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28424 Make code unconditional.
28425 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28426 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28427 Make code unconditional.
28428 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28429 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28430 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28431 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28432 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28433 Make code unconditional.
28434 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28435 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28436 (__libc_missing_posix_timers): Remove.
28438 2012-08-15 Roland McGrath <roland@hack.frob.com>
28440 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28441 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28443 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28445 * elf/dl-sym.c: Include <stdlib.h>.
28447 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28448 constants, which avoids warnings in 32-bit builds.
28450 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28451 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28453 * misc/lseek.c: File moved to ...
28454 * io/lseek.c: ... here.
28456 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28458 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28459 shifting LEN more than 31 bits at once.
28461 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28464 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28465 segmentation fault for a case of two empty input strings.
28466 * string/test-strncasecmp.c (check1): Renamed to...
28467 (bz12205): ...this.
28468 (bz14195): Add new testcase for two empty input strings and N > 0.
28469 (test_main): Call new testcase, adapt for renamed function.
28471 2012-08-15 Andreas Jaeger <aj@suse.de>
28474 * crypt/md5test2.c: New test, based on test supplied by Serge
28475 Belyshev <belyshev@depni.sinp.msu.ru>.
28476 * crypt/Makefile (xtests): Add md5test-giant..
28477 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28479 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28482 * crypt/md5.c (md5_process_block): Don't assume the buffer
28483 length is less than 2**32.
28484 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28485 length is less than 2**64.
28487 2012-08-15 Roland McGrath <roland@hack.frob.com>
28489 * string/str-two-way.h: Include <sys/param.h>.
28490 (MAX): Macro removed.
28492 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28493 Move #define and #undef of memmove to just before and after
28494 including <string.h>.
28496 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28497 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28498 and after including <string.h>. Move declarations of
28499 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28500 to before #include "string/memmove.c".
28502 * include/dirent.h: Declare __getdirentries.
28504 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28505 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28507 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28509 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28510 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28511 * sysdeps/i386/configure: Regenerated.
28512 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28513 STABS_CURRENT_FILE, and STABS_FUN.
28514 (END): Remove call to STABS_FUN_END.
28515 (STABS_CURRENT_FILE1): Delete.
28516 (STABS_CURRENT_FILE): Likewise.
28517 (STABS_FUN): Likewise.
28518 (STABS_FUN_END): Likewise.
28519 (STABS_FUN2): Likewise.
28520 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28521 * sysdeps/x86_64/configure: Regenerated.
28523 2012-08-14 Roland McGrath <roland@hack.frob.com>
28525 * elf/dl-open.c: Include <atomic.h>.
28526 * elf/dl-lookup.c: Likewise.
28528 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28530 * sysdeps/unix/sysv/linux/kernel-features.h
28531 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28532 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28534 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28536 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28537 condition on __ASSUME_CLONE_THREAD_FLAGS.
28539 2012-08-14 Andreas Jaeger <aj@suse.de>
28541 * sysdeps/i386/fpu/libm-test-ulps: Update.
28543 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28545 * include/atomic.h (atomic_exchange_and_add): Split into ...
28546 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28549 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28553 2012-08-13 Jeff Law <law@redhat.com>
28555 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28556 null byte in the output string.
28558 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28560 * sysdeps/unix/sysv/linux/kernel-features.h
28561 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28562 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28563 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28564 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28565 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28566 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28567 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28569 2012-08-09 Jeff Law <law@redhat.com>
28572 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28573 When avoid_arena is set, don't retry in the that arena. Pick the
28574 next one, whatever it might be.
28575 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28576 (arena_lock): Pass in new parameter to arena_get2.
28577 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28579 (__libc_malloc): Unify retrying after main arena failure with
28580 __libc_memalign version.
28581 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28583 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28586 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28587 to __redirect_strstr.
28588 (__strstr_sse42): Use typeof __redirect_strstr.
28589 (__strstr_ia32): Likewise.
28590 (__libc_strstr): New prototype.
28591 (strstr): Renamed to ...
28592 (__libc_strstr): This.
28593 (strstr): New strong alias of __libc_strstr.
28594 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28595 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28598 (__libc_time): New prototype.
28599 (time_ifunc): Replace time with __libc_time.
28600 (time): New strong alias and hidden definition of __libc_time.
28601 (__GI_time): Remove strong alias.
28602 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28603 Include <stddef.h>.
28604 (memmove): Redefined to __redirect_memmove.
28605 (__memmove_sse2): Use typeof __redirect_memmove.
28606 (__memmove_ssse3): Likewise.
28607 (__memmove_ssse3_back): Likewise.
28608 (__libc_memmove): New prototype.
28609 (memmove): Renamed to ...
28610 (__libc_memmove): This.
28611 (memmove): New strong alias of __libc_memmove.
28613 2012-08-08 Mark Salter <msalter@redhat.com>
28616 (R_MN10300_TLS_GD): Define.
28617 (R_MN10300_TLS_LD): Likewise.
28618 (R_MN10300_TLS_LDO): Likewise.
28619 (R_MN10300_TLS_GOTIE): Likewise.
28620 (R_MN10300_TLS_IE): Likewise.
28621 (R_MN10300_TLS_LE): Likewise.
28622 (R_MN10300_TLS_DTPMOD): Likewise.
28623 (R_MN10300_TLS_DTPOFF): Likewise.
28624 (R_MN10300_TLS_TPOFF): Likewise.
28625 (R_MN10300_SYM_DIFF): Likewise.
28626 (R_MN10300_ALIGN): Likewise.
28627 (R_MN10300_NUM): Update.
28629 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28631 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28634 2012-08-08 Roland McGrath <roland@hack.frob.com>
28636 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28638 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28639 sysdeps/unix -> sysdeps/posix move.
28640 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28642 2012-08-07 Allan McRae <allan@archlinux.org>
28645 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28646 (SUNOS_CPP): Likewise.
28647 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28649 (open_input): Call CPP using execvp.
28651 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28653 * sysdeps/unix/sysv/linux/kernel-features.h
28654 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28655 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28656 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28657 (__ASSUME_WAITID_SYSCALL): Likewise.
28658 * sysdeps/unix/sysv/linux/dl-execstack.c
28659 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28660 code unconditional.
28661 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28663 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28664 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28665 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28667 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28669 [__ASSUME_WAITID_SYSCALL]: Likewise.
28670 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28672 2012-08-07 Roland McGrath <roland@hack.frob.com>
28674 * sysdeps/unix/closedir.c: Renamed to ...
28675 * sysdeps/posix/closedir.c: ... here.
28676 * sysdeps/unix/dirfd.c: Renamed to ...
28677 * sysdeps/posix/dirfd.c: ... here.
28678 * sysdeps/unix/dirstream.h: Renamed to ...
28679 * sysdeps/posix/dirstream.h: ... here.
28680 * sysdeps/unix/fdopendir.c: Renamed to ...
28681 * sysdeps/posix/fdopendir.c: ... here.
28682 * sysdeps/unix/opendir.c: Renamed to ...
28683 * sysdeps/posix/opendir.c: ... here.
28684 * sysdeps/unix/readdir.c: Renamed to ...
28685 * sysdeps/posix/readdir.c: ... here.
28686 * sysdeps/unix/readdir_r.c: Renamed to ...
28687 * sysdeps/posix/readdir_r.c: ... here.
28688 * sysdeps/unix/rewinddir.c: Renamed to ...
28689 * sysdeps/posix/rewinddir.c: ... here.
28690 * sysdeps/unix/seekdir.c: Renamed to ...
28691 * sysdeps/posix/seekdir.c: ... here.
28692 * sysdeps/unix/telldir.c: Renamed to ...
28693 * sysdeps/posix/telldir.c: ... here.
28694 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28695 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28696 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28697 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28699 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28700 * bits/fcntl.h: ... here.
28702 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28704 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28705 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28706 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28707 (struct flock): Move l_start, l_len to the beginning.
28708 Use __pid_t for l_pid.
28709 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28710 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28711 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28712 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28713 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28714 [__USE_LARGEFILE64] (struct flock64): New type.
28715 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28717 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28718 * bits/dirent.h: ... here.
28720 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28721 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28723 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28725 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28726 Change from 2.6.0 to 2.6.16.
28727 * sysdeps/unix/sysv/linux/configure: Regenerated.
28728 * sysdeps/unix/sysv/linux/kernel-features.h
28729 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28730 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28732 (__ASSUME_UTIMES): Likewise.
28733 (__ASSUME_CLONE_STOPPED): Remove.
28734 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28735 architectures, not kernel version.
28736 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28737 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28738 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28739 (__ASSUME_WAITID_SYSCALL): Likewise.
28740 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28741 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28742 * README: State 2.6.16 as minimum Linux kernel version. Do not
28743 refer to older versions.
28745 2012-08-06 Roland McGrath <roland@hack.frob.com>
28747 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28748 Define alphasort64 as an alias.
28749 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28750 Define versionsort64 as an alias.
28751 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28752 Define scandir64 as an alias.
28753 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28754 Define scandirat64 as an alias.
28755 * dirent/alphasort64.c (alphasort64):
28756 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28757 * dirent/versionsort64.c: Likewise.
28758 * dirent/scandir64.c: Likewise.
28759 * dirent/scandirat64.c: Likewise.
28760 * sysdeps/wordsize-64/alphasort.c: File removed.
28761 * sysdeps/wordsize-64/alphasort64.c: File removed.
28762 * sysdeps/wordsize-64/scandir.c: File removed.
28763 * sysdeps/wordsize-64/scandir64.c: File removed.
28764 * sysdeps/wordsize-64/scandirat.c: File removed.
28765 * sysdeps/wordsize-64/scandirat64.c: File removed.
28766 * sysdeps/wordsize-64/versionsort.c: File removed.
28767 * sysdeps/wordsize-64/versionsort64.c: File removed.
28768 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28769 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28770 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28771 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28772 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28773 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28774 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28775 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28777 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28778 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28779 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28780 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28781 [defined __arch64__ || defined __sparcv9]
28782 (__INO_T_MATCHES_INO64_T): New macro.
28783 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28784 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28785 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28786 * sysdeps/unix/sysv/linux/bits/dirent.h
28787 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28788 (_DIRENT_MATCHES_DIRENT64): New macro.
28790 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28791 Define lockf64 as an alias.
28792 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28793 Define fseeko64 as an alias.
28794 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28795 Define ftello64 as an alias.
28796 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28797 Define _IO_fgetpos64 and fgetpos64 as aliases.
28798 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28799 Define _IO_fsetpos64 and fsetpos64 as aliases.
28800 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28801 Conditionalize body on this.
28802 * libio/fseeko64.c: Likewise.
28803 * libio/ftello64.c: Likewise.
28804 * libio/iofgetpos64.c: Likewise.
28805 * libio/iofsetpos64.c: Likewise.
28806 * sysdeps/wordsize-64/lockf.c: File removed.
28807 * sysdeps/wordsize-64/lockf64.c: File removed.
28808 * sysdeps/wordsize-64/fseeko.c: File removed.
28809 * sysdeps/wordsize-64/fseeko64.c: File removed.
28810 * sysdeps/wordsize-64/ftello.c: File removed.
28811 * sysdeps/wordsize-64/ftello64.c: File removed.
28812 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28813 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28814 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28815 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28816 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28817 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28818 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28819 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28820 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28821 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28822 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28823 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28824 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28825 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28827 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28828 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28829 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28830 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28831 [defined __arch64__ || defined __sparcv9]
28832 (__OFF_T_MATCHES_OFF64_T): New macro.
28833 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28834 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28835 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28836 (__OFF_T_MATCHES_OFF64_T): New macro.
28838 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28840 * stdlib/secure-getenv.c (__secure_getenv): Replace
28841 GLIBC_2_16 with GLIBC_2_17.
28843 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28845 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28846 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28848 2012-08-03 David S. Miller <davem@davemloft.net>
28850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28852 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28854 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28856 (__ASSUME_CORRECT_SI_PID): Likewise.
28857 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28858 (__ASSUME_TMPFS_NAME): Likewise.
28859 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28860 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28861 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28862 (HAVE_AUX_SECURE): Make definition unconditional.
28863 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28864 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28866 2012-08-03 Roland McGrath <roland@hack.frob.com>
28868 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28869 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28870 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28871 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28872 __eloop_threshold instead of SYMLOOP_MAX.
28874 * sysdeps/generic/eloop-threshold.h: New file.
28875 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28877 * elf/chroot_canon.c (chroot_canon): Likewise.
28879 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28882 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28883 Change to 2.6.0 everywhere.
28884 * sysdeps/unix/sysv/linux/configure: Regenerated.
28885 * sysdeps/unix/sysv/linux/kernel-features.h
28886 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28887 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28889 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28890 (__ASSUME_FUTEX_REQUEUE): Remove.
28891 (__ASSUME_STATFS64): Define unconditionally.
28892 (__ASSUME_AT_SECURE): Likewise.
28893 (__ASSUME_CORRECT_SI_PID): Likewise.
28894 (__ASSUME_TGKILL): Define without depending on kernel version for
28896 (__ASSUME_UTIMES): Likewise.
28897 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28899 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28900 (__ASSUME_TMPFS_NAME): Likewise.
28901 * README: Update reference to Linux kernel versions.
28903 2012-08-02 Marek Polacek <polacek@redhat.com>
28906 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28907 libc_cv_asm_type_prefix with %.
28908 * configure: Regenerated.
28909 * include/libc-symbols.h: Remove comment about
28910 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28911 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28912 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28913 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28914 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28915 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28916 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28917 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28918 * elf/tst-unique2mod1.c: Likewise.
28919 * elf/tst-unique1mod2.c: Likewise.
28920 * elf/tst-unique1mod1.c: Likewise.
28921 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28922 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28923 Replace ASM_TYPE_DIRECTIVE with .type.
28924 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28925 * sysdeps/i386/sysdep.h: Likewise.
28926 * sysdeps/x86_64/sysdep.h: Likewise.
28927 * sysdeps/sh/sysdep.h: Likewise.
28928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28929 Do not define ASM_TYPE_DIRECTIVE.
28930 * sysdeps/powerpc/sysdep.h: Likewise.
28931 * sysdeps/powerpc/powerpc32/sysdep.h:
28932 Replace ASM_TYPE_DIRECTIVE with .type.
28933 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28934 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28935 * sysdeps/i386/fpu/e_powf.S: Likewise.
28936 * sysdeps/i386/fpu/e_expl.S: Likewise.
28937 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28938 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28939 * sysdeps/i386/fpu/e_pow.S: Likewise.
28940 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28941 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28942 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28943 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28944 * sysdeps/i386/fpu/e_log2.S: Likewise.
28945 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28946 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28947 * sysdeps/i386/fpu/e_powl.S: Likewise.
28948 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28949 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28950 * sysdeps/i386/fpu/e_logl.S: Likewise.
28951 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28952 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28953 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28954 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28955 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28956 * sysdeps/i386/fpu/e_log.S: Likewise.
28957 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28958 * sysdeps/i386/fpu/e_logf.S: Likewise.
28959 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28960 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28961 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28962 * sysdeps/i386/fpu/e_log10.S: Likewise.
28963 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28964 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28965 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28966 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28967 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28968 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28969 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28970 * sysdeps/i386/i686/strtok.S: Likewise.
28971 * sysdeps/i386/i386-mcount.S: Likewise.
28972 * sysdeps/i386/strtok.S: Likewise.
28973 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28974 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28975 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28976 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28977 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28978 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28979 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28980 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28981 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28982 * sysdeps/x86_64/_mcount.S: Likewise.
28983 * sysdeps/x86_64/strtok.S: Likewise.
28984 * sysdeps/sh/_mcount.S: Likewise.
28986 2012-08-01 Roland McGrath <roland@hack.frob.com>
28988 * libio/iofopen.c: Include <fcntl.h>.
28989 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28990 (_IO_fopen64, fopen64): Define as aliases.
28991 * libio/iofopen64.c: Include <fcntl.h>.
28992 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28993 Conditionalize body on this.
28994 * sysdeps/wordsize-64/iofopen.c: File removed.
28995 * sysdeps/wordsize-64/iofopen64.c: File removed.
28997 2012-08-01 Marek Polacek <polacek@redhat.com>
28999 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29000 Use dlfcn directly instead of a variable.
29001 (binfmt-subdir): Do not define.
29004 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29006 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29007 Remove all definitions.
29008 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29009 <kernel-features.h>.
29010 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29011 (miss_F_GETOWN_EX): Remove all definitions.
29012 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29014 [!__ASSUME_FCNTL64]: Remove conditional code.
29015 [__ASSUME_FCNTL64]: Make code unconditional.
29016 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29017 <kernel-features.h>.
29018 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29019 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29020 (lockf64) [__NR_fcntl64]: Make code unconditional.
29021 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29023 * sysdeps/unix/sysv/linux/kernel-features.h
29024 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29025 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29026 Make code unconditional.
29027 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29028 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29030 [__NR_vfork]: Make code unconditional.
29031 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29032 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29034 [__NR_vfork]: Make code unconditional.
29035 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29036 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29038 2012-08-01 Roland McGrath <roland@hack.frob.com>
29040 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29041 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29043 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29044 Define mkstemp64 as an alias.
29045 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29046 Define mkstemps64 as an alias.
29047 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29048 Define mkostemp64 as an alias.
29049 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29050 Define mkostemps64 as an alias.
29051 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29052 Conditionalize body on this.
29053 * misc/mkostemp64.c: Likewise.
29054 * misc/mkostemps64.c: Likewise.
29055 * misc/mkstemps64.c: Likewise.
29056 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29057 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29058 * sysdeps/wordsize-64/mkostemp.c: File removed.
29059 * sysdeps/wordsize-64/mkstemp.c: File removed.
29060 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29061 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29062 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29063 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29066 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29067 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29068 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29069 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29071 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29072 compat_symbol macros from <shlib-compat.h> rather than the underlying
29073 default_symbol_version and symbol_version macros, so that DEFAULT
29074 lines in shlib-versions are respected.
29075 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29077 2012-08-01 Florian Weimer <fweimer@redhat.com>
29079 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29080 Declare with warn_unused_result.
29081 (setgid, setregid, setegid, setresgid): Likewise.
29082 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29084 * WUR-REPORT: Remove set*id functions.
29086 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29088 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29090 2012-07-31 Roland McGrath <roland@hack.frob.com>
29093 * include/sys/socket.h (__libc_accept, __libc_accept4):
29094 Add attribute_hidden.
29095 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29097 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29099 * inet/getnetgrent_r.c (setup): Likewise.
29101 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29103 2012-07-31 David S. Miller <davem@davemloft.net>
29105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29107 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29110 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29111 value between 1.0 and 2.0 and smaller part has absolute value less
29113 * math/s_clog10.c (__clog10): Likewise.
29114 * math/s_clog10f.c (__clog10f): Likewise.
29115 * math/s_clog10l.c (__clog10l): Likewise.
29116 * math/s_clogf.c (__clogf): Likewise.
29117 * math/s_clogl.c (__clogl): Likewise.
29118 * math/libm-test.inc (clog_test): Add more tests.
29119 (clog10_test): Likewise.
29120 * sysdeps/i386/fpu/libm-test-ulps: Update.
29121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29123 2012-07-31 Florian Weimer <fweimer@redhat.com>
29125 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29126 Exit with zero in case no suitable GID is found, and write a
29127 message to standard error.
29129 2012-07-30 Roland McGrath <roland@hack.frob.com>
29131 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29133 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29134 (MAXPATHLEN): Removed.
29135 (NOGROUP, NODEV): New macros.
29136 (setbit, clrbit, isset, isclr): New macros.
29137 (howmany, roundup, powerof2): New macros.
29138 (DEV_BSIZE): New macro.
29140 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29141 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29143 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29144 definition on [!__NO_LONG_DOUBLE_MATH].
29146 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29147 PTR_MANGLE and PTR_DEMANGLE.
29149 * socket/accept4.c (accept4): Rename to __libc_accept4.
29150 Define accept4 as a weak alias.
29152 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29153 on [_DIRENT_HAVE_D_TYPE].
29154 * io/ftw.c (ftw_dir): Likewise.
29156 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29158 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29160 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29161 Use the BSD numbers rather than the arbitrary ones we had.
29162 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29163 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29164 (SIGXCPU, SIGXFSZ): New macros.
29167 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29168 initializer on [_LIBC_REENTRANT].
29170 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29171 definitions inside [_POSIX_MAPPED_FILES].
29173 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29175 * dirent/opendir.c: Include <fcntl.h>.
29177 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29178 (__libc_getspecific): Likewise.
29179 (__libc_key_create): Likewise.
29181 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29182 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29183 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29184 (tmpfile64): Define as alias.
29185 * sysdeps/wordsize-64/tmpfile.c: File removed.
29186 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29187 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29188 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29190 * stdio-common/vfscanf.c: Include <stdbool.h>.
29191 * nss/makedb.c: Likewise.
29192 * stdio-common/_i18n_number.h: Likewise.
29193 * argp/argp-help.c: Likewise.
29194 * posix/wordexp.c: Likewise.
29195 * sysdeps/posix/spawni.c: Likewise.
29196 * nss/nss_files/files-initgroups.c: Likewise.
29197 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29198 * nss/nss_files/files-initgroups.c: Likewise.
29199 * nss/nss_db/db-netgrp.c: Likewise.
29200 * nss/nss_db/db-initgroups.c: Likewise.
29201 * io/fchmodat.c: Include <sys/stat.h>.
29203 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29204 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29206 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29209 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29210 Add multiple inclusion protection.
29212 2012-07-27 David S. Miller <davem@davemloft.net>
29214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29216 2012-07-27 Gary Benson <gbenson@redhat.com>
29219 * elf/rtld.c: Include <stap-probe.h>.
29220 (dl_main): Added static probes "init_start" and "init_complete".
29221 * elf/dl-load.c: Include <stap-probe.h>.
29222 (lose): Take new parameter "nsid".
29223 Added static probe "map_failed".
29224 (_dl_map_object_from_fd): Pass namespace id to lose.
29225 Added static probe "map_start".
29226 (open_verify): Pass namespace id to lose.
29227 * elf/dl-open.c: Include <stap-probe.h>.
29228 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29229 and "reloc_complete".
29230 * elf/dl-close.c: Include <stap-probe.h>.
29231 (_dl_close_worker): Added static probes "unmap_start" and
29233 * elf/rtld-debugger-interface.txt: New file documenting the above.
29235 2012-07-26 Roland McGrath <roland@hack.frob.com>
29237 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29238 rather than a string variable.
29239 * sunrpc/rpc_main.c (h_output): Likewise.
29240 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29242 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29244 * inet/check_native.c: New file.
29246 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29249 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29250 if larger part has absolute value 1.0.
29251 * math/s_clog10.c (__clog10): Likewise.
29252 * math/s_clog10f.c (__clog10f): Likewise.
29253 * math/s_clog10l.c (__clog10l): Likewise.
29254 * math/s_clogf.c (__clogf): Likewise.
29255 * math/s_clogl.c (__clogl): Likewise.
29256 * math/libm-test.inc (clog_test): Add more tests.
29257 (clog10_test): Likewise.
29258 * sysdeps/i386/fpu/libm-test-ulps: Update.
29259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29261 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29262 (pltexit): Likewise.
29263 (La_regs): Likewise.
29264 (La_retval): Likewise.
29265 (int_retval): Likewise.
29266 Update #error for removed macros to refer only to definitions in
29268 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29270 (pltexit): Likewise.
29271 (La_regs): Likewise.
29272 (La_retval): Likewise.
29273 (int_retval): Likewise.
29274 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29276 (pltexit): Likewise.
29277 (La_regs): Likewise.
29278 (La_retval): Likewise.
29279 (int_retval): Likewise.
29280 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29282 (pltexit): Likewise.
29283 (La_regs): Likewise.
29284 (La_retval): Likewise.
29285 (int_retval): Likewise.
29286 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29288 (pltexit): Likewise.
29289 (La_regs): Likewise.
29290 (La_retval): Likewise.
29291 (int_retval): Likewise.
29292 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29294 (pltexit): Likewise.
29295 (La_regs): Likewise.
29296 (La_retval): Likewise.
29297 (int_retval): Likewise.
29298 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29300 (pltexit): Likewise.
29301 (La_regs): Likewise.
29302 (La_retval): Likewise.
29303 (int_retval): Likewise.
29304 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29305 macro definitions in tst-audit.h.
29306 * sysdeps/i386/tst-audit.h: New file.
29307 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29308 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29309 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29310 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29311 * sysdeps/sh/tst-audit.h: Likewise.
29312 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29313 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29314 * sysdeps/x86_64/tst-audit.h: Likewise.
29316 2012-07-26 Andreas Jaeger <aj@suse.de>
29318 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29321 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29322 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29323 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29325 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29326 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29327 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29329 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29332 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29334 (si_call_addr, si_syscall, si_arch): Define new macro.
29335 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29337 (si_call_addr, si_syscall, si_arch): Define new marcro.
29338 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29340 (si_call_addr, si_syscall, si_arch): Define new macro.
29341 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29343 (si_call_addr, si_syscall, si_arch): Define new macro.
29345 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29348 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29349 Change to 2.4.21 where previously 2.4.1.
29350 * sysdeps/unix/sysv/linux/configure: Regenerated.
29351 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29352 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29353 Linux kernel version.
29354 (__ASSUME_STD_AUXV): Remove.
29355 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29357 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29358 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29359 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29360 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29361 (__ASSUME_NETLINK_SUPPORT): Likewise.
29362 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29363 (__no_netlink_support): Remove conditional definition.
29364 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29366 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29367 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29368 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29369 (if_nameindex_ioctl): Remove.
29370 (if_nameindex_netlink): Do not handle __no_netlink_support.
29371 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29373 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29374 Remove conditional code.
29375 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29377 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29379 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29380 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29381 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29383 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29384 [!__ASSUME_STD_AUXV]: Remove conditional code.
29385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29386 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29387 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29389 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29390 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29392 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29394 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29395 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29397 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29399 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29402 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29405 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29406 code unconditional.
29407 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29409 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29411 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29414 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29416 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29419 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29420 code unconditional.
29421 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29423 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29425 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29428 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29429 code unconditional.
29430 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29432 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29434 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29437 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29439 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29440 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29441 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29442 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29443 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29444 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29445 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29446 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29447 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29448 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29449 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29450 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29451 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29452 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29453 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29454 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29455 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29456 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29457 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29458 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29459 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29460 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29461 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29463 2012-07-25 Florian Weimer <fweimer@redhat.com>
29465 * Versions.def: Add GLIBC_2.17.
29466 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29467 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29468 Introduce __libc_secure_getenv.
29469 * stdlib/Versions (2.17): Add secure_getenv
29470 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29471 * stdlib/secure-getenv.c: Rename __secure_getenv to
29472 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29473 symbol __secure_getenv for GLIBC_2.0.
29474 * stdlib/tst-secure-getenv.c: New.
29475 * stdlib/Makefile (tests): Add testcase.
29476 * manual/startup.texi (Environment Access): Document
29478 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29479 __libc_secure_getenv.
29480 * inet/ruserpass.c (ruserpass): Likewise.
29481 * malloc/mtrace.c (mtrace): Likewise.
29482 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29483 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29484 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29485 * sysdeps/posix/tempname.c: Likewise. Evaluate
29486 HAVE_SECURE_GETENV.
29487 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29488 __secure_getenv to __libc_secure_getenv.
29489 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29496 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29502 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29504 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29505 (struct La_i86_retval): Likewise.
29506 (struct La_x86_64_regs): Likewise.
29507 (struct La_x86_64_retval): Likewise.
29508 (struct La_x32_regs): Likewise.
29509 (struct La_x32_retval): Likewise.
29510 (struct La_ppc32_regs): Likewise.
29511 (struct La_ppc32_retval): Likewise.
29512 (struct La_ppc64_regs): Likewise.
29513 (struct La_ppc64_retval): Likewise.
29514 (struct La_sh_regs): Likewise.
29515 (struct La_sh_retval): Likewise.
29516 (struct La_s390_32_regs): Likewise.
29517 (struct La_s390_32_retval): Likewise.
29518 (struct La_s390_64_regs): Likewise.
29519 (struct La_s390_64_retval): Likewise.
29520 (struct La_sparc32_regs): Likewise.
29521 (struct La_sparc32_retval): Likewise.
29522 (struct La_sparc64_regs): Likewise.
29523 (struct La_sparc64_retval): Likewise.
29524 (struct audit_ifaces): Remove architecture-specific pltenter and
29526 * sysdeps/i386/ldsodefs.h: New file.
29527 * sysdeps/powerpc/ldsodefs.h: Likewise.
29528 * sysdeps/s390/ldsodefs.h: Likewise.
29529 * sysdeps/sh/ldsodefs.h: Likewise.
29530 * sysdeps/sparc/ldsodefs.h: Likewise.
29531 * sysdeps/x86_64/ldsodefs.h: Likewise.
29533 2012-07-25 Marek Polacek <polacek@redhat.com>
29536 * math/libm-test.inc (yn_test): Add another test.
29537 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29538 to ERANGE when the result is +-Inf.
29539 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29540 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29541 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29542 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29544 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29546 * conform/data/time.h-data (NULL): Use macro-constant. Require
29548 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29550 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29552 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29554 * configure.in <sysdeps resolving>: Correct printing
29556 * configure: Regenerate.
29558 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29560 * math/w_ilogb.c: Include <limits.h>.
29561 * math/w_ilogbl.c: Likewise.
29563 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29565 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29566 va_copy. Document allowing for unavailable va_copy only as
29567 pre-C99 compatibility.
29568 * manual/string.texi (Copying and Concatenation): Use va_copy
29569 instead of __va_copy in concat example.
29571 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29573 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29574 (__sendto): Use create_address_port. Initialize APORT and deallocate
29577 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29578 with O_NOLINK passed to __file_name_lookup.
29580 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29581 with O_NOLINK passed to __file_name_lookup.
29583 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29584 negative N or less than NGIDS.
29586 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29587 type to string_t. Set ERANGE as errno and return it if NAME is not big
29588 enough. Use memcpy instead of strncpy.
29590 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29592 * elf/Makefile (check-data): Remove.
29593 (localplt.data): New vpath directive.
29594 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29595 instead of $(check-data).
29596 * scripts/data/localplt-generic.data: Move to ...
29597 * sysdeps/generic/localplt.data: ... here.
29598 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29599 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29600 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29603 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29606 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29609 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29612 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29615 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29619 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29621 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29622 PPC32 and PPC64 files.
29623 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29624 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29626 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29628 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29629 __makecontext_ret to ...
29630 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29631 ... here and call exit if uc_link is NULL. New file.
29632 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29633 __makecontext_ret.S.
29634 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29635 __makecontext_ret to ...
29636 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29637 ... here and call exit if uc_link is NULL. New file.
29638 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29639 __makecontext_ret.S.
29641 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29643 * elf/elf.h (R_390_IRELATIVE): New definition.
29644 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29645 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29646 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29647 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29648 (elf_machine_lazy_rel): Likewise.
29649 * sysdeps/s390/dl-irel.h: New file.
29650 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29651 * sysdeps/s390/s390-64/memset.S: New asm code.
29652 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29653 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29654 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29655 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29656 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29657 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29658 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29659 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29660 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29661 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29662 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29663 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29664 * sysdeps/s390/s390-32/memset.S: New asm code.
29665 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29667 2012-07-17 Marek Polacek <polacek@redhat.com>
29670 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29671 * sysdeps/s390/s390-64/configure.in: Likewise.
29672 * sysdeps/sparc/configure.in: Likewise.
29673 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29674 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29675 * sysdeps/i386/configure.in: Likewise.
29676 * sysdeps/x86_64/configure.in: Likewise.
29677 * sysdeps/sh/configure.in: Likewise.
29678 * sysdeps/s390/s390-32/configure: Regenerated.
29679 * sysdeps/s390/s390-64/configure: Likewise.
29680 * sysdeps/x86_64/configure: Likewise.
29681 * sysdeps/sh/configure: Likewise.
29682 * sysdeps/powerpc/powerpc64/configure: Likewise.
29683 * sysdeps/powerpc/powerpc32/configure: Likewise.
29684 * sysdeps/sparc/configure: Likwise.
29685 * sysdeps/i386/configure: Likewise.
29687 * elf/dl-open.c: Comment fixes.
29689 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29691 * Makefile [CXX] (check-data): Remove.
29692 [CXX] (c++-types.data): New vpath directive.
29693 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29694 vpath. Do not allow for C++ type data being missing.
29695 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29696 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29697 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29698 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29699 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29700 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29701 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29704 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29707 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29710 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29713 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29716 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29719 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29722 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29725 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29726 definitions to architecture-specific files.
29727 (TLS_IE): Likewise.
29728 (TLS_LD): Likewise.
29729 (TLS_GD): Likewise.
29730 * sysdeps/i386/tls-macros.h: New file.
29731 * sysdeps/powerpc/tls-macros.h: Likewise.
29732 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29733 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29734 * sysdeps/sh/tls-macros.h: Likewise.
29735 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29736 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29737 * sysdeps/x86_64/tls-macros.h: Likewise.
29739 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29741 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29742 zero value for regular exit case.
29744 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29745 (__start_context): Preserve zero value for regular exit case.
29747 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29748 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29750 * manual/setjmp.texi (setcontext): Clarify normal process
29751 termination when uc_link is the null pointer.
29752 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29755 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29757 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29758 preprocessor. Test for each exception mask separately.
29760 2012-07-16 Andreas Jaeger <aj@suse.de>
29762 * po/ru.po: Update from translation team.
29764 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29766 * conform/data/string.h-data (NULL): Use macro-constant. Require
29768 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29769 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29770 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29771 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29772 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29774 2012-07-13 Andreas Jaeger <aj@suse.de>
29776 * po/fr.po: Update from translation team.
29778 2012-07-12 Marek Polacek <polacek@redhat.com>
29781 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29782 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29785 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29788 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29789 Change to 2.4.1 where previously 2.4.0.
29790 * sysdeps/unix/sysv/linux/configure: Regenerated.
29791 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29792 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29794 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29795 (__ASSUME_AT_CLKTCK): Remove.
29796 (__ASSUME_AT_PAGESIZE): Likewise.
29797 (__ASSUME_AT_XID): Likewise.
29798 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29799 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29800 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29802 (HAVE_AUX_PAGESIZE): Likewise.
29803 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29804 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29805 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29807 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29811 the temporary buffer used to invoke __gethostbyname2_r,
29812 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29813 host_data / struct gaih_addrtuple.
29814 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29815 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29816 header file nss/nsswitch.h.
29817 * nss/nsswitch.h (global scope): Add definition of implementation
29818 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29819 resolv/nss_dns/dns-host.c).
29821 2012-07-11 Andreas Jaeger <aj@suse.de>
29823 * po/fr.po: Update from translation team.
29825 * po/sv.po: Update from translation team
29826 * po/fr.po: Another update from translation team.
29828 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29830 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29831 for subnormals or multiply small sinh result by itself.
29832 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29835 2012-07-11 David S. Miller <davem@davemloft.net>
29837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29839 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29842 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29843 (INTERNAL_MARK): Shift it here.
29845 2012-07-10 Marek Polacek <polacek@redhat.com>
29848 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29849 libc_cv_asm_global_directive with .globl.
29850 * configure: Regenerated.
29851 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29853 * sysdeps/i386/configure: Regenerated.
29854 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29856 * sysdeps/x86_64/configure: Regenerated.
29857 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29858 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29859 * elf/tst-unique2mod2.c: Likewise.
29860 * elf/tst-unique2mod1.c: Likewise.
29861 * elf/tst-unique1mod2.c: Likewise.
29862 * elf/tst-unique1mod1.c: Likewise.
29863 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29864 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29865 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29866 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29867 * sysdeps/mach/sysdep.h: Likewise.
29868 * sysdeps/i386/sysdep.h: Likewise.
29869 * sysdeps/i386/i386-mcount.S: Likewise.
29870 * sysdeps/x86_64/_mcount.S: Likewise.
29871 * sysdeps/x86_64/sysdep.h: Likewise.
29872 * sysdeps/sh/_mcount.S: Likewise.
29873 * sysdeps/sh/sysdep.h: Likewise.
29874 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29875 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29876 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29877 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29878 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29879 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29880 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29881 * locale/localeinfo.h: Likewise.
29882 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29883 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29885 2012-07-09 Roland McGrath <roland@hack.frob.com>
29888 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29890 * manual/message.texi (The Uniforum approach): Likewise.
29891 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29892 (glibc iconv Implementation): Likewise.
29894 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29897 * math/s_clog.c (__clog): Avoid scaling a value down where that
29898 could result in underflow.
29899 * math/s_clog10.c (__clog10): Likewise.
29900 * math/s_clog10f.c (__clog10f): Likewise.
29901 * math/s_clog10l.c (__clog10l): Likewise.
29902 * math/s_clogf.c (__clogf): Likewise.
29903 * math/s_clogl.c (__clogl): Likewise.
29904 * math/libm-test.inc (clog_test): Add more tests.
29905 (clog10_test): Likewise.
29906 * sysdeps/i386/fpu/libm-test-ulps: Update.
29907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29909 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29912 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29913 by 7 not 8 to examine high bit of fractional part.
29916 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29917 for call to __mcount_internal.
29918 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29919 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29920 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29922 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29925 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29926 approximation for values within 0x1p-13f of an odd multiple of
29928 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29929 exception. Add more tests.
29930 * sysdeps/i386/fpu/libm-test-ulps: Update.
29933 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29934 inputs and return -1 for them. Do not check for +Inf in case not
29935 reachable for +Inf.
29936 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29937 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29938 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29939 and return -1 for them. Do not check for +Inf in case not
29940 reachable for +Inf.
29941 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29943 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29944 and return -1 for them. Do not check for +Inf in case not
29945 reachable for +Inf.
29946 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29947 spurious underflow.
29948 * sysdeps/i386/fpu/libm-test-ulps: Update.
29949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29951 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29953 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29955 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29959 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29960 could result in spurious underflow. Scale down values above
29961 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29962 * math/s_csqrtf.c (__csqrtf): Likewise.
29963 * math/s_csqrtl.c (__csqrtl): Likewise.
29964 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29965 spurious underflow.
29966 * sysdeps/i386/fpu/libm-test-ulps: Update.
29967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29969 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29971 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29973 * catgets/xopen-msg.awk: New file.
29974 * catgets/xopen-msg.sed: Removed.
29976 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29978 * intl/po2test.awk: New file.
29979 * intl/po2test.sed: Removed.
29981 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29984 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29985 or multiply small sinh result by itself.
29986 * math/s_ctanf.c (__ctanf): Likewise.
29987 * math/s_ctanh.c (__ctanh): Likewise.
29988 * math/s_ctanhf.c (__ctanhf): Likewise.
29989 * math/s_ctanhl.c (__ctanhl): Likewise.
29990 * math/s_ctanl.c (__ctanl): Likewise.
29991 * math/libm-test.inc (ctan_test_tonearest): New function.
29992 (ctan_test_towardzero): Likewise.
29993 (ctan_test_downward): Likewise.
29994 (ctan_test_upward): Likewise.
29995 (ctanh_test_tonearest): Likewise.
29996 (ctanh_test_towardzero): Likewise.
29997 (ctanh_test_downward): Likewise.
29998 (ctanh_test_upward): Likewise.
29999 (main): Call these new functions.
30000 * sysdeps/i386/fpu/libm-test-ulps: Update.
30001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30003 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30005 * .gitignore: Delete /ports entry.
30007 2012-07-03 Andreas Jaeger <aj@suse.de>
30009 * po/bg.po: Update from translation team.
30010 * po/cs.po: Likewise.
30011 * po/de.po: Likewise.
30012 * po/hr.po: Likewise.
30013 * po/nl.pl: Likewise.
30014 * po/pl.po: Likewise.
30015 * po/vi.po: Likewise.
30017 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30019 * Makeconfig [!+link] (+link-before-libc): New variable.
30020 [!+link] (+link-after-libc): Likewise.
30021 [!+link] (+link-tests): Likewise.
30022 [!+link] (+link): Define in terms of $(+link-before-libc) and
30023 $(+link-after-libc).
30024 [!+link-static] (+link-static-before-libc): New variable.
30025 [!+link-static] (+link-static-after-libc): Likewise.
30026 [!+link-static] (+link-static-tests): Likewise.
30027 [!+link-static] (+link-static): Define in terms of
30028 $(+link-static-before-libc) and $(+link-static-after-libc).
30029 [build-shared] (link-libc-before-gnulib): New variable.
30030 [build-shared] (link-libc-tests): Likewise.
30031 [build-shared] (link-libc): Define in terms of
30032 $(link-libc-before-gnulib).
30033 [!build-shared] (link-libc-tests): New variable.
30034 (link-libc-static-tests): New variable.
30035 [!gnulib] (gnulib-arch): New variable.
30036 [!gnulib] (gnulib-tests): Likewise.
30037 [!gnulib] (static-gnulib-arch): Likewise.
30038 [!gnulib] (static-gnulib-tests): Likewise.
30039 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30040 Define with "=" instead of ":=".
30041 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30042 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30043 * Rules (binaries-all-notests): New variable.
30044 (binaries-all-tests): Likewise.
30045 (binaries-static-notests): Likewise.
30046 (binaries-static-tests): Likewise.
30047 (binaries-all): Define using $(binaries-all-notests) and
30048 $(binaries-all-tests).
30049 (binaries-static): Define using $(binaries-static-notests) and
30050 $(binaries-static-tests).
30051 (binaries-shared-tests): New variable.
30052 (binaries-shared-notests): Likewise.
30053 (binaries-shared): Remove variable.
30054 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30055 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30056 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30057 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30058 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30059 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30060 * elf/Makefile (sln-modules): New variable.
30061 (extra-objs): Add $(sln-modules:=.o).
30062 (ldconfig-modules): Add static-stubs.
30063 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30064 * elf/static-stubs.c: New file.
30067 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30068 by 7 not 8 to examine high bit of fractional part. Use volatile
30069 variables when splitting into final array of floats if
30070 __FLT_EVAL_METHOD__ != 0.
30071 * math/libm-test.inc (cos_test): Add another test.
30072 (sin_test): Likewise.
30073 * sysdeps/i386/fpu/libm-test-ulps: Update.
30076 * math/libm-test.inc (cosh_test): Add more tests.
30078 * version.h (RELEASE): Set to "development".
30079 (VERSION): Set to "2.16.90".
30081 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30083 * NEWS: Update copyright. Remove last-updated date.
30084 Mention math library bug fixes and timezone data changes.
30085 * README: Mention GNU/Hurd, x32, and HPPA support status.
30087 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30089 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30091 2012-06-27 Andreas Jaeger <aj@suse.de>
30093 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30095 2012-06-25 Andreas Jaeger <aj@suse.de>
30097 * sysdeps/s390/fpu/libm-test-ulps: Update.
30099 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30100 Thomas Schwinge <thomas@codesourcery.com>
30102 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30103 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30104 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30107 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30109 * sysdeps/mach/start.c: Remove file.
30110 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30111 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30112 * sysdeps/sh/init-first.c: Likewise.
30114 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30115 registers for frame unwinding purposes, add CFI directives.
30116 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30117 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30118 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30121 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30122 __fortify_fail returning.
30123 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30125 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30126 sysdeps/sh/____longjmp_chk.S.
30127 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30128 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30129 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30130 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30132 * sysdeps/sh/abort-instr.h: New file.
30133 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30134 process in case exit returns.
30136 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30137 initialize the GOT register before use.
30139 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30140 calculation of ARGC > 4.
30142 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30143 meaningful names to some local labels.
30145 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30146 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30148 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30149 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30150 (__arch_compare_and_exchange_val_16_acq): Likewise.
30151 (__arch_compare_and_exchange_val_32_acq): Likewise.
30152 (atomic_exchange_and_add): Fix gUSA sequence.
30153 (atomic_add): Likewise.
30154 (atomic_add_negative): Likewise.
30155 (atomic_add_zero): Likewise.
30156 (atomic_bit_test_set): Likewise.
30158 2012-06-22 Andreas Schwab <schwab@redhat.com>
30161 * include/link.h (struct link_map): Add l_free_initfini.
30162 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30164 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30165 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30166 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30169 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30171 * configure.in: Use AC_LANG_SOURCE.
30172 * configure: Regenerate.
30174 2012-06-22 Roland McGrath <roland@hack.frob.com>
30176 * configure.in (libc_cv_localstatedir): New substituted variable.
30177 * configure: Regenerated.
30178 * config.make.in (localstatedir): New variable, substituted from
30179 libc_cv_localstatedir.
30180 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30181 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30182 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30183 * sysdeps/gnu/configure: Regenerated.
30185 2012-06-21 Jeff Law <law@redhat.com>
30188 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30189 free. Simplify list management for _LIBC case.
30191 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30194 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30195 Clear sign bit of 64-bit integer value before comparing against
30198 * sysdeps/mach/configure: Regenerated.
30200 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30203 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30205 2012-06-21 Jeff Law <law@redhat.com>
30208 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30209 uint16_t for elements in the "seen" array to avoid char overflows.
30210 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30211 * elf/dl-open.c (dl_open_worker): Likewise.
30213 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30215 * scripts/list-sources.sh: Scan PORTS for translations.
30216 * po/libc.pot: Regenerated.
30218 2012-06-21 Andreas Jaeger <aj@suse.de>
30221 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30223 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30224 * bits/byteswap-16.h (__bswap_16): Likewise.
30225 * bits/byteswap.h (__bswap_constant_16): Likewise.
30227 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30230 * sysdeps/i386/fpu_control.h: Removed.
30231 * sysdeps/x86_64/fpu_control.h: Moved to ...
30232 * sysdeps/x86/fpu_control.h: Here.
30234 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30235 (_FPU_SETCW): Likewise.
30237 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30240 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30241 * sysdeps/x86/fpu/bits/mathinline.h: This.
30242 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30246 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30247 functions if __x86_64__ is defined.
30249 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30251 * string/endian.h: Add !__ASSEMBLER__ condition for including
30252 conversion interfaces.
30254 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30257 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30258 of ABS(x) in calculating zero to negative powers other than odd
30260 * math/libm-test.inc (pow_test): Add more tests.
30262 2012-06-15 Andreas Jaeger <aj@suse.de>
30264 * manual/contrib.texi (Contributors): Update entry of Liubov
30265 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30268 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30270 * string/string.h: Add __wur to GNU version of strerror_r.
30272 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30275 * string/Makefile (tests): Add tst-strtok_r.
30276 * string/tst-strtok_r.c: New file.
30277 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30278 RAX_LP/RDX_LP on SAVE_PTR.
30280 2012-06-14 Roland McGrath <roland@hack.frob.com>
30282 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30284 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30286 * libm_test.inc (csqrt_test): Allow more spurious underflow
30288 (j0_test): Likewise.
30289 (j1_test): Likewise.
30290 (y0_test): Likewise.
30291 (y1_test): Likewise.
30293 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30295 * po/Makefile (libc.pot): Use UTF-8 charset.
30297 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30300 Suppress sign-conversion warning from FD_SET.
30301 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30302 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30303 not unsigned long int.
30304 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30306 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30310 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30311 __extern_always_inline instead of __extern_inline.
30312 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30313 (__signbit): Likewise.
30314 (__signbitl): Support C++ namespace.
30315 (lrintf): New inline function.
30317 (llrintf): Likewise.
30318 (llrint): Likewise.
30328 (floorf): Likewise.
30329 (nearbyint): Likewise.
30330 (nearbyintf): Likewise.
30332 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30334 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30335 non-default versions.
30337 2012-06-11 Roland McGrath <roland@hack.frob.com>
30340 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30342 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30344 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30345 (FE_UPWARD, FE_DOWNWARD): Don't define.
30346 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30347 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30349 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30351 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30352 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30354 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30356 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30357 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30358 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30359 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30361 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30364 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30365 * sysdeps/i386/fpu/Implies: New file.
30366 * sysdeps/x86_64/fpu/Implies: Likewise.
30367 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30368 * sysdeps/x86/fpu/bits/fenv.h: This.
30370 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30373 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30376 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30377 character 0xffff that matches the last element of the
30380 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30382 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30385 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30387 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30388 values higher than 25.6283.
30390 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30392 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30393 subnormal exponent extraction and add some __builtin_expect.
30394 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30395 Fix for subnormal mantissa calculation.
30397 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30399 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30400 cpu2 is -1 and errno is not ENOSYS.
30402 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30405 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30406 * sysdeps/x86/bits/string.h: This.
30407 * sysdeps/x86_64/bits/string.h: Removed.
30409 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30410 if not compiling for x86-64, but compiling for >= i486.
30412 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30413 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30415 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30416 New macro from Linux kernel 3.4.0.
30417 (FP_XSTATE_MAGIC2): Likewise.
30418 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30419 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30420 (struct _fpx_sw_bytes): New struct.
30421 (struct _xsave_hdr): Likewise.
30422 (struct _ymmh_state): Likewise.
30423 (struct _xstate): Likewise.
30425 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30426 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30427 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30428 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30429 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30430 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30432 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30433 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30434 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30435 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30436 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30437 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30439 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30442 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30443 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30444 (sysdep_headers): Include sys/platform/ppc.h.
30445 * sysdeps/powerpc/test-gettimebase.c: Test for
30446 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30447 * manual/Makefile (appendices): Include platform.texi.
30448 * manual/contrib.texi (Contributors): Update @node pointers.
30449 * manual/maint.texi (Maintenance): Likewise.
30450 (Platform): New node.
30451 * manual/platform.texi: New file. Document the new features.
30453 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30454 Jakub Jelinek <jakub@redhat.com>
30457 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30458 where __builtin_expect is unavailable.
30460 2012-06-03 David S. Miller <davem@davemloft.net>
30462 * stdlib/longlong.h: Updated from GCC.
30464 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30467 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30468 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30471 (GLIBC_2.16): Likewise.
30473 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30475 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30477 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30480 (default-abi): New variable.
30481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30482 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30484 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30486 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30488 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30491 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30492 definition. Document in comment.
30494 2012-06-01 David S. Miller <davem@davemloft.net>
30496 * stdlib/longlong.h: Updated from GCC.
30498 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30501 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30502 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30503 sys/debugreg.h sys/io.h here.
30504 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30505 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30507 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30508 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30509 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30510 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30511 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30512 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30514 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30515 Define only if __x86_64__ is defined.
30517 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30520 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30521 Use int64_t for variable i.
30522 * math/libm-test.inc (fmod_test): Add more tests.
30524 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30525 z computation is not scheduled after fetestexcept.
30526 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30527 Use math_force_eval instead of asm to ensure calculation scheduled
30528 before exception test.
30529 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30530 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30532 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30535 computation is not scheduled after fetestexcept.
30537 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30540 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30541 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30543 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30545 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30546 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30548 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30551 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30553 (__WCHAR_MIN): Support __WORDSIZE == 64.
30554 (__WCHAR_MAX): Likewise.
30556 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30557 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30560 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30561 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30564 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30565 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30567 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30568 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30570 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30571 Defined to 1 if __x86_64__ isn't defined.
30572 (_STAT_VER_LINUX_OLD): New.
30573 (st_atime): Remove duplicate.
30574 (st_mtime): Likewise.
30575 (st_ctime): Likewise.
30577 2012-05-31 David S. Miller <davem@davemloft.net>
30579 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30582 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30584 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30588 * elf/dl-reloc.c: Include <_itoa.h>.
30589 (_dl_reloc_bad_type): Remove use of INTUSE.
30590 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30591 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30592 * stdio-common/psiginfo.c (psiginfo): Likewise.
30593 * stdio-common/psignal.c (psignal): Likewise.
30594 * string/strsignal.c (strsignal): Likewise.
30595 * include/signal.h (_sys_siglist): Declare hidden proto.
30596 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30597 INTVARDEF with libc_hidden_data_def.
30598 * stdio-common/itoa-udigits.c: Likewise.
30599 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30600 (_itoa_lower_digits_internal): Remove declaration.
30601 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30602 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30603 (_sys_sigabbrev_internal): Remove aliases.
30604 (_sys_siglist): Define hidden alias.
30606 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30611 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30614 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30615 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30617 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30618 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30619 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30620 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30621 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30622 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30624 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30625 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30626 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30628 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30636 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30637 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30638 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30640 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30641 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30642 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30643 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30644 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30645 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30647 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30648 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30650 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30651 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30653 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30654 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30655 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30657 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30658 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30660 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30662 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30663 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30664 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30666 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30668 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30670 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30672 * math/math.h (M_El): Use two more decimal places.
30673 (M_LOG2El): Likewise.
30674 (M_LOG10El): Likewise.
30675 (M_LN2l): Likewise.
30676 (M_LN10l): Likewise.
30678 (M_PI_2l): Likewise.
30679 (M_PI_4l): Likewise.
30680 (M_1_PIl): Likewise.
30681 (M_2_PIl): Likewise.
30682 (M_2_SQRTPIl): Likewise.
30683 (M_SQRT2l): Likewise.
30684 (M_SQRT1_2l): Likewise.
30686 2012-05-31 David S. Miller <davem@davemloft.net>
30688 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30689 values between float registers.
30690 * sysdeps/sparc/sparc64/memset.S: Likewise.
30691 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30693 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30695 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30696 -D_FORTIFY_SOURCE=1.
30697 (CPPFLAGS-tst-longjmp_chk.c): Define.
30698 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30699 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30700 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30701 CFLAGS-tst-wchar-h.c.
30703 2012-05-31 Marek Polacek <polacek@redhat.com>
30706 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30707 __endmntent_internal): Remove declaration.
30708 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30709 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30710 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30712 2012-05-30 David S. Miller <davem@davemloft.net>
30714 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30715 (___Q_simulate_exceptions): Use real FP ops rather than writing
30717 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30720 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30723 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30724 * sysdeps/x86/bits/xtitypes.h: This.
30726 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30727 * sysdeps/x86/bits/wordsize.h: This.
30729 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30730 * sysdeps/x86/bits/huge_vall.h: This.
30732 * sysdeps/i386/bits/select.h: Removed.
30733 * sysdeps/x86_64/bits/select.h: Renamed to ...
30734 * sysdeps/x86/bits/select.h: This.
30736 * sysdeps/i386/bits/setjmp.h: Removed.
30737 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30738 * sysdeps/x86/bits/setjmp.h: This.
30740 * sysdeps/i386/bits/mathdef.h: Removed.
30741 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30742 * sysdeps/x86/bits/mathdef.h: This.
30744 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30747 * include/sys/socket.h (__connect_internal)
30748 (__libc_sa_len_internal): Remove declaration.
30749 (__connect, __libc_sa_len): Declare hidden_proto.
30750 (SA_LEN): Remove use of INTUSE.
30751 * socket/connect.c: Add libc_hidden_def.
30752 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30753 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30754 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30756 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30757 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30758 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30759 of adding _internal alias.
30761 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30764 * sysdeps/i386/bits/link.h: Removed.
30765 * sysdeps/i386/bits/linkmap.h: Likewise.
30766 * sysdeps/x86_64/bits/link.h: Renamed to ...
30767 * sysdeps/x86/bits/link.h: This.
30768 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30769 * sysdeps/x86/bits/linkmap.h: This.
30771 * sysdeps/i386/bits/endian.h: Removed.
30772 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30773 * sysdeps/x86/bits/endian.h: This.
30775 * sysdeps/i386/bits/byteswap.h: Removed.
30776 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30777 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30778 * sysdeps/x86/bits/byteswap.h: This.
30779 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30780 * sysdeps/x86/bits/byteswap-16.h: This.
30781 * sysdeps/i386/Implies: Add x86.
30782 * sysdeps/x86_64/Implies: Likewise.
30784 2012-05-30 David S. Miller <davem@davemloft.net>
30786 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30787 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30788 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30789 (FP_TRAPPING_EXCEPTIONS): Define.
30790 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30791 (FP_TRAPPING_EXCEPTIONS): Define.
30792 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30793 subnormals only when inexact has been signalled or underflow
30794 exceptions are enabled.
30795 (_FP_PACK_CANONICAL): Likewise.
30797 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30800 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30801 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30803 2012-05-30 Richard Henderson <rth@twiddle.net>
30805 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30806 with #ifndef NOT_IN_libc.
30808 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30809 marked to avoid plt entry.
30811 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30814 * Makeconfig (default-abi): New macro.
30815 (abi-includes): Likewise.
30816 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30817 $(abi-$(default-abi)-lib-soname) for soname if defined.
30818 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30820 * Makefile (installed-stubs): Likewise.
30821 * include/stubs-biarch.h: Removed.
30822 * scripts/lib-names.awk: Only handle one library at a time.
30823 * scripts/soversions.awk: Remove WORDSIZE support.
30824 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30826 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30828 (syscall-list-default-condition): Likewise.
30829 (syscall-list-default-condition): Likewise.
30830 (syscall-list-includes): Likewise.
30831 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30832 syscall-list-* with abi-*. Handle undefined abi-variants.
30833 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30834 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30835 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30836 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30837 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30838 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30840 (syscall-list-32-options): Likewise.
30841 (syscall-list-32-condition): Likewise.
30842 (syscall-list-64-options): Likewise.
30843 (syscall-list-64-condition): Likewise.
30844 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30846 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30849 (abi-64-ld-soname): New macro.
30850 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30851 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30854 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30855 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30857 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30859 * sysdeps/unix/sysv/linux/kernel-features.h
30860 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30861 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30862 include <kernel-features.h>.
30863 [!__NR_ftruncate64]: Remove conditional code.
30864 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30865 [__NR_ftruncate64]: Make code unconditional.
30866 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30867 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30868 include <kernel-features.h>.
30869 [!__NR_ftruncate64]: Remove conditional code.
30870 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30871 [__NR_ftruncate64]: Make code unconditional.
30872 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30874 include <kernel-features.h>.
30875 [!__NR_ftruncate64]: Remove conditional code.
30876 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30877 [__NR_ftruncate64]: Make code unconditional.
30878 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30880 include <kernel-features.h>.
30881 [!__NR_ftruncate64]: Remove conditional code.
30882 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30883 [__NR_ftruncate64]: Make code unconditional.
30884 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30886 * configure.in (libc_cv_fpie): Weaken to a compile test using
30887 LIBC_TRY_CC_OPTION.
30888 * configure: Regenerated.
30890 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30905 2012-05-27 David S. Miller <davem@davemloft.net>
30907 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30909 (__Q_simulate_exceptions): Return void. Change to simulate
30910 exceptions by writing into the %fsr.
30911 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30912 (__Qp_handle_exceptions): Likewise.
30914 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30915 __Qp_handle_exceptions.
30916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30917 __Qp_handle_exceptions.
30918 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30919 as unused and give dummy FP_RND_NEAREST initializer.
30920 (FP_INHIBIT_RESULTS): Define.
30921 (___Q_simulate_exceptions): Update declaration.
30922 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30924 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30925 as unused and give dummy FP_RND_NEAREST initializer.
30926 (__Qp_handle_exceptions): Update declaration.
30927 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30930 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30932 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30933 the temporary FPU control word.
30934 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30935 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30936 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30937 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30938 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30939 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30940 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30941 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30942 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30943 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30944 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30946 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30948 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30951 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30953 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30954 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30955 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30956 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30958 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30959 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30962 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30964 * po/h.po: Update from translation team.
30966 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30968 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30970 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30971 handling of denormals.
30972 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30973 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30974 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30975 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30976 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30977 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30978 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30981 2012-05-26 Marek Polacek <polacek@redhat.com>
30984 * math/libm-test.inc (fma_test): Don't always expect underflow
30987 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30990 * elf/tst-execstack.c: Include stackinfo.h.
30991 (do_test): Adjust test case to ensure that pthread_getattr_np
30992 behaviour remains the same after marking stack executable.
30994 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30996 * sysdeps/unix/sysv/linux/kernel-features.h
30997 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30998 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31000 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31001 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31002 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31004 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31005 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31007 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31009 * configure.in: Define the default includes to being none.
31010 * configure: Regenerated.
31012 2012-05-25 Roland McGrath <roland@hack.frob.com>
31014 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31015 * sysdeps/x86_64/setjmp.S: Likewise.
31016 * sysdeps/i386/bsd-setjmp.S: Likewise.
31017 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31018 * sysdeps/i386/setjmp.S: Likewise.
31019 * sysdeps/i386/__longjmp.S: Likewise.
31020 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31021 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31023 * include/stap-probe.h: New file.
31024 * configure.in: Handle --enable-systemtap.
31025 * configure: Regenerated.
31026 * config.h.in (USE_STAP_PROBE): New #undef.
31027 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31028 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31029 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31031 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31034 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31035 to 2.4.0 where earlier.
31036 * sysdeps/unix/sysv/linux/configure: Regenerated.
31037 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31038 <kernel-features.h>.
31039 [__ASSUME_32BITUIDS]: Make code unconditional.
31040 [!__ASSUME_32BITUIDS]: Remove conditional code.
31041 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
31046 [__ASSUME_32BITUIDS]: Make code unconditional.
31047 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31048 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31049 <kernel-features.h>.
31050 [__ASSUME_32BITUIDS]: Make code unconditional.
31051 [!__ASSUME_32BITUIDS]: Remove conditional code.
31052 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
31089 <kernel-features.h>.
31090 [__NR_setresgid] (__setresgid): Do not declare.
31091 [__ASSUME_32BITUIDS]: Make code unconditional.
31092 [!__ASSUME_32BITUIDS]: Remove conditional code.
31093 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31094 <kernel-features.h>.
31095 [__NR_setresuid] (__setresuid): Do not declare.
31096 [__ASSUME_32BITUIDS]: Make code unconditional.
31097 [!__ASSUME_32BITUIDS]: Remove conditional code.
31098 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31099 <kernel-features.h>.
31100 [__ASSUME_32BITUIDS]: Make code unconditional.
31101 [!__ASSUME_32BITUIDS]: Remove conditional code.
31102 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
31139 (__ASSUME_SETRESUID_SYSCALL): Remove.
31140 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31141 (__ASSUME_32BITUIDS): Likewise.
31142 (__ASSUME_LDT_WORKS): Likewise.
31143 (__ASSUME_O_DIRECTORY): Likewise.
31144 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31145 architecture but not kernel version.
31146 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31147 (__ASSUME_MMAP2_SYSCALL): Likewise.
31148 (__ASSUME_STAT64_SYSCALL): Likewise.
31149 (__ASSUME_IPC64): Likewise.
31150 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31151 <kernel-features.h>.
31152 [__ASSUME_32BITUIDS]: Make code unconditional.
31153 [!__ASSUME_32BITUIDS]: Remove conditional code.
31154 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31155 <kernel-features.h>.
31156 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31157 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31158 132096]: Remove conditional code.
31159 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31160 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31161 <kernel-features.h>.
31162 [__ASSUME_32BITUIDS]: Make code unconditional.
31163 [!__ASSUME_32BITUIDS]: Remove conditional code.
31164 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
31169 <kernel-features.h>.
31170 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31172 (__setresgid): Do not declare.
31173 [__ASSUME_32BITUIDS]: Make code unconditional.
31174 [!__ASSUME_32BITUIDS]: Remove conditional code.
31175 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31176 <kernel-features.h>.
31177 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31179 (__setresuid): Do not declare.
31180 [__ASSUME_32BITUIDS]: Make code unconditional.
31181 [!__ASSUME_32BITUIDS]: Remove conditional code.
31182 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31183 <kernel-features.h>.
31184 [__ASSUME_32BITUIDS]: Make code unconditional.
31185 [!__ASSUME_32BITUIDS]: Remove conditional code.
31186 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31187 <kernel-features.h>.
31188 [__ASSUME_32BITUIDS]: Make code unconditional.
31189 [!__ASSUME_32BITUIDS]: Remove conditional code.
31191 2012-05-25 Richard Henderson <rth@twiddle.net>
31193 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31194 dl_hwcap to ifunc resolver.
31195 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31197 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31198 dl_hwcap to ifunc resolver.
31199 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31201 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31204 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31205 for |x| <= 2**-26, not 2**-57.
31206 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31209 2012-05-24 Jeff Law <law@redhat.com>
31211 * stdio-common/Makefile (tests): Add bug25.
31212 * stdio-common/bug25.c: New test.
31214 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31217 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31218 multiple of MALLOC_ALIGNMENT in size.
31219 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31221 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31223 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31225 (FILENAME_MAX): Use macro-int-constant.
31226 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31227 (_IOFBF): Use macro-int-constant.
31228 (_IOLBF): Likewise.
31229 (_IONBF): Likewise.
31230 (SEEK_CUR): Likewise.
31231 (SEEK_END): Likewise.
31232 (SEEK_SET): Likewise.
31233 (TMP_MAX): Likewise.
31234 (EOF): Use macro-int-constant. Require < 0.
31235 (NULL): Use macro-constant. Require == 0.
31236 (stdin): Require type to be FILE *.
31237 (stdout): Likewise.
31238 (stderr): Likewise.
31239 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31240 macro-int-constant.
31241 (EXIT_SUCCESS): Likewise.
31242 (NULL): Use macro-constant. Require == 0.
31243 (RAND_MAX): Use macro-int-constant.
31244 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31245 [C99-based standards] (strtof): Require function.
31246 [C99-based standards] (strtold): Likewise.
31247 [C99-based standards] (strtoll): Likewise.
31248 [C99-based standards] (strtoull): Likewise.
31249 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31250 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31251 [ISO || ISO99 || ISO11] (math.h): Likewise.
31252 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31253 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31254 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31256 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31259 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31260 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31261 * intl/dgettext.c (DCGETTEXT): Likewise.
31262 * intl/gettext.c (DCGETTEXT): Likewise.
31263 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31264 * posix/regex_internal.h (gettext): Likewise.
31265 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31266 Remove declaration.
31267 * include/argz.h (__argz_count_internal)
31268 (__argz_stringify_internal): Remove declaration.
31269 (__argz_count, __argz_stringify): Declare hidden proto.
31270 * intl/dcgettext.c: Remove use of INTDEF.
31271 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31272 * string/argz-stringify.c: Likewise.
31273 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31274 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31275 Declare hidden proto.
31276 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31277 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31278 Declare hidden proto.
31279 * include/stdio.h (__asprintf_internal): Don't declare.
31280 (__asprintf): Don't define as macro. Declare hidden proto.
31281 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31282 (__fsetlocking): Declare hidden proto.
31283 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31284 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31286 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31287 (_IO_setlinebuf): Remove use of INTUSE.
31288 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31289 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31290 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31291 Remove declaration.
31292 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31293 (_IO_do_flush): Remove use of INTUSE.
31294 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31295 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31296 (_IO_adjust_column, _IO_least_wmarker)
31297 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31298 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31299 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31300 (_IO_default_doallocate, _IO_wdefault_doallocate)
31301 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31302 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31303 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31304 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31305 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31306 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31307 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31308 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31309 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31310 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31311 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31312 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31313 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31315 (_IO_flush_all_internal, _IO_adjust_column_internal)
31316 (_IO_default_uflow_internal, _IO_default_finish_internal)
31317 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31318 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31319 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31320 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31321 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31322 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31323 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31324 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31325 (_IO_file_close_internal, _IO_file_close_it_internal)
31326 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31327 (_IO_file_init_internal, _IO_file_attach_internal)
31328 (_IO_file_fopen_internal, _IO_file_read_internal)
31329 (_IO_file_sync_internal, _IO_file_seek_internal)
31330 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31331 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31332 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31333 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31334 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31335 (_IO_list_all_internal, _IO_link_in_internal)
31336 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31337 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31338 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31339 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31340 (_IO_do_write_internal, _IO_padn_internal)
31341 (_IO_getline_info_internal, _IO_getline_internal)
31342 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31343 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31344 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31345 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31346 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31347 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31348 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31349 with libc_hidden_ver, remove use of INTUSE.
31350 * libio/genops.c: Likewise.
31351 * libio/freopen.c: Likewise.
31352 * libio/freopen64.c: Likewise.
31353 * libio/iofclose.c: Likewise.
31354 * libio/iofdopen.c: Likewise.
31355 * libio/iofflush.c: Likewise.
31356 * libio/iofflush_u.c: Likewise.
31357 * libio/iofgets.c: Likewise.
31358 * libio/iofgets_u.c: Likewise.
31359 * libio/iofopen.c: Likewise.
31360 * libio/iofopncook.c: Likewise.
31361 * libio/iofread.c: Likewise.
31362 * libio/iofread_u.c: Likewise.
31363 * libio/ioftell.c: Likewise.
31364 * libio/iofwrite.c: Likewise.
31365 * libio/iogetline.c: Likewise.
31366 * libio/iogets.c: Likewise.
31367 * libio/iogetwline.c: Likewise.
31368 * libio/iopadn.c: Likewise.
31369 * libio/iopopen.c: Likewise.
31370 * libio/ioseekoff.c: Likewise.
31371 * libio/ioseekpos.c: Likewise.
31372 * libio/iosetbuffer.c: Likewise.
31373 * libio/iosetvbuf.c: Likewise.
31374 * libio/ioungetc.c: Likewise.
31375 * libio/ioungetwc.c: Likewise.
31376 * libio/iovdprintf.c: Likewise.
31377 * libio/iovsprintf.c: Likewise.
31378 * libio/iovsscanf.c: Likewise.
31379 * libio/memstream.c: Likewise.
31380 * libio/obprintf.c: Likewise.
31381 * libio/oldfileops.c: Likewise.
31382 * libio/oldiofclose.c: Likewise.
31383 * libio/oldiofdopen.c: Likewise.
31384 * libio/oldiofopen.c: Likewise.
31385 * libio/oldiopopen.c: Likewise.
31386 * libio/oldstdfiles.c: Likewise.
31387 * libio/putc.c: Likewise.
31388 * libio/setbuf.c: Likewise.
31389 * libio/setlinebuf.c: Likewise.
31390 * libio/stdfiles.c: Likewise.
31391 * libio/strops.c: Likewise.
31392 * libio/vasprintf.c: Likewise.
31393 * libio/vscanf.c: Likewise.
31394 * libio/vsnprintf.c: Likewise.
31395 * libio/vswprintf.c: Likewise.
31396 * libio/wfiledoalloc.c: Likewise.
31397 * libio/wfileops.c: Likewise.
31398 * libio/wgenops.c: Likewise.
31399 * libio/wmemstream.c: Likewise.
31400 * libio/wstrops.c: Likewise.
31401 * libio/__fpurge.c: Likewise.
31402 * libio/__fsetlocking.c: Likewise.
31403 * assert/assert.c: Likewise.
31404 * debug/fgets_chk.c: Likewise.
31405 * debug/fgets_u_chk.c: Likewise.
31406 * debug/fread_chk.c: Likewise.
31407 * debug/fread_u_chk.c: Likewise.
31408 * debug/gets_chk.c: Likewise.
31409 * debug/obprintf_chk.c: Likewise.
31410 * debug/vasprintf_chk.c: Likewise.
31411 * debug/vdprintf_chk.c: Likewise.
31412 * debug/vsnprintf_chk.c: Likewise.
31413 * debug/vsprintf_chk.c: Likewise.
31414 * malloc/mtrace.c: Likewise.
31415 * misc/error.c: Likewise.
31416 * misc/syslog.c: Likewise.
31417 * stdio-common/asprintf.c: Likewise.
31418 * stdio-common/fxprintf.c: Likewise.
31419 * stdio-common/getw.c: Likewise.
31420 * stdio-common/isoc99_fscanf.c: Likewise.
31421 * stdio-common/isoc99_scanf.c: Likewise.
31422 * stdio-common/isoc99_vfscanf.c: Likewise.
31423 * stdio-common/isoc99_vscanf.c: Likewise.
31424 * stdio-common/isoc99_vsscanf.c: Likewise.
31425 * stdio-common/printf-prs.c: Likewise.
31426 * stdio-common/printf_fp.c: Likewise.
31427 * stdio-common/printf_fphex.c: Likewise.
31428 * stdio-common/printf_size.c: Likewise.
31429 * stdio-common/putw.c: Likewise.
31430 * stdio-common/scanf.c: Likewise.
31431 * stdio-common/sprintf.c: Likewise.
31432 * stdio-common/tmpfile.c: Likewise.
31433 * stdio-common/vfprintf.c: Likewise.
31434 * stdio-common/vfscanf.c: Likewise.
31435 * stdlib/strfmon_l.c: Likewise.
31436 * sunrpc/openchild.c: Likewise.
31437 * sunrpc/xdr_stdio.c: Likewise.
31438 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31439 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31441 2012-05-24 Roland McGrath <roland@hack.frob.com>
31443 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31445 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31446 in the third column, to generate for the shared library an IFUNC
31447 that uses _dl_vdso_vsym.
31448 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31449 * Makeconfig (object-suffixes-noshared): New variable.
31451 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31452 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31453 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31454 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31457 * include/sys/time.h (__gettimeofday): Remove macro.
31458 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31459 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31461 (__gettimeofday): Add libc_hidden_def.
31462 (gettimeofday): Add libc_hidden_weak.
31463 * sysdeps/mach/gettimeofday.c: Likewise.
31464 * sysdeps/posix/gettimeofday.c: Likewise.
31465 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31466 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31467 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31468 (__gettimeofday_internal): Remove strong_alias.
31469 (__gettimeofday): Add libc_hidden_def.
31470 (gettimeofday): Add libc_hidden_weak.
31471 * sysdeps/unix/syscalls.list (gettimeofday):
31472 Remove __gettimeofday_internal alias.
31474 2012-05-24 Daniel Jacobowitz <drow@false.org>
31475 H.J. Lu <hongjiu.lu@intel.com>
31478 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31479 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31480 (largebin_index_32_big): New.
31481 (largebin_index): Use it for 16-byte alignment.
31482 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31483 correction with front_misalign.
31485 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31513 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31514 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31516 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31520 * math/libm-test.inc (exp_test): Add test from bug 14036.
31521 (pow_test): Add test from bug 10846.
31523 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31525 (special_function): Do not include flags in test name.
31526 (parse_args): Likewise.
31527 * sysdeps/i386/fpu/libm-test-ulps: Update.
31528 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31529 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31530 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31533 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31535 * math/libm-test.inc ("Philosophy"): Update comment about
31537 (UNDERFLOW_EXCEPTION): New macro.
31538 (UNDERFLOW_EXCEPTION_OK): Likewise.
31539 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31540 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31541 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31542 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31543 (INVALID_EXCEPTION_OK): Update value.
31544 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31545 (OVERFLOW_EXCEPTION_OK): Likewise.
31546 (IGNORE_ZERO_INF_SIGN): Likewise.
31547 (test_exceptions): Handle underflow exceptions.
31548 (acos_test): Update for underflow exception expectations.
31549 (cexp_test): Likewise.
31550 (clog_test): Likewise.
31551 (clog10_test): Likewise.
31552 (csqrt_test): Likewise.
31553 (ctan_test): Likewise.
31554 (ctanh_test): Likewise.
31555 (exp_test): Likewise.
31556 (exp10_test): Likewise.
31557 (exp2_test): Likewise.
31558 (expm1_test): Likewise.
31559 (fma_test): Likewise.
31560 (j0_test): Likewise.
31561 (jn_test): Likewise.
31562 (nexttoward_test): Likewise.
31563 (pow_test): Likewise.
31564 (scalbn_test): Likewise.
31565 (scalbln_test): Likewise.
31566 (tan_test): Likewise.
31567 (y1_test): Likewise.
31568 * sysdeps/i386/fpu/libm-test-ulps: Update.
31569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31571 2012-05-23 David S. Miller <davem@davemloft.net>
31573 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31574 (__libc_sigaction): Remove unused local variables.
31576 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31578 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31580 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31582 mktime: avoid signed integer overflow
31583 * time/mktime.c (__mktime_internal): Do not mishandle the case
31584 where diff == INT_MIN.
31586 mktime: simplify computation of average
31587 * time/mktime.c (ranged_convert): Use new time_t_avg function
31588 instead of rolling our own (probably-slower) code.
31590 mktime: do not assume signed right shift propagates sign bit
31591 * time/mktime.c (isdst_differ): New static function.
31592 (__mktime_internal): No need to normalize tm_isdst now.
31593 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31596 mktime: merge another wrapv change from gnulib
31597 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31598 from some compilers.
31600 mktime: remove incorrect attempt at unusual arithmetics
31601 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31602 The code didn't really work on such machines anyway.
31603 (TYPE_MINIMUM): Assume two's complement.
31604 (twos_complement_arithmetic): Verify that long_int and time_t
31605 are two's complement (or unsigned, in the latter case).
31607 mktime: check signed shifts on long_int and time_t, too
31608 * time/mktime.c (SHR): Check that shifts work as desired
31609 on the types long_int and time_t too, as SHR is used on
31612 mktime: do not assume 'long' is wide enough
31613 * time/mktime.c (verify): Move decl up.
31614 (long_int): New type.
31615 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31616 to remove assumption in the code that 'long' is wide enough to
31617 store year values. This assumption is not true on x32 and on
31618 some non-glibc platforms.
31620 mktime: merge wrapv change from gnulib
31621 * time/mktime.c (WRAPV): New macro.
31622 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31623 (guess_time_tm, __mktime_internal): Do not assume that signed
31624 integer overflow wraps around; modern compilers generate code
31625 where this assumption is no longer valid.
31627 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31629 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31630 Replace "jmp L(pseudo_end)" with "ret".
31631 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31634 2012-05-23 Andreas Jaeger <aj@suse.de>
31636 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31637 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31639 2012-05-23 Andreas Jaeger <aj@suse.de>
31640 Maximilian Attems <max@stro.at>
31642 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31645 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31647 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31648 code so that pseudo_end is just ret and the stack pointer is
31649 correct also for static library in error case.
31651 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31653 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31654 move to syscalls.list.
31655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31660 * manual/install.texi (Running make install): Do not mention Linux
31661 kernel version for which pt_chown is not needed.
31662 (Linux): Do not mention problems with nscd with 2.0 kernels.
31663 * INSTALL: Regenerated.
31665 2012-05-23 Andreas Jaeger <aj@suse.de>
31667 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31668 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31670 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31671 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31672 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31673 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31674 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31675 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31676 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31677 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31678 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31679 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31680 * sysdeps/unix/sysv/linux/bits/in.h
31681 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31683 2012-05-22 Roland McGrath <roland@hack.frob.com>
31685 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31686 (PREPARE_VERSION): Just use assert instead, it will be elided
31687 under [NDEBUG] anyway.
31689 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31691 * sysdeps/unix/sysv/linux/Makefile: Include
31692 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31693 (sysdep_routines): Remove sysctl.
31694 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31695 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31696 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31697 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31698 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31700 2012-05-22 Andreas Jaeger <aj@suse.de>
31702 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31703 that pseudo_end is just ret and the stack pointer is correct also
31704 for static library in error case.
31706 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31709 * nss/nsswitch.c (defconfig_entries): New variable.
31710 (__nss_database_lookup): Don't leak defconfig entries.
31711 (nss_parse_service_list): Don't leak on error paths.
31712 (free_database_entries): New function.
31713 (free_defconfig): New function.
31714 (free_mem): Move common code to free_database_entries.
31716 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31718 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31720 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31722 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31723 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31726 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31727 (INTERNAL_SYSCALL_TYPES): Likewise.
31728 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31729 (LOAD_REGS_TYPES_[1-6]): Likewise.
31730 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31731 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31733 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31735 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31736 copysignl for GLIBC_2_0.
31737 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31738 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31739 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31740 logbl for GLIBC_2_0.
31741 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31742 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31744 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31746 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31747 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31749 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31752 * time/mktime.c: Update copyright years.
31754 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31756 mktime: merge comment-quoting-style change from gnulib
31757 * time/mktime.c: Quote 'like this' in comments.
31758 The GNU coding standards suggest that we no longer quote `like this',
31759 as "`" and "'" are typically rendered asymmetrically nowadays.
31760 The typical gnulib style is to quote 'like this' when quoting
31761 code, and "like this" when quoting English.
31763 * time/mktime.c (compile-command): Add "-I.".
31765 mktime: merge mktime-internal.h change from gnulib
31766 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31768 mktime: merge time_r change from gnulib
31769 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31771 mktime: merge DEBUG change from gnulib
31772 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31773 case system <time.h> has a #define.
31775 mktime: merge <sys/types.h> change from gnulib
31776 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31777 since <time.t> is now guaranteed to define time_t.
31779 mktime: merge HAVE_CONFIG_H change from gnulib
31780 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31782 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31784 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31787 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31789 (struct rusage): Use anonymous union to pad each field to
31792 2012-05-21 David S. Miller <davem@davemloft.net>
31794 * Makefules (o-iterator): Remove .s cases.
31795 (compile-command.s): Delete.
31796 (COMPILE.s): Delete.
31797 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31799 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31801 * configure.in (libc_cv_predef_stack_protector): Only consider
31802 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31803 * configure: Regenerated.
31805 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31808 New macro. Use R*LP on int and pointer.
31809 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31810 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31811 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31812 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31814 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31815 [__WORDSIZE_TIME64_COMPAT32] instead of
31816 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31817 (struct utmp): Likewise.
31818 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31819 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31821 (__WORDSIZE_TIME64_COMPAT32): This.
31822 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31823 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31824 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31825 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31826 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31827 (__WORDSIZE_TIME64_COMPAT32): New macro.
31829 2012-05-21 Andreas Jaeger <aj@suse.de>
31831 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31832 only if [SHARED]. Add prototype for __wcschr_ia32.
31834 2012-05-21 Roland McGrath <roland@hack.frob.com>
31836 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31837 of %rbp unmolested in the jmp_buf while mangling the low bits.
31838 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31839 unmolested high bits of %rbp while demangling the low bits.
31840 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31842 2012-05-21 Andreas Jaeger <aj@suse.de>
31844 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31845 * sunrpc/svc_simple.c: Use it for registerrpc.
31846 * sunrpc/xcrypt.c: Use it for passwd2des.
31848 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31850 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31852 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31853 Don't define if [__SYSCALL_WORDSIZE != 32].
31854 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31857 2012-05-21 Bruno Haible <bruno@clisp.org>
31858 Andreas Jaeger <aj@suse.de>
31860 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31861 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31862 inptr and inend for must_buffer_ch.
31863 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31864 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31865 * stdio-common/Makefile (tests): Remove bug15.
31866 (bug15-ENV): Remove macro.
31867 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31870 2012-05-19 Andreas Jaeger <aj@suse.de>
31871 Roland McGrath <roland@hack.frob.com>
31873 * manual/contrib.texi: Completely rewritten. It contains now an
31874 alphabetical list of contributors and their contributions.
31876 2012-05-21 Richard Henderson <rth@twiddle.net>
31878 * misc/getauxval.c (__getauxval): Use unsigned long int.
31879 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31880 (getauxval): Use unsigned long int.
31882 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31884 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31886 2012-05-21 Roland McGrath <roland@hack.frob.com>
31888 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31889 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31890 __alignof__ (long double).
31892 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31896 2012-05-20 Richard Henderson <rth@twiddle.net>
31898 * misc/getauxval.c: New file.
31899 * misc/sys/auxv.h: New file.
31900 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31901 (routines): Add getauxval.
31902 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31903 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31904 * elf/dl-sysdep.c (_dl_auxv): Remove.
31905 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31906 * elf/dl-support.c (_dl_auxv): New variable.
31907 (_dl_aux_init): Initialize it.
31908 * manual/startup.texi (Auxiliary Vector): New node.
31909 * sysdeps/generic/bits/hwcap.h: New file.
31910 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31911 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31912 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31913 * sysdeps/sparc/sysdep.h: ... here. Include it.
31914 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31915 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31921 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31927 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31931 2012-05-19 David S. Miller <davem@davemloft.net>
31933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31935 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31938 * math/s_ccosh.c: Include <float.h>
31939 (__ccosh): Avoid internal overflow calculating sinh and cosh
31940 values before multiplying by sin and cos values.
31941 * math/s_ccoshf.c: Likewise.
31942 * math/s_ccoshl.c: Likewise.
31943 * math/s_csin.c: Likewise.
31944 * math/s_csinf.c: Likewise.
31945 * math/s_csinl.c: Likewise.
31946 * math/s_csinh.c: Likewise.
31947 * math/s_csinhf.c: Likewise.
31948 * math/s_csinhl.c: Likewise.
31949 * math/libm-test.inc (ccos_test): Add more tests.
31950 (ccosh_test): Likewise.
31951 (csin_test): Likewise.
31952 (csinh_test): Likewise.
31953 * sysdeps/i386/fpu/libm-test-ulps: Update.
31954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31956 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31958 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31959 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31961 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31963 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31965 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31966 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31967 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31968 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31969 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31970 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31971 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31972 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31973 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31974 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31975 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31976 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31977 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31978 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31979 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31980 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31981 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31982 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31983 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31984 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31985 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31986 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31987 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31988 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31989 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31990 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31991 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31992 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31993 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31994 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31995 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31997 2012-05-18 Andreas Jaeger <aj@suse.de>
31999 * csu/.gitignore: Delete.
32001 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32003 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32004 (timex): Use __syscall_slong_t.
32006 2012-05-18 Andreas Jaeger <aj@suse.de>
32007 Carlos O'Donell <carlos_odonell@mentor.com>
32009 * manual/install.texi (Configuring and compiling): Update
32010 description about files modified in the source directory.
32011 * INSTALL: Regenerated.
32013 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32015 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32016 value. Use "or" to set return value to -1.
32017 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32018 negate return value.
32020 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32022 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32023 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32024 failure if the compiler has Graphite support disabled.
32025 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32027 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32028 (CFLAGS-memmove.c): Likewise.
32029 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32032 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32034 * sysdeps/x86_64/x32/_itoa.h: New file.
32036 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32037 getdents system call only if kernel and user dirents have the
32038 same d_ino and d_off.
32040 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32041 LLONG_MAX != LONG_MAX.
32042 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32043 (_fitoa_word): Likewise.
32045 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32047 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32048 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32049 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32051 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32052 include <bits/wordsize.h>. Check __x86_64__ instead of
32054 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32055 if __x86_64__ is defined. Use anonymous union on fpstate.
32057 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32060 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32062 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32063 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32064 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32065 Refer to _rtld_local_ro instead of _rtld_global_ro.
32066 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32068 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32070 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32072 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32073 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32074 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32076 * sysdeps/powerpc/powerpc32/dl-machine.c
32077 (__elf_machine_runtime_setup) [PROF]: Don't reference
32080 2012-05-18 Andreas Jaeger <aj@suse.de>
32082 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32083 function only available for GCCs before 3.4 since GCC 3.4
32084 introduced a builtin.
32086 (llrintf): Likewise.
32087 (llrint): Likewise.
32094 (nearbyint): Likewise.
32095 (nearbyintf): Likewise.
32099 (floorf): Likewise.
32101 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32103 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32104 on both fields and cast pointer to __syscall_ulong_t.
32106 * bits/types.h (__fsword_t): New type.
32107 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32108 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32109 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32110 (__FSWORD_T_TYPE): Likewise.
32111 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32112 (__FSWORD_T_TYPE): Likewise.
32113 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32114 (__FSWORD_T_TYPE): Likewise.
32115 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32116 (__FSWORD_T_TYPE): Likewise.
32117 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32118 __SWORD_TYPE with __fsword_t.
32119 (statfs64): Likewise.
32121 2012-05-17 David S. Miller <davem@davemloft.net>
32123 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32125 2012-05-17 Andreas Jaeger <aj@suse.de>
32127 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32130 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32132 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32134 2012-05-17 Andreas Jaeger <aj@suse.de>
32136 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32139 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32141 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32143 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32145 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32146 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32148 2012-05-17 Andreas Jaeger <aj@suse.de>
32149 Carlos O'Donell <carlos_odonell@mentor.com>
32152 * sysdeps/x86_64/multiarch/init-arch.h
32153 (bit_YMM_Usable): Rename to...
32154 (bit_AVX_Usable): ... this.
32155 (bit_FMA4_Usable): New macro.
32156 (bit_XMM_state): New macro.
32157 (bit_YMM_state): New macro.
32158 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32159 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32160 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32161 (CPUID_OSXSAVE): New macro.
32162 (CPUID_AVX): New macro.
32163 (CPUID_FMA4): New macro.
32164 (index_YMM_Usable): Rename to...
32165 (index_AVX_Usable): ... this.
32166 (HAS_AVX): Use HAS_ARCH_FEATURE.
32167 (HAS_FMA4): Likewise.
32168 (HAS_YMM_USABLE): Remove.
32169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32170 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32172 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32173 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32174 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32175 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32176 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32178 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32180 * math/libm-test.c: Support platforms without multiple rounding modes.
32181 * math/bug-nextafter.c: Support platforms without FP exceptions.
32182 * math/bug-nexttoward.c: Likewise.
32183 * math/test-fenv.c: Likewise.
32184 * math/test-misc.c: Likewise.
32185 * stdlib/bug-getcontext.c: Likewise.
32187 2012-05-17 Andreas Jaeger <aj@suse.de>
32189 * manual/examples/search.c (critter_cmp): Change signature to
32191 * manual/string.texi (Collation Functions): Likewise.
32193 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32195 * bits/types.h: Fold copyright years.
32196 * bits/typesizes.h: Likewise.
32197 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32198 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32199 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32201 * time/time.h: Likewise.
32203 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32206 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32207 in instead of returning them. Return void.
32208 (__libc_mallinfo): Accumulate over all arenas.
32209 (__malloc_stats): Adjust for change in int_mallinfo interface.
32211 2012-05-16 Roland McGrath <roland@hack.frob.com>
32214 * configure.in (NM): Add AC_CHECK_TOOL for it.
32215 (libc_extra_cflags): New substituted variable.
32216 Check for -fstack-protector being used implicitly.
32217 * configure: Regenerated.
32218 * config.make.in (config-extra-cflags): New variable,
32219 gets @libc_extra_cflags@.
32220 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32223 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32224 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32225 * configure: Regenerated.
32226 * config.make.in (CPPUNDEFS): New substituted variable.
32227 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32228 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32229 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32231 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32233 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32234 (mq_attr): Use __syscall_slong_t.
32236 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32238 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32239 Check __x86_64__ instead of __WORDSIZE.
32240 (_STAT_VER_LINUX): Likewise.
32241 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32242 __syscall_ulong_t and __syscall_slong_t.
32243 (stat64): Likewise.
32245 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32247 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32249 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32251 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32253 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32255 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32258 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32259 include <bits/wordsize.h>. Check __x86_64__ instead of
32261 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32263 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32265 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32266 include <bits/wordsize.h>. Check __x86_64__ instead of
32268 (user_regs_struct): Use "__extension__ unsigned long long"
32269 instead of "unsigned long" if __x86_64__ is defined.
32270 (user): Likewise. Pad after pointer field if __ILP32__ is
32273 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32275 * configure.in (makeinfo): Require version 4.5 or later. Allow
32277 * configure: Regenerated.
32278 * manual/install.texi (texinfo): Increase version requirement to
32280 * INSTALL: Regenerated.
32282 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32284 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32286 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32288 * sysdeps/x86_64/x32/ffs.c: New file.
32290 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32292 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32293 defined. Use __syscall_ulong_t.
32294 (shminfo): Use __syscall_ulong_t.
32295 (shm_info): Likewise.
32297 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32300 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32302 (msgqnum_t): Use __syscall_ulong_t.
32303 (msglen_t): Likewise.
32304 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32307 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32308 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32310 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32312 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32313 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32315 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32318 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32319 include <bits/wordsize.h>. Check __x86_64__ instead of
32322 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32323 "unsigned long long int" if __x86_64__ is defined.
32324 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32326 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32327 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32328 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32330 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32332 (GET_PC): Cast to uintptr_t first.
32333 (GET_FRAME): Likewise.
32334 (GET_STACK): Likewise.
32336 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32337 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32338 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32339 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32340 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32341 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32342 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32343 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32344 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32345 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32346 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32347 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32348 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32349 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32350 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32351 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32352 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32353 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32354 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32355 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32356 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32357 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32358 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32359 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32360 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32361 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32362 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32363 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32364 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32366 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32368 * Makerules (+depfiles): Also collect depfiles from .oS in
32370 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32371 .oS, $(libnldbl-routines)).
32373 * Makerules (native-compile-mkdep-flags): Define.
32374 * sunrpc/Makefile (extra-objs): Add $(addprefix
32375 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32376 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32377 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32378 calling $(make-target-directory).
32380 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32382 * bits/types.h (__snseconds_t): Removed.
32383 * time/time.h (struct timespec): Replace __snseconds_t with
32385 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32386 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32389 (__SNSECONDS_T_TYPE): Likewise.
32390 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32391 (__SNSECONDS_T_TYPE): Likewise.
32392 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32393 (__SNSECONDS_T_TYPE): Likewise.
32395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32397 * sysdeps/mach/hurd/bits/typesizes.h
32398 (__SYSCALL_SLONG_TYPE): New macro.
32399 (__SYSCALL_ULONG_TYPE): Likewise.
32401 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32403 * bits/types.h (__syscall_slong_t): New type.
32404 (__syscall_ulong_t): Likewise.
32406 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32407 (__SYSCALL_ULONG_TYPE): Likewise.
32408 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32409 (__SYSCALL_SLONG_TYPE): Likewise.
32410 (__SYSCALL_ULONG_TYPE): Likewise.
32411 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32412 (__SYSCALL_SLONG_TYPE): Likewise.
32413 (__SYSCALL_ULONG_TYPE): Likewise.
32414 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32415 (__SYSCALL_SLONG_TYPE): Likewise.
32416 (__SYSCALL_ULONG_TYPE): Likewise.
32418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32420 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32421 Add sigaltstack-offsets.sym.
32422 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32423 <sigaltstack-offsets.h>.
32424 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32425 longjmp_msg pointer.
32426 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32427 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32429 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32431 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32433 * elf/stackguard-macros.h: Remove file.
32434 * sysdeps/generic/stackguard-macros.h: New file.
32435 * sysdeps/i386/stackguard-macros.h: Likewise.
32436 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32437 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32438 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32439 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32440 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32441 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32442 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32443 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32444 <elf/stackguard-macros.h>.
32447 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32448 __aligned__ in attribute.
32449 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32450 (gregset_t): Likewise.
32452 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32454 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32455 * sysdeps/x86_64/64/Implies-after: Here. New file.
32456 * sysdeps/x86_64/x32/Implies-after: New file.
32458 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32460 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32461 and access return value for _dl_profile_fixup. Use R10_LP to
32464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32466 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32468 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32470 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32471 * sysdeps/x86_64/x32/sysdep.h: New file.
32473 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32475 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32476 * sysdeps/x86_64/setjmp.S: Likewise.
32478 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32480 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32481 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32482 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32483 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32484 remove unused global constant.
32486 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32488 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32489 include of <not-cancel.h>.
32491 2012-05-15 Roland McGrath <roland@hack.frob.com>
32493 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32495 2012-05-15 Jeff Law <law@redhat.com>
32496 Andreas Jaeger <aj@suse.de>
32499 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32501 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32502 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32503 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32504 code changing __hst_map_handle.map.
32506 2012-05-15 Roland McGrath <roland@hack.frob.com>
32508 * configure.in (sysnames): Look for Implies-before and Implies-after
32510 * configure: Regenerated.
32512 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32514 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32515 8-byte data alignment with LP_SIZE alignment.
32517 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32519 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32522 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32524 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32526 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32528 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32529 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32530 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32532 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32536 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32537 (stackinfo_sub_sp): Likewise.
32539 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32541 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32546 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32551 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32554 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32556 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32560 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32561 into R11_LP and load __x86_64_shared_cache_size_half into
32564 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32566 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32569 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32571 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32573 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32575 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32577 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32578 powerpc32/power7/fpu/s_logb.c via #include.
32579 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32580 powerpc32/power7/fpu/s_logbf.c via #include.
32581 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32582 powerpc32/power7/fpu/s_logbl.c via #include.
32584 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32586 * README.libm: Remove file.
32588 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32590 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32591 count for x32. Use R*_LP and omit operand-size suffix.
32593 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32595 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32596 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32597 * sysdeps/x86_64/x32/shlib-versions: New file.
32599 2012-05-14 Roland McGrath <roland@hack.frob.com>
32601 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32602 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32603 Use _dl_fatal_printf instead.
32605 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32607 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32608 set if not set by the user. Do not allow for being unset.
32609 * sysdeps/unix/sysv/linux/configure: Regenerated.
32611 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32613 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32614 the `q' suffix from lea and replace .quad with ASM_ADDR.
32616 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32619 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32621 (PTR_DEMANGLE): Likewise.
32623 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32625 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32627 (ASM_ADDR): Likewise.
32628 (RAX_LP): Likewise.
32629 (RBP_LP): Likewise.
32630 (RBX_LP): Likewise.
32631 (RCX_LP): Likewise.
32632 (RDI_LP): Likewise.
32633 (RSI_LP): Likewise.
32634 (RSP_LP): Likewise.
32637 (R10_LP): Likewise.
32638 (R10_LP): Likewise.
32639 (R11_LP): Likewise.
32640 (R12_LP): Likewise.
32641 (R13_LP): Likewise.
32642 (R14_LP): Likewise.
32643 (R15_LP): Likewise.
32645 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32647 * sysdeps/x86_64/x32/dl-machine.h: New file.
32649 2012-05-14 Andreas Jaeger <aj@suse.de>
32651 * manual/Makefile (subdir): Remove export of subdir.
32652 (all): Remove target.
32653 (.PHONY): Remove all from list.
32654 (mkinstalldirs): Remove.
32655 (.PHONY): Remove installdirs from list.
32656 ($(inst_infodir)/libc.info): Use make-target-directory.
32657 (installdirs): Remove.
32658 (subdir_%): Remove.
32659 (glibc-targets): Remove.
32662 ($(objpfx)stubs ../po/manual.pot): Remove.
32663 ($(objpfx)stamp%): Remove.
32664 (make-target-directory): Remove.
32665 (subdir_install): Remove.
32666 (routines): Remove.
32673 * manual/.gitignore: Remove, it's not needed anymore.
32674 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32676 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32678 (texis): Renamed to $(objpfx)texis.
32679 (texis-path): New, contains path to generated files.
32680 (chapters.%): Use texis-path for complete path, add extra argument
32682 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32683 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32684 (summary,texi, stamp-summary): Use complete path of
32685 files. Generate files in build dir.
32686 (dir-add.texi): Build in build dir.
32687 (libm-err.texi,stamp-libm-err): Likewise.
32688 (version.texi, stamp-version): Likewise.
32689 (.%c.texi): Likewise.
32690 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32691 (mostlyclean): Remove target.
32692 (realclean): Remove target.
32693 (generated): Add new variable with contents from mostlyclean and
32694 realclean, remove entries duplicated in common-mostlyclean, add
32695 stamp-libm-err and stamp-version.
32696 (generated-dirs): Add libc directory.
32697 ($(inst_infodir)/libc.info): Install files from build dir.
32699 * manual/install.texi (Configuring and compiling): Adjust since
32700 the info files are not part of the tar ball anymore.
32702 2012-05-14 Andreas Jaeger <aj@suse.de>
32704 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32707 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32710 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32711 to 2.2.0 where earlier.
32712 * sysdeps/unix/sysv/linux/configure: Regenerated.
32713 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32714 Remove conditional code.
32715 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32716 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32717 Remove conditional code.
32718 [!__NR_lchown]: Likewise.
32719 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32720 [__NR_lchown]: Likewise.
32721 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32722 comment referencing __ASSUME_LCHOWN_SYSCALL.
32723 * sysdeps/unix/sysv/linux/i386/sigaction.c
32724 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32725 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32726 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32727 Remove conditional code.
32728 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32729 (__protocol_available): Remove #if 0 code.
32730 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32732 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32733 * sysdeps/unix/sysv/linux/kernel-features.h
32734 (__ASSUME_GETCWD_SYSCALL): Don't define.
32735 (__ASSUME_REALTIME_SIGNALS): Likewise.
32736 (__ASSUME_PREAD_SYSCALL): Likewise.
32737 (__ASSUME_PWRITE_SYSCALL): Likewise.
32738 (__ASSUME_POLL_SYSCALL): Likewise.
32739 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32740 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32742 (__ASSUME_SIOCGIFNAME): Don't define.
32743 (__ASSUME_MSG_NOSIGNAL): Likewise.
32744 (__ASSUME_SENDFILE): Define unconditionally.
32745 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32746 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32748 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32749 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32750 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32751 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32752 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32753 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32754 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32756 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32757 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32759 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32760 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32762 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32763 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32765 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32766 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32768 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32769 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32771 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32772 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32774 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32775 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32777 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32779 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32780 Remove conditional code.
32781 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32782 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32783 Remove conditional code.
32784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32785 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32786 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32787 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32788 Remove conditional code.
32789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32790 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32791 Remove conditional code.
32792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32793 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32794 Remove conditional code.
32795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32796 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32797 Remove conditional code.
32798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32799 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32800 Remove conditional code.
32801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32802 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32803 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32804 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32805 * sysdeps/unix/sysv/linux/sigaction.c
32806 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32807 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32808 * sysdeps/unix/sysv/linux/sigpending.c
32809 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32810 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32811 * sysdeps/unix/sysv/linux/sigprocmask.c
32812 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32813 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32814 * sysdeps/unix/sysv/linux/sigsuspend.c
32815 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32816 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32817 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32818 (__libc_missing_rt_sigs): Remove.
32819 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32820 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32821 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32822 Remove conditional code.
32823 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32824 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32826 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32827 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32828 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32829 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32831 2012-05-14 Andreas Jaeger <aj@suse.de>
32833 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32834 it's not used in glibc.
32835 (__coshm1): Likewise.
32836 (__acosh1p): Likewise.
32839 * manual/string.texi (Copying and Concatenation): Add missing
32840 variable in concat example.
32841 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32843 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32846 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32847 __builtin_clzl with __builtin_clzll.
32849 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32852 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32855 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32857 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32858 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32859 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32860 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32862 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32864 * NEWS: Update ia64 info.
32866 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32868 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32871 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32873 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32874 * sysdeps/unix/syscalls.list (dup3): Likewise.
32875 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32876 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32878 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32880 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32881 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32883 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32885 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32887 (TLS_IE): Use mov/add instead of movq/addq to load thread
32889 (TLS_GD_PREFIX): New.
32892 2012-05-11 David S. Miller <davem@davemloft.net>
32894 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32895 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32896 (_FPU_SETCW): Likewise.
32898 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32900 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32901 is 32-byte aligned.
32903 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32906 * iconvdata/gb18030.c: Update tables.
32907 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32908 characters specially.
32909 (BODY for TO_LOOP): Add encoding of missing ranges.
32911 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32914 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32915 * sysdeps/mach/hurd/dup3.c: Likewise.
32916 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32917 * sysdeps/powerpc/memmove.c:: Likewise.
32919 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32921 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32922 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32924 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32926 * elf/elf.h (R_X86_64_RELATIVE64): New.
32927 (R_X86_64_NUM): Updated.
32928 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32929 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32930 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32931 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32932 tst-quad1pie tst-quad2pie
32933 (modules-names): Add tst-quadmod1 tst-quadmod2.
32934 ($(objpfx)tst-quad1): New dependency.
32935 ($(objpfx)tst-quad2): Likewise.
32936 ($(objpfx)tst-quad1pie): Likewise.
32937 ($(objpfx)tst-quad2pie): Likewise.
32938 * sysdeps/x86_64/tst-quad1.c: New file.
32939 * sysdeps/x86_64/tst-quad1pie.c: New file.
32940 * sysdeps/x86_64/tst-quad2.c: Likewise.
32941 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32942 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32943 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32944 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32945 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32947 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32949 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32950 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32951 * streams/stropts.h (t_scalar_t): Define type.
32953 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32954 (_PATH_PRESERVE): Set to "/var/lib".
32955 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32957 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32960 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32961 if __dir_mkfile succeeded.
32963 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32964 checking for _hurd_dtablesize. Unlock it right after having
32965 finished _hurd_dtable allocation.
32967 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32969 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32970 * sysdeps/mach/hurd/configure: Regenerated.
32971 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32972 special-casing to...
32973 * sysdeps/gnu/configure.in: ... this new file.
32974 * sysdeps/unix/sysv/linux/configure: Regenerated.
32975 * sysdeps/gnu/configure: New generated file.
32977 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32978 for Linux: use nsec instead of usec, as well as:
32979 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32980 members of type struct timespec.
32981 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32983 (struct stat64): Likewise.
32984 (_STATBUF_ST_NSEC): New macro.
32985 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32987 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32988 __strtoul_internal rather than strtoul.
32990 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32992 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32995 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32997 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32998 which preserves existing values.
32999 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33001 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33003 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33004 TIMEOUT values. Return EINVAL for NFDS values either negative or
33005 greater than FD_SETSIZE.
33007 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33009 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33010 allocated, call __vm_protect to finish enabling the existing space, and
33011 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33012 allocate the remainder.
33014 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33016 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33017 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33019 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33021 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33022 sysdeps/mach/hurd/readlink.c.
33024 * posix/tst-sysconf.c (posix_options): Only use
33025 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33026 _POSIX_SYNCHRONIZED_IO when they are defined
33027 * sysdeps/mach/hurd/bits/posix_opt.h:
33028 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33029 (_XOPEN_REALTIME): Undefine macro.
33030 (_XOPEN_REALTIME_THREADS): Undefine macro.
33031 (_XOPEN_SHM): Undefine macro.
33032 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33034 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33036 (_POSIX_ASYNC_IO): Undefine macro.
33037 (_POSIX_PRIORITIZED_IO): Undefine macro.
33038 (_POSIX_SPIN_LOCKS): Define macro to -1.
33040 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33041 SA_NODEFER, SA_RESETHAND.
33042 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33043 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33046 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33048 * elf/Makefile (pldd-modules): Define unconditionally.
33050 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33052 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33054 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33056 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33057 Return ENOENT when name is empty.
33058 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33060 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33062 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33064 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33066 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33068 Fix mlock in all cases except non-readable pages.
33069 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33070 instead of VM_PROT_ALL as parameter to __vm_wire function.
33072 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33073 (__mkdir): When path is `/', just fail with EEXIST.
33074 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33076 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33078 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33079 <sys/uio.h> (for writev).
33080 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33081 and <sys/param.h> (for MIN).
33083 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33085 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33086 REQUESTED_TIME. Properly set the remaining time and return EINTR
33089 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33091 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33092 Depend on against $(link-rpcuserlibs).
33094 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33096 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33097 (__libc_stack_end): Do not use attribute_relro.
33098 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33099 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33100 to libthread-provided value.
33101 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33104 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33107 * bits/libc-lock.h (__libc_once_get): New macro.
33108 * sysdeps/mach/bits/libc-lock.h: Likewise.
33109 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33110 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33111 instead of using implementation details.
33113 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33114 * libio/freopen.c: Likewise.
33115 * libio/freopen64.c: Likewise.
33116 * misc/syslog.c: Likewise.
33117 * nscd/connections.c: Likewise.
33118 * nscd/netgroupcache.c: Likewise.
33119 * sysdeps/posix/getcwd.c: Likewise.
33121 2012-05-10 Roland McGrath <roland@hack.frob.com>
33123 * math/w_ilogbf.c: Add #include <limits.h>.
33125 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33127 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33128 path instead of returning without unlocking.
33130 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33131 immediate-write ioctls.
33132 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33134 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33136 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33137 __builtin_frame_address instead of making assumptions about the
33138 location of the return address relative to DATA. Force early load of
33139 the return address.
33140 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33141 __builtin_frame_address.
33144 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33145 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33146 implement dup3 and do some further code clean-ups.
33147 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33148 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33150 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33152 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33154 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33155 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33156 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33157 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33158 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33161 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33162 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33163 when handler == SIG_ERR, not when handler != SIG_ERR.
33165 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33167 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33168 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33171 accept4 for GNU Hurd.
33172 * include/sys/socket.h (__libc_accept4): New prototype.
33173 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33174 to implement __libc_accept4.
33175 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33177 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33179 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33180 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33181 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33182 signal-defines.sym.
33184 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33186 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33188 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33190 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33191 assertion on O_CLOEXEC flag.
33192 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33193 * hurd/intern-fd.c: Likewise.
33194 * hurd/port2fd.c: Likewise.
33196 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33199 * bits/in.h (IPV6_PKTINFO): Define new macro.
33200 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33202 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33207 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33208 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33209 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33210 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33211 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33212 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33213 * math/libm-test.inc (logb_test) : Additional logb tests.
33215 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33216 Andreas Jaeger <aj@suse.de>
33218 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33219 * configure: Regenerated.
33220 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33221 * config.make.in (link-obsolete-rpc): New substituted variable.
33222 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33223 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33224 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33225 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33226 so that libc.a contains the symbols.
33227 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33228 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33229 * sunrpc/auth_none.c: Likewise.
33230 * sunrpc/auth_unix.c: Likewise.
33231 * sunrpc/authdes_prot.c: Likewise.
33232 * sunrpc/authuxprot.c: Likewise.
33233 * sunrpc/clnt_gen.c: Likewise.
33234 * sunrpc/clnt_perr.c: Likewise.
33235 * sunrpc/clnt_raw.c: Likewise.
33236 * sunrpc/clnt_simp.c: Likewise.
33237 * sunrpc/clnt_tcp.c: Likewise.
33238 * sunrpc/clnt_udp.c: Likewise.
33239 * sunrpc/clnt_unix.c: Likewise.
33240 * sunrpc/des_crypt.c: Likewise.
33241 * sunrpc/des_soft.c: Likewise.
33242 * sunrpc/get_myaddr.c: Likewise.
33243 * sunrpc/key_call.c: Likewise.
33244 * sunrpc/key_prot.c: Likewise.
33245 * sunrpc/netname.c: Likewise.
33246 * sunrpc/pm_getmaps.c: Likewise.
33247 * sunrpc/pm_getport.c: Likewise.
33248 * sunrpc/pmap_clnt.c: Likewise.
33249 * sunrpc/pmap_prot.c: Likewise.
33250 * sunrpc/pmap_prot2.c: Likewise.
33251 * sunrpc/pmap_rmt.c: Likewise.
33252 * sunrpc/publickey.c: Likewise.
33253 * sunrpc/rpc_cmsg.c: Likewise.
33254 * sunrpc/rpc_common.c: Likewise.
33255 * sunrpc/rpc_dtable.c: Likewise.
33256 * sunrpc/rpc_prot.c: Likewise.
33257 * sunrpc/rpc_thread.c: Likewise.
33258 * sunrpc/rtime.c: Likewise.
33259 * sunrpc/svc.c: Likewise.
33260 * sunrpc/svc_auth.c: Likewise.
33261 * sunrpc/svc_raw.c: Likewise.
33262 * sunrpc/svc_run.c: Likewise.
33263 * sunrpc/svc_tcp.c: Likewise.
33264 * sunrpc/svc_udp.c: Likewise.
33265 * sunrpc/svc_unix.c: Likewise.
33266 * sunrpc/svcauth_des.c: Likewise.
33267 * sunrpc/xcrypt.c: Likewise.
33268 * sunrpc/xdr.c: Likewise.
33269 * sunrpc/xdr_array.c: Likewise.
33270 * sunrpc/xdr_float.c: Likewise.
33271 * sunrpc/xdr_intXX_t.c: Likewise.
33272 * sunrpc/xdr_mem.c: Likewise.
33273 * sunrpc/xdr_rec.c: Likewise.
33274 * sunrpc/xdr_ref.c: Likewise.
33275 * sunrpc/xdr_sizeof.c: Likewise.
33276 * sunrpc/xdr_stdio.c: Likewise.
33278 2012-05-10 Roland McGrath <roland@hack.frob.com>
33280 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33281 change. Update copyright years.
33283 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33285 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33287 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33288 Joseph Myers <joseph@codesourcery.com>
33289 Paul Pluzhnikov <ppluzhnikov@google.com>
33292 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33294 [cross-compiling] (extra-libs): Likewise.
33295 [cross-compiling] (extra-libs-others): Likewise.
33296 [cross-compiling] (librpcsvc-routines): Likewise.
33297 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33298 [cross-compiling] (omit-deps): Likewise.
33299 (sunrpc-CPPFLAGS): New variable.
33300 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33301 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33302 (cross-rpcgen-objs): New variable.
33303 (extra-objs): Append $(cross-rpcgen-objs).
33304 ($(cross-rpcgen-objs)): New rule.
33305 ($(objpfx)cross-rpcgen): Likewise.
33306 (rpcgen-cmd): Define to use $(built-program-file). Expand
33308 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33309 ($(objpfx)x%.stmp): Likewise.
33310 * sunrpc/proto.h [IS_IN_build] (_): Define.
33311 [IS_IN_build] (_libc_intl_domainname): Likewise.
33313 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33315 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33316 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33317 and R_X86_64_TPOFF64.
33319 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33321 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33322 sysdeps/unix/sysv/syscalls.list.
33325 * sysdeps/unix/sysv/syscalls.list: Remove file.
33327 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33330 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33331 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33332 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33333 (__LC_IDENTIFICATION): Make these macros useful in #if
33334 expressions, as required by C99.
33336 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33338 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33339 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33342 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33344 * stdlib/longlong.h: Updated from GCC.
33346 2012-05-09 Andreas Jaeger <aj@suse.de>
33348 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33349 default is first entry.
33350 (run_mode): Set type.
33351 (main): Remove informal message about syslog.
33352 (options): Fix typo.
33355 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33358 (llrintf): Likewise.
33359 (llrint): Likewise.
33362 (nearbyint): Likewise.
33363 (nearbyintf): Likewise.
33365 2012-05-09 Andreas Jaeger <aj@suse.de>
33366 Pedro Alves <palves@redhat.com>
33368 * nscd/nscd.c (run_mode): Use enum.
33369 (main): Cleanup coding style issue.
33371 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33372 Andreas Jaeger <aj@suse.de>
33374 * nscd/nscd.c (go_background): Replaced with...
33375 (run_mode): ... this.
33376 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33377 (options): Add -F --foreground.
33378 (main): Implement it.
33379 (parse_opt): Parse it.
33381 2012-05-09 Andreas Jaeger <aj@suse.de>
33384 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33385 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33386 -Wconversion warning.
33387 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33390 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33392 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33394 (LC_ALL): Use macro-int-constant.
33395 (LC_COLLATE): Likewise.
33396 (LC_CTYPE): Likewise.
33397 (LC_MESSAGES): Likewise.
33398 (LC_MONETARY): Likewise.
33399 (LC_NUMERIC): Likewise.
33400 (LC_TIME): Likewise.
33401 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33402 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33403 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33404 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33406 [C99-based standards] (float_t): Expect type.
33407 [C99-based standards] (double_t): Expect type.
33408 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33410 [C99-based standards] (HUGE_VALL): Likewise.
33411 [C99-based standards] (INFINITY): Likewise.
33412 [C99-based standards] (NAN): Likewise.
33413 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33414 [C99-based standards] (FP_NAN): Likewise.
33415 [C99-based standards] (FP_NORMAL): Likewise.
33416 [C99-based standards] (FP_SUBNORMAL): Likewise.
33417 [C99-based standards] (FP_ZERO): Likewise.
33418 [C99-based standards] (FP_FAST_FMA): Use
33419 optional-macro-int-constant. Specify type. Require == 1.
33420 [C99-based standards] (FP_FAST_FMAF): Likewise.
33421 [C99-based standards] (FP_FAST_FMAL): Likewise.
33422 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33423 [C99-based standards] (FP_ILOGBNAN): Likewise.
33424 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33426 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33427 [C99-based standards] (math_errhandling): Specify type.
33428 [ISO99 || ISO11] (signgam): Do not allow.
33429 [non-C99-based standards] (copysignf): Do not allow.
33430 [non-C99-based standards] (exp2f): Likewise.
33431 [non-C99-based standards] (log2f): Likewise.
33432 [non-C99-based standards] (modff): Allow.
33433 [non-C99-based standards] (erff): Do not allow.
33434 [non-C99-based standards] (erfcf): Likewise.
33435 [non-C99-based standards] (gammaf): Likewise.
33436 [non-C99-based standards] (hypotf): Likewise.
33437 [non-C99-based standards] (j0f): Likewise.
33438 [non-C99-based standards] (j1f): Likewise.
33439 [non-C99-based standards] (jnf): Likewise.
33440 [non-C99-based standards] (lgammaf): Likewise.
33441 [non-C99-based standards] (tgammaf): Likewise.
33442 [non-C99-based standards] (y0f): Likewise.
33443 [non-C99-based standards] (y1f): Likewise.
33444 [non-C99-based standards] (ynf): Likewise.
33445 [non-C99-based standards] (isnanf): Likewise.
33446 [non-C99-based standards] (acoshf): Likewise.
33447 [non-C99-based standards] (asinhf): Likewise.
33448 [non-C99-based standards] (atanhf): Likewise.
33449 [non-C99-based standards] (cbrtf): Likewise.
33450 [non-C99-based standards] (expm1f): Likewise.
33451 [non-C99-based standards] (ilogbf): Likewise.
33452 [non-C99-based standards] (log1pf): Likewise.
33453 [non-C99-based standards] (logbf): Likewise.
33454 [non-C99-based standards] (nextafterf): Likewise.
33455 [non-C99-based standards] (remainderf): Likewise.
33456 [non-C99-based standards] (rintf): Likewise.
33457 [non-C99-based standards] (scalbf): Likewise.
33458 [non-C99-based standards] (copysignl): Likewise.
33459 [non-C99-based standards] (exp2l): Likewise.
33460 [non-C99-based standards] (log2l): Likewise.
33461 [non-C99-based standards] (modfl): Allow.
33462 [non-C99-based standards] (erfl): Do not allow.
33463 [non-C99-based standards] (erfcl): Likewise.
33464 [non-C99-based standards] (gammal): Likewise.
33465 [non-C99-based standards] (hypotl): Likewise.
33466 [non-C99-based standards] (j0l): Likewise.
33467 [non-C99-based standards] (j1l): Likewise.
33468 [non-C99-based standards] (jnl): Likewise.
33469 [non-C99-based standards] (lgammal): Likewise.
33470 [non-C99-based standards] (tgammal): Likewise.
33471 [non-C99-based standards] (y0l): Likewise.
33472 [non-C99-based standards] (y1l): Likewise.
33473 [non-C99-based standards] (ynl): Likewise.
33474 [non-C99-based standards] (isnanl): Likewise.
33475 [non-C99-based standards] (acoshl): Likewise.
33476 [non-C99-based standards] (asinhl): Likewise.
33477 [non-C99-based standards] (atanhl): Likewise.
33478 [non-C99-based standards] (cbrtl): Likewise.
33479 [non-C99-based standards] (expm1l): Likewise.
33480 [non-C99-based standards] (ilogbl): Likewise.
33481 [non-C99-based standards] (log1pl): Likewise.
33482 [non-C99-based standards] (logbl): Likewise.
33483 [non-C99-based standards] (nextafterl): Likewise.
33484 [non-C99-based standards] (remainderl): Likewise.
33485 [non-C99-based standards] (rintl): Likewise.
33486 [non-C99-based standards] (scalbl): Likewise.
33487 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33488 [non-C99-based standards] (FP_*): Do not allow.
33489 [C99-based standards] (FP_*): Change to
33490 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33491 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33493 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33494 (SIG_ERR): Likewise.
33495 [X/Open-based standards] (SIG_HOLD): Likewise.
33496 (SIG_IGN): Likewise.
33497 (SIGABRT): Use macro-int-constant. Specify type. Require
33499 (SIGFPE): Likewise.
33500 (SIGILL): Likewise.
33501 (SIGINT): Likewise.
33502 (SIGSEGV): Likewise.
33503 (SIGTER): Likewise.
33504 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33505 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33506 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33507 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33508 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33509 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33510 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33511 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33512 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33513 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33514 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33515 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33516 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33517 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33518 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33519 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33520 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33521 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33522 [X/Open-based standards] (SIGTRAP): Likewise.
33523 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33524 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33525 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33526 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33527 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33530 2012-05-08 Ian Wienand <ianw@vmware.com>
33533 * time/tzset.c (__tzset_parse_tz): Update default rules for
33534 daylight time changes in the Energy Policy Act of 2005.
33536 2012-05-09 Andreas Jaeger <aj@suse.de>
33539 * elf/ldconfig.c (parse_conf): Change string to make clear that
33540 ldconfig only issued a warning if ld.so.conf does not exist.
33542 2012-05-08 David S. Miller <davem@davemloft.net>
33544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33545 movxtod instead of popping the value on the stack.
33547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33549 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33551 * config.h.in: Add HAVE_ARM_PCS_VFP.
33553 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33556 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33557 checking but the checks are disabled for any reason.
33559 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33561 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33562 and ELF64_R_TYPE with ELFW(R_TYPE).
33564 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33566 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33567 (ulimit): Likewise.
33569 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33570 (settimeofday): Likewise.
33572 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33574 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33575 a struct th_u2 inside the union, and move tu_block/tu_code into
33576 a new th_u3 union of tu_block/tu_code inside of that. Move
33577 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33578 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33579 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33580 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33581 (th_stuff): Change to th_u1.tu_stuff.
33583 (th_msg): Change to th_u1.th_u2.tu_data.
33585 2012-05-07 David S. Miller <davem@davemloft.net>
33587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33590 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33591 (SETUP_PIC_REG): Use it.
33592 (SETUP_PIC_REG_LEAF): Use it.
33594 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33598 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33600 (EXPL_FINITE): Likewise.
33601 (FLDLOG): Likewise.
33602 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33603 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33605 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33607 (EXPL_FINITE): Likewise.
33608 (FLDLOG): Likewise.
33609 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33610 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33612 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33613 test of -max_value argument for long double.
33614 * sysdeps/i386/fpu/libm-test-ulps: Update.
33615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33617 2012-05-06 David S. Miller <davem@davemloft.net>
33619 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33620 quad soft-float symbols whose references which are compiler
33622 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33624 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33628 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33630 (EXPL_FINITE): Likewise.
33631 (FLDLOG): Likewise.
33634 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33635 Adjust comments for base varying.
33636 (__expl_finite): Change alias to EXPL_FINITE.
33637 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33639 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33640 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33641 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33642 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33643 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33645 (EXPL_FINITE): Likewise.
33646 (FLDLOG): Likewise.
33649 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33650 Adjust comments for base varying.
33651 (__expl_finite): Change alias to EXPL_FINITE.
33652 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33657 * math/libm-test.inc (check_float_internal): Correct ulp
33658 calculation for subnormal expected results.
33660 2012-05-06 Andreas Jaeger <aj@suse.de>
33662 * Makeconfig (+math-flags): New, set to -frounding-math.
33663 (+cflags): Add +math-flags so that all of glibc gets compiled with
33666 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33668 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33670 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33676 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33677 (__ieee754_expl): Allow for and saturate large arguments.
33678 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33679 (u_threshold): Likewise.
33680 (__exp): Call __ieee754_exp before checking for overflow and
33682 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33683 (u_threshold): Likewise.
33684 (__expf): Call __ieee754_expf before checking for overflow and
33686 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33687 (u_threshold): Likewise.
33688 (__expl): Call __ieee754_expl before checking for overflow and
33690 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33691 (__ieee754_expl): Allow for and saturate large arguments.
33692 * math/libm-test.inc (exp_test): Add another test. Do not allow
33693 missing overflow exception on overflow.
33694 (expm1_test): Do not allow missing overflow exception on overflow.
33696 * sysdeps/i386/fpu/e_expl.c: Move to ...
33697 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33698 rather than using inline asm.
33699 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33700 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33701 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33703 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33706 (signal): Likewise.
33710 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33712 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33713 sysdeps/unix/common/syscalls.list.
33714 (fchmod): Likewise.
33715 (fchown): Likewise.
33716 (ftruncate): Likewise.
33717 (getrusage): Likewise.
33718 (gettimeofday): Likewise.
33719 (setpgid): Likewise.
33720 (setregid): Likewise.
33721 (setreuid): Likewise.
33722 (sigaction): Likewise.
33723 (truncate): Likewise.
33724 (vhangup): Likewise.
33725 * sysdeps/unix/common/syscalls.list: Remove file.
33726 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33727 * sysdeps/unix/sysv/linux/Implies: Likewise.
33729 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33731 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33733 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33737 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33740 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33743 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33746 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33749 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33752 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33755 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33759 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33763 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33766 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33770 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33774 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33776 * sysdeps/unix/common/bits/dirent.h: Remove file.
33777 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33779 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33780 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33781 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33782 * sysdeps/unix/bsd/isatty.c: Likewise.
33783 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33784 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33785 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33787 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33790 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33791 long double comparison inaccuracies.
33792 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33795 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33797 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33798 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33800 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33803 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33804 nonzero digits before rounding a hex value.
33805 * stdlib/tst-strtod.c (tests): Add another test.
33807 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33809 * sysdeps/s390/fpu/libm-test-ulps: Update.
33811 2012-05-03 Andreas Jaeger <aj@suse.de>
33813 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33814 does not get optimized out.
33815 (malloc_opt_barrier): New.
33817 2012-05-03 Andreas Jaeger <aj@suse.de>
33818 Roland McGrath <roland@hack.frob.com>
33820 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33821 intermediate file deletion.
33822 (generated): Add .symlist files.
33824 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33827 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33828 Redirect under this condition.
33829 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33830 [__USE_GNU] (__dprintf_chk): Not under this condition.
33831 [__USE_GNU] (__vdprintf_chk): Likewise.
33832 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33833 under this condition.
33834 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33835 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33836 [__USE_XOPEN2K8] (vdprintf): Likewise.
33837 [__USE_GNU] (__dprintf_chk): Not under this condition.
33838 [__USE_GNU] (__vdprintf_chk): Likewise.
33839 [__USE_GNU] (dprintf): Likewise.
33840 [__USE_GNU] (vdprintf): Likewise.
33842 2012-05-03 Roland McGrath <roland@hack.frob.com>
33844 * elf/Makefile (common-generated): Set this instead of generated for
33845 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33846 $(all-built-dso)-derived lists.
33848 2012-05-03 Andreas Jaeger <aj@suse.de>
33850 * sysdeps/i386/fpu/libm-test-ulps: Update.
33853 * FAQ.in: Likewise.
33854 * scripts/gen-FAQ.pl: Likewise.
33855 * manual/install.texi (Installation): Point to online location of
33857 * Makefile (files-for-dist): Remove FAQ.
33860 2012-05-02 Allan McRae <allan@archlinux.org>
33862 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33863 (LDFLAGS-reldepmod5.so): Likewise.
33864 (LDFLAGS-reldep6mod1.so): Likewise.
33865 (LDFLAGS-reldep6mod4.so): Likewise.
33866 (LDFLAGS-reldep8mod3.so): Likewise.
33867 (LDFLAGS-unload4mod1.so): Likewise.
33868 (LDFLAGS-unload4mod2.so): Likewise.
33869 (LDFLAGS-tst-initorder): Likewise.
33870 (LDFLAGS-tst-initordera2.so): Likewise.
33871 (LDFLAGS-tst-initordera3.so): Likewise.
33872 (LDFLAGS-tst-initordera4.so): Likewise.
33873 (LDFLAGS-tst-initorderb2.so): Likewise.
33874 (LDFLAGS-noload): Likewise.
33875 (LDFLAGS-next): Likewise.
33876 (LDFLAGS-order2mod1.so): Likewise.
33877 (LDFLAGS-order2mod2.so): Likewise.
33878 (LDFLAGS-tst-initorder2): Likewise.
33879 (LDFLAGS-tst-initorder2a.so): Likewise.
33880 (LDFLAGS-tst-initorder2b.so): Likewise.
33881 (LDFLAGS-tst-initorder2c.so): Likewise.
33882 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33884 2012-05-02 David S. Miller <davem@davemloft.net>
33886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33888 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33891 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33893 2012-05-02 Andreas Jaeger <aj@suse.de>
33895 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33896 since we manipulate rounding mode.
33897 (CPPFLAGS-test-idouble.c): Likewise.
33898 (CPPFLAGS-test-ifloat.c): Likewise.
33899 (CFLAGS-test-ldouble.c): Likewise.
33900 (CFLAGS-test-double.c): Likewise.
33901 (CFLAGS-test-float.c): Likewise.
33902 (CFLAGS-test-misc.c): Likewise.
33903 (CFLAGS-test-test-fenv.c): Likewise.
33905 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33909 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33910 comparisons to determine direction to adjust input.
33912 2012-05-01 Roland McGrath <roland@hack.frob.com>
33914 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33915 output to the target.
33917 * scripts/localplt.awk: New file.
33918 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33919 (check-localplt-CFLAGS): Variable removed.
33920 ($(all-built-dso:=.jmprel)): New static pattern rule.
33921 (generated): Add those targets.
33922 (localplt-built-dso): New variable.
33923 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33925 * elf/check-localplt.c: File removed.
33927 * scripts/check-execstack.awk: New file.
33928 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33929 (check-execstack-CFLAGS): Variable removed.
33930 ($(objpfx)check-execstack.h): Target removed.
33931 ($(objpfx)execstack-default): New target.
33932 (generated): Add that instead of check-execstack.h.
33933 ($(all-built-dso:=.phdr)): New static pattern rule.
33934 (generated): Add those targets.
33935 * elf/check-execstack.c: File removed.
33937 * scripts/check-textrel.awk: New file.
33938 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33939 (check-textrel-CFLAGS): Variable removed.
33940 (all-built-dso): Use := to define.o
33941 ($(all-built-dso:=.dyn)): New static pattern rule.
33942 (generated): Add those targets.
33943 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33944 * config.make.in (READELF): New substituted variable.
33945 * elf/check-textrel.c: File removed.
33947 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33949 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33951 * conform/data/ctype.h-data [C99-based standards] (isblank):
33953 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33954 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33955 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33956 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33957 Specify type. Require positive value.
33958 (EILSEQ): Likewise.
33959 (ERANGE): Likewise.
33960 [ISO || POSIX] (EILSEQ): Do not expect.
33961 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33962 Specify type. Require positive value.
33963 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33964 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33965 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33966 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33967 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33968 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33969 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33970 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33971 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33972 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33973 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33974 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33975 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33976 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33977 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33978 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33979 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33980 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33984 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33985 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33986 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33991 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33993 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33994 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34000 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34001 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34006 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34007 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34008 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34009 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34010 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34011 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34012 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34013 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34014 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34015 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34016 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34017 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34018 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34019 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34020 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34021 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34022 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34023 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34024 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34025 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34026 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34027 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34028 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34029 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34030 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34031 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34032 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34033 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34034 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34035 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34036 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34037 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34038 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34039 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34041 (FLT_ROUNDS): Expect as macro, not constant.
34042 (FLT_MANT_DIG): Use macro-int-constant.
34043 (DBL_MANT_DIG): Likewise.
34044 (LDBL_MANT_DIG): Likewise.
34045 (FLT_DIG): Likewise.
34046 (DBL_DIG): Likewise.
34047 (LDBL_DIG): Likewise.
34048 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34049 (DBL_MIN_EXP): Likewise.
34050 (LDBL_MIN_EXP): Likewise.
34051 (FLT_MAX_EXP): Use macro-int-constant.
34052 (DBL_MAX_EXP): Likewise.
34053 (LDBL_MAX_EXP): Likewise.
34054 (FLT_MAX_10_EXP): Likewise.
34055 (DBL_MAX_10_EXP): Likewise.
34056 (LDBL_MAX_10_EXP): Likewise.
34057 (FLT_MAX): Use macro-constant.
34058 (DBL_MAX): Likewise.
34059 (LDBL_MAX): Likewise.
34060 (FLT_EPSILON): Use macro-constant. Give upper bound.
34061 (DBL_EPSILON): Likewise.
34062 (LDBL_EPSILON): Likewise.
34063 (FLT_MIN): Likewise.
34064 (DBL_MIN): Likewise.
34065 (LDBL_MIN): Likewise.
34066 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34067 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34068 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34069 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34070 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34071 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34072 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34073 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34074 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34075 [ISO11] (FLT_TRUE_MIN): Likewise.
34076 [ISO11] (LDBL_TRUE_MIN): Likewise.
34077 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34078 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34079 (SCHAR_MIN): Use macro-int-constant. Specify type.
34080 (SCHAR_MAX): Likewise.
34081 (UCHAR_MAX): Likewise.
34082 (CHAR_MIN): Likewise.
34083 (CHAR_MAX): Likewise.
34084 (MB_LEN_MAX): Use macro-int-constant.
34085 (SHRT_MIN): Use macro-int-constant. Specify type.
34086 (SHRT_MAX): Likewise.
34087 (USHRT_MAX): Likewise.
34088 (INT_MAX): Likewise.
34089 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34091 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34093 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34095 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34096 bound negative. Suffix upper bound with "L".
34097 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34099 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34101 [C99-based standards] (LLONG_MAX): Likewise.
34102 [C99-based standards] (ULLONG_MAX): Likewise.
34103 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34105 [ISO11] (max_align_t): Require type.
34106 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34108 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34109 from $CFLAGS, without defining away __attribute__ calls.
34110 (checknamespace): Use $CFLAGS_namespace.
34112 * conform/conformtest.pl (@keywords): Only include C99 keywords
34113 for standards based on C99 or C11.
34115 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34117 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34120 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34121 usability of symbols in #if.
34123 * conform/conformtest.pl: If macro or constant types start
34124 "promoted:", expect the symbol to be of the following type
34125 promoted by the integer promotions.
34127 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34128 in one place. Also handle "macro-constant".
34130 * conform/conformtest.pl: Only accept expected macro values with
34131 "==". Parse all "macro" lines in one place.
34132 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34134 * conform/conformtest.pl: Handle braced types on "constant" lines
34135 instead of handling "typed-constant".
34136 * conform/data/signal.h-data: Use "constant" instead of
34139 * conform/conformtest.pl: Handle "optional-" at start of lines in
34140 one place rather than duplicating several cases. Handle each
34141 format of "macro" line with initial "optional-".
34143 * conform/conformtest.pl: Only accept expected constant or
34144 optional-constant values with "==". Parse all "constant" lines in
34145 one place. Parse all "optional-constant" lines in one place.
34146 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34147 * conform/data/fmtmsg.h-data: Likewise.
34148 * conform/data/netinet/in.h-data: Likewise.
34149 * conform/data/tar.h-data: Likewise.
34150 * conform/data/limits.h-data: Use "==" form on "constant" and
34151 "optional-constant" lines.
34153 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34154 Use -std=c99 for XOPEN2K.
34155 (@knownproblems): Remove.
34156 (newtoken): Don't check %isknown.
34158 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34159 Do not expect macro.
34160 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34161 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34162 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34163 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34164 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34165 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34166 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34167 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34168 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34169 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34170 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34171 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34172 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34173 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34174 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34175 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34176 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34177 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34178 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34179 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34180 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34181 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34182 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34183 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34184 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34185 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34186 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34187 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34188 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34189 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34190 [XPG3] (acosh): Likewise.
34191 [XPG3] (asinh): Likewise.
34192 [XPG3] (atanh): Likewise.
34193 [XPG3] (cbrt): Likewise.
34194 [XPG3] (expm1): Likewise.
34195 [XPG3] (ilogb): Likewise.
34196 [XPG3] (log1p): Likewise.
34197 [XPG3] (logb): Likewise.
34198 [XPG3] (nextafter): Likewise.
34199 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34200 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34201 [XPG3] (remainder): Likewise.
34202 [XPG3] (rint): Likewise.
34203 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34204 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34205 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34206 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34207 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34208 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34209 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34210 [UNIX98 || XOPEN2K] (scalb): Expect.
34211 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34212 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34213 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34214 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34215 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34216 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34217 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34218 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34219 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34220 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34222 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34223 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34224 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34225 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34226 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34227 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34228 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34229 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34230 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34231 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34232 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34233 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34234 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34235 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34236 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34237 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34238 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34239 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34241 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34242 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34243 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34244 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34245 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34246 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34247 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34248 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34250 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34251 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34252 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34253 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34254 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34255 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34256 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34257 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34258 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34259 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34260 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34261 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34262 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34263 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34264 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34265 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34266 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34267 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34268 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34269 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34270 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34271 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34272 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34273 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34274 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34275 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34276 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34277 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34278 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34279 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34280 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34281 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34282 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34283 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34284 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34285 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34286 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34287 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34288 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34289 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34290 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34291 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34292 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34293 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34294 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34295 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34296 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34297 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34298 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34299 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34300 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34301 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34302 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34303 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34304 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34305 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34306 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34307 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34308 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34309 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34310 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34311 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34312 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34313 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34314 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34315 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34316 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34317 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34318 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34319 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34320 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34321 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34322 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34323 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34324 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34325 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34326 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34327 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34328 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34329 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34330 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34331 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34332 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34333 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34334 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34335 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34336 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34337 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34338 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34339 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34340 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34341 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34342 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34343 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34344 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34345 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34346 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34347 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34349 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34350 _XOPEN_SOURCE_EXTENDED for XPG4.
34352 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34354 * Makeconfig (localtime): Remove variable.
34355 (inst_localtime-file): Likewise.
34357 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34378 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34382 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34383 comparisons to determine direction to adjust input.
34384 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34385 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34386 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34388 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34390 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34392 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34393 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34395 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34397 * math/libm-test.inc (nexttoward_test): Add more tests.
34399 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34402 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34403 in version GLIBC_2.1, not GLIBC_2.0.
34404 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34407 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34410 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34412 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34413 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34414 * math/libm-test.inc (acos_test): Add more tests.
34415 (asin_test): Likewise.
34416 * sysdeps/i386/fpu/libm-test-ulps: Update.
34417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34420 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34422 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34423 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34424 * math/libm-test.inc (acos_test_tonearest): New function.
34425 (acos_test_towardzero): Likewise.
34426 (acos_test_downward): Likewise.
34427 (acos_test_upward): Likewise.
34428 (asin_test_tonearest): Likewise.
34429 (asin_test_towardzero): Likewise.
34430 (asin_test_downward): Likewise.
34431 (asin_test_upward): Likewise.
34432 (main): Call the new functions.
34433 * sysdeps/i386/fpu/libm-test-ulps: Update.
34434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34438 * math/e_exp10.c: Include <float.h>.
34439 (__ieee754_exp10): Handle underflow here rather than multiplying
34440 large negative argument by M_LN10.
34441 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34443 * math/e_exp10l.c: Include <float.h>.
34444 (__ieee754_exp10l): Handle underflow here rather than multiplying
34445 large negative argument by M_LN10l.
34446 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34447 spurious overflow exception on underflow.
34449 2012-04-29 Marek Polacek <polacek@redhat.com>
34451 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34452 (__fortify_function): New macro.
34453 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34454 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34455 __extern_always_inline.
34456 * libio/bits/stdio2.h: Likewise.
34457 * libio/bits/stdio.h: Likewise.
34458 * string/string.h: Likewise.
34459 * string/bits/string3.h: Likewise.
34460 * include/stdio.h: Likewise.
34461 * stdlib/bits/stdlib.h: Likewise.
34462 * stdlib/stdlib.h: Likewise.
34463 * rt/bits/mqueue2.h: Likewise.
34464 * rt/mqueue.h: Likewise.
34465 * posix/bits/unistd.h: Likewise.
34466 * posix/unistd.h: Likewise.
34467 * io/bits/poll2.h: Likewise.
34468 * io/bits/fcntl2.h: Likewise.
34469 * io/fcntl.h: Likewise.
34470 * io/sys/poll.h: Likewise.
34471 * misc/bits/syslog.h: Likewise.
34472 * misc/bits/syslog-ldbl.h: Likewise.
34473 * misc/sys/syslog.h: Likewise.
34474 * socket/bits/socket2.h: Likewise.
34475 * socket/sys/socket.h: Likewise.
34476 * debug/tst-chk1.c: Likewise.
34477 * wcsmbs/bits/wchar2.h: Likewise.
34478 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34479 * wcsmbs/wchar.h: Likewise.
34481 2012-04-29 Andreas Jaeger <aj@suse.de>
34483 * Makerules (tests): Remove enable-check-abi protection.
34484 (check-abi-warn): Remove.
34485 (check-abi-%): Remove check-abi-warn usage.
34487 * configure.in: Remove check-abi configure option.
34488 * configure: Regenerated.
34489 * config.make.in (enable-check-abi): Remove.
34491 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34494 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34495 double functions to double *_finite functions.
34498 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34499 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34501 * stdio-common/Makefile (tests): Add tst-sprintf3.
34502 * stdio-common/tst-sprintf3.c: New file.
34504 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34505 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34507 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34509 * conform/conformtest.pl: Remove duplicate typed-constant
34512 2012-04-28 David S. Miller <davem@davemloft.net>
34514 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34515 (check-abi-%): Remove AWK script prerequisite and explicit
34517 (check-abi): Rewrite to just diff the symlist with the abilist.
34518 (config-tls, config-abi-config): Delete, no longer used.
34519 (update-abi-%): Remove AWK script and explicit abilist directory.
34520 (update-abi): Rewrite to simply compare and conditionally copy the
34521 symlist and the sysdep abilist file. Remove update-abi-config
34523 * abilist/ld.abilist: Remove.
34524 * abilist/libBrokenLocale.abilist: Remove.
34525 * abilist/libanl.abilist: Remove.
34526 * abilist/libcrypt.abilist: Remove.
34527 * abilist/libdl.abilist: Remove.
34528 * abilist/librt.abilist: Remove.
34529 * abilist/libthread_db.abilist: Remove.
34530 * abilist/libutil.abilist: Remove.
34531 * scripts/extract-abilist.awk: Remove.
34532 * scripts/merge-abilist.awk: Remove.
34533 * sysdeps/generic/libcidn.abilist: New file.
34534 * sysdeps/generic/libnss_compat.abilist: New file.
34535 * sysdeps/generic/libnss_db.abilist: New file.
34536 * sysdeps/generic/libnss_dns.abilist: New file.
34537 * sysdeps/generic/libnss_files.abilist: New file.
34538 * sysdeps/generic/libnss_hesiod.abilist: New file.
34539 * sysdeps/generic/libnss_nis.abilist: New file.
34540 * sysdeps/generic/libnss_nisplus.abilist: New file.
34541 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34542 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34543 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34545 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34546 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34547 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34548 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34549 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34550 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34551 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34552 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34553 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34555 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34556 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34557 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34558 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34560 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34561 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34562 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34563 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34564 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34565 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34567 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34568 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34569 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34571 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34674 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34675 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34676 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34678 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34679 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34680 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34681 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34682 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34683 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34684 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34685 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34686 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34687 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34739 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34741 * conform/conformtest.pl: Fix typo in handling typed-constant from
34744 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34746 * README: Cut down references to pre-2.6 Linux kernels and
34747 Linuxthreads. Update lists of configurations in libc and ports
34748 and sort alphabetically. Say "or newer" with Linux kernel version
34751 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34753 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34756 * math/libm-test.inc (logb_test_downward): New test to expose
34757 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34760 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34763 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34765 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34766 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34768 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34770 * sysdeps/unix/i386/brk.S: Remove file.
34771 * sysdeps/unix/i386/dl-brk.S: Likewise.
34772 * sysdeps/unix/i386/pipe.S: Likewise.
34773 * sysdeps/unix/i386/sigreturn.S: Likewise.
34774 * sysdeps/unix/i386/syscall.S: Likewise.
34775 * sysdeps/unix/i386/vfork.S: Likewise.
34776 * sysdeps/unix/i386/wait.S: Likewise.
34778 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34779 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34781 * configure.in (arm*-none*): Do not allow without
34782 --enable-hacker-mode.
34783 (netbsd*): Remove case setting base_os.
34784 (386bsd*): Likewise.
34785 (freebsd*): Likewise.
34788 (sunos*): Likewise.
34789 (ultrix*): Likewise.
34790 (newsos*): Likewise.
34791 (dynix*): Likewise.
34797 (minix*): Likewise.
34798 (irix4*): Likewise.
34799 (irix6*): Likewise.
34800 (solaris[2-9]*): Likewise.
34802 * configure: Regenerated.
34804 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34807 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34808 overflow or cancellation in calculating denominator.
34809 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34810 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34811 down expression to avoid unexpected rounding in newer GCCs.
34812 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34814 2012-04-26 David S. Miller <davem@davemloft.net>
34816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34817 long-double compat symbols.
34818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34832 2012-04-25 David S. Miller <davem@davemloft.net>
34834 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34835 HWCAP_* values only after the memory barriers have been defined.
34836 (atomic_full_barrier): Define.
34837 (atomic_read_barrier): Define.
34838 (atomic_write_barrier): Define.
34840 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34842 * shlib-versions: Add libgcc_s version information.
34843 * sysdeps/generic/libgcc_s.h: Remove.
34844 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34846 * sysdeps/gnu/unwind-resume.c: Likewise.
34847 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34849 2012-04-25 David S. Miller <davem@davemloft.net>
34851 * sysdeps/unix/sparc/brk.S: Delete.
34852 * sysdeps/unix/sparc/dl-brk.S: Delete.
34853 * sysdeps/unix/sparc/pipe.S: Delete.
34854 * sysdeps/unix/sparc/sysdep.S: Delete.
34855 * sysdeps/unix/sparc/sysdep.h: Delete.
34856 * sysdeps/unix/sparc/vfork.S: Delete.
34857 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34858 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34859 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34860 (ret_ERRVAL, r0, r1, MOVE): Define.
34861 (JUMPTARGET): Remove.
34862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34863 sysdeps/unix/sparc/sysdep.h
34864 (ENTRY, END): Remove.
34865 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34867 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34869 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34870 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34873 * timezone/README: Update upstream location and email address for
34875 * timezone/zdump.c: Update from tzcode 2012b.
34876 * timezone/zic.c: Likewise.
34878 * configure.in (libc_cv_as_needed): Remove test.
34879 * configure: Regenerated.
34880 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34881 conditional definition.
34882 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34883 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34884 * config.make.in (have-as-needed): Remove variable.
34886 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34887 Paul Pluzhnikov <ppluzhnikov@google.com>
34889 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34892 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34894 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34895 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34896 * sysdeps/sh/strlen.S: Likewise.
34898 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34900 * sysdeps/unix/fork.S: Remove file.
34901 * sysdeps/unix/i386/fork.S: Likewise.
34902 * sysdeps/unix/sparc/fork.S: Likewise.
34904 * sysdeps/unix/system.c: Remove file.
34905 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34907 * sysdeps/unix/getegid.S: Remove file.
34908 * sysdeps/unix/geteuid.S: Likewise.
34910 2012-04-24 Roland McGrath <roland@hack.frob.com>
34912 * scripts/check-localplt.awk: New file.
34913 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34915 * scripts/data/localplt-generic.data: Add a comment.
34917 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34918 NODE when __dir_mkfile failed.
34919 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34920 Reported by Ludovic Courtès <ludo@gnu.org>.
34922 2012-04-24 Andreas Jaeger <aj@suse.de>
34924 * Makerules (common-clean): Also remove gen-as-const-headers
34927 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34929 * Makerules (native-compile): Do not change working directory for
34930 build. Use $(OUTPUT_OPTION) in command.
34931 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34933 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34936 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34937 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34938 * math/libm-test.inc (floor_test): Add more tests.
34939 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34941 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34943 * sysdeps/unix/getdents.c: Remove file.
34944 * sysdeps/unix/sysv/getdents.c: Likewise.
34945 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34947 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34948 sysdeps/unix/mman/syscalls.list.
34950 (mprotect): Likewise.
34952 (munmap): Likewise.
34953 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34954 * sysdeps/unix/mman/syscalls.list: Remove.
34955 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34957 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34958 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34959 * configure: Regenerated.
34960 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34961 $(libgcc_s_suffix).
34962 * config.make.in (libgcc_s_suffix): Remove variable.
34964 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34966 * sysdeps/unix/sysv/gethostname.c: Move to ...
34967 * sysdeps/posix/gethostname.c: ... here.
34969 * sysdeps/unix/execve.S: Remove file.
34971 * sysdeps/unix/_exit.S: Remove file.
34973 2012-04-23 Andreas Jaeger <aj@suse.de>
34976 * manual/Makefile: Remove make dist support, there's no
34977 need for a stand-alone documentation tar ball.
34978 (TEXI2DVI): Define always, it's not in Makeconfig.
34981 (edition): Removed.
34982 (glibc-doc-$(edition).tar): Removed
34986 (ETAGS): Remove, it's in Makeconfig.
34987 (move-if-change): Remove, it's in Makeconfig.
34989 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34992 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34993 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34994 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34995 (strtod_l, strtof_l, strtold_l): Remove __wur.
34996 It is not necessarily an error to ignore strtol's return value.
34997 One can reliably look at the stored endptr to decide whether
34998 the number had valid syntax.
35000 2012-04-21 Andreas Jaeger <aj@suse.de>
35003 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35005 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35007 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35008 * sysdeps/unix/sysv/Versions: Remove file.
35010 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35015 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35018 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35019 version from __vm86.
35021 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35023 * sysdeps/unix/common/lxstat.c: Remove file.
35024 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35026 * sysdeps/unix/sysv/Makefile: Remove file.
35028 * sysdeps/unix/sysv/direct.h: Remove file.
35030 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35031 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35032 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35033 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35034 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35035 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35036 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35038 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35040 * sysdeps/unix/xmknod.c: Remove file.
35041 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35043 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35045 * sysdeps/unix/sysv/i386/time.S: Remove file.
35047 * sysdeps/unix/fxstat.c: Remove file.
35048 * sysdeps/unix/xstat.c: Likewise.
35049 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35051 * sysdeps/unix/sysv/sigaction.c: Remove file.
35053 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35054 (sysdep_headers): Remove variable.
35055 [termio.h not in sysdep_headers] (generated): Likewise.
35056 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35057 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35058 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35059 * sysdeps/unix/sysv/tcflow.c: Likewise.
35060 * sysdeps/unix/sysv/tcflush.c: Likewise.
35061 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35062 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35063 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35064 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35065 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35067 * sysdeps/unix/siglist.c: Remove file.
35069 * sysdeps/unix/getppid.S: Remove file.
35071 * sysdeps/unix/mkdir.c: Remove file.
35072 * sysdeps/unix/rmdir.c: Likewise.
35074 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35076 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35078 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35079 errlist-compat value.
35081 2012-04-18 David S. Miller <davem@davemloft.net>
35083 * sysdeps/generic/memcopy.h (reg_char): Delete.
35084 * debug/strcat_chk.c: Use char, not reg_char.
35085 * debug/strcpy_chk.c: Likewise.
35086 * debug/strncat_chk.c: Likewise.
35087 * debug/strncpy_chk.c: Likewise.
35088 * string/memchr.c: Likewise.
35089 * string/memrchr.c: Likewise.
35090 * string/rawmemchr.c: Likewise.
35091 * string/strcat.c: Likewise.
35092 * string/strchr.c: Likewise.
35093 * string/strchrnul.c: Likewise.
35094 * string/strcmp.c: Likewise.
35095 * string/strcpy.c: Likewise.
35096 * string/strncat.c: Likewise.
35097 * string/strncmp.c: Likewise.
35098 * string/strncpy.c: Likewise.
35100 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35102 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35103 __builtin_memcopy is called when src and dest ranges are known to not
35106 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35108 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35109 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35110 fwd_align_merge macro call.
35111 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35112 bwd_align_merge macro call.
35113 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35115 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35117 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35118 bwd_align_merge macros.
35119 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35120 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35121 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35123 2012-04-18 David S. Miller <davem@davemloft.net>
35125 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35127 2012-04-18 Andreas Jaeger <aj@suse.de>
35130 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35131 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35132 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35134 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35135 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35136 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35138 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35139 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35140 Adjust for changed ldbl-128 files.
35142 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35143 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35144 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35146 2012-04-17 David S. Miller <davem@davemloft.net>
35148 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35150 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35152 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35153 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35154 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35155 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35156 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35157 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35159 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35162 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35163 * math/libm-test.inc: Add ilogb errno and exception tests.
35164 * math/w_ilogb.c: New file: ilogb wrapper.
35165 * math/w_ilogbf.c: New file: ilogbf wrapper.
35166 * math/w_ilogbl.c: New file: ilogbl wrapper.
35167 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35168 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35169 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35170 exception being thrown with 0.0 as argument.
35171 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35172 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35173 exception being thrown with 0.0 as argument.
35174 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35175 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35176 exception being thrown with 0.0 as argument.
35177 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35178 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35179 exception being thrown with 0.0 as argument.
35180 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35181 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35182 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35183 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35184 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35185 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35186 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35187 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35188 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35190 2012-04-17 Petr Baudis <pasky@ucw.cz>
35192 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35195 2012-04-16 Marek Polacek <polacek@redhat.com>
35197 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35199 2012-04-16 Marek Polacek <polacek@redhat.com>
35201 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35202 operands of fdivp instruction.
35204 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35206 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35207 * elf/tst-auditmod3b.c: Likewise.
35208 * elf/tst-auditmod4b.c: Likewise.
35209 * elf/tst-auditmod5b.c: Likewise.
35210 * elf/tst-auditmod6b.c: Likewise.
35211 * elf/tst-auditmod6c.c: Likewise.
35212 * elf/tst-auditmod7b.c: Likewise.
35213 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35214 * sysdeps/x86_64/preconfigure.in: Likewise.
35215 * sysdeps/x86_64/preconfigure: Regenerated.
35217 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35219 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35222 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35224 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35225 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35227 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35230 * locale/iso-639.def: Fix gl language name. Spotted by
35233 2012-04-12 Roland McGrath <roland@hack.frob.com>
35236 * libio/libio.h (__io_write_fn): Update comment.
35238 2012-04-12 Petr Baudis <pasky@ucw.cz>
35241 * stdio.texi (Hook Functions): The user provided writer function
35242 is not allowed to return -1.
35244 2012-04-11 David S. Miller <davem@davemloft.net>
35246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35248 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35250 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35251 Add a leading slash to rtkaio.
35253 2012-04-11 Jim Meyering <meyering@redhat.com>
35256 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35257 It is not necessarily an error to ignore fwrite's return
35258 value. One can reliably use ferror to test for errors after
35261 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35263 * bits/types.h (__snseconds_t): New type.
35264 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35266 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35267 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35268 (__SNSECONDS_T_TYPE): Likewise.
35269 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35270 (__SNSECONDS_T_TYPE): Likewise.
35271 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35272 (__SNSECONDS_T_TYPE): Likewise.
35274 2012-04-10 Andreas Jaeger <aj@suse.de>
35277 * manual/time.texi (Processor Time): Return type of times is
35278 elapsed real time since an arbitrary point in the past.
35279 (CPU Time): Move CLK_TCK from here...
35280 (Processor Time): ...to here. Correct description.
35281 * manual/conf.texi (Constants for Sysconf): Correct description of
35284 2012-04-10 David S. Miller <davem@davemloft.net>
35287 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35288 where the is a gap between DT_REL(A) and DT_JMPREL.
35290 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35292 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35293 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35294 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35296 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35298 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35299 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35300 (dl_main): Handle --inhibit-cache.
35301 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35303 * elf/dl-load.c (_dl_map_object): Use it.
35304 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35306 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35309 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35310 (__ieee754_powl): Saturate large exponents rather than testing for
35311 overflow of y*log2(x).
35312 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35313 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35317 * math/s_ctan.c: Include <float.h>.
35318 (__ctan): Avoid internal overflow or cancellation in calculating
35320 * math/s_ctanf.c: Likewise.
35321 * math/s_ctanl.c: Likewise.
35322 * math/s_ctanh.c: Likewise.
35323 * math/s_ctanhf.c: Likewise.
35324 * math/s_ctanhl.c: Likewise.
35325 * math/libm-test.inc (ctan_test): Add more tests.
35326 (ctanh_test): Likewise.
35327 * sysdeps/i386/fpu/libm-test-ulps: Update.
35328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35330 2012-04-09 Andreas Jaeger <aj@suse.de>
35333 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35334 is an optional BSD extension.
35337 * manual/stdio.texi (Opening Streams): Document additional fopen
35340 2012-04-09 Roland McGrath <roland@hack.frob.com>
35342 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35343 %eax without telling the compiler.
35345 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35348 * manual/install.texi: Use sourceware.org.
35350 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35353 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35354 (__ieee754_pow): Generate overflow and underflow using huge*huge
35355 and tiny*tiny rather than just returning constant infinity or zero
35356 for large exponents.
35357 * math/libm-test.inc (pow_test): Require overflow exceptions for
35358 applicable cases of large exponents.
35361 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35362 (__ieee754_pow): Use iterative multiplication algorithm only for
35363 integer exponents with absolute value below 1024. Check for odd
35364 integer exponents when using algorithm for real exponents.
35365 * math/libm-test.inc (pow_test): Add more tests.
35366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35368 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35371 * math/libm-test.inc (exp_test): Do not allow overflow exception
35374 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35377 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35378 instead of __kernel_standard_f.
35380 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35382 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35383 * sysdeps/x86_64/memset_chk.S: Likewise.
35385 2012-04-08 Andreas Jaeger <aj@suse.de>
35388 * manual/startup.texi (Environment Access): Describe return value
35389 for putenv and setenv.
35392 * manual/filesys.texi (Directory Entries): Add description for
35396 * manual/filesys.texi (Directory Entries): Clarify that it's file
35397 system not operating system in the description of DT_UNKNOWN.
35400 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35402 2012-04-08 Stephen Compall <s11@member.fsf.org>
35405 * manual/llio.texi (Opening and Closing Files): Add cross
35406 reference to explain mode argument.
35408 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35410 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35411 * sysdeps/x86_64/memset_chk.S: Likewise.
35413 2012-04-07 David S. Miller <davem@davemloft.net>
35415 * elf/elf.h (R_SPARC_WDISP10): Define.
35416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35418 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35419 R_SPARC_SIZE64 and R_SPARC_H34.
35421 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35423 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35424 conditions and remove no longer applicable assertion.
35426 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35428 * bits/byteswap.h: Include <features.h>.
35429 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35430 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35432 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35434 * bits/byteswap.h (__bswap_16): Removed.
35435 Include <bits/byteswap-16.h> to get __bswap_16.
35436 * sysdeps/i386/bits/byteswap.h: Likewise.
35437 * sysdeps/s390/bits/byteswap.h: Likewise.
35438 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35439 * bits/byteswap-16.h: New file.
35440 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35441 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35442 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35443 * string/Makefile (headers): Add bits/byteswap-16.h.
35445 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35448 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35450 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35451 * nss/tst-nss-static.c: New.
35453 2012-04-06 Robert Millan <rmh@gnu.org>
35456 * manual/llio.texi (File Position Primitive): lseek
35457 refers to WHENCE when it really means OFFSET.
35459 2012-04-06 Andreas Jaeger <aj@suse.de>
35461 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35462 strncmp declarations.
35464 * abilist/libc.abilist: Add __poll and __ppoll.
35466 2012-04-05 David S. Miller <davem@davemloft.net>
35468 * scripts/check-local-headers.sh: Accept a host triplet in the
35469 path matched by the exclude regexp.
35471 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35473 * sysdeps/powerpc/powerpc32/dl-machine.h
35474 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35475 * sysdeps/s390/s390-32/dl-machine.h
35476 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35477 * sysdeps/sparc/sparc32/dl-machine.h
35478 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35479 * sysdeps/sparc/sparc64/dl-machine.h
35480 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35482 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35484 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35485 undefined symbol errors.
35487 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35490 2012-04-05 Michael Matz <matz@suse.de>
35493 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35495 2012-04-05 Andreas Jaeger <aj@suse.de>
35498 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35501 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35503 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35504 which ROUND is no valid rounding mode.
35506 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35508 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35510 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35512 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35514 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35515 an exception using FPU order intentionally.
35517 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35519 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35520 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35521 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35522 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35524 2012-04-05 Simon Josefsson <simon@josefsson.org>
35527 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35528 EINVAL when BUFLEN is too smal.
35530 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35533 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35534 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35536 2012-04-03 Andreas Jaeger <aj@suse.de>
35539 * manual/setjmp.texi (System V contexts): Fix sentence.
35542 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35543 New macro for this case.
35544 [!__GNUC__] (__bswap_64): New inline function for this case.
35545 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35546 * bits/byteswap.h: Likewise.
35547 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35548 ull, guard with __GLIBC_HAVE_LONG_LONG.
35550 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35551 __GLIBC_HAVE_LONG_LONG.
35553 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35554 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35556 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35559 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35560 inptr and inend, rather than using last_ch.
35562 2012-04-02 David S. Miller <davem@davemloft.net>
35564 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35565 * stdio-common/printf-parse.h (read_int): Change return type to
35566 'int', return -1 on INT_MAX overflow.
35567 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35568 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35569 overflows INT_MAX. Check for overflow of in-format-string precision
35570 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35571 SIZE_MAX not INT_MAX for integer overflow test.
35572 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35573 skip the construct in the format string but do not record anything.
35574 * stdio-common/bug22.c: Adjust to test both width/prevision
35575 INT_MAX overflow as well as total length INT_MAX overflow. Check
35576 explicitly for proper errno values.
35578 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35580 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35582 * string/test-strcmp.c [! WIDE]: Likewise.
35583 * time/tst-mktime2.c: Likewise for INT_MAX.
35584 * string/test-string.h: #include <sys/param.h> for MIN.
35586 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35587 * sysdeps/i386/init-first.c (init): Likewise.
35588 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35589 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35590 * sysdeps/sh/init-first.c (init): Likewise.
35592 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35594 * po/ru.po: Update from translation team.
35595 * po/vi.po: Likewise.
35597 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35599 * resolv/nss_dns/dns-host.c: Merge copyright years.
35601 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35603 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35604 Optimize memcpy with prefetch if
35605 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35606 src, dst pointers have unequal 16 byte alignments.
35608 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35611 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35612 from a CNAME entry and return the minimum ttl for the query.
35613 (gaih_getanswer_slice): Likewise.
35615 2012-03-30 Jeff Law <law@redhat.com>
35617 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35619 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35620 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35622 * resolv/nss_dns/dns-host.c: Update copyright year.
35624 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35626 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35627 requests to save a system call. Fix check that all bytes are sent.
35629 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35630 comments for sendmmsg.
35632 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35635 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35636 with only 1 character between 0x0041 and 0x01b0.
35637 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35638 * wcsmbs/tst-mbsnrtowcs.c: New file.
35640 2012-03-29 David S. Miller <davem@davemloft.net>
35642 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35643 small copies by hand.
35645 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35648 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35649 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35652 2012-03-28 David S. Miller <davem@davemloft.net>
35654 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35655 that branches into memcpy.
35656 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35657 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35658 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35659 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35660 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35662 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35663 implementation too.
35664 * sysdeps/sparc/mempcpy.S: New file.
35666 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35667 the IFUNC routine in the libc case.
35668 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35670 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35671 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35672 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35673 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35674 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35675 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35676 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35677 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35679 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35680 loop to 256 bytes instead of 64 bytes and fix test signedness.
35682 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35683 * sysdeps/sparc/sparc32/Makefile: rather than here...
35684 * sysdeps/sparc/sparc64/Makefile: and here.
35686 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35688 * malloc/mallocbug.c: Avoid warnings about unused variables.
35690 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35693 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35694 in the right place. Discard and retry query if response is
35695 larger than input buffer size.
35697 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35702 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35703 x for large integer exponent.
35704 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35705 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35706 sign of result as needed afterwards.
35707 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35708 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35709 result for underflowing pow the same as for overflow.
35710 (__kernel_standard_l): Handle powl overflow and underflow here
35711 rather than calling __kernel_standard.
35712 * math/libm-test.inc (pow_test): Add more tests.
35727 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35728 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35729 (__kernel_standard_l): New function.
35730 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35732 * math/w_acosl.c (__acosl): Likewise.
35733 * math/w_asinl.c (__asinl): Likewise.
35734 * math/w_atan2l.c (__atan2l): Likewise.
35735 * math/w_atanhl.c (__atanhl): Likewise.
35736 * math/w_coshl.c (__coshl): Likewise.
35737 * math/w_exp10l.c (__exp10l): Likewise.
35738 * math/w_exp2l.c (__exp2l): Likewise.
35739 * math/w_fmodl.c (__fmodl): Likewise.
35740 * math/w_hypotl.c (__hypotl): Likewise.
35741 * math/w_j0l.c (__j0l, __y0l): Likewise.
35742 * math/w_j1l.c (__j1l, __y1l): Likewise.
35743 * math/w_jnl.c (__jnl, __ynl): Likewise.
35744 * math/w_lgammal.c (__lgammal): Likewise.
35745 * math/w_log10l.c (__log10l): Likewise.
35746 * math/w_log2l.c (__log2l): Likewise.
35747 * math/w_logl.c (__logl): Likewise.
35748 * math/w_powl.c (__powl): Likewise.
35749 * math/w_remainderl.c (__remainderl): Likewise.
35750 * math/w_scalbl.c (sysv_scalbl): Likewise.
35751 * math/w_sinhl.c (__sinhl): Likewise.
35752 * math/w_sqrtl.c (__sqrtl): Likewise.
35753 * math/w_tgammal.c (__tgammal): Likewise.
35754 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35755 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35756 * math/libm-test.inc (acos_test): Add more tests.
35757 (acosh_test): Likewise.
35758 (asin_test): Likewise.
35759 (atanh_test): Likewise.
35760 (exp_test): Likewise.
35761 (exp10_test): Likewise.
35762 (exp2_test): Likewise.
35763 (expm1_test): Likewise.
35764 (lgamma_test): Likewise.
35765 (log_test): Likewise.
35766 (log10_test): Likewise.
35767 (log1p_test): Likewise.
35768 (log2_test): Likewise.
35769 (pow_test): Do not allow some spurious overflow exceptions.
35770 (sqrt_test): Add more tests.
35771 (tgamma_test): Likewise.
35772 (y0_test): Likewise.
35773 (y1_test): Likewise.
35774 (yn_test): Likewise.
35776 2012-03-27 Anton Blanchard <anton@samba.org>
35778 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35780 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35781 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35782 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35784 2012-03-27 David S. Miller <davem@davemloft.net>
35786 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35788 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35789 have-as-vis3 check.
35791 2012-03-27 Andreas Jaeger <aj@suse.de>
35793 * sysdeps/x86_64/elf/configure.in: Moved to ...
35794 * sysdeps/x86_64/configure.in: ... here.
35795 * sysdeps/x86_64/elf/start.S: Moved to ...
35796 * sysdeps/x86_64/start.S: ... here.
35797 * sysdeps/x86_64/elf/configure: Delete.
35799 * sysdeps/x86_64/configure.in: Merge contents from
35800 sysdeps/i386/configure.in (without i686 check).
35802 * sysdeps/i386/elf/Versions: Merge into ...
35803 * sysdeps/i386/Versions: ... this.
35804 * sysdeps/i386/elf/Versions: Delete file.
35805 * sysdeps/i386/elf/start.S: Moved to ...
35806 * sysdeps/i386/start.S: ...here.
35807 * sysdeps/i386/elf/configure.in: Merge into...
35808 * sysdeps/i386/configure.in: ...here.
35809 * sysdeps/i386/elf/configure.in: Delete file.
35810 * sysdeps/i386/elf/configure: Delete file.
35812 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35813 * debug/backtracesyms.c: ... here.
35814 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35815 * debug/backtracesymsfd.c: ... here.
35816 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35817 * sysdeps/generic/ifunc-sel.h: ... here.
35819 * sysdeps/unix/i386/start.c: Delete file.
35820 * sysdeps/unix/sparc/start.c: Delete file.
35821 * sysdeps/unix/start.c: Delete file.
35823 * sysdeps/sh/elf/configure.in: Moved to ...
35824 * sysdeps/sh/configure.in: ... here.
35825 * sysdeps/sh/elf/start.S: Moved to ...
35826 * sysdeps/sh/start.S: ... here.
35827 * sysdeps/sh/elf/configure: Delete file.
35829 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35830 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35831 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35832 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35833 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35834 * sysdeps/powerpc/powerpc64/start.S: here.
35835 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35836 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35837 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35838 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35839 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35841 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35842 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35843 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35844 * sysdeps/powerpc/powerpc32/start.S: ... here.
35845 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35846 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35847 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35849 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35850 * sysdeps/powerpc/ifunc-sel.h: ... here.
35851 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35852 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35854 * sysdeps/sparc/elf/configure.in: Moved to ...
35855 * sysdeps/sparc/configure.in: ... here.
35856 * sysdeps/sparc/elf/configure: Delete file.
35857 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35858 * sysdeps/sparc/sparc32/start.S: ... here.
35859 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35860 * sysdeps/sparc/sparc64/start.S: ... here.
35861 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35862 * sysdeps/sparc/sparc32/Makefile: ... this.
35863 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35864 * sysdeps/sparc/sparc64/Makefile: ... this.
35866 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35867 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35868 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35869 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35870 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35871 * sysdeps/s390/s390-32/setjmp.S: ... here.
35872 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35873 * sysdeps/s390/s390-32/configure.in: ... here.
35874 * sysdeps/s390/s390-32/elf/configure: Delete file.
35875 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35876 * sysdeps/s390/s390-32/start.S: ... here.
35878 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35879 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35880 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35881 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35882 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35883 * sysdeps/s390/s390-64/setjmp.S: ... here.
35884 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35885 * sysdeps/s390/s390-64/configure.in: ... here
35886 * sysdeps/s390/s390-64/elf/configure: Delete file.
35887 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35888 * sysdeps/s390/s390-64/start.S: ... here.
35889 * sysdeps/s390/s390-64/elf/configure: Delete.
35891 * configure.in: Remove support for elf directories in sysdeps.
35893 * configure: Regenerated.
35894 * sysdeps/i386/configure: Regenerated.
35895 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35896 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35897 * sysdeps/s390/s390-32/configure: Regenerated.
35898 * sysdeps/s390/s390-64/configure: Regenerated.
35899 * sysdeps/sh/configure: Regenerated.
35900 * sysdeps/sparc/configure: Regenerated.
35901 * sysdeps/x86_64/configure: Regenerated.
35903 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35907 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35908 denormal result into account.
35910 2012-03-25 Roland McGrath <roland@hack.frob.com>
35912 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35913 Reported by Allan McRae <allan@archlinux.org>.
35915 2012-03-23 Jeff Law <law@redhat.com>
35917 * nss/getnssent.c (__nss_getent): Fix typo.
35919 2012-03-23 David S. Miller <davem@davemloft.net>
35921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35923 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35925 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35926 to pad to uint64_t for each field.
35927 (dl_tls_index): Replace unsigned long with uint64_t.
35929 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35930 Paul Pluzhnikov <ppluzhnikov@google.com>
35933 * grp/Makefile (otherlibs): Don't set it.
35934 * inet/Makefile (otherlibs): Likewise.
35935 * login/Makefile (otherlibs): Likewise.
35936 * nscd/Makefile (otherlibs): Likewise.
35937 * posix/Makefile (otherlibs): Likewise.
35938 * pwd/Makefile (otherlibs): Likewise.
35939 * rt/Makefile (otherlibs): Likewise.
35940 * sunrpc/Makefile (otherlibs): Likewise.
35941 * nss/Makefile (otherlibs): Likewise.
35942 Add libnss_files to routines and static-only-routines.
35943 ($(objpfx)getent): Remove rule.
35944 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35945 static-only-routines.
35947 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35950 * math/s_cexp.c: Include <float.h>.
35951 (__cexp): Handle exp result overflowing not necessarily
35952 overflowing both real and imaginary parts of result.
35953 * math/s_cexpf.c: Likewise.
35954 * math/s_cexpl.c: Likewise.
35955 * math/libm-test.inc (cexp_test): Add more tests.
35956 * sysdeps/i386/fpu/libm-test-ulps: Update.
35957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35959 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35961 * include/link.h (ELFW): New macro.
35962 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35963 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35965 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35967 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35970 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35972 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35974 (struct La_x32_retval): Likewise.
35976 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35978 * sysdeps/x86_64/preconfigure.in: New file.
35979 * sysdeps/x86_64/preconfigure: New generated file.
35981 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35984 * math/e_exp2l.c: Include <float.h>.
35985 (__ieee754_exp2l): Handle overflow and underflow cases
35986 separately. Only pass fractional part of argument to
35988 * math/libm-test.inc (exp2_test): Add more tests.
35990 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35991 negating x to take absolute value.
35992 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35994 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35995 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35997 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35998 computing low part if x was negated.
35999 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36001 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36003 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36004 la_x32_gnu_pltexit.
36005 (pltexit): Cast int_retval to ptrdiff_t.
36006 * elf/tst-auditmod3b.c: Likewise.
36007 * elf/tst-auditmod4b.c: Likewise.
36008 * elf/tst-auditmod5b.c: Likewise.
36009 * elf/tst-auditmod6b.c: Likewise.
36010 * elf/tst-auditmod6c.c: Likewise.
36011 * elf/tst-auditmod7b.c: Likewise.
36013 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36014 and x32_gnu_pltexit.
36016 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36017 __ELF_NATIVE_CLASS.
36018 (La_x32_regs): New macro.
36019 (La_x32_retval): Likewise.
36020 (la_x32_gnu_pltenter): New function prototype.
36021 (la_x32_gnu_pltexit): Likewise.
36023 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36025 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36030 * configure.in (libc_cv_cc_nofma): Check for option to disable
36031 generation of FMA instructions.
36032 * configure: Regenerate.
36033 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36034 * sysdeps/ieee754/dbl-64/Makefile: New file.
36035 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36036 Remove brandred-fma4.
36037 (CFLAGS-brandred-fma4.c): Remove.
36038 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36039 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36041 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36044 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36046 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36047 LLONG_MAX != LONG_MAX.
36048 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36049 (_fitoa_word): Likewise.
36050 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36051 LLONG_MAX != LONG_MAX.
36052 * stdio-common/_itowa.h: Include <_itoa.h>.
36053 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36054 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36055 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36056 only if not defined.
36057 (_ITOA_WORD_TYPE): Likewise.
36058 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36059 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36061 2012-03-21 David S. Miller <davem@davemloft.net>
36063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36065 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36067 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36068 of x86_64 when setting libc_cv_slibdir, libdir and
36070 * sysdeps/unix/sysv/linux/configure: Regenerated.
36072 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36074 * manual/lang.texi (Old Varargs): Remove section.
36075 (How Variadic): Update menu.
36076 (va_start): Do not mention varargs.h.
36078 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36079 Joseph Myers <joseph@codesourcery.com>
36081 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36083 * configure: Regenerated.
36085 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36087 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36088 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36091 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36094 * Makefile (files-for-dist): Remove NOTES.
36095 (NOTES): Remove rule.
36096 * README: Don't refer to NOTES.
36097 * manual/creature.texi: Don't include macros.texi.
36098 * manual/intro.texi (creature.texi): Remove comment referring to
36101 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36102 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36103 * configure: Regenerated.
36104 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36105 LIBC_TRY_CC_OPTION.
36106 (libc_cv_as_i686): Likewise.
36107 (libc_cv_cc_avx): Likewise.
36108 (libc_cv_cc_sse2avx): Likewise.
36109 (libc_cv_cc_fma4): Likewise.
36110 (libc_cv_cc_novzeroupper): Likewise.
36111 * sysdeps/i386/configure: Regenerated.
36114 * sysdeps/i386/fpu/s_cexp.S: Remove.
36115 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36116 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36117 * math/libm-test.inc (cexp_test): Add more tests.
36118 * sysdeps/i386/fpu/libm-test-ulps: Update.
36119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36121 2012-03-21 Allan McRae <allan@archlinux.org>
36123 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36125 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36128 * math/w_exp2.c: Do not include <float.h>.
36129 (o_threshold, u_threshold): Remove.
36130 (__exp2): Calculate result before checking finiteness and calling
36132 * math/w_exp2f.c: Likewise.
36133 * math/w_exp2l.c: Likewise.
36134 * math/libm-test.inc (exp2_test): Require overflow exception for
36138 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36139 range of signed 64-bit integers before using fistpll. Remove
36140 checks for whether integers fit in mantissa bits.
36141 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36142 the range of signed 32-bit integers before using fistpl. Remove
36143 checks for whether integers fit in mantissa bits.
36144 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36145 (__ieee754_powl): Test for y outside the range of signed 64-bit
36146 integers before using fistpll. Reduce 64-bit values to 63-bit
36148 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36149 divide-by-zero is raised for zero to large negative powers.
36150 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36151 (__ieee754_powl): Test for y outside the range of signed 64-bit
36152 integers before using fistpll. Reduce 64-bit values to 63-bit
36154 * math/libm-test.inc (pow_test): Add more tests.
36156 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36158 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36159 <stdio-common/_itoa.h>.
36160 * debug/segfault.c: Likewise.
36161 * elf/dl-cache.c: Likewise.
36162 * elf/dl-minimal.c: Likewise.
36163 * elf/dl-misc.c: Likewise.
36164 * elf/dl-sysdep.c: Likewise.
36165 * elf/dl-version.c: Likewise.
36166 * elf/rtld.c: Likewise.
36167 * hurd/hurdsock.c: Likewise.
36168 * hurd/lookup-retry.c: Likewise.
36169 * malloc/malloc.c: Likewise.
36170 * malloc/mtrace.c: Likewise.
36171 * nscd/nscd_getgr_r.c: Likewise.
36172 * nscd/nscd_getpw_r.c: Likewise.
36173 * nscd/nscd_getserv_r.c: Likewise.
36174 * posix/getopt_init.c: Likewise.
36175 * posix/wordexp.c: Likewise.
36176 * stdio-common/_itoa.c: Likewise.
36177 * stdio-common/printf_fphex.c: Likewise.
36178 * stdio-common/vfprintf.c: Likewise.
36179 * string/_strerror.c: Likewise.
36180 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36181 * sysdeps/i386/i686/hp-timing.h: Likewise.
36182 * sysdeps/mach/_strerror.c: Likewise.
36183 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36184 * sysdeps/mach/hurd/sethostid.c: Likewise.
36185 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36186 * sysdeps/mach/xpg-strerror.c: Likewise.
36187 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36188 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36189 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36190 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36191 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36192 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36193 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36194 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36195 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36196 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36197 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36198 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36199 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36200 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36201 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36202 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36203 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36204 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36205 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36206 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36207 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36209 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36211 * stdio-common/_itoa.h: Moved to ...
36212 * sysdeps/generic/_itoa.h: Here.
36214 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36216 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36217 instead of "_itoa.h" and "_itowa.h".
36218 * stdio-common/vfprintf.: Likewise.
36220 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36222 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36224 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36225 (__signbit): Likwise.
36226 (llrintf): Likwise.
36229 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36231 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36234 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36236 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36237 OVERFLOW_EXCEPTION_OK.
36238 * math/libm-test.inc ("Philosophy"): Update comment about
36240 (OVERFLOW_EXCEPTION): Define.
36241 (OVERFLOW_EXCEPTION_OK): Likewise.
36242 (INVALID_EXCEPTION_OK): Renumber.
36243 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36244 (IGNORE_ZERO_INF_SIGN): Likewise.
36245 (test_exceptions): Handle FE_OVERFLOW.
36246 (exp10_test): Expect overflow exceptions.
36247 (exp2_test): Likewise.
36248 (expm1_test): Likewise.
36249 (nextafter_test): Likewise.
36250 (pow_test): Likewise.
36251 (scalbn_test): Likewise.
36252 (scalbln_test): Likewise.
36254 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36256 * sysdeps/x86_64/bits/atomic.h
36257 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36259 (atomic_exchange_acq): Likewise.
36260 (__arch_exchange_and_add_body): Likewise.
36261 (__arch_add_body): Likewise.
36262 (atomic_add_negative): Likewise.
36263 (atomic_add_zero): Likewise.
36265 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36267 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36268 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36270 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36272 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36273 Check __x86_64__ instead of __WORDSIZE.
36275 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36277 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36279 2012-03-19 David S. Miller <davem@davemloft.net>
36281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36283 * sysdeps/sparc/fpu/fenv_private.h: New file.
36284 * sysdeps/sparc/fpu/math_private.h: Use it.
36285 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36287 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36288 (libc_feholdexcept_setroundl): Remove.
36289 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36291 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36292 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36294 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36296 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36297 int64_t instead of long int.
36298 (INSERT_WORDS64): Likwise.
36300 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36302 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36303 _Unwind_GetCFA return to _Unwind_Ptr first.
36305 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36308 * math/s_clog.c: Include <float.h>.
36309 (__clog): Scale large or subnormal inputs.
36310 * math/s_clogf.c: Likewise.
36311 * math/s_clogl.c: Likewise.
36312 * math/s_clog10.c: Include <float.h>.
36313 (M_LOG10_2): Define.
36314 (__clog10): Scale large or subnormal inputs.
36315 * math/s_clog10f.c: Likewise.
36316 * math/s_clog10l.c: Likewise.
36317 * math/libm-test.inc (clog_test): Add more tests.
36318 (clog10_test): Likewise.
36319 * sysdeps/i386/fpu/libm-test-ulps: Update.
36320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36323 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36325 * math/libm-test.inc (atan2_test): Add another test.
36327 * Makerules (common-objdir-compile): Remove.
36328 * sysdeps/unix/Makefile (config-generated): Do not add
36329 $(unix-generated) to variable.
36330 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36331 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36333 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36335 [generic bits/local_lim.h] (before-compile): Do not append to
36337 [generic bits/local_lim.h] (common-generated): Likewise.
36338 [generic sys/param.h] (before-compile): Do not append to variable.
36339 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36340 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36341 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36342 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36344 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36345 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36346 [generic sys/param.h] ($(addprefix
36347 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36348 [generic sys/param.h] (common-generated): Do not append to
36350 [generic sys/param.h] (sysdep_headers): Likewise.
36351 [generic bits/errno.h] (before-compile): Do not append to
36353 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36355 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36356 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36357 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36358 [generic bits/errno.h] (common-generated): Do not append to
36360 [generic bits/ioctls.h] (before-compile): Do not append to
36362 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36364 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36365 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36366 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36368 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36369 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36370 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36371 [generic bits/ioctls.h] (common-generated): Do not append to
36373 [generic sys/syscall.h] (syscall.h): Remove variable.
36374 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36376 [generic sys/syscall.h] (before-compile): Do not append to
36378 [generic sys/syscall.h] (common-generated): Likewise.
36379 * sysdeps/unix/errnos-tmpl.c: Remove file.
36380 * sysdeps/unix/errnos.awk: Likewise.
36381 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36382 * sysdeps/unix/ioctls.awk: Likewise.
36383 * sysdeps/unix/mk-local_lim.c: Likewise.
36384 * sysdeps/unix/snarf-ioctls: Likewise.
36386 2012-03-19 Richard Henderson <rth@twiddle.net>
36388 * sysdeps/i386/fpu/fenv_private.h: New file.
36389 * sysdeps/i386/fpu/math_private.h: Use it.
36390 (math_opt_barrier, math_force_eval): Remove.
36391 (libc_feholdexcept_setround_53bit): Remove.
36392 (libc_feupdateenv_53bit): Remove.
36393 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36394 (math_opt_barrier, math_force_eval): Remove.
36395 (libc_feholdexcept): Remove.
36396 (libc_feholdexcept_setround): Remove.
36397 (libc_fetestexcept, libc_fesetenv): Remove.
36398 (libc_feupdateenv_test): Remove.
36399 (libc_feupdateenv, libc_feholdsetround): Remove.
36400 (libc_feresetround): Remove.
36402 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36403 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36405 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36406 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36407 (libc_feupdateenv_testl): New.
36408 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36409 (libc_feupdateenv_testf): New.
36410 (libc_feupdateenv): Use libc_feupdateenv_test.
36411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36412 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36414 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36415 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36416 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36417 (libc_feresetround_noex): New.
36418 (libc_feresetround_noexf): New.
36419 (libc_feresetround_noexl): New.
36420 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36421 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36422 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36423 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36425 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36428 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36429 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36430 SET_RESTORE_ROUND_NOEX.
36431 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36432 SET_RESTORE_ROUND_NOEXF.
36433 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36434 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36435 (libc_feholdsetroundf): New.
36436 (libc_feresetround, libc_feresetroundf): New.
36438 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36439 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36440 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36442 * sysdeps/generic/math_private.h: Include <fenv.h>.
36443 (default_libc_feholdexcept): New.
36444 (default_libc_feholdexcept_setround): New.
36445 (default_libc_fesetenv, default_libc_feupdateenv): New.
36446 (libc_feholdexcept): Only define if undefined.
36447 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36448 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36449 (libc_feholdexcept_setroundl): Likewise.
36450 (libc_feholdexcept_setround_53bit): Likewise.
36451 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36452 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36453 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36454 (libc_feupdateenv_53bit): Likewise.
36455 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36456 (libc_feholdexcept): Convert from macro to inline function.
36457 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36458 (libc_fesetenv, libc_feupdateenv): Likewise.
36460 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36461 not previously defined.
36462 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36463 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36464 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36465 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36466 * sysdeps/ieee754/flt-32/math_private.h: New file.
36467 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36468 math_private.h below SET_FLOAT_WORD.
36469 (__isnan, __isinf_ns, __finite): Remove.
36470 (__isnanf, __isinf_nsf, __finitef): Remove.
36472 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36476 2012-03-17 David S. Miller <davem@davemloft.net>
36479 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36482 2012-03-16 David S. Miller <davem@davemloft.net>
36484 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36488 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36490 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36491 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36492 sysdep_routines when subdir is sysvipc.
36493 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36494 __getshmlba helper.
36496 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36498 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36500 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36503 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36505 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36506 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36507 (__lround): Renamed to ...
36508 (__llround): This. Replace long int with long long int.
36509 Define lround functions as aliases of llround functions.
36510 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36512 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36514 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36515 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36516 adresses to uintptr_t. Replace "long int" and "unsigned long
36517 int" with "greg_t" on va_arg.
36519 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36521 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36522 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36524 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36525 Move e_machine check before EI_CLASS check. Handle x32
36526 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36527 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36528 SKIP_EM_IA_64 and include
36529 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36531 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36532 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36533 (add_system_dir): New macro.
36535 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36536 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36538 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36549 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36551 * math/w_j0f.c (j0f): Likewise.
36553 * math/w_j0l.c (__j0l): Likewise.
36555 * math/w_j1.c (j1): Likewise.
36557 * math/w_j1f.c (j1f): Likewise.
36559 * math/w_j1l.c (__j1l): Likewise.
36561 * math/w_jn.c (jn): Likewise.
36563 * math/w_jnf.c (jnf): Likewise.
36565 * math/w_jnl.c (__jnl): Likewise.
36567 * math/libm-test.inc (j0_test): Add more tests.
36568 (j1_test): Likewise.
36569 (jn_test): Likewise. Add trailing semicolon to existing test.
36570 (y0_test): Likewise.
36571 (y1_test): Likewise.
36572 * sysdeps/i386/fpu/libm-test-ulps: Update.
36573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36577 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36578 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36579 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36580 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36581 (__tanl): Set errno for infinite argument.
36582 * sysdeps/i386/fpu/mptan.c: Remove.
36583 * sysdeps/i386/fpu/s_tan.S: Likewise.
36584 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36585 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36586 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36587 * math/libm-test.inc (tan_test): Add more tests and enable more
36588 tests for double and long double.
36589 * sysdeps/i386/fpu/libm-test-ulps: Update.
36590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36592 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36594 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36595 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36597 2012-03-16 Roland McGrath <roland@hack.frob.com>
36599 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36600 * configure.in: Use it for both main tree and add-ons.
36601 * configure: Regenerated.
36603 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36605 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36607 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36609 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36613 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36614 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36615 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36616 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36617 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36619 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36620 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36621 != 0 for prec == 2.
36622 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36623 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36624 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36625 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36626 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36627 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36628 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36629 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36630 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36631 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36632 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36633 * math/libm-test.inc (cos_test): Add more tests and enable more
36634 tests for long double.
36635 (sin_test): Likewise.
36636 (sincos_test): Likewise.
36637 * sysdeps/i386/fpu/libm-test-ulps: Update.
36638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36640 2012-03-16 David S. Miller <davem@davemloft.net>
36642 * sysdeps/sparc/fpu/math_private.h: New file.
36644 2012-03-15 David S. Miller <davem@davemloft.net>
36646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36656 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36660 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36661 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36663 * sysdeps/sparc/sparc-ifunc.h: New file.
36664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36691 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36704 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36705 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36706 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36709 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36711 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36715 2012-03-15 Andreas Jaeger <aj@suse.de>
36718 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36719 ieee754/flt-32 implementation for sin, cos and sincos.
36720 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36721 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36722 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36723 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36724 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36725 ieee754/flt-32 implementation for tan.
36727 * math/libm-test.inc (cos_test): Enable some large input tests for
36729 (sin_test): Likewise.
36730 (sincos_test): Likewise.
36731 (tan_test): Add tests for large input.
36733 * sysdeps/i386/fpu/libm-test-ulps: Update.
36735 2012-03-15 Andreas Jaeger <aj@suse.de>
36738 * math/libm-test.inc (cos_test): Add more test cases.
36739 (sin_test): Likewise.
36740 (sincos_test): Likewise.
36742 2012-03-15 Andreas Jaeger <aj@suse.de>
36745 * math/libm-test.inc (cos_test): Add a test case for large input
36747 (sin_test): Likewise.
36748 (sincos_test): Likewise.
36750 2012-03-15 Andreas Jaeger <aj@suse.de>
36751 Joseph Myers <joseph@codesourcery.com>
36754 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36755 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36756 * sysdeps/i386/fpu/branred.c: Likewise.
36757 * sysdeps/i386/fpu/dosincos.c: Likewise.
36758 * sysdeps/i386/fpu/mpa.c: Likewise.
36759 * sysdeps/i386/fpu/s_cos.S: Likewise.
36760 * sysdeps/i386/fpu/s_sin.S: Likewise.
36761 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36762 * sysdeps/i386/fpu/sincos32.c: Likewise.
36764 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36766 (libc_feupdateenv_53bit): Define.
36767 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36769 (libc_feupdateenv_53bit): Define.
36771 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36772 53 bit (without extend i386 double precision).
36774 * math/libm-test.inc (sincos_test): Add tests for large input.
36778 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36780 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36784 2012-03-15 David S. Miller <davem@davemloft.net>
36786 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36787 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36788 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36789 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36814 fmin/fmax sysdep routines.
36815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36817 2012-03-14 David S. Miller <davem@davemloft.net>
36819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36823 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36824 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36825 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36839 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36840 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36841 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36842 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36843 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36844 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36845 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36846 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36847 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36891 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36896 * sysdeps/sparc/configure.in: New file.
36897 * sysdeps/sparc/configure: Generate.
36898 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36899 * configure: Regenerate.
36900 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36901 * config.make.in (have-as-vis3): New.
36902 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36903 available use -Av9d instead of -Av9a.
36904 * sysdeps/sparc/sparc64/Makefile: Likewise.
36905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36914 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36915 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36916 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36917 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36920 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36921 fzeros/fnegs to load 0x80000000 into a float register instead of
36923 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36925 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36929 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36930 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36931 ($(inst_includedir)/bits/syscall.h): Remove rule.
36932 ($(objpfx)bits/syscall.d): Include instead of
36933 $(objpfx)syscall-list.d.
36934 (generated): Change syscall-list.h and syscall-list.d to
36935 bits/syscall.h and bits/syscall.d.
36937 2012-03-14 Roland McGrath <roland@hack.frob.com>
36940 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36942 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36945 * math/s_csqrt.c: Include <float.h>.
36946 (__csqrt): Scale large or subnormal inputs.
36947 * math/s_csqrtf.c: Likewise.
36948 * math/s_csqrtl.c: Likewise.
36949 * math/libm-test.inc (csqrt_test): Add more tests.
36950 * sysdeps/i386/fpu/libm-test-ulps: Update.
36951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36954 * math/libm-test.inc (hypot_test): Add more tests.
36956 2012-03-13 David S. Miller <davem@davemloft.net>
36959 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36960 double-precision for the calculation instead of scaling.
36962 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36964 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36965 manipulate bits before adding and subtracting TWO52[sx].
36966 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36967 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36969 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36971 2012-03-13 David S. Miller <davem@davemloft.net>
36973 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36974 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36975 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36976 rtld-global-offsets.h
36977 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36979 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36982 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36984 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36985 'err' in the ifdef scope in which it is actually used.
36987 * nss/nss_db/db-init.c: Include string.h
36989 2012-03-12 David S. Miller <davem@davemloft.net>
36991 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36992 masking out of the most significant byte of random value used.
36993 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36994 Fix coding style in previous change.
36996 * sysdeps/unix/sysv/linux/kernel-features.h
36997 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36998 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37000 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37003 2012-03-11 David S. Miller <davem@davemloft.net>
37005 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37006 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37007 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37008 for 'resultvar' otherwise things get truncated on 64-bit.
37010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37011 Fix masking out of the most significant byte of random value used.
37013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37015 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37019 2012-03-09 David S. Miller <davem@davemloft.net>
37021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37022 variables with appropriate CPP guards.
37023 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37024 from the frame pointer, not the stack pointer. Correct layout
37025 comments. Fix test on resulting framesize and the management of
37026 the outregs buffer for pltexit. Preserve floating point return
37027 values across _dl_call_pltexit call.
37028 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37029 framesize and the management of the outregs buffer for pltexit.
37030 Preserve floating point return values across _dl_call_pltexit
37032 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37033 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37034 (la_sparc64_gnu_pltexit): New functions.
37035 (print_exit): Fix format string for return register value.
37037 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37039 * sunrpc/Makefile (others): Add rpcgen.
37040 ($(objpfx)rpcgen): Remove special build rule and dependency on
37042 * sunrpc/rpcgen.c: New file.
37044 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37047 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37048 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37049 * sysdeps/i386/crti.S: Likewise.
37050 * sysdeps/i386/crtn.S: Likewise.
37051 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37052 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37053 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37054 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37055 * sysdeps/sh/crti.S: Likewise.
37056 * sysdeps/sh/crtn.S: Likewise.
37057 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37060 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37062 * locale/programs/locfile-kw.gperf: Likewise.
37063 * locale/programs/charmap-kw.h: Regenerated.
37064 * locale/programs/locfile-kw.h: Likewise.
37067 * intl/plural.y: Replace FSF snail mail address with URL.
37068 * intl/plural.c: Regenerated.
37070 2012-03-09 Richard Henderson <rth@twiddle.net>
37072 * include/math_private.h: Remove file.
37073 * math/math_private.h: Move file ...
37074 * sysdeps/generic/math_private.h: ... here.
37076 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37077 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37078 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37080 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37081 and <math_private.h>.
37082 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37083 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37084 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37085 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37086 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37087 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37088 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37089 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37090 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37091 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37092 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37093 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37094 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37095 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37096 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37097 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37098 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37099 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37100 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37103 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37104 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37112 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37113 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37114 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37115 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37116 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37117 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37118 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37119 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37120 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37138 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37139 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37140 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37141 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37142 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37143 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37144 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37145 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37146 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37147 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37148 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37149 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37150 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37151 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37152 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37153 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37154 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37155 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37156 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37157 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37158 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37160 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37161 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37162 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37163 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37164 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37165 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37166 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37168 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37169 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37170 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37171 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37172 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37173 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37174 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37175 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37176 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37177 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37178 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37179 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37180 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37181 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37182 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37183 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37184 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37185 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37186 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37187 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37188 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37189 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37190 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37191 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37192 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37193 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37194 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37195 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37196 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37197 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37198 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37199 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37200 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37201 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37202 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37203 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37204 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37205 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37206 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37207 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37208 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37209 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37210 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37211 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37212 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37213 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37214 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37215 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37216 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37217 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37218 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37219 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37220 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37221 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37222 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37223 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37224 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37225 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37226 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37227 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37228 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37229 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37230 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37231 * sysdeps/ieee754/k_standard.c: Likewise.
37232 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37233 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37234 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37235 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37236 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37237 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37238 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37239 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37240 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37241 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37242 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37243 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37244 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37245 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37246 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37271 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37272 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37273 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37275 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37276 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37277 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37278 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37280 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37282 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37283 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37284 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37285 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37286 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37288 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37290 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37291 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37292 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37293 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37294 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37295 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37296 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37297 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37299 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37300 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37301 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37302 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37303 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37305 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37306 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37307 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37308 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37309 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37310 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37311 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37312 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37313 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37314 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37315 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37316 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37317 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37318 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37319 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37320 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37321 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37322 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37323 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37324 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37325 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37326 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37327 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37328 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37329 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37330 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37331 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37332 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37333 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37334 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37335 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37336 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37337 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37338 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37339 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37340 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37341 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37342 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37343 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37344 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37345 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37346 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37347 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37348 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37349 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37350 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37351 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37352 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37353 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37354 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37355 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37356 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37357 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37358 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37359 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37360 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37361 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37362 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37363 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37364 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37365 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37366 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37367 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37368 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37369 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37370 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37371 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37372 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37373 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37374 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37375 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37376 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37377 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37378 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37379 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37380 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37381 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37382 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37383 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37384 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37385 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37386 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37387 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37388 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37389 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37390 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37391 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37392 * sysdeps/ieee754/s_lib_version.c: Likewise.
37393 * sysdeps/ieee754/s_matherr.c: Likewise.
37394 * sysdeps/ieee754/s_signgam.c: Likewise.
37395 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37396 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37397 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37398 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37399 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37400 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37401 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37402 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37403 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37404 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37405 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37406 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37407 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37408 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37409 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37410 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37411 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37412 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37413 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37414 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37415 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37417 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37419 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37420 * sunrpc/rpc_main.c: Likewise.
37421 * sunrpc/rpc_svcout.c: Likewise.
37423 2012-03-09 David S. Miller <davem@davemloft.net>
37425 * include/math_private.h: New file.
37427 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37429 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37430 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37431 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37432 from <bits/socket_type.h>.
37433 (enum __socket_type): Don't define here.
37434 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37436 bits/socket_type.h.
37439 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37440 checking __USE_GNU.
37442 * Makerules ($(inst_includedir)/%.h): New rule.
37443 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37444 (install-others): Remove variable setting.
37445 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37447 2012-03-08 Richard Henderson <rth@twiddle.net>
37449 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37450 from macro to inline function; merge with the
37451 !__LIBC_INTERNAL_MATH_INLINES version.
37452 (__ieee754_sqrtf): Likewise.
37454 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37455 to inline function.
37456 (__rintf, __floor, __floorf): Likewise.
37458 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37459 macro to inline function.
37460 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37462 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37463 not <math/math_private.h>.
37465 2012-03-08 David S. Miller <davem@davemloft.net>
37467 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37469 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37471 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37473 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37475 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37476 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37478 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37480 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37481 be defined individually, they must be defined as a block. Define
37482 S for printing a string instead of hidint the different by using a
37483 macro for adding the 'l'.
37484 * stdio-common/tst-fphex-wide.c: Adjust.
37486 2012-03-07 Marek Polacek <polacek@redhat.com>
37488 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37490 2012-03-08 Marek Polacek <polacek@redhat.com>
37493 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37494 * stdio-common/tst-fphex.c: Define a few macros to make the
37495 test reusable. Use them.
37496 * stdio-common/tst-fphex-wide.c: New file.
37498 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37501 * manual/macros.texi (gnusystems): New macro.
37502 (nongnusystems): Likewise.
37503 (gnulinuxhurdsystems): Likewise.
37504 (gnuhurdsystems): Likewise..
37505 (gnulinuxsystems): Likewise.
37506 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37507 variants of the GNU system, not "GNU system".
37508 * manual/conf.texi: Likewise.
37509 * manual/errno.texi: Likewise. Update example of errno macro
37511 * manual/filesys.texi: Likewise.
37512 (getumask): Document as specific to GNU/Hurd.
37513 * manual/install.texi: Likewise. Reword some references to
37515 * manual/intro.texi: Likewise.
37516 * manual/io.texi: Likewise.
37517 (File Name Portability): Detail which constraints are inapplicable
37518 to all GNU systems and which are only inapplicable to GNU/Hurd.
37519 * manual/job.texi: Likewise.
37520 * manual/llio.texi: Likewise.
37521 (O_NOCTTY): Document as present on GNU/Linux.
37522 * manual/maint.texi: Likewise.
37523 * manual/memory.texi: Likewise.
37524 * manual/pattern.texi: Likewise.
37525 * manual/pipe.texi: Likewise.
37526 * manual/process.texi: Likewise.
37527 * manual/resource.texi: Likewise.
37528 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37530 * manual/setjmp.texi: Likewise.
37531 * manual/signal.texi: Likewise.
37532 * manual/startup.texi: Likewise.
37533 * manual/stdio.texi: Likewise.
37534 * manual/terminal.texi: Likewise.
37535 (ONLCR): Document as POSIX.
37536 (OXTABS): Document availability on GNU/Linux as XTABS.
37537 (ONOEOT): Document availability separately from other bits.
37538 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37539 * manual/time.texi: Likewise.
37540 * manual/users.texi: Likewise.
37541 * INSTALL: Regenerated.
37542 * sysdeps/gnu/errlist.c: Regenerated.
37544 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37545 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37546 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37548 * configure: Regenerated.
37550 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37552 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37553 default includes instead of AC_HEADER_CHECK.
37554 * sysdeps/i386/configure: Regenerated.
37557 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37558 * math/s_cacoshf.c (__cacoshf): Likewise.
37559 * math/s_cacoshl.c (__cacoshl): Likewise.
37560 * math/s_casinh.c (__casinh): Set signs of result from argument.
37561 * math/s_casinhf.c (__casinhf): Likewise.
37562 * math/s_casinhl.c (__casinhl): Likewise.
37563 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37564 (casinh_test): Add more tests.
37565 * sysdeps/i386/fpu/libm-test-ulps: Update.
37566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37568 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37570 * po/zh_TW.po: Update from translation team.
37572 * login/Makefile (distribute): Remove variable.
37573 * catgets/Makefile: Likewise.
37574 * mach/Makefile: Likewise.
37575 * malloc/Makefile: Likewise.
37576 * misc/Makefile: Likewise.
37577 * iconv/Makefile: Likewise.
37578 * nscd/Makefile: Likewise.
37579 * hurd/Makefile: Likewise.
37580 * manual/Makefile: Likewise.
37581 * locale/Makefile: Likewise.
37582 * intl/Makefile: Likewise.
37583 * conform/Makefile: Likewise.
37584 * nss/Makefile: Likewise.
37585 * time/Makefile: Likewise.
37586 * soft-fp/Makefile: Likewise.
37587 * dirent/Makefile: Likewise.
37588 * gmon/Makefile: Likewise.
37589 * po/Makefile: Likewise.
37590 * rt/Makefile: Likewise.
37591 * socket/Makefile: Likewise.
37592 * math/Makefile: Likewise.
37593 * signal/Makefile: Likewise.
37594 * debug/Makefile: Likewise.
37595 * elf/Makefile: Likewise.
37596 * timezone/Makefile: Likewise.
37597 * stdlib/Makefile: Likewise.
37598 * iconvdata/Makefile: Likewise.
37599 * sunrpc/Makefile: Likewise.
37600 * io/Makefile: Likewise.
37601 * argp/Makefile: Likewise.
37602 * inet/Makefile: Likewise.
37603 * hesiod/Makefile: Likewise.
37604 * grp/Makefile: Likewise.
37605 * csu/Makefile: Likewise.
37606 * wctype/Makefile: Likewise.
37607 * crypt/Makefile: Likewise.
37608 * libio/Makefile: Likewise.
37609 * string/Makefile: Likewise.
37610 * nis/Makefile: Likewise.
37611 * resolv/Makefile: Likewise.
37612 * stdio-common/Makefile: Likewise.
37613 * wcsmbs/Makefile: Likewise.
37614 * dlfcn/Makefile: Likewise.
37615 * posix/Makefile: Likewise.
37618 * timezone/Makefile: Don't install timezone files, just the programs
37621 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37623 * nss/databases.def: Add missing gshadow entry.
37625 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37627 2012-03-06 Marek Polacek <polacek@redhat.com>
37630 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37631 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37632 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37633 * stdio-common/tst-long-dbl-fphex.c: New file.
37635 2012-03-06 David S. Miller <davem@davemloft.net>
37637 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37638 (set_obp_int): New function.
37639 (get_obp_int): New function.
37640 (__get_clockfreq_via_dev_openprom): Likewise.
37641 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37642 Avoid unused variable warnings on 'val' and use builtin_expect.
37643 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37645 (INLINE_CLONE_SYSCALL): Likewise.
37647 2012-03-05 David S. Miller <davem@davemloft.net>
37649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37651 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37655 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37656 only for |x| >= 40.
37657 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37659 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37662 Replace gettimeofday with __vdso_gettimeofday.
37664 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37665 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37666 __vdso_clock_gettime and __vdso_getcpu.
37668 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37669 time with __vdso_time.
37671 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37673 * manual/lang.texi (size_t): Note types to which size_t may be
37674 equivalent with the GNU C Library, but do not describe when
37675 differences between them are significant.
37677 2012-03-05 Andreas Jaeger <aj@suse.de>
37679 * sysdeps/i386/fpu/libm-test-ulps: Update.
37681 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37684 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37685 (__ieee754_pow): Save and restore rounding mode and use
37686 round-to-nearest for main computations.
37687 * math/libm-test.inc (pow_test_tonearest): New function.
37688 (pow_test_towardzero): Likewise.
37689 (pow_test_downward): Likewise.
37690 (pow_test_upward): Likewise.
37691 (main): Call the new functions.
37692 * sysdeps/i386/fpu/libm-test-ulps: Update.
37693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37696 * math/libm-test.inc (cosh_test_tonearest): New function.
37697 (cosh_test_towardzero): Likewise.
37698 (cosh_test_downward): Likewise.
37699 (cosh_test_upward): Likewise.
37700 (sinh_test_tonearest): Likewise.
37701 (sinh_test_towardzero): Likewise.
37702 (sinh_test_downward): Likewise.
37703 (sinh_test_upward): Likewise.
37704 (main): Call the new functions.
37705 * sysdeps/i386/fpu/libm-test-ulps: Update.
37706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37708 2012-03-05 Tom de Vries <tom@codesourcery.com>
37710 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37711 default stack guard is set in last bytes.
37712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37714 2012-03-05 Kees Cook <keescook@chromium.org>
37716 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37719 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37720 possibly allocate from heap instead of stack.
37721 * stdio-common/bug-vfprintf-nargs.c: New file.
37722 * stdio-common/Makefile (tests): Add nargs overflow test.
37724 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37728 2012-03-03 Marek Polacek <polacek@redhat.com>
37730 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37731 * math/math_private.h: Likewise.
37732 * stdlib/tst-strtod.c: Likewise.
37733 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37734 * sysdeps/x86_64/bits/atomic.h: Likewise.
37736 2012-03-02 David S. Miller <davem@davemloft.net>
37738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37742 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37743 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37744 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37745 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37747 2012-03-02 Roland McGrath <roland@hack.frob.com>
37750 * manual/examples/README: New file, says the example source files
37751 can be used under GPL>=2.
37752 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37753 line containing just "*/".
37754 * manual/examples/add.c: Add copyright header (GPL>=2).
37755 * manual/examples/argp-ex1.c: Likewise.
37756 * manual/examples/argp-ex2.c: Likewise.
37757 * manual/examples/argp-ex3.c: Likewise.
37758 * manual/examples/argp-ex4.c: Likewise.
37759 * manual/examples/atexit.c: Likewise.
37760 * manual/examples/db.c: Likewise.
37761 * manual/examples/dir.c: Likewise.
37762 * manual/examples/dir2.c: Likewise.
37763 * manual/examples/execinfo.c: Likewise.
37764 * manual/examples/filecli.c: Likewise.
37765 * manual/examples/filesrv.c: Likewise.
37766 * manual/examples/fmtmsgexpl.c: Likewise.
37767 * manual/examples/genpass.c: Likewise.
37768 * manual/examples/inetcli.c: Likewise.
37769 * manual/examples/inetsrv.c: Likewise.
37770 * manual/examples/isockad.c: Likewise.
37771 * manual/examples/longopt.c: Likewise.
37772 * manual/examples/memopen.c: Likewise.
37773 * manual/examples/memstrm.c: Likewise.
37774 * manual/examples/mkfsock.c: Likewise.
37775 * manual/examples/mkisock.c: Likewise.
37776 * manual/examples/mygetpass.c: Likewise.
37777 * manual/examples/pipe.c: Likewise.
37778 * manual/examples/popen.c: Likewise.
37779 * manual/examples/rprintf.c: Likewise.
37780 * manual/examples/search.c: Likewise.
37781 * manual/examples/select.c: Likewise.
37782 * manual/examples/setjmp.c: Likewise.
37783 * manual/examples/sigh1.c: Likewise.
37784 * manual/examples/sigusr.c: Likewise.
37785 * manual/examples/stpcpy.c: Likewise.
37786 * manual/examples/strdupa.c: Likewise.
37787 * manual/examples/strftim.c: Likewise.
37788 * manual/examples/strncat.c: Likewise.
37789 * manual/examples/subopt.c: Likewise.
37790 * manual/examples/swapcontext.c: Likewise.
37791 * manual/examples/termios.c: Likewise.
37792 * manual/examples/testopt.c: Likewise.
37793 * manual/examples/testpass.c: Likewise.
37794 * manual/examples/timeval_subtract.c: Likewise.
37797 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37799 * manual/timeval_subtract.c.texi: ... here, new file.
37801 2012-03-02 David S. Miller <davem@davemloft.net>
37803 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37805 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37808 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37809 (__sin): Save and restore rounding mode and use round-to-nearest
37810 for all computations.
37811 (__cos): Save and restore rounding mode and use round-to-nearest
37812 for all computations.
37813 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37815 (tan): Save and restore rounding mode and use round-to-nearest for
37817 * math/libm-test.inc (cos_test_tonearest): New function.
37818 (cos_test_towardzero): Likewise.
37819 (cos_test_downward): Likewise.
37820 (cos_test_upward): Likewise.
37821 (sin_test_tonearest): Likewise.
37822 (sin_test_towardzero): Likewise.
37823 (sin_test_downward): Likewise.
37824 (sin_test_upward): Likewise.
37825 (tan_test_tonearest): Likewise.
37826 (tan_test_towardzero): Likewise.
37827 (tan_test_downward): Likewise.
37828 (tan_test_upward): Likewise.
37829 (main): Call the new functions.
37830 * sysdeps/i386/fpu/libm-test-ulps: Update.
37831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37834 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37835 small n, then large n, before computing and testing k+n.
37836 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37837 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37839 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37841 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37842 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37843 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37844 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37845 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37846 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37847 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37848 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37849 * math/libm-test.inc (scalbn_test): Add more tests.
37850 (scalbln_test): Likewise.
37852 * manual/filesys.texi (mode_t): Describe constraints on size and
37853 signedness, not exact equivalence to a particular type.
37855 (ino64_t): Likewise.
37857 (nlink_t): Likewise.
37858 (blkcnt_t): Likewise.
37859 (blkcnt64_t): Likewise.
37860 * manual/llio.texi (off_t): Likewise.
37863 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37864 (__ieee754_exp): Save and restore rounding mode and use
37865 round-to-nearest for all computations.
37866 * math/libm-test.inc (exp_test_tonearest): New function.
37867 (exp_test_towardzero): Likewise.
37868 (exp_test_downward): Likewise.
37869 (exp_test_upward): Likewise.
37870 (main): Call the new functions.
37871 * sysdeps/i386/fpu/libm-test-ulps: Update.
37872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37874 2012-03-01 Chris Demetriou <cgd@google.com>
37876 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37877 have predictable order.
37879 2012-03-01 David S. Miller <davem@davemloft.net>
37881 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37883 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37884 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37885 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37886 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37888 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37889 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37890 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37892 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37893 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37894 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37895 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37896 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37900 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37901 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37902 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37904 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37905 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37906 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37907 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37908 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37909 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37910 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37911 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37912 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37913 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37914 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37915 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37916 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37917 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37918 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37920 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37921 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37922 * sysdeps/sparc/elf/configure: Regenerated.
37924 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37926 * configure.in (AS, LD): Require binutils 2.20 or later.
37927 * configure: Regenerated.
37928 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37929 as required minimum version.
37930 * INSTALL: Regenerated.
37934 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37935 before squaring exponent.
37936 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37937 bottom long double and 27 bits of top long double before squaring
37939 * math/libm-test.inc (erfc_test): Add more tests.
37940 * sysdeps/i386/fpu/libm-test-ulps: Update.
37941 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37944 2012-03-01 Kai Tietz <ktietz@redhat.com>
37946 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37947 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37948 containing bit-fields.
37949 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37950 * soft-fp/single.h (_FP_UNION_S): Likewise.
37951 * soft-fp/double.h (_FP_UNION_D): Likewise.
37953 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37956 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37957 not include ../strcmp.S.
37958 [USE_AS_STRNCASECMP_L]: Likewise.
37959 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37960 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37961 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37962 (__strncasecmp_l_ia32): Define as alias to
37963 __strncasecmp_l_nonascii.
37966 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37967 * sysdeps/i386/fpu/libm-test-ulps: Update.
37968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37970 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37973 2012-02-29 Jeff Law <law@redhat.com>
37975 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37976 out of bounds read.
37978 2012-02-29 Marek Polacek <polacek@redhat.com>
37981 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37982 * elf/Makefile: Add rules to run tst-unused-dep.out.
37984 2012-02-28 David S. Miller <davem@davemloft.net>
37986 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37987 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37988 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37989 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37990 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37991 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37993 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37995 * math/libm-test.inc (llround_test): Move one test from
37996 lround_test. Use TEST_f_L in moved test.
37997 (lround_test): Move misplaced test to llround_test. Add testcase
38000 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38002 * sysdeps/x86_64/fpu/e_expf.S: New file.
38003 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38005 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38008 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38009 of remain_len that may cause incomplete multi-byte character and
38011 * posix/bug-regex33.c: New file.
38012 * posix/Makefile (tests): Add bug-regex33.
38014 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38016 * manual/macros.texi: New file.
38017 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38018 * manual/libc.texinfo: Include macros.texi.
38019 * manual/creatute.texi: Likewise.
38020 * manual/install.texi: Likewise.
38021 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38022 @glibcadj{} in references to the GNU C Library.
38023 * manual/charset.texi: Likewise.
38024 * manual/conf.texi: Likewise.
38025 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38026 when not using those macros.
38027 * manual/creature.texi: Likewise.
38028 * manual/crypt.texi: Likewise.
38029 * manual/errno.texi: Likewise.
38030 * manual/filesys.texi: Likewise.
38031 * manual/header.texi: Likewise.
38032 * manual/install.texi: Likewise.
38033 * manual/intro.texi: Likewise.
38034 * manual/io.texi: Likewise.
38035 * manual/job.texi: Likewise.
38036 * manual/lang.texi: Likewise.
38037 * manual/libc.texiinfo: Likewise.
38038 * manual/llio.texi: Likewise.
38039 * manual/locale.texi: Likewise.
38040 * manual/maint.texi: Likewise.
38041 * manual/math.texi: Likewise.
38042 * manual/memory.texi: Likewise.
38043 * manual/message.texi: Likewise.
38044 * manual/nss.texi: Likewise.
38045 * manual/pattern.texi: Likewise.
38046 * manual/process.texi: Likewise.
38047 * manual/resource.texi: Likewise.
38048 * manual/search.texi: Likewise.
38049 * manual/setjmp.texi: Likewise.
38050 * manual/signal.texi: Likewise.
38051 * manual/socket.texi: Likewise.
38052 * manual/startup.texi: Likewise.
38053 * manual/stdio.texi: Likewise.
38054 * manual/string.texi: Likewise.
38055 * manual/sysinfo.texi: Likewise.
38056 * manual/syslog.texi: Likewise.
38057 * manual/terminal.texi: Likewise.
38058 * manual/time.texi: Likewise.
38059 * manual/users.texi: Likewise.
38060 * INSTALL: Regenerated.
38061 * NOTES: Regenerated.
38062 * sysdeps/gnu/errlist.c: Regenerated.
38064 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38066 * include/dirent.h: Include <dirstream.h> before
38069 2012-02-28 David S. Miller <davem@davemloft.net>
38071 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38072 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38073 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38074 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38076 2012-02-27 David S. Miller <davem@davemloft.net>
38078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38080 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38081 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38084 frame pointer instead of stack pointer relative arg slot.
38085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38086 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38087 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38089 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38092 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38094 2012-02-27 David S. Miller <davem@davemloft.net>
38096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38100 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38101 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38102 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38103 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38105 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38107 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38108 later. Allow versions 5-9.
38109 * configure: Regenerated.
38110 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38111 required minimum version and 4.6 as recommended version. Do not
38112 mention bugs in GCC 2.7 and 2.8.
38113 * INSTALL: Regenerated.
38115 2012-02-27 David S. Miller <davem@davemloft.net>
38117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38121 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38122 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38123 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38124 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38126 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38127 manipulate bits before adding and subtracting TWO112[sx].
38128 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38130 2012-02-27 Roland McGrath <roland@hack.frob.com>
38133 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38134 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38135 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38136 being in POSIX, because they are in 1003.1-2008.
38138 * rt/tst-aio.c: Include <fcntl.h>.
38139 * rt/tst-aio7.c: Likewise.
38140 * rt/tst-aio64.c: Likewise.
38142 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38144 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38146 * manual/install.texi (--with-headers): Describe headers as
38147 interface headers, not private headers.
38148 (Specific advice for GNU/Linux systems): Describe use of headers
38149 from "make headers_install", not private headers from older
38151 * INSTALL: Regenerated.
38152 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38154 * sysdeps/unix/sysv/linux/configure: Regenerated.
38156 * manual/llio.texi (fclean): Remove documentation.
38158 * manual/Makefile (libc-texi-generated): New variable. Include
38160 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38161 $(libc-texi-generated), not duplicated list of files.
38162 (version.texi, stamp-version): New rules.
38163 (realclean): Remove $(libc-texi-generated), not individual files
38164 from that list. Do not remove dir-add.texinfo.
38165 * manual/libc.texinfo: Comment out uses of edition numbers and
38166 references to printed manual. Remove last-updated dates.
38167 (EDITION): Comment out.
38169 (VERSION, UPDATED): Remove.
38170 (version.texi): Include.
38172 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38174 * sysdeps/posix/spawni.c: Include <signal.h>.
38175 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38176 * sysdeps/pthread/aio_fsync.c: Likewise.
38178 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38180 * conform/Makefile (tests): Run only when not cross-compiling and
38181 when fast-check is not defined.
38183 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38184 * conform/data/limits.h-data: Fixes for POSIX2008.
38185 * conform/run-conformtest.sh: Run all tests.
38186 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38188 * include/bits/dlfcn.h: Likewise.
38189 * include/langinfo.h: Likewise.
38190 * include/monetary.h: Likewise.
38191 * include/sys/poll.h: Likewise.
38193 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38195 * posix/spawn.h: Define __need_sigset_t.
38196 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38197 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38198 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38199 to get sigevent_t only.
38200 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38201 only for __USE_GNU.
38202 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38203 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38204 process_vm_writev only for __USE_GNU.
38205 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38207 * conform/Makefile: For now ignore errors from run-conformtest.
38208 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38209 POSIX to avoid namespace pollution. Don't prepend headers.
38210 * conform/data/aio.h-data: Fixes for POSIX testing.
38211 * conform/data/fcntl.h-data: Likewise.
38212 * conform/data/glob.h-data: Likewise.
38213 * conform/data/grp.h-data: Likewise.
38214 * conform/data/pthread.h-data: Likewise.
38215 * conform/data/pwd.h-data: Likewise.
38216 * conform/data/signal.h-data: Likewise.
38217 * conform/data/spawn.h-data: Likewise.
38218 * conform/data/stdio.h-data: Likewise.
38219 * conform/data/stdlib.h-data: Likewise.
38220 * conform/data/stropts.h-data: Likewise.
38221 * conform/data/sys/mman.h-data: Likewise.
38222 * conform/data/sys/stat.h-data: Likewise.
38223 * conform/data/sys/types.h-data: Likewise.
38224 * conform/data/sys/wait.h-data: Likewise.
38225 * conform/data/time.h-data: Likewise.
38226 * conform/data/unistd.h-data: Likewise.
38227 * conform/data/utime.h-data: Likewise.
38229 * io/sys/stat.h: fchmod was always in POSIX.
38230 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38231 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38232 * rt/aio.h: Define __need_timespec before including <time.h>.
38233 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38234 struct. Add forward declaration of pthread_attr_t and use it in
38236 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38237 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38238 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38239 always remove CLK_TCK definition.
38241 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38243 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38245 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38247 * conform/run-conformtest.sh: New file.
38248 * conform/Makefile: Run run-conformtest for tests.
38249 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38252 * conform/data/uchar.h-data: New file.
38253 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38254 * conform/data/arpa/inet.h-data: Likewise.
38255 * conform/data/assert.h-data: Likewise.
38256 * conform/data/complex.h-data: Likewise.
38257 * conform/data/cpio.h-data: Likewise.
38258 * conform/data/ctype.h-data: Likewise.
38259 * conform/data/dirent.h-data: Likewise.
38260 * conform/data/dlfcn.h-data: Likewise.
38261 * conform/data/errno.h-data: Likewise.
38262 * conform/data/fcntl.h-data: Likewise.
38263 * conform/data/float.h-data: Likewise.
38264 * conform/data/fmtmsg.h-data: Likewise.
38265 * conform/data/fnmatch.h-data: Likewise.
38266 * conform/data/ftw.h-data: Likewise.
38267 * conform/data/glob.h-data: Likewise.
38268 * conform/data/grp.h-data: Likewise.
38269 * conform/data/iconv.h-data: Likewise.
38270 * conform/data/inttypes.h-data: Likewise.
38271 * conform/data/langinfo.h-data: Likewise.
38272 * conform/data/libgen.h-data: Likewise.
38273 * conform/data/limits.h-data: Likewise.
38274 * conform/data/locale.h-data: Likewise.
38275 * conform/data/math.h-data: Likewise.
38276 * conform/data/monetary.h-data: Likewise.
38277 * conform/data/mqueue.h-data: Likewise.
38278 * conform/data/ndbm.h-data: Likewise.
38279 * conform/data/net/if.h-data: Likewise.
38280 * conform/data/netdb.h-data: Likewise.
38281 * conform/data/netinet/in.h-data: Likewise.
38282 * conform/data/nl_types.h-data: Likewise.
38283 * conform/data/poll.h-data: Likewise.
38284 * conform/data/pthread.h-data: Likewise.
38285 * conform/data/pwd.h-data: Likewise.
38286 * conform/data/regex.h-data: Likewise.
38287 * conform/data/sched.h-data: Likewise.
38288 * conform/data/search.h-data: Likewise.
38289 * conform/data/semaphore.h-data: Likewise.
38290 * conform/data/setjmp.h-data: Likewise.
38291 * conform/data/signal.h-data: Likewise.
38292 * conform/data/spawn.h-data: Likewise.
38293 * conform/data/stdarg.h-data: Likewise.
38294 * conform/data/stdio.h-data: Likewise.
38295 * conform/data/stdlib.h-data: Likewise.
38296 * conform/data/string.h-data: Likewise.
38297 * conform/data/strings.h-data: Likewise.
38298 * conform/data/stropts.h-data: Likewise.
38299 * conform/data/sys/ipc.h-data: Likewise.
38300 * conform/data/sys/mman.h-data: Likewise.
38301 * conform/data/sys/msg.h-data: Likewise.
38302 * conform/data/sys/resource.h-data: Likewise.
38303 * conform/data/sys/select.h-data: Likewise.
38304 * conform/data/sys/sem.h-data: Likewise.
38305 * conform/data/sys/shm.h-data: Likewise.
38306 * conform/data/sys/socket.h-data: Likewise.
38307 * conform/data/sys/stat.h-data: Likewise.
38308 * conform/data/sys/statvfs.h-data: Likewise.
38309 * conform/data/sys/time.h-data: Likewise.
38310 * conform/data/sys/timeb.h-data: Likewise.
38311 * conform/data/sys/times.h-data: Likewise.
38312 * conform/data/sys/types.h-data: Likewise.
38313 * conform/data/sys/uio.h-data: Likewise.
38314 * conform/data/sys/un.h-data: Likewise.
38315 * conform/data/sys/utsname.h-data: Likewise.
38316 * conform/data/sys/wait.h-data: Likewise.
38317 * conform/data/syslog.h-data: Likewise.
38318 * conform/data/tar.h-data: Likewise.
38319 * conform/data/termios.h-data: Likewise.
38320 * conform/data/utime.h-data: Likewise.
38321 * conform/data/utmpx.h-data: Likewise.
38322 * conform/data/varargs.h-data: Likewise.
38323 * conform/data/wchar.h-data: Likewise.
38324 * conform/data/wctype.h-data: Likewise.
38325 * conform/data/wordexp.h-data: Likewise.
38327 * include/stropts.h: New file.
38328 * include/uchar.h: New file.
38329 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38330 * include/assert.h: Likewise.
38331 * include/ctype.h: Likewise.
38332 * include/dirent.h: Likewise.
38333 * include/dlfcn.h: Likewise.
38334 * include/fcntl.h: Likewise.
38335 * include/fnmatch.h: Likewise.
38336 * include/glob.h: Likewise.
38337 * include/grp.h: Likewise.
38338 * include/libio.h: Likewise.
38339 * include/locale.h: Likewise.
38340 * include/math.h: Likewise.
38341 * include/net/if.h: Likewise.
38342 * include/netdb.h: Likewise.
38343 * include/netinet/in.h: Likewise.
38344 * include/pthread.h: Likewise.
38345 * include/pwd.h: Likewise.
38346 * include/regex.h: Likewise.
38347 * include/sched.h: Likewise.
38348 * include/search.h: Likewise.
38349 * include/setjmp.h: Likewise.
38350 * include/signal.h: Likewise.
38351 * include/stdio.h: Likewise.
38352 * include/stdlib.h: Likewise.
38353 * include/string.h: Likewise.
38354 * include/sys/cdefs.h: Likewise.
38355 * include/sys/mman.h: Likewise.
38356 * include/sys/msg.h: Likewise.
38357 * include/sys/resource.h: Likewise.
38358 * include/sys/select.h: Likewise.
38359 * include/sys/socket.h: Likewise.
38360 * include/sys/stat.h: Likewise.
38361 * include/sys/statvfs.h: Likewise.
38362 * include/sys/time.h: Likewise.
38363 * include/sys/times.h: Likewise.
38364 * include/sys/uio.h: Likewise.
38365 * include/sys/utsname.h: Likewise.
38366 * include/sys/wait.h: Likewise.
38367 * include/termios.h: Likewise.
38368 * include/time.h: Likewise.
38369 * include/ulimit.h: Likewise.
38370 * include/unistd.h: Likewise.
38371 * include/utime.h: Likewise.
38372 * include/wchar.h: Likewise.
38373 * include/wctype.h: Likewise.
38374 * include/wordexp.h: Likewise.
38376 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38378 * time/time.h: TIME_UTC must be a macro.
38379 Make timespec_get available for ISO C11 only as well.
38381 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38383 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38384 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38386 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38388 * configure.in: Use -o not -a in test for unsupported multi-arch.
38390 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38392 * manual/texinfo.tex: Update to version 2012-01-19.16.
38394 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38396 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38398 2012-02-24 Roland McGrath <roland@hack.frob.com>
38401 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38402 * manual/fdl-1.3.texi: New file.
38403 * manual/fdl-1.1.texi: File removed.
38406 * manual/libc.texinfo (FDL_VERSION): New @set.
38407 Use it for mention of FDL in cover text.
38408 (Documentation License): Use it in @include file name.
38410 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38411 Roland McGrath <roland@hack.frob.com>
38414 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38415 (not LONG_LONG_MAX and LONG_LONG_MIN.
38416 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38417 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38419 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38421 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38425 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38426 manipulate bits before adding and subtracting TWO23[sx].
38427 * math/libm-test.inc (nearbyint_test): Add more tests.
38429 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38432 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38433 bits before adding and subtracting TWO23[sx].
38434 * math/libm-test.inc (rint_test): Add more tests.
38435 (rint_test_tonearest): Likewise.
38436 (rint_test_towardzero): Likewise.
38437 (rint_test_downward): Likewise.
38438 (rint_test_upward: Likewise.
38440 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38443 * include/stdc-predef.h: New file. Extracted from features.h.
38444 * include/features.h: Include stdc-predef.h.
38445 * Makefile (headers): Add stdc-predef.h.
38446 * CONFORMANCE (Compiler limitations): Update.
38448 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38450 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38452 2012-02-21 David S. Miller <davem@davemloft.net>
38454 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38455 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38457 2012-02-20 David S. Miller <davem@davemloft.net>
38459 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38460 using a normal save/restore sequence, rather than allocating a
38461 dummy stack frame just to store a frame pointer and restore.
38462 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38464 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38466 * manual/install.texi: Fix stray word in line-wrapped comment.
38468 2012-02-20 David S. Miller <davem@davemloft.net>
38470 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38471 both binutils and gcc support GOTDATA.
38473 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38474 "rd %pc" in the PIC register setup sequences.
38476 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38477 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38478 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38479 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38480 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38481 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38482 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38483 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38484 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38485 (SYSCALL_ERROR_HANDLER): Likewise.
38486 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38487 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38489 (SYSCALL_ERROR_HANDLER): Likewise.
38491 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38492 (HAVE_GCC_GOTDATA): New.
38493 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38494 relocation support in both binutils and gcc.
38495 * sysdeps/sparc/elf/configure: Regenerate.
38497 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38498 * sysdeps/sparc/sparc32/elf/configure: Delete.
38499 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38500 * sysdeps/sparc/sparc64/elf/configure: Delete.
38501 * sysdeps/sparc/elf/configure.in: New file.
38502 * sysdeps/sparc/elf/configure: Generate.
38504 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38505 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38506 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38507 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38508 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38510 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38512 * manual/install.texi: Do not mention specific glibc version
38514 * manual/libc.texinfo (VERSION, UPDATED): Update.
38515 (@copying): Use @copyright{} and range of years.
38517 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38520 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38521 [crti.S not in sysdirs] (generated): Do not append.
38522 [crti.S not in sysdirs] (omit-deps): Likewise.
38523 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38524 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38525 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38526 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38527 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38529 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38530 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38531 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38532 * csu/defs.awk: Remove file.
38533 * sysdeps/generic/initfini.c: Likewise.
38534 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38536 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38539 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38541 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38542 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38543 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38544 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38545 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38546 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38548 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38549 (__EPOLL_PACKED): Define to empty if not defined by
38551 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38555 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38557 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38558 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38559 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38560 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38562 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38566 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38568 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38570 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38571 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38572 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38575 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38577 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38578 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38580 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38582 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38583 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38585 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38587 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38590 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38592 * math/w_acos.c: Use non-signaling floating-point comparisons.
38593 * math/w_acosf.c: Likewise.
38594 * math/w_acosh.c: Likewise.
38595 * math/w_acoshf.c: Likewise.
38596 * math/w_acoshl.c: Likewise.
38597 * math/w_acosl.c: Likewise.
38598 * math/w_asin.c: Likewise.
38599 * math/w_asinf.c: Likewise.
38600 * math/w_asinl.c: Likewise.
38601 * math/w_atanh.c: Likewise.
38602 * math/w_atanhf.c: Likewise.
38603 * math/w_atanhl.c: Likewise.
38604 * math/w_exp2.c: Likewise.
38605 * math/w_exp2f.c: Likewise.
38606 * math/w_exp2l.c: Likewise.
38607 * math/w_j0.c: Likewise.
38608 * math/w_j0f.c: Likewise.
38609 * math/w_j0l.c: Likewise.
38610 * math/w_j1.c: Likewise.
38611 * math/w_j1f.c: Likewise.
38612 * math/w_j1l.c: Likewise.
38613 * math/w_jn.c: Likewise.
38614 * math/w_jnf.c: Likewise.
38615 * math/w_log.c: Likewise.
38616 * math/w_log10.c: Likewise.
38617 * math/w_log10f.c: Likewise.
38618 * math/w_log10l.c: Likewise.
38619 * math/w_log2.c: Likewise.
38620 * math/w_log2f.c: Likewise.
38621 * math/w_log2l.c: Likewise.
38622 * math/w_logf.c: Likewise.
38623 * math/w_logl.c: Likewise.
38624 * math/w_sqrt.c: Likewise.
38625 * math/w_sqrtf.c: Likewise.
38626 * math/w_sqrtl.c: Likewise.
38627 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38628 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38629 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38630 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38631 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38633 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38636 * manual/string.texi (strnlen): Use correct parameter name in
38637 equivalent expression.
38639 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38642 * manual/users.texi (seteuid): Consistently use neweuid for
38645 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38648 * manual/nss.texi (Services in the NSS configuration): Correct
38649 list of services in example configuration file.
38651 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38654 * manual/arith.texi: Remove statements about negative zero
38655 behaving identically to zero.
38657 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38660 * manual/install.texi: Do not document upgrading from libc5.
38662 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38665 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38667 2012-02-18 David S. Miller <davem@davemloft.net>
38669 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38670 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38671 %o7 across the call.
38672 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38674 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38675 SETUP_PIC_REG_LEAF.
38676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38677 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38678 * sysdeps/sparc/crtn.S: Likewise.
38680 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38682 * aout/Makefile: Remove.
38684 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38687 * manual/examples/argp-ex1.c (main): Format definition in GNU
38689 * manual/examples/argp-ex2.c (main): Likewise.
38690 * manual/examples/argp-ex3.c (main): Likewise.
38691 * manual/examples/argp-ex4.c (main): Likewise.
38692 * manual/examples/longopt.c (main): Use new-style prototype
38694 * manual/examples/strncat.c (main): Specify return type and use
38695 (void) for arguments.
38696 * manual/examples/subopt.c (main): Use char **argv argument.
38698 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38701 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38704 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38707 * manual/string.texi (strchr): Change when strchrnul is
38710 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38713 * manual/locale.texi (setlocale): Document LOCPATH.
38715 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38718 * manual/process.texi (execle): Move @dots{} before last argument.
38720 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38723 * manual/charset.texi (Generic Charset Conversion): Fix typo
38724 (LC_TYPE -> LC_CTYPE).
38726 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38729 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38730 (scalbnf): Likewise.
38731 (scalbnl): Likewise.
38732 (scalbln): Likewise.
38733 (scalblnf): Likewise.
38734 (scalblnl): Likewise.
38735 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38736 (vwarnx): Likewise.
38739 * manual/filesys.texi (telldir): Use braces around return type.
38740 * manual/llio.texi (mmap): Add space after comma.
38741 (mmap64): Likewise.
38742 * manual/math.texi (jn): Use @var{} on parameter names.
38748 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38750 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38752 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38753 (sched_get_priority_max): Likewise.
38754 * manual/signal.texi (sigvec): Add space after comma.
38755 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38757 (if_indextoname): Likewise.
38758 (if_freenameindex): Likewise.
38759 (sendto): Use ',' instead of '.' in prototype.
38760 * manual/startup.texi (syscall): Use @dots{} instead of literal
38762 * manual/stdio.texi (__fpending): Separate initial words of
38763 paragraph from @deftypefun line.
38764 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38766 (vsyslog): Use @var{} on parameter names.
38767 * manual/terminal.texi (stty): Use @var{} on parameter names.
38768 * manual/users.texi (getutmp): Use @var{} on parameter names.
38769 (getutmpx): Likewise.
38771 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38774 * manual/stdio.texi (fopen): Fix typos in description of
38777 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38780 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38781 get clock_id definition.
38783 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38786 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38787 (madvise): Cast every argument to void on its own.
38789 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38792 * manual/startup.texi (Exit Status): Fix typo.
38794 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38797 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38798 * manual/examples/argp-ex2.c: Likewise.
38799 * manual/examples/argp-ex3.c: Likewise.
38801 2012-02-16 Richard Henderson <rth@redhat.com>
38803 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38804 * sysdeps/s390/s390-32/initfini.c: Remove.
38805 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38806 * sysdeps/s390/s390-64/initfini.c: Remove.
38808 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38810 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38811 compiler output for sysdeps/generic/initfini.c.
38812 * sysdeps/sh/elf/initfini.c: Remove file.
38814 2012-02-16 David S. Miller <davem@davemloft.net>
38817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38819 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38820 * sysdeps/sparc/crti.S: New file.
38821 * sysdeps/sparc/crtn.S: New file.
38822 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38823 * sysdeps/sparc/sparc64/Makefile: Likewise.
38825 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38828 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38830 2012-02-15 Roland McGrath <roland@hack.frob.com>
38833 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38835 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38836 (write, read, close): Likewise.
38837 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38839 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38841 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38842 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38843 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38844 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38846 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38850 2012-02-14 Marek Polacek <polacek@redhat.com>
38852 * sysdeps/x86_64/crti.S: New file.
38853 * sysdeps/x86_64/crtn.S: New file.
38854 * sysdeps/x86_64/elf/initfini.c: Remove file.
38856 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38858 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38859 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38860 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38861 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38863 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38867 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38869 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38870 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38871 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38872 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38874 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38878 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38880 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38881 __feraiseexcept instead of feraiseexcept.
38883 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38884 nanosleep invocations.
38885 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38886 strings, and add error checking for a nanosleep invocations.
38888 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38890 Replace FSF snail mail address with URLs, as per GNU coding standards.
38891 Most of the snail mail addresses were wrong anyway, and omitting
38892 them makes the source code easier to maintain. Almost all of the
38893 changes are to license notices and to locale LC_IDENTIFICATION
38894 addresses, except for this one:
38895 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38896 not its snail mail address.
38898 2012-02-09 Richard Henderson <rth@twiddle.net>
38900 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38901 of kernel-features.h.
38903 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38905 2012-02-08 Marek Polacek <polacek@redhat.com>
38907 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38908 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38909 * sysdeps/gnu/_G_config.h: Likewise.
38910 * sysdeps/generic/_G_config.h: Likewise.
38912 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38914 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38918 * sysdeps/powerpc/powerpc32/crti.S: New file.
38919 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38920 * sysdeps/powerpc/powerpc64/crti.S: New file.
38921 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38923 * Makeconfig (have-initfini): Don't set.
38924 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38925 * configure.in (nopic_initfini): Don't substitute.
38926 * config.h.in (HAVE_INITFINI): Don't #undef.
38927 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38928 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38930 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38932 Support crti.S and crtn.S provided directly by architectures.
38933 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38934 [crti.S in sysdirs] (omit-deps): Likewise.
38935 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38936 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38937 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38938 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38939 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38940 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38941 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38942 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38943 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38944 compiler output for sysdeps/generic/initfini.c.
38945 * sysdeps/i386/elf/Makefile: Remove file.
38946 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38948 2012-02-07 Marek Polacek <polacek@redhat.com>
38950 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38951 * sysdeps/gnu/_G_config.h: Likewise.
38952 * sysdeps/mach/hurd/_G_config.h: Likewise.
38954 2012-02-07 Marek Polacek <polacek@redhat.com>
38956 * math/Makefile (tests): Add tst-CMPLX2.
38957 * math/tst-CMPLX2.c: New file.
38959 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38961 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38963 * math/libm-test.inc (jn_test): Add missing L suffix.
38965 2012-02-06 Marek Polacek <polacek@redhat.com>
38967 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38968 * sysdeps/i386/fpu/e_powf.S: Likewise.
38969 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38970 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38971 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38972 * sysdeps/i386/fpu/e_pow.S: Likewise.
38973 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38974 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38975 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38976 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38977 * sysdeps/i386/fpu/e_log2.S: Likewise.
38978 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38979 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38980 * sysdeps/i386/fpu/e_powl.S: Likewise.
38981 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38982 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38983 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38984 * sysdeps/i386/fpu/e_logl.S: Likewise.
38985 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38986 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38987 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38988 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38989 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38990 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38991 * sysdeps/i386/fpu/e_log.S: Likewise.
38992 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38993 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38994 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38995 * sysdeps/i386/fpu/e_logf.S: Likewise.
38996 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38997 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38998 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38999 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39000 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39001 * sysdeps/i386/fpu/e_log10.S: Likewise.
39002 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39003 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39004 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39005 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39006 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39007 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39008 * sysdeps/i386/asm-syntax.h: Likewise.
39009 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39010 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39011 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39012 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39013 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39014 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39015 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39016 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39017 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39018 * sysdeps/powerpc/sysdep.h: Likewise.
39019 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39020 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39022 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39025 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39027 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39029 * sysdeps/i386/sysdep.h: Include <features.h>.
39030 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39033 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39035 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39037 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39040 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39042 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39043 (SETUP_PIC_REG): Use GET_PC_THUNK.
39044 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39047 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39049 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39050 for non-PIC compilation.
39051 (SETUP_PIC_REG): Add .p2align directive.
39052 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39053 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39054 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39055 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39056 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39057 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39058 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39059 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39060 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39061 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39062 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39063 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39064 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39065 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39066 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39067 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39068 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39069 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39070 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39071 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39072 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39073 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39074 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39075 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39076 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39077 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39078 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39079 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39080 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39081 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39082 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39083 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39084 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39085 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39086 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39087 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39088 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39089 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39090 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39091 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39092 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39094 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39096 * math/tst-CMPLX.c: Include <stdio.h>.
39098 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39100 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39102 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39103 * sysdeps/sparc/bits/mathdef.h: Likewise.
39105 2012-01-31 Marek Polacek <polacek@redhat.com>
39107 * libio/libio.h: Don't define _PARAMS.
39108 * locale/programs/config.h: Don't define PARAMS.
39109 * stdlib/strtol_l.c: Likewise.
39110 (__strtol_l): Remove PARAMS from the prototype.
39112 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39114 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39115 names. Just use the correct names. Remove unnecessary wrapper
39117 * malloc/arena.c: Likewise.
39118 * malloc/hooks.c: Likewise.
39120 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39121 ARENA_TEST says not to. Simplify test for creation of a new arena.
39122 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39124 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39126 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39128 (update_get_addr): New function.
39129 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39130 GET_ADDR_MODULE parameter.
39132 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39134 * crypt/cert.c: Remove __STDC__ conditionals.
39135 * crypt/crypt-entry.c: Likewise.
39136 * crypt/crypt_util.c: Likewise.
39137 * libio/filedoalloc.c: Likewise.
39138 * libio/fileops.c: Likewise.
39139 * libio/genops.c: Likewise.
39140 * libio/iofclose.c: Likewise.
39141 * libio/iofdopen.c: Likewise.
39142 * libio/iofopen.c: Likewise.
39143 * libio/iofopen64.c: Likewise.
39144 * libio/iogetdelim.c: Likewise.
39145 * libio/iopopen.c: Likewise.
39146 * libio/obprintf.c: Likewise.
39147 * libio/oldfileops.c: Likewise.
39148 * libio/oldiofclose.c: Likewise.
39149 * libio/oldiofdopen.c: Likewise.
39150 * libio/oldiofopen.c: Likewise.
39151 * libio/oldiopopen.c: Likewise.
39152 * libio/wfiledoalloc.c: Likewise.
39153 * libio/wgenops.c: Likewise.
39154 * locale/programs/xmalloc.c: Likewise.
39155 * misc/syslog.c: Likewise.
39156 * stdio-common/xbug.c: Likewise.
39157 * string/memchr.c: Likewise.
39158 * string/memcmp.c: Likewise.
39159 * string/memrchr.c: Likewise.
39160 * string/rawmemchr.c: Likewise.
39161 * sysdeps/posix/getcwd.c: Likewise.
39162 * time/strftime_l.c: Likewise.
39164 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39166 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39167 * config.make.in (config-cflags-sse2avx): Define.
39168 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39171 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39173 * scripts/config.guess: Update from upstream config git repository.
39174 * scripts/config.sub: Likewise.
39176 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39178 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39180 (R_TILEPRO_*, R_TILEGX_*): New macros.
39182 * scripts/firstversions.awk: Fix bug in version range handling.
39184 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39186 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39188 * include/sys/epoll.h: New file.
39189 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39192 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39194 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39195 Avoid unnecessary __WORDSIZE == 64 test.
39196 (fmaxf): Use VEX format if possible.
39201 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39202 * math/math_private.h: Remove libc_fegetround* and
39204 * sysdeps/i386/configure.in: Check for -msse2avx.
39205 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39206 also if SSE2AVX is defined.
39207 Remove libc_fegetround* and libc_fesetround*.
39208 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39209 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39210 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39212 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39213 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39214 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39216 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39218 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39220 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39222 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39224 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39226 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39229 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39231 * Makeconfig (libm): Define.
39232 * elf/Makefile: Add rules to build and run tst-relsort1.
39233 * elf/tst-relsort1.c: New file.
39234 * elf/tst-relsort1mod1.c: New file.
39235 * elf/tst-relsort1mod2.c: New file.
39237 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39239 * math/s_ldexp.c: Remove __STDC__ conditionals.
39240 * math/s_ldexpf.c: Likewise.
39241 * math/s_ldexpl.c: Likewise.
39242 * math/s_nextafter.c: Likewise.
39243 * math/s_nexttowardf.c: Likewise.
39244 * math/s_significand.c: Likewise.
39245 * math/s_significandf.c: Likewise.
39246 * math/s_significandl.c: Likewise.
39247 * math/w_jnl.c: Likewise.
39248 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39249 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39250 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39251 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39252 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39253 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39254 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39255 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39256 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39257 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39258 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39259 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39260 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39261 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39262 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39263 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39264 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39265 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39266 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39267 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39268 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39269 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39270 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39271 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39272 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39273 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39274 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39275 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39276 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39277 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39278 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39279 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39280 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39281 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39282 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39283 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39284 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39285 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39286 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39287 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39288 * sysdeps/ieee754/k_standard.c: Likewise.
39289 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39290 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39291 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39292 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39293 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39294 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39295 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39296 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39297 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39298 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39299 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39300 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39301 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39302 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39303 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39304 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39305 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39306 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39307 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39308 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39309 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39310 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39311 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39312 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39313 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39314 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39315 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39316 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39317 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39318 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39319 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39320 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39321 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39322 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39323 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39324 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39325 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39326 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39327 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39328 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39329 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39331 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39332 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39333 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39334 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39335 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39336 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39337 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39338 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39339 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39340 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39341 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39342 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39343 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39344 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39345 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39346 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39347 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39348 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39349 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39350 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39351 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39352 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39353 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39354 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39355 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39356 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39357 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39358 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39359 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39360 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39361 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39362 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39363 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39364 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39365 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39366 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39367 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39368 * sysdeps/ieee754/s_matherr.c: Likewise.
39369 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39370 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39371 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39372 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39374 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39376 * crypt/md5.h: Remove __STDC__ conditionals.
39377 * libio/libioP.h: Likewise.
39378 * locale/programs/config.h: Likewise.
39379 * sysdeps/generic/sysdep.h: Likewise.
39380 * sysdeps/i386/asm-syntax.h: Likewise.
39381 * sysdeps/s390/asm-syntax.h: Likewise.
39382 * sysdeps/unix/sysdep.h: Likewise.
39383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39386 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39388 * libio/libio.h: Remove __STDC__ conditionals.
39389 * malloc/obstack.h: Likewise.
39390 * math/complex.h: Likewise.
39391 * math/math.h: Likewise.
39392 * sysdeps/generic/_G_config.h: Likewise.
39393 * sysdeps/gnu/_G_config.h: Likewise.
39394 * sysdeps/mach/hurd/_G_config.h: Likewise.
39395 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39396 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39397 * sysdeps/sparc/bits/mathdef.h: Likewise.
39399 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39402 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39403 Clean up HAS_* macros.
39404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39405 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39407 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39409 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39410 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39411 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39412 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39413 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39415 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39417 * elf/tst-unique3.cc (gets): Remove declaration.
39418 * elf/tst-unique3lib.cc (gets): Likewise.
39419 * elf/tst-unique3lib2.cc (gets): Likewise.
39420 * elf/tst-unique4.cc (gets): Likewise.
39422 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39424 * include/stdio.h: Add C++ protection. Add gets declarations and
39426 * debug/tst-chk1.c: Don't declare gets here.
39427 * stdio-common/tst-gets.c: Likewise.
39429 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39431 * posix/glob: Remove directory.
39433 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39435 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39437 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39439 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39440 of the non-standard EPFNOSUPPORT.
39442 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39444 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39445 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39446 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39448 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39450 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39452 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39454 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39456 * nscd/grpcache.c (cache_addgr): Likewise.
39457 * nscd/hstcache.c (cache_addhst): Likewise.
39458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39459 * nscd/pwdcache.c (cache_addpw): Likewise.
39460 * nscd/servicescache.c (cache_addserv): Likewise.
39462 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39464 * malloc/malloc.c: Various cleanups.
39465 * malloc/hooks.c: Likewise.
39467 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39468 * stdlib/bug-fmtmsg1.c: New file.
39470 * stdlib/fmtmsg.c (init): Add missing unlock.
39471 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39473 2012-01-12 Marek Polacek <polacek@redhat.com>
39475 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39478 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39480 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39481 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39482 macro to ensure uniqueness of label name.
39483 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39484 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39486 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39488 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39490 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39491 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39492 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39493 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39495 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39497 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39499 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39500 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39501 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39503 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39505 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39506 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39507 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39508 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39510 * math/bits/math-finite.h: Add ldexp support.
39512 2012-01-10 Marek Polacek <polacek@redhat.com>
39514 * locale/programs/localedef.h (show_archive_content): Add noreturn
39517 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39519 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39521 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39523 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39525 * io/Makefile (headers): Add bits/poll2.h.
39527 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39530 typo #include statement.
39532 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39534 * include/sys/cdefs.h: Define __attribute_alloc_size.
39535 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39536 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39537 * elf/pldd.c: Likewise.
39538 * iconv/iconv_charmap.c: Likewise.
39539 * iconv/iconvconfig.c: Likewise.
39540 * iconv/strtab.c: Likewise.
39541 * locale/programs/locale.c: Likewise.
39542 * locale/programs/localedef.h: Likewise.
39543 * locale/programs/simple-hash.c: Likewise.
39544 * nscd/nscd.h: Likewise.
39545 * nss/makedb.c: Likewise.
39546 * sysdeps/generic/ldconfig.h: Likewise.
39547 * locale/programs/localedef.c: Remove xmalloc prototype.
39548 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39550 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39552 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39555 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39557 * math/Makefile (tests): Add tst-CMPLX.
39558 * math/tst-CMPLX.c: New file.
39560 * math/complex.h (CMPLXL): Fix typo.
39562 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39563 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39565 * debug/tst-chk1.c: Add poll and ppoll tests.
39566 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39567 * include/sys/poll.h: Add hidden proto for ppoll.
39568 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39569 * sysdeps/mach/hurd/ppoll.c: Likewise.
39570 * io/ppoll.c: Likewise.
39571 * debug/poll_chk.c: New file.
39572 * debug/ppoll_chk.c: New file.
39573 * include/bits/poll2.h: New file.
39574 * io/bits/poll2.h: New file.
39577 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39579 * configure.in: static is always set to yes. Remove.
39580 * config.make.in: Don't set build-static.
39581 * Makeconfig: Remove use of build-static.
39582 * dlfcn/Makefile: Likewise.
39583 * elf/Makefile: Likewise.
39584 * math/Makefile: Likewise.
39585 * misc/Makefile: Likewise.
39586 * nptl/Makefile: Likewise.
39587 * sysdeps/mach/hurd/Makefile: Likewise.
39589 * configure.in: PWD_P is not used anymore.
39590 * config.make.in: Remove PWD_P entry.
39592 * configure.in: Remove last remnants of RANLIB.
39593 No need to check for signed size_t anymore.
39594 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39596 Remove __builtin_expect test because we require at least gcc 3.4.
39597 * aclocal.m4: Likewise.
39599 * wcsmbs/mbrtoc16.c: Implement using towc function.
39600 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39601 * wcsmbs/wcsmbsload.c: Likewise.
39602 * iconv/gconv_simple.c: Likewise.
39603 * iconv/gconv_int.h: Likewise.
39604 * iconv/gconv_builtin.h: Likewise.
39605 * iconv/iconv_prog.c: Remove CHAR16 handling.
39607 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39609 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39611 * configure.in: Remove --with-elf and --enable-bounded options.
39612 Dont set base_machine for ia64. More non-ELF conditions removed.
39613 Remove testing and setting of leading underscore information.
39614 * config.make.in (build-bounded): Set to no.
39615 * config.h.in: Remove NO_UNDERSCORES entry.
39616 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39618 * csu/start.c: Remove !NO_UNDERSCORE code.
39619 * locale/localeinfo.h: Likewise.
39620 * sysdeps/generic/machine-gmon.h: Likewise.
39621 * sysdeps/generic/sysdep.h: Likewise.
39622 * sysdeps/i386/sysdep.h: Likewise.
39623 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39624 * sysdeps/mach/sysdep.h: Likewise.
39625 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39626 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39627 * sysdeps/sh/sysdep.h: Likewise.
39628 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39629 * sysdeps/unix/i386/sysdep.S: Likewise.
39630 * sysdeps/unix/sparc/start.c: Likewise.
39631 * sysdeps/unix/sparc/sysdep.S: Likewise.
39632 * sysdeps/unix/sparc/sysdep.h: Likewise.
39633 * sysdeps/unix/start.c: Likewise.
39634 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39635 * sysdeps/x86_64/sysdep.h: Likewise.
39637 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39640 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39642 * argp/argp-fmtstream.h: Use const instead __const.
39643 * argp/argp.h: Likewise.
39644 * assert/assert.h: Likewise.
39645 * bits/fenv.h: Likewise.
39646 * bits/sched.h: Likewise.
39647 * bits/sigset.h: Likewise.
39648 * bits/sigthread.h: Likewise.
39649 * catgets/nl_types.h: Likewise.
39650 * conform/data/pthread.h-data: Likewise.
39651 * crypt/crypt-private.h: Likewise.
39652 * crypt/crypt.h: Likewise.
39653 * crypt/crypt_util.c: Likewise.
39654 * ctype/ctype.h: Likewise.
39655 * debug/execinfo.h: Likewise.
39656 * debug/mbsnrtowcs_chk.c: Likewise.
39657 * debug/mbsrtowcs_chk.c: Likewise.
39658 * debug/wcsnrtombs_chk.c: Likewise.
39659 * debug/wcsrtombs_chk.c: Likewise.
39660 * debug/wcstombs_chk.c: Likewise.
39661 * dirent/dirent.h: Likewise.
39662 * dlfcn/dlfcn.h: Likewise.
39663 * elf/neededtest4.c: Likewise.
39664 * grp/grp.h: Likewise.
39665 * gshadow/gshadow.h: Likewise.
39666 * iconv/gconv.h: Likewise.
39667 * iconv/gconv_int.h: Likewise.
39668 * iconv/gconv_simple.c: Likewise.
39669 * iconv/iconv.h: Likewise.
39670 * iconv/loop.c: Likewise.
39671 * iconv/skeleton.c: Likewise.
39672 * include/aio.h: Likewise.
39673 * include/aliases.h: Likewise.
39674 * include/argz.h: Likewise.
39675 * include/arpa/inet.h: Likewise.
39676 * include/assert.h: Likewise.
39677 * include/dirent.h: Likewise.
39678 * include/dlfcn.h: Likewise.
39679 * include/execinfo.h: Likewise.
39680 * include/fcntl.h: Likewise.
39681 * include/fenv.h: Likewise.
39682 * include/glob.h: Likewise.
39683 * include/grp.h: Likewise.
39684 * include/libintl.h: Likewise.
39685 * include/mntent.h: Likewise.
39686 * include/netdb.h: Likewise.
39687 * include/pwd.h: Likewise.
39688 * include/rpc/netdb.h: Likewise.
39689 * include/sched.h: Likewise.
39690 * include/search.h: Likewise.
39691 * include/shadow.h: Likewise.
39692 * include/signal.h: Likewise.
39693 * include/stdio.h: Likewise.
39694 * include/stdlib.h: Likewise.
39695 * include/string.h: Likewise.
39696 * include/sys/socket.h: Likewise.
39697 * include/sys/stat.h: Likewise.
39698 * include/sys/statfs.h: Likewise.
39699 * include/sys/statvfs.h: Likewise.
39700 * include/sys/syslog.h: Likewise.
39701 * include/sys/time.h: Likewise.
39702 * include/sys/uio.h: Likewise.
39703 * include/time.h: Likewise.
39704 * include/unistd.h: Likewise.
39705 * include/utmp.h: Likewise.
39706 * include/wchar.h: Likewise.
39707 * include/wctype.h: Likewise.
39708 * inet/aliases.h: Likewise.
39709 * inet/arpa/inet.h: Likewise.
39710 * inet/netinet/ether.h: Likewise.
39711 * inet/netinet/in.h: Likewise.
39712 * intl/libintl.h: Likewise.
39713 * io/bits/fcntl2.h: Likewise.
39714 * io/fcntl.h: Likewise.
39715 * io/ftw.h: Likewise.
39716 * io/sys/poll.h: Likewise.
39717 * io/sys/stat.h: Likewise.
39718 * io/sys/statfs.h: Likewise.
39719 * io/sys/statvfs.h: Likewise.
39720 * io/utime.h: Likewise.
39721 * libio/bits/stdio.h: Likewise.
39722 * libio/bits/stdio2.h: Likewise.
39723 * libio/libio.h: Likewise.
39724 * libio/libioP.h: Likewise.
39725 * libio/stdio.h: Likewise.
39726 * locale/lc-ctype.c: Likewise.
39727 * locale/locale.h: Likewise.
39728 * login/utmp.h: Likewise.
39729 * malloc/arena.c: Likewise.
39730 * malloc/malloc.c: Likewise.
39731 * malloc/malloc.h: Likewise.
39732 * malloc/mcheck.c: Likewise.
39733 * malloc/mtrace.c: Likewise.
39734 * math/bits/mathcalls.h: Likewise.
39735 * math/fenv.h: Likewise.
39736 * math/math_private.h: Likewise.
39737 * misc/bits/error.h: Likewise.
39738 * misc/bits/syslog.h: Likewise.
39739 * misc/err.h: Likewise.
39740 * misc/error.h: Likewise.
39741 * misc/fstab.h: Likewise.
39742 * misc/mntent.h: Likewise.
39743 * misc/regexp.h: Likewise.
39744 * misc/search.h: Likewise.
39745 * misc/sgtty.h: Likewise.
39746 * misc/sys/mman.h: Likewise.
39747 * misc/sys/syslog.h: Likewise.
39748 * misc/sys/uio.h: Likewise.
39749 * misc/sys/xattr.h: Likewise.
39750 * misc/ttyent.h: Likewise.
39751 * nis/rpcsvc/ypclnt.h: Likewise.
39752 * nss/nss.h: Likewise.
39753 * posix/bits/unistd.h: Likewise.
39754 * posix/fnmatch.h: Likewise.
39755 * posix/glob.h: Likewise.
39756 * posix/sched.h: Likewise.
39757 * posix/spawn.h: Likewise.
39758 * posix/sys/wait.h: Likewise.
39759 * posix/unistd.h: Likewise.
39760 * posix/wordexp.h: Likewise.
39761 * pwd/pwd.h: Likewise.
39762 * resolv/netdb.h: Likewise.
39763 * resource/sys/resource.h: Likewise.
39764 * rt/aio.h: Likewise.
39765 * rt/bits/mqueue2.h: Likewise.
39766 * rt/mqueue.h: Likewise.
39767 * shadow/shadow.h: Likewise.
39768 * signal/signal.h: Likewise.
39769 * socket/send.c: Likewise.
39770 * socket/sendto.c: Likewise.
39771 * socket/sys/socket.h: Likewise.
39772 * stdio-common/printf.h: Likewise.
39773 * stdlib/bits/stdlib.h: Likewise.
39774 * stdlib/fmtmsg.h: Likewise.
39775 * stdlib/monetary.h: Likewise.
39776 * stdlib/stdlib.h: Likewise.
39777 * stdlib/ucontext.h: Likewise.
39778 * streams/stropts.h: Likewise.
39779 * string/argz.h: Likewise.
39780 * string/bits/string2.h: Likewise.
39781 * string/string.h: Likewise.
39782 * string/strings.h: Likewise.
39783 * sunrpc/rpc/auth.h: Likewise.
39784 * sunrpc/rpc/auth_des.h: Likewise.
39785 * sunrpc/rpc/clnt.h: Likewise.
39786 * sunrpc/rpc/netdb.h: Likewise.
39787 * sunrpc/rpc/pmap_clnt.h: Likewise.
39788 * sunrpc/rpc/xdr.h: Likewise.
39789 * sysdeps/generic/inttypes.h: Likewise.
39790 * sysdeps/generic/net/if.h: Likewise.
39791 * sysdeps/generic/sys/swap.h: Likewise.
39792 * sysdeps/gnu/net/if.h: Likewise.
39793 * sysdeps/gnu/utmpx.h: Likewise.
39794 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39795 * sysdeps/i386/i486/bits/string.h: Likewise.
39796 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39797 * sysdeps/s390/bits/string.h: Likewise.
39798 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39799 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39800 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39801 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39802 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39803 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39804 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39805 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39806 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39807 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39808 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39809 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39810 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39811 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39812 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39813 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39814 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39815 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39816 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39817 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39818 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39819 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39820 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39821 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39822 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39823 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39824 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39825 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39826 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39827 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39828 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39829 * sysvipc/sys/ipc.h: Likewise.
39830 * sysvipc/sys/msg.h: Likewise.
39831 * sysvipc/sys/sem.h: Likewise.
39832 * sysvipc/sys/shm.h: Likewise.
39833 * termios/termios.h: Likewise.
39834 * time/sys/time.h: Likewise.
39835 * time/time.h: Likewise.
39836 * wcsmbs/bits/wchar2.h: Likewise.
39837 * wcsmbs/uchar.h: Likewise.
39838 * wcsmbs/wchar.h: Likewise.
39839 * wctype/wctype.h: Likewise.
39842 * Makeconfig: Remove all but ELF support including AIX support.
39843 * Makerules: Likewise.
39844 * config.h.in: Likewise.
39845 * config.make.in: Likewise.
39846 * configure: Likewise.
39847 * configure.in: Likewise.
39848 * csu/Makefile: Likewise.
39849 * csu/version.c: Likewise.
39850 * debug/Makefile: Likewise.
39851 * dlfcn/Makefile: Likewise.
39852 * elf/Makefile: Likewise.
39853 * extra-lib.mk: Likewise.
39854 * iconv/Makefile: Likewise.
39855 * include/libc-symbols.h: Likewise.
39856 * include/shlib-compat.h: Likewise.
39857 * resolv/Makefile: Likewise.
39858 * resolv/res_libc.c: Likewise.
39859 * rt/Makefile: Likewise.
39860 * sysdeps/i386/asm-syntax.h: Likewise.
39861 * sysdeps/i386/sysdep.h: Likewise.
39862 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39863 * sysdeps/mach/sysdep.h: Likewise.
39864 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39865 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39866 * sysdeps/s390/asm-syntax.h: Likewise.
39867 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39868 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39869 * sysdeps/sh/sysdep.h: Likewise.
39870 * sysdeps/unix/sparc/sysdep.h: Likewise.
39871 * sysdeps/wordsize-32/divdi3.c: Likewise.
39872 * sysdeps/x86_64/sysdep.h: Likewise.
39874 * argp/Versions: Remove _argp_unlock_xxx.
39877 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39878 * abilist/libBrokenLocale.abilist: Likewise.
39879 * abilist/libanl.abilist: Likewise.
39880 * abilist/libc.abilist: Likewise.
39881 * abilist/libcrypt.abilist: Likewise.
39882 * abilist/libdl.abilist: Likewise.
39883 * abilist/libm.abilist: Likewise.
39884 * abilist/libnsl.abilist: Likewise.
39885 * abilist/libpthread.abilist: Likewise.
39886 * abilist/libresolv.abilist: Likewise.
39887 * abilist/librt.abilist: Likewise.
39888 * abilist/libthread_db.abilist: Likewise.
39889 * abilist/libutil.abilist: Likewise.
39890 * abilist/libnss_db.abilist: New file.
39892 * scripts/abilist.awk: Add support for indirect functions.
39894 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39896 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39898 * shlib-versions: Remove entries for ports architectures.
39900 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39902 * elf/stackguard-macros.h: Remove support for IA-64.
39903 * elf/tst-auditmod1.c: Likewise.
39904 * sysdeps/generic/ldsodefs.h: Likewise.
39906 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39907 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39911 * configure.in: Remove --enable-omitfp support.
39913 * config.make.in: Likewise.
39914 * Makeconfig: Likewise.
39915 * manual/install.texi: Likewise.
39917 In case anyone cares, the IA-64 architecture could move to ports.
39918 * sysdeps/ia64/*: Removed.
39919 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39920 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39923 * configure.in: Remove entries for unsupported architectures.
39926 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39927 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39929 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39930 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39931 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39932 fall back to using wcrtomb.
39933 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39934 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39936 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39937 * wcsmbs/tst-c16c32-1.c: New file.
39939 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39942 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39944 * elf/tst-unique3.cc: Add explicit declaration of gets.
39945 * elf/tst-unique3lib.cc: Likewise.
39946 * elf/tst-unique3lib2.cc: Likewise.
39947 * elf/tst-unique4.cc: Likewise.
39949 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39951 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39954 * assert/assert.h (static_assert): Don't define for C++.
39955 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39956 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39958 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39960 * iconv/loop.c (single loop): Fix assertion in storing of
39963 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39965 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39967 * posix/getconf.c: Update copyright year.
39968 * nss/getent.c: Likewise.
39969 * nss/makedb.c: Likewise.
39970 * iconv/iconvconfig.c: Likewise.
39971 * iconv/iconv_prog.c: Likewise.
39972 * elf/ldconfig.c: Likewise.
39973 * elf/pldd.c: Likewise.
39974 * elf/sotruss.ksh: Likewise.
39975 * catgets/gencat.c: Likewise.
39976 * csu/version.c: Likewise.
39977 * elf/ldd.bash.in: Likewise.
39978 * elf/sprof.c (print_version): Likewise.
39979 * locale/programs/locale.c: Likewise.
39980 * locale/programs/localedef.c: Likewise.
39981 * login/programs/pt_chown.c: Likewise.
39982 * nscd/nscd.c (print_version): Likewise.
39983 * debug/xtrace.sh: Likewise.
39984 * malloc/memusage.sh: Likewise.
39985 * malloc/mtrace.pl: Likewise.
39986 * debug/catchsegv.sh: Likewise.
39988 2011-12-30 Jakub Jelinek <jakub@redhat.com>
39990 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39993 2011-12-24 Ulrich Drepper <drepper@gmail.com>
39996 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39997 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39999 * iconv/gconv_int.h: Likewise.
40000 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40001 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40002 from libc for GLIBC_2.16.
40003 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40004 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40005 * wcsmbs/uchar.h: Really define mbstate_t.
40006 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40007 * wcsmbs/c16rtomb.c: New file.
40008 * wcsmbs/mbrtoc16.c: New file.
40009 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40010 for C/POSIX locale.
40011 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40012 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40014 * wcsmbs/wchar.h: Add missing __restrict.
40016 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40019 * time/Makefile (routines): Add timespec_get.
40020 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40021 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40022 timespec for ISO C11.
40023 * time/timespec_get.c: New file.
40024 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40025 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40028 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40029 * stdlib/stdlib.h: Declare aligned_alloc.
40030 * Versions.def: Add GLIBC_2.16 for libc.
40031 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40034 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40037 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40041 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40044 * assert/assert.h (static_assert): Define.
40046 * version.h: Update for 2.16 development version.
40049 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40052 * version.h (RELEASE): Bump for 2.15 release.
40053 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40055 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40056 Patch by Marek Polacek <mpolacek@redhat.com>.
40058 * bits/byteswap.h: Protect long long constants with __extension__.
40059 * sysdeps/i386/bits/byteswap.h: Likewise.
40060 * sysdeps/ia64/bits/byteswap.h: Likewise.
40061 * sysdeps/s390/bits/byteswap.h: Likewise.
40062 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40064 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40067 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40068 destination buffer.
40069 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40071 2011-12-23 Marek Polacek <polacek@redhat.com>
40073 * elf/dl-addr.c (determine_info): Add inline keyword.
40074 * elf/tst-auditmod4b.c (check_avx): Likewise.
40075 * elf/tst-auditmod6b.c (check_avx): Likewise.
40076 * elf/tst-auditmod6c.c (check_avx): Likewise.
40077 * elf/tst-auditmod7b.c (check_avx): Likewise.
40079 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40081 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40084 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40087 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40088 processing for last bytes.
40090 2011-08-06 Bruno Haible <bruno@clisp.org>
40093 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40094 U+0385, not to U+1FEE.
40097 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40098 entry for U+00A5 U+0301.
40100 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40103 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40104 buffer for the output is too small.
40106 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40110 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40111 SSE flags if possible.
40113 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40116 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40117 processing for last bytes.
40119 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40121 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40122 (syscall-list-default-options, syscall-list-default-condition)
40123 (syscall-list-includes): Define.
40124 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40125 list of ABIs and options and #if conditions for each ABI. Do not
40126 handle common syscalls between ABIs specially.
40127 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40129 (syscall-list-variants, syscall-list-32bit-options)
40130 (syscall-list-32bit-condition, syscall-list-64bit-options)
40131 (syscall-list-64bit-condition): Define.
40132 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
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/sparc/Makefile (64bit-predefine):
40138 (syscall-list-variants, syscall-list-32bit-options)
40139 (syscall-list-32bit-condition, syscall-list-64bit-options)
40140 (syscall-list-64bit-condition): Define.
40141 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40143 (syscall-list-variants, syscall-list-32bit-options)
40144 (syscall-list-32bit-condition, syscall-list-64bit-options)
40145 (syscall-list-64bit-condition): Define.
40147 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40149 * locale/iso-639.def: Add brx entry.
40152 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40153 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40155 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40156 __feraiseexcept_renamed.
40158 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40161 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40162 EPOLLET with unsigned values.
40163 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40164 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40166 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40167 to large cancellation.
40168 * math/s_cacoshf.c: Likewise.
40169 * math/s_cacoshl.c: Likewise.
40171 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40175 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40176 * math/s_cacoshf.c: Likewise.
40177 * math/s_cacoshl.c: Likewise.
40179 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40182 * iconv/gconv.h: Define __GCONV_SWAP.
40183 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40184 * iconvdata/utf-16.c: Likewise.
40185 * iconvdata/utf-32.c: Likewise.
40187 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40190 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40191 numerator after shifting it by one limb.
40193 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40195 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40196 under [__USE_EXTERN_INLINES].
40198 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40201 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40203 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40205 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40206 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40208 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40209 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40210 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40211 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40212 for strncasecmp/strncasecmp_l compilation.
40213 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40214 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40216 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40219 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40222 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40225 * time/tzfile.c (__tzfile_read): Check values from file header.
40227 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40229 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40230 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40231 * powerpc/powerpc32/dl-start.S: Likewise.
40232 * powerpc/powerpc32/elf/start.S: Likewise.
40233 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40234 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40235 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40236 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40237 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40238 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40239 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40240 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40241 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40242 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40243 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40244 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40245 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40246 * powerpc/powerpc32/memset.S: Likewise.
40247 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40248 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40249 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40250 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40251 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40252 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40253 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40254 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40255 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40256 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40257 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40258 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40259 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40261 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40263 * math/libm-test.inc: Added more nearbyint tests.
40264 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40265 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40266 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40267 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40269 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40271 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40274 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40276 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40277 Add wcscpy-ssse3 wcscpy-c.
40278 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40279 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40280 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40281 * sysdeps/x86_64/wcschr.S: New file.
40282 * sysdeps/x86_64/wcsrchr.S: New file.
40283 * string/test-strcmp.c: Remove checking of wcscmp function for
40285 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40286 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40287 wcsrchr-sse2 wcsrchr-c.
40288 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40289 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40290 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40291 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40292 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40293 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40294 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40295 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40296 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40297 * wcsmbc/wcschr.c (WCSCHR): New macro.
40299 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40301 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40302 * wcsmbs/test-wcsrchr.c: New file.
40303 * string/test-strrchr.c: Add wcsrchr support.
40305 * wcsmbs/test-wcscpy.c: New file.
40306 * string/test-strcpy.c: Add wcscpy support.
40309 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40311 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40314 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40317 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40319 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40321 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40322 Minor optimizations.
40324 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40325 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40326 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40328 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40330 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40331 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40332 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40333 for gcc to avoid warnings.
40334 * inet/Makefile (tests): Add tst-checks.
40335 * inet/tst-checks.c: New file.
40337 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40340 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40343 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40344 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40346 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40348 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40350 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40353 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40355 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40357 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40358 conditional on GCC version.
40359 (__arch_compare_and_exchange_val_8_acq)
40360 (__arch_compare_and_exchange_val_16_acq)
40361 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40362 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40363 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40365 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40367 * sysdeps/sh/backtrace.c: New file.
40369 2011-12-02 Andreas Schwab <schwab@redhat.com>
40371 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40374 2011-12-01 Andreas Schwab <schwab@redhat.com>
40376 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40377 falling back to utime.
40379 2011-11-30 Andreas Schwab <schwab@redhat.com>
40381 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40382 expectations for float.
40384 2011-11-29 Andreas Schwab <schwab@redhat.com>
40386 * locale/weight.h (findidx): Add parameter len.
40387 * locale/weightwc.h (findidx): Likewise.
40388 * posix/fnmatch_loop.c (FCT): Adjust caller.
40389 * posix/regcomp.c (build_equiv_class): Likewise.
40390 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40391 * posix/regexec.c (check_node_accept_bytes): Likewise.
40392 * string/strcoll_l.c (STRCOLL): Likewise.
40393 * string/strxfrm_l.c (STRXFRM): Likewise.
40395 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40397 * Makefile.in: Remove CVSOPT handling.
40398 * configure.in: Remove use of AC_REVISION.
40399 * iconvdata/Makefile (distribute): No need to filter out CVS.
40400 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40403 2011-11-16 Andreas Schwab <schwab@redhat.com>
40405 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40406 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40407 [USE_AS_STRNCASECMP_L]: Likewise.
40408 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40409 NO_TLS_DIRECT_SEG_REFS.
40410 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40411 Fix argument offsets for non-PIC.
40412 [USE_AS_STRNCASECMP_L]: Likewise.
40413 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40414 NO_TLS_DIRECT_SEG_REFS.
40416 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40418 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40420 * locale/loadlocale.c (_nl_load_locale): Likewise.
40422 2011-11-15 Andreas Schwab <schwab@redhat.com>
40424 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40425 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40426 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40427 (SYSCALL_GETTIME): Set errno on error.
40429 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40430 count references to noai6ai_cached.
40432 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40434 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40436 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40437 FD_CLOEXEC for /proc/self/maps.
40439 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40440 FD_CLOEXEC for /proc/meminfo.
40442 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40445 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40446 FD_CLOEXEC for given file.
40448 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40450 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40451 FD_CLOEXEC for /etc/hosts.
40452 (_gethtent): Likewise.
40454 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40456 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40457 cancellation and set FD_CLOEXEC for /etc/netgroup.
40459 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40460 reading /etc/publickey.
40462 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40463 allow cancellation when reading /etc/group.
40465 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40467 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40469 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40470 when using data file.
40472 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40474 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40475 (write_nis_obj): Use "c" and "e" in fopen.
40477 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40479 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40481 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40483 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40485 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40488 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40490 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40492 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40494 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40495 file parsing and set FD_CLOEXEC.
40497 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40499 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40501 2011-11-14 Andreas Schwab <schwab@redhat.com>
40503 * malloc/arena.c (arena_get2): Don't call reused_arena when
40504 _int_new_arena failed.
40506 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40508 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40509 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40510 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40511 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40512 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40513 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40514 to compile strcasecmp and strncasecmp.
40515 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40516 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40518 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40520 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40522 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40523 locale-defines.sym to gen-as-const-headers.
40524 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40525 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40526 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40527 to compile strcasecmp and strncasecmp.
40528 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40529 strcasecmp_l and strncasecmp_l.
40530 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40531 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40532 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40533 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40534 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40535 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40536 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40537 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40538 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40539 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40540 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40542 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40544 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40545 result of SYSDEP_GETTIME_CPU to retval.
40546 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40547 parameter list to macro. Remove trailing semicolon. Adjust users.
40549 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40552 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40554 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40556 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40557 from unused variable.
40559 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40561 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40564 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40567 * sunrpc/rpc_prot.c (rejected): Fix case value.
40569 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40570 unsigned long long int to avoid warnings in shift.
40572 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40574 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40577 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40578 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40579 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40581 * nis/nis_table.c (nis_list): Use variable of correct type for
40582 result of __follow_path call.
40584 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40586 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40587 of math functions ceil, trunc, floor, round, and sqrt, when
40588 avaliable on the platform.
40589 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40591 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40592 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40593 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40595 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40597 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40598 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40600 2011-11-11 Roland McGrath <roland@hack.frob.com>
40602 * include/unistd.h: Fix __readlink return type.
40603 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40605 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40607 * stdlib/ucontext.h: Undo last change for makecontext.
40609 2011-11-11 Andreas Schwab <schwab@redhat.com>
40611 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40613 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40614 * setjmp/setjmp.h: Mark functions as non-leaf.
40615 * setjmp/bits/setjmp2.h: Likewise.
40616 * stdlib/ucontext.h: Likewise.
40618 2011-11-10 Andreas Schwab <schwab@redhat.com>
40620 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40621 (reused_arena): Don't check arena limit.
40622 (arena_get2): Atomically check arena limit.
40624 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40626 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40627 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40629 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40632 2011-11-07 Andreas Schwab <schwab@redhat.com>
40634 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40635 handler when locking.
40637 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40638 Fix size of allocated buffer.
40640 2011-11-04 Andreas Schwab <schwab@redhat.com>
40643 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40644 declarations for long double functions.
40645 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40647 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40649 2011-11-03 Andreas Schwab <schwab@redhat.com>
40651 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40654 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40657 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40659 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40661 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40663 * include/alloca.h (stackinfo_alloca_round): Define.
40664 (extend_alloca): Use it.
40665 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40666 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40669 * scripts/check-local-headers.sh: Ignore libaudit.h.
40671 * nscd/Makefile (extra-objs): Make recursively expanded.
40673 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40675 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40676 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40678 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40679 * posix/tst-rfc3484-2.c: Likewise.
40680 * posix/tst-rfc3484-3.c: Likewise.
40682 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40684 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40686 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40687 process_vm_writev from libc using GLIBC_2.15 version.
40689 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40691 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40693 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40696 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40699 * nss/getent.c (initgroups_keys): Show error message in case no group
40702 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40703 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40704 __bump_nl_timestamp.
40705 * nscd/connections (nscd_init): When host database is served open
40706 netlink socket and request notification about configuration changes.
40707 (main_loop_poll): Track netlink file descriptor and bump timestamp
40708 in case data becomes available.
40709 (main_loop_epoll): Likewise.
40710 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40711 (database_pers_head): Add extra_data fileds.
40712 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40713 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40714 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40716 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40717 in6ai data, call __free_in6ai.
40718 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40719 Add -DHAVE_NETLINK.
40720 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40721 interface information. Reuse previous data if netlink timestamp
40723 (__bump_nl_timestamp): New function.
40724 (__free_in6ai): New function.
40726 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40728 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40729 close_not_cancel_no_status here.
40730 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40732 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40735 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40738 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40739 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40740 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40742 2011-07-03 Andreas Jaeger <aj@suse.de>
40745 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40746 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40747 * math/libm-test.inc (sin_test): Add test case.
40749 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40752 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40753 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40755 * elf/chroot_canon.c (chroot_canon): Cleanups.
40757 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40760 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40761 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40763 * string/test-strchr.c: Make usable for strchrnul testing.
40764 * string/test-strchrnul.c: New file.
40765 * string/Makefile (strop-tests): Add strchrnul.
40767 * po/it.po: Update from translation team.
40768 * po/es.po: Likewise.
40770 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40772 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40773 the three constants needed as parameters. Drop the others.
40774 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40775 __m128i_strloadu_tolower.
40776 Create and initialize variable zero and use it in all the places
40777 where _mm_setzero_si128 was used.
40779 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40780 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40781 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40782 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40784 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40785 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40786 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40787 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40788 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40789 __mpranred, __mptan.
40790 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40791 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40792 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40793 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40794 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40795 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40796 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40797 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40798 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40800 2011-10-28 Andreas Schwab <schwab@redhat.com>
40802 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40803 redefine if SHARED.
40804 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40806 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40807 wide char related routines to wcsmbs subdir.
40809 2011-10-27 Andreas Schwab <schwab@redhat.com>
40812 * misc/sys/cdefs.h (__THROWNL): Define.
40813 * posix/unistd.h: Use __THREADNL instead of __THREAD
40814 for memory synchronization functions.
40816 2011-10-26 Roland McGrath <roland@hack.frob.com>
40819 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40821 * manual/stdio.texi (Obstack Streams): Node removed.
40823 2011-10-26 Andreas Schwab <schwab@redhat.com>
40825 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40826 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40827 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40829 * math/math_private.h (math_force_eval): Allow non-addressable
40831 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40833 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40835 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40836 file is not needed.
40838 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40839 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40840 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40841 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40842 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40843 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40845 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40847 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40848 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40849 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40850 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40851 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40852 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40853 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40854 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40855 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40856 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40857 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40858 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40859 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40860 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40861 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40862 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40863 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40864 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40865 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40867 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40868 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40870 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40871 place. Use VEX encoding when compiling for AVX.
40873 2011-10-25 Andreas Schwab <schwab@redhat.com>
40875 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40876 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40878 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40880 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40882 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40883 useless if() expression.
40884 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40885 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40886 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40888 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40889 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40890 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40891 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40892 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40893 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40894 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40895 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40896 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40897 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40898 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40899 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40900 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40901 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40902 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40904 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40906 2011-10-25 Andreas Schwab <schwab@redhat.com>
40908 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40910 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40912 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40914 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40915 .text section. Avoid duplicate constants.
40916 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40918 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40920 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40924 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40925 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40926 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40927 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40928 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40929 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40930 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40931 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40932 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40933 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40934 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40935 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40936 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40937 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40938 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40939 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40940 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40941 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40942 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40943 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40944 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40945 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40946 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40947 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40948 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40949 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40950 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40951 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40952 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40953 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40954 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40955 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40956 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40957 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40958 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40959 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40960 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40962 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40964 * sysdeps/x86_64/dla.h: Move to ...
40965 * sysdeps/x86_64/fpu/dla.h: ...here.
40966 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40967 situations. Use __builtin_fma only for gcc 4.6 and up.
40969 * config.make.in: Add have-mfma4 entry.
40970 * configure.in: Substitute libc_cv_cc_fma4.
40971 * math/Makefile (dbl-only-routines): Add sincostab.
40972 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40973 Use __sincostab not sincos.
40974 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40976 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40977 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40978 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40979 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40981 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40982 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40983 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40984 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40986 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40987 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40989 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40990 define aliases when function name is a macro.
40991 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40992 sysdeps/ieee754/dbl-64/sincos.tbl.
40993 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40994 fma4-enabled routines.
40995 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40996 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40997 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40998 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40999 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41000 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41001 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41002 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41003 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41004 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41005 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41006 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41007 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41008 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41009 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41010 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41011 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41012 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41013 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41014 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41015 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41016 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41017 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41018 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41019 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41020 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41021 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41022 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41023 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41024 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41026 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41033 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41035 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41037 2011-10-24 Andreas Schwab <schwab@redhat.com>
41039 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41041 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41043 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41045 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41047 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41049 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41050 Remove unused variable magic_bits.
41051 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41053 * string/strnlen.c: Define and use STRNLEN macro.
41054 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41055 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41056 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41057 * wcsmbs/wcslen.c: Define and use WCSLEN.
41058 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41059 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41060 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41061 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41062 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41063 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41064 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41066 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41068 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41069 strnlen-sse2-no-bsf.
41070 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41071 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41072 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41073 Add strnlen support.
41074 (USE_AS_STRNLEN): New macro.
41075 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41076 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41077 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41078 * sysdeps/x86_64/wcslen.S: New file.
41080 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41082 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41083 XMM-moves are used for copying on small sizes.
41085 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41087 * wcsmbs/Makefile (strop-tests): Add wcschr.
41088 * wcsmbs/test-wcschr.c: New file.
41089 * string/test-strchr.c: Update.
41090 Add wcschr support.
41093 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41095 * wcsmbs/Makefile (strop-tests): Add wcslen.
41096 * wcsmbs/test-wcslen.c: New file.
41097 * string/test-strlen.c: Update.
41098 Add wcslen support.
41101 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41103 * po/it.po: Update from translation team.
41105 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41107 * sysdeps/x86_64/wcscmp.S: Update.
41108 Fix wrong comparison semantics.
41109 wcscmp shall use signed comparison not unsigned.
41110 Don't use substraction to avoid overflow bug.
41111 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41112 * wcsmbc/wcscmp.c: Likewise.
41113 * string/test-strcmp.c: Likewise.
41114 Add new tests to check cases with negative values.
41116 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41118 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41119 * sysdeps/x86_64/dla.h: ...here. New file.
41120 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41121 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41122 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41124 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41125 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41126 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41130 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41132 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41133 __ynl_finite aliases.
41135 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41139 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41141 [DLA_FMA] (EMULV): Use DLA_FMA.
41142 [DLA_FMA] (MUL12): Use EMULV.
41143 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41144 that are not needed.
41145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41150 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41151 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41153 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41155 * math/s_nan.c: Undef __nan.
41156 * math/s_nanf.c: Undef __nanf.
41157 * math/s_nanl.c: Undef __nanl.
41158 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41161 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41163 * math/s_catan.c: Add branch predictions.
41164 * math/s_catanf.c: Likewise.
41165 * math/s_catanh.c: Likewise.
41166 * math/s_catanhf.c: Likewise.
41167 * math/s_catanhl.c: Likewise.
41168 * math/s_catanl.c: Likewise.
41169 * math/s_cexp.c: Likewise.
41170 * math/s_cexpf.c: Likewise.
41171 * math/s_cexpl.c: Likewise.
41172 * math/s_clog.c: Likewise.
41173 * math/s_clog10.c: Likewise.
41174 * math/s_clog10f.c: Likewise.
41175 * math/s_clog10l.c: Likewise.
41176 * math/s_clogf.c: Likewise.
41177 * math/s_clogl.c: Likewise.
41178 * math/s_csqrt.c: Likewise.
41179 * math/s_csqrtf.c: Likewise.
41180 * math/s_csqrtl.c: Likewise.
41181 * math/s_ctanf.c: Likewise.
41182 * math/s_ctanh.c: Likewise.
41183 * math/s_ctanhf.c: Likewise.
41184 * math/s_ctanhl.c: Likewise.
41185 * math/s_ctanl.c: Likewise.
41187 * math/math_private.h: Define __nan, __nanf, __nanl.
41188 * math/s_cacosh.c: Include <math_private.h>.
41189 * math/s_cacoshl.c: Likewise.
41190 * math/s_casinh.c: Likewise.
41191 * math/s_casinhf.c: Likewise.
41192 * math/s_casinhl.c: Likewise.
41193 * math/s_ccos.c: Rely entire on ccosh.
41194 * math/s_ccosf.c: Rely entire on ccoshf.
41195 * math/s_ccosl.c: Rely entirely on ccoshl.
41196 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41197 Remove tests for FE_INVALID.
41198 * math/s_ccoshf.c: Likewise.
41199 * math/s_ccoshl.c: Likewise.
41200 * math/s_csin.c: Likewise.
41201 * math/s_csinf.c: Likewise.
41202 * math/s_csinh.c Likewise.
41203 * math/s_csinhf.c: Likewise.
41204 * math/s_csinhl.c: Likewise.
41205 * math/s_csinl.c: Likewise.
41206 * math/s_ctan.c: Likewise.
41207 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41208 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41209 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41211 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41214 compilation problems.
41216 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41219 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41221 * sysdeps/i386/configure.in: Test for -mfma4 option.
41222 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41223 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41224 COMMON_CPUID_INDEX_80000001.
41225 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41226 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41227 use it if FMA3 is not supported.
41228 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41230 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41231 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41233 2011-10-20 Andreas Schwab <schwab@redhat.com>
41236 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41237 it would create a cycle with a link time dependency.
41239 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41241 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41243 * string/Makefile (strop-tests): Add rawmemchr.
41244 * string/test-rawmemchr.c: New file.
41246 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41247 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41248 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41249 when compiling str{,n}casecmp and when AVX is available. Hook up
41250 new optimized code in initializers.
41252 2011-10-19 Andreas Schwab <schwab@redhat.com>
41254 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41255 __feraiseexcept instead of feraiseexcept.
41257 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41259 * math/math_private.h: Define defaults for libc_fetestexcept and
41261 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41262 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41263 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41264 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41265 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41266 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41267 libc_fetestexcept and libc_feupdateenv.
41269 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41270 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41271 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41272 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41273 libc_feholdexcept_setround.
41275 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41276 Add s_nearbyint-c and s_nearbyintf-c.
41277 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41278 nearbyintf inlines.
41279 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41280 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41281 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41282 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41284 * math/math_private.h: Define defaults for libc_fegetround,
41285 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41286 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41287 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41288 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41289 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41290 standard functions.
41291 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41292 Remove comments and hacks for old compiler versions.
41293 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41294 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41295 libc_feholdexceptl.
41297 2011-10-18 Andreas Schwab <schwab@redhat.com>
41299 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41300 (__feraiseexcept_renamed): Add __NTH.
41301 (feraiseexcept): Add __NTH. Rename local variables to fix
41302 namespace violations.
41304 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41306 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41308 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41310 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41311 recently added interfaces.
41312 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41314 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41315 about macro parameter expansion.
41317 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41318 __NO_MATH_INLINES is defined. Cleanups.
41320 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41321 and __floorf is target has SSE4.1.
41322 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41323 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41324 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41325 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41327 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41329 (floorf): Likewise.
41331 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41333 2011-10-17 Andreas Schwab <schwab@redhat.com>
41335 * misc/sys/cdefs.h: Fix last change.
41337 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41340 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41342 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41344 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41345 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41346 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41347 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41348 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41349 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41350 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41351 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41352 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41353 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41354 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41355 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41356 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41357 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41358 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41359 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41360 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41361 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41362 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41363 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41364 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41365 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41367 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41368 ceil, ceilf, floor, floorf.
41370 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41371 Perform IRELATIVE relocations last.
41373 * elf/do-rel.h: Add another parameter nrelative, replacing the
41374 local variable with the same name. Change name of the function
41375 to end in Rel or Rela (uppercase).
41376 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41377 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41378 elf_dynamic_do_##reloc function.
41380 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41382 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41383 is sufficient, at least on modern CPUs.
41385 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41387 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41388 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41390 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41392 * math/bits/math-finite.h: Add entries for exp.
41393 * math/e_expl.c: Add __*_finite alias.
41394 * sysdeps/i386/fpu/e_exp.S: Likewise.
41395 * sysdeps/i386/fpu/e_expf.S: Likewise.
41396 * sysdeps/i386/fpu/e_expl.c: Likewise.
41397 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41398 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41399 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41400 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41401 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41402 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41403 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41405 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41406 is sufficient, at least on modern CPUs.
41408 * ctype/ctype-info.c (__ctype_init): Define.
41409 * include/ctype.h (__ctype_init): Declare.
41410 (__ctype_b_loc): The variable is always initialized.
41411 (__ctype_toupper_loc): Likewise.
41412 (__ctype_tolower_loc): Likewise.
41413 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41414 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41416 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41418 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41420 * configure.in: Also look in $cxxmachine/include for C++ system
41423 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41425 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41426 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41427 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41428 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41429 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41430 (USE_AS_WMEMCMP): New macro.
41432 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41433 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41434 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41435 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41436 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41437 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41438 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41439 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41440 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41441 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41442 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41443 (USE_AS_WMEMCMP): New macro.
41444 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41445 * sysdeps/string/test-memcmp.c: Update.
41446 Fix simple_wmemcmp.
41448 * wcsmbs/wmemcmp.c: Update.
41449 (WMEMCMP): New macro.
41452 2011-10-12 Andreas Jaeger <aj@suse.de>
41455 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41457 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41459 * libio/iofwide.c (do_length): Avoid warning.
41461 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41463 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41465 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41467 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41468 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41469 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41470 * sysdeps/i386/i686/fpu/e_log.S: New file.
41471 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41472 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41474 * ctype/ctype.h: Add support for inlined isXXX functions when
41475 compiling C++ code.
41477 2011-10-14 Andreas Schwab <schwab@redhat.com>
41479 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41481 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41483 2011-10-13 Roland McGrath <roland@hack.frob.com>
41486 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41488 2011-10-13 Andreas Schwab <schwab@redhat.com>
41490 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41491 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41494 * sysdeps/x86_64/memrchr.S: Check for zero size.
41496 * string/stratcliff.c: Add memrchr tests.
41498 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41501 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41502 rawmemchr-sse2 rawmemchr-sse2-bsf.
41503 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41504 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41505 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41506 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41507 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41508 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41509 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41510 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41511 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41512 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41513 * string/memrchr.c (MEMRCHR): New macro.
41515 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41517 Add integration with gcc's -ffinite-math-only and optimize wrapper
41519 * Versions.def: Define GLIBC_2.15 version for libm.
41520 * math/Makefile (headers): Add bits/math-finite.h.
41521 * math/bits/math-finite.h: New file.
41522 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41523 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41524 * math/e_acoshl.c: Add __*_finite alias.
41525 * math/e_acosl.c: Likewise.
41526 * math/e_asinl.c: Likewise.
41527 * math/e_atan2l.c: Likewise.
41528 * math/e_atanhl.c: Likewise.
41529 * math/e_coshl.c: Likewise.
41530 * math/e_exp10.c: Likewise.
41531 * math/e_exp10f.c: Likewise.
41532 * math/e_exp10l.c: Likewise.
41533 * math/e_exp2l.c: Likewise.
41534 * math/e_fmodl.c: Likewise.
41535 * math/e_gammal_r.c: Likewise.
41536 * math/e_hypotl.c: Likewise.
41537 * math/e_j0l.c: Likewise.
41538 * math/e_j1l.c: Likewise.
41539 * math/e_jnl.c: Likewise.
41540 * math/e_lgammal_r.c: Likewise.
41541 * math/e_log10l.c: Likewise.
41542 * math/e_log2l.c: Likewise.
41543 * math/e_logl.c: Likewise.
41544 * math/e_powl.c: Likewise.
41545 * math/e_sinhl.c: Likewise.
41546 * math/e_sqrtl.c: Likewise.
41547 * math/e_scalb.c: Completely rewritten and optimized.
41548 * math/e_scalbf.c: Likewise.
41549 * math/e_scalbl.c: Likewise.
41550 * math/w_acos.c: Likewise.
41551 * math/w_acosf.c: Likewise.
41552 * math/w_acosl.c: Likewise.
41553 * math/w_acosh.c: Likewise.
41554 * math/w_acoshf.c: Likewise.
41555 * math/w_acoshl.c: Likewise.
41556 * math/w_asin.c: Likewise.
41557 * math/w_asinf.c: Likewise.
41558 * math/w_asinl.c: Likewise.
41559 * math/w_atan2.c: Likewise.
41560 * math/w_atan2f.c: Likewise.
41561 * math/w_atan2l.c: Likewise.
41562 * math/w_atanh.c: Likewise.
41563 * math/w_atanhf.c: Likewise.
41564 * math/w_atanhl.c: Likewise.
41565 * math/w_exp10.c: Likewise.
41566 * math/w_exp10f.c: Likewise.
41567 * math/w_exp10l.c: Likewise.
41568 * math/w_fmod.c: Likewise.
41569 * math/w_fmodf.c: Likewise.
41570 * math/w_fmodl.c: Likewise.
41571 * math/w_j0.c: Likewise.
41572 * math/w_j0f.c: Likewise.
41573 * math/w_j0l.c: Likewise.
41574 * math/w_j1.c: Likewise.
41575 * math/w_j1f.c: Likewise.
41576 * math/w_j1l.c: Likewise.
41577 * math/w_jn.c: Likewise.
41578 * math/w_jnf.c: Likewise.
41579 * math/w_log.c: Likewise.
41580 * math/w_logf.c: Likewise.
41581 * math/w_logl.c: Likewise.
41582 * math/w_log10.c: Likewise.
41583 * math/w_log10f.c: Likewise.
41584 * math/w_log10l.c: Likewise.
41585 * math/w_log2.c: Likewise.
41586 * math/w_log2f.c: Likewise.
41587 * math/w_log2l.c: Likewise.
41588 * math/w_pow.c: Likewise.
41589 * math/w_powf.c: Likewise.
41590 * math/w_powl.c: Likewise.
41591 * math/w_remainder.c: Likewise.
41592 * math/w_remainderf.c: Likewise.
41593 * math/w_remainderl.c: Likewise.
41594 * math/w_scalb.c: Likewise.
41595 * math/w_scalbf.c: Likewise.
41596 * math/w_scalbl.c: Likewise.
41597 * math/w_sqrt.c: Likewise.
41598 * math/w_sqrtf.c: Likewise.
41599 * math/w_sqrtl.c: Likewise.
41600 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41601 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41603 * math/math_private.h: Declare __kernel_standard_f.
41604 * math/w_cosh.c: Remove cruft and optimize a bit.
41605 * math/w_coshf.c: Likewise.
41606 * math/w_coshl.c: Likewise.
41607 * math/w_exp2.c: Likewise.
41608 * math/w_exp2f.c: Likewise.
41609 * math/w_exp2l.c: Likewise.
41610 * math/w_hypot.c: Likewise.
41611 * math/w_hypotf.c: Likewise.
41612 * math/w_hypotl.c: Likewise.
41613 * math/w_lgamma.c: Likewise.
41614 * math/w_lgamma_r.c: Likewise.
41615 * math/w_lgammaf.c: Likewise.
41616 * math/w_lgammaf_r.c: Likewise.
41617 * math/w_lgammal.c: Likewise.
41618 * math/w_lgammal_r.c: Likewise.
41619 * math/w_sinh.c: Likewise.
41620 * math/w_sinhf.c: Likewise.
41621 * math/w_sinhl.c: Likewise.
41622 * math/w_tgamma.c: Likewise.
41623 * math/w_tgammaf.c: Likewise.
41624 * math/w_tgammal.c: Likewise.
41625 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41626 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41627 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41628 Minor optimizations. Pretty printing. Remove cruft.
41629 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41630 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41631 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41632 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41633 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41634 * sysdeps/i386/fpu/e_asin.S: Likewise.
41635 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41636 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41637 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41638 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41639 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41640 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41641 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41642 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41643 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41644 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41645 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41646 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41647 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41648 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41649 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41650 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41651 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41652 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41653 * sysdeps/i386/fpu/e_log.S: Likewise.
41654 * sysdeps/i386/fpu/e_log10.S: Likewise.
41655 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41656 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41657 * sysdeps/i386/fpu/e_log2.S: Likewise.
41658 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41659 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41660 * sysdeps/i386/fpu/e_logf.S: Likewise.
41661 * sysdeps/i386/fpu/e_logl.S: Likewise.
41662 * sysdeps/i386/fpu/e_pow.S: Likewise.
41663 * sysdeps/i386/fpu/e_powf.S: Likewise.
41664 * sysdeps/i386/fpu/e_powl.S: Likewise.
41665 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41666 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41667 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41668 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41669 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41670 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41671 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41672 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41673 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41674 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41675 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41676 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41677 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41678 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41679 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41680 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41681 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41682 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41683 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41684 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41685 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41687 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41688 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41689 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41690 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41691 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41692 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41693 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41694 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41695 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41696 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41697 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41698 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41699 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41700 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41701 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41702 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41703 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41704 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41705 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41706 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41707 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41708 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41709 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41710 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41711 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41712 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41713 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41714 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41715 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41716 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41717 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41718 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41719 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41720 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41721 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41722 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41723 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41724 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41725 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41726 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41727 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41728 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41729 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41730 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41731 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41732 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41734 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41736 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41738 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41739 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41740 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41741 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41742 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41743 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41744 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41745 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41746 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41747 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41748 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41749 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41750 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41751 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41752 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41753 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41754 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41755 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41756 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41757 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41758 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41759 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41760 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41761 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41762 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41763 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41764 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41765 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41766 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41767 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41768 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41769 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41770 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41771 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41772 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41773 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41774 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41775 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41776 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41777 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41778 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41779 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41780 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41781 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41782 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41783 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41784 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41785 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41786 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41787 (__isnanf): Likewise.
41788 (__isinf_ns): Likewise.
41789 (__isinf_nsf): Likewise.
41790 (__finite): Likewise.
41791 (__finitef): Likewise.
41792 (__ieee754_sqrt): Define as macro.
41793 (__ieee754_sqrtf): Define as macro.
41794 (__ieee754_sqrtl): Define as macro.
41795 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41797 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41798 __FINITE_MATH_ONLY__ consistent.
41799 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41801 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41803 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41806 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41808 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41810 * po/ja.po: Update from translation team.
41812 2011-10-08 Roland McGrath <roland@hack.frob.com>
41814 * locale/programs/locarchive.c (prepare_address_space): New function.
41815 (create_archive, enlarge_archive, open_archive): Use it.
41817 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41818 inside [SHARED], where it is used.
41820 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41822 * nss/getent.c (netgroup_keys): Remove unused variable.
41823 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41825 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41827 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41828 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41829 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41830 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41831 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41832 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41833 * math/Makefile (libm-calls): Add s_isinf_ns.
41834 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41835 * math/multc3.c: Likewise.
41836 * math/s_casin.c: Likewise.
41837 * math/s_casinf.c: Likewise.
41838 * math/s_casinl.c: Likewise.
41839 * math/s_ccos.c: Likewise.
41840 * math/s_ccosf.c: Likewise.
41841 * math/s_ccosl.c: Likewise.
41842 * math/s_ctan.c: Likewise.
41843 * math/s_ctanf.c: Likewise.
41844 * math/s_ctanh.c: Likewise.
41845 * math/s_ctanhf.c: Likewise.
41846 * math/s_ctanhl.c: Likewise.
41847 * math/s_ctanl.c: Likewise.
41848 * math/w_fmod.c: Likewise.
41849 * math/w_fmodf.c: Likewise.
41850 * math/w_fmodl.c: Likewise.
41851 * math/w_remainder.c: Likewise.
41852 * math/w_remainderf.c: Likewise.
41853 * math/w_remainderl.c: Likewise.
41854 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41855 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41856 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41857 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41858 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41859 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41860 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41861 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41863 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41865 * stdio-common/printf_fphex.c: Likewise.
41866 * stdio-common/printf_size.c: Likewise.
41868 * math/e_exp10.c: Include math_private.h using <...> not "...".
41869 * math/e_exp10f.c: Likewise.
41870 * math/e_exp10l.c: Likewise.
41871 * math/e_exp2l.c: Likewise.
41872 * math/e_j0l.c: Likewise.
41873 * math/e_j1l.c: Likewise.
41874 * math/e_jnl.c: Likewise.
41875 * math/e_lgammal_r.c: Likewise.
41876 * math/e_rem_pio2l.c: Likewise.
41877 * math/e_scalb.c: Likewise.
41878 * math/e_scalbf.c: Likewise.
41879 * math/e_scalbl.c: Likewise.
41880 * math/k_cosl.c: Likewise.
41881 * math/k_sinl.c: Likewise.
41882 * math/k_tanl.c: Likewise.
41883 * math/s_cacoshf.c: Likewise.
41884 * math/s_catan.c: Likewise.
41885 * math/s_catanf.c: Likewise.
41886 * math/s_catanh.c: Likewise.
41887 * math/s_catanhf.c: Likewise.
41888 * math/s_catanhl.c: Likewise.
41889 * math/s_catanl.c: Likewise.
41890 * math/s_ccosh.c: Likewise.
41891 * math/s_ccoshf.c: Likewise.
41892 * math/s_ccoshl.c: Likewise.
41893 * math/s_cexp.c: Likewise.
41894 * math/s_cexpf.c: Likewise.
41895 * math/s_cexpl.c: Likewise.
41896 * math/s_clog.c: Likewise.
41897 * math/s_clog10.c: Likewise.
41898 * math/s_clog10f.c: Likewise.
41899 * math/s_clog10l.c: Likewise.
41900 * math/s_clogf.c: Likewise.
41901 * math/s_clogl.c: Likewise.
41902 * math/s_csin.c: Likewise.
41903 * math/s_csinf.c: Likewise.
41904 * math/s_csinh.c: Likewise.
41905 * math/s_csinhf.c: Likewise.
41906 * math/s_csinhl.c: Likewise.
41907 * math/s_csinl.c: Likewise.
41908 * math/s_csqrt.c: Likewise.
41909 * math/s_csqrtf.c: Likewise.
41910 * math/s_csqrtl.c: Likewise.
41911 * math/s_ctan.c: Likewise.
41912 * math/s_ctanf.c: Likewise.
41913 * math/s_ctanh.c: Likewise.
41914 * math/s_ctanhf.c: Likewise.
41915 * math/s_ctanhl.c: Likewise.
41916 * math/s_ctanl.c: Likewise.
41917 * math/s_ldexp.c: Likewise.
41918 * math/s_ldexpf.c: Likewise.
41919 * math/s_ldexpl.c: Likewise.
41920 * math/s_significand.c: Likewise.
41921 * math/s_significandf.c: Likewise.
41922 * math/s_significandl.c: Likewise.
41923 * math/w_acos.c: Likewise.
41924 * math/w_acosf.c: Likewise.
41925 * math/w_acosh.c: Likewise.
41926 * math/w_acoshf.c: Likewise.
41927 * math/w_acoshl.c: Likewise.
41928 * math/w_acosl.c: Likewise.
41929 * math/w_asin.c: Likewise.
41930 * math/w_asinf.c: Likewise.
41931 * math/w_asinl.c: Likewise.
41932 * math/w_atan2.c: Likewise.
41933 * math/w_atan2f.c: Likewise.
41934 * math/w_atan2l.c: Likewise.
41935 * math/w_atanh.c: Likewise.
41936 * math/w_atanhf.c: Likewise.
41937 * math/w_atanhl.c: Likewise.
41938 * math/w_cosh.c: Likewise.
41939 * math/w_coshf.c: Likewise.
41940 * math/w_coshl.c: Likewise.
41941 * math/w_dremf.c: Likewise.
41942 * math/w_exp10.c: Likewise.
41943 * math/w_exp10f.c: Likewise.
41944 * math/w_exp10l.c: Likewise.
41945 * math/w_exp2.c: Likewise.
41946 * math/w_exp2f.c: Likewise.
41947 * math/w_fmod.c: Likewise.
41948 * math/w_fmodf.c: Likewise.
41949 * math/w_fmodl.c: Likewise.
41950 * math/w_hypot.c: Likewise.
41951 * math/w_hypotf.c: Likewise.
41952 * math/w_hypotl.c: Likewise.
41953 * math/w_j0.c: Likewise.
41954 * math/w_j0f.c: Likewise.
41955 * math/w_j0l.c: Likewise.
41956 * math/w_j1.c: Likewise.
41957 * math/w_j1f.c: Likewise.
41958 * math/w_j1l.c: Likewise.
41959 * math/w_jn.c: Likewise.
41960 * math/w_jnf.c: Likewise.
41961 * math/w_jnl.c: Likewise.
41962 * math/w_lgamma.c: Likewise.
41963 * math/w_lgamma_r.c: Likewise.
41964 * math/w_lgammaf.c: Likewise.
41965 * math/w_lgammaf_r.c: Likewise.
41966 * math/w_lgammal.c: Likewise.
41967 * math/w_lgammal_r.c: Likewise.
41968 * math/w_log.c: Likewise.
41969 * math/w_log10.c: Likewise.
41970 * math/w_log10f.c: Likewise.
41971 * math/w_log10l.c: Likewise.
41972 * math/w_log2.c: Likewise.
41973 * math/w_log2f.c: Likewise.
41974 * math/w_log2l.c: Likewise.
41975 * math/w_logf.c: Likewise.
41976 * math/w_logl.c: Likewise.
41977 * math/w_pow.c: Likewise.
41978 * math/w_powf.c: Likewise.
41979 * math/w_powl.c: Likewise.
41980 * math/w_remainder.c: Likewise.
41981 * math/w_remainderf.c: Likewise.
41982 * math/w_remainderl.c: Likewise.
41983 * math/w_scalb.c: Likewise.
41984 * math/w_scalbf.c: Likewise.
41985 * math/w_scalbl.c: Likewise.
41986 * math/w_sinh.c: Likewise.
41987 * math/w_sinhf.c: Likewise.
41988 * math/w_sinhl.c: Likewise.
41989 * math/w_sqrt.c: Likewise.
41990 * math/w_sqrtf.c: Likewise.
41991 * math/w_sqrtl.c: Likewise.
41992 * math/w_tgamma.c: Likewise.
41993 * math/w_tgammaf.c: Likewise.
41994 * math/w_tgammal.c: Likewise.
41996 * po/ja.po: Update from translation team.
41998 2011-09-29 Andreas Jaeger <aj@suse.de>
42001 * sunrpc/netname.c (netname2host): Fix logic.
42005 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42007 * math/w_remainder.c (__remainder): Likewise.
42008 * math/w_remainderf.c (__remainderf): Likewise.
42009 * math/libm-test.inc (remainder_test): Add test cases.
42011 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42013 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42016 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42018 * string/test-memcmp.c: Avoid unncessary #defines.
42019 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42021 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42023 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42024 Use new sse2 version for core i3 - i7 as it's faster
42025 than sse42 version.
42026 (bit_Prefer_PMINUB_for_stringop): New.
42027 * sysdeps/x86_64/rawmemchr.S: Update.
42028 Replace with faster SSE2 version.
42029 * sysdeps/x86_64/memrchr.S: New file.
42030 * sysdeps/x86_64/memchr.S: Update.
42031 Replace with faster SSE2 version.
42033 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42035 * elf/dl-load.c (lose): Add cast to avoid warning.
42037 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42039 * po/ca.po: Update from translation team.
42041 * inet/getnetgrent_r.c: Hook up nscd.
42042 * nscd/Makefile (routines): Add nscd_netgroup.
42043 (nscd-modules): Add netgroupcache.
42044 (CFLAGS-netgroupcache.c): Define.
42045 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42046 (cache_search): Add const to second parameter.
42047 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42049 (dbs): Add netgrdb entry.
42050 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42051 (verify_persistent_db): Handle netgrdb.
42052 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42053 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42055 (netgroup_response_header): Define.
42056 (innetgroup_response_header): Define.
42057 (datahead): Add netgroup_response_header and innetgroup_response_header
42059 * nscd/nscd.conf: Add entries for netgroup cache.
42060 * nscd/nscd.h (dbtype): Add netgrdb.
42061 (_PATH_NSCD_NETGROUP_DB): Define.
42062 (netgroup_iov_disabled): Declare.
42063 (xmalloc, xcalloc, xrealloc): Move declarations here.
42064 (cache_search): Adjust prototype.
42065 Add netgroup-related prototypes.
42066 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42067 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42068 (__nscd_innetgr): Declare.
42069 * nscd/selinux.c (perms): Use access_vector_t as element type and
42070 add netgroup-related initializers.
42071 * nscd/netgroupcache.c: New file.
42072 * nscd/nscd_netgroup.c: New file.
42073 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42074 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42075 For four parameters use innetgr.
42076 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42077 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42078 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42079 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42081 * nscd/connections.c (register_traced_file): Don't register file
42082 for disabled databases.
42084 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42086 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42088 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42089 from tree and freeing node.
42091 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42093 * nss/nsswitch.c (__nss_database_lookup): Handle
42094 nss_parse_service_list out of memory case.
42096 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42098 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42099 out of memory case.
42101 2011-10-04 Andreas Schwab <schwab@redhat.com>
42103 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42104 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42106 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42107 elf_machine_rela, elf_machine_lazy_rel.
42108 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42109 (ELF_DYNAMIC_DO_REL): Likewise.
42110 (ELF_DYNAMIC_DO_RELA): Likewise.
42111 (ELF_DYNAMIC_RELOCATE): Likewise.
42112 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42113 to ELF_DYNAMIC_DO_REL.
42114 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42115 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42116 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42118 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42119 skip_ifunc, don't call ifunc function if non-zero.
42120 (elf_machine_rela): Likewise.
42121 (elf_machine_lazy_rel): Likewise.
42122 (elf_machine_lazy_rela): Likewise.
42123 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42124 (elf_machine_lazy_rel): Likewise.
42125 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42127 (elf_machine_lazy_rel): Likewise.
42128 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42130 (elf_machine_lazy_rel): Likewise.
42131 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42132 (elf_machine_lazy_rel): Likewise.
42133 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42134 (elf_machine_lazy_rel): Likewise.
42135 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42136 (elf_machine_lazy_rel): Likewise.
42137 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42138 (elf_machine_lazy_rel): Likewise.
42139 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42140 (elf_machine_lazy_rel): Likewise.
42141 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42142 (elf_machine_lazy_rel): Likewise.
42144 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42146 * nss/nss_files/files-init.c (_nss_files_init): Use static
42147 initialization for all the *_traced_file variables.
42149 2011-09-28 Andreas Schwab <schwab@redhat.com>
42151 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42153 2011-09-27 Roland McGrath <roland@hack.frob.com>
42156 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42158 2011-09-27 Andreas Schwab <schwab@redhat.com>
42160 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42161 Reread the line before reparsing it.
42163 2011-09-26 Andreas Schwab <schwab@redhat.com>
42165 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42167 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42168 Maxim Kuvyrkov <maxim@codesourcery.com>
42169 Joseph Myers <joseph@codesourcery.com>
42171 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42172 if needed for __stack_chk_guard.
42174 2011-09-19 Roland McGrath <roland@hack.frob.com>
42176 * sysdeps/posix/spawni.c (script_execute): Always define it.
42177 It will be optimized away if unused.
42178 (maybe_script_execute): New function.
42179 (__spawni): Call it.
42181 * Makerules: Don't include tls.make.
42182 (config-tls): Always set to thread.
42183 * tls.make.c: File removed.
42185 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42187 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42188 * config.make.in (CPPFLAGS-config): New substituted variable.
42190 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42192 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42195 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42196 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42198 2011-09-15 Roland McGrath <roland@hack.frob.com>
42200 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42201 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42202 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42203 (CALL_FAIL): Likewise.
42204 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42205 (CALL_FAIL): Macro removed.
42206 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42208 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42210 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42211 for __FINITE_MATH_ONLY__ == 1.
42213 2011-09-15 Andreas Schwab <schwab@redhat.com>
42215 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42216 __ieee754_sqrt instead of sqrt.
42217 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42218 __ieee754_sqrtf instead of sqrtf.
42219 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42220 __floorf instead of floorf.
42221 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42222 __floorf, __truncf instead of floorf, truncf.
42224 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42226 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42228 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42229 __extern_always_inline.
42230 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42233 2011-09-14 Andreas Schwab <schwab@redhat.com>
42235 * elf/rtld.c (dl_main): Also relocate in dependency order when
42236 doing symbol dependency testing.
42238 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42240 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42241 Always define `refsym'.
42243 2011-09-13 Andreas Schwab <schwab@redhat.com>
42245 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42246 (__FD_ELT): Renamed from __FDELT.
42247 * misc/bits/select2.h (__FD_ELT): Likewise.
42248 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42249 __FD_MASK instead of __FDELT, __FDMASK.
42250 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42252 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42255 * elf/Makefile (gen-ldd): Fix pattern.
42257 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42258 (init_tls): Likewise.
42260 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42262 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42264 2011-09-12 Andreas Schwab <schwab@redhat.com>
42266 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42267 `struct cmsghdr *' instead of `void *'.
42268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42271 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42273 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42275 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42276 ldd_rewrite_script.
42278 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42280 * configure.in: Remove --with-tls option.
42281 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42282 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42283 out in case it is missing.
42284 * sysdeps/ia64/elf/configure.in: Likewise.
42285 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42286 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42287 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42288 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42289 * sysdeps/sh/elf/configure.in: Likewise.
42290 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42291 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42292 * sysdeps/x86_64/elf/configure.in: Likewise.
42293 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42294 * sysdeps/mach/hurd/tls.h: Likewise.
42297 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42300 * configure.in: Fix use of AC_INIT.
42302 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42304 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42306 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42308 * malloc/hooks.c: Likewise.
42311 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42312 variables statically.
42313 (narenas): Initialize.
42314 (list_lock): Initialize.
42315 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42316 initializtion of main_arena and list_lock. Small cleanups.
42317 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42318 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42319 Add initializers to main_arena and mp_.
42320 (malloc_state): Remove pagesize member. Change all users to use
42323 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42324 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42325 is always initialized.
42327 * malloc/malloc.c: Removed unused configurations and dead code.
42328 * malloc/arena.c: Likewise.
42329 * malloc/hooks.c: Likewise.
42330 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42332 * include/tls.h: Removed. USE___THREAD must always be defined.
42333 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42334 * elf/dl-libc.c: Likewise.
42335 * elf/dl-tsd.c: Likewise.
42336 * include/errno.h: Likewise.
42337 * include/netdb.h: Likewise.
42338 * include/resolv.h: Likewise.
42339 * inet/herrno-loc.c: Likewise.
42340 * inet/herrno.c: Likewise.
42341 * malloc/arena.c: Likewise.
42342 * malloc/hooks.c: Likewise.
42343 * malloc/malloc.c: Likewise.
42344 * resolv/res-state.c: Likewise.
42345 * resolv/res_libc.c: Likewise.
42346 * sysdeps/i386/dl-machine.h: Likewise.
42347 * sysdeps/ia64/dl-machine.h: Likewise.
42348 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42349 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42350 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42351 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42352 * sysdeps/sh/dl-machine.h: Likewise.
42353 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42354 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42355 * sysdeps/unix/i386/sysdep.S: Likewise.
42356 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42357 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42358 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42359 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42360 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42361 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42362 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42363 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42364 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42366 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42367 * sysdeps/x86_64/dl-machine.h: Likewise.
42368 * tls.make.c: Likewise.
42370 * configure.in: Remove --with-__thread option. Make tests for
42371 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42372 tls_model attribute fail if no support is available. Remove
42374 * Makeconfig: Adjust for dropped configure option. All features are
42376 * Makerules: Likewise.
42377 * Versions.def: Likewise.
42378 * argp/argp-fmtstream.c: Likewise.
42379 * argp/argp-fmtstream.h: Likewise.
42380 * argp/argp-help.c: Likewise.
42381 * assert/assert.c: Likewise.
42382 * config.h.in: Likewise.
42383 * config.make.in: Likewise.
42384 * configure: Likewise.
42385 * configure.in: Likewise.
42386 * csu/Versions: Likewise.
42387 * csu/init.c: Likewise.
42388 * elf/tst-audit2.c: Likewise.
42389 * elf/tst-tls10.c: Likewise.
42390 * elf/tst-tls10.h: Likewise.
42391 * elf/tst-tls11.c: Likewise.
42392 * elf/tst-tls12.c: Likewise.
42393 * elf/tst-tls14.c: Likewise.
42394 * elf/tst-tlsmod11.c: Likewise.
42395 * elf/tst-tlsmod12.c: Likewise.
42396 * elf/tst-tlsmod13.c: Likewise.
42397 * elf/tst-tlsmod13a.c: Likewise.
42398 * elf/tst-tlsmod14a.c: Likewise.
42399 * elf/tst-tlsmod15b.c: Likewise.
42400 * elf/tst-tlsmod16a.c: Likewise.
42401 * elf/tst-tlsmod16b.c: Likewise.
42402 * elf/tst-tlsmod7.c: Likewise.
42403 * elf/tst-tlsmod8.c: Likewise.
42404 * elf/tst-tlsmod9.c: Likewise.
42405 * gmon/gmon.c: Likewise.
42406 * grp/fgetgrent_r.c: Likewise.
42407 * grp/putgrent.c: Likewise.
42408 * hurd/fopenport.c: Likewise.
42409 * include/libc-symbols.h: Likewise.
42410 * include/tls.h: Likewise.
42411 * intl/gettextP.h: Likewise.
42412 * intl/loadinfo.h: Likewise.
42413 * locale/global-locale.c: Likewise.
42414 * locale/localeinfo.h: Likewise.
42415 * mach/devstream.c: Likewise.
42416 * malloc/arena.c: Likewise.
42417 * malloc/set-freeres.c: Likewise.
42418 * misc/err.c: Likewise.
42419 * misc/getttyent.c: Likewise.
42420 * misc/mntent_r.c: Likewise.
42421 * posix/getopt.c: Likewise.
42422 * posix/wordexp.c: Likewise.
42423 * pwd/fgetpwent_r.c: Likewise.
42424 * resolv/Versions: Likewise.
42425 * resolv/res_hconf.c: Likewise.
42426 * shadow/fgetspent_r.c: Likewise.
42427 * shadow/putspent.c: Likewise.
42428 * stdio-common/printf_fphex.c: Likewise.
42429 * stdio-common/tmpfile.c: Likewise.
42430 * stdlib/abort.c: Likewise.
42431 * stdlib/fmtmsg.c: Likewise.
42432 * sunrpc/auth_unix.c: Likewise.
42433 * sunrpc/clnt_perr.c: Likewise.
42434 * sunrpc/clnt_tcp.c: Likewise.
42435 * sunrpc/clnt_udp.c: Likewise.
42436 * sunrpc/clnt_unix.c: Likewise.
42437 * sunrpc/openchild.c: Likewise.
42438 * sunrpc/svc_simple.c: Likewise.
42439 * sunrpc/svc_tcp.c: Likewise.
42440 * sunrpc/svc_udp.c: Likewise.
42441 * sunrpc/svc_unix.c: Likewise.
42442 * sunrpc/xdr.c: Likewise.
42443 * sunrpc/xdr_array.c: Likewise.
42444 * sunrpc/xdr_rec.c: Likewise.
42445 * sunrpc/xdr_ref.c: Likewise.
42446 * sunrpc/xdr_stdio.c: Likewise.
42448 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42450 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42452 2011-07-03 Andreas Jaeger <aj@suse.de>
42454 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42455 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42456 regenerate with gen-libm-tests.pl.
42458 2010-05-12 Petr Baudis <pasky@suse.cz>
42461 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42462 around j0() zero points by switching to j1().
42463 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42464 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42465 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42466 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42468 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42470 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42472 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42475 Patch in part by Pavel Roskin <proski@gnu.org>.
42478 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42480 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42481 Free memory block if necessary.
42484 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42485 be NULL. Don't lock in this case.
42487 2011-09-09 Roland McGrath <roland@hack.frob.com>
42489 * elf/elf.h (ELFOSABI_GNU): New macro.
42490 (ELFOSABI_LINUX): Define to that.
42492 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42494 * string/strncat.c (strncat): Undef the symbol in case it has been
42495 defined in bits/string.h.
42497 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42499 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42501 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42504 2011-08-17 Andreas Jaeger <aj@suse.de>
42506 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42508 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42509 Ian Lance Taylor <iant@google.com>
42511 * math/libm-test.inc (lround_test): New testcase.
42512 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42514 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42516 * Makefile: Remove support for automatic cvs check-ins.
42517 * Makerules: Likewise.
42518 * config.make.in: Likewise.
42519 * configure.in: Likewise.
42520 * intl/Makefile: Likewise.
42521 * locale/Makefile: Likewise.
42522 * po/Makefile: Likewise.
42523 * posix/Makefile: Likewise.
42524 * sysdeps/gnu/Makefile: Likewise.
42525 * sysdeps/mach/hurd/Makefile: Likewise.
42526 * sysdeps/sparc/sparc32/Makefile: Likewise.
42529 * posix/Makefile (bug-regex32-ENV): Define.
42530 Patch by John Stanley <jpsinthemix@verizon.net>.
42532 * misc/Makefile (headers): Add bits/select2.h.
42533 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42534 * misc/bits/select2.h: New file.
42535 * include/bits/select2.h: New file.
42536 * debug/Makefile (routines): Add fdelt_chk.
42537 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42538 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42540 * debug/fdelt_chk.c: New file.
42542 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42543 * wcsmbs/test-wmemcmp.c: Likewise.
42544 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42545 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42547 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42549 * string/Makefile (strop-tests): Add memcmp.
42550 * string/test-wmemcmp.c: New file.
42551 * string/test-memcmp.c: Add wmemcmp support.
42553 2011-09-08 Roland McGrath <roland@hack.frob.com>
42556 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42559 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42560 garbage value in a __mach_port_mod_refs call in the cases of the
42561 task-self and thread-self ports.
42563 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42565 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42567 2011-09-08 Andreas Schwab <schwab@redhat.com>
42569 * elf/dl-load.c (lose): Check for non-null L.
42571 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42573 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42575 * elf/dl-libc.c (dlerror_run): Pass back error code from
42579 * elf/dl-load.c (lose): Free l_origin if it is valid.
42581 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42583 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42584 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42585 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42586 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42587 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42588 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42590 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42592 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42593 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42594 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42595 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42596 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42597 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42598 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42599 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42600 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42601 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42603 2011-08-15 Alan Modra <amodra@gmail.com>
42606 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42607 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42608 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42609 ppc_mcount to static-only-routines.
42610 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42612 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42613 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42615 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42617 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42618 for finite and infinity parameters.
42620 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42622 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42623 and add nop instructions for throughput optimization.
42624 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42626 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42628 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42629 aligned copy for power7 with vector-scalar instructions.
42630 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42632 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42634 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42637 2011-09-07 Andreas Schwab <schwab@redhat.com>
42640 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42643 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42645 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42646 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42647 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42648 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42651 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42653 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42654 Forgot to demangle the pointer.
42656 * sysdeps/i386/sysdep.h: Define atom_text_section.
42657 * sysdeps/x86_64/sysdep.h: Likewise.
42658 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42659 section with atom_text_section.
42660 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42661 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42662 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42663 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42664 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42666 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42667 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42668 already be defined. Change to take two parameters and don't assign
42669 result to variable. Adjust all users.
42670 Define INTERNAL_GETTIME if not already defined.
42671 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42673 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42674 HAVE_CLOCK_GETTIME_VSYSCALL.
42675 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42678 gettimeofday vsyscall, just use time.
42680 2011-09-06 Andreas Schwab <schwab@redhat.com>
42682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42685 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42687 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42689 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42691 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42692 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42693 syscall if possible.
42695 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42697 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42698 e_ident. Don't pass to find_mapsXX.
42699 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42701 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42704 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42705 * sysdeps/x86_64/multiarch/strchr.S: Update.
42706 Check bit_slow_BSF bit.
42707 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42708 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42709 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42711 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42714 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42716 (tryshell): Define.
42717 (__spawni): Change last parameter to be flag. Test
42718 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42719 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42720 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42721 * posix/spawni.c: Likewise.
42722 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42723 * posix/spawnp.c: Likewise. Change normal version to use
42724 SPAWN_XFLAGS_USE_PATH.
42725 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42726 SPAWN_XFLAGS_TRY_SHELL.
42729 * posix/glob.h: Remove gcc 1.x support.
42732 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42734 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42737 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42739 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42740 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42741 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42742 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42743 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42744 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42746 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42748 * sysdeps/x86_64/wcscmp.S: New file.
42750 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42751 wcscmp-c wcscmp-sse2
42752 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42753 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42754 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42755 * wcsmbs/wcscmp.c: Allow renaming.
42757 2011-09-05 David S. Miller <davem@davemloft.net>
42759 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42760 stack slot, rather than the struct return pointer slot.
42761 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42762 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42764 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42766 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42768 * po/ja.po: Update from translation team.
42771 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42772 kernel in 64-bit binaries.
42774 2011-09-01 David S. Miller <davem@davemloft.net>
42776 * elf/elf.h (HWCAP_SPARC_*): Move to..
42777 * sysdeps/sparc/sysdep.h: this new file and add new values.
42778 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42779 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42780 _DL_HWCAP_COUNT to 24.
42781 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42783 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42784 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42785 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42786 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42787 instead of magic constants.
42788 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42790 2011-08-31 David S. Miller <davem@davemloft.net>
42792 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42794 Reimplement to do errno handling inline.
42795 (SYSCALL_ERROR_HANDLER): New macro.
42796 (__SYSCALL_STRING): Do not do errno handling in asm.
42797 (__CLONE_SYSCALL_STRING): Delete.
42798 (__INTERNAL_SYSCALL_STRING): Delete.
42799 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42800 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42801 (PSEUDO): Reimplement to do errno handling inline.
42802 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42803 (SYSCALL_ERROR_HANDLER): New macro.
42804 (__SYSCALL_STRING): Do not do errno handling in asm.
42805 (__CLONE_SYSCALL_STRING): Delete.
42806 (__INTERNAL_SYSCALL_STRING): Delete.
42807 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42808 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42810 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42811 (inline_syscall*): Add 'err' argument.
42812 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42813 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42814 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42815 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42817 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42818 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42820 2011-08-30 Andreas Schwab <schwab@redhat.com>
42822 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42824 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42826 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42829 2011-08-24 David S. Miller <davem@davemloft.net>
42831 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42833 2011-08-24 Andreas Schwab <schwab@redhat.com>
42835 * elf/Makefile: Add rules to build and run unload8 test.
42836 * elf/unload8.c: New file.
42837 * elf/unload8mod1.c: New file.
42838 * elf/unload8mod1x.c: New file.
42839 * elf/unload8mod2.c: New file.
42840 * elf/unload8mod3.c: New file.
42842 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42845 2011-08-23 David S. Miller <davem@davemloft.net>
42847 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42848 subtract stack bias.
42849 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42850 %sp not %fp in calculations.
42851 (_JMPBUF_UNWINDS_ADJ): Likewise.
42853 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42854 (aio_suspend): Call it to force an exception region around the
42855 AIO_MISC_WAIT() invocation.
42857 2011-08-23 Andreas Schwab <schwab@redhat.com>
42859 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42862 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42864 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42866 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42867 and <dl-machine.h>.
42868 (Elf64_FuncDesc): Remove.
42870 2011-08-22 David S. Miller <davem@davemloft.net>
42872 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42873 sigaltstack check, add missing cfi directives.
42874 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42875 missing cfi directives, and sigaltstack handling.
42877 2011-08-16 Andreas Schwab <schwab@redhat.com>
42880 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42881 object is seen twice.
42882 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42884 * elf/Makefile (distribute): Add tst-initorder2.c.
42885 (tests): Add tst-initorder2.
42886 (modules-names): Add tst-initorder2a tst-initorder2b
42887 tst-initorder2c tst-initorder2d. Add rules to build them.
42888 ($(objpfx)tst-initorder2.out): New rule.
42889 * elf/tst-initorder2.c: New file.
42890 * elf/tst-initorder2.exp: New file.
42892 2011-08-22 Andreas Schwab <schwab@redhat.com>
42894 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42896 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42897 dependencies back to end of function.
42899 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42900 $(elfobjdir)/ld.so.
42902 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42904 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42905 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42906 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42907 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42908 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42909 of __vdso_gettimeofday.
42910 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42911 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42913 (_libc_vdso_platform_setup): Remove initialization of
42914 __vdso_gettimeofday and __vdso_time.
42916 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42918 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42919 and fgetc_unlocked.
42920 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42923 * elf/dl-open.c (add_to_global): Report additions to the global scope
42924 for LD_DEBUG=scopes.
42925 (dl_open_worker): Also print scope of newly loaded dependencies.
42926 (_dl_show_scope): Indicate if there is no scope.
42929 * stdio-common/Makefile (tests): Add bug24.
42930 * stdio-common/bug24.c: New file.
42932 2011-08-19 Andreas Jaeger <aj@suse.de>
42935 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42936 non-existant file when using close-on-exec mode.
42938 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42940 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42941 the very first instruction.
42943 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42944 the CFI state in the end.
42945 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42946 inclusion of dl-trampoline.h.
42947 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42949 2011-08-19 Andreas Schwab <schwab@redhat.com>
42951 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42952 expectations for long double.
42954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42955 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42957 2011-08-14 David S. Miller <davem@davemloft.net>
42959 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42960 artificual limit depends upon the system page size.
42962 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42964 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42965 * resolv/Makefile: Define CFLAGS-libresolv.
42967 2011-08-17 Andreas Schwab <schwab@redhat.com>
42969 * nss/makedb.c (compute_tables): Make variables used in nested
42972 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42974 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42975 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42976 if buffer was too small.
42978 * elf/pldd.c (main): Attach to all threads in the process.
42979 Rewrite /proc handling to use *at functions.
42981 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42983 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42984 specifies first scope to show.
42985 (dl_open_worker): Update callers. Move printing scope of new
42986 object to before the relocation.
42987 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42988 * sysdeps/generic/ldsodefs.h: Update declaration.
42990 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42991 string for the scope number.
42993 2011-08-14 Ulrich Drepper <drepper@gmail.com>
42995 * nscd/servicescache.c (cache_addserv): Make sure written is always
42998 2011-08-14 Roland McGrath <roland@hack.frob.com>
43000 * sysdeps/i386/i486/bits/atomic.h
43001 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43002 statement expression, so as to suppress "set but not used" warning.
43003 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43005 * string/strncat.c (STRNCAT): Use prototype definition.
43007 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43008 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43010 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43011 (localedef-modules): Add localedef.
43012 (locale-modules): Add locale.
43014 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43015 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43016 to avoid a warning.
43018 2011-08-14 David S. Miller <davem@davemloft.net>
43020 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43021 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43023 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43025 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43026 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43027 * elf/rtld.c (dl_main): Set l_name of vDSO.
43028 Call _dl_show_scope when DL_DEBUG_SCOPES.
43029 (process_dl_debug): Recognize scopes flag and also set it for all.
43030 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43031 Declare _dl_show_scope.
43033 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43034 (do_dlopen): Pass caller_dlopen to dl_open.
43035 (__libc_dlopen_mode): Initialize caller_dlopen.
43037 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43038 of libc. Make tolower call locale-independent. Optimize a bit by
43039 using isdigit instead of isalnum.
43040 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43042 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43044 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43045 was a dependency or dynamically loaded.
43047 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43049 * intl/l10nflist.c: Allow architecture-specific pop function.
43050 * sysdeps/x86_64/l10nflist.c: New file.
43052 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43055 2011-08-10 Andreas Schwab <schwab@redhat.com>
43057 * include/dirent.h: Add libc_hidden_proto for scandirat and
43058 scandirat64. Don't declare __scandirat64.
43059 * dirent/scandirat.c: Add libc_hidden_def.
43060 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43061 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43063 2011-08-10 David S. Miller <davem@davemloft.net>
43065 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43067 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43068 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43069 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43071 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43073 * Versions.def [libc]: Add GLIBC_2.15.
43074 * dirent/Makefile (routines): Add scandirat and scandirat64.
43075 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43077 * dirent/dirent.h: Declare scandirat and scandirat64.
43078 * dirent/scandirat.c: New file.
43079 * dirent/scandirat64.c: New file.
43080 * sysdeps/wordsize-64/scandirat.c: New file.
43081 * sysdeps/wordsize-64/scandirat64.c: New file.
43082 * dirent/opendir.c: Define opendirat.
43083 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43085 * dirent/scandir64.c: Adjust for scandir.c change.
43086 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43087 __scandirat64, and __scandir_cancel_handler.
43088 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43089 additional parameter and use openat instead of open (outside of ld.so).
43090 Add new __opendir as wrapper around __opendirat.
43091 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43092 here without requiring old scandirat implementation.
43094 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43096 * dirent/scandir.c (cancel_handler): Renamed to
43097 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43098 defined. Adjust users.
43099 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43100 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43102 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43104 * string/test-string.h (IMPL): Use __STRING to expand name and then
43107 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43110 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43112 * string/Makefile: Update.
43113 (strop-tests): Append strncat.
43114 * string/test-wcscmp.c: New file.
43115 New comprehensive test for wcscmp.
43116 * string/test-strcmp.c: Update.
43117 (WIDE): New define.
43119 2011-07-22 Andreas Schwab <schwab@redhat.com>
43121 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43124 2011-07-26 Andreas Schwab <schwab@redhat.com>
43126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43127 encoding to ACE if AI_IDN.
43129 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43131 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43132 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43134 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43136 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43137 Fix overflow bug in strncat.
43138 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43140 * string/test-strncat.c: Update.
43141 Add new tests for checking overflow bugs.
43143 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43146 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43147 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43148 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43149 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43150 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43151 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43152 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43153 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43155 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43156 (USE_AS_STRCAT): Define.
43157 Add strcat and strncat support.
43158 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43160 2011-07-25 Andreas Schwab <schwab@redhat.com>
43162 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43163 __n bigger than INT_MAX+1.
43164 (__strncmp_g): Likewise.
43166 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43168 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43169 * libio/stido.h: Likewise.
43171 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43176 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43177 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43178 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43179 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43180 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43183 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43186 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43188 (_dl_x86_64_save_sse): Likewise.
43190 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43192 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43194 (_dl_x86_64_save_sse): Likewise.
43196 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43198 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43200 2011-07-21 Andreas Schwab <schwab@redhat.com>
43202 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43204 (_dl_x86_64_save_sse): Use correct AVX check.
43206 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43208 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43209 bug in strncpy/strncat.
43210 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43212 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43214 * string/tester.c (test_strcat): Add tests for different alignments
43215 of source and destination.
43216 (test_strncat): Likewise.
43218 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43221 * posix/glob.c (glob): Check passed in values before using them in
43222 expressions to avoid some overflows.
43223 (glob_in_dir): Likewise.
43226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43227 check for AVX enablement so that we don't crash with old kernels and
43229 * elf/tst-audit4.c: Add same checks here.
43230 * elf/tst-audit6.c: Likewise.
43232 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43234 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43236 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43238 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43240 * po/cs.po: Update from translation team.
43241 * po/bg.po: Likewise.
43243 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43245 * misc/sys/cdefs.h: Add support for const attribute.
43246 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43247 to gnu_dev_{major,minor,makedev} functions.
43249 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43251 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43253 2011-07-20 Andreas Schwab <schwab@redhat.com>
43255 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43258 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43261 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43262 register in order to avoid conflicts with the soft frame pointer
43263 being held in r11 when necessary.
43264 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43265 (INTERNAL_VSYSCALL_NCS): Likewise.
43267 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43269 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43270 * elf/dl-fini.c (_dl_fini): Adjust caller.
43271 * elf/dl-close.c (_dl_close_worker): Likewise.
43272 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43274 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43276 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43277 "aux_cache->nlibs < 0".
43279 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43280 in the reload-count case.
43282 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43285 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43286 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43287 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43288 * sysdeps/x86_64/multiarch/strcat.S: New file.
43289 * sysdeps/x86_64/multiarch/strncat.S: New file.
43290 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43291 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43292 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43293 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43294 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43295 (USE_AS_STRCAT): Define.
43296 Add strcat and strncat support.
43297 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43298 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43299 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43300 * string/strncat.c: Update.
43301 (USE_AS_STRNCAT): Define.
43302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43303 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43305 * sysdeps/x86_64/multiarch/init-arch.h
43306 (bit_Prefer_PMINUB_for_stringop): New.
43307 (index_Prefer_PMINUB_for_stringop): Likewise.
43308 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43309 bit_Prefer_PMINUB_for_stringop.
43311 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43313 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43315 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43316 of casting of buffer.
43317 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43318 buffer32 and buffer64.
43319 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43320 writes instead of casting of buffer.
43321 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43323 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43326 2011-07-19 Andreas Schwab <schwab@redhat.com>
43328 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43330 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43332 * nscd/nscd.c (termination_handler): Don't do anything for a database
43333 if it has not yet been initialized.
43335 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43337 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43339 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43341 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43343 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43345 * po/nl.po: Update from translation team.
43346 * po/sv.po: Likewise.
43348 2011-07-16 Roland McGrath <roland@hack.frob.com>
43350 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43351 now disallowed by GCC.
43353 * configure.in (use-default-link): Default to yes if a test -shared
43354 link meets our qualifications.
43355 * configure: Regenerated.
43357 * config.make.in (output-format): New variable.
43358 * configure.in: Check for ld --print-output-format support.
43359 * configure: Regenerated.
43360 * Makerules ($(common-objpfx)format.lds)
43361 [$(output-format) != unknown]: Just use $(output-format),
43362 instead of the linker-script munging.
43364 2011-07-14 Roland McGrath <roland@hack.frob.com>
43366 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43367 of $(common-objpfx)shlib.lds.
43368 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43370 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43371 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43373 * configure.in (-z relro check): Adjust test code to add a large
43374 writable data section after it.
43375 * configure: Regenerated.
43377 2011-07-11 Roland McGrath <roland@hack.frob.com>
43379 * configure.in (-z relro check): Fix test code to make the variable
43381 * configure: Regenerated.
43383 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43385 * nscd/nscd.h (struct traced_file): Define.
43386 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43387 elements. Add traced_files.
43388 (inotify_fd): Declare.
43389 (register_traced_file): Declare.
43390 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43391 (inotify_fd): Export.
43392 (resolv_conf_descr): Remove.
43393 (nscd_init): Move inotify descriptor creation to main.
43394 Don't register files for notification here.
43395 (register_traced_file): New function.
43396 (invalidate_cache): Don't use reset_res to determine whether to call
43397 res_init, go through the list of registered files.
43398 (main_loop_poll): The inotify descriptors are now stored in the
43399 structures for the traced files.
43400 (main_loop_epoll): Likewise
43401 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43402 to __nss_disable_nscd.
43403 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43404 for a database anymore. Check the records for all the registered
43406 * nss/Makefile (libnss_files-routines): Add files-init.
43407 (libnss_db-routines): Add db-init.
43408 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43409 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43410 * nss/nss_db/db-init.c: New file.
43411 * nss/nss_files/files-init.c: New file.
43412 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43413 __nss_lookup_function.
43414 (__nss_lookup_function): Call nss_load_library.
43415 (nss_load_all_libraries): New function.
43416 (__nss_disable_nscd): Take parameter with callback function for files
43417 to register. Set is_nscd. Load all the DSOs for the NSS modules
43418 used for the cached services.
43419 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43420 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43421 options for features to all the files in nscd.
43423 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43425 2011-07-10 Roland McGrath <roland@hack.frob.com>
43427 * csu/elf-init.c (__libc_csu_init): Comment typo.
43429 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43431 * po/pl.po: Update from translation team.
43432 * po/ja.po: Likewise.
43433 * po/ru.po: Likewise.
43434 * po/ko.po: Likewise.
43435 * po/fr.po: Likewise.
43437 2011-07-09 Roland McGrath <roland@hack.frob.com>
43439 * configure.in (.ctors/.dtors header and trailer check):
43440 Use an empirical test on a built program.
43441 * configure: Regenerated.
43443 * configure.in (-z relro check): Use an empirical test on a built DSO.
43444 Detect, but do not require, on ia64.
43445 * configure: Regenerated.
43447 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43448 Update tests that use readelf to use $READELF instead.
43449 * configure: Regenerated.
43451 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43453 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43454 if the result is not used.
43456 2011-07-05 Andreas Jaeger <aj@suse.de>
43459 * stdlib/tst-strtod.c: Add testcase.
43461 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43463 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43464 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43465 The latter has a higher limit. Take additional parameter to pass to
43467 (__pathconf): Pass file to __statfs_link_max.
43468 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43470 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43474 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43475 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43477 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43478 (__statfs_filesize_max): Likewise.
43479 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43481 2011-07-05 Andreas Jaeger <aj@suse.de>
43483 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43485 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43487 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43489 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43492 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43494 * Makefile (strop-tests): Add strncat.
43495 * string/test-strncat.c: New file.
43497 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43499 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43501 2011-06-21 Andreas Jaeger <aj@suse.de>
43503 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43504 Copy rule from iconvdata/Makefile.
43506 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43509 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43510 but no long options are defined, just return 'W'.
43512 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43515 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43517 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43519 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43521 (innetgr): Likewise.
43523 2011-07-05 Roland McGrath <roland@hack.frob.com>
43525 * config.make.in (install_root): Default to $(DESTDIR).
43527 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43529 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43531 2011-07-02 Roland McGrath <roland@hack.frob.com>
43533 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43535 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43536 containing directory rather than embedding absolute directory names.
43538 * scripts/check-local-headers.sh: Rewritten using awk.
43539 Match by word, not by line. Print error messages for matches.
43540 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43542 * Makerules [shlib-lds-flags empty]:
43543 ($(common-objpfx)libc_pic.opts): New target.
43544 ($(common-objpfx)libc_pic.os.clean): New target.
43545 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43547 * config.make.in (OBJCOPY): New variable.
43548 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43549 * configure: Regenerated.
43551 * config.make.in (use-default-link): New variable.
43552 * configure.in (use_default_link): Grok --with-default-link to set it.
43553 * configure: Regenerated.
43554 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43555 (shlib-lds, shlib-lds-flags): Define to empty.
43557 * Makerules (shlib-lds): New variable.
43558 (shlib-lds-flags): New variable.
43559 (build-shlib, build-moduile, build-module-asneeded): Use it.
43560 ($(common-objpfx)libc.so): Use $(shlib-lds).
43561 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43562 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43564 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43565 DT_FLAGS/DT_FLAGS_1 with zero flags.
43567 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43568 linker script munging.
43570 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43572 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43574 * crypt/sha512.c (sha512_process_block): Perform total addition using
43575 128-bit if possible.
43576 (__sha512_finish_ctx): Likewise.
43577 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43579 * crypt/sha256.c (SWAP64): Define.
43580 (sha256_process_block): Perform total addition using 64-bit if
43582 (__sha256_finish_ctx): Likewise.
43584 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43586 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43587 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43588 * nscd/hstcache.c (cache_addhst): Likewise.
43589 * nscd/grpcache.c (cache_addgr): Likewise.
43590 * nscd/aicache.c (addhstaiX): Likewise
43591 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43593 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43595 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43596 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43597 * nscd/hstcache.c (cache_addhst): Likewise.
43598 * nscd/grpcache.c (cache_addgr): Likewise.
43599 * nscd/aicache.c (addhstaiX): Likewise
43601 2011-07-01 Andreas Schwab <schwab@redhat.com>
43603 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43604 domain only when needed.
43606 2011-06-30 Andreas Schwab <schwab@redhat.com>
43608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43609 is always restored.
43611 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43613 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43614 are re-adding the entry.
43615 * nscd/servicescache.c (cache_addserv): Likewise.
43617 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43619 * sysdeps/generic/dl-irel.h: fix protection against multiple
43621 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43623 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43626 * malloc/memusage.sh: Fix quoting in message.
43627 * debug/xtrace.sh: Likewise.
43629 * configure.in: Remove support for --experimental-malloc option, make
43631 * config.make.in: Likewise.
43632 * malloc/Makefile: Likewise.
43634 2011-06-27 Andreas Schwab <schwab@redhat.com>
43636 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43637 two-byte characters.
43639 2011-06-27 Roland McGrath <roland@hack.frob.com>
43641 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43642 AC_CACHE_CHECK invocation.
43643 * configure: Regenerated.
43645 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43647 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43650 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43651 bit from old_res_options.
43653 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43655 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43656 value type for setfct.
43658 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43661 __gettimeofday instead of gettimeofday.
43663 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43665 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43667 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43669 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43671 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43674 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43677 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43678 strcpy-sse2-unaligned strncpy-sse2-unaligned
43679 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43680 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43681 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43682 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43683 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43684 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43685 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43686 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43687 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43688 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43689 (STRCPY): Support SSE2 and SSSE3 versions.
43691 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43694 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43695 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43696 kernels which artificially limit size of requests.
43698 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43701 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43702 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43703 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43704 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43705 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43706 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43707 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43708 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43709 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43710 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43711 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43712 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43713 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43714 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43716 Enable unaligned load optimization for Intel Core i3, i5 and i7
43718 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43720 (index_Fast_Unaligned_Load): Define.
43721 (HAS_FAST_UNALIGNED_LOAD): Define.
43723 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43725 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43727 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43731 until it is clear that the information is realy needed.
43732 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43734 2011-06-22 Andreas Schwab <schwab@redhat.com>
43736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43738 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43740 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43741 /sys/devices/system/cpu/online if it is usable.
43743 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43744 reading the information from the /proc filesystem to once a second.
43746 2011-06-21 Andreas Jaeger <aj@suse.de>
43748 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43749 NULL after inclusion of kernel headers.
43751 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43753 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43754 calls to internal_setent.
43757 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43758 addresses using gethostbyname4_r ignore IPv4 addresses.
43760 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43761 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43763 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43765 2011-06-20 David S. Miller <davem@davemloft.net>
43767 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43769 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43771 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43772 (elf_irel): Use it.
43773 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43774 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43775 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43776 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43777 * sysdeps/x86_64/dl-irel.h: Likewise.
43779 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43780 * elf/dl-sym.c: Likewise.
43782 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43784 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43785 need to dereference resplen2.
43787 2011-06-14 Andreas Schwab <schwab@redhat.com>
43789 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43791 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43793 * Makeconfig: Define vardbdir and inst_vardbdir.
43794 * nss/Makefile: Add rules to install db-Makefile.
43796 * nss/nss_db/db-XXX.c: Cleanup.
43798 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43799 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43801 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43802 * nss/makedb.c: Implement -g option to specify that value strings
43803 are generated and should not be added to table iterated over for
43805 * nss/nss_db/db-initgroups.c: New file.
43807 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43810 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43811 (internal_getgrouplist): Adjust to name change.
43812 Update use_initgroups_entry if this is not the first call.
43813 * nss/databases.def: Add initgroups entry.
43815 * nss/makedb.c (compute_tables): Check result of multiple hash table
43816 sizes to minimize maximum chain length.
43818 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43820 * Versions.def: Add entry for libnss_db.
43821 * shlib-versions: Likewise.
43822 * nss/Makefile: Add rules to build libnss_db.
43823 * nss/Versions: Add libnss_db information. Organize libnss_files
43825 * nss/db-Makefile: Add gshadow support. Change rules for the new
43826 makedb progra. Some minor improvements to generate smaller files.
43827 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43829 * nss/makedb.c: ...here.
43830 Improve database format to be smaller and require less memory at
43832 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43834 * nss/nss_db/db-netgrp.c: Likewise.
43835 * nss/nss_db/db-open.c: Likewise.
43836 * nss/nss_files/flies-XXX.x: Adjust comments.
43837 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43838 * nss/nss_files/files-grp.c: Likewise.
43839 * nss/nss_files/files-hosts.c: Likewise.
43840 * nss/nss_files/files-network.c: Likewise.
43841 * nss/nss_files/files-proto.c: Likewise.
43842 * nss/nss_files/files-pwd.c: Likewise.
43843 * nss/nss_files/files-rpc.c: Likewise.
43844 * nss/nss_files/files-service.c: Likewise.
43845 * nss/nss_files/files-sgrp.c: Likewise.
43846 * nss/nss_files/files-spwd.c: Likewise.
43847 * nss/nss_db/db-alias.c: Removed.
43848 * nss/nss_db/dummy-db.h: Removed.
43850 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43852 * nss/makedb.c: Rewritten to not use database library.
43853 * nss/Makefile: Update to build new makedb program.
43855 2011-06-14 Andreas Jaeger <aj@suse.de>
43857 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43858 memset declaration.
43860 2011-06-10 Andreas Schwab <schwab@redhat.com>
43862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43865 2011-06-10 Roland McGrath <roland@hack.frob.com>
43867 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43868 * elf/Makefile ($(objpfx)ld.so): Likewise.
43870 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43871 Don't list ld.so twice in dependencies.
43873 * posix/bug-regex31.c: Include <stdlib.h>.
43875 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43877 * nis/nss_compat/compat-spwd.c
43878 (getspent_next_nss_netgr): Remove unused variable.
43879 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43881 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43882 nonmembers" output to use the right array.
43884 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43886 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43888 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43889 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43890 * catgets/gencat.c (read_input_file): Likewise.
43891 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43893 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43894 variable definition inside #if's controlling its use.
43896 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43898 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43900 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43902 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43905 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43907 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43908 * configure: Regenerated.
43910 * Makerules: Revert last change.
43911 * elf/Makefile: Likewise.
43913 2011-06-09 Roland McGrath <roland@hack.frob.com>
43915 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43916 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43917 (reloc-link): Likewise.
43919 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43921 * elf/Makefile: Add rules to build pldd.
43922 * elf/pldd.c: New file.
43923 * elf/pldd-xx.c: New file.
43925 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43927 * version.h: Update for 2.15 development version.
43929 2011-06-07 David S. Miller <davem@davemloft.net>
43931 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43933 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43934 elf_machine_lazy_rel): Likewise.
43935 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43936 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43937 elf_machine_lazy_rel): Likewise.
43938 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43939 dl_hwcap via passed in argument.
43940 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43943 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43945 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43947 2011-06-06 Roland McGrath <roland@hack.frob.com>
43950 * manual/fdl-1.1.texi: New file, verbatim from:
43951 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43952 * manual/lgpl-2.1.texi: New file, verbatim from:
43953 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43954 * manual/Makefile (licenses): New variable, list those new file names.
43956 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43958 * manual/fdl.texi: File removed.
43959 * manual/lesser.texi: File removed.
43960 * manual/libc.texinfo (Copying, Documentation License):
43961 Use new @include file names, put @appendix directive before @include.
43963 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43966 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43967 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43968 (mq_open): Add __NTH.
43970 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43973 Assume Intel Core i3/i5/i7 processor if AVX is available.
43975 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43977 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43980 2011-05-31 Andreas Schwab <schwab@redhat.com>
43982 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43983 memory. Use alloca_account. Fix memory leak when retrying.
43985 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43987 * version.h (RELEASE): Bump for 2.14 release.
43988 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43990 * config.make.in (RANLIB): Remove entry.
43992 2011-05-30 Ulrich Drepper <drepper@gmail.com>
43994 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43995 (libc.pot): Work around missing support for .ksh extension in xgettext.
43998 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43999 if both request failed.
44000 (send_dg): In case of server errors clear resplen or *resplen2.
44003 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44004 when there are multiple maps.
44005 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44006 (_dl_fini): Remove test here.
44008 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44010 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44013 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44014 bit from old_res_options.
44015 (gaih_inet): Likewise.
44018 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44021 * resolv/res_init.c (res_setoptions): Make the code more compact.
44024 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44028 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44030 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44033 * malloc/malloc.h: Declare malloc hook variables as volatile.
44035 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44039 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44040 raise in the comment.
44041 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44042 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44043 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44045 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44048 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44049 grow the buffers more if it already has to be sufficient.
44050 (build_wcs_upper_buffer): Likewise.
44051 * posix/regexec.c (check_matching): Likewise.
44052 (clean_state_log_if_needed): Likewise.
44053 (extend_buffers): Don't enlarge buffers beyond size of the input
44055 Patches mostly by Emil Wojak <emil@wojak.eu>.
44056 * posix/bug-regex32.c: New file.
44057 * posix/Makefile (tests): Add bug-regex32.
44059 * locale/findlocale.c (_nl_find_locale): Return right away if
44060 _nl_explode_name failed.
44061 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44063 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44065 * debug/xtrace.sh: Unify messages.
44066 * malloc/memusage.sh: Likewise.
44069 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44070 time symbol from vDSO. Substitute with vsyscall if not available.
44071 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44074 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44075 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44076 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44077 Add sendmmsg and internal_sendmmsg.
44078 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44079 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44080 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44082 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44083 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44084 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44086 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44089 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44090 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44092 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44096 * iconvdata/Makefile (tests): Add bug-iconv9.
44097 * iconvdata/bug-iconv9.c: New file.
44099 2011-05-27 Andreas Schwab <schwab@redhat.com>
44102 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44104 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44106 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44107 (struct user_regs_struct): Change intcs field back to cs.
44109 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44111 * po/ja.po: Update from translation team.
44113 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44116 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44117 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44119 2011-05-20 Andreas Schwab <schwab@redhat.com>
44121 * stdlib/longlong.h: Update from GCC.
44123 2011-05-23 Andreas Schwab <schwab@redhat.com>
44125 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44127 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44128 Add parameter name.
44129 (__sysconf): Pass it down.
44131 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44134 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44136 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44137 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44138 add in in __libc_use_alloca calls. Adjust callers.
44139 (glob): Use malloc in some situations.
44141 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44142 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44145 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44147 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44148 and CLOCK_BOOTTIME_ALARM.
44151 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44154 * string/_strerror.c (__strerror_r): Print negative errors as signed
44158 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44159 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44160 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44162 * configure.in: Fix typo in redirection and correct removal of test
44163 files in two cases.
44166 * locale/setlocale.c (new_composite_name): Fix test to check for
44167 identical name of all categories.
44170 * libio/filedoalloc.c (local_isatty): New function.
44171 (_IO_file_doallocate): Use local_isatty.
44172 * stdio-common/perror.c (perror): In case a new stream is used
44173 forward the stream error.
44174 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44177 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44182 * include/alloca.h (extend_alloca_account): Define.
44185 * posix/regex.h: Fix comments with documentation of user-accessible
44186 fields after compilation and describe correct free'ing of pattern
44187 after re_compile_pattern.
44188 Patch by Reuben Thomas <rrt@sc3d.org>.
44190 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44192 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44193 and -mno-altivec to prevent the compiler from using Altivec and/or
44194 VSX instructions when the corresponding registers are not available.
44196 2011-05-19 Andreas Schwab <schwab@redhat.com>
44198 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44200 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44202 * libio/freopen.c (freopen): Use __dup2, not dup2.
44203 * libio/freopen64.c (freopen64): Likewise.
44205 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44208 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44209 * math/Makefile (tests): Add test-powl.
44210 (CFLAGS-test-powl.c): Define.
44211 * math/test-powl.c: New file.
44213 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44215 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44217 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44220 * iconvdata/gb18030.c: Update to GB18020-2005.
44222 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44224 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44225 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44226 Patch by Aharon Robbins <arnold@skeeve.com>.
44229 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44233 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44234 through underflows.
44237 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44238 point to strings before performing equality test for error_one_per_line
44242 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44245 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44246 (struct user_fpregs_struct): Avoid __uint*_t types.
44249 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44250 symbol info. Use it instead of calling _dl_addr locally.
44251 (lock_and_info): New function.
44252 (tr_freehook): Call lock_and_info and pass symbol info as additional
44253 parameter to tr_where.
44254 (tr_mallochook): Likewise.
44255 (tr_reallochook): Likewise.
44256 (tr_memalignhook): Likewise.
44258 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44259 used and couldn't be at all thread-safe.
44261 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44263 * libio/freopen.c (freopen): Don't close old file descriptor
44264 before the new one is opened. Instead dup the new file descriptor
44265 to the old one after the new stream is created.
44266 * libio/freopen64.c (freopen64): Likewise.
44267 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44268 * libio/fileops.c (_IO_new_file_close_it): Handle new
44269 _IO_FLAGS2_NOCLOSE flag.
44270 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44271 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44272 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44273 _IO_FLAGS2_NOCLOSE flag.
44274 * include/unistd.h: Add hidden_proto for dup3.
44275 Define __have_dup3.
44276 * io/dup3.c: Define hidden symbol.
44277 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44280 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44281 when an incomplete long option is used.
44282 * posix/tst-getopt_long1.c: New file.
44283 * posix/Makefile (tests): Add tst-getopt_long1.
44286 * scripts/config.guess: Update from autoconf-2.68.
44287 * scripts/config.sub: Likewise.
44290 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44292 (has_cpuclock): ...this. New function.
44293 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44294 macro here based on has_cpuclock code.
44297 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44298 First byte (not low byte) is now always NUL.
44299 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44301 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44302 Use non-cancelable interfaces.
44305 * locale/iso-639.def: Add entry for Sorani.
44308 * include/stdlib.h: Move include protection to the right place.
44309 Define abort_msg_s. Declare __abort_msg with it.
44310 * stdlib/abort.c (__abort_msg): Adjust type.
44311 * assert/assert.c (__assert_fail_base): New function. Majority
44312 of code from __assert_fail. Allocate memory for __abort_msg with
44314 (__assert_fail): Now call __assert_fail_base.
44315 * assert/assert-perr.c: Remove bulk of implementation. Use
44316 __assert_fail_base.
44317 * include/assert.hL Declare __assert_fail_base.
44318 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44320 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44322 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44326 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44327 until all modules are registered in the DTV.
44328 * elf/Makefile: Add rules to build and run tst-tls19.
44329 * elf/tst-tls19.c: New file.
44330 * elf/tst-tls19mod1.c: New file.
44331 * elf/tst-tls19mod2.c: New file.
44332 * elf/tst-tls19mod3.c: New file.
44333 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44336 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44340 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44341 two-byte sequence errors.
44342 * iconvdata/Makefile (tests): Add bug-iconv8.
44343 * iconvdata/bug-iconv8.c: New file.
44346 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44349 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44352 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44353 (dummy_getcfa): New function.
44354 (init): Get _Unwind_GetCFA address, use dummy if not found.
44355 (backtrace_helper): In recursion check, also check whether CFA changes.
44356 (__backtrace): Completely initialize arg.
44358 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44359 storing incomplete byte sequence in state object. Avoid testing for
44360 guaranteed too small input if we know there is enough data available.
44362 2011-05-11 Andreas Schwab <schwab@redhat.com>
44364 * Makeconfig (+link-pie): Indent.
44365 * Rules (binaries-pie): Define if $(have-fpie) and
44367 (binaries-shared): Also filter out $(binaries-pie).
44368 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44369 * nscd/Makefile (others-pie): Add nscd.
44370 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44371 ($(objpfx)nscd): Remove command override.
44372 * login/Makefile (others-pie): Add pt_chown.
44373 ($(objpfx)pt_chown): Remove command override.
44374 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44375 remove command overrides.
44377 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44379 * libio/tst_putwc.c: Fix error messages.
44382 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44383 currently writing and seek to current position when not.
44384 * libio/Makefile (tests): Add bug-fclose1.
44385 * libio/bug-fclose1.c: New file.
44387 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44390 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44391 don't set DF_1_NODELETE here.
44392 (do_lookup_x): When entering new entry test for copy relocation
44393 and if necessary set DF_1_NODELETE flag.
44394 * elf/tst-unique4.cc: New file.
44395 * elf/tst-unique4.h: New file.
44396 * elf/tst-unique4lib.cc: New file.
44397 * elf/Makefile: Add rules to build and run tst-unique4.
44398 Patch by Piotr Bury <pbury@goahead.com>.
44400 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44403 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44406 * misc/mntent_r.c (addmntent): Flush the stream after the output
44409 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44410 (is_trusted_path_normalize): Skip initial colon. Append slash
44411 to empty buffer. Duplicate is_trusted_path code but allow
44412 constructed patch to be prefix.
44413 (is_dst): Allow $ORIGIN followed by /.
44414 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44415 Correct testing of result of is_trusted_path_normalize
44416 (decompose_rpath): Fix warning.
44418 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44421 * grp/initgroups.c (internal_getgrouplist): When we found the service
44422 list through the initgroups entry in nsswitch.conf do not always
44423 continue on a successful lookup. Don't always use the
44424 __nss_group_database value if it is set.
44425 * nss/nsswitch.conf (initgroups): Change action for successful db
44426 lookup to continue for compatibility.
44428 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44431 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44433 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44435 * iconvdata/tst-tables.sh: Likewise.
44436 * iconvdata/cp770.c: New file.
44437 * iconvdata/cp771.c: New file.
44438 * iconvdata/cp772.c: New file.
44439 * iconvdata/cp773.c: New file.
44440 * iconvdata/cp774.c: New file.
44441 * iconvdata/testdata/CP770: New file.
44442 * iconvdata/testdata/CP770..UTF8: New file.
44443 * iconvdata/testdata/CP771: New file.
44444 * iconvdata/testdata/CP771..UTF8: New file.
44445 * iconvdata/testdata/CP772: New file.
44446 * iconvdata/testdata/CP772..UTF8: New file.
44447 * iconvdata/testdata/CP773: New file.
44448 * iconvdata/testdata/CP773..UTF8: New file.
44449 * iconvdata/testdata/CP774: New file.
44450 * iconvdata/testdata/CP774..UTF8: New file.
44452 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44454 * iconvdata/gen-8bit-gap.sh: Likewise.
44455 * iconvdata/gen-8bit.sh: Likewise.
44457 * locale/iso-639.def: Add ary entry.
44460 * locale/C-translit.h.in: Add U20A1 transliteration.
44463 * locale/iso-639.def: Add wae entry.
44464 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44467 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44471 * locale/C-translit.h.in: Add entry for U20B9.
44472 Patch by pravin.d.s@gmail.com.
44474 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44477 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44478 ENAMETOOLONG use generic getcwd.
44479 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44480 in rtld. Use *stat64.
44481 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44482 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44483 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44484 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44485 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44486 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44487 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44488 __fstatat64 macros.
44489 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44490 * dirent/rewinddir.c: Add libc_hidden_def.
44491 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44492 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44494 * include/dirent.h (__alloc_dir): Add flags parameter.
44495 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44496 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44498 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44499 from fdopendir if O_CLOEXEC is already set.
44501 2011-03-15 Alan Modra <amodra@gmail.com>
44503 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44504 l_tls_firstbyte_offset non-zero. Save padding offset in
44505 l_tls_firstbyte_offset for later use.
44506 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44507 freeing static tls block.
44509 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44511 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44512 where #ifdef was intended. The intent is to prevent ARG_MAX from
44513 being defined by the kernel headers.
44515 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44518 * resolv/resolv.h: Define RES_NOTLDQUERY.
44519 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44520 no-tld-query and set RES_NOTLDQUERY.
44521 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44522 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44523 modern BIND to search name as TLD unless forbidden.
44525 2011-05-07 Petr Baudis <pasky@suse.cz>
44526 Ulrich Drepper <drepper@gmail.com>
44529 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44530 (is_trusted_path): ...to here.
44531 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44532 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44533 using is_trusted_path_normalize() in setuid scripts.
44535 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44537 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44538 __BEGIN/__END_DECLS.
44540 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44542 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44543 NSS_STATUS_NOTFOUND if no record was found.
44545 2011-05-05 Andreas Schwab <schwab@redhat.com>
44547 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44548 (headers-not-in-tirpc): Remove rpc/netdb.h
44549 * resolv/netdb.h: Revert last change.
44551 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44553 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44554 circular dependency between libgcc.a and libc.a.
44556 2011-05-05 Andreas Schwab <schwab@redhat.com>
44558 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44559 * nis/Makefile: Don't install rpcsvc/*.
44560 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44561 instead of <rpc/types.h>.
44562 (MAXHOSTNAMELEN): Define.
44564 2011-05-03 Andreas Schwab <schwab@redhat.com>
44566 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44568 2011-04-28 Maciej Babinski <mbabinski@google.com>
44571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44572 gethostbyname4_r when IPv6 results are possible.
44574 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44577 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44578 _PC_PIPE_BUF handling.
44580 2011-04-30 Bruno Haible <bruno@clisp.org>
44583 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44584 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44586 * inet/getnameinfo.c (getnameinfo): Likewise.
44588 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44590 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44591 to groups setting in database lookup.
44592 * nss/nsswitch.conf: Add initgroups entry.
44594 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44597 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44599 Patch by Eric Blake <eblake@redhat.com>.
44601 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44603 * sunrpc/Makefile (need-export-routines): Add svc_run.
44604 (routines): Remove svc_run.
44605 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44606 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44607 * sunrpc/svc_run.c (svc_run): Likewise.
44608 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44610 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44612 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44613 problem in reallocation in last patch.
44615 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44617 * sunrpc/Makefile: Move inclusion of Rules.
44619 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44621 * nss/nss_files/files-initgroups.c: New file.
44622 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44623 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44624 _nss_files_initgroups_dyn.
44626 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44628 * elf/elf.h (R_ARM_IRELATIVE): Define.
44630 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44632 * po/ru.po: Update from translation team.
44634 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44636 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44639 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44642 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44643 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44644 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44645 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44646 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44648 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44650 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44652 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44653 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44654 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44656 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44659 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44661 * stdlib/bug-getcontext.c: New file.
44662 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44664 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44666 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44667 instructions into .machine "z9-109".
44668 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44669 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44671 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44673 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44674 between environment variables and auxiliary vector.
44676 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44678 * Makefile: Add rules to build linkobj/libc.so.
44679 * include/libc-symbols.h: Define libc_hidden_nolink.
44680 * include/rpc/auth.h: Mark functions which are to be hidden.
44681 * include/rpc/auth_des.h: Likewise.
44682 * include/rpc/auth_unix.h: Likewise.
44683 * include/rpc/clnt.h: Likewise.
44684 * include/rpc/des_crypt.h: Likewise.
44685 * include/rpc/key_prot.h: Likewise.
44686 * include/rpc/pmap_clnt.h: Likewise.
44687 * include/rpc/pmap_prot.h: Likewise.
44688 * include/rpc/pmap_rmt.h: Likewise.
44689 * include/rpc/rpc_msg.h: Likewise.
44690 * include/rpc/svc.h: Likewise.
44691 * include/rpc/svc_auth.h: Likewise.
44692 * include/rpc/xdr.h: Likewise.
44693 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44694 * nss/Makefile: Likewise.
44695 * sunrpc/Makefile: Don't install headers. Build library with normal
44696 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44697 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44698 for the compat linking library. Remove use of INTDEF/INTUSE.
44699 * sunrpc/auth_none.c: Likewise.
44700 * sunrpc/auth_unix.c: Likewise.
44701 * sunrpc/authdes_prot.c: Likewise.
44702 * sunrpc/authuxprot.c: Likewise.
44703 * sunrpc/clnt_gen.c: Likewise.
44704 * sunrpc/clnt_perr.c: Likewise.
44705 * sunrpc/clnt_raw.c: Likewise.
44706 * sunrpc/clnt_simp.c: Likewise.
44707 * sunrpc/clnt_tcp.c: Likewise.
44708 * sunrpc/clnt_udp.c: Likewise.
44709 * sunrpc/clnt_unix.c: Likewise.
44710 * sunrpc/des_crypt.c: Likewise.
44711 * sunrpc/des_soft.c: Likewise.
44712 * sunrpc/get_myaddr.c: Likewise.
44713 * sunrpc/key_call.c: Likewise.
44714 * sunrpc/key_prot.c: Likewise.
44715 * sunrpc/netname.c: Likewise.
44716 * sunrpc/pm_getmaps.c: Likewise.
44717 * sunrpc/pm_getport.c: Likewise.
44718 * sunrpc/pmap_clnt.c: Likewise.
44719 * sunrpc/pmap_prot.c: Likewise.
44720 * sunrpc/pmap_prot2.c: Likewise.
44721 * sunrpc/pmap_rmt.c: Likewise.
44722 * sunrpc/publickey.c: Likewise.
44723 * sunrpc/rpc_cmsg.c: Likewise.
44724 * sunrpc/rpc_common.c: Likewise.
44725 * sunrpc/rpc_dtable.c: Likewise.
44726 * sunrpc/rpc_prot.c: Likewise.
44727 * sunrpc/rpc_thread.c: Likewise.
44728 * sunrpc/rtime.c: Likewise.
44729 * sunrpc/svc.c: Likewise.
44730 * sunrpc/svc_auth.c: Likewise.
44731 * sunrpc/svc_authux.c: Likewise.
44732 * sunrpc/svc_raw.c: Likewise.
44733 * sunrpc/svc_run.c: Likewise.
44734 * sunrpc/svc_simple.c: Likewise.
44735 * sunrpc/svc_tcp.c: Likewise.
44736 * sunrpc/svc_udp.c: Likewise.
44737 * sunrpc/svc_unix.c: Likewise.
44738 * sunrpc/svcauth_des.c: Likewise.
44739 * sunrpc/xcrypt.c: Likewise.
44740 * sunrpc/xdr.c: Likewise.
44741 * sunrpc/xdr_array.c: Likewise.
44742 * sunrpc/xdr_float.c: Likewise.
44743 * sunrpc/xdr_intXX_t.c: Likewise.
44744 * sunrpc/xdr_mem.c: Likewise.
44745 * sunrpc/xdr_rec.c: Likewise.
44746 * sunrpc/xdr_ref.c: Likewise.
44747 * sunrpc/xdr_sizeof.c: Likewise.
44748 * sunrpc/xdr_stdio.c: Likewise.
44750 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44753 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44754 * sysdeps/ia64/dl-tls.h: Likewise.
44755 * sysdeps/powerpc/dl-tls.h: Likewise.
44756 * sysdeps/s390/dl-tls.h: Likewise.
44757 * sysdeps/sh/dl-tls.h: Likewise.
44758 * sysdeps/sparc/dl-tls.h: Likewise.
44759 * sysdeps/x86_64/dl-tls.h: Likewise.
44760 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44762 2011-03-14 Andreas Schwab <schwab@redhat.com>
44764 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44765 rpath element also skip the following colon.
44766 (expand_dynamic_string_token): Add is_path parameter and pass
44767 down to DL_DST_REQUIRED and _dl_dst_substitute.
44768 (decompose_rpath): Call expand_dynamic_string_token with
44769 non-zero is_path. Ignore empty rpaths.
44770 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44773 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44778 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44781 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44782 Patch by Filipe David Manana <fdmanana@apache.org>.
44784 2011-04-07 Andreas Schwab <schwab@redhat.com>
44786 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44787 Maintain aligned stack.
44788 (CHECK_RSP): Remove unused macro.
44790 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44792 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44793 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44795 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44797 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44799 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44801 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44804 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44805 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44806 * sysdeps/x86_64/memmove.c: New file.
44807 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44808 (memcpy): Renamed to ...
44809 (__new_memcpy): This.
44810 (memcpy): Provide GLIBC_2_14 memcpy.
44811 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44812 (memcpy): Provide GLIBC_2_2_5 memcpy.
44814 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44817 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44819 2011-03-30 Andreas Schwab <schwab@redhat.com>
44821 * misc/syncfs.c: New file.
44822 * misc/Makefile (routines): Add syncfs.
44823 * posix/unistd.h: Declare syncfs.
44824 * sysdeps/unix/syscalls.list: Add syncfs.
44826 2011-04-01 Andreas Schwab <schwab@redhat.com>
44828 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44830 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44831 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44832 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44833 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44835 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44836 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44838 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44840 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44841 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44842 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44843 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44844 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44846 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44848 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44849 sync_file_range.c with -fexceptions.
44850 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44851 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44852 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44853 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44854 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44855 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44856 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44857 sync_file_range as cancellation point
44858 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44859 now a wrapper around __call_sync_file_range with cancellation handling.
44860 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44861 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44862 function name to __call_sync_file_range.
44863 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44864 Add call_sync_file_range.
44866 2011-04-01 Andreas Schwab <schwab@redhat.com>
44868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44871 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44873 * iconv/iconv.h: Fix typo in comment.
44874 * io/fcntl.h: Likewise.
44875 * libio/stdio.h: Likewise.
44876 * posix/spawn.h: Likewise.
44877 * posix/unistd.h: Likewise.
44878 * stdlib/stdlib.h: Likewise.
44879 * time/time.h: Likewise.
44880 * wcsmbs/wchar.h: Likewise.
44882 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44883 open_by_handle): Add.
44884 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44885 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44886 Augment a few comments.
44887 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44888 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44889 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44891 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44892 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44895 * io/fcntl.h (AT_EMPTY_PATH): Define.
44897 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44899 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44900 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44901 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44903 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44904 * Versions.def: Add GLIBC_2.14.
44905 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44908 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44910 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44912 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44914 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44917 * string/test-strncmp.c (do_page_test): New function.
44918 (check2): Likewise.
44919 (test_main): Call check2.
44920 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44922 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44925 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44926 Handle cache information in CPU leaf 4.
44927 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44929 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44932 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44933 character representation.
44934 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44936 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44938 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44939 END(__isnan) to END(__isnanf) to match function entry point/label
44940 EALIGN(__isnanf,...).
44942 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44944 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44946 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44949 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44950 copy from the symbol referenced in the relocation to initialize the
44952 Patch by Piotr Bury <pbury@goahead.com>.
44953 * elf/Makefile: Add rules to build and tst-unique3.
44954 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44955 * elf/tst-unique3.cc: New file.
44956 * elf/tst-unique3.h: New file.
44957 * elf/tst-unique3lib.cc: New file.
44958 * elf/tst-unique3lib2.cc: New file.
44960 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44962 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44964 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44965 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44968 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44970 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44971 to-be-loaded object along a path to loader is ld.so.
44973 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44974 Ulrich Drepper <drepper@gmail.com>
44976 * sysdeps/x86_64/memset.S: After aligning destination, code
44977 branches to different locations depending on the value of
44978 misalignment, when multiarch is enabled. Fix this.
44980 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44982 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44983 Set _x86_64_preferred_memory_instruction for AMD processsors.
44984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44985 Set bit_Prefer_SSE_for_memop for AMD processors.
44987 2011-03-04 Ulrich Drepper <drepper@gmail.com>
44989 * libio/fmemopen.c (fmemopen): Optimize a bit.
44991 2011-03-03 Andreas Schwab <schwab@redhat.com>
44993 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44995 2011-03-03 Roland McGrath <roland@redhat.com>
44997 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44999 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45001 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45002 __bzero_ultra1 instead of __memset_ultra1.
45004 2011-02-23 Andreas Schwab <schwab@redhat.com>
45005 Ulrich Drepper <drepper@gmail.com>
45008 * include/link.h (struct link_map): Add l_orig_initfini.
45009 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45010 returning unsuccessfully.
45011 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45012 close of a file loaded at startup, restore the original l_initfini
45014 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45015 list, store the pointer.
45016 * elf/Makefile ($(objpfx)noload-mem): New rule.
45017 (noload-ENV): Define.
45018 (tests): Add $(objpfx)noload-mem.
45019 * elf/noload.c: Include <memcheck.h>.
45020 (main): Call mtrace. Close all opened handles.
45022 2011-02-17 Andreas Schwab <schwab@redhat.com>
45025 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45026 dependencies are missing.
45028 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45030 Fix __if_freereq crash: Unlike the generic version which uses free,
45032 * sysdeps/mach/hurd/ifreq.h: New file.
45034 2011-01-27 Petr Baudis <pasky@suse.cz>
45035 Ulrich Drepper <drepper@gmail.com>
45038 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45039 to extend_alloca().
45040 * stdio-common/bug23.c: New file.
45041 * stdio-common/Makefile (tests): Add bug23.
45043 2010-09-28 Andreas Schwab <schwab@redhat.com>
45044 Ulrich Drepper <drepper@gmail.com>
45047 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45048 before performing relro protection. At old place add assertion
45049 to make sure nothing changed.
45051 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45052 Glauber de Oliveira Costa <glommer@gmail.com>
45054 * elf/elf.h: Add new ARM TLS relocs.
45056 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45059 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45061 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45063 * sysdeps/wordsize-64/tst-writev.c: New file.
45065 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45067 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45068 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45069 insns in _dl_start to prevent a TOC reference before relocs are
45072 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45075 * Makeconfig: Remove RANLIB definition.
45076 * Makerules: Don't use RANLIB.
45077 * aclocal.m4: Remove ranlib test.
45078 * configure.in: No need to check for ranlib.
45079 * elf/rtld-Rules: Don't use RANLIB.
45081 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45083 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45085 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45086 inclusion protection macro.
45088 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45089 SIGRTMIN and SIGRTMAX and print information in that case only when
45090 SIGRTMIN is defined.
45092 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45094 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45095 arginfo fn returning -1.
45097 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45098 and thousands string is zero terminated.
45100 2011-02-03 Andreas Schwab <schwab@redhat.com>
45102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45103 sysdeps/unix/sysv/linux/bits/socket.h.
45105 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45107 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45108 (__CPU_COUNT): Remove old macros.
45109 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45110 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45111 (__CPU_ALLOC, __CPU_FREE): Add macros.
45112 (__sched_cpualloc, __sched_cpufree): Add declarations.
45114 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45116 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45117 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45118 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45119 (readdhstai): Return value of addhstaiX call.
45120 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45121 (addgrbyX): Return value returned by cache_addgr.
45122 (readdgrbyname): Return value returned by addgrbyX.
45123 (readdgrbygid): Likewise.
45124 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45125 (addpwbyX): Return value returned by cache_addpw.
45126 (readdpwbyname): Return value returned by addhstbyX.
45127 (readdpwbyuid): Likewise.
45128 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45129 (addservbyX): Return value returned by cache_addserv.
45130 (readdservbyname): Return value returned by addservbyX:
45131 (readdservbyport): Likewise.
45132 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45133 (addhstbyX): Return value returned by cache_addhst.
45134 (readdhstbyname): Return value returned by addhstbyX.
45135 (readdhstbyaddr): Likewise.
45136 (readdhstbynamev6): Likewise.
45137 (readdhstbyaddrv6): Likewise.
45138 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45139 (readdinitgroups): Return value returned by addinitgroupsX.
45140 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45141 (prune_cache): Keep track of timeout value of re-added entries.
45142 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45143 * nscd/nscd.h: Adjust prototypes of readd* functions.
45145 2011-02-04 Roland McGrath <roland@redhat.com>
45147 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45148 (nis_stats): Likewise.
45149 * nis/nis_modify.c (nis_modify): Likewise.
45150 * nis/nis_remove.c (nis_remove): Likewise.
45151 * nis/nis_add.c (nis_add): Likewise.
45153 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45155 * posix/fnmatch_loop.c: Add some consts.
45157 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45159 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45162 * config.make.in (config-cflags-novzeroupper): Define.
45163 * configure.in: Substitute libc_cv_cc_novzeroupper.
45164 * elf/Makefile (AVX-CFLAGS): Define.
45165 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45166 (CFLAGS-tst-auditmod4a.c): Likewise.
45167 (CFLAGS-tst-auditmod4b.c): Likewise.
45168 (CFLAGS-tst-auditmod6b.c): Likewise.
45169 (CFLAGS-tst-auditmod6c.c): Likewise.
45170 (CFLAGS-tst-auditmod7b.c): Likewise.
45171 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45173 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45175 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45176 function to the callback.
45177 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45179 2011-02-02 Andreas Schwab <schwab@redhat.com>
45181 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45184 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45187 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45189 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45191 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45194 * elf/Makefile: Add rules to build and run new test.
45195 * elf/tst-initorder.c: New file.
45196 * elf/tst-initorder.exp: New file.
45197 * elf/tst-initordera1.c: New file.
45198 * elf/tst-initordera2.c: New file.
45199 * elf/tst-initordera3.c: New file.
45200 * elf/tst-initordera4.c: New file.
45201 * elf/tst-initorderb1.c: New file.
45202 * elf/tst-initorderb2.c: New file.
45203 * elf/tst-order-a1.c: New file.
45204 * elf/tst-order-a2.c: New file.
45205 * elf/tst-order-a3.c: New file.
45206 * elf/tst-order-a4.c: New file.
45207 * elf/tst-order-b1.c: New file.
45208 * elf/tst-order-b2.c: New file.
45209 * elf/tst-order-main.c: New file.
45210 New test case by George Gensure <werkt0@gmail.com>.
45212 2010-10-01 Andreas Schwab <schwab@redhat.com>
45214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45215 decoding ACE if AI_CANONIDN.
45217 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45219 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45221 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45223 * version.h (RELEASE): Bump for 2.13 release.
45224 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45226 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45228 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45230 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45231 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45232 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45233 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45234 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45235 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45237 * posix/getconf.c: Update copyright year.
45238 * catgets/gencat.c: Likewise.
45239 * csu/version.c: Likewise.
45240 * debug/catchsegv.sh: Likewise.
45241 * debug/xtrace.sh: Likewise.
45242 * elf/ldconfig.c: Likewise.
45243 * elf/ldd.bash.in: Likewise.
45244 * elf/sprof.c (print_version): Likewise.
45245 * iconv/iconv_prog.c: Likewise.
45246 * iconv/iconvconfig.c: Likewise.
45247 * locale/programs/locale.c: Likewise.
45248 * locale/programs/localedef.c: Likewise.
45249 * malloc/memusage.sh: Likewise.
45250 * malloc/mtrace.pl: Likewise.
45251 * nscd/nscd.c (print_version): Likewise.
45252 * nss/getent.c: Likewise.
45254 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45255 PF_CAIF, and PF_ALG.
45256 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45258 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45260 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45261 (modules-names): Use them.
45262 (ifunc-test-modules, ifunc-pie-tests): Define.
45263 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45264 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45265 (test-extras): Likewise.
45266 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45267 $(compile-command.c).
45268 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45269 (all-built-dso): Define.
45270 (check-textrel.out, check-execstack.out): Depend on it.
45272 * configure.in: Don't override --enable-multi-arch.
45274 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45277 * nscd/hstcache.c (tryagain): Define.
45278 (cache_addhst): Return tryagain not notfound for temporary errors.
45279 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45282 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45285 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45286 to make the syscall.
45287 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45290 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45291 and fall back to matching as normal character if the string ends before
45292 the matching ']' is found. This is what POSIX requires.
45293 * posix/testfnm.c: Adjust test result.
45294 * posix/globtest.sh: Adjust test result. Add new test.
45295 * posix/tst-fnmatch.input: Likewise.
45296 * posix/tst-fnmatch2.c: Add new test.
45298 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45300 * elf/Makefile (check-execstack): Revert last change. Depend on
45302 (check-execstack.h): New target.
45303 (generated): Add check-execstack.h.
45304 * elf/check-execstack.c: Include "check-execstack.h".
45305 (main): Revert last change.
45306 (handle_file): Return zero if GNU_STACK is absent and
45307 DEFAULT_STACK_PERMS doesn't include PF_X.
45309 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45311 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45312 in child fails because the descriptor is already closed.
45313 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45314 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45315 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45318 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45322 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45323 temporary buffer used to handle multi lookups locally.
45324 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45326 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45328 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45331 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45333 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45334 alignment for SSE2.
45336 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45339 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45340 characters. When rounding increased number of integer digits recompute
45342 * stdio-common/tst-grouping.c: New file.
45343 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45345 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45347 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45348 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45350 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45352 * bits/select.h: Likewise.
45354 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45356 * po/ja.po: Update from translation team.
45358 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45361 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45362 implementation just like for lxstat, fxstatat, et al.
45364 2010-12-27 Jim Meyering <meyering@redhat.com>
45367 * posix/regexec.c (build_trtable): Return failure indication upon
45368 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45370 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45373 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45374 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45375 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45376 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45379 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45382 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45383 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45385 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45387 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45388 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45389 script has SORT_BY_INIT_PRIORITY.
45390 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45391 NO_CTORS_DTORS_SECTIONS is defined.
45392 * elf/soinit.c: Likewise.
45393 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45394 NO_CTORS_DTORS_SECTIONS is defined.
45395 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45396 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45397 * sysdeps/sh/init-first.c: Likewise.
45398 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45400 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45402 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45403 always use the slow path.
45405 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45407 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45408 similar rule which adds the sysdep directories to the header search in
45409 order to pick up the correct platform stackinfo.h.
45410 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45411 perform test if it is, otherwise return successfully without testing.
45412 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45413 DEFAULT_STACK_PERMS define in stackinfo.h.
45414 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45415 defined in stackinfo.h.
45416 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45417 DEFAULT_STACK_PERMS defined in stackinfo.h.
45418 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45419 * sysdeps/ia64/stackinfo.h: Likewise.
45420 * sysdeps/s390/stackinfo.h: Likewise.
45421 * sysdeps/sh/stackinfo.h: Likewise.
45422 * sysdeps/sparc/stackinfo.h: Likewise.
45423 * sysdeps/x86_64/stackinfo.h: Likewise.
45424 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45425 PF_X for powerpc64. Retain PF_X for powerpc32.
45427 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45429 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45431 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45432 GETDENTS_64BIT_ALIGNED.
45434 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45436 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45438 2010-12-10 Andreas Schwab <schwab@redhat.com>
45440 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45443 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45444 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45446 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45447 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45449 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45452 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45455 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45457 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45459 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45461 * po/it.po: Update from translation team.
45463 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45465 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45468 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45470 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45472 2010-11-24 Andreas Schwab <schwab@redhat.com>
45474 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45476 (gaih_getanswer_slice): Likewise.
45478 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45482 2010-05-31 Petr Baudis <pasky@suse.cz>
45485 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45486 silently even in the chroot mode.
45488 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45490 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45491 last patch a bit. Pretty printing
45493 2010-05-31 Petr Baudis <pasky@suse.cz>
45496 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45497 initialization of skip_initgroups_dyn.
45499 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45501 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45502 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45504 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45506 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45508 2010-11-11 Andreas Schwab <schwab@redhat.com>
45510 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45511 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45512 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45513 ($(objpfx)tst-fnmatch-mem): New rule.
45514 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45515 * posix/tst-fnmatch.c (main): Call mtrace.
45517 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45520 Support Intel processor model 6 and model 0x2c.
45522 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45524 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45527 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45530 * string/test-strncasecmp.c (check_result): New function.
45531 (do_one_test): Use it.
45532 (check1): New function.
45533 (test_main): Use it.
45534 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45535 Support strcasecmp and strncasecmp.
45537 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45540 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45541 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45543 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45545 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45549 * sysdeps/x86_64/multiarch/bzero.S: New file.
45550 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45551 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45552 * sysdeps/x86_64/multiarch/memset.S: New file.
45553 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45555 Set bit_Prefer_SSE_for_memop for Intel processors.
45556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45558 (index_Prefer_SSE_for_memop): Define.
45559 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45561 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45563 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45564 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45566 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45569 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45570 (__x86_64_raw_data_cache_size_half): Likewise.
45571 (__x86_64_raw_shared_cache_size): Likewise.
45572 (__x86_64_raw_shared_cache_size_half): Likewise.
45574 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45575 (__x86_64_raw_data_cache_size_half): Likewise.
45576 (__x86_64_raw_shared_cache_size): Likewise.
45577 (__x86_64_raw_shared_cache_size_half): Likewise.
45578 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45579 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45580 and __x86_64_raw_shared_cache_size_half. Round
45581 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45582 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45583 to multiple of 256 bytes.
45585 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45588 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45589 of inacessible symlinks. Verify result of symlink before returning it.
45590 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45591 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45593 2010-10-28 Erich Ritz <erichritz@gmail.com>
45595 * math/math.h (isinf): Fix typo in comment.
45597 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45599 * po/da.po: Update from translation team.
45601 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45603 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45604 is added to the list.
45606 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45607 Ulrich Drepper <drepper@gmail.com>
45609 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45610 the global list here. Move code to...
45611 (_dl_add_to_namespace_list): ...here. New function.
45612 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45613 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45614 * elf/dl-load.c (lose): Don't remove the element from the list.
45615 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45616 (_dl_map_object): Likewise.
45618 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45621 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45622 into all bytes of SSE register.
45623 Patch by Richard Li <richardpku@gmail.com>.
45625 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45628 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45631 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45633 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45634 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45635 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45636 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45641 2010-10-22 Andreas Schwab <schwab@redhat.com>
45643 * include/dlfcn.h (__RTLD_SECURE): Define.
45644 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45645 mode & __RTLD_SECURE instead.
45646 (open_path): Rename preloaded parameter to secure.
45647 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45648 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45649 * elf/dl-deps.c (openaux): Likewise.
45650 * elf/rtld.c (struct map_args): Remove is_preloaded.
45651 (map_doit): Don't use it.
45652 (dl_main): Likewise.
45653 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45654 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45656 2010-09-09 Andreas Schwab <schwab@redhat.com>
45658 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45659 (sysd-rules-targets): Remove duplicates.
45660 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45661 rtld-%.$o dependency.
45663 2010-10-18 Andreas Schwab <schwab@redhat.com>
45665 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45666 _dl_map_object do it.
45668 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45670 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45671 fast fma builtins, define the macros in the C99 standard.
45672 (FP_FAST_FMAF): Likewise.
45673 (FP_FAST_FMAL): Likewise.
45674 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45676 * bits/mathdef.h: Update copyright year.
45677 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45679 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45681 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45682 builtins, define the macros in the C99 standard.
45683 (FP_FAST_FMAF): Likewise.
45684 (FP_FAST_FMAL): Likewise.
45685 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45687 (FP_FAST_FMAF): Likewise.
45689 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45692 * math/libm-test.inc (fma_test): Some new testcases.
45693 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45694 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45695 y and infinite z. Do multiplication by C already in long double.
45696 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45698 y and infinite z. Do bitwise or of inexact bit into u.d.
45699 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45700 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45701 * sysdeps/i386/fpu/s_fma.S: Removed.
45702 * sysdeps/i386/fpu/s_fmal.S: Removed.
45704 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45707 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45708 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45709 computation is not scheduled after fetestexcept. Fix value
45710 of minimum denormal long double.
45712 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45715 * math/libm-test.inc (fma_test): Add some more tests.
45716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45719 2010-10-15 Andreas Schwab <schwab@redhat.com>
45721 * scripts/data/localplt-s390-linux-gnu.data: New file.
45722 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45724 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45727 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45728 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45730 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45732 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45734 if one of x and y is very large and the other is subnormal.
45735 * sysdeps/s390/fpu/s_fmaf.c: New file.
45736 * sysdeps/s390/fpu/s_fma.c: New file.
45737 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45738 * sysdeps/powerpc/fpu/s_fma.S: New file.
45739 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45740 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45741 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45743 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45746 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45748 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45749 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45750 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45751 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45752 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45753 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45754 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45756 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45759 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45760 * posix/bug-regex31.input: Add test case.
45762 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45764 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45765 * posix/bug-regex31.input: New file.
45768 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45769 (parse_sub_exp): Fix last change, use postorder.
45771 * posix/bug-regex31.c: New file.
45772 * posix/Makefile: Add rules to build and run bug-regex31.
45774 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45777 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45780 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45781 to have entries in sys_siglist.
45784 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45787 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45790 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45791 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45792 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45793 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45794 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45795 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45796 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45797 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45798 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45799 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45800 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45801 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45802 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45803 * math/ftestexcept.c (fetestexcept): Likewise.
45804 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45805 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45806 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45807 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45808 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45809 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45810 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45812 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45815 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45818 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45820 * string/bug-strstr1.c: New file.
45821 * string/Makefile: Add rules to build and run bug-strstr1.
45823 2010-10-05 Eric Blake <eblake@redhat.com>
45826 * string/str-two-way.h (two_way_long_needle): Always clear memory
45827 when skipping input due to the shift table.
45829 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45832 * malloc/mcheck.c: Handle large requests.
45835 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45836 for strncmp and strncasecmp.
45837 * string/stratcliff.c: Add tests for strcmp and strncmp.
45838 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45840 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45842 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45845 2010-09-30 Andreas Jaeger <aj@suse.de>
45847 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45848 (CGROUP_SUPER_MAGIC): Define.
45849 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45850 Handle btrfs and cgroup file systems.
45851 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45854 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45856 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45857 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45859 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45862 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45863 trying to locate the ELF header.
45865 2010-09-27 Andreas Schwab <schwab@redhat.com>
45868 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45869 Mask out sign-bit copies when constructing f_fsid.
45871 2010-09-24 Petr Baudis <pasky@suse.cz>
45873 * debug/stack_chk_fail_local.c: Add missing licence exception.
45874 * debug/warning-nop.c: Likewise.
45876 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45878 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45879 implementing getdents64 using getdents syscall, set d_type if
45880 __ASSUME_GETDENTS32_D_TYPE.
45882 2010-09-16 Andreas Schwab <schwab@redhat.com>
45884 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45885 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45887 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45890 * posix/unistd.h: Undo change of feature selection for ftruncate from
45893 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45895 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45898 2010-09-20 Andreas Schwab <schwab@redhat.com>
45900 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45902 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45904 2010-09-14 Andreas Schwab <schwab@redhat.com>
45906 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45907 variables after CHECK_SP call.
45908 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45910 2010-09-13 Andreas Schwab <schwab@redhat.com>
45911 Ulrich Drepper <drepper@redhat.com>
45913 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45914 re-relocationg ld.so.
45915 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45916 _dl_init_paths call.
45917 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45920 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45922 * resolv/res_init.c (__res_vinit): Count the default server we added.
45924 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45925 Ulrich Drepper <drepper@redhat.com>
45928 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45929 (____longjmp_chk): Use %ebx for saving value across system call.
45932 2010-09-06 Andreas Schwab <schwab@redhat.com>
45934 * manual/Makefile: Don't mix pattern rules with normal rules.
45936 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45938 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45940 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45941 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45942 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45943 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45944 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45947 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45950 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45951 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45953 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45955 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45956 * sysdeps/x86_64/addmul_1.S: Likewise.
45957 * sysdeps/x86_64/lshift.S: Likewise.
45958 * sysdeps/x86_64/mul_1.S: Likewise.
45959 * sysdeps/x86_64/rshift.S: Likewise.
45960 * sysdeps/x86_64/sub_n.S: Likewise.
45961 * sysdeps/x86_64/submul_1.S: Likewise.
45963 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45965 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45966 Define __sched_param instead of SCHED_* and sched_param when
45967 <bits/sched.h> is included with __need_schedparam defined.
45968 * bits/sched.h [__need_schedparam]
45969 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45970 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45971 (__defined_schedparam): Define to 1.
45972 (__sched_param): New structure, identical to sched_param.
45973 (__need_schedparam): Undefine.
45975 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45977 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45978 (epoll_create1): Declare.
45980 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45982 2010-08-31 Andreas Schwab <schwab@redhat.com>
45985 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45986 shifting retval into place.
45988 2010-09-01 Ulrich Drepper <drepper@redhat.com>
45990 * nis/rpcsvc/nis.h: Update copyright notice.
45991 * nis/rpcsvc/nis.x: Likewise.
45992 * nis/rpcsvc/nis_callback.h: Likewise.
45993 * nis/rpcsvc/nis_callback.x: Likewise.
45994 * nis/rpcsvc/nis_object.x: Likewise.
45995 * nis/rpcsvc/nis_tags.h: Likewise.
45996 * nis/rpcsvc/yp.h: Likewise.
45997 * nis/rpcsvc/yp.x: Likewise.
45998 * nis/rpcsvc/ypupd.h: Likewise.
45999 * nis/yp_xdr.c: Likewise.
46000 * nis/ypupdate_xdr.c: Likewise.
46002 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46003 mainly the body of pmap_getport. Add parameters to specify timeouts.
46004 (pmap_getport): Use __libc_rpc_getport.
46005 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46006 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46007 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46009 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46014 2010-08-27 Roland McGrath <roland@redhat.com>
46016 * sysdeps/i386/i686/multiarch/Makefile
46017 (CFLAGS-varshift.c): New variable.
46019 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46021 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46022 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46024 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46026 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46028 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46030 * sysdeps/x86_64/strlen.S: Unroll the loop.
46031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46032 strlen-sse2 strlen-sse2-bsf.
46033 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46034 __strlen_no_bsf if bit_Slow_BSF is set.
46035 (__strlen_sse42): Removed.
46036 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46037 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46039 2010-08-25 Roland McGrath <roland@redhat.com>
46041 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46042 * sysdeps/x86_64/multiarch/varshift.c: New file.
46043 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46044 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46045 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46046 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46048 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46050 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46051 strlen-sse2 strlen-sse2-bsf.
46052 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46053 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46054 (__strlen_sse2): Removed.
46055 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46056 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46058 bit_Slow_BSF for Atom.
46059 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46060 (index_Slow_BSF): Define.
46061 (HAS_SLOW_BSF): Define.
46063 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46066 * resolv/res_init.c (__res_vinit): When no server address at all
46067 is given default to loopback.
46069 2010-08-24 Roland McGrath <roland@redhat.com>
46071 * configure.in: Remove config-name.h generation.
46072 * configure: Regenerated.
46073 * config-name.in: File removed.
46074 * scripts/config-uname.sh: New file.
46075 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46076 ($(objdir)config-name.h): New target.
46078 * sunrpc/rpc_parse.h: Avoid nested comment.
46080 2010-08-24 Richard Henderson <rth@redhat.com>
46081 Ulrich Drepper <drepper@redhat.com>
46082 H.J. Lu <hongjiu.lu@intel.com>
46084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46086 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46087 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46088 _mm_alignr_epi8 with _mm_loadu_si128.
46089 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46090 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46091 (__m128i_shift_right): Removed.
46092 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46093 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46094 * sysdeps/x86_64/multiarch/varshift.h: New file.
46095 * sysdeps/x86_64/multiarch/varshift.S: New file.
46097 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46099 * configure.in: Move assembler checks to before sysdep dir checking.
46101 2010-08-20 Petr Baudis <pasky@suse.cz>
46103 * LICENSES: Sync the sunrpc license.
46105 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46107 * sunrpc/auth_des.c: Update copyright notice once again.
46108 * sunrpc/auth_none.c: Likewise.
46109 * sunrpc/auth_unix.c: Likewise.
46110 * sunrpc/authdes_prot.c: Likewise.
46111 * sunrpc/authuxprot.c: Likewise.
46112 * sunrpc/bindrsvprt.c: Likewise.
46113 * sunrpc/clnt_gen.c: Likewise.
46114 * sunrpc/clnt_perr.c: Likewise.
46115 * sunrpc/clnt_raw.c: Likewise.
46116 * sunrpc/clnt_simp.c: Likewise.
46117 * sunrpc/clnt_tcp.c: Likewise.
46118 * sunrpc/clnt_udp.c: Likewise.
46119 * sunrpc/clnt_unix.c: Likewise.
46120 * sunrpc/des_crypt.c: Likewise.
46121 * sunrpc/des_soft.c: Likewise.
46122 * sunrpc/get_myaddr.c: Likewise.
46123 * sunrpc/getrpcport.c: Likewise.
46124 * sunrpc/key_call.c: Likewise.
46125 * sunrpc/key_prot.c: Likewise.
46126 * sunrpc/openchild.c: Likewise.
46127 * sunrpc/pm_getmaps.c: Likewise.
46128 * sunrpc/pm_getport.c: Likewise.
46129 * sunrpc/pmap_clnt.c: Likewise.
46130 * sunrpc/pmap_prot.c: Likewise.
46131 * sunrpc/pmap_prot2.c: Likewise.
46132 * sunrpc/pmap_rmt.c: Likewise.
46133 * sunrpc/rpc/auth.h: Likewise.
46134 * sunrpc/rpc/auth_unix.h: Likewise.
46135 * sunrpc/rpc/clnt.h: Likewise.
46136 * sunrpc/rpc/des_crypt.h: Likewise.
46137 * sunrpc/rpc/key_prot.h: Likewise.
46138 * sunrpc/rpc/netdb.h: Likewise.
46139 * sunrpc/rpc/pmap_clnt.h: Likewise.
46140 * sunrpc/rpc/pmap_prot.h: Likewise.
46141 * sunrpc/rpc/pmap_rmt.h: Likewise.
46142 * sunrpc/rpc/rpc.h: Likewise.
46143 * sunrpc/rpc/rpc_des.h: Likewise.
46144 * sunrpc/rpc/rpc_msg.h: Likewise.
46145 * sunrpc/rpc/svc.h: Likewise.
46146 * sunrpc/rpc/svc_auth.h: Likewise.
46147 * sunrpc/rpc/types.h: Likewise.
46148 * sunrpc/rpc/xdr.h: Likewise.
46149 * sunrpc/rpc_clntout.c: Likewise.
46150 * sunrpc/rpc_cmsg.c: Likewise.
46151 * sunrpc/rpc_common.c: Likewise.
46152 * sunrpc/rpc_cout.c: Likewise.
46153 * sunrpc/rpc_dtable.c: Likewise.
46154 * sunrpc/rpc_hout.c: Likewise.
46155 * sunrpc/rpc_main.c: Likewise.
46156 * sunrpc/rpc_parse.c: Likewise.
46157 * sunrpc/rpc_parse.h: Likewise.
46158 * sunrpc/rpc_prot.c: Likewise.
46159 * sunrpc/rpc_sample.c: Likewise.
46160 * sunrpc/rpc_scan.c: Likewise.
46161 * sunrpc/rpc_scan.h: Likewise.
46162 * sunrpc/rpc_svcout.c: Likewise.
46163 * sunrpc/rpc_tblout.c: Likewise.
46164 * sunrpc/rpc_util.c: Likewise.
46165 * sunrpc/rpc_util.h: Likewise.
46166 * sunrpc/rpcinfo.c: Likewise.
46167 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46168 * sunrpc/rpcsvc/key_prot.x: Likewise.
46169 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46170 * sunrpc/rpcsvc/mount.x: Likewise.
46171 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46172 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46173 * sunrpc/rpcsvc/rex.x: Likewise.
46174 * sunrpc/rpcsvc/rstat.x: Likewise.
46175 * sunrpc/rpcsvc/rusers.x: Likewise.
46176 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46177 * sunrpc/rpcsvc/spray.x: Likewise.
46178 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46179 * sunrpc/rtime.c: Likewise.
46180 * sunrpc/svc.c: Likewise.
46181 * sunrpc/svc_auth.c: Likewise.
46182 * sunrpc/svc_authux.c: Likewise.
46183 * sunrpc/svc_raw.c: Likewise.
46184 * sunrpc/svc_run.c: Likewise.
46185 * sunrpc/svc_simple.c: Likewise.
46186 * sunrpc/svc_tcp.c: Likewise.
46187 * sunrpc/svc_udp.c: Likewise.
46188 * sunrpc/svc_unix.c: Likewise.
46189 * sunrpc/svcauth_des.c: Likewise.
46190 * sunrpc/xcrypt.c: Likewise.
46191 * sunrpc/xdr.c: Likewise.
46192 * sunrpc/xdr_array.c: Likewise.
46193 * sunrpc/xdr_float.c: Likewise.
46194 * sunrpc/xdr_mem.c: Likewise.
46195 * sunrpc/xdr_rec.c: Likewise.
46196 * sunrpc/xdr_ref.c: Likewise.
46197 * sunrpc/xdr_sizeof.c: Likewise.
46198 * sunrpc/xdr_stdio.c: Likewise.
46200 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46203 2010-08-19 Andreas Schwab <schwab@redhat.com>
46205 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46207 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46209 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46210 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46211 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46212 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46213 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46214 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46215 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46216 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46217 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46218 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46219 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46220 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46221 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46222 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46224 2010-07-26 Anton Blanchard <anton@samba.org>
46226 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46227 * malloc/arena.c (heap_trim): Likewise.
46229 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46231 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46233 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46234 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46236 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46238 * sysdeps/i386/elf/Makefile: New file.
46240 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46242 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46243 from fanotify_init.
46244 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46245 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46247 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46249 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46251 * sysdeps/multiarch/strcmp.S: Likewise.
46253 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46255 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46256 strncase_l-nonascii.
46257 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46258 Add strncase_l-ssse3.
46259 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46260 * sysdeps/x86_64/strcmp.S: Likewise.
46261 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46262 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46263 * sysdeps/x86_64/strncase.S: New file.
46264 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46265 * sysdeps/x86_64/strncase_l.S: New file.
46266 * string/Makefile (strop-tests): Add strncasecmp.
46267 * string/test-strncasecmp.c: New file.
46269 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46272 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46273 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46275 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46277 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46279 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46281 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46282 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46283 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46285 2010-05-01 Alan Modra <amodra@gmail.com>
46287 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46288 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46289 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46290 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46291 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46292 tidying. Don't tail-call __sigjmp_save for static lib.
46293 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46295 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46296 (CALL_MCOUNT): Add eh info, and nop after bl.
46297 (TAIL_CALL_SYSCALL_ERROR): New macro.
46298 (PSEUDO_RET): Use it.
46299 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46300 Correct save location of integer regs and cr.
46301 (_dl_profile_resolve): Correct cr save location. Delete nops
46302 after bl when SHARED. Reduce cfi size a little by better
46303 placement of cfi directives.
46304 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46305 make a stack frame. Instead use parm save area as a temp.
46306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46307 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46309 Don't make a stack frame for parent, use parm save area.
46310 Increase child stack frame to 112 bytes. Don't save unused reg,
46311 and adjust reg usage. Set up cfi on error recovery and
46312 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46314 (__makecontext): Add dummy nop after jump to exit.
46315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46316 Use correct parm save area and cr save, reduce stack frame.
46317 Correct cfi for possible PSEUDO_RET frame setup.
46318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46319 Branch to local label emitted by PSEUDO_RET rather than
46322 2010-08-12 Andreas Schwab <schwab@redhat.com>
46325 * locale/programs/locale.c (print_assignment): New function.
46326 (show_locale_vars): Use it.
46328 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46330 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46332 (struct statfs64): Likewise.
46333 (_STATFS_F_FLAGS): Define.
46334 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46335 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46336 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46337 (ST_VALID): Define locally.
46338 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46339 __statvfs_getflags, use the provided value.
46340 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46341 __ASSUME_STATFS_F_FLAGS.
46343 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46345 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46346 Add sys/fanotify.h.
46347 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46348 fanotify_mask for GLIBC_2.13.
46349 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46350 fanotify_init and fanotify_mark.
46351 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46352 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46354 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46356 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46357 prlimit64 for GLIBC_2.13.
46358 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46360 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46363 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46364 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46365 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46366 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46368 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46371 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46372 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46374 * nss/Makefile: Add rules to build and run tst-nss-test1.
46375 * shlib-versions: Add entry for libnss_test1.
46376 * nss/nss_test1.c: New file.
46377 * nss/tst-nss-test1.c: New file.
46379 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46380 (__nss_configure_lookup): Set appropriate entry in
46381 __nss_configure_lookup to true.
46382 * nss/nsswitch.h: Define enum with indeces of databases in
46383 databases and __nss_database_custom arrays. Declare
46384 __nss_database_custom.
46385 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46386 to avoid using nscd when custom rules are installed.
46387 * nss/getXXbyYY_r.c: Likewise.
46388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46390 * nss/nss_files/files-parse.c: Whitespace fixes.
46392 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46395 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46396 * posix/fnmatch_loop.c: Likewise.
46398 2010-07-17 Andi Kleen <ak@linux.intel.com>
46400 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46401 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46402 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46403 * Versions.def [GLIBC_2.13]: Add.
46405 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46407 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46408 Also fail if tpwd after pwuid call is NULL.
46410 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46412 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46413 when converting to ms.
46415 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46417 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46418 EOPNOTSUPP errors with ENOTTY.
46419 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46420 EOPNOTSUPP errors with ENOTTY.
46422 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46424 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46425 Add strcasecmp_l-ssse3.
46426 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46428 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46429 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46430 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46432 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46434 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46436 * string/Makefile (strop-tests): Add strcasecmp.
46437 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46438 strcasecmp_l-nonascii.
46439 (gen-as-const-headers): Add locale-defines.sym.
46440 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46441 * sysdeps/x86_64/strcasecmp.S: New file.
46442 * sysdeps/x86_64/strcasecmp_l.S: New file.
46443 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46444 * sysdeps/x86_64/locale-defines.sym: New file.
46445 * string/test-strcasecmp.c: New file.
46447 * string/test-strcasestr.c: Test both ends of the range of characters.
46448 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46450 2010-07-29 Roland McGrath <roland@redhat.com>
46453 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46455 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46457 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46460 2010-07-27 Andreas Schwab <schwab@redhat.com>
46462 * manual/memory.texi (Malloc Tunable Parameters): Document
46465 2010-07-26 Roland McGrath <roland@redhat.com>
46468 * configure.in (-fgnu89-inline check): Set and substitute
46469 gnu89_inline, not libc_cv_gnu89_inline.
46470 * configure: Regenerated.
46471 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46473 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46475 * string/test-strnlen.c: New file.
46476 * string/Makefile (strop-tests): Add strnlen.
46477 * string/tester.c (test_strnlen): Add a few more test cases.
46478 * string/tst-strlen.c: Better error reporting.
46480 * sysdeps/x86_64/strnlen.S: New file.
46482 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46484 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46485 lower-latency instructions.
46487 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46489 * string/test-strcasestr.c: New file.
46490 * string/test-strstr.c: New file.
46491 * string/Makefile (strop-tests): Add strstr and strcasestr.
46492 * string/str-two-way.h: Don't undefine MAX.
46493 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46495 2010-07-21 Andreas Schwab <schwab@redhat.com>
46497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46498 strcasestr-nonascii.
46499 (CFLAGS-strcasestr-nonascii.c): Define.
46500 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46501 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46502 Remove unused attribute.
46504 2010-07-20 Roland McGrath <roland@redhat.com>
46506 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46507 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46508 ld.so.cache was broken. With it, there is no way to disable dsocaps
46509 like LD_HWCAP_MASK can disable hwcaps.
46511 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46513 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46515 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46517 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46518 call in strcasestr.
46519 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46520 __strcasestr_sse42_nonascii.
46521 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46522 strcasestr-nonascii.c.
46523 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46525 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46527 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46528 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46529 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46530 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46532 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46534 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46537 2010-07-06 Andreas Schwab <schwab@redhat.com>
46540 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46543 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46545 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46546 _PC_PIPE_BUF using F_GETPIPE_SZ.
46548 2010-07-05 Roland McGrath <roland@redhat.com>
46550 * manual/arith.texi (Rounding Functions): Fix rint description
46551 implicit in round description.
46553 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46555 * elf/Makefile: Fix linking for a few tests to make recent linker
46558 2010-06-30 Andreas Schwab <schwab@redhat.com>
46560 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46561 $(common-objpfx)libc_nonshared.a.
46563 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46565 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46566 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46567 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46568 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46569 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46570 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46571 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46572 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46587 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46588 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46589 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46590 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46591 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46592 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46593 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46594 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46595 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46596 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46597 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46598 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46614 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46616 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46617 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46618 * string/memmove.c (memmove): Renamed to ...
46619 (MEMMOVE): ...this. Default to memmove.
46620 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46621 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46624 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46625 mempcpy-ssse3-back memmove-ssse3-back.
46626 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46627 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46628 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46629 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46630 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46631 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46632 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46633 * sysdeps/x86_64/multiarch/memmove.c: New file.
46634 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46635 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46636 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46637 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46638 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46639 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46641 (index_Fast_Copy_Backward): Define.
46642 (HAS_ARCH_FEATURE): Define.
46643 (HAS_FAST_REP_STRING): Define.
46644 (HAS_FAST_COPY_BACKWARD): Define.
46646 2010-06-21 Andreas Schwab <schwab@redhat.com>
46648 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46649 Restore proper fallback handling.
46651 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46654 * posix/group_member.c (__group_member): Correct checking loop.
46656 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46657 OOM in getpwuid_r correctly. Return error number when the caller
46658 should return, otherwise -1.
46659 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46660 call returning > 0 value.
46661 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46663 2010-06-07 Andreas Schwab <schwab@redhat.com>
46665 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46666 libc_nonshared.a from targets in modules-names.
46668 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46670 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46673 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46675 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46676 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46677 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46678 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46680 2010-06-02 Andreas Schwab <schwab@redhat.com>
46682 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46684 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46686 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46688 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46689 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46692 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46693 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46695 2010-06-14 Roland McGrath <roland@redhat.com>
46697 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46699 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46701 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46702 __REDIRECT followed by __THROW.
46703 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46704 * posix/getopt.h (getopt): Likewise.
46706 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46708 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46709 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46710 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46712 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46713 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46715 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46717 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46719 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46723 Properly check family and model.
46725 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46727 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46729 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46731 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46733 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46735 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46738 2010-05-19 Andreas Schwab <schwab@redhat.com>
46740 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46743 2010-05-21 Andreas Schwab <schwab@redhat.com>
46745 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46746 and internal_recvmmsg.
46747 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46748 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46749 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46750 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46752 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46753 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46754 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46756 2010-05-20 Andreas Schwab <schwab@redhat.com>
46758 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46760 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46762 POWER7 optimizations.
46763 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46764 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46766 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46768 * version.h: Update for 2.13 development version.
46770 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46772 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46773 exceptions. Return 0.
46775 2010-05-07 Roland McGrath <roland@redhat.com>
46777 * elf/ldconfig.c (main): Add a const.
46779 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46781 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46782 (args_options): Add no-idn option.
46783 (ahosts_keys_int): Add idn_flags to ai_flags.
46784 (parse_option): Handle 'i' option to clear idn_flags.
46786 * malloc/malloc.c (_int_free): Possible race in the most recently
46787 added check. Only act on the data if no current modification
46790 See ChangeLog.17 for earlier changes.