1 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4 macro: hardware supports Vector Crypto instructions.
6 2014-06-23 Will Newton <will.newton@linaro.org>
8 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9 rather than __builtin_expect.
11 * elf/dl-lookup.c (undefined_msg): Remove variable.
12 (_dl_lookup_symbol_x): Replace undefined_msg with string
15 * elf/dl-lookup.c (do_lookup_unique): New function.
16 (do_lookup_x): Move STB_GNU_UNIQUE handling code
17 to a separate function.
19 2014-06-23 Andreas Schwab <schwab@suse.de>
22 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
23 before reading the next line.
25 2014-06-23 Will Newton <will.newton@linaro.org>
27 * test-skeleton.c (signal_handler): Use printf and %m
28 rather than perror. Use printf rather than fprintf to
29 stderr. Use puts rather than fputs to stderr.
32 2014-06-22 Ludovic Courtès <ludo@gnu.org>
34 * nscd/nscd.c (thread_info_t): Remove typedef.
35 (thread_info): Remove variable.
37 2014-06-21 Allan McRae <allan@archlinux.org>
39 * NEWS: Mention CVE-2014-4043.
41 2014-06-20 Roland McGrath <roland@hack.frob.com>
43 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
44 * nptl/smp.h: ... here.
46 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
48 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
50 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
51 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
53 * nptl/allocatestack.c: Include <stack-aliasing.h>.
54 * nptl/stack-aliasing.h: New file.
55 * sysdeps/i386/i686/stack-aliasing.h: New file.
56 * sysdeps/i386/i686/nptl/Makefile: File removed.
57 * sysdeps/x86_64/stack-aliasing.h: New file.
58 * sysdeps/x86_64/nptl/Makefile
59 (CFLAGS-pthread_create.c): Variable removed.
61 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
62 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
64 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
65 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
68 2014-06-21 Joseph Myers <joseph@codesourcery.com>
70 * sysdeps/unix/sysv/linux/arm/kernel-features.h
71 (__ASSUME_SIGFRAME_V2): Remove macro.
72 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
73 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
74 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
75 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
76 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
77 Declare as function. Remove conditional macro definitions.
78 (__default_rt_sa_restorer): Likewise.
79 (__default_sa_restorer_v1): Remove declaration.
80 (__default_sa_restorer_v2): Likewise.
81 (__default_rt_sa_restorer_v1): Likewise.
82 (__default_rt_sa_restorer_v2): Likewise.
83 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
84 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
85 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
87 2014-06-20 Roland McGrath <roland@hack.frob.com>
89 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
90 (libpthread-routines): Add sysdep.
91 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
92 * sysdeps/unix/sysv/linux/sparc/Versions
93 (libpthread: GLIBC_2.3.3): New version set.
94 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
95 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
96 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
97 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
98 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
99 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
101 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
102 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
103 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
104 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
105 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
106 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
107 * sysdeps/sparc/nptl/sem_init.c: ... here.
108 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
109 * sysdeps/sparc/nptl/sem_post.c: ... here.
110 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
111 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
112 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
113 * sysdeps/sparc/nptl/sem_wait.c: ... here.
114 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
115 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
116 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
117 (libpthread-routines): Add cpu_relax.
118 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
120 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
121 (librt: GLIBC_2.3.3): New version set.
122 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
123 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
124 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
125 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
126 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
128 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
131 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
133 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
135 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
137 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
139 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
142 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
146 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
150 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
154 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
158 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
162 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
165 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
167 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
171 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
173 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
176 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
178 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
180 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
182 2014-06-20 Joseph Myers <joseph@codesourcery.com>
184 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
185 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
186 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
187 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
188 * nscd/nscd.c: Likewise.
189 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
190 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
191 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
192 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
194 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
196 (init_mq_netlink): Remove conditional have_sock_cloexec
197 definitions. Remove code conditional on have_sock_cloexec < 0.
198 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
199 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
200 * sysdeps/unix/sysv/linux/opensock.c: Do not include
202 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
203 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
205 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
208 Add tests for memset_chk and memset.
210 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
213 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
216 * elf/tst-dl-iter-static.c: New file.
217 * elf/Makefile (tests-static): Add tst-dl-iter-static.
219 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
222 2014-06-20 Joseph Myers <joseph@codesourcery.com>
224 * sysdeps/unix/sysv/linux/kernel-features.h
225 (__ASSUME_F_GETOWN_EX): Remove macro.
226 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
228 (miss_F_GETOWN_EX): Remove variable or macro.
229 (do_fcntl): Do not check miss_F_GETOWN_EX.
230 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
232 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
235 [!__ASSUME_AT_RANDOM]: Remove conditional code.
236 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
238 * sysdeps/unix/sysv/linux/kernel-features.h
239 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
240 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
241 [ADJ_OFFSET_SS_READ]: Make code unconditional.
242 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
244 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
247 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
248 Fix calculation of the symbol's value.
249 * sysdeps/arm/tst-armtlsdescloc.c: New file.
250 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
251 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
252 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
253 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
254 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
255 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
256 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
257 (modules-names): Add `tst-armtlsdescmod',
258 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
259 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
260 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
261 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
262 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
263 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
264 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
265 ($(objpfx)tst-armtlsdescloc): New dependency.
266 ($(objpfx)tst-armtlsdescextnow): Likewise.
267 ($(objpfx)tst-armtlsdescextlazy): Likewise.
268 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
270 * sysdeps/arm/configure: Regenerate.
272 2014-06-20 Joseph Myers <joseph@codesourcery.com>
274 * include/fcntl.h (__atfct_seterrno): Remove prototype.
275 (__atfct_seterrno_2): Likewise.
276 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
278 (__ASSUME_ATFCTS): Do not undefine and redefine.
279 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
280 (__have_atfcts): Remove conditional definition.
281 (__fxstatat([__NR_fstatat64]: Make code unconditional.
282 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
283 unreachable if [__ASSUME_ATFCTS].
284 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
285 not undefine and redefine.
286 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
288 (faccessat) [__NR_faccessat]: Make code unconditional.
289 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
290 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
292 (fchmodat) [__NR_fchmodat]: Make code unconditional.
293 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
294 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
296 (fchownat) [__NR_fchownat]: Make code unconditional.
297 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
298 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
300 (futimesat) [__NR_futimesat]: Make code unconditional.
301 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
302 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
304 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
305 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
306 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
308 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
309 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
310 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
311 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
313 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
314 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
315 * sysdeps/unix/sysv/linux/linkat.c: Do not include
317 (linkat) [__NR_linkat]: Make code unconditional.
318 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
319 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
320 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
322 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
323 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
324 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
326 (mkdirat) [__NR_mkdirat]: Make code unconditional.
327 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
328 * sysdeps/unix/sysv/linux/openat.c: Do not include
330 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
331 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
332 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
333 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
334 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
335 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
337 (readlinkat) [__NR_readlinkat]: Make code unconditional.
338 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
339 result of INLINE_SYSCALL directly, not via int variable.
340 * sysdeps/unix/sysv/linux/renameat.c: Do not include
342 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
343 (renameat) [__NR_renameat]: Make code unconditional.
344 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
345 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
346 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
347 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
348 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
349 (__ASSUME_ATFCTS): Do not undefine and redefine.
350 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
352 (symlinkat) [__NR_symlinkat]: Make code unconditional.
353 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
354 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
356 (unlinkat) [__NR_unlinkat]: Make code unconditional.
357 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
358 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
359 (__ASSUME_ATFCTS): Do not undefine and redefine.
360 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
362 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
363 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
364 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
366 (__xmknodat) [__NR_mknodat]: Make code unconditional.
367 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
369 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
371 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
373 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
376 * posix/regcomp.c (parse_reg_exp): Deallocate partially
377 constructed tree before returning error.
378 * posix/bug-regexp36.c: Expand test case.
380 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
383 * math/libm-test.inc (scalbln_test_date):
384 Add errno expectations.
385 * math/w_scalblnf.c: New File.
386 Add wrapper which checks for setting errno to ERANGE.
387 Add weak_alias for corresponding scalbln function.
388 * math/w_scalbln.c: Likewise.
389 * math/w_scalblnl.c: Likewise.
390 * math/Makefile (libm-calls): Add w_scalbln.
391 * sysdeps/ieee754/flt-32/s_scalblnf.c:
392 Remove weak_alias for corresponding scalbln function.
393 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
394 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
395 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
396 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
397 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
398 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
399 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
400 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
401 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
402 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
403 Remove long_double_symbol for scalblnl function in libm, libc.
404 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
405 Add wrapper which checks for setting errno to ERANGE.
406 Add long_double_symbol for scalblnl function in libm, libc.
407 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
408 Remove long_double_symbol for scalblnl in libm.
409 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
410 Add wrapper which checks for setting errno to ERANGE.
411 Add long_double_symbol for scalblnl function in libm.
412 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
413 Do not use wrapper because of own implementation.
415 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
417 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
418 3 bytes for __pad1 for x32.
419 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
421 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
422 H.J. Lu <hongjiu.lu@intel.com>
424 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
425 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
426 * sysdeps/x86_64/multiarch/memset.S: Likewise.
427 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
428 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
430 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
433 * posix/regcomp.c (parse_expression): Deallocate partially
434 constructed tree before returning error.
435 * posix/Makefile.c (tests): Add bug-regex36.
436 (generated): Add bug-regex36.mtrace.
437 (tests-special): Add $(objpfx)bug-regex36-mem.out
438 (bug-regex36-ENV): New variable.
439 ($(objpfx)bug-regex36-mem.out): New rule.
440 * posix/bug-regex36.c: New file.
442 2014-06-19 Will Newton <will.newton@linaro.org>
444 * malloc/malloc.c (systrim): If extra is zero then return
447 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
449 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
451 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
453 * sysdeps/aarch64/strchr.S: New file.
455 2014-06-18 Joseph Myers <joseph@codesourcery.com>
458 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
459 from arguments -2 or below.
460 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
461 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
463 2014-06-18 Andreas Schwab <schwab@suse.de>
466 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
467 of a bracket expr not to run off the end of the string.
468 * posix/Makefile (tests): Add tst-fnmatch3.
469 * posix/tst-fnmatch3.c: New file.
471 2014-06-18 Joseph Myers <joseph@codesourcery.com>
473 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
474 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
475 [$(cross-compiling) = no]: Likewise.
476 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
477 [$(cross-compiling) = no]: Likewise.
479 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
482 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
483 double, adjusted for any remainder from the high double.
484 * math/libm-test.inc (nearbyint): Add tests.
487 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
489 * nptl/sysdeps/powerpc/Makefile: Moved ...
490 * sysdeps/powerpc/nptl/Makefile: ... here.
491 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
492 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
493 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
494 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
495 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
496 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
497 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
498 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
499 * nptl/sysdeps/powerpc/tls.h: Moved ...
500 * sysdeps/powerpc/nptl/tls.h: ... here.
502 2014-06-16 Joseph Myers <joseph@codesourcery.com>
505 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
506 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
507 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
508 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
509 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
510 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
511 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
512 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
513 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
515 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
517 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
519 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
521 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
524 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
527 2014-06-16 Florian Weimer <fweimer@redhat.com>
530 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
531 non-executed part of the test.
533 2014-06-16 Andreas Schwab <schwab@suse.de>
535 * string/bits/string2.h (strdup, strndup): Update feature guard.
537 2014-06-14 David S. Miller <davem@davemloft.net>
539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
541 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
543 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
544 that was previously under [RESET_PID].
545 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
547 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
548 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
549 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
550 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
551 (__libc_vfork): New strong alias.
552 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
554 2014-06-14 Andi Kleen <ak@linux.intel.com>
556 * sysdeps/generic/elide.h: New file.
558 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
560 * Makefile (installed-headers): Adjust path of pthread.h header.
562 2014-06-13 Roland McGrath <roland@hack.frob.com>
564 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
565 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
566 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
567 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
569 * nptl/sysdeps/s390/Makefile: Moved ...
570 * sysdeps/s390/nptl/Makefile: ... here.
571 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
572 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
573 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
574 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
575 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
576 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
577 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
578 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
579 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
580 * sysdeps/s390/nptl/pthreaddef.h: ... here.
581 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
582 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
583 * nptl/sysdeps/s390/tls.h: Moved ...
584 * sysdeps/s390/nptl/tls.h: ... here.
586 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
587 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
589 2014-06-13 David S. Miller <davem@davemloft.net>
591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
594 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
598 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
599 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
600 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
601 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
602 Remove RESET_PID cpp guards.
603 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
604 Remove RESET_PID cpp guards.
605 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
607 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
609 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
612 2014-06-13 Andi Kleen <ak@linux.intel.com>
614 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
615 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
616 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
617 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
618 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
619 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
620 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
621 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
622 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
623 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
624 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
625 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
626 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
627 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
628 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
629 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
630 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
631 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
632 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
633 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
635 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
636 (pthread_rwlock_rdlock): Add elision.
637 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
638 (pthread_rwlock_wrlock): Add elision.
639 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
640 (pthread_rwlock_trywrlock): Add elision.
641 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
642 (pthread_rwlock_tryrdlock): Add elision.
643 * nptl/pthread_rwlock_unlock.c: Include elide.h.
644 (pthread_rwlock_tryrdlock): Add elision unlock.
645 * nptl/sysdeps/pthread/pthread.h:
646 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
647 (PTHREAD_RWLOCK_INITIALIZER,
648 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
649 Handle new elision field.
650 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
651 * sysdeps/arm/nptl/bits/pthreadtypes.h
652 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
653 * sysdeps/sh/nptl/bits/pthreadtypes.h
654 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
655 * sysdeps/tile/nptl/bits/pthreadtypes.h
656 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
657 * sysdeps/a/nptl/bits/pthreadtypes.h
658 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
659 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
660 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
661 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
662 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
663 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
664 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
665 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
666 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
667 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
668 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
669 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
670 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
671 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
672 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
673 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
674 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
675 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
676 (elision_init): Set try_xbegin to zero when no RTM.
677 * sysdeps/x86/nptl/bits/pthreadtypes.h
678 (pthread_rwlock_t): Change __pad1 to __rwelision.
679 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
681 2014-06-13 Andi Kleen <ak@linux.intel.com>
683 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
684 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
685 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
686 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
688 2014-06-13 Meador Inge <meadori@codesourcery.com>
691 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
692 that the cached result has been set before returning it.
694 2014-06-12 Roland McGrath <roland@hack.frob.com>
696 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
697 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
698 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
699 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
700 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
701 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
703 * nptl/sysdeps/sparc/Makefile: Moved ...
704 * sysdeps/sparc/nptl/Makefile: ... here.
705 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
706 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
707 * nptl/sysdeps/sparc/tls.h: Moved ...
708 * sysdeps/sparc/nptl/tls.h: ... here.
709 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
710 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
711 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
712 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
713 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
714 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
715 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
716 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
717 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
718 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
719 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
720 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
721 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
722 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
723 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
724 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
725 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
726 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
728 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
729 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
731 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
732 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
734 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
735 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
738 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
740 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
741 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
743 * sysdeps/pthread/posix-timer.h: Include <list.h>.
744 (struct list_links): Type removed.
745 (struct thread_node, struct timer_node): Replace struct list_links
746 with struct list_head.
747 (list_unlink_ip): Likewise.
748 * sysdeps/pthread/timer_routines.c
749 (timer_free_list, thread_free_list, thread_active_list): Likewise.
750 (list_append, list_insbefore): Likewise.
751 (list_init): Function removed.
752 (thread_init, init_module): Use INIT_LIST_HEAD instead.
753 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
754 * sysdeps/pthread/Makefile: ... here, new file.
756 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
757 * sysdeps/nptl/Implies: ... here.
758 * sysdeps/unix/sysv/linux/Implies: Add nptl.
759 * nptl/sysdeps/pthread/list.h: Moved ...
760 * include/list.h: ... here.
761 * nptl/sysdeps/pthread/createthread.c: Moved ...
762 * nptl/createthread.c: ... here.
763 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
764 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
765 * nptl/pt-longjmp.c: ... here.
766 * nptl/sysdeps/pthread/Makefile: Moved ...
767 * sysdeps/nptl/Makefile: ... here.
768 * nptl/sysdeps/pthread/Subdirs: Moved ...
769 * sysdeps/nptl/Subdirs: ... here.
770 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
771 * sysdeps/nptl/aio_misc.h: ... here.
772 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
773 * sysdeps/nptl/bits/libc-lock.h: ... here.
774 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
775 * sysdeps/nptl/bits/libc-lockP.h: ... here.
776 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
777 * sysdeps/nptl/bits/stdio-lock.h: ... here.
778 * nptl/sysdeps/pthread/configure: Moved ...
779 * sysdeps/nptl/configure: ... here.
780 * nptl/sysdeps/pthread/configure.ac: Moved ...
781 * sysdeps/nptl/configure.ac: ... here.
782 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
783 * sysdeps/nptl/gai_misc.h: ... here.
784 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
785 * sysdeps/nptl/librt-cancellation.c: ... here.
786 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
787 * sysdeps/nptl/malloc-machine.h: ... here.
788 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
789 * sysdeps/nptl/pthread-functions.h: ... here.
790 * nptl/sysdeps/pthread/pthread.h: Moved ...
791 * sysdeps/nptl/pthread.h: ... here.
792 * nptl/sysdeps/pthread/setxid.h: Moved ...
793 * sysdeps/nptl/setxid.h: ... here.
794 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
795 * sysdeps/nptl/sigfillset.c: ... here.
796 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
797 * sysdeps/nptl/tcb-offsets.h: ... here.
798 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
799 * sysdeps/nptl/tst-mqueue8x.c: ... here.
800 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
801 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
802 * nptl/sysdeps/pthread/allocalim.h: Moved ...
803 * sysdeps/pthread/allocalim.h: ... here.
804 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
805 * sysdeps/pthread/bits/sigthread.h: ... here.
806 * nptl/sysdeps/pthread/flockfile.c: Moved ...
807 * sysdeps/pthread/flockfile.c: ... here.
808 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
809 * sysdeps/pthread/ftrylockfile.c: ... here.
810 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
811 * sysdeps/pthread/funlockfile.c: ... here.
812 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
813 * sysdeps/pthread/posix-timer.h: ... here.
814 * nptl/sysdeps/pthread/timer_create.c: Moved ...
815 * sysdeps/pthread/timer_create.c: ... here.
816 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
817 * sysdeps/pthread/timer_delete.c: ... here.
818 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
819 * sysdeps/pthread/timer_getoverr.c: ... here.
820 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
821 * sysdeps/pthread/timer_gettime.c: ... here.
822 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
823 * sysdeps/pthread/timer_routines.c: ... here.
824 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
825 * sysdeps/pthread/timer_settime.c: ... here.
826 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
827 * sysdeps/pthread/tst-timer.c: ... here.
828 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
829 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
831 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
832 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
834 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
835 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
836 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
837 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
838 Update #include target.
839 * nptl/sysdeps/i386/i686/Makefile: Moved ...
840 * sysdeps/i386/i686/nptl/Makefile: ... here.
841 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
842 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
843 Update #include target.
844 * nptl/sysdeps/i386/i686/tls.h: Moved ...
845 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
846 * nptl/sysdeps/i386/Makefile: Moved ...
847 * sysdeps/i386/nptl/Makefile: ... here.
848 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
849 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
850 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
851 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
852 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
853 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
854 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
855 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
856 * sysdeps/i386/nptl/pthreaddef.h: ... here.
857 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
858 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
859 * nptl/sysdeps/i386/tls.h: Moved ...
860 * sysdeps/i386/nptl/tls.h: ... here.
862 * sysdeps/sh/Makefile [$(subdir) = csu]
863 (gen-as-const-headers): Add tcb-offsets.sym.
864 * nptl/sysdeps/sh/Makefile: File removed.
865 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
866 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
867 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
868 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
869 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
870 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
871 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
872 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
873 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
874 * sysdeps/sh/nptl/pthreaddef.h: ... here.
875 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
876 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
877 * nptl/sysdeps/sh/tls.h: Moved ...
878 * sysdeps/sh/nptl/tls.h: ... here.
879 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
880 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
881 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
882 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
883 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
884 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
885 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
886 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
887 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
888 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
889 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
890 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
891 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
892 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
893 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
894 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
895 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
896 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
897 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
898 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
899 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
900 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
901 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
902 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
903 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
905 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
906 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
908 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
909 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
910 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
911 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
912 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
913 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
914 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
915 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
916 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
917 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
918 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
919 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
920 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
921 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
922 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
923 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
924 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
925 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
926 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
928 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
930 * posix/spawn_faction_addopen.c: Include string.h.
932 2014-06-11 Roland McGrath <roland@hack.frob.com>
934 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
935 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
936 * nptl/sysdeps/x86_64/Makefile: Moved ...
937 * sysdeps/x86_64/nptl/Makefile: ... here.
938 * nptl/sysdeps/x86_64/configure: Moved ...
939 * sysdeps/x86_64/nptl/configure: ... here.
940 * nptl/sysdeps/x86_64/configure.ac: Moved ...
941 * sysdeps/x86_64/nptl/configure.ac: ... here.
942 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
943 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
944 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
945 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
946 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
947 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
948 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
949 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
950 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
951 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
952 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
953 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
954 * nptl/sysdeps/x86_64/tls.h: Moved ...
955 * sysdeps/x86_64/nptl/tls.h: ... here.
956 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
957 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
958 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
959 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
961 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
963 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
967 2014-06-11 Joseph Myers <joseph@codesourcery.com>
969 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
971 [POSIX] (off_t): Likewise.
972 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
973 [POSIX] (S_ISBLK): Require macro.
974 [POSIX] (S_ISCHR): Likewise.
975 [POSIX] (S_ISDIR): Likewise.
976 [POSIX] (S_ISFIFO): Likewise.
977 [POSIX] (S_ISREG): Likewise.
978 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
980 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
982 [POSIX] (time_t): Likewise.
983 [POSIX] (timer_t): Likewise.
985 2014-06-11 Florian Weimer <fweimer@redhat.com>
988 * posix/spawn_int.h (struct __spawn_action): Make the path string
989 non-const to support deallocation.
990 * posix/spawn_faction_addopen.c
991 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
992 * posix/spawn_faction_destroy.c
993 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
994 path in all spawn_do_open actions.
995 * posix/tst-spawn.c (do_test): Exercise the copy operation in
996 posix_spawn_file_actions_addopen.
998 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1000 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1001 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1002 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1003 conditional code always true.
1004 (__libc_vfork): New alias.
1006 2014-06-11 Roland McGrath <roland@hack.frob.com>
1008 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1009 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1011 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1013 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1014 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1016 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1017 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1019 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1020 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1022 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1024 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1025 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1026 multiarch strcmp for PPC64.
1027 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1028 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1030 multiarch optimizations.
1031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1032 (__libc_ifunc_impl_list): Likewise.
1034 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1036 * benchtests/scripts/validate_benchout.py: New script.
1037 * benchtests/Makefile (bench-func): Call it.
1038 * benchtests/scripts/benchout.schema.json: New file.
1040 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1042 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1043 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1044 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1045 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1046 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1047 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1048 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1049 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1050 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1051 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1052 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1053 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1054 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1055 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1056 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1057 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1161 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1162 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1163 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1167 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1169 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1170 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1171 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1172 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1173 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1174 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1175 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1176 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1177 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1178 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1179 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1180 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1181 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1183 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1186 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1187 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1188 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1191 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1192 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1193 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1194 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1195 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1196 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1197 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1199 2014-06-10 Wilco <wdijkstr@arm.com>
1201 * math/test-fenv-return.c: New file.
1202 * math/Makefile: Add new test test-fenv-return.
1204 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1207 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1209 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1210 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1211 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1212 0.0L for an argument of 1.0L.
1213 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1215 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1216 value when x - 1 is zero.
1217 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1218 * sysdeps/i386/fpu/libm-test-ulps: Update.
1219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1221 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1224 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1226 2014-06-09 Roland McGrath <roland@hack.frob.com>
1228 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1229 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1231 2014-06-09 Roland McGrath <roland@hack.frob.com>
1233 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1234 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1236 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1237 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1239 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1240 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1242 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1243 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1245 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1246 if not already defined.
1247 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1248 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1249 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1250 (TLS_INIT_TP): Use it.
1251 (TLS_DEFINE_INIT_TP): New macro.
1252 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1254 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1256 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1258 [POSIX] (IXANY): Likewise.
1259 [POSIX] (OLCUC): Likewise.
1260 [POSIX || POSIX2008] (CBAUD): Do not allow.
1261 [POSIX || POSIX2008] (DEFECHO): Likewise.
1262 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1263 [POSIX || POSIX2008] (ECHOKE): Likewise.
1264 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1265 [POSIX || POSIX2008] (EXTA): Likewise.
1266 [POSIX || POSIX2008] (EXTB): Likewise.
1267 [POSIX || POSIX2008] (FLUSHO): Likewise.
1268 [POSIX || POSIX2008] (LOBLK): Likewise.
1269 [POSIX || POSIX2008] (PENDIN): Likewise.
1270 [POSIX || POSIX2008] (SWTCH): Likewise.
1271 [POSIX || POSIX2008] (VDISCARD): Likewise.
1272 [POSIX || POSIX2008] (VDSUSP): Likewise.
1273 [POSIX || POSIX2008] (VLNEXT): Likewise.
1274 [POSIX || POSIX2008] (VREPRINT): Likewise.
1275 [POSIX || POSIX2008] (VSTATUS): Likewise.
1276 [POSIX || POSIX2008] (VWERASE): Likewise.
1277 (B*): Change to B[0123456789]*.
1278 * conform/data/time.h-data [POSIX || UNIX98]
1279 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1280 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1281 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1282 [POSIX] (tm_*): Do not allow.
1284 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1286 * Makefile (install): Don't set LANGUAGE.
1287 * Makefile.in (install): Likewise.
1288 * assert/Makefile (test-assert-ENV): Remove variable.
1289 (test-assert-perr-ENV): Likewise.
1290 * elf/Makefile (neededtest4-ENV): Likewise.
1291 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1292 [$(cross-compiling) = no]: Don't set LANGUAGE.
1293 * io/ftwtest-sh (LANG): Remove variable.
1294 * libio/Makefile (tst-widetext-ENV): Likewise.
1295 * manual/install.texi (Running make install): Don't refer to
1296 environment settings for make install.
1297 * INSTALL: Regenerated.
1298 * nptl/tst-tls6.sh: Don't set LANG.
1299 * posix/globtest.sh (LANG): Remove variable.
1300 * string/Makefile (tester-ENV): Likewise.
1301 (inl-tester-ENV): Likewise.
1302 (noinl-tester-ENV): Likewise.
1303 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1304 [$(cross-compiling) = no]: Don't set LANGUAGE.
1305 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1306 without explicit environment settings.
1308 2014-06-06 Roland McGrath <roland@hack.frob.com>
1310 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1311 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1312 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1313 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1315 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1317 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1318 other files in the crypt directory.
1319 * crypt/crypt.c: Remove duplicate includes.
1320 * crypt/crypt-entry.c: Likewise.
1321 * crypt/crypt_util.c: Likewise.
1323 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1325 * Makeconfig (run-program-env): New variable.
1326 (run-program-prefix-before-env): Likewise.
1327 (run-program-prefix-after-env): Likewise.
1328 (run-program-prefix): Define in terms of new variables.
1329 (built-program-cmd-before-env): New variable.
1330 (built-program-cmd-after-env): Likewise.
1331 (built-program-cmd): Define in terms of new variables.
1332 (test-program-prefix-before-env): New variable.
1333 (test-program-prefix-after-env): Likewise.
1334 (test-program-prefix): Define in terms of new variables.
1335 (test-program-cmd-before-env): New variable.
1336 (test-program-cmd-after-env): Likewise.
1337 (test-program-cmd): Define in terms of new variables.
1338 * Rules (make-test-out): Use $(run-program-env).
1339 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1340 (help): Do not mention environment variables. Mention
1341 --timeoutfactor option.
1342 (timeoutfactor): New variable.
1343 (blacklist_exports): Remove function.
1344 (exports): Remove variable.
1345 (command): Do not include ${exports}.
1346 * manual/install.texi (Configuring and compiling): Do not mention
1347 test wrappers preserving environment variables. Mention that last
1348 assignment to a variable must take precedence.
1349 * INSTALL: Regenerated.
1350 * benchtests/Makefile (run-bench): Use $(run-program-env).
1351 * catgets/Makefile ($(objpfx)test1.cat): Use
1352 $(built-program-cmd-before-env), $(run-program-env) and
1353 $(built-program-cmd-after-env).
1354 ($(objpfx)test2.cat): Do not specify environment variables
1356 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1357 $(run-program-env) and $(built-program-cmd-after-env).
1358 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1359 $(run-program-env) and $(test-program-cmd-after-env).
1360 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1362 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1363 run_program_env and test_program_cmd_after_env arguments.
1364 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1365 * elf/tst-pathopt.sh: Use run_program_env argument.
1366 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1367 $(test-wrapper-env) and $(run-program-env).
1368 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1369 run_program_env arguments.
1370 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1371 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1372 $(test-program-prefix-before-env), $(run-program-env) and
1373 $(test-program-prefix-after-env).
1374 ($(objpfx)tst-gettext2.out): Likewise.
1375 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1376 run_program_env and test_program_prefix_after_env arguments.
1377 * intl/tst-gettext2.sh: Likewise.
1378 * intl/tst-gettext4.sh: Do not set environment variables
1380 * intl/tst-gettext6.sh: Likewise.
1381 * intl/tst-translit.sh: Likewise.
1382 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1383 $(test-program-prefix-before-env), $(run-program-env) and
1384 $(test-program-prefix-after-env).
1385 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1386 run_program_env and test_program_prefix_after_env arguments.
1387 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1388 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1389 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1390 explicitly with each use of ${test_wrapper_env}.
1391 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1392 $(test-program-prefix-before-env), $(run-program-env) and
1393 $(test-program-prefix-after-env).
1394 * posix/tst-getconf.sh: Do not set environment variables
1396 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1397 run_program_env and test_program_prefix_after_env arguments.
1398 * stdio-common/tst-printf.sh: Do not set environment variables
1400 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1401 $(test-program-prefix-before-env), $(run-program-env) and
1402 $(test-program-prefix-after-env).
1403 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1404 run_program_env and test_program_prefix_after_env arguments.
1405 Split $test calls into $test_pre and $test.
1406 * timezone/Makefile (build-testdata): Use
1407 $(built-program-cmd-before-env), $(run-program-env) and
1408 $(built-program-cmd-after-env).
1410 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1412 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1413 strlen for non SHARED builds.
1415 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1417 * nptl/allocatestack.c (check_list): Inlined function...
1418 (__reclaim_stacks): ... here.
1420 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1423 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1426 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1428 * Rules (make-test-out): Include
1429 LOCPATH=$(common-objpfx)localedata in default environment.
1430 * debug/Makefile (tst-chk1-ENV): Remove variable.
1431 (tst-chk2-ENV): Likewise.
1432 (tst-chk3-ENV): Likewise.
1433 (tst-chk4-ENV): Likewise.
1434 (tst-chk5-ENV): Likewise.
1435 (tst-chk6-ENV): Likewise.
1436 (tst-lfschk1-ENV): Likewise.
1437 (tst-lfschk2-ENV): Likewise.
1438 (tst-lfschk3-ENV): Likewise.
1439 (tst-lfschk4-ENV): Likewise.
1440 (tst-lfschk5-ENV): Likewise.
1441 (tst-lfschk6-ENV): Likewise.
1442 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1443 (tst-iconv7-ENV): Likewise.
1444 * intl/Makefile (LOCPATH-ENV): Likewise.
1445 (tst-codeset-ENV): Likewise.
1446 (tst-gettext3-ENV): Likewise.
1447 (tst-gettext5-ENV): Likewise.
1448 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1449 (tst-fopenloc-ENV): Likewise.
1450 (tst-fgetws-ENV): Remove variable.
1451 (tst-ungetwc1-ENV): Likewise.
1452 (tst-ungetwc2-ENV): Likewise.
1453 (bug-ungetwc2-ENV): Likewise.
1454 (tst-swscanf-ENV): Likewise.
1455 (bug-ftell-ENV): Likewise.
1456 (tst-fgetwc-ENV): Likewise.
1457 (tst-fseek-ENV): Likewise.
1458 (tst-ftell-partial-wide-ENV): Likewise.
1459 (tst-ftell-active-handler-ENV): Likewise.
1460 (tst-ftell-append-ENV): Likewise.
1461 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1462 (tst-regexloc-ENV): Likewise.
1463 (bug-regex1-ENV): Likewise.
1464 (tst-regex-ENV): Likewise.
1465 (tst-regex2-ENV): Likewise.
1466 (bug-regex5-ENV): Likewise.
1467 (bug-regex6-ENV): Likewise.
1468 (bug-regex17-ENV): Likewise.
1469 (bug-regex18-ENV): Likewise.
1470 (bug-regex19-ENV): Likewise.
1471 (bug-regex20-ENV): Likewise.
1472 (bug-regex22-ENV): Likewise.
1473 (bug-regex23-ENV): Likewise.
1474 (bug-regex25-ENV): Likewise.
1475 (bug-regex26-ENV): Likewise.
1476 (bug-regex30-ENV): Likewise.
1477 (bug-regex32-ENV): Likewise.
1478 (bug-regex33-ENV): Likewise.
1479 (bug-regex34-ENV): Likewise.
1480 (bug-regex35-ENV): Likewise.
1481 (tst-rxspencer-ENV): Likewise.
1482 (tst-rxspencer-no-utf8-ENV): Likewise.
1483 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1484 (tst-sscanf-ENV): Likewise.
1485 (tst-swprintf-ENV): Likewise.
1486 (tst-swscanf-ENV): Likewise.
1487 (test-vfprintf-ENV): Likewise.
1488 (scanf13-ENV): Likewise.
1489 (bug14-ENV): Likewise.
1490 (tst-grouping-ENV): Likewise.
1491 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1492 (tst-strtod3-ENV): Likewise.
1493 (tst-strtod4-ENV): Likewise.
1494 (tst-strtod5-ENV): Likewise.
1495 (testmb2-ENV): Likewise./
1496 * string/Makefile (tst-strxfrm-ENV): Likewise.
1497 (tst-strxfrm2-ENV): Likewise.
1498 (bug-strcoll1-ENV): Likewise.
1499 (test-strcasecmp-ENV): Likewise.
1500 (test-strncasecmp-ENV): Likewise.
1501 * time/Makefile (tst-strptime-ENV): Likewise.
1502 (tst-ftime_l-ENV): Likewise.
1503 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1504 (tst-mbrtowc-ENV): Likewise.
1505 (tst-wcrtomb-ENV): Likewise.
1506 (tst-mbrtowc2-ENV): Likewise.
1507 (tst-c16c32-1-ENV): Likewise.
1508 (tst-mbsnrtowcs-ENV): Likewise.
1510 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1512 * manual/resource.texi (How to get information about the memory
1513 subsystem?): Fix typo.
1514 Reported by Peon de la Parra Ivan <peon@keba.com>
1516 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1519 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1520 (pthread_spin_lock): Branch out of spin loop to proper location.
1521 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1522 (pthread_spin_lock): Likewise.
1524 * nptl/tst-spin4.c: New test.
1525 * nptl/Makefile (tests): Add tst-spin4.
1527 2014-06-03 Andreas Schwab <schwab@suse.de>
1530 * resolv/res_send.c (send_dg): Reload file descriptor after
1533 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1535 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1537 2014-06-03 Richard Henderson <rth@redhat.com>
1539 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1540 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1541 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1542 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1543 in the SAVE_PID block.
1544 (__libc_vfork): New alias.
1545 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1547 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1548 child in registers, not on the stack. Remove RESET_PID conditionals.
1549 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1551 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1553 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1555 2014-06-03 Wilco <wdijkstr@arm.com>
1557 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1558 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1559 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1560 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1561 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1564 2014-06-03 Wilco <wdijkstr@arm.com>
1566 * sysdeps/aarch64/fpu/math_private.h
1567 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1568 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1569 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1570 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1573 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1575 * crypt/crypt-private.h: Include ufc-crypt.h.
1576 (__b64_from_24bit): Declare extern.
1577 * crypt/crypt_util.c(__b64_from_24bit): New function.
1578 (b64t): New static const variable.
1579 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1580 (b64t): Remove variable.
1581 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1582 * crypt/sha256-crypt.c: Include crypt-private.h.
1583 (b64t): Remove variable.
1584 (__sha256_crypt_r): Remove b64_from_24bit and replace
1585 with __b64_from_24bit.
1586 * crypt/sha512-crypt.c: Likewise.
1588 2014-06-02 Roland McGrath <roland@hack.frob.com>
1590 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1591 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1592 Label the code __libc_vfork rather than __vfork.
1593 [!NOT_IN_libc] (vfork): Define as weak alias.
1594 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1595 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1596 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1598 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1600 * malloc/malloc.c (malloc_info): Fix format specifier for
1603 2014-06-02 Wilco <wdijkstr@arm.com>
1605 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1608 2014-06-02 Wilco <wdijkstr@arm.com>
1611 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1612 Rewrite to reduce FPCR/FPSR accesses.
1614 2014-06-01 David S. Miller <davem@davemloft.net>
1616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1618 2014-05-31 David S. Miller <davem@davemloft.net>
1620 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1621 to occur in round to nearest mode when |x| >= 2.0
1623 2014-05-30 Richard Henderson <rth@twiddle.net>
1625 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1626 (PSEUDO_RET_NOERRNO): Remove.
1627 (ret): Don't redefine.
1628 (ret_NOERRNO): Define in terms of ret.
1629 (ret_ERRVAL): Likewise.
1631 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1632 use of PSEUDO_RET; perform the error check directly.
1634 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1636 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1639 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1641 * malloc/malloc (malloc_info): Fix formatting.
1643 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1644 Roland McGrath <roland@hack.frob.com>
1646 * malloc/malloc (malloc_info): Also print mmapped statistics.
1648 2014-05-30 Roland McGrath <roland@hack.frob.com>
1650 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1651 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1653 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1655 * malloc/malloc.c (malloc_info): Inline mi_arena.
1657 2014-05-29 Richard Henderson <rth@twiddle.net>
1659 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1660 Remove comma before expanding ASM_ARGS_##nr.
1661 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1662 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1664 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1665 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1666 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1667 (ASM_ARGS_1): Add leading comma.
1669 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1670 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1671 to __errno_location.
1672 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1673 Remove the expected plt for __errno_location.
1675 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1676 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1679 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1680 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1681 it and break it down.
1682 (DOCARGS_0, DOCARGS_1): Do nothing.
1683 (DOCARGS_2): Update to store into the new stack frame.
1684 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1685 (UNDOCARGS_1): Update to restore from the new stack frame.
1686 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1687 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1689 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1690 (SINGLE_THREAD_P): New parameter for result regno.
1691 (PSEUDO): Update to match; use cbz instead of beq.
1693 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1694 Use ENTRY to define the _nocancel entry point. Share the syscall
1695 and syscall error check paths with the cancel path.
1698 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1699 whitespace; tabs before and after asm mnemonics.
1701 2014-05-29 Eric Wong <normalperson@yhbt.net>
1704 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1705 Call fstat64 or stat64 internally, depending on arguments passed.
1706 Replace stat buffer argument with file descriptor argument.
1707 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1708 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1709 Pass fd to __internal_statvfs instead of calling fstat64.
1710 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1711 Pass fd to __internal_statvfs64 instead of calling fstat64.
1712 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1713 Pass -1 to __internal_statvfs instead of calling stat64.
1714 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1715 Pass -1 to __internal_statvfs64 instead of calling stat64.
1717 2014-05-28 Roland McGrath <roland@hack.frob.com>
1719 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1720 that was previously under [RESET_PID].
1721 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1723 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1724 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1726 2014-05-27 Roland McGrath <roland@hack.frob.com>
1728 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1730 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1731 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1733 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1735 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1737 2014-05-27 Andreas Schwab <schwab@suse.de>
1739 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1741 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1742 * elf/rtld.c (init_tls, dl_main): Likewise.
1743 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1744 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1745 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1746 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1747 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1748 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1749 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1750 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1751 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1752 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1753 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1754 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1755 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1756 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1757 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1758 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1759 * sysdeps/generic/tls.h: Update description.
1761 2014-05-27 Will Newton <will.newton@linaro.org>
1764 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1765 and restore r2 rather than just restoring.
1767 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1770 * libio/tst-ftell-append.c: New test case.
1771 * libio/Makefile (tests): Add test case.
1772 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1774 * libio/wfileops.c (do_ftell_wide): Likewise.
1776 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1780 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1784 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1785 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1786 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1787 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1788 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1789 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1790 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1793 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1796 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1797 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1798 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1799 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1800 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1802 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1803 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1805 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1807 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1809 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1810 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1811 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1813 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1814 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1815 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1816 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1818 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1821 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1824 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1827 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1831 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1834 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1839 conditional [RESET_PID].
1840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1841 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1843 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1848 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1849 (__libc_vfork): New strong alias.
1850 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1852 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1857 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1858 (__libc_vfork): New strong alias.
1859 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1861 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1864 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1866 * malloc/malloc.c (mi_arena): New function.
1867 (malloc_info): Remove nested function mi_arena. Call non-nosted
1870 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1872 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1874 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1875 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1876 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1877 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1878 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1879 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1880 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1882 2014-05-26 Andreas Schwab <schwab@suse.de>
1885 * locale/programs/repertoire.c (repertoire_read): Add slash
1886 between I18NPATH element and file name.
1887 * locale/programs/locfile.c (locfile_read): Likewise.
1889 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1891 * nptl/pthread_mutexattr_settype.c
1892 (__pthread_mutexattr_settype):
1893 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1895 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1897 * nptl/tst-mutex5 (do_test):
1898 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1900 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1902 * benchtests/README: Document 'init' directive.
1903 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1905 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1906 (parse_file): Recognize 'init' directive.
1908 2014-05-26 Kyle McMartin <kyle@redhat.com>
1911 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1912 alignment of struct pthread.
1914 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1917 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1918 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1919 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1920 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1922 2014-05-25 Richard Henderson <rth@twiddle.net>
1924 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1925 (SINGLE_THREAD_P_PIC): Remove.
1926 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1927 (SINGLE_THREAD_P_PIC): Remove.
1929 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1930 branch to syscall error ...
1932 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1933 from __local_syscall_error to .Lsyscall_error.
1934 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1935 (SYSCALL_ERROR): Update label name.
1937 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1938 Do not use DOARGS/UNDOARGS.
1939 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1940 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1941 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1942 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1943 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1945 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1948 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1949 define if !NOT_IN_libc.
1950 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1951 define with non-default symbol versions.
1953 2014-05-23 Richard Henderson <rth@twiddle.net>
1955 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1956 (vfork, __vfork): Define via compat_symbol.
1958 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1959 [!HAVE_IFUNC] (vfork_compat): Remove.
1960 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1962 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1965 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1966 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1969 2014-05-23 Richard Henderson <rth@twiddle.net>
1971 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1972 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1973 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1974 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1976 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1977 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1978 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1979 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1980 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1981 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1982 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1983 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1984 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1985 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1986 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1987 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1988 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1989 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1990 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1991 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1992 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1993 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1994 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1995 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1996 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1997 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1998 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1999 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2000 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2001 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2002 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2003 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2004 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2005 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2006 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2007 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2008 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2009 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2010 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2011 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2012 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2013 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2014 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2015 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2016 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2017 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2018 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2019 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2020 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2021 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2022 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2023 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2024 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2025 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2026 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2027 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2028 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2029 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2030 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2031 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2033 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2034 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2035 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2036 before exiting on error.
2037 (__libc_vfork): New strong alias.
2038 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2039 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2041 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2042 that was previously under [RESET_PID].
2043 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2045 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2047 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2050 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2051 value when x - 1 is zero.
2052 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2053 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2054 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2055 0.0L for an argument of 1.0L.
2056 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2058 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2059 value when x - 1 is zero.
2060 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2061 * sysdeps/i386/fpu/libm-test-ulps: Update.
2062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2064 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2066 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2067 alphasort and versionsort.
2069 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2071 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2073 [copysignf]: Likewise.
2075 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2077 * crypt/md5-crypt.c: Fix formatting.
2079 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2081 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2082 (b64_from_24bit): New function.
2084 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2086 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2087 libc_hidden_builtin_def to ifunc.
2088 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2089 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2091 2014-05-21 Roland McGrath <roland@hack.frob.com>
2093 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2094 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2096 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2098 * nscd/Depend (linuxthreads): Remove.
2100 * resolv/Depend (linuxthreads): Remove.
2101 * rt/Depend (linuxthreads): Remove.
2103 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2104 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2105 $(common-objpfx)elf/.
2106 (link-libc-before-gnulib): Likewise.
2107 (elfobjdir): Remove variable.
2108 * Makefile (install): Use $(elf-objpfx) instead of
2109 $(common-objpfx)elf/.
2110 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2112 (link-libc-deps): Likewise.
2113 ($(common-objpfx)libc.so): Likewise.
2114 ($(common-objpfx)linkobj/libc.so): Likewise.
2115 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2116 instead of $(common-objpfx)elf/.
2117 (symbolic-link-list): Likewise.
2118 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2119 [$(cross-compiling) = no]: Likewise.
2120 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2122 (static-gnulib-arch): Likewise.
2123 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2124 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2125 $(common-objpfx)elf/.
2127 2014-05-21 Richard Henderson <rth@redhat.com>
2129 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2130 (SINGLE_THREAD_P): Use the correct width load. Fold
2131 into the ldr offset.
2133 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2134 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2136 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2138 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2139 (libgcc_s_resume): Use __attribute_used__.
2140 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2143 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2145 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2146 optimization when used with float constants.
2148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2150 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2153 * locale/nl_langinfo_l.c: Make direct reference to every
2154 _nl_current_CATEGORY symbol.
2155 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2156 (tests-static): Add tst-langinfo-static.
2157 (tests-special): Add tst-langinfo-static.out.
2158 ($(objpfx)tst-langinfo.out): Redirect output.
2159 ($(objpfx)tst-langinfo-static.out): New.
2160 * localedata/tst-langinfo.sh: Send output to stdout.
2161 * localedata/tst-langinfo-static.c: New file.
2164 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2165 when the shift amount is modulo the limb size.
2167 2014-05-20 Richard Henderson <rth@redhat.com>
2170 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2171 Change type of sa_flags from unsigned int to int.
2174 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2176 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2178 2014-05-20 Will Newton <will.newton@linaro.org>
2180 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2181 Test the return value of the system call in the nocancel case.
2183 2014-05-20 Will Newton <will.newton@linaro.org>
2184 Yvan Roux <yvan.roux@linaro.org>
2186 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2187 #include of asm/ptrace.h.
2188 (PTRACE_GET_THREAD_AREA): Remove #undef.
2189 (PTRACE_GETHBPREGS): Likewise.
2190 (PTRACE_SETHBPREGS): Likewise.
2191 (struct user_regs_struct): New structure.
2192 (struct user_fpsimd_struct): New structure.
2193 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2194 #include of asm/ptrace.h and second #include of sys/user.h.
2195 (PTRACE_GET_THREAD_AREA): Remove #undef.
2196 (PTRACE_GETHBPREGS): Likewise.
2197 (PTRACE_SETHBPREGS): Likewise.
2198 (ELF_NGREG): Use new struct user_regs_struct.
2199 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2201 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2203 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2204 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2206 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2209 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2210 membar to avoid block loads/stores to overlap previous stores.
2212 2014-05-17 Richard Henderson <rth@redhat.com>
2214 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2215 Create the __##syscall_name##_nocancel entry point.
2216 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2217 Remove; let the sysdep-cancel.h code create it.
2219 2014-05-17 David S. Miller <davem@davemloft.net>
2221 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2222 Protect with __USE_GNU.
2223 (TIOCSET_TEMPT): Likewise.
2224 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2225 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2226 these are already provided in bits/ioctl-types.h
2228 2014-05-16 Roland McGrath <roland@hack.frob.com>
2230 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2231 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2233 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2234 Use wait4 regardless of [__NR_waitpid].
2236 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2239 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2240 (_FP_NANSIGN_Q): Set the quiet bit.
2242 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2244 * benchtests/Makefile
2245 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2246 not $(common-objpfx)math/libm.so.
2247 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2248 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2249 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2250 $(common-objpfx)dlfcn/libdl.so.
2251 ($(objpfx)tst-audit8): Depend on $(libm), not
2252 $(common-objpfx)math/libm.so.
2253 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2254 not $(common-objpfx)dlfcn/libdl.so.
2256 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2257 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2258 [$(build-shared) = yes].
2259 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2260 $(common-objpfx)nptl/libpthread.so.
2261 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2262 $(common-objpfx)math/libm.so$(libm.so-version) or
2263 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2264 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2265 $(common-objpfx)dlfcn/libdl.so.
2266 * setjmp/Makefile (link-libm): Remove variable.
2267 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2268 * stdio-common/Makefile (link-libm): Remove variable.
2269 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2270 * stdlib/Makefile (link-libm): Remove variable.
2271 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2272 ($(objpfx)tst-strtod-round): Likewise.
2273 ($(objpfx)tst-tininess): Likewise.
2274 ($(objpfx)tst-strtod-underflow): Likewise.
2275 ($(objpfx)tst-strtod6): Likewise.
2276 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2277 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2278 $(common-objpfx)dlfcn/libdl.so.
2280 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2282 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2283 BSD terminal modes definitions.
2285 2014-05-16 Roland McGrath <roland@hack.frob.com>
2287 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2288 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2290 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2291 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2292 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2293 Don't do #include_next.
2294 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2295 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2296 Don't do #include_next.
2297 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2298 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2299 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2300 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2302 2014-05-16 Allan McRae <allan@archlinux.org>
2304 * po/sv.po: Update Swedish translation from translation project.
2306 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2309 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2312 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2313 errno if the TIOCGPTN ioctl fails with an error different than
2315 * login/tst-ptsname.c: New file.
2316 * login/Makefile (tests): Add tst-ptsname.
2319 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2322 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2326 herrno to return EAI_AGAIN.
2328 2014-05-14 Roland McGrath <roland@hack.frob.com>
2330 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2331 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2332 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2333 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2335 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2336 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2337 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2338 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2339 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2341 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2342 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2343 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2345 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2347 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2348 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2349 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2350 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2351 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2353 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2355 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2356 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2357 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2358 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2359 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2361 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2363 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2366 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2368 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2370 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2372 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2374 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2376 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2378 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2382 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2384 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2386 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2388 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2390 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2392 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2395 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2397 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2399 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2401 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2403 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2405 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2407 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2409 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2411 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2413 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2416 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2418 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2421 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2422 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2423 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2424 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2426 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2428 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2430 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2432 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2433 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2434 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2435 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2436 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2437 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2438 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2439 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2440 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2441 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2442 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2443 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2444 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2446 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2447 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2448 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2449 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2450 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2452 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2453 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2455 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2456 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2457 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2458 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2459 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2460 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2462 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2463 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2465 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2466 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2468 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2469 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2471 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2472 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2473 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2474 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2476 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2477 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2478 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2479 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2480 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2481 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2482 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2483 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2485 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2486 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2488 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2490 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2491 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2492 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2493 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2494 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2496 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2498 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2500 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2501 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2502 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2503 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2504 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2505 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2507 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2508 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2510 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2511 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2513 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2514 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2516 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2517 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2518 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2519 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2521 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2522 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2523 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2524 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2525 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2526 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2527 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2528 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2530 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2531 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2533 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2535 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2536 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2537 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2538 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2539 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2541 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2543 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2545 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2546 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2547 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2548 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2549 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2550 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2551 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2552 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2553 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2554 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2556 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2557 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2559 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2560 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2562 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2563 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2565 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2566 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2567 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2568 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2569 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2570 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2572 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2573 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2574 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2575 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2576 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2577 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2578 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2579 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2581 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2582 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2584 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2586 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2587 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2588 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2589 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2590 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2592 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2594 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2596 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2597 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2598 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2599 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2600 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2601 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2602 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2603 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2604 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2606 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2608 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2609 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2611 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2612 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2614 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2615 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2616 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2617 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2618 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2619 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2620 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2621 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2622 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2623 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2624 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2625 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2626 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2627 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2628 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2629 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2630 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2631 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2633 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2634 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2635 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2636 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2638 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2639 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2640 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2641 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2642 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2643 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2644 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2645 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2647 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2648 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2650 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2651 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2652 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2653 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2654 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2655 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2656 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2657 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2658 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2659 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2660 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2661 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2662 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2663 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2664 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2665 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2666 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2668 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2669 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2670 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2671 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2672 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2674 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2675 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2676 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2677 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2678 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2679 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2680 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2681 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2682 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2683 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2685 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2686 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2688 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2689 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2690 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2691 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2692 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2693 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2694 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2695 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2696 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2697 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2698 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2699 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2700 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2701 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2702 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2704 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2708 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2710 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2722 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2723 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2724 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2725 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2726 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2727 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2728 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2729 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2730 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2731 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2732 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2733 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2734 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2735 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2736 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2738 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2739 that was previously under [RESET_PID].
2740 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2741 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2742 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2744 * sysdeps/i386/nptl/Implies: New file.
2745 * sysdeps/x86_64/nptl/Implies: New file.
2746 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2747 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2748 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2749 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2751 * sysdeps/unix/sysv/linux/i386/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 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2755 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2757 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2758 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2759 (__libc_vfork): New strong alias.
2760 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2761 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2763 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2764 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2765 (__libc_vfork): New strong alias.
2766 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2767 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2768 * nptl/pt-vfork.c: New file.
2769 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2770 (libpthread: GLIBC_2.20): New version set (empty).
2772 2014-05-14 Will Newton <will.newton@linaro.org>
2774 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2777 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2780 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2781 arguments with exponent 65 or above.
2782 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2783 arguments 0x1p113L or above.
2784 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2785 to arguments 0x1p107L or above.
2786 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2787 positive arguments with exponent 65 or above.
2788 * math/auto-libm-test-in: Add more tests of log1p.
2789 * math/auto-libm-test-out: Regenerated.
2792 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2793 non-finite arguments is +0.
2794 * math/s_cacosf.c (__cacosf): Likewise.
2795 * math/s_cacosl.c (__cacosl): Likewise.
2796 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2797 * sysdeps/i386/fpu/libm-test-ulps: Update.
2798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2801 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2803 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2804 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2805 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2806 for explicit high bit of mantissa when testing for argument equal
2808 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2809 * sysdeps/i386/fpu/libm-test-ulps: Update.
2810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2813 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2814 (__erf): Scale by 16 instead of 8 in potentially underflowing
2815 case. Ensure exception if result actually underflows.
2816 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2817 (__erff): Scale by 16 instead of 8 in potentially underflowing
2818 case. Ensure exception if result actually underflows.
2819 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2820 (efx8): Remove variable.
2821 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2822 case. Ensure exception if result actually underflows.
2823 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2824 (efx8): Remove variable.
2825 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2826 case. Ensure exception if result actually underflows.
2827 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2828 (efx8): Remove variable.
2829 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2830 case. Ensure exception if result actually underflows.
2831 * math/auto-libm-test-in: Add more tests of erf.
2832 * math/auto-libm-test-out: Regenerated.
2834 2014-05-14 Andreas Schwab <schwab@suse.de>
2836 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2837 Remove code conditionalized on USE___THREAD.
2839 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2840 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2843 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2845 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2846 Define unconditionally.
2847 (__ASSUME_O_CLOEXEC): Likewise.
2848 (__ASSUME_SOCK_CLOEXEC): Likewise.
2849 (__ASSUME_IN_NONBLOCK): Likewise.
2850 (__ASSUME_PIPE2): Likewise.
2851 (__ASSUME_EVENTFD2): Likewise.
2852 (__ASSUME_SIGNALFD4): Likewise.
2853 (__ASSUME_DUP3): Likewise.
2854 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2855 (__ASSUME_DUP3): Do not define.
2856 (__ASSUME_EVENTFD2): Likewise.
2857 (__ASSUME_IN_NONBLOCK): Likewise.
2858 (__ASSUME_O_CLOEXEC): Likewise.
2859 (__ASSUME_PIPE2): Likewise.
2860 (__ASSUME_SIGNALFD4): Likewise.
2861 (__ASSUME_SOCK_CLOEXEC): Likewise.
2862 (__ASSUME_UTIMES): Undefine.
2863 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2864 (__ASSUME_UTIMES): Do not define.
2865 (__ASSUME_O_CLOEXEC): Likewise.
2866 (__ASSUME_SOCK_CLOEXEC): Likewise.
2867 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2868 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2870 (__ASSUME_PIPE2): Likewise.
2871 (__ASSUME_EVENTFD2): Likewise.
2872 (__ASSUME_SIGNALFD4): Likewise.
2873 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2874 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2876 (__ASSUME_EVENTFD2): Likewise.
2877 (__ASSUME_SIGNALFD4): Likewise.
2878 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2879 (__ASSUME_32BITUIDS): Likewise.
2880 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2881 (__ASSUME_IPC64): Likewise.
2882 (__ASSUME_ST_INO_64_BIT): Likewise.
2883 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2884 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2885 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2886 (__ASSUME_UTIMES): Do not define.
2887 (__ASSUME_PSELECT): Likewise.
2888 (__ASSUME_PPOLL): Likewise.
2889 (__ASSUME_O_CLOEXEC): Likewise.
2890 (__ASSUME_SOCK_CLOEXEC): Likewise.
2891 (__ASSUME_IN_NONBLOCK): Likewise.
2892 (__ASSUME_PIPE2): Likewise.
2893 (__ASSUME_EVENTFD2): Likewise.
2894 (__ASSUME_SIGNALFD4): Likewise.
2895 (__ASSUME_DUP3): Likewise.
2896 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2897 (__ASSUME_UTIMES): Likewise.
2898 (__ASSUME_O_CLOEXEC): Likewise.
2899 (__ASSUME_SOCK_CLOEXEC): Likewise.
2900 (__ASSUME_IN_NONBLOCK): Likewise.
2901 (__ASSUME_PIPE2): Likewise.
2902 (__ASSUME_EVENTFD2): Likewise.
2903 (__ASSUME_SIGNALFD4): Likewise.
2904 (__ASSUME_DUP3): Likewise.
2905 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2906 (__ASSUME_UTIMES): Likewise.
2907 (__ASSUME_O_CLOEXEC): Likewise.
2908 (__ASSUME_SOCK_CLOEXEC): Likewise.
2909 (__ASSUME_IN_NONBLOCK): Likewise.
2910 (__ASSUME_PIPE2): Likewise.
2911 (__ASSUME_EVENTFD2): Likewise.
2912 (__ASSUME_SIGNALFD4): Likewise.
2913 (__ASSUME_DUP3): Likewise.
2914 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2916 (__ASSUME_UTIMES): Likewise.
2917 (__ASSUME_EVENTFD2): Likewise.
2918 (__ASSUME_SIGNALFD4): Likewise.
2919 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2920 (__ASSUME_O_CLOEXEC): Likewise.
2921 (__ASSUME_SOCK_CLOEXEC): Likewise.
2922 (__ASSUME_IN_NONBLOCK): Likewise.
2923 (__ASSUME_PIPE2): Likewise.
2924 (__ASSUME_EVENTFD2): Likewise.
2925 (__ASSUME_SIGNALFD4): Likewise.
2926 (__ASSUME_DUP3): Likewise.
2927 (__ASSUME_UTIMES): Undefine.
2929 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2930 feclearexcept. Remove symbol versioning code.
2931 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2932 symbol versioning code.
2933 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2934 symbol versioning code.
2935 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2936 feupdateenv. Remove symbol versioning code.
2937 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2938 fegetexceptflag. Remove symbol versioning code.
2939 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2940 fesetexceptflag. Remove symbol versioning code.
2941 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2942 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2943 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2944 (__posix_fadvise64_l32): Remove prototype.
2945 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2948 2014-05-13 Roland McGrath <roland@hack.frob.com>
2950 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2951 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2952 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2953 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2955 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2957 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2958 current working directory
2960 2014-05-13 Roland McGrath <roland@hack.frob.com>
2962 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2963 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2964 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2965 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2966 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2967 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2968 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2969 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2970 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2971 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2972 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2973 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2975 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2977 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2981 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2985 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2986 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2987 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2988 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2989 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2990 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2991 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2993 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2994 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2995 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2996 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2997 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2998 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2999 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3000 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3001 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3002 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3003 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3005 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3006 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3008 * sysdeps/unix/sysv/linux/arm/Makefile
3009 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3010 Add rt-aeabi_unwind_cpp_pr1.
3011 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3012 Add nptl-aeabi_unwind_cpp_pr1.
3013 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3014 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3015 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3016 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3017 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3018 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3020 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3021 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3022 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3023 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3025 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3026 Deconditionalize the code that was previously under [RESET_PID].
3027 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3029 * sysdeps/generic/exit-thread.h: New file.
3030 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3031 * include/unistd.h (__exit_thread): Remove declaration.
3032 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3033 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3034 * csu/libc-start.c: Include <exit-thread.h>.
3035 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3036 * nptl/pthread_create.c: Include <exit-thread.h>.
3037 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3038 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3039 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3040 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3041 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3042 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3043 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3044 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3045 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3046 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3047 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3048 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3049 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3050 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3051 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3052 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3053 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3055 2014-05-13 Andreas Schwab <schwab@suse.de>
3057 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3059 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3061 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3062 (__ASSUME_UTIMES): Do not condition on kernel version.
3063 (__ASSUME_PSELECT): Define unconditionally.
3064 (__ASSUME_PPOLL): Likewise.
3065 (__ASSUME_ATFCTS): Likewise.
3066 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3067 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3068 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3069 (__ASSUME_UTIMENSAT): Define unconditionally.
3070 (__ASSUME_PRIVATE_FUTEX): Likewise.
3071 (__ASSUME_FALLOCATE): Likewise.
3072 (__ASSUME_O_CLOEXEC): Likewise.
3073 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3074 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3075 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3076 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3077 (__ASSUME_IN_NONBLOCK): Likewise.
3078 (__ASSUME_PIPE2): Likewise.
3079 (__ASSUME_EVENTFD2): Likewise.
3080 (__ASSUME_SIGNALFD4): Likewise.
3081 (__ASSUME_DUP3): Likewise.
3082 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3083 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3084 (__ASSUME_AT_RANDOM): Likewise.
3085 (__ASSUME_PREADV): Likewise.
3086 (__ASSUME_PWRITEV): Likewise.
3087 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3088 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3089 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3090 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3091 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3092 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3093 (__ASSUME_O_CLOEXEC): Define unconditionally.
3094 (__ASSUME_PSELECT): Do not undefine conditionally.
3095 (__ASSUME_PPOLL): Likewise.
3096 (__ASSUME_ATFCTS): Likewise.
3097 (__ASSUME_SET_ROBUST_LIST): Likewise.
3098 (__ASSUME_UTIMENSAT): Likewise.
3099 (__ASSUME_FDATASYNC): Define unconditionally.
3100 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3101 (__ASSUME_SIGFRAME_V2): Likewise.
3102 )__ASSUME_EVENTFD2): Likewise.
3103 (__ASSUME_SIGNALFD4): Likewise.
3104 (__ASSUME_PSELECT): Do not undefine conditionally.
3105 (__ASSUME_PPOLL): Likewise.
3106 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3107 (__ASSUME_PSELECT): Define unconditionally.
3108 (__ASSUME_PPOLL): Likewise.
3109 (__ASSUME_O_CLOEXEC): Likewise.
3110 (__ASSUME_SOCK_CLOEXEC): Likewise.
3111 (__ASSUME_IN_NONBLOCK): Likewise.
3112 (__ASSUME_PIPE2): Likewise.
3113 (__ASSUME_EVENTFD2): Likewise.
3114 (__ASSUME_SIGNALFD4): Likewise.
3115 (__ASSUME_DUP3): Likewise.
3116 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3117 (__ASSUME_O_CLOEXEC): Likewise.
3118 (__ASSUME_SOCK_CLOEXEC): Likewise.
3119 (__ASSUME_IN_NONBLOCK): Likewise.
3120 (__ASSUME_PIPE2): Likewise.
3121 (__ASSUME_EVENTFD2): Likewise.
3122 (__ASSUME_SIGNALFD4): Likewise.
3123 (__ASSUME_DUP3): Likewise.
3124 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3125 (__ASSUME_EVENTFD2): Likewise.
3126 (__ASSUME_SIGNALFD4): Likewise.
3127 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3129 2014-05-12 Andreas Schwab <schwab@suse.de>
3132 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3133 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3134 than maximum RPC packet size.
3135 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3136 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3137 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3138 (_nss_nis_getservbyport_r): Likewise.
3140 2014-05-12 Will Newton <will.newton@linaro.org>
3142 * malloc/Makefile (tests): Add tst-mallopt.
3143 * malloc/tst-mallopt.c: New file.
3145 2014-05-09 Roland McGrath <roland@hack.frob.com>
3147 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3148 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3150 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3152 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3153 (tst-tlsmod6.so): Likewise.
3155 2014-05-09 Roland McGrath <roland@hack.frob.com>
3157 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3159 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3162 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3163 and <dl-procinfo.h>.
3164 (__fegetenv): Save SSE state in envp->__eip if supported.
3165 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3166 envp->__eip if supported.
3167 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3168 and <dl-procinfo.h>.
3169 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3170 __data_offset and __data_selector in environment to 0. Set SSE
3172 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3174 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3176 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3178 2014-05-09 Will Newton <will.newton@linaro.org>
3180 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3181 and libc_relro_required for ARM.
3182 * sysdeps/arm/preconfigure: Regenerate.
3184 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3185 Stefan Liebler <stli@linux.vnet.ibm.com>
3187 * config.make.in (enable-lock-elision): New Makefile variable.
3188 * configure.ac: Likewise.
3189 * configure: Regenerate.
3190 * sysdeps/s390/configure.ac:
3191 Add check for gcc transactions support.
3192 * sysdeps/s390/configure: Regenerate.
3193 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3194 Build elision files if enabled.
3195 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3196 Add lock elision support for s390.
3197 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3198 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3199 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3200 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3201 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3202 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3203 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3205 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3207 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3209 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3211 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3212 (__lll_timedlock_elision, __lll_lock_elision)
3213 (__lll_unlock_elision, __lll_trylock_elision)
3214 (lll_timedlock_elision, lll_lock_elision)
3215 (lll_unlock_elision, lll_trylock_elision): Add.
3216 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3217 (pthread_mutex_t): Add lock elision support for s390.
3219 2014-05-14 Wilco <wdijkstr@arm.com>
3221 * sysdeps/arm/fclrexcpt.c: Cleanup.
3222 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3223 * sysdeps/arm/feenablxcpt.c: Cleanup.
3224 * sysdeps/arm/fegetenv.c: Cleanup.
3225 * sysdeps/arm/fegetexcept.c: Cleanup.
3226 * sysdeps/arm/fegetround.c: Cleanup.
3227 * sysdeps/arm/feholdexcpt.c: Cleanup.
3228 * sysdeps/arm/fesetenv.c: Cleanup.
3229 * sysdeps/arm/fesetround.c: Cleanup.
3230 * sysdeps/arm/feupdateenv.c: Cleanup.
3231 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3232 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3233 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3234 * sysdeps/arm/ftestexcept.c: Cleanup.
3235 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3236 * sysdeps/arm/setfpucw.c: Cleanup.
3238 2014-05-09 Will Newton <will.newton@linaro.org>
3240 * sysdeps/arm/armv7/strcmp.S: New file.
3241 * NEWS: Mention addition of ARMv7 optimized strcmp.
3243 2014-05-08 Roland McGrath <roland@hack.frob.com>
3245 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3246 look for %.ac rather than %.in.
3248 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3249 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3250 * sysdeps/mach/hurd/configure: Regenerated.
3251 * sysdeps/unix/sysv/linux/configure: Regenerated.
3253 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3255 2014-05-07 Steve Ellcey <sellcey@mips.com>
3258 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3262 2014-05-07 Andreas Schwab <schwab@suse.de>
3264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3265 when skipping over non-matching result from nscd.
3267 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3270 * nptl/sockperf.c (client): Check socket return value.
3273 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3274 nscd security class.
3276 2014-05-06 Roland McGrath <roland@hack.frob.com>
3278 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3279 * sysdeps/arm/unwind.h: ... here.
3281 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3284 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3287 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3289 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3290 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3291 multiarch strncpy for PPC64.
3292 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3293 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3295 multiarch optimizations.
3296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3297 (__libc_ifunc_impl_list): Likewise.
3298 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3299 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3300 multiarch stpncpy for PPC64.
3301 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3302 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3304 2014-05-06 Andreas Schwab <schwab@suse.de>
3307 * gmon/mcount.c (_MCOUNT_DECL): Use
3308 atomic_compare_and_exchange_bool_acq instead of
3309 catomic_compare_and_exchange_bool_acq.
3311 2014-05-05 Roland McGrath <roland@hack.frob.com>
3313 * elf/Makefile (others, install-bin): Remove pldd.
3314 (pldd-modules): Variable removed.
3315 ($(objpfx)pldd): Target removed.
3316 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3317 (others, install-bin): Append pldd here.
3318 ($(objpfx)pldd): New target.
3320 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3321 to 0, so the first #if test emitted later doesn't see it undefined.
3322 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3323 * sysdeps/gnu/errlist.c: Regenerated.
3325 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3327 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3328 [libc_hidden_builtin_def]: Define to empty value.
3329 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3330 [libc_hidden_builtin_def]: Likewise.
3331 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3332 [libc_hidden_builtin_def]: Likewise.
3333 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3334 [libc_hidden_builtin_def]: Likewise.
3335 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3336 __redirect_memcpy and define ifunc as default hidden symbol.
3337 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3338 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3340 2014-05-04 Adam Conrad <adconrad@0c3.net>
3342 * locale/iso-4217.def: Reintroduce XDR currency.
3344 2014-05-04 Allan McRae <allan@archlinux.org>
3346 * po/eo.po: Update Esperanto translation from translation project.
3348 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3350 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3351 and FEATURE_INDEX_MAX to 1.
3352 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3354 2014-05-01 Steve Ellcey <sellcey@mips.com>
3356 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3357 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3358 * iconvdata/big5.c (ONE_DIRECTION): Define.
3359 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3360 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3361 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3362 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3363 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3364 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3365 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3366 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3367 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3368 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3369 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3370 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3371 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3372 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3373 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3374 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3375 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3376 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3377 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3378 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3379 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3380 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3381 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3382 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3383 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3384 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3385 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3386 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3387 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3388 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3389 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3390 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3391 * iconvdata/johab.c (ONE_DIRECTION): Define.
3392 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3393 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3394 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3395 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3396 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3397 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3398 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3399 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3400 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3401 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3403 2014-05-01 Roland McGrath <roland@hack.frob.com>
3405 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3406 (_IO_JUMPS_OFFSET): Define to 0.
3408 * nptl/sysdeps/pthread/bits/libc-lock.h
3409 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3410 (__libc_lock_define_initialized_recursive): Always define using
3411 initializer. Modern compilers treat uninitialized (implicit zero) and
3412 explicit zero initializers the same (i.e. put the datum in bss).
3414 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3416 * nscd/nscd-client.h: Include <string.h>.
3418 2014-05-01 David S. Miller <davem@davemloft.net>
3421 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3422 multiple zero bytes exist at the end of a string.
3423 Reported by Aurelien Jarno <aurelien@aurel32.net>
3425 * string/test-strcmp.c (check): Add explicit test for situations where
3426 there are multiple zero bytes after the first.
3428 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3431 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3432 when compiling wprintf.
3433 * stdio-common/tstdiomisc.c (t3): New function.
3436 2014-05-01 Steve Ellcey <sellcey@mips.com>
3438 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3439 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3440 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3441 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3443 2014-05-01 Steve Ellcey <sellcey@mips.com>
3445 * stdlib/longlong.h: Updated from GCC.
3447 2014-05-01 Will Newton <will.newton@linaro.org>
3448 Bernard Ogden <bernie.ogden@linaro.org>
3450 * NEWS: Update fixed bug list.
3453 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3455 2014-04-30 David S. Miller <davem@davemloft.net>
3457 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3458 (libc_feholdexcept_setround_sparc_ctx): New function.
3459 (libc_fesetenv_sparc_ctx): Likewise.
3460 (libc_feupdateenv_sparc_ctx): Likewise.
3461 (libc_feholdsetround_sparc_ctx): Likewise.
3462 (libc_feholdexcept_setround_ctx): Define.
3463 (libc_feholdexcept_setroundf_ctx): Likewise.
3464 (libc_feholdexcept_setroundl_ctx): Likewise.
3465 (libc_fesetenv_ctx): Likewise.
3466 (libc_fesetenvf_ctx): Likewise.
3467 (libc_fesetenvl_ctx): Likewise.
3468 (libc_feupdateenv_ctx): Likewise.
3469 (libc_feupdateenvf_ctx): Likewise.
3470 (libc_feupdateenvl_ctx): Likewise.
3471 (libc_feresetround_ctx): Likewise.
3472 (libc_feresetroundf_ctx): Likewise.
3473 (libc_feresetroundl_ctx): Likewise.
3474 (libc_feholdsetround_ctx): Likewise.
3475 (libc_feholdsetroundf_ctx): Likewise.
3476 (libc_feholdsetroundl_ctx): Likewise.
3478 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3479 with __USE_GNU instead of XOPEN cpp guards.
3481 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3484 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3485 with XOPEN cpp guards.
3487 2014-04-30 Julian Brown <julian@codesourcery.com>
3490 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3493 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3496 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3498 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3499 * sysdeps/unix/sysv/linux/configure: Regenerated.
3500 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3501 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3502 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3503 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3504 * README: Update reference to required Linux kernel version.
3505 * manual/install.texi (Linux): Update reference to required Linux
3506 kernel headers version.
3507 * INSTALL: Regenerated.
3509 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3511 [POSIX] (limits.h): Likewise.
3512 [POSIX] (math.h): Likewise.
3513 [POSIX] (sys/wait.h): Likewise.
3514 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3516 [POSIX] (stddef.h): Do not allow header inclusion.
3518 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3520 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3522 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3524 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3525 Return immediately after lll_futex_wake.
3527 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3530 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3532 (datahead_init_pos): Call datahead_init_common early.
3533 (datahead_init_neg): Likewise.
3535 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3536 datahead_init_neg): New functions.
3537 * nscd/aicache.c (addhstaiX): Use them.
3538 * nscd/grpcache.c (cache_addgr): Likewise.
3539 * nscd/hstcache.c (cache_addhst): Likewise.
3540 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3541 * nscd/netgroupcache.c (do_notfound): Likewise.
3542 (addgetnetgrentX): Likewise.
3543 (addinnetgrX): Likewise.
3544 * nscd/pwdcache.c (cache_addpw): Likewise.
3545 * nscd/servicescache.c (cache_addserv): Likewise.
3547 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3548 Atsushi Onoe <atsushi@onoe.org>
3553 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3554 one response is valid.
3555 * resolv/res_send.c (send_dg): Check for validity of other
3556 response if the current response is a referral.
3558 2014-04-29 Steve Ellcey <sellcey@mips.com>
3560 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3562 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3565 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3566 Always divide by positive zero when computing -Inf result.
3567 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3568 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3570 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3572 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3573 FPSCR if value do not change.
3574 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3575 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3576 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3577 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3578 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3579 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3582 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3584 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3585 * sysdeps/unix/sysv/linux/hppa: Move directory from
3586 ports/systeps/unix/sysv/linux/hppa.
3587 * README: Update listing for hppa-*-linux-gnu.
3589 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3592 * manual/stdio.texi (Hook functions): Fix types of stream hook
3595 * socket/sys/socket.h: Fix typo in comment.
3597 2014-04-28 Wilco <wdijkstr@arm.com>
3599 * sysdeps/arm/fenv_private.h: New file.
3600 * sysdeps/arm/math_private.h: New file.
3601 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3603 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3605 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3607 (La_x86_64_retval): Likewise.
3609 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3611 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3612 fpsr if value didn't change.
3613 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3614 to fpcr if value didn't change.
3615 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3616 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3617 fpsr or fpcr if value didn't change.
3618 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3619 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3620 fpcr if value didn't change.
3621 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3622 to fpsr if value didn't change.
3624 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3626 * nptl/tst-sem3.c: Use test-skeleton.c
3627 (main): Rename to do_test. Use return instead of
3629 * nptl/tst-sem4.c: Use test-skeleton.c
3630 (main): Rename to do_test.
3632 2014-04-22 David S. Miller <davem@davemloft.net>
3634 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3635 (struct sigaction): New struct member __glibc_reserved0, change
3636 type of sa_flags to int.
3638 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3640 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3641 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3643 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3645 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3646 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3648 2014-04-22 Will Newton <will.newton@linaro.org>
3649 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3651 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3652 (__longjmp): Add longjmp and longjmp_target SystemTap
3654 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3655 (__sigsetjmp): Add setjmp SystemTap probe.
3657 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3659 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3662 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3664 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3666 * sysdeps/powerpc/fpu/fenv_private.h
3667 (libc_feholdexcept_setroundl_ctx): Define to
3668 libc_feholdexcept_setround_ppc_ctx.
3669 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3670 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3671 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3672 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3674 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3676 * sysdeps/aarch64/math-tests.h: New file.
3678 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3680 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3683 Check and set bit_AVX2_Usable.
3684 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3686 (bit_AVX2): Likewise.
3687 (index_AVX2_Usable): Likewise.
3688 (CPUID_AVX2): Likewise.
3689 (HAS_AVX2): Likewise.
3691 2014-04-17 Will Newton <will.newton@linaro.org>
3693 * manual/setjmp.texi (System V contexts): Add note that
3694 calling setcontext on a context created by a call to a
3695 signal handler is undefined. Update text to note that
3696 setcontext from a signal handler is possible but not
3700 * stdlib/tst-setcontext.c: Include signal.h.
3701 (main): Check that the signal stack before and
3702 after swapcontext is the same.
3704 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3705 Re-implement to restore registers in user code and avoid
3706 rt_sigreturn system call.
3708 2014-04-17 Wilco <wdijkstr@arm.com>
3710 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3711 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3712 * math/test-fenv.c: Skip exception trap tests on targets which only
3713 support non-stop mode.
3715 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3716 Wilco Dijkstra <wilco.dijkstra@arm.com>
3718 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3719 (libc_feholdsetround_aarch64_ctx)
3720 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3721 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3722 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3723 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3724 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3725 (libc_feresetround_noexl_ctx): Define.
3727 2014-04-16 Richard Henderson <rth@redhat.com>
3729 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3731 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3734 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3735 const from the non-libc, non-ldso copy.
3737 * sysdeps/alpha/libm-test-ulps: Regenerate.
3739 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3740 Wilco Dijkstra <wilco.dijkstra@arm.com>
3742 * sysdeps/aarch64/fpu/math_private.h: New file.
3744 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3746 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3748 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3750 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3751 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3753 Intel MPX bound registers before _dl_profile_fixup.
3754 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3755 registers after _dl_profile_fixup. Save and restore bound
3756 registers bnd0/bnd1 when calling _dl_call_pltexit.
3757 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3758 (LR_BND_OFFSET): Likewise.
3759 (LRV_BND0_OFFSET): Likewise.
3760 (LRV_BND1_OFFSET): Likewise.
3762 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3764 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3766 * sysdeps/mach/hurd/i386/tls.h: ... here.
3767 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3768 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3771 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3773 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3775 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3777 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3779 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3782 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3783 * sysdeps/s390/configure: Regenerate.
3786 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3787 Set round-to-nearest internally to reduce error accumulation.
3789 2014-04-16 Alan Modra <amodra@gmail.com>
3793 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3794 * math/libm-test.inc (frexp_test_data): Add tests.
3795 * NEWS: Update fixed bug list.
3797 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3799 * benchtests/Makefile: Depend on libraries in build directory.
3800 (bench-math): Separate out math tests.
3801 (bench-pthread): Separate out pthread tests.
3802 (bench): Include math and pthread tests.
3804 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3807 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3808 _dl_debug_initialize.
3810 * configure.ac: Remove SELinux header check.
3811 * configure: Regenerate.
3812 * nscd/selinux.c (perms): Array of const char* to permission names.
3813 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3814 default policy. Call string_to_security_class and string_to_av_perm to
3815 translate strings. Enforce default policy and call avs_has_perm with
3816 results of translated strings.
3818 2014-04-13 David S. Miller <davem@davemloft.net>
3820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3822 2014-04-12 Allan McRae <allan@archlinux.org>
3825 * manual/string.texi (Collation Functions): Fix qsort argument
3827 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3829 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3831 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3832 Make the test a no-op if there are no exceptions defined.
3834 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3836 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3837 enable-hardcoded-path-in-tests
3839 2014-04-11 Will Newton <will.newton@linaro.org>
3841 * benchtests/Makefile (extra-objs): Add json-lib.o.
3842 (bench-func): Tidy up JSON output.
3843 * benchtests/bench-skeleton.c: Include json-lib.h.
3844 (main): Use JSON library functions to do output of
3846 * benchtests/bench-timing-type.c (main): Output the
3847 timing type simply, leaving formatting to the user.
3848 * benchtests/json-lib.c: New file.
3849 * benchtests/json-lib.h: Likewise.
3851 2014-04-11 Torvald Riegel <triegel@redhat.com>
3854 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3855 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3856 memory barriers. Add comments.
3857 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3858 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3859 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3860 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3861 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3862 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3864 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3866 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3867 * sysdeps/s390/s390-64/configure.ac: ... this ...
3868 * sysdeps/s390/configure.ac: ... to here.
3869 * sysdeps/s390/s390-32/configure: Delete file.
3870 * sysdeps/s390/s390-64/configure: Delete file.
3871 * sysdeps/s390/configure: Regenerate.
3873 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3875 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3877 2014-04-11 Will Newton <will.newton@linaro.org>
3879 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3880 to zero if it is not defined elsewhere. (mtrim): Test
3881 the value of MALLOC_DEBUG with #if rather than #ifdef.
3883 2014-04-10 Torvald Riegel <triegel@redhat.com>
3885 * benchtests/pthread_once-inputs: New file.
3886 * benchtests/pthread_once-source.c: New file.
3887 * benchtests/README: Update documentation.
3889 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3890 H.J. Lu <hongjiu.lu@intel.com>
3892 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3893 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3894 * sysdeps/x86_64/configure: Regenerated.
3895 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3897 (REGISTER_SAVE_RAX): Likewise.
3898 (REGISTER_SAVE_RCX): Likewise.
3899 (REGISTER_SAVE_RDX): Likewise.
3900 (REGISTER_SAVE_RSI): Likewise.
3901 (REGISTER_SAVE_RDI): Likewise.
3902 (REGISTER_SAVE_R8): Likewise.
3903 (REGISTER_SAVE_R9): Likewise.
3904 (REGISTER_SAVE_BND0): Likewise.
3905 (REGISTER_SAVE_BND1): Likewise.
3906 (REGISTER_SAVE_BND2): Likewise.
3907 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3908 bound registers when calling _dl_fixup.
3910 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3912 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3913 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3915 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3916 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3917 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3918 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3919 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3920 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3921 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3923 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3926 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3927 pathconf(_PC_NAME_MAX).
3929 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3931 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3933 (__PTHREAD_SPINS): Move definition to ...
3934 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3935 (__PTHREAD_SPINS): ... here.
3936 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3937 (__PTHREAD_SPIN): Likewise.
3938 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3939 (__PTHREAD_SPIN): Likewise.
3940 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3941 (__PTHREAD_SPIN): Likewise.
3942 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3943 (__PTHREAD_SPIN): Likewise.
3944 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3945 (__PTHREAD_SPIN): Likewise.
3946 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3947 (__PTHREAD_SPIN): Likewise.
3948 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3949 (__PTHREAD_SPIN): Likewise.
3950 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3951 (__PTHREAD_SPIN): Likewise.
3952 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3953 (__PTHREAD_SPIN): Likewise.
3954 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3955 (__PTHREAD_SPIN): Likewise.
3956 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3957 (__PTHREAD_SPIN): Likewise.
3958 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3959 (__PTHREAD_SPIN): Likewise.
3961 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3962 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3963 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3964 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3966 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3967 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3968 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3969 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3971 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3972 strlen symbol for non multi-arch builds.
3973 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3974 missing hidden_def and weak_alias.
3976 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3978 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3980 2014-04-07 Will Newton <will.newton@linaro.org>
3982 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3983 and contents. [!_LIBC] Remove #ifndef and contents.
3984 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3985 * string/memccpy.c (__memccpy): Use ANSI prototype.
3986 * string/memfrob.c (memfrob): Likewise.
3987 * string/strcoll.c (STRCOLL): Likewise.
3988 * string/strlen.c (strlen): Likewise.
3989 * string/strtok.c (STRTOK): Likewise.
3990 * string/strcat.c: Remove unused #include of memcopy.h.
3991 (strcat): Use ANSI prototype.
3992 * string/strchr.c: Remove unused #include of memcopy.h.
3993 (strchr): Use ANSI prototype.
3994 * string/strcmp.c: Remove unused #include of memcopy.h.
3995 (strcmp): Use ANSI prototype.
3996 * string/strcpy.c: Remove unused #include of memcopy.h.
3997 (strcpy): Use ANSI prototype.
3999 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4001 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4002 * config.make.in (config-extra-cppflags): Set it from
4003 libc_extra_cppflags.
4004 * configure.ac (libc_extra_cflags): Make it accumulate over
4005 configure fragments.
4006 (libc_extra_cppflags): New flag.
4007 * configure. Regenerate.
4008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4009 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4010 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4014 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4015 result for FE_DOWNWARD rounding mode.
4016 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4020 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4022 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4023 in function argument name.
4025 2014-04-03 David Svoboda <svoboda@cert.org>
4028 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4031 2014-04-03 Roland McGrath <roland@hack.frob.com>
4033 * elf/dl-unmap-segments.h: New file.
4034 * sysdeps/generic/ldsodefs.h
4035 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4036 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4037 * elf/dl-fptr.c: Likewise.
4038 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4039 * sysdeps/aarch64/tlsdesc.c: Likewise.
4040 * sysdeps/arm/tlsdesc.c: Likewise.
4041 * sysdeps/i386/tlsdesc.c: Likewise.
4042 * sysdeps/tile/dl-runtime.c: Likewise.
4043 * sysdeps/x86_64/tlsdesc.c: Likewise.
4044 * elf/dl-load.h: New file.
4045 * elf/dl-load.c: Include it.
4046 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4047 Macros moved to dl-load.h.
4048 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4049 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4050 Use _dl_unmap_segments in place of __munmap.
4051 Break out segment-mapping loop into ...
4052 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4054 2014-04-03 Will Newton <will.newton@linaro.org>
4056 * elf/dl-lookup.c (do_lookup_x): Remove comment
4057 referring to nested function and move variable
4058 declarations down to before first use.
4060 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4064 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4066 * math/s_catanf.c (__catanf): Likewise.
4067 * math/s_catanh.c (__catanh): Likewise.
4068 * math/s_catanhf.c (__catanhf): Likewise.
4069 * math/s_catanhl.c (__catanhl): Likewise.
4070 * math/s_catanl.c (__catanl): Likewise.
4071 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4072 by positive zero when computing -Inf result.
4073 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4074 (catanh_test): Likewise.
4075 * sysdeps/i386/fpu/libm-test-ulps: Update.
4076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4079 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4080 instead of using underflowing value in computing result.
4081 * math/s_clog10.c (__clog10): Likewise.
4082 * math/s_clog10f.c (__clog10f): Likewise.
4083 * math/s_clog10l.c (__clog10l): Likewise.
4084 * math/s_clogf.c (__clogf): Likewise.
4085 * math/s_clogl.c (__clogl): Likewise.
4086 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4087 (clog10_test): Likewise.
4088 * sysdeps/i386/fpu/libm-test-ulps: Update.
4089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4091 2014-04-02 Alan Modra <amodra@gmail.com>
4094 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4095 output when value is near a power of two. Use int64_t for lx and
4096 remove casts. Use decimal rather than hex exponent constants.
4097 Don't use long double multiplication when double will suffice.
4098 * math/libm-test.inc (nextafter_test_data): Add tests.
4099 * NEWS: Add 16739 and 16786 to bug list.
4101 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4103 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4105 2014-04-01 Will Newton <will.newton@linaro.org>
4107 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4108 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4110 2014-04-01 Florian Weimer <fweimer@redhat.com>
4113 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4114 * nptl/tst-setuid2.c: New file.
4115 * nptl/Makefile (xtests): Add tst-setuid2.
4117 2014-04-01 Alan Modra <amodra@gmail.com>
4120 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4122 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4126 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4127 set errno as appropriate.
4128 * math/w_scalbf.c (__scalbf): Likewise.
4129 * math/w_scalbl.c (__scalbl): Likewise.
4130 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4131 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4132 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4136 * math/w_atan2.c: Include <errno.h>.
4137 (__atan2): Set errno for result underflowing to zero.
4138 * math/w_atan2f.c: Include <errno.h>.
4139 (__atan2f): Set errno for result underflowing to zero.
4140 * math/w_atan2l.c: Include <errno.h>.
4141 (__atan2l): Set errno for result underflowing to zero.
4142 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4144 * math/auto-libm-test-out: Regenerated.
4146 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4148 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4149 Encode instruction correctly in little endian.
4150 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4152 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4154 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4156 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4159 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4162 * sysdeps/unix/sysv/linux/kernel-features.h
4163 [__sparc__ && !__arch64__ && !__sparc_v9__]
4164 (__ASSUME_SET_ROBUST_LIST): Do not define.
4165 [__sparc__ && !__arch64__ && !__sparc_v9__]
4166 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4167 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4169 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4170 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4171 (__ASSUME_REQUEUE_PI): Likewise.
4172 (__ASSUME_SET_ROBUST_LIST): Likewise.
4173 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4174 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4176 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4177 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4179 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4181 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4183 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4184 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4186 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4187 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4191 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4192 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4193 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4195 2014-03-31 Will Newton <will.newton@linaro.org>
4197 * benchtests/Makefile (bench): Add ffs and ffsll to list
4199 * benchtests/ffs-inputs: New file.
4200 * benchtests/ffsll-inputs: Likewise.
4202 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4205 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4206 too large before casting to int.
4207 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4208 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4209 * math/libm-test.inc (scalb_test_data): Add more tests.
4211 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4213 * benchtests/Makefile (DETAILED_OPT): New make option.
4214 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4216 * benchtests/bench-skeleton.c: Include stdbool.h.
4217 (main): Store and print timings per input.
4218 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4219 member to each argument value.
4220 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4221 (_print_arg_data): Initialize per-input timing to 0.
4223 * benchtests/Makefile (timing-type): New binary.
4224 (bench-clean): Also remove bench-timing-type.
4225 (bench): New target for timing-type.
4226 (bench-func): Print output in JSON format.
4227 * benchtests/bench-skeleton.c (main): Print output in JSON
4229 * benchtests/bench-timing-type.c: New file.
4230 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4231 (TIMING_PRINT_STATS): Remove.
4232 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4235 * benchtests/bench-modf.c: Remove.
4236 * benchtests/modf-inputs: New inputs file.
4238 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4241 * math/s_clog10.c (M_PI_LOG10E): New macro.
4242 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4243 imaginary parts are 0.
4244 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4245 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4246 imaginary parts are 0.
4247 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4248 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4249 imaginary parts are 0.
4250 * math/libm-test.inc (clog10_test_data): Update expected results
4251 for when real and imaginary parts are 0.
4253 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4255 * elf/dl-load.c: Finish conversion of __builtin_expect into
4258 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4261 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4262 1+x for argument with exponent below -67.
4263 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4265 * math/auto-libm-test-in: Add more tests of exp.
4266 * math/auto-libm-test-out: Regenerated.
4268 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4271 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4272 (nscd_getnetgrent): Use it.
4275 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4278 2014-03-27 Andi Kleen <ak@linux.intel.com>
4280 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4281 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4282 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4283 (lll_robust_unlock): Remove out of line section. Use cfi
4285 (LLL_STUB_UNWIND_INFO*): Remove.
4286 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4287 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4288 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4289 (lll_robust_unlock): Remove out of line section. Use cfi
4291 (LLL_STUB_UNWIND_INFO*): Remove.
4293 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4296 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4299 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4301 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4303 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4306 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4308 * math/test-fenv-preserve.c: New file.
4309 * math/Makefile (tests): Add test-fenv-preserve.
4311 2014-03-26 Will Newton <will.newton@linaro.org>
4313 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4315 2014-03-25 Roland McGrath <roland@hack.frob.com>
4317 * scripts/versionlist.awk: Partition the version sets and emit all
4318 GLIBC_* (sorted) before all others (sorted).
4320 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4322 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4323 GLIBC_2.2.5 version.
4325 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4327 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4330 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4335 2014-03-25 Andreas Schwab <schwab@suse.de>
4337 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4338 label to be used after in6ailist is initialized.
4340 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4342 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4343 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4345 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4349 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4351 (fp_formats): Update initializers.
4352 (init_fp_formats): Initialize new field.
4353 (output_for_one_input_case): Allow underflow for results up to
4355 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4356 * math/auto-libm-test-in: Don't mark some underflows from asin and
4358 * math/auto-libm-test-out: Regenerated.
4359 * sysdeps/i386/fpu/libm-test-ulps: Update.
4360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4362 2014-03-25 Andreas Schwab <schwab@suse.de>
4364 * libio/Makefile (tst-ftell-partial-wide-ENV)
4365 (tst-ftell-active-handler-ENV): Define.
4367 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4369 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4371 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4373 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4375 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4377 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4378 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4379 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4381 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4384 * elf/dl-load.c (open_verify): Add mode parameter.
4385 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4386 (open_path): Change from boolean 'secure' to complete flag 'mode'
4387 (_dl_map_object): Adjust.
4388 * elf/Makefile (tests): Add tst-dlopen-aout.
4389 * elf/tst-dlopen-aout.c: New test.
4391 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4394 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4395 (struct stat): Rename member pad0 to __glibc_reserved0.
4398 * sysdeps/s390/s390-32/bits/wordsize.h
4399 (__WORDSIZE32_SIZE_ULONG): New define.
4400 * sysdeps/s390/s390-64/bits/wordsize.h
4401 (__WORDSIZE32_SIZE_ULONG): Likewise.
4402 * sysdeps/generic/stdint.h (SIZE_MAX):
4403 Define as UL if __WORDSIZE32_SIZE_ULONG.
4406 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4407 (__glibc_reserved0): New variable.
4408 (sa_flags): Change type to int.
4410 * posix/Makefile (before-compile): Use += before-compile instead
4413 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4414 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4416 2014-03-20 Andreas Schwab <schwab@suse.de>
4419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4420 non-matching result from nscd.
4422 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4424 * scripts/bench.py: Moved to ...
4425 * benchtests/scripts/bench.py: ... here.
4426 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4428 2014-03-24 Andreas Schwab <schwab@suse.de>
4431 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4432 alloca_account and account alloca use for struct in6ailist.
4434 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4437 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4438 rounding mode to recompute results that overflow to infinity or
4440 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4442 * math/auto-libm-test-out: Regenerated.
4443 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4444 (ccosh_test): Likewise.
4445 (csin_test_data): Use plus_oflow.
4446 (csin_test): Use ALL_RM_TEST.
4447 (csinh_test_data): Use plus_oflow.
4448 (csinh_test): Use ALL_RM_TEST.
4449 * sysdeps/i386/fpu/libm-test-ulps: Update.
4450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4452 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4454 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4455 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4456 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4459 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4461 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4462 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4463 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4464 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4466 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4467 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4469 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4470 * sysdeps/i386/fpu/libm-test-ulps: Update.
4471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4473 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4475 * scripts/bench.pl: Remove file.
4476 * scripts/bench.py: New benchmark script.
4477 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4478 * benchtests/README: Mention python dependency.
4479 * scripts/pylintrc: New file.
4480 * scripts/pylint: New file.
4482 * bits/mathdef.h: Use #ifdef instead of #if.
4483 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4484 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4485 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4486 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4487 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4488 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4490 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4491 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4493 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4495 and strpbrk-ppc64 objects.
4496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4497 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4498 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4499 multiarch strpbrk for POWER7.
4500 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4501 multiarch strpbrk for PPC64.
4502 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4504 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4507 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4509 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4510 (atan_test): Likewise.
4511 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4512 (atanh_test): Use ALL_RM_TEST.
4513 (atan2_test_data): Likewise.
4514 (cabs_test): Likewise.
4515 (cacosh_test): Likewise.
4516 (carg_test): Likewise.
4517 (casin_test): Likewise.
4518 (casinh_test): Likewise.
4519 (cbrt_test): Likewise.
4520 (csqrt_test): Likewise.
4521 (erf_test): Likewise.
4522 (erfc_test): Likewise.
4523 (pow10_test): Likewise.
4524 (exp2_test): Likewise.
4525 (hypot_test): Likewise.
4526 (j0_test): Likewise.
4527 (j1_test): Likewise.
4528 (lgamma_test): Likewise.
4529 (gamma_test): Likewise.
4530 (sincos_test): Likewise.
4531 (tanh_test): Likewise.
4532 (y0_test): Likewise.
4533 (y1_test): Likewise.
4534 * sysdeps/i386/fpu/libm-test-ulps: Update.
4535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4537 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4539 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4541 and strcspn-ppc64 objects.
4542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4543 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4544 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4545 multiarch strcspn for POWER7.
4546 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4547 multiarch strcspn for PPC64.
4548 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4550 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4553 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4555 * math/gen-libm-test.pl (generate_testfile): Expect only function
4556 name as argument to AUTO_TESTS_* and pass results for all rounding
4557 modes to parse_args.
4558 (parse_auto_input): Separate inputs of automatic tests from
4559 outputs before storing in %auto_tests.
4560 * math/libm-test.inc (acos_test_data): Update call to
4562 (acos_test): Use ALL_RM_TEST.
4563 (acos_tonearest_test_data): Remove.
4564 (acos_test_tonearest): Likewise.
4565 (acos_towardzero_test_data): Likewise.
4566 (acos_test_towardzero): Likewise.
4567 (acos_downward_test_data): Likewise.
4568 (acos_test_downward): Likewise.
4569 (acos_upward_test_data): Likewise.
4570 (acos_test_upward): Likewise.
4571 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4572 (asin_test_data): Likewise.
4573 (asin_test): Use ALL_RM_TEST.
4574 (asin_tonearest_test_data): Remove.
4575 (asin_test_tonearest): Likewise.
4576 (asin_towardzero_test_data): Likewise.
4577 (asin_test_towardzero): Likewise.
4578 (asin_downward_test_data): Likewise.
4579 (asin_test_downward): Likewise.
4580 (asin_upward_test_data): Likewise.
4581 (asin_test_upward): Likewise.
4582 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4583 (atan_test_data): Likewise.
4584 (atanh_test_data): Likewise.
4585 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4586 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4587 (carg_test_data): Likewise.
4588 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4589 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4590 (ccosh_test_data): Likewise.
4591 (cexp_test_data): Likewise.
4592 (clog_test_data): Likewise.
4593 (clog10_test_data): Likewise.
4594 (cos_test_data): Update call to AUTO_TESTS_f_f.
4595 (cos_test): Use ALL_RM_TEST.
4596 (cos_tonearest_test_data): Remove.
4597 (cos_test_tonearest): Likewise.
4598 (cos_towardzero_test_data): Likewise.
4599 (cos_test_towardzero): Likewise.
4600 (cos_downward_test_data): Likewise.
4601 (cos_test_downward): Likewise.
4602 (cos_upward_test_data): Likewise.
4603 (cos_test_upward): Likewise.
4604 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4605 (cosh_test): Use ALL_RM_TEST.
4606 (cosh_tonearest_test_data): Remove.
4607 (cosh_test_tonearest): Likewise.
4608 (cosh_towardzero_test_data): Likewise.
4609 (cosh_test_towardzero): Likewise.
4610 (cosh_downward_test_data): Likewise.
4611 (cosh_test_downward): Likewise.
4612 (cosh_upward_test_data): Likewise.
4613 (cosh_test_upward): Likewise.
4614 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4615 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4616 (ctan_test_data): Likewise.
4617 (ctan_test): Use ALL_RM_TEST.
4618 (ctan_tonearest_test_data): Remove.
4619 (ctan_test_tonearest): Likewise.
4620 (ctan_towardzero_test_data): Likewise.
4621 (ctan_test_towardzero): Likewise.
4622 (ctan_downward_test_data): Likewise.
4623 (ctan_test_downward): Likewise.
4624 (ctan_upward_test_data): Likewise.
4625 (ctan_test_upward): Likewise.
4626 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4627 (ctanh_test): Use ALL_RM_TEST.
4628 (ctanh_tonearest_test_data): Remove.
4629 (ctanh_test_tonearest): Likewise.
4630 (ctanh_towardzero_test_data): Likewise.
4631 (ctanh_test_towardzero): Likewise.
4632 (ctanh_downward_test_data): Likewise.
4633 (ctanh_test_downward): Likewise.
4634 (ctanh_upward_test_data): Likewise.
4635 (ctanh_test_upward): Likewise.
4636 (erf_test_data): Update call to AUTO_TESTS_f_f.
4637 (erfc_test_data): Likewise.
4638 (exp_test_data): Likewise.
4639 (exp_test): Use ALL_RM_TEST.
4640 (exp_tonearest_test_data): Remove.
4641 (exp_test_tonearest): Likewise.
4642 (exp_towardzero_test_data): Likewise.
4643 (exp_test_towardzero): Likewise.
4644 (exp_downward_test_data): Likewise.
4645 (exp_test_downward): Likewise.
4646 (exp_upward_test_data): Likewise.
4647 (exp_test_upward): Likewise.
4648 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4649 (exp10_test): Use ALL_RM_TEST.
4650 (exp10_tonearest_test_data): Remove.
4651 (exp10_test_tonearest): Likewise.
4652 (exp10_towardzero_test_data): Likewise.
4653 (exp10_test_towardzero): Likewise.
4654 (exp10_downward_test_data): Likewise.
4655 (exp10_test_downward): Likewise.
4656 (exp10_upward_test_data): Likewise.
4657 (exp10_test_upward): Likewise.
4658 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4659 (expm1_test_data): Likewise.
4660 (expm1_test): Use ALL_RM_TEST.
4661 (expm1_tonearest_test_data): Remove.
4662 (expm1_test_tonearest): Likewise.
4663 (expm1_towardzero_test_data): Likewise.
4664 (expm1_test_towardzero): Likewise.
4665 (expm1_downward_test_data): Likewise.
4666 (expm1_test_downward): Likewise.
4667 (expm1_upward_test_data): Likewise.
4668 (expm1_test_upward): Likewise.
4669 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4670 (fma_test): Use ALL_RM_TEST.
4671 (fma_towardzero_test_data): Remove.
4672 (fma_test_towardzero): Likewise.
4673 (fma_downward_test_data): Likewise.
4674 (fma_test_downward): Likewise.
4675 (fma_upward_test_data): Likewise.
4676 (fma_test_upward): Likewise.
4677 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4678 (j0_test_data): Update call to AUTO_TESTS_f_f.
4679 (j1_test_data): Likewise.
4680 (jn_test_data): Update call to AUTO_TESTS_if_f.
4681 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4682 (log_test_data): Update call to AUTO_TESTS_f_f.
4683 (log10_test_data): Likewise.
4684 (log1p_test_data): Likewise.
4685 (log2_test_data): Likewise.
4686 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4687 (pow_tonearest_test_data): Likewise.
4688 (sin_test_data): Update call to AUTO_TESTS_f_f.
4689 (sin_test): Use ALL_RM_TEST.
4690 (sin_tonearest_test_data): Remove.
4691 (sin_test_tonearest): Likewise.
4692 (sin_towardzero_test_data): Likewise.
4693 (sin_test_towardzero): Likewise.
4694 (sin_downward_test_data): Likewise.
4695 (sin_test_downward): Likewise.
4696 (sin_upward_test_data): Likewise.
4697 (sin_test_upward): Likewise.
4698 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4699 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4700 (sinh_test): Use ALL_RM_TEST.
4701 (sinh_tonearest_test_data): Remove.
4702 (sinh_test_tonearest): Likewise.
4703 (sinh_towardzero_test_data): Likewise.
4704 (sinh_test_towardzero): Likewise.
4705 (sinh_downward_test_data): Likewise.
4706 (sinh_test_downward): Likewise.
4707 (sinh_upward_test_data): Likewise.
4708 (sinh_test_upward): Likewise.
4709 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4710 (sqrt_test): Use ALL_RM_TEST.
4711 (sqrt_tonearest_test_data): Remove.
4712 (sqrt_test_tonearest): Likewise.
4713 (sqrt_towardzero_test_data): Likewise.
4714 (sqrt_test_towardzero): Likewise.
4715 (sqrt_downward_test_data): Likewise.
4716 (sqrt_test_downward): Likewise.
4717 (sqrt_upward_test_data): Likewise.
4718 (sqrt_test_upward): Likewise.
4719 (tan_test_data): Update call to AUTO_TESTS_f_f.
4720 (tan_test): Use ALL_RM_TEST.
4721 (tan_tonearest_test_data): Remove.
4722 (tan_test_tonearest): Likewise.
4723 (tan_towardzero_test_data): Likewise.
4724 (tan_test_towardzero): Likewise.
4725 (tan_downward_test_data): Likewise.
4726 (tan_test_downward): Likewise.
4727 (tan_upward_test_data): Likewise.
4728 (tan_test_upward): Likewise.
4729 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4730 (tgamma_test_data): Likewise.
4731 (y0_test_data): Likewise.
4732 (y1_test_data): Likewise.
4733 (yn_test_data): Update call to AUTO_TESTS_if_f.
4734 (main): Do not call removed functions.
4736 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4738 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4739 (ldexp_test_data): Remove.
4740 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4742 (scalb_test): Use ALL_RM_TEST.
4744 2014-03-19 Andreas Schwab <schwab@suse.de>
4746 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4748 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4751 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4752 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4753 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4754 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4755 (__ASSUME_PREADV): Undefine.
4756 (__ASSUME_PWRITEV): Likewise.
4758 2014-03-18 Roland McGrath <roland@hack.frob.com>
4760 * bits/mman-linux.h: Add comment about non-Linux use.
4761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4762 bits/mman-linux.h resting place.
4764 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4765 * bits/mman-linux.h: ... here.
4767 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4769 * conform/conformtest.pl: Add standard definition when calling C
4770 preprocessor on data files.
4771 (checknamespace): Remove unused variable.
4773 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4775 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4776 minus_oflow, plus_uflow and minus_uflow in expected results.
4777 * math/libm-test.inc (scalbn_test_data): Add more tests of
4778 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4780 (scalbn_test): Use ALL_RM_TEST.
4781 (scalbln_test_data): Add more tests of negative arguments. Use
4782 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4783 (scalbln_test): Use ALL_RM_TEST.
4785 2014-03-18 Roland McGrath <roland@hack.frob.com>
4787 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4789 2014-03-18 Will Newton <will.newton@linaro.org>
4791 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4794 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4796 * Makerules [!subdir] (check-abi): Exit with error status if a
4799 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4801 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4802 for rint. Include results for all rounding modes.
4803 (nearbyint_test): Use ALL_RM_TEST.
4804 (rint_test_data): Include all tests used for nearbyint.
4806 2014-03-17 Will Newton <will.newton@linaro.org>
4808 * nptl/sysdeps/pthread/pthread.h: Revert previous
4811 * sysdeps/generic/ldsodefs.h: Revert previous
4814 * libio/genops.c: Revert previous change.
4815 * libio/libioP.h: Likewise.
4816 * stdio-common/vfprintf.c: Likewise.
4818 * sysdeps/generic/math_private.h: Revert previous
4821 * sysdeps/generic/math_private.h: Check whether
4822 HAVE_RM_CTX is defined with #ifdef rather
4825 * argp/argp-fmtstream.h: Check whether
4826 __STRICT_ANSI__ is defined with #ifdef rather
4828 * argp/argp.h: Likewise.
4830 * libio/genops.c: Check whether
4831 _IO_JUMPS_OFFSET is defined with #ifdef rather
4833 * libio/libioP.h: Likewise.
4834 * stdio-common/vfprintf.c: Likewise.
4836 * sysdeps/generic/ldsodefs.h: Check whether
4837 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4840 * nptl/sysdeps/pthread/pthread.h: Check
4841 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4844 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4846 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4848 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4852 * libio/fileops.c (_IO_file_open): Seek to end of file but
4853 don't cache the offset.
4854 (get_file_offset): Remove function.
4855 (do_ftell): Use cached offset when available.
4856 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4857 don't cache the offset.
4858 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4860 (do_one_test): Call it.
4861 (do_ftell_test): Fix up expected old offset for a+ mode.
4862 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4865 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4866 up test status with function return status.
4867 (do_write_test): Likewise.
4868 (do_append_test): Likewise.
4870 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4871 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4874 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4876 * math/gen-libm-test.pl (parse_args): Handle results specified for
4877 each rounding mode separately.
4878 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4879 tests and results from lrint_tonearest_test_data,
4880 lrint_towardzero_test_data, lrint_downward_test_data and
4881 lrint_upward_test_data.
4882 (lrint_test): Use ALL_RM_TEST.
4883 (lrint_tonearest_test_data): Remove.
4884 (lrint_test_tonearest): Likewise.
4885 (lrint_towardzero_test_data): Likewise.
4886 (lrint_test_towardzero): Likewise.
4887 (lrint_downward_test_data): Likewise.
4888 (lrint_test_downward): Likewise.
4889 (lrint_upward_test_data): Likewise.
4890 (lrint_test_upward): Likewise.
4891 (llrint_test_data): Merge in per-rounding-mode tests and results
4892 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4893 llrint_downward_test_data and llrint_upward_test_data.
4894 (llrint_test): Use ALL_RM_TEST.
4895 (llrint_tonearest_test_data): Remove.
4896 (llrint_test_tonearest): Likewise.
4897 (llrint_towardzero_test_data): Likewise.
4898 (llrint_test_towardzero): Likewise.
4899 (llrint_downward_test_data): Likewise.
4900 (llrint_test_downward): Likewise.
4901 (llrint_upward_test_data): Likewise.
4902 (llrint_test_upward): Likewise.
4903 (rint_test_data): Merge in per-rounding-mode tests and results
4904 from rint_tonearest_test_data, rint_towardzero_test_data,
4905 rint_downward_test_data and rint_upward_test_data. Add
4906 per-rounding-mode results for tests not in those arrays.
4907 (rint_test): Use ALL_RM_TEST.
4908 (rint_tonearest_test_data): Remove.
4909 (rint_test_tonearest): Likewise.
4910 (rint_towardzero_test_data): Likewise.
4911 (rint_test_towardzero): Likewise.
4912 (rint_downward_test_data): Likewise.
4913 (rint_test_downward): Likewise.
4914 (rint_upward_test_data): Likewise.
4915 (rint_test_upward): Likewise.
4916 (main): Don't call removed functions.
4918 2014-03-14 Roland McGrath <roland@hack.frob.com>
4920 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4921 "Compiled on ..." crapola. It is anti-useful.
4923 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4925 * scripts/evaluate-test.sh: Handle fourth argument to determine
4926 whether test run should stop on failure.
4927 * Makeconfig (stop-on-test-failure): New variable.
4928 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4929 $(stop-on-test-failure).
4930 * Makefile (tests): Give a summary of results from testing and
4931 exit with failure status if they include an ERROR or FAIL.
4933 * manual/install.texi (Configuring and compiling): Mention
4934 stop-on-test-failure=y.
4935 * INSTALL: Regenerated.
4937 2014-03-14 Roland McGrath <roland@hack.frob.com>
4939 * scripts/versionlist.awk: New file.
4940 * Makerules [$(build-shared) = yes]
4941 (postclean-generated): Add Versions.def, not Versions.def.v and
4943 ($(common-objpfx)Versions.def.v.i): Target removed.
4944 ($(common-objpfx)Versions.def): New target.
4945 ($(common-objpfx)Versions.all): Depend on that rather that
4946 $(common-objpfx)Versions.def.v.
4947 * Versions.def: File removed.
4949 * Makeconfig (+gccwarn): Add -Wundef.
4950 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4951 a dl-sysdep.h breaking its contract.
4952 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4953 * include/stackinfo.h: New file.
4954 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4955 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4956 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4957 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4958 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4959 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4960 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4961 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4962 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4963 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4964 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4965 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4966 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4967 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4968 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4970 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4973 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4975 * math/libm-test.inc (round_test_data): Add more tests.
4978 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4980 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4983 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4985 * math/libm-test.inc (ceil_test_data): Add more tests.
4987 * math/libm-test.inc (trunc_test_data): Add more tests related to
4990 2014-03-14 Roland McGrath <roland@hack.frob.com>
4992 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4993 with #if rather than #ifdef.
4994 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4996 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4998 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4999 first. Disable AVX-512 GCC support if assembler doesn't support
5001 * sysdeps/x86_64/configure: Regenerated.
5003 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5005 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5006 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5007 (__old_pthread_attr_setstack): Likewise.
5008 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5009 [!_STACK_GROWS_DOWN]: Likewise.
5011 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5013 * config.make.in (have-bash2): Delete.
5014 * configure.ac (libc_cv_have_bash2): Delete.
5015 * configure: Regenerate.
5016 * elf/Makefile (common-ldd-rewrite): Rename to ...
5017 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5018 (sh-ldd-rewrite): Delete.
5019 (bash-ldd-rewrite): Delete.
5020 (have-bash2): Delete checks.
5021 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5024 * config.make.in (have-ksh): Delete.
5026 * configure.ac (libc_cv_have_ksh): Delete.
5027 * configure: Regenerate.
5029 * elf/Makefile: Delete $(have-ksh) check.
5030 ($(objpfx)sotruss): Change KSH to BASH.
5031 * elf/sotruss.ksh: Rename to ...
5032 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5033 function style to match POSIX. Drop ksh vim mode setting.
5035 * manual/time.texi (Specifying the Time Zone with TZ): Change
5036 Tuesday to Thursday.
5038 * debug/tst-longjmp_chk2.c: Update header comment.
5039 (stackoverflow_handler): Add comment. Call assert on pass value.
5041 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5043 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5044 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5045 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5046 (La_x86_64_vector): Add zmm.
5047 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5048 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5049 ($(objpfx)tst-audit10): New target.
5050 ($(objpfx)tst-audit10.out): Likewise.
5051 (tst-audit10-ENV): New.
5052 (AVX512-CFLAGS): Likewise.
5053 (CFLAGS-tst-audit10.c): Likewise.
5054 (CFLAGS-tst-auditmod10a.c): Likewise.
5055 (CFLAGS-tst-auditmod10b.c): Likewise.
5056 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5057 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5058 * sysdeps/x86_64/configure: Regenerated.
5059 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5060 AVX-512 zmm register support.
5061 (_dl_x86_64_save_sse): Likewise.
5062 (_dl_x86_64_restore_sse): Likewise.
5063 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5064 size vector registers.
5065 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5066 (ZMM_SIZE): Likewise.
5067 * sysdeps/x86_64/tst-audit10.c: New file.
5068 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5069 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5071 2014-03-13 Roland McGrath <roland@hack.frob.com>
5073 * configure.ac (HAVE_EHDR_START): New check.
5074 * configure: Regenerated.
5075 * config.h.in (HAVE_EHDR_START): New #undef.
5076 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5077 assuming the lowest-addressed segment maps the start of the file.
5079 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5081 * INSTALL: Regenerated.
5083 2014-03-13 Will Newton <will.newton@linaro.org>
5085 * manual/setjmp.texi (System V contexts): Improve
5086 clarity and grammar of documentation.
5088 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5091 * elf/Makefile (tests): Add tst-pie2.
5092 (tests-pie): Add tst-pie2.
5093 * elf/tst-pie2.c: New file.
5094 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5096 * elf/rtld.c (map_doit): Load executable as lt_executable.
5097 (dl_main): Likewise.
5099 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5102 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5103 (__ASSUME_PSELECT): Undefine.
5105 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5108 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5109 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5111 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5112 selector for static builds.
5114 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5117 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5120 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5122 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5123 IFUNC selector for static builds.
5125 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5127 * sysdeps/mips/math_private.h [__mips_hard_float]
5128 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5129 libc_feresetround_mips_ctx.
5130 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5131 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5132 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5135 * math/s_nextafter.c (__nextafter): Do not return value from
5136 overflowing computation.
5137 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5138 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5139 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5141 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5143 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5144 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5146 2014-03-11 Roland McGrath <roland@hack.frob.com>
5148 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5149 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5150 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5151 the new mov targetting sp.
5153 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5156 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5157 Define it for static builds as well.
5158 (NO_BZERO_IMPL): Likewise.
5160 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5162 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5163 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5164 multiarch strspn for PPC64.
5165 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5166 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5168 (__libc_ifunc_impl_list): Likewise.
5169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5170 multiarch optimizations
5171 * string/strspn.c (strspn): Using macro to redefine symbol name.
5173 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5174 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5176 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5177 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5178 multiarch strncat for PPC64.
5179 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5180 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5182 (__libc_ifunc_impl_list): Likewise.
5183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5184 multiarch optimizations
5186 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5189 * nscd/nscd.service: Make service type forking.
5191 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5193 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5194 sign in non default rounding modes.
5195 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5197 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5199 * math/libm-test.inc (ALL_RM_TEST): New macro.
5200 (ceil_test): Use ALL_RM_TEST.
5201 (cimag_test): Likewise.
5202 (conj_test): Likewise.
5203 (copysign_test): Likewise.
5204 (cproj_test): Likewise.
5205 (creal_test): Likewise.
5206 (fabs_test): Likewise.
5207 (floor_test): Likewise.
5208 (fmax_test): Likewise.
5209 (fmin_test): Likewise.
5210 (fmod_test): Likewise.
5211 (fpclassify_test): Likewise.
5212 (frexp_test): Likewise.
5213 (ilogb_test): Likewise.
5214 (isfinite_test): Likewise.
5215 (finite_test): Likewise.
5216 (isgreater_test): Likewise.
5217 (isgreaterequal_test): Likewise.
5218 (isinf_test): Likewise.
5219 (isless_test): Likewise.
5220 (islessequal_test): Likewise.
5221 (islessgreater_test): Likewise.
5222 (isnan_test): Likewise.
5223 (isnormal_test): Likewise.
5224 (issignaling_test): Likewise.
5225 (isunordered_test): Likewise.
5226 (logb_test): Likewise.
5227 (logb_downward_test_data): Remove.
5228 (logb_test_downward): Likewise.
5229 (lround_test): Use ALL_RM_TEST.
5230 (llround_test): Likewise.
5231 (modf_test): Likewise.
5232 (nexttoward_test): Likewise.
5233 (remainder_test): Likewise.
5234 (drem_test): Likewise.
5235 (remainder_tonearest_test_data): Likewise.
5236 (remainder_test_tonearest): Likewise.
5237 (drem_test_tonearest): Likewise.
5238 (remainder_towardzero_test_data): Likewise.
5239 (remainder_test_towardzero): Likewise.
5240 (drem_test_towardzero): Likewise.
5241 (remainder_downward_test_data): Likewise.
5242 (remainder_test_downward): Likewise.
5243 (drem_test_downward): Likewise.
5244 (remainder_upward_test_data): Likewise.
5245 (remainder_test_upward): Likewise.
5246 (drem_test_upward): Likewise.
5247 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5248 (round_test): Use ALL_RM_TEST.
5249 (signbit_test): Likewise.
5250 (trunc_test): Likewise.
5251 (significand_test): Likewise.
5252 (main): Don't call removed functions.
5254 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5257 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5259 (ILL_ILLOPN): Likewise.
5260 (ILL_ILLADR): Likewise.
5261 (ILL_ILLTRP): Likewise.
5262 (ILL_PRVOPC): Likewise.
5263 (ILL_PRVREG): Likewise.
5264 (ILL_COPROC): Likewise.
5265 (ILL_BADSTK): Likewise.
5266 (FPE_INTDIV): Likewise.
5267 (FPE_INTOVF): Likewise.
5268 (FPE_FLTDIV): Likewise.
5269 (FPE_FLTOVF): Likewise.
5270 (FPE_FLTUND): Likewise.
5271 (FPE_FLTRES): Likewise.
5272 (FPE_FLTINV): Likewise.
5273 (FPE_FLTSUB): Likewise.
5274 (SEGV_MAPERR): Likewise.
5275 (SEGV_ACCERR): Likewise.
5276 (BUS_ADRALN): Likewise.
5277 (BUS_ADRERR): Likewise.
5278 (BUS_OBJERR): Likewise.
5279 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5280 (TRAP_TRACE): Likewise.
5281 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5283 (CLD_KILLED): Likewise.
5284 (CLD_DUMPED): Likewise.
5285 (CLD_TRAPPED): Likewise.
5286 (CLD_STOPPED): Likewise.
5287 (CLD_CONTINUED): Likewise.
5288 (POLL_IN): Likewise.
5289 (POLL_OUT): Likewise.
5290 (POLL_MSG): Likewise.
5291 (POLL_ERR): Likewise.
5292 (POLL_PRI): Likewise.
5293 (POLL_HUP): Likewise.
5294 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5296 (ILL_ILLOPN): Likewise.
5297 (ILL_ILLADR): Likewise.
5298 (ILL_ILLTRP): Likewise.
5299 (ILL_PRVOPC): Likewise.
5300 (ILL_PRVREG): Likewise.
5301 (ILL_COPROC): Likewise.
5302 (ILL_BADSTK): Likewise.
5303 (FPE_INTDIV): Likewise.
5304 (FPE_INTOVF): Likewise.
5305 (FPE_FLTDIV): Likewise.
5306 (FPE_FLTOVF): Likewise.
5307 (FPE_FLTUND): Likewise.
5308 (FPE_FLTRES): Likewise.
5309 (FPE_FLTINV): Likewise.
5310 (FPE_FLTSUB): Likewise.
5311 (SEGV_MAPERR): Likewise.
5312 (SEGV_ACCERR): Likewise.
5313 (BUS_ADRALN): Likewise.
5314 (BUS_ADRERR): Likewise.
5315 (BUS_OBJERR): Likewise.
5316 (BUS_MCEERR_AR): Likewise.
5317 (BUS_MCEERR_AO): Likewise.
5318 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5319 (TRAP_TRACE): Likewise.
5320 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5322 (CLD_KILLED): Likewise.
5323 (CLD_DUMPED): Likewise.
5324 (CLD_TRAPPED): Likewise.
5325 (CLD_STOPPED): Likewise.
5326 (CLD_CONTINUED): Likewise.
5327 (POLL_IN): Likewise.
5328 (POLL_OUT): Likewise.
5329 (POLL_MSG): Likewise.
5330 (POLL_ERR): Likewise.
5331 (POLL_PRI): Likewise.
5332 (POLL_HUP): Likewise.
5333 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5334 (ILL_ILLOPN): Likewise.
5335 (ILL_ILLADR): Likewise.
5336 (ILL_ILLTRP): Likewise.
5337 (ILL_PRVOPC): Likewise.
5338 (ILL_PRVREG): Likewise.
5339 (ILL_COPROC): Likewise.
5340 (ILL_BADSTK): Likewise.
5341 (FPE_INTDIV): Likewise.
5342 (FPE_INTOVF): Likewise.
5343 (FPE_FLTDIV): Likewise.
5344 (FPE_FLTOVF): Likewise.
5345 (FPE_FLTUND): Likewise.
5346 (FPE_FLTRES): Likewise.
5347 (FPE_FLTINV): Likewise.
5348 (FPE_FLTSUB): Likewise.
5349 (SEGV_MAPERR): Likewise.
5350 (SEGV_ACCERR): Likewise.
5351 (BUS_ADRALN): Likewise.
5352 (BUS_ADRERR): Likewise.
5353 (BUS_OBJERR): Likewise.
5354 (BUS_MCEERR_AR): Likewise.
5355 (BUS_MCEERR_AO): Likewise.
5356 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5357 (TRAP_TRACE): Likewise.
5358 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5360 (CLD_KILLED): Likewise.
5361 (CLD_DUMPED): Likewise.
5362 (CLD_TRAPPED): Likewise.
5363 (CLD_STOPPED): Likewise.
5364 (CLD_CONTINUED): Likewise.
5365 (POLL_IN): Likewise.
5366 (POLL_OUT): Likewise.
5367 (POLL_MSG): Likewise.
5368 (POLL_ERR): Likewise.
5369 (POLL_PRI): Likewise.
5370 (POLL_HUP): Likewise.
5371 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5373 (ILL_ILLOPN): Likewise.
5374 (ILL_ILLADR): Likewise.
5375 (ILL_ILLTRP): Likewise.
5376 (ILL_PRVOPC): Likewise.
5377 (ILL_PRVREG): Likewise.
5378 (ILL_COPROC): Likewise.
5379 (ILL_BADSTK): Likewise.
5380 (ILL_BADIADDR): Likewise.
5381 (ILL_BREAK): Likewise.
5382 (FPE_INTDIV): Likewise.
5383 (FPE_INTOVF): Likewise.
5384 (FPE_FLTDIV): Likewise.
5385 (FPE_FLTOVF): Likewise.
5386 (FPE_FLTUND): Likewise.
5387 (FPE_FLTRES): Likewise.
5388 (FPE_FLTINV): Likewise.
5389 (FPE_FLTSUB): Likewise.
5390 (FPE_DECOVF): Likewise.
5391 (FPE_DECDIV): Likewise.
5392 (FPE_DECERR): Likewise.
5393 (FPE_INVASC): Likewise.
5394 (FPE_INVDEC): Likewise.
5395 (SEGV_MAPERR): Likewise.
5396 (SEGV_ACCERR): Likewise.
5397 (SEGV_PSTKOVF): Likewise.
5398 (BUS_ADRALN): Likewise.
5399 (BUS_ADRERR): Likewise.
5400 (BUS_OBJERR): Likewise.
5401 (BUS_MCEERR_AR): Likewise.
5402 (BUS_MCEERR_AO): Likewise.
5403 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5404 (TRAP_TRACE): Likewise.
5405 (TRAP_BRANCH): Likewise.
5406 (TRAP_HWBKPT): Likewise.
5407 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5409 (CLD_KILLED): Likewise.
5410 (CLD_DUMPED): Likewise.
5411 (CLD_TRAPPED): Likewise.
5412 (CLD_STOPPED): Likewise.
5413 (CLD_CONTINUED): Likewise.
5414 (POLL_IN): Likewise.
5415 (POLL_OUT): Likewise.
5416 (POLL_MSG): Likewise.
5417 (POLL_ERR): Likewise.
5418 (POLL_PRI): Likewise.
5419 (POLL_HUP): Likewise.
5420 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5421 (ILL_ILLOPN): Likewise.
5422 (ILL_ILLADR): Likewise.
5423 (ILL_ILLTRP): Likewise.
5424 (ILL_PRVOPC): Likewise.
5425 (ILL_PRVREG): Likewise.
5426 (ILL_COPROC): Likewise.
5427 (ILL_BADSTK): Likewise.
5428 (FPE_INTDIV): Likewise.
5429 (FPE_INTOVF): Likewise.
5430 (FPE_FLTDIV): Likewise.
5431 (FPE_FLTOVF): Likewise.
5432 (FPE_FLTUND): Likewise.
5433 (FPE_FLTRES): Likewise.
5434 (FPE_FLTINV): Likewise.
5435 (FPE_FLTSUB): Likewise.
5436 (SEGV_MAPERR): Likewise.
5437 (SEGV_ACCERR): Likewise.
5438 (BUS_ADRALN): Likewise.
5439 (BUS_ADRERR): Likewise.
5440 (BUS_OBJERR): Likewise.
5441 (BUS_MCEERR_AR): Likewise.
5442 (BUS_MCEERR_AO): Likewise.
5443 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5444 (TRAP_TRACE): Likewise.
5445 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5447 (CLD_KILLED): Likewise.
5448 (CLD_DUMPED): Likewise.
5449 (CLD_TRAPPED): Likewise.
5450 (CLD_STOPPED): Likewise.
5451 (CLD_CONTINUED): Likewise.
5452 (POLL_IN): Likewise.
5453 (POLL_OUT): Likewise.
5454 (POLL_MSG): Likewise.
5455 (POLL_ERR): Likewise.
5456 (POLL_PRI): Likewise.
5457 (POLL_HUP): Likewise.
5458 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5459 (ILL_ILLOPN): Likewise.
5460 (ILL_ILLADR): Likewise.
5461 (ILL_ILLTRP): Likewise.
5462 (ILL_PRVOPC): Likewise.
5463 (ILL_PRVREG): Likewise.
5464 (ILL_COPROC): Likewise.
5465 (ILL_BADSTK): Likewise.
5466 (FPE_INTDIV): Likewise.
5467 (FPE_INTOVF): Likewise.
5468 (FPE_FLTDIV): Likewise.
5469 (FPE_FLTOVF): Likewise.
5470 (FPE_FLTUND): Likewise.
5471 (FPE_FLTRES): Likewise.
5472 (FPE_FLTINV): Likewise.
5473 (FPE_FLTSUB): Likewise.
5474 (SEGV_MAPERR): Likewise.
5475 (SEGV_ACCERR): Likewise.
5476 (BUS_ADRALN): Likewise.
5477 (BUS_ADRERR): Likewise.
5478 (BUS_OBJERR): Likewise.
5479 (BUS_MCEERR_AR): Likewise.
5480 (BUS_MCEERR_AO): Likewise.
5481 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5482 (TRAP_TRACE): Likewise.
5483 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5485 (CLD_KILLED): Likewise.
5486 (CLD_DUMPED): Likewise.
5487 (CLD_TRAPPED): Likewise.
5488 (CLD_STOPPED): Likewise.
5489 (CLD_CONTINUED): Likewise.
5490 (POLL_IN): Likewise.
5491 (POLL_OUT): Likewise.
5492 (POLL_MSG): Likewise.
5493 (POLL_ERR): Likewise.
5494 (POLL_PRI): Likewise.
5495 (POLL_HUP): Likewise.
5496 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5497 (ILL_ILLOPN): Likewise.
5498 (ILL_ILLADR): Likewise.
5499 (ILL_ILLTRP): Likewise.
5500 (ILL_PRVOPC): Likewise.
5501 (ILL_PRVREG): Likewise.
5502 (ILL_COPROC): Likewise.
5503 (ILL_BADSTK): Likewise.
5504 (FPE_INTDIV): Likewise.
5505 (FPE_INTOVF): Likewise.
5506 (FPE_FLTDIV): Likewise.
5507 (FPE_FLTOVF): Likewise.
5508 (FPE_FLTUND): Likewise.
5509 (FPE_FLTRES): Likewise.
5510 (FPE_FLTINV): Likewise.
5511 (FPE_FLTSUB): Likewise.
5512 (SEGV_MAPERR): Likewise.
5513 (SEGV_ACCERR): Likewise.
5514 (BUS_ADRALN): Likewise.
5515 (BUS_ADRERR): Likewise.
5516 (BUS_OBJERR): Likewise.
5517 (BUS_MCEERR_AR): Likewise.
5518 (BUS_MCEERR_AO): Likewise.
5519 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5520 (TRAP_TRACE): Likewise.
5521 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5523 (CLD_KILLED): Likewise.
5524 (CLD_DUMPED): Likewise.
5525 (CLD_TRAPPED): Likewise.
5526 (CLD_STOPPED): Likewise.
5527 (CLD_CONTINUED): Likewise.
5528 (POLL_IN): Likewise.
5529 (POLL_OUT): Likewise.
5530 (POLL_MSG): Likewise.
5531 (POLL_ERR): Likewise.
5532 (POLL_PRI): Likewise.
5533 (POLL_HUP): Likewise.
5534 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5535 (ILL_ILLOPN): Likewise.
5536 (ILL_ILLADR): Likewise.
5537 (ILL_ILLTRP): Likewise.
5538 (ILL_PRVOPC): Likewise.
5539 (ILL_PRVREG): Likewise.
5540 (ILL_COPROC): Likewise.
5541 (ILL_BADSTK): Likewise.
5542 (ILL_DBLFLT): Likewise.
5543 (ILL_HARDWALL): Likewise.
5544 (FPE_INTDIV): Likewise.
5545 (FPE_INTOVF): Likewise.
5546 (FPE_FLTDIV): Likewise.
5547 (FPE_FLTOVF): Likewise.
5548 (FPE_FLTUND): Likewise.
5549 (FPE_FLTRES): Likewise.
5550 (FPE_FLTINV): Likewise.
5551 (FPE_FLTSUB): Likewise.
5552 (SEGV_MAPERR): Likewise.
5553 (SEGV_ACCERR): Likewise.
5554 (BUS_ADRALN): Likewise.
5555 (BUS_ADRERR): Likewise.
5556 (BUS_OBJERR): Likewise.
5557 (BUS_MCEERR_AR): Likewise.
5558 (BUS_MCEERR_AO): Likewise.
5559 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5560 (TRAP_TRACE): Likewise.
5561 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5563 (CLD_KILLED): Likewise.
5564 (CLD_DUMPED): Likewise.
5565 (CLD_TRAPPED): Likewise.
5566 (CLD_STOPPED): Likewise.
5567 (CLD_CONTINUED): Likewise.
5568 (POLL_IN): Likewise.
5569 (POLL_OUT): Likewise.
5570 (POLL_MSG): Likewise.
5571 (POLL_ERR): Likewise.
5572 (POLL_PRI): Likewise.
5573 (POLL_HUP): Likewise.
5574 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5575 (ILL_ILLOPN): Likewise.
5576 (ILL_ILLADR): Likewise.
5577 (ILL_ILLTRP): Likewise.
5578 (ILL_PRVOPC): Likewise.
5579 (ILL_PRVREG): Likewise.
5580 (ILL_COPROC): Likewise.
5581 (ILL_BADSTK): Likewise.
5582 (FPE_INTDIV): Likewise.
5583 (FPE_INTOVF): Likewise.
5584 (FPE_FLTDIV): Likewise.
5585 (FPE_FLTOVF): Likewise.
5586 (FPE_FLTUND): Likewise.
5587 (FPE_FLTRES): Likewise.
5588 (FPE_FLTINV): Likewise.
5589 (FPE_FLTSUB): Likewise.
5590 (SEGV_MAPERR): Likewise.
5591 (SEGV_ACCERR): Likewise.
5592 (BUS_ADRALN): Likewise.
5593 (BUS_ADRERR): Likewise.
5594 (BUS_OBJERR): Likewise.
5595 (BUS_MCEERR_AR): Likewise.
5596 (BUS_MCEERR_AO): Likewise.
5597 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5598 (TRAP_TRACE): Likewise.
5599 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5601 (CLD_KILLED): Likewise.
5602 (CLD_DUMPED): Likewise.
5603 (CLD_TRAPPED): Likewise.
5604 (CLD_STOPPED): Likewise.
5605 (CLD_CONTINUED): Likewise.
5606 (POLL_IN): Likewise.
5607 (POLL_OUT): Likewise.
5608 (POLL_MSG): Likewise.
5609 (POLL_ERR): Likewise.
5610 (POLL_PRI): Likewise.
5611 (POLL_HUP): Likewise.
5612 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5613 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5616 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5617 before #include of <time.h>.
5618 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5619 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5620 (test-xfail-UNIX98/sched.h/conform): Likewise.
5622 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5624 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5625 error absence of trapping exception support.
5626 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5628 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5630 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5631 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5632 * timezone/Makefile (testdata): Move definition above include of
5634 (test-zones): New variable.
5635 (tests-special): Add zone files.
5636 (build-testdata): Use $(evaluate-test).
5638 * elf/Makefile (tests-special): Rename tests to end with .out.
5639 ($(objpfx)noload-mem): Likewise.
5640 ($(objpfx)tst-leaks1-mem): Likewise.
5641 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5642 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5643 $(objpfx)test-iconvconfig.out.
5644 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5645 set -e inside subshell and redirect output to file.
5646 * iconvdata/Makefile (generated): Rename tests to end with .out.
5648 (tests-special): Rename tests to end with .out.
5649 ($(objpfx)mtrace-tst-loading): Likewise.
5650 * intl/Makefile (generated): Likewise.
5651 (tests-special): Likewise.
5652 ($(objpfx)mtrace-tst-gettext): Likewise.
5653 * misc/Makefile (generated): Likewise.
5654 (tests-special): Likewise.
5655 ($(objpfx)tst-error1-mem): Likewise.
5656 * nptl/Makefile (tests-special): Likewise.
5657 ($(objpfx)tst-stack3-mem): Likewise.
5658 (generated): Likewise.
5659 * posix/Makefile (generated): Likewise.
5660 (tests-special): Likewise.
5661 (xtests-special): Likewise.
5662 ($(objpfx)tst-fnmatch-mem): Likewise.
5663 ($(objpfx)bug-regex2-mem): Likewise.
5664 ($(objpfx)bug-regex14-mem): Likewise.
5665 ($(objpfx)bug-regex21-mem): Likewise.
5666 ($(objpfx)bug-regex31-mem): Likewise.
5667 ($(objpfx)tst-vfork3-mem): Likewise.
5668 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5669 ($(objpfx)tst-pcre-mem): Likewise.
5670 ($(objpfx)tst-boost-mem): Likewise.
5671 ($(objpfx)bug-ga2-mem): Likewise.
5672 ($(objpfx)bug-glob2-mem): Likewise.
5673 * resolv/Makefile (generate): Likewise.
5674 (tests-special): Likewise.
5675 (xtests-special): Likewise.
5676 (generated): Likewise.
5677 ($(objpfx)mtrace-tst-leaks): Likewise.
5678 ($(objpfx)mtrace-tst-leaks2): Likewise.
5680 * scripts/merge-test-results.sh: New file.
5681 * Makefile (tests-special-notdir): New variable.
5682 (tests): Run merge-test-results.sh.
5684 * Rules (tests-special-notdir): New variable.
5685 (xtests-special-notdir): Likewise.
5686 (tests): Run merge-test-results.sh
5689 * Makeconfig (test-xfail-name): New variable.
5690 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5691 compute variable name for expected failures.
5692 * conform/Makefile (conformtest-headers-data): New variable.
5693 (conformtest-standards): Likewise.
5694 (conformtest-headers-ISO): Likewise.
5695 (conformtest-headers-ISO99): Likewise.
5696 (conformtest-headers-ISO11): Likewise.
5697 (conformtest-headers-POSIX): Likewise.
5698 (conformtest-headers-XPG3): Likewise.
5699 (conformtest-headers-XPG4): Likewise.
5700 (conformtest-headers-UNIX98): Likewise.
5701 (conformtest-headers-XOPEN2K): Likewise.
5702 (conformtest-headers-POSIX2008): Likewise.
5703 (conformtest-headers-XOPEN2K8): Likewise.
5704 (conformtest-header-list-base): Likewise.
5705 (conformtest-header-list-tests): Likewise.
5706 (conformtest-header-base): Likewise.
5707 (conformtest-header-tests): Likewise.
5708 (tests-special): Add $(conformtest-header-list-tests). If
5709 [$(fast-check) && !$(cross-compiling)], add
5710 $(conformtest-header-tests) instead of
5711 $(objpfx)run-conformtest.out.
5712 (generated): Add $(conformtest-header-list-base). If
5713 [$(fast-check) && !$(cross-compiling)], add
5714 $(conformtest-header-base). Remove previous setting.
5715 ($(conformtest-header-list-tests)): New target.
5716 (test-xfail-run-conformtest): Remove variable.
5717 ($(objpfx)run-conformtest.out): Remove target.
5718 (test-xfail-ISO11/complex.h/conform): New variable.
5719 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5720 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5721 (test-xfail-XPG3/varargs.h/conform): Likewise.
5722 (test-xfail-XPG4/varargs.h/conform): Likewise.
5723 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5724 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5725 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5726 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5727 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5728 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5729 (test-xfail-XPG3/ftw.h/conform): Likewise.
5730 (test-xfail-XPG3/grp.h/conform): Likewise.
5731 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5732 (test-xfail-XPG3/limits.h/conform): Likewise.
5733 (test-xfail-XPG3/pwd.h/conform): Likewise.
5734 (test-xfail-XPG3/search.h/conform): Likewise.
5735 (test-xfail-XPG3/signal.h/conform): Likewise.
5736 (test-xfail-XPG3/stdio.h/conform): Likewise.
5737 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5738 (test-xfail-XPG3/string.h/conform): Likewise.
5739 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5740 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5741 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5742 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5743 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5744 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5745 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5746 (test-xfail-XPG3/termios.h/conform): Likewise.
5747 (test-xfail-XPG3/time.h/conform): Likewise.
5748 (test-xfail-XPG3/unistd.h/conform): Likewise.
5749 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5750 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5751 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5752 (test-xfail-XPG4/netdb.h/conform): Likewise.
5753 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5754 (test-xfail-XPG4/signal.h/conform): Likewise.
5755 (test-xfail-XPG4/stdio.h/conform): Likewise.
5756 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5757 (test-xfail-XPG4/stropts.h/conform): Likewise.
5758 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5759 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5760 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5761 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5762 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5763 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5764 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5765 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5766 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5767 (test-xfail-XPG4/termios.h/conform): Likewise.
5768 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5769 (test-xfail-XPG4/unistd.h/conform): Likewise.
5770 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5771 (test-xfail-POSIX/sched.h/conform): Likewise.
5772 (test-xfail-POSIX/signal.h/conform): Likewise.
5773 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5774 (test-xfail-POSIX/tar.h/conform): Likewise.
5775 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5776 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5777 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5778 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5779 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5780 (test-xfail-UNIX98/sched.h/conform): Likewise.
5781 (test-xfail-UNIX98/signal.h/conform): Likewise.
5782 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5783 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5784 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5785 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5786 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5787 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5788 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5789 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5790 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5791 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5792 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5793 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5794 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5795 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5796 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5797 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5798 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5799 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5800 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5801 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5802 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5803 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5804 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5805 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5806 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5807 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5808 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5809 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5810 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5811 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5812 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5813 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5814 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5815 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5816 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5817 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5818 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5819 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5820 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5821 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5822 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5823 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5824 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5825 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5826 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5827 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5828 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5829 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5830 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5831 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5832 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5833 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5834 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5835 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5836 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5837 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5838 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5839 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5840 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5841 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5842 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5843 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5844 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5845 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5846 (conformtest-cc-flags): Likewise.
5847 ($(conformtest-header-tests): New target.
5848 * conform/check-header-lists.sh: New file.
5849 * conform/run-conformtest.sh: Remove.
5851 * conform/conformtest.pl: Allow ' and \ in values given for
5853 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5855 [POSIX] (sys/types.h): Likewise.
5856 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5858 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5860 * conform/data/signal.h-data (SIGIO): Remove expectation.
5861 [XPG3] (SIGBUS): Do not expect.
5862 [POSIX || XPG3] (SIGPOLL): Likewise.
5863 [POSIX || XPG3] (SIGPROF): Likewise.
5864 [POSIX || XPG3] (SIGSYS): Likewise.
5865 [XPG3] (SIGTRAP): Likewise.
5866 [POSIX || XPG3] (SIGURG): Likewise.
5867 [POSIX || XPG3] (SIGVTALRM): Likewise.
5868 [POSIX || XPG3] (SIGXCPU): Likewise.
5869 [POSIX || XPG3] (SIGXFSZ): Likewise.
5870 [POSIX] (SA_SIGINFO): Expect.
5871 [XPG3] (siginfo_t): Do not expect type or contents.
5872 [POSIX] (si_pid): Do not expect element.
5873 [POSIX] (si_uid): Likewise.
5874 [POSIX] (si_addr): Likewise.
5875 [POSIX] (si_status): Likewise.
5876 [POSIX] (si_band): Likewise.
5877 [XPG4] (si_value): Likewise.
5878 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5879 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5880 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5881 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5882 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5883 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5884 [POSIX || XPG3] (ILL_COPROC): Likewise.
5885 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5886 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5887 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5888 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5889 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5890 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5891 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5892 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5893 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5894 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5895 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5896 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5897 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5898 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5899 [POSIX || XPG3] (CLD_EXITED): Likewise.
5900 [POSIX || XPG3] (CLD_KILLED): Likewise.
5901 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5902 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5903 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5904 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5905 [POSIX || XPG3] (POLL_IN): Likewise.
5906 [POSIX || XPG3] (POLL_OUT): Likewise.
5907 [POSIX || XPG3] (POLL_MSG): Likewise.
5908 [POSIX || XPG3] (POLL_ERR): Likewise.
5909 [POSIX || XPG3] (POLL_PRI): Likewise.
5910 [POSIX || XPG3] (POLL_HUP): Likewise.
5911 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5912 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5913 (SIG*): Do not allow.
5914 [XPG3] (si_*): Likewise.
5915 [XPG3] (SI_*): Likewise.
5916 [XPG3 || XPG4] (sigev_*): Likewise.
5917 [XPG3 || XPG4] (SIGEV_*): Likewise.
5918 [XPG3 || XPG4] (sival_*): Likewise.
5919 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5920 [POSIX || XPG3] (BUS_*): Likewise.
5921 [POSIX || XPG3] (CLD_*): Likewise.
5922 [POSIX || XPG3] (FPE_*): Likewise.
5923 [POSIX || XPG3] (ILL_*): Likewise.
5924 [POSIX || XPG3] (POLL_*): Likewise.
5925 [POSIX || XPG3] (SEGV_*): Likewise.
5926 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5927 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5928 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5929 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5930 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5931 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5932 Specify type and value.
5933 (TVERSLEN): Likewise.
5934 (REGTYPE): Likewise.
5935 (AREGTYPE): Likewise.
5936 (LNKTYPE): Likewise.
5937 (SYMTYPE): Likewise.
5938 (CHRTYPE): Likewise.
5939 (BLKTYPE): Likewise.
5940 (DIRTYPE): Likewise.
5941 (FIFOTYPE): Likewise.
5942 (CONTTYPE): Likewise.
5947 (TUWRITE): Likewise.
5950 (TGWRITE): Likewise.
5953 (TOWRITE): Likewise.
5955 [POSIX] (TSVTX): Expect constant.
5957 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5959 * Makefile (tests): Change dependencies to ....
5960 (tests-special): ... additions to this variable.
5961 (tests): Depend on $(tests-special).
5962 * Makerules (check-abi-list): New variable.
5963 (check-abi): Depend on $(check-abi-list).
5964 [$(subdir) = elf] (tests-special): Add
5965 $(objpfx)check-abi-libc.out.
5966 [$(build-shared) = yes && subdir] (tests-special): Add
5968 [$(build-shared) = yes && subdir] (tests): Do not depend on
5970 * Rules (tests): Depend on $(tests-special).
5971 (xtests): Depend on $(xtests-special).
5972 * catgets/Makefile (tests): Change dependencies to ....
5973 (tests-special): ... additions to this variable.
5974 * conform/Makefile (tests): Change dependencies to ....
5975 (tests-special): ... additions to this variable.
5976 * elf/Makefile (tests): Change dependencies to ....
5977 (tests-special): ... additions to this variable.
5978 * grp/Makefile (tests): Change dependencies to ....
5979 (tests-special): ... additions to this variable.
5980 * iconv/Makefile (xtests): Change dependencies to ....
5981 (xtests-special): ... additions to this variable.
5982 * iconvdata/Makefile (tests): Change dependencies to ....
5983 (tests-special): ... additions to this variable.
5984 * intl/Makefile (tests): Change dependencies to ....
5985 (tests-special): ... additions to this variable. Also add
5986 $(objpfx)tst-gettext.out.
5987 * io/Makefile (tests): Change dependencies to ....
5988 (tests-special): ... additions to this variable.
5989 * libio/Makefile (tests): Change dependencies to ....
5990 (tests-special): ... additions to this variable.
5991 * malloc/Makefile (tests): Change dependencies to ....
5992 (tests-special): ... additions to this variable.
5993 * misc/Makefile (tests): Change dependencies to ....
5994 (tests-special): ... additions to this variable.
5995 * nptl/Makefile (tests): Change dependencies to ....
5996 (tests-special): ... additions to this variable.
5997 * nptl_db/Makefile (tests): Change dependencies to ....
5998 (tests-special): ... additions to this variable.
5999 * posix/Makefile (tests): Change dependencies to ....
6000 (tests-special): ... additions to this variable.
6001 (xtests): Change dependencies to ....
6002 (xtests-special): ... additions to this variable.
6003 * resolv/Makefile (tests): Change dependencies to ....
6004 (tests-special): ... additions to this variable.
6005 (xtests): Change dependencies to ....
6006 (xtests-special): ... additions to this variable.
6007 * stdio-common/Makefile (tests): Change dependencies to ....
6008 (tests-special): ... additions to this variable.
6009 (do-tst-unbputc): Remove target.
6010 (do-tst-printf): Likewise.
6011 * stdlib/Makefile (tests): Change dependencies to ....
6012 (tests-special): ... additions to this variable.
6013 * string/Makefile (tests): Change dependencies to ....
6014 (tests-special): ... additions to this variable.
6015 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6016 (tests-special): ... additions to this variable.
6018 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6020 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6022 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6023 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6025 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6026 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6027 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6028 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6029 * conform/data/libgen.h-data [XPG3]: Likewise.
6030 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6031 * conform/data/ndbm.h-data [XPG3]: Likewise.
6032 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6033 * conform/data/netdb.h-data [XPG3]: Likewise.
6034 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6035 * conform/data/poll.h-data [XPG3]: Likewise.
6036 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6037 * conform/data/strings.h-data [XPG3]: Likewise.
6038 * conform/data/stropts.h-data [XPG3]: Likewise.
6039 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6040 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6041 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6043 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6044 * conform/data/sys/time.h-data [XPG3]: Likewise.
6045 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6046 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6047 * conform/data/sys/un.h-data [XPG3]: Likewise.
6048 * conform/data/syslog.h-data [XPG3]: Likewise.
6049 * conform/data/ucontext.h-data [XPG3]: Likewise.
6050 * conform/data/utmpx.h-data [XPG3]: Likewise.
6051 * conform/data/varargs.h-data [UNIX98]: Enable file.
6053 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6055 * math/libm-test.inc (struct test_f_f_data): Move expected results
6056 into structure for each rounding mode.
6057 (struct test_ff_f_data): Likewise.
6058 (struct test_ff_f_data_nexttoward): Likewise.
6059 (struct test_fi_f_data): Likewise.
6060 (struct test_fl_f_data): Likewise.
6061 (struct test_if_f_data): Likewise.
6062 (struct test_fff_f_data): Likewise.
6063 (struct test_c_f_data): Likewise.
6064 (struct test_f_f1_data): Likewise.
6065 (struct test_fF_f1_data): Likewise.
6066 (struct test_ffI_f1_data): Likewise.
6067 (struct test_c_c_data): Likewise.
6068 (struct test_cc_c_data): Likewise.
6069 (struct test_f_i_data): Likewise.
6070 (struct test_ff_i_data): Likewise.
6071 (struct test_f_l_data): Likewise.
6072 (struct test_f_L_data): Likewise.
6073 (struct test_fFF_11_data): Likewise.
6075 (RM_FE_DOWNWARD): Likewise.
6076 (RM_FE_TONEAREST): Likewise.
6077 (RM_FE_TOWARDZERO): Likewise.
6078 (RM_FE_UPWARD): Likewise.
6079 (RUN_TEST_LOOP_f_f): Update references to expected results.
6080 (RUN_TEST_LOOP_2_f): Likewise.
6081 (RUN_TEST_LOOP_fff_f): Likewise.
6082 (RUN_TEST_LOOP_c_f): Likewise.
6083 (RUN_TEST_LOOP_f_f1): Likewise.
6084 (RUN_TEST_LOOP_fF_f1): Likewise.
6085 (RUN_TEST_LOOP_fI_f1): Likewise.
6086 (RUN_TEST_LOOP_ffI_f1): Likewise.
6087 (RUN_TEST_LOOP_c_c): Likewise.
6088 (RUN_TEST_LOOP_cc_c): Likewise.
6089 (RUN_TEST_LOOP_f_i): Likewise.
6090 (RUN_TEST_LOOP_f_i_tg): Likewise.
6091 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6092 (RUN_TEST_LOOP_f_b): Likewise.
6093 (RUN_TEST_LOOP_f_b_tg): Likewise.
6094 (RUN_TEST_LOOP_f_l): Likewise.
6095 (RUN_TEST_LOOP_f_L): Likewise.
6096 (RUN_TEST_LOOP_fFF_11): Likewise.
6097 * math/gen-libm-test.pl (parse_args): Output four copies of
6098 expected results for each test.
6100 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6101 (__ASSUME_UTIMES): Remove.
6102 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6103 (__ASSUME_UTIMES): Likewise.
6105 * math/gen-auto-libm-tests.c: Update comment on output format.
6106 (output_for_one_input_case): Generate before-rounding and
6107 after-rounding information as conditions on output flags not
6108 floating-point format.
6109 * math/auto-libm-test-out: Regenerated.
6110 * math/gen-libm-test.pl (cond_value): New function.
6111 (or_cond_value): Use cond_value.
6112 (generate_testfile): Handle conditional exceptions.
6114 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6116 * math/libm-test.inc (max_valid_error): New variable.
6117 (init_max_error): Take new argument specifying whether function
6118 results are exactly determined. Set max_valid_error and bound
6119 other variables for errors based on this argument.
6120 (set_max_error): Do not record results above max_valid_error.
6121 (check_float_internal): Only accept errors of up to 0.5ulps if
6122 also at most max_valid_error.
6123 (START): Take new argument EXACT and pass it to init_max_error.
6124 (acos_test): Update call to START.
6125 (acos_test_tonearest): Likewise.
6126 (acos_test_towardzero): Likewise.
6127 (acos_test_downward): Likewise.
6128 (acos_test_upward): Likewise.
6129 (acosh_test): Likewise.
6130 (asin_test): Likewise.
6131 (asin_test_tonearest): Likewise.
6132 (asin_test_towardzero): Likewise.
6133 (asin_test_downward): Likewise.
6134 (asin_test_upward): Likewise.
6135 (asinh_test): Likewise.
6136 (atan_test): Likewise.
6137 (atanh_test): Likewise.
6138 (atan2_test): Likewise.
6139 (cabs_test): Likewise.
6140 (cacos_test): Likewise.
6141 (cacosh_test): Likewise.
6142 (carg_test): Likewise.
6143 (casin_test): Likewise.
6144 (casinh_test): Likewise.
6145 (catan_test): Likewise.
6146 (catanh_test): Likewise.
6147 (cbrt_test): Likewise.
6148 (ccos_test): Likewise.
6149 (ccosh_test): Likewise.
6150 (ceil_test): Likewise.
6151 (cexp_test): Likewise.
6152 (cimag_test): Likewise.
6153 (clog_test): Likewise.
6154 (clog10_test): Likewise.
6155 (conj_test): Likewise.
6156 (copysign_test): Likewise.
6157 (cos_test): Likewise.
6158 (cos_test_tonearest): Likewise.
6159 (cos_test_towardzero): Likewise.
6160 (cos_test_downward): Likewise.
6161 (cos_test_upward): Likewise.
6162 (cosh_test): Likewise.
6163 (cosh_test_tonearest): Likewise.
6164 (cosh_test_towardzero): Likewise.
6165 (cosh_test_downward): Likewise.
6166 (cosh_test_upward): Likewise.
6167 (cpow_test): Likewise.
6168 (cproj_test): Likewise.
6169 (creal_test): Likewise.
6170 (csin_test): Likewise.
6171 (csinh_test): Likewise.
6172 (csqrt_test): Likewise.
6173 (ctan_test): Likewise.
6174 (ctan_test_tonearest): Likewise.
6175 (ctan_test_towardzero): Likewise.
6176 (ctan_test_downward): Likewise.
6177 (ctan_test_upward): Likewise.
6178 (ctanh_test): Likewise.
6179 (ctanh_test_tonearest): Likewise.
6180 (ctanh_test_towardzero): Likewise.
6181 (ctanh_test_downward): Likewise.
6182 (ctanh_test_upward): Likewise.
6183 (erf_test): Likewise.
6184 (erfc_test): Likewise.
6185 (exp_test): Likewise.
6186 (exp_test_tonearest): Likewise.
6187 (exp_test_towardzero): Likewise.
6188 (exp_test_downward): Likewise.
6189 (exp_test_upward): Likewise.
6190 (exp10_test): Likewise.
6191 (exp10_test_tonearest): Likewise.
6192 (exp10_test_towardzero): Likewise.
6193 (exp10_test_downward): Likewise.
6194 (exp10_test_upward): Likewise.
6195 (pow10_test): Likewise.
6196 (exp2_test): Likewise.
6197 (expm1_test): Likewise.
6198 (expm1_test_tonearest): Likewise.
6199 (expm1_test_towardzero): Likewise.
6200 (expm1_test_downward): Likewise.
6201 (expm1_test_upward): Likewise.
6202 (fabs_test): Likewise.
6203 (fdim_test): Likewise.
6204 (floor_test): Likewise.
6205 (fma_test): Likewise.
6206 (fma_test_towardzero): Likewise.
6207 (fma_test_downward): Likewise.
6208 (fma_test_upward): Likewise.
6209 (fmax_test): Likewise.
6210 (fmin_test): Likewise.
6211 (fmod_test): Likewise.
6212 (fpclassify_test): Likewise.
6213 (frexp_test): Likewise.
6214 (hypot_test): Likewise.
6215 (ilogb_test): Likewise.
6216 (isfinite_test): Likewise.
6217 (finite_test): Likewise.
6218 (isgreater_test): Likewise.
6219 (isgreaterequal_test): Likewise.
6220 (isinf_test): Likewise.
6221 (isless_test): Likewise.
6222 (islessequal_test): Likewise.
6223 (islessgreater_test): Likewise.
6224 (isnan_test): Likewise.
6225 (isnormal_test): Likewise.
6226 (issignaling_test): Likewise.
6227 (isunordered_test): Likewise.
6228 (j0_test): Likewise.
6229 (j1_test): Likewise.
6230 (jn_test): Likewise.
6231 (ldexp_test): Likewise.
6232 (lgamma_test): Likewise.
6233 (gamma_test): Likewise.
6234 (lrint_test): Likewise.
6235 (lrint_test_tonearest): Likewise.
6236 (lrint_test_towardzero): Likewise.
6237 (lrint_test_downward): Likewise.
6238 (lrint_test_upward): Likewise.
6239 (llrint_test): Likewise.
6240 (llrint_test_tonearest): Likewise.
6241 (llrint_test_towardzero): Likewise.
6242 (llrint_test_downward): Likewise.
6243 (llrint_test_upward): Likewise.
6244 (log_test): Likewise.
6245 (log10_test): Likewise.
6246 (log1p_test): Likewise.
6247 (log2_test): Likewise.
6248 (logb_test): Likewise.
6249 (logb_test_downward): Likewise.
6250 (lround_test): Likewise.
6251 (llround_test): Likewise.
6252 (modf_test): Likewise.
6253 (nearbyint_test): Likewise.
6254 (nextafter_test): Likewise.
6255 (nexttoward_test): Likewise.
6256 (pow_test): Likewise.
6257 (pow_test_tonearest): Likewise.
6258 (pow_test_towardzero): Likewise.
6259 (pow_test_downward): Likewise.
6260 (pow_test_upward): Likewise.
6261 (remainder_test): Likewise.
6262 (drem_test): Likewise.
6263 (remainder_test_tonearest): Likewise.
6264 (drem_test_tonearest): Likewise.
6265 (remainder_test_towardzero): Likewise.
6266 (drem_test_towardzero): Likewise.
6267 (remainder_test_downward): Likewise.
6268 (drem_test_downward): Likewise.
6269 (remainder_test_upward): Likewise.
6270 (drem_test_upward): Likewise.
6271 (remquo_test): Likewise.
6272 (rint_test): Likewise.
6273 (rint_test_tonearest): Likewise.
6274 (rint_test_towardzero): Likewise.
6275 (rint_test_downward): Likewise.
6276 (rint_test_upward): Likewise.
6277 (round_test): Likewise.
6278 (scalb_test): Likewise.
6279 (scalbn_test): Likewise.
6280 (scalbln_test): Likewise.
6281 (signbit_test): Likewise.
6282 (sin_test): Likewise.
6283 (sin_test_tonearest): Likewise.
6284 (sin_test_towardzero): Likewise.
6285 (sin_test_downward): Likewise.
6286 (sin_test_upward): Likewise.
6287 (sincos_test): Likewise.
6288 (sinh_test): Likewise.
6289 (sinh_test_tonearest): Likewise.
6290 (sinh_test_towardzero): Likewise.
6291 (sinh_test_downward): Likewise.
6292 (sinh_test_upward): Likewise.
6293 (sqrt_test): Likewise.
6294 (sqrt_test_tonearest): Likewise.
6295 (sqrt_test_towardzero): Likewise.
6296 (sqrt_test_downward): Likewise.
6297 (sqrt_test_upward): Likewise.
6298 (tan_test): Likewise.
6299 (tan_test_tonearest): Likewise.
6300 (tan_test_towardzero): Likewise.
6301 (tan_test_downward): Likewise.
6302 (tan_test_upward): Likewise.
6303 (tanh_test): Likewise.
6304 (tgamma_test): Likewise.
6305 (trunc_test): Likewise.
6306 (y0_test): Likewise.
6307 (y1_test): Likewise.
6308 (yn_test): Likewise.
6309 (significand_test): Likewise.
6311 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6312 individual tests in comment.
6313 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6314 (prev_max_error): New variable.
6315 (prev_real_max_error): Likewise.
6316 (prev_imag_max_error): Likewise.
6317 (compare_ulp_data): Don't refer to test names in comment.
6318 (find_test_ulps): Remove function.
6319 (find_function_ulps): Likewise.
6320 (find_complex_function_ulps): Likewise.
6321 (init_max_error): Take function name as argument. Look up ulps
6323 (print_ulps): Remove function.
6324 (print_max_error): Use prev_max_error instead of calling
6326 (print_complex_max_error): Use prev_real_max_error and
6327 prev_imag_max_error instead of calling find_complex_function_ulps.
6328 (check_float_internal): Take max_ulp parameter instead of calling
6329 find_test_ulps. Don't call print_ulps.
6330 (check_float): Update call to check_float_internal.
6331 (check_complex): Update calls to check_float_internal.
6332 (START): Pass argument to init_max_error.
6333 * math/gen-libm-test.pl (%results): Don't include "kind"
6335 (parse_ulps): Don't handle ulps of individual tests.
6336 (print_ulps_file): Likewise.
6337 (output_ulps): Likewise.
6338 * math/README.libm-test: Update.
6339 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6341 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6342 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6343 * sysdeps/arm/libm-test-ulps: Likewise.
6344 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6345 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6346 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6347 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6348 * sysdeps/microblaze/libm-test-ulps: Likewise.
6349 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6350 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6351 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6352 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6353 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6354 * sysdeps/sh/libm-test-ulps: Likewise.
6355 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6356 * sysdeps/tile/libm-test-ulps: Likewise.
6357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6359 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6361 * math/libm-test.inc (print_complex_max_error): Check separately
6362 whether real and imaginary errors are within allowed range and
6363 pass 0 to print_complex_function_ulps instead of value within
6366 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6368 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6370 (get_handles_fopen): Likewise.
6371 (do_write_test): Likewise.
6373 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6375 * libio/fileops.c (do_ftell): Use cached offset when
6377 * libio/iofwide.c (do_ftell_wide): Likewise.
6378 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6380 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6383 * libio/libioP.h (get_file_offset): New function.
6384 * libio/fileops.c (get_file_offset): Likewise.
6385 (do_ftell): Likewise.
6386 (_IO_new_file_seekoff): Split out ftell logic.
6387 * libio/wfileops.c (do_ftell_wide): Likewise.
6388 (_IO_wfile_seekoff): Split out ftell logic.
6389 * libio/tst-ftell-active-handler.c: New test case.
6390 * libio/Makefile (tests): Add it.
6392 2014-03-03 Roland McGrath <roland@hack.frob.com>
6394 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6395 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6397 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6400 * nscd/connections.c (nscd_init): Call do_exit.
6401 (start_threads): Call do_exit and notify_parent.
6402 (begin_drop_privileges): Call do_exit.
6403 (finish_drop_privileges): Likewise.
6404 * nscd/selinux.c (preserve_capabilities): Likewise.
6405 (install_real_capabilities): Likewise.
6406 (nscd_selinux_enabled): Likewise.
6407 (avc_create_thread): Likewise.
6408 (avc_alloc_lock): Likewise.
6409 (nscd_avc_init): Likewise.
6410 * nscd/nscd.c (parent_fd): New static variable.
6411 (main): Create a pipe between parent and child processes.
6412 Skip closing parent_fd.
6413 (monitor_child): New function.
6414 (do_exit): Likewise.
6415 (notify_parent): Likewise.
6416 * nscd/nscd.h (notify_parent): Likewise.
6417 (do_exit): Likewise.
6419 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6421 * malloc/malloc.c (__libc_calloc): Revert last change.
6423 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6427 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6429 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6433 (__libc_ifunc_impl_list): Likewise.
6434 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6435 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6436 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6437 * string/strrchr.c: Define STRRCHR.
6439 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6441 * benchtest/bench-strtok.c (simple_strtok): Delete.
6442 (strtok_string): Use as benchmark.
6443 * string/strtok (STRTOK): New macro.
6445 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6447 * manual/threads.texi: Add header and standard comments to all
6450 * elf/dl-lookup.c (check_match): New function.
6451 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6452 (do_lookup_x): Remove nested function check_match. Use non-nested
6453 function check_match.
6455 2014-02-28 Roland McGrath <roland@hack.frob.com>
6457 * csu/Makefile (generated, before-compile): Use += rather than =.
6458 * catgets/Makefile (generated, generated-dirs): Likewise.
6459 * debug/Makefile (generated): Likewise.
6460 * dlfcn/Makefile (generated): Likewise.
6461 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6462 * iconvdata/Makefile (before-compile, generated): Likewise.
6463 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6464 * libio/Makefile (generated): Likewise.
6465 * malloc/Makefile (generated): Likewise.
6466 * manual/Makefile (generated, generated-dirs): Likewise.
6467 * misc/Makefile (generated): Likewise.
6468 * posix/Makefile (generated): Likewise.
6469 * resolv/Makefile (generated): Likewise.
6470 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6471 * timezone/Makefile (generated, generated-dirs): Likewise.
6473 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6475 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6477 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6478 power8 implementation.
6479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6480 file: POWER8 llround ifunc implementation.
6481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6482 (__lllround): Add POWER8 implementation.
6483 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6484 POWER8 llround implementation.
6486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6487 power8 implementation.
6488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6489 file: POWER8 llrint ifunc implementation.
6490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6491 Add POWER8 implementation.
6492 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6493 POWER8 llrint implementation.
6495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6496 power8 implementation.
6497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6498 file: POWER8 finite ifunc implementation.
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6500 Add POWER8 implementation.
6501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6503 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6504 POWER8 finite implementation.
6505 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6508 power8 implementation.
6509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6510 file: POWER8 isinf ifunc implementation.
6511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6512 POWER8 implementation.
6513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6515 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6516 isinf implementation.
6517 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6519 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6520 (INIT_ARCH): Add hwcap2 initialization.
6521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6522 power8 implementation.
6523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6524 file: POWER8 isnan ifunc implementation.
6525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6526 POWER8 implementation.
6527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6529 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6530 isnan implementation.
6531 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6533 2014-02-27 Joey Ye <joey.ye@arm.com>
6535 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6536 (_FP_NANFRAC_Q): Set to zero.
6538 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6541 * math/auto-libm-test-in: New test inputs.
6542 * math/auto-libm-test-out: Regenerate.
6543 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6546 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6548 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6550 * scripts/evaluate-test.sh: Take new argument indicating whether
6551 failure is expected.
6552 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6553 indicating whether failure is expected.
6554 * conform/Makefile (test-xfail-run-conformtest): New variable.
6555 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6557 * posix/Makefile (test-xfail-annexc): New variable.
6558 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6560 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6562 * argp/Makefile: Include Makeconfig immediately after defining
6564 * assert/Makefile: Likewise.
6565 * benchtests/Makefile: Likewise.
6566 * catgets/Makefile: Likewise.
6567 * conform/Makefile: Likewise.
6568 * crypt/Makefile: Likewise.
6569 * csu/Makefile: Likewise.
6570 (all): Remove target.
6571 * ctype/Makefile: Include Makeconfig immediately after defining
6573 * debug/Makefile: Likewise.
6574 * dirent/Makefile: Likewise.
6575 * dlfcn/Makefile: Likewise.
6576 * gmon/Makefile: Likewise.
6577 * gnulib/Makefile: Likewise.
6578 * grp/Makefile: Likewise.
6579 * gshadow/Makefile: Likewise.
6580 * hesiod/Makefile: Likewise.
6581 * hurd/Makefile: Likewise.
6582 (all): Remove target.
6583 * iconvdata/Makefile: Include Makeconfig immediately after
6585 * inet/Makefile: Likewise.
6586 * intl/Makefile: Likewise.
6587 * io/Makefile: Likewise.
6588 * libio/Makefile: Likewise.
6589 (all): Remove target.
6590 * locale/Makefile: Include Makeconfig immediately after defining
6592 * login/Makefile: Likewise.
6593 * mach/Makefile: Likewise.
6594 (all): Remove target.
6595 * malloc/Makefile: Include Makeconfig immediately after defining
6597 (all): Remove target.
6598 * manual/Makefile: Include Makeconfig immediately after defining
6600 * math/Makefile: Likewise.
6601 * misc/Makefile: Likewise.
6602 * nis/Makefile: Likewise.
6603 * nss/Makefile: Likewise.
6604 * po/Makefile: Likewise.
6605 (all): Remove target.
6606 * posix/Makefile: Include Makeconfig immediately after defining
6608 * pwd/Makefile: Likewise.
6609 * resolv/Makefile: Likewise.
6610 * resource/Makefile: Likewise.
6611 * rt/Makefile: Likewise.
6612 * setjmp/Makefile: Likewise.
6613 * shadow/Makefile: Likewise.
6614 * signal/Makefile: Likewise.
6615 * socket/Makefile: Likewise.
6616 * soft-fp/Makefile: Likewise.
6617 * stdio-common/Makefile: Likewise.
6618 * stdlib/Makefile: Likewise.
6619 * streams/Makefile: Likewise.
6620 * string/Makefile: Likewise.
6621 * sunrpc/Makefile: Likewise.
6622 (all): Remove target.
6623 * sysvipc/Makefile: Include Makeconfig immediately after defining
6625 * termios/Makefile: Likewise.
6626 * time/Makefile: Likewise.
6627 * timezone/Makefile: Likewise.
6628 (all): Remove target.
6629 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6631 * wctype/Makefile: Likewise.
6633 2014-02-26 Steve Ellcey <sellcey@mips.com>
6635 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6636 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6637 (libc_feholdexcept_setround_mips): Ditto.
6638 (libc_feholdsetround): New.
6639 (libc_feholdsetroundf): New.
6640 (libc_feholdsetroundl): New.
6641 (libc_feupdateenv_test_mips): New.
6642 (libc_feupdateenv_test): New.
6643 (libc_feupdateenv_testf): New.
6644 (libc_feupdateenv_testl): New.
6645 (libc_feresetround): New.
6646 (libc_feresetroundf): New.
6647 (libc_feresetroundl): New.
6648 (libc_fetestexcept_mips): New.
6649 (libc_fetestexcept): New.
6650 (libc_fetestexceptf): New.
6651 (libc_fetestexceptl): New.
6653 (libc_feholdexcept_setround_mips_ctx): New.
6654 (libc_feholdexcept_setround_ctx): New.
6655 (libc_feholdexcept_setroundf_ctx): New.
6656 (libc_feholdexcept_setroundl_ctx): New.
6657 (libc_fesetenv_mips_ctx): New.
6658 (libc_fesetenv_ctx): New.
6659 (libc_fesetenv_ctxf): New.
6660 (libc_fesetenv_ctxl): New.
6661 (libc_feupdateenv_mips_ctx): New.
6662 (libc_feupdateenv_ctx): New.
6663 (libc_feupdateenvf_ctx): New.
6664 (libc_feupdateenvl_ctx): New.
6665 (libc_feholdsetround_mips_ctx): New.
6666 (libc_feholdsetround_ctx): New.
6667 (libc_feholdsetroundf_ctx): New.
6668 (libc_feholdsetroundl_ctx): New.
6669 (libc_feresetround_mips_ctx): New.
6670 (libc_feresetround_ctx): New.
6671 (libc_feresetroundf_ctx): New.
6672 (libc_feresetroundl_ctx): New.
6674 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6676 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6678 * manual/ipc.texi: New file.
6679 * manual/Makefile (chapters): Add ipc.
6680 * manual/job.texi: Add "Inter-Process Communication" to next.
6681 * manual/process.texi: Add "Inter-Process Communication" to prev.
6683 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6687 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6689 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6691 * manual/arith.texi: Fix spaces after sentences.
6692 * manual/charset.texi: Likewise.
6693 * manual/errno.texi: Likewise.
6694 * manual/install.texi: Likewise.
6695 * manual/llio.texi: Likewise.
6696 * manual/locale.texi: Likewise.
6697 * manual/maint.texi: Likewise.
6698 * manual/math.texi: Likewise.
6699 * manual/memory.texi: Likewise.
6700 * manual/message.texi: Likewise.
6701 * manual/probes.texi: Likewise.
6702 * manual/resource.texi: Likewise.
6703 * manual/signal.texi: Likewise.
6704 * manual/socket.texi: Likewise.
6705 * manual/stdio.texi: Likewise.
6706 * manual/string.texi: Likewise.
6707 * manual/time.texi: Likewise.
6708 * manual/users.texi: Likewise.
6710 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6713 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6714 _DEFAULT_SOURCE is defined.
6716 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6717 Carlos O'Donell <carlos@redhat.com>
6720 * elf/dl-tls.c (_dl_count_modids): New function.
6721 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6722 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6723 audit library and increment generation counter.
6724 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6725 * elf/tst-audit9.c: New file.
6726 * elf/tst-auditmod9a.c: New file.
6727 * elf/tst-auditmod9b.c: New file.
6728 * elf/Makefile: Add rules to build and run tst-audit9.
6730 2014-02-25 Florian Weimer <fweimer@redhat.com>
6733 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6735 2014-02-25 Will Newton <will.newton@linaro.org>
6737 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6738 (__longjmp): Restore sp and lr before restoring callee
6739 saved registers. Add longjmp and longjmp_target
6740 SystemTap probe point.
6741 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6742 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6743 Define to zero to match jmpbuf layout.
6744 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6745 (__sigsetjmp): Save sp and lr before saving callee
6746 saved registers. Add setjmp SystemTap probe point.
6748 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6750 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6752 2014-02-24 Andreas Schwab <schwab@suse.de>
6755 * elf/pldd.c (wait_for_ptrace_stop): New function.
6756 (main): Call it after attaching.
6758 2014-02-22 Roland McGrath <roland@hack.frob.com>
6760 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6761 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6762 Versions files is now verboten.
6763 * hurd/Versions (libc: GLIBC_2.0):
6764 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6765 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6766 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6767 * mach/Versions: Likewise.
6769 * csu/Versions: Remove unused %include.
6770 * resolv/Versions: Likewise.
6772 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6774 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6775 ($(objpfx)check-local-headers.out): Likewise.
6776 ($(objpfx)begin-end-check.out): Likewise.
6777 * Makerules (check-abi-%.out): Likewise.
6778 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6779 ($(objpfx)test2.cat): Likewise.
6780 ($(objpfx)de/libc.cat): Likewise.
6781 ($(objpfx)test-gencat.out): Likewise.
6782 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6783 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6784 ($(objpfx)noload-mem): Likewise.
6785 ($(objpfx)tst-pathopt.out): Likewise.
6786 ($(objpfx)tst-rtld-load-self.out): Likewise.
6787 ($(objpfx)tst-array1-cmp.out): Likewise.
6788 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6789 ($(objpfx)tst-array2-cmp.out): Likewise.
6790 ($(objpfx)tst-array3-cmp.out): Likewise.
6791 ($(objpfx)tst-array4-cmp.out): Likewise.
6792 ($(objpfx)tst-array5-cmp.out): Likewise.
6793 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6794 ($(objpfx)check-textrel.out): Likewise.
6795 ($(objpfx)check-execstack.out): Likewise.
6796 ($(objpfx)check-localplt.out): Likewise.
6797 ($(objpfx)order2-cmp.out): Likewise.
6798 ($(objpfx)tst-leaks1-mem): Likewise.
6799 ($(objpfx)tst-leaks1-static-mem): Likewise.
6800 ($(objpfx)tst-initorder-cmp.out): Likewise.
6801 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6802 ($(objpfx)tst-unused-dep.out): Likewise.
6803 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6804 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6805 * iconv/Makefile (test-iconvconfig): Likewise.
6806 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6807 ($(objpfx)iconv-test.out): Likewise.
6808 ($(objpfx)tst-tables.out): Likewise.
6809 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6810 ($(objpfx)tst-gettext.out): Likewise.
6811 ($(objpfx)tst-translit.out): Likewise.
6812 ($(objpfx)tst-gettext2.out): Likewise.
6813 ($(objpfx)tst-gettext4.out): Likewise.
6814 ($(objpfx)tst-gettext6.out): Likewise.
6815 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6816 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6817 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6818 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6819 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6820 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6821 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6822 ($(objpfx)wordexp-tst.out): Likewise.
6823 ($(objpfx)annexc.out): Likewise.
6824 ($(objpfx)tst-fnmatch-mem): Likewise.
6825 ($(objpfx)bug-regex2-mem): Likewise.
6826 ($(objpfx)bug-regex14-mem): Likewise.
6827 ($(objpfx)bug-regex21-mem): Likewise.
6828 ($(objpfx)bug-regex31-mem): Likewise.
6829 ($(objpfx)tst-vfork3-mem): Likewise.
6830 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6831 ($(objpfx)tst-pcre-mem): Likewise.
6832 ($(objpfx)tst-boost-mem): Likewise.
6833 ($(objpfx)tst-getconf.out): Likewise.
6834 ($(objpfx)bug-ga2-mem): Likewise.
6835 ($(objpfx)bug-glob2-mem): Likewise.
6836 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6837 ($(objpfx)mtrace-tst-leaks2): Likewise.
6838 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6839 ($(objpfx)tst-printf.out): Likewise.
6840 ($(objpfx)tst-setvbuf1.out): Likewise.
6841 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6842 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6843 ($(objpfx)tst-fmtmsg.out): Likewise.
6844 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6845 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6847 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6848 * bits/sigaction.h [__USE_MISC]: Likewise.
6849 * bits/waitstatus.h: Update #endif comments.
6850 * ctype/ctype.h: Likewise.
6851 * dirent/dirent.h: Likewise.
6852 [__USE_MISC]: Remove redundant conditionals.
6853 * grp/grp.h: Update #endif comments.
6854 [__USE_GNU]: Remove redundant conditionals.
6855 [__USE_MISC]: Likewise.
6856 * inet/netinet/in.h [__USE_GNU]: Likewise.
6857 * io/sys/stat.h [__USE_MISC]: Likewise.
6858 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6859 * libio/bits/stdio.h: Update #endif comments.
6860 [__USE_MISC]: Remove redundant conditionals.
6861 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6862 * libio/stdio.h: Update #endif comments.
6863 [__USE_MISC]: Remove redundant conditionals.
6864 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6865 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6866 * math/math.h: Update #else and #endif comments.
6867 [__USE_MISC]: Remove redundant conditionals.
6868 * misc/sys/uio.h: Update #endif comments.
6869 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6870 * posix/glob.h [__USE_MISC]: Likewise.
6871 * posix/sys/types.h: Update #endif comments.
6872 [__USE_MISC]: Remove redundant conditionals.
6873 * posix/sys/wait.h: Update #endif comments.
6874 [__USE_MISC]: Remove redundant conditionals.
6875 * posix/unistd.h: Update #endif comments.
6876 [__USE_MISC]: Remove redundant conditionals.
6877 * pwd/pwd.h [__USE_GNU]: Likewise.
6878 [__USE_MISC]: Likewise.
6879 * resolv/netdb.h [__USE_GNU]: Likewise.
6880 * signal/signal.h: Update #endif comments.
6881 [__USE_MISC]: Remove redundant conditionals.
6882 * stdlib/stdlib.h: Update #else and #endif comments.
6883 [__USE_MISC]: Remove redundant conditionals.
6884 [__USE_GNU]: Likewise.
6885 * string/bits/string2.h [__USE_MISC]: Likewise.
6886 * string/string.h: Update #endif comments.
6887 [__USE_MISC]: Remove redundant conditionals.
6888 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6890 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6891 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6892 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6894 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6896 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6898 [__USE_MISC]: Remove redundant conditionals.
6899 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6900 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6901 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6902 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6903 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6905 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6906 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6908 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6909 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6911 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6913 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6914 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6916 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6918 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6919 * sysdeps/x86/bits/string.h: Update #endif comments.
6920 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6922 * time/sys/time.h: Update #endif comments.
6923 * time/time.h: Likewise.
6924 [__USE_MISC]: Remove redundant conditionals.
6926 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6929 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6931 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6933 * Versions.def (librt): Add GLIBC_2.17.
6935 2014-02-21 Adam Conrad <adconrad@0c3.net>
6937 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6938 synonym for _SYS_AUXV_H to allow direct inclusion.
6939 * sysdeps/sparc/bits/hwcap.h: Likewise.
6940 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6941 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6942 * sysdeps/sparc/sysdep.h: Likewise.
6944 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6946 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6948 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6950 * benchtests/bench-strrchr.c: Print length instead of position.
6952 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6955 * sysdeps/unix/sysv/linux/kernel-features.h
6956 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6957 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6958 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6959 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6961 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6962 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6963 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6964 (__ASSUME_SENDMMSG): Define instead of using previous
6965 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6966 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6967 (__ASSUME_SENDMMSG_SYSCALL): Define.
6968 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6969 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6971 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6972 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6974 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6975 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6977 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6978 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6979 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6980 [__ASSUME_SENDMMSG]: Change conditionals to
6981 [__ASSUME_SENDMMSG_SOCKETCALL].
6982 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6983 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6985 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6986 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6988 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6989 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6990 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6991 [!__ASSUME_SENDMMSG]: Change conditional to
6992 [!__ASSUME_SENDMMSG_SOCKETCALL].
6993 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6994 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6998 * sysdeps/unix/sysv/linux/kernel-features.h
6999 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7000 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7001 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7002 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7003 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7004 [__i386__ || __sparc__]
7005 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7006 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7007 (__ASSUME_RECVMMSG): Define instead of using previous
7008 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7009 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7010 (__ASSUME_RECVMMSG_SYSCALL): Define.
7011 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7012 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7014 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7015 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7017 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7018 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7020 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__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/microblaze/kernel-features.h
7026 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7028 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7029 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7030 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7032 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7033 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7034 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7035 [!__ASSUME_RECVMMSG]: Change condition to
7036 [!__ASSUME_RECVMMSG_SOCKETCALL].
7037 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7038 (__ASSUME_RECVMMSG_SYSCALL): Define.
7041 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7042 __powerpc__ || __s390__ || __sh__ || __sparc__]
7043 (__ASSUME_SOCKETCALL): Define.
7044 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7045 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7046 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7047 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7048 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7049 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7050 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7051 (__ASSUME_ACCEPT4): Define instead of using previous
7052 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7053 __powerpc__ || __sparc__ || __s390__)] condition.
7054 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7055 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7056 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7057 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7058 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7059 [!__ASSUME_ACCEPT4]: Change condition to
7060 [!__ASSUME_ACCEPT4_SOCKETCALL].
7061 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7062 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7063 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7064 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7065 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7066 __ASSUME_ACCEPT4_SYSCALL.
7067 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7068 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7069 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7070 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7071 __ASSUME_ACCEPT4_SYSCALL.
7072 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7073 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7074 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7075 [__ASSUME_ACCEPT4]: Change condition to
7076 [__ASSUME_ACCEPT4_SOCKETCALL].
7077 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7078 (__ASSUME_SOCKETCALL): Define.
7079 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7080 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7081 (__ASSUME_SOCKETCALL): Define.
7082 (__ASSUME_ACCEPT4): Remove.
7083 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7085 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7086 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7088 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7089 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7091 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7093 (HWCAP_ARM_LPAE): Likewise.
7094 (HWCAP_ARM_EVTSTRM): Likewise.
7095 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7096 Add vpfd32, lpae and evtstrm.
7097 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7100 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7102 * math/auto-libm-test-in: Add tests of clog10.
7103 * math/auto-libm-test-out: Regenerated.
7104 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7105 * sysdeps/i386/fpu/libm-test-ulps: Update.
7106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7108 2014-02-18 Andreas Schwab <schwab@suse.de>
7111 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7112 Store non-zero if the second buffer was newly allocated.
7113 (send_dg): Likewise.
7114 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7115 to send_vc and send_dg.
7116 (res_nsend): Pass NULL for ansp2_malloced.
7117 * resolv/res_query.c (__libc_res_nquery): Add parameter
7118 answerp2_malloced and pass it down to __libc_res_nsend.
7119 (res_nquery): Pass additional NULL to __libc_res_nquery.
7120 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7121 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7122 second answer buffer if answerp2_malloced was set.
7123 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7124 (__libc_res_nquerydomain): Add parameter
7125 answerp2_malloced and pass it down to __libc_res_nquery.
7126 (res_nquerydomain): Pass additional NULL to
7127 __libc_res_nquerydomain.
7128 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7129 additional NULL to __libc_res_nsend and __libc_res_nquery.
7130 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7131 additional NULL to __libc_res_nsearch.
7132 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7133 parameter of __libc_res_nsearch to check for separately allocated
7135 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7137 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7138 additional NULL to __libc_res_nquery.
7139 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7141 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7142 * include/resolv.h: Update prototypes of __libc_res_nquery,
7143 __libc_res_nsearch, __libc_res_nsend.
7145 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7147 * math/auto-libm-test-in: Add tests of fma.
7148 * math/auto-libm-test-out: Regenerated.
7149 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7150 (fma_towardzero_test_data): Likewise.
7151 (fma_downward_test_data): Likewise.
7152 (fma_upward_test_data): Likewise.
7153 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7155 (rounding_modes): Add values for new field.
7156 (func_calc_method): Add value mpfr_fff_f.
7157 (func_calc_desc): Add mpfr_fff_f union field.
7158 (test_function): Add field exact_args.
7159 (FUNC): Add macro argument EXACT_ARGS.
7160 (FUNC_mpfr_f_f): Update call to FUNC.
7161 (FUNC_mpfr_f_f): Likewise.
7162 (FUNC_mpfr_ff_f): Likewise.
7163 (FUNC_mpfr_if_f): Likewise.
7164 (FUNC_mpc_c_f): Likewise.
7165 (FUNC_mpc_c_c): Likewise.
7166 (test_functions): Add fma. Update calls to FUNC.
7167 (handle_input_arg): Add argument exact_args.
7168 (add_test): Update call to handle_input_arg.
7169 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7170 (output_for_one_input_case): Update call to calc_generic_results.
7171 Recalculate exact zero results in each rounding mode.
7173 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7174 non-negative before setting low bit.
7175 * math/auto-libm-test-in: Mark one asin test possibly having
7177 * math/auto-libm-test-out: Regenerated.
7178 * sysdeps/i386/fpu/libm-test-ulps: Update.
7179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7181 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7183 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7184 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7185 ports/sysdeps/unix/sysv/linux/microblaze.
7186 * README: Add missing listing for microblaze*-*-linux-gnu.
7188 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7190 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7191 * sysdeps/unix/sysv/linux/ia64: Move directory from
7192 ports/sysdeps/unix/sysv/linux/ia64.
7193 * README: Update listing for ia64-*-linux-gnu.
7195 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7196 Joseph Myers <joseph@codesourcery.com>
7198 * Makeconfig (test-name): New variable.
7199 (evaluate-test): Likewise.
7200 * Makerules (do-test-clean): Remove .test-result files.
7201 (common-mostlyclean): Likewise.
7202 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7203 * scripts/evaluate-test.sh: New file.
7205 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7207 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7208 separate $(objpfx)tst-fopenloc-cmp.out and
7209 $(objpfx)tst-fopenloc-mem.out targets.
7210 (tests): Update dependencies.
7211 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7212 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7213 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7214 (tst-rxspencer-no-utf8-ARGS): New variable.
7215 (tst-rxspencer-no-utf8-ENV): Likewise.
7216 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7217 instead of $(objpfx)tst-rxspencer-mem.
7218 ($(objpfx)tst-rxspencer-mem): Change target to
7219 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7220 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7221 * posix/tst-rxspencer-no-utf8.c: New file.
7223 * elf/Makefile ($(objpfx)order.out): Remove rule.
7224 [$(run-built-tests) = yes] (tests): Depend on
7225 $(objpfx)order-cmp.out.
7226 ($(objpfx)order-cmp.out): New rule.
7227 [$(run-built-tests) = yes] (tests): Depend on
7228 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7229 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7230 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7231 $(objpfx)tst-array5-static-cmp.out.
7232 ($(objpfx)tst-array1.out): Remove rule.
7233 ($(objpfx)tst-array1-cmp.out): New rule.
7234 ($(objpfx)tst-array1-static.out): Remove rule.
7235 ($(objpfx)tst-array1-static-cmp.out): New rule.
7236 ($(objpfx)tst-array2.out): Remove rule.
7237 ($(objpfx)tst-array2-cmp.out): New rule.
7238 ($(objpfx)tst-array3.out): Remove rule.
7239 ($(objpfx)tst-array3-cmp.out): New rule.
7240 ($(objpfx)tst-array4.out): Remove rule.
7241 ($(objpfx)tst-array4-cmp.out): New rule.
7242 ($(objpfx)tst-array5.out): Remove rule.
7243 ($(objpfx)tst-array5-cmp.out): New rule.
7244 ($(objpfx)tst-array5-static.out): Remove rule.
7245 ($(objpfx)tst-array5-static-cmp.out): New rule.
7246 [$(run-built-tests) = yes] (tests): Depend on
7247 $(objpfx)order2-cmp.out.
7248 ($(objpfx)order2.out): Remove rule.
7249 ($(objpfx)order2-cmp.out): New rule.
7250 ($(objpfx)tst-initorder.out): Remove rule.
7251 [$(run-built-tests) = yes] (tests): Depend on
7252 $(objpfx)tst-initorder-cmp.out.
7253 ($(objpfx)tst-initorder-cmp.out): New rule.
7254 ($(objpfx)tst-initorder2.out): Remove rule.
7255 [$(run-built-tests) = yes] (tests): Depend on
7256 $(objpfx)tst-initorder2-cmp.out.
7257 ($(objpfx)tst-initorder2-cmp.out): New rule.
7258 [$(run-built-tests) = yes] (tests): Depend on
7259 $(objpfx)tst-unused-dep-cmp.out.
7260 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7261 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7262 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7263 on $(objpfx)tst-setvbuf1-cmp.out.
7264 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7265 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7266 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7267 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7268 ($(objpfx)tst-svc.out): Remove rule.
7269 ($(objpfx)tst-svc-cmp.out): New rule.
7271 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7273 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7274 * ctype/ctype.h [__USE_MISC]: Likewise.
7275 * dirent/dirent.h [__USE_MISC]: Likewise.
7276 * grp/grp.h [__USE_MISC]: Likewise.
7277 * io/fcntl.h [__USE_MISC]: Likewise.
7278 * io/sys/stat.h [__USE_MISC]: Likewise.
7279 * libio/stdio.h [__USE_MISC]: Likewise.
7280 * posix/unistd.h [__USE_MISC]: Likewise.
7281 * pwd/pwd.h [__USE_MISC]: Likewise.
7282 * stdlib.h [__USE_MISC]: Likewise.
7283 * string/bits/string2.h [__USE_MISC]: Likewise.
7284 * string/string.h [__USE_MISC]: Likewise.
7285 * time/time.h [__USE_MISC]: Likewise.
7287 2014-02-13 Andreas Schwab <schwab@suse.de>
7290 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7291 second answer buffer if it was separately allocated.
7293 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7295 * sysdeps/mips/math-tests.h: Include <features.h>.
7296 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7297 (ROUNDING_TESTS_long_double): Do not define.
7298 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7299 (EXCEPTION_TESTS_long_double): Likewise.
7300 * sysdeps/mips/mips64/libm-test-ulps: Update.
7302 * include/features.h (__USE_BSD): Remove macro definitions.
7303 (__USE_SVID): Likewise.
7304 (_BSD_SOURCE): Likewise.
7305 (_SVID_SOURCE): Likewise.
7306 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7307 from definition of _DEFAULT_SOURCE.
7308 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7310 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7311 * bits/mman.h [__USE_BSD]: Likewise.
7312 * bits/termios.h [__USE_BSD]: Likewise.
7313 * bits/waitstatus.h [__USE_BSD]: Likewise.
7314 * ctype/ctype.h [__USE_SVID]: Likewise.
7315 * dirent/dirent.h [__USE_BSD]: Likewise.
7316 * grp/grp.h [__USE_SVID]: Likewise.
7317 [__USE_BSD]: Likewise.
7318 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7319 * io/fcntl.h [__USE_BSD]: Likewise.
7320 * io/ftw.h [__USE_BSD]: Likewise.
7321 * io/sys/stat.h [__USE_BSD]: Likewise.
7322 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7323 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7324 * libio/stdio.h [__USE_SVID]: Likewise.
7325 [__USE_BSD]: Likewise.
7326 * math/math.h [__USE_SVID]: Likewise.
7327 [__USE_BSD]: Likewise.
7328 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7329 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7330 * misc/search.h [__USE_SVID]: Likewise.
7331 * misc/sys/mman.h [__USE_BSD]: Likewise.
7332 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7333 * misc/sys/uio.h [__USE_BSD]: Likewise.
7334 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7335 * posix/glob.h [__USE_BSD]: Likewise.
7336 * posix/regex.h [__USE_BSD]: Likewise.
7337 * posix/sys/types.h [__USE_BSD]: Likewise.
7338 [__USE_SVID]: Likewise.
7339 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7340 * posix/sys/wait.h [__USE_BSD]: Likewise.
7341 [__USE_SVID]: Likewise.
7342 * posix/unistd.h [__USE_BSD]: Likewise.
7343 [__USE_SVID]: Likewise.
7344 * pwd/pwd.h [__USE_SVID]: Likewise.
7345 * resolv/netdb.h [__USE_BSD]: Likewise.
7346 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7347 * signal/signal.h [__USE_BSD]: Likewise.
7348 [__USE_SVID]: Likewise.
7349 * socket/sys/socket.h [__USE_BSD]: Likewise.
7350 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7351 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7352 [__USE_SVID]: Likewise.
7353 * string/bits/string2.h [__USE_BSD]: Likewise.
7354 [__USE_SVID]: Likewise.
7355 * string/bits/string3.h [__USE_BSD]: Likewise.
7356 * string/endian.h [__USE_BSD]: Likewise.
7357 * string/string.h [__USE_SVID]: Likewise.
7358 [__USE_BSD]: Likewise.
7359 * string/strings.h [__USE_BSD]: Likewise.
7360 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7361 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7362 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7363 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7364 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7365 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7369 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7370 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7372 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7373 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7375 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7377 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7378 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7379 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7381 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7383 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7384 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7385 * termios/termios.h [__USE_BSD]: Likewise.
7386 * time/sys/time.h [__USE_BSD]: Likewise.
7387 * time/time.h [__USE_BSD]: Likewise.
7388 [__USE_SVID]: Likewise.
7390 * Makefile (subdir_targets): Remove subdir_lint.out.
7392 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7393 (do-tst-printf): Likewise.
7394 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7395 $(objpfx)tst-printf.out.
7397 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7399 * Makerules (check-abi-%): Change target to
7400 $(objpfx)check-abi-%.out.
7401 (check-abi target): Update dependencies.
7402 (check-abi-pattern variable): Redirect output of diff to $@.
7403 (check-abi variable): Likewise.
7404 * elf/Makefile (check-abi): Update dependencies.
7406 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7408 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7409 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7411 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7412 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7413 value has largest subnormal exponent.
7414 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7415 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7416 * sysdeps/aarch64/soft-fp/sfp-machine.h
7417 (_FP_TININESS_AFTER_ROUNDING): New macro.
7418 * sysdeps/alpha/soft-fp/sfp-machine.h
7419 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7420 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7422 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7423 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7424 * sysdeps/mips/soft-fp/sfp-machine.h
7425 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7426 * sysdeps/powerpc/soft-fp/sfp-machine.h
7427 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7428 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7430 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7431 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7432 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7433 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7434 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7437 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7440 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7443 2014-02-12 Richard Henderson <rth@redhat.com>
7445 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7446 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7447 * sysdeps/unix/sysv/linux/alpha: Move directory from
7448 ports/sysdeps/unix/sysv/linux/alpha.
7449 * README: Update listing for alpha-*-linux-gnu.
7451 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7453 * include/features.h: Update comment documenting feature test
7455 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7457 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7458 (_SVID_SOURCE): Likewise.
7459 (_DEFAULT_SOURCE): Update description of default features.
7460 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7462 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7463 (S_ISVTX): Likewise.
7464 * manual/math.texi (Mathematical Constants): Likewise.
7465 * manual/signal.texi (Interrupted Primitives): Likewise.
7466 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7467 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7468 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7469 Don't refer to _SVID_SOURCE in warning text.
7471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7473 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7475 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7476 * sysdeps/mips/dl-lookup.c: Remove.
7477 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7479 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7482 * math/auto-libm-test-in: Add testcase for expl.
7483 * math/auto-libm-test-out: Regenerate.
7484 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7485 calculation of unsafe.
7486 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7488 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7490 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7491 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7492 ports/sysdeps/unix/sysv/linux/aarch64.
7493 * README: Update listing for aarch64*-*-linux-gnu.
7495 2014-02-11 Will Newton <will.newton@linaro.org>
7497 * manual/probes.texi (Mathematical Function Probes): Use
7498 "triggered" instead of "hit".
7500 * manual/probes.texi (Internal Probes): Add documentation
7501 of setjmp, longjmp and longjmp_target probes.
7503 * include/stap-probe.h: Add comment about probe argument
7506 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7507 definition. (tr_where, tr_freehook, tr_mallochook,
7508 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7510 2014-02-11 David S. Miller <davem@davemloft.net>
7512 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7513 processing int_tests.
7515 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7517 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7518 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7519 * sysdeps/unix/sysv/linux/mips: Move directory from
7520 ports/sysdeps/unix/sysv/linux/mips.
7521 * README: Update listing for mips-*-linux-gnu and
7524 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7526 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7527 * sysdeps/unix/sysv/linux/m68k: Move directory from
7528 ports/sysdeps/unix/sysv/linux/m68k.
7529 * README: Update listing for m68k-*-linux-gnu.
7531 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7533 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7534 * sysdeps/unix/sysv/linux/generic: Move directory from
7535 ports/sysdeps/unix/sysv/linux/generic.
7536 * sysdeps/unix/sysv/linux/tile: Move directory from
7537 ports/sysdeps/unix/sysv/linux/tile.
7538 * README: Update listing for tile*-*-linux-gnu.
7540 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7542 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7544 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7545 * catgets/open_catalog.c (__open_catalog): Likewise.
7546 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7547 * debug/confstr_chk.c: Likewise.
7548 * debug/fread_chk.c (__fread_chk): Likewise.
7549 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7550 * debug/getgroups_chk.c: Likewise.
7551 * debug/mbsnrtowcs_chk.c: Likewise.
7552 * debug/mbsrtowcs_chk.c: Likewise.
7553 * debug/mbstowcs_chk.c: Likewise.
7554 * debug/memcpy_chk.c: Likewise.
7555 * debug/memmove_chk.c: Likewise.
7556 * debug/mempcpy_chk.c: Likewise.
7557 * debug/memset_chk.c: Likewise.
7558 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7559 * debug/strcat_chk.c (__strcat_chk): Likewise.
7560 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7561 * debug/strncat_chk.c (__strncat_chk): Likewise.
7562 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7563 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7564 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7565 * debug/wcpncpy_chk.c: Likewise.
7566 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7567 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7568 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7569 * debug/wcsncpy_chk.c: Likewise.
7570 * debug/wcsnrtombs_chk.c: Likewise.
7571 * debug/wcsrtombs_chk.c: Likewise.
7572 * debug/wcstombs_chk.c: Likewise.
7573 * debug/wmemcpy_chk.c: Likewise.
7574 * debug/wmemmove_chk.c: Likewise.
7575 * debug/wmempcpy_chk.c: Likewise.
7576 * debug/wmemset_chk.c: Likewise.
7577 * dirent/scandirat.c (SCANDIRAT): Likewise.
7578 * dlfcn/dladdr1.c (dladdr1): Likewise.
7579 * dlfcn/dladdr.c (dladdr): Likewise.
7580 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7581 * dlfcn/dlerror.c (__dlerror): Likewise.
7582 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7583 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7584 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7585 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7586 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7587 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7588 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7589 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7591 * elf/dl-conflict.c: Likewise.
7592 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7593 * elf/dl-dst.h: Likewise.
7594 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7595 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7596 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7597 * elf/dl-init.c (call_init, _dl_init): Likewise.
7598 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7599 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7600 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7602 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7604 * elf/dl-minimal.c (__libc_memalign): Likewise.
7605 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7606 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7607 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7608 * elf/dl-sym.c (do_sym): Likewise.
7609 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7610 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7611 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7612 * elf/dl-writev.h (_dl_writev): Likewise.
7613 * elf/ldconfig.c (search_dir): Likewise.
7614 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7615 (dl_main): Likewise.
7616 * elf/setup-vdso.h (setup_vdso): Likewise.
7617 * grp/compat-initgroups.c (compat_call): Likewise.
7618 * grp/fgetgrent.c (fgetgrent): Likewise.
7619 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7620 * grp/putgrent.c (putgrent): Likewise.
7621 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7623 * hurd/hurdinit.c: Likewise.
7624 * iconvdata/8bit-gap.c (struct): Likewise.
7625 * iconvdata/ansi_x3.110.c : Likewise.
7626 * iconvdata/big5.c : Likewise.
7627 * iconvdata/big5hkscs.c : Likewise.
7628 * iconvdata/cp1255.c: Likewise.
7629 * iconvdata/cp1258.c : Likewise.
7630 * iconvdata/cp932.c : Likewise.
7631 * iconvdata/euc-cn.c: Likewise.
7632 * iconvdata/euc-jisx0213.c : Likewise.
7633 * iconvdata/euc-jp.c: Likewise.
7634 * iconvdata/euc-jp-ms.c : Likewise.
7635 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7636 * iconvdata/gb18030.c : Likewise.
7637 * iconvdata/gbbig5.c (const): Likewise.
7638 * iconvdata/gbgbk.c: Likewise.
7639 * iconvdata/gbk.c : Likewise.
7640 * iconvdata/ibm1364.c : Likewise.
7641 * iconvdata/ibm930.c : Likewise.
7642 * iconvdata/ibm932.c: Likewise.
7643 * iconvdata/ibm933.c : Likewise.
7644 * iconvdata/ibm935.c : Likewise.
7645 * iconvdata/ibm937.c : Likewise.
7646 * iconvdata/ibm939.c : Likewise.
7647 * iconvdata/ibm943.c: Likewise.
7648 * iconvdata/iso_11548-1.c: Likewise.
7649 * iconvdata/iso-2022-cn.c : Likewise.
7650 * iconvdata/iso-2022-cn-ext.c : Likewise.
7651 * iconvdata/iso-2022-jp-3.c: Likewise.
7652 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7653 * iconvdata/iso-2022-kr.c : Likewise.
7654 * iconvdata/iso646.c (gconv_end): Likewise.
7655 * iconvdata/iso_6937-2.c : Likewise.
7656 * iconvdata/iso_6937.c : Likewise.
7657 * iconvdata/iso8859-1.c: Likewise.
7658 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7659 * iconvdata/shift_jisx0213.c : Likewise.
7660 * iconvdata/sjis.c : Likewise.
7661 * iconvdata/t.61.c : Likewise.
7662 * iconvdata/tcvn5712-1.c : Likewise.
7663 * iconvdata/tscii.c: Likewise.
7664 * iconvdata/uhc.c : Likewise.
7665 * iconvdata/unicode.c (gconv_end): Likewise.
7666 * iconvdata/utf-16.c (gconv_end): Likewise.
7667 * iconvdata/utf-32.c (gconv_end): Likewise.
7668 * iconvdata/utf-7.c (base64): Likewise.
7669 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7670 * iconv/gconv_close.c (__gconv_close): Likewise.
7671 * iconv/gconv_open.c (__gconv_open): Likewise.
7672 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7673 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7674 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7675 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7676 (ucs4le_internal_loop_single): Likewise.
7677 * iconv/iconv.c (iconv): Likewise.
7678 * iconv/iconv_close.c: Likewise.
7679 * iconv/loop.c (SINGLE): Likewise.
7680 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7681 * include/atomic.h: Likewise.
7682 * inet/inet6_option.c (option_alloc): Likewise.
7683 * intl/bindtextdom.c (set_binding_values): Likewise.
7684 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7685 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7686 * intl/localealias.c (read_alias_file): Likewise.
7687 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7688 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7689 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7690 * libio/fmemopen.c (fmemopen): Likewise.
7691 * libio/iofgets.c (_IO_fgets): Likewise.
7692 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7693 * libio/iofgetws.c (fgetws): Likewise.
7694 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7695 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7696 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7697 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7698 * locale/findlocale.c (_nl_find_locale): Likewise.
7699 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7700 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7702 * locale/setlocale.c (setlocale): Likewise.
7703 * login/programs/pt_chown.c (main): Likewise.
7704 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7705 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7706 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7707 (mmap, mmap64, mremap, munmap): Likewise.
7708 * math/e_exp2l.c: Likewise.
7709 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7710 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7711 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7712 * math/s_catan.c (__catan): Likewise.
7713 * math/s_catanf.c (__catanf): Likewise.
7714 * math/s_catanh.c (__catanh): Likewise.
7715 * math/s_catanhf.c (__catanhf): Likewise.
7716 * math/s_catanhl.c (__catanhl): Likewise.
7717 * math/s_catanl.c (__catanl): Likewise.
7718 * math/s_ccosh.c (__ccosh): Likewise.
7719 * math/s_ccoshf.c (__ccoshf): Likewise.
7720 * math/s_ccoshl.c (__ccoshl): Likewise.
7721 * math/s_cexp.c (__cexp): Likewise.
7722 * math/s_cexpf.c (__cexpf): Likewise.
7723 * math/s_cexpl.c (__cexpl): Likewise.
7724 * math/s_clog10.c (__clog10): Likewise.
7725 * math/s_clog10f.c (__clog10f): Likewise.
7726 * math/s_clog10l.c (__clog10l): Likewise.
7727 * math/s_clog.c (__clog): Likewise.
7728 * math/s_clogf.c (__clogf): Likewise.
7729 * math/s_clogl.c (__clogl): Likewise.
7730 * math/s_csin.c (__csin): Likewise.
7731 * math/s_csinf.c (__csinf): Likewise.
7732 * math/s_csinh.c (__csinh): Likewise.
7733 * math/s_csinhf.c (__csinhf): Likewise.
7734 * math/s_csinhl.c (__csinhl): Likewise.
7735 * math/s_csinl.c (__csinl): Likewise.
7736 * math/s_csqrt.c (__csqrt): Likewise.
7737 * math/s_csqrtf.c (__csqrtf): Likewise.
7738 * math/s_csqrtl.c (__csqrtl): Likewise.
7739 * math/s_ctan.c (__ctan): Likewise.
7740 * math/s_ctanf.c (__ctanf): Likewise.
7741 * math/s_ctanh.c (__ctanh): Likewise.
7742 * math/s_ctanhf.c (__ctanhf): Likewise.
7743 * math/s_ctanhl.c (__ctanhl): Likewise.
7744 * math/s_ctanl.c (__ctanl): Likewise.
7745 * math/w_pow.c: Likewise.
7746 * math/w_powf.c: Likewise.
7747 * math/w_powl.c: Likewise.
7748 * math/w_scalb.c (sysv_scalb): Likewise.
7749 * math/w_scalbf.c (sysv_scalbf): Likewise.
7750 * math/w_scalbl.c (sysv_scalbl): Likewise.
7751 * misc/error.c (error_tail): Likewise.
7752 * misc/pselect.c (__pselect): Likewise.
7753 * nis/nis_callback.c (__nis_create_callback): Likewise.
7754 * nis/nis_call.c (__nisfind_server): Likewise.
7755 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7756 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7757 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7758 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7759 * nis/nis_lookup.c (nis_lookup): Likewise.
7760 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7761 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7762 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7763 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7764 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7765 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7766 * nis/nss_compat/compat-initgroups.c (add_group)
7767 (internal_getgrent_r): Likewise.
7768 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7769 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7770 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7771 (internal_getspnam_r): Likewise.
7772 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7773 (_nss_nis_getaliasbyname_r): Likewise.
7774 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7775 (_nss_nis_getntohost_r): Likewise.
7776 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7777 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7778 (_nss_nis_getgrgid_r): Likewise.
7779 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7780 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7781 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7782 (_nss_nis_gethostbyname4_r): Likewise.
7783 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7784 (initgroups_netid): Likewise.
7785 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7786 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7787 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7788 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7789 (_nss_nis_getprotobynumber_r): Likewise.
7790 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7791 (_nss_nis_getsecretkey): Likewise.
7792 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7793 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7794 (_nss_nis_getpwuid_r): Likewise.
7795 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7796 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7797 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7798 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7799 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7800 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7801 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7803 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7804 (_nss_nisplus_getntohost_r): Likewise.
7805 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7806 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7807 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7808 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7810 * nis/nss_nisplus/nisplus-initgroups.c
7811 (_nss_nisplus_initgroups_dyn): Likewise.
7812 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7813 (_nss_nisplus_getnetbyaddr_r): Likewise.
7814 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7815 (_nss_nisplus_getprotobynumber_r): Likewise.
7816 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7817 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7818 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7820 * nis/nss_nisplus/nisplus-service.c
7821 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7822 (_nss_nisplus_getservbyport_r): Likewise.
7823 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7824 (_nss_nisplus_getspnam_r): Likewise.
7825 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7827 * nscd/aicache.c (addhstaiX): Likewise.
7828 * nscd/cache.c (cache_search, prune_cache): Likewise.
7829 * nscd/connections.c (register_traced_file, send_ro_fd)
7830 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7831 (main_loop_epoll): Likewise.
7832 * nscd/grpcache.c (addgrbyX): Likewise.
7833 * nscd/hstcache.c (addhstbyX): Likewise.
7834 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7835 * nscd/mem.c (gc, mempool_alloc): Likewise.
7836 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7837 (addinnetgrX): Likewise.
7838 * nscd/nscd-client.h (__nscd_acquire_maplock)
7839 (__nscd_drop_map_ref): Likewise.
7840 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7841 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7842 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7844 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7845 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7846 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7847 (__nscd_get_map_ref): Likewise.
7848 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7849 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7851 * nscd/pwdcache.c (addpwbyX): Likewise.
7852 * nscd/selinux.c (preserve_capabilities): Likewise.
7853 * nscd/servicescache.c (addservbyX): Likewise.
7854 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7855 * posix/fnmatch.c (fnmatch): Likewise.
7856 * posix/getopt.c (_getopt_internal_r): Likewise.
7857 * posix/glob.c (glob, glob_in_dir): Likewise.
7858 * posix/wordexp.c (exec_comm_child): Likewise.
7859 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7860 (getanswer_r, gaih_getanswer_slice): Likewise.
7861 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7862 * resolv/res_init.c: Likewise.
7863 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7864 * resolv/res_query.c (__libc_res_nquery): Likewise.
7865 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7867 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7868 * stdio-common/perror.c (perror): Likewise.
7869 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7870 * stdio-common/tmpnam.c (tmpnam): Likewise.
7871 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7872 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7873 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7875 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7876 * stdlib/putenv.c (putenv): Likewise.
7877 * stdlib/setenv.c (__add_to_environ): Likewise.
7878 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7879 * stdlib/strtol_l.c (INTERNAL): Likewise.
7880 * string/memmem.c (memmem): Likewise.
7881 * string/strerror.c (strerror): Likewise.
7882 * string/strnlen.c (__strnlen): Likewise.
7883 * string/test-memmem.c (simple_memmem): Likewise.
7884 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7885 * sunrpc/pm_getport.c (__get_socket): Likewise.
7886 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7887 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7888 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7889 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7891 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7892 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7893 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7894 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7895 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7896 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7898 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7900 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7901 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7902 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7903 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7904 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7906 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7907 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7908 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7909 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7910 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7911 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7913 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7915 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7917 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7918 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7919 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7920 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7921 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7922 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7923 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7924 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7925 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7926 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7927 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7928 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7929 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7930 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7932 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7934 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7936 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7938 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7940 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7941 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7942 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7944 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7945 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7946 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7947 * sysdeps/posix/sleep.c: Likewise.
7948 * sysdeps/posix/tempname.c: Likewise.
7949 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7950 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7952 * sysdeps/powerpc/powerpc32/dl-machine.h
7953 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7954 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7955 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7956 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7957 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7959 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7960 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7961 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7962 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7963 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7964 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7965 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7966 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7967 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7968 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7969 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7970 (elf_machine_lazy_rel): Likewise.
7971 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7972 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7973 (elf_machine_lazy_rel): Likewise.
7974 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7975 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7976 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7977 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7978 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7979 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7980 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7983 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7984 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7985 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7986 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7987 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7988 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7989 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7990 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7991 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7992 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7993 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7995 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7996 (__posix_fallocate64_l64): Likewise.
7997 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7998 (posix_fallocate): Likewise.
7999 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8001 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8002 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8003 (getifaddrs_internal): Likewise.
8004 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8005 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8006 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8007 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8008 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8009 (__posix_fallocate64_l64): Likewise.
8010 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8012 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8013 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8014 (__get_clockfreq): Likewise.
8015 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8016 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8017 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8018 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8019 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8020 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8021 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8022 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8024 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8025 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8026 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8027 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8028 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8029 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8030 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8032 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8033 (posix_fallocate): Likewise.
8034 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8035 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8036 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8037 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8038 (elf_machine_rela, elf_machine_rela_relative)
8039 (elf_machine_lazy_rel): Likewise.
8040 * time/asctime.c (asctime_internal): Likewise.
8041 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8042 * time/tzset.c (__tzset_parse_tz): Likewise.
8043 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8044 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8045 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8046 * wcsmbs/wcsmbsload.h: Likewise.
8049 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8051 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8052 (arena_get2): Remove THREAD_STATS conditionals.
8053 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8054 (__malloc_stats, int): Likewise.
8056 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8058 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8059 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8061 * manual/setjmp.texi: Fix typos/grammar errors.
8063 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8064 Only return early when n is <= 0. Delete unused return statement.
8066 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8067 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8068 * debug/tst-longjmp_chk3.c: New file.
8070 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8071 (test_main): Replace code with set_fortify_handler call.
8072 * debug/test-strcpy_chk.c: Likewise.
8073 * debug/tst-chk1.c: Likewise.
8074 * debug/tst-longjmp_chk.c: Likewise.
8075 * test-skeleton.c: Include fcntl.h & paths.h
8076 (set_fortify_handler): Define.
8078 * debug/tst-longjmp_chk.c: Add header comment and include
8080 (do_test): Mark static.
8081 (TEST_FUNCTION): Define.
8083 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8084 (IP_PMTUDISC_INTERFACE): Likewise.
8085 (IP_MULTICAST_IF): Likewise.
8086 (IP_MULTICAST_TTL): Likewise.
8087 (IP_MULTICAST_LOOP): Likewise.
8088 (IP_ADD_MEMBERSHIP): Likewise.
8089 (IP_DROP_MEMBERSHIP): Likewise.
8090 (IP_UNBLOCK_SOURCE): Likewise.
8091 (IP_BLOCK_SOURCE): Likewise.
8092 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8093 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8094 (IP_MSFILTER): Likewise.
8095 (MCAST_JOIN_GROUP): Likewise.
8096 (MCAST_BLOCK_SOURCE): Likewise.
8097 (MCAST_UNBLOCK_SOURCE): Likewise.
8098 (MCAST_LEAVE_GROUP): Likewise.
8099 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8100 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8101 (MCAST_MSFILTER): Likewise.
8102 (IP_MULTICAST_ALL): Likewise.
8103 (IP_UNICAST_IF): Likewise.
8105 * timezone/Makefile: Delete $(have-ksh) check.
8106 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8107 * timezone/tzselect.ksh: Add +x mode bits.
8109 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8110 (ANON_INODE_FS_MAGIC): Likewise.
8111 (BDEVFS_MAGIC): Likewise.
8112 (BINFMTFS_MAGIC): Likewise.
8113 (BTRFS_TEST_MAGIC): Likewise.
8114 (CRAMFS_MAGIC_WEND): Likewise.
8115 (DEBUGFS_MAGIC): Likewise.
8116 (ECRYPTFS_SUPER_MAGIC): Likewise.
8117 (EXT3_SUPER_MAGIC): Likewise.
8118 (EXT4_SUPER_MAGIC): Likewise.
8119 (FUTEXFS_SUPER_MAGIC): Likewise.
8120 (HOSTFS_SUPER_MAGIC): Likewise.
8121 (HUGETLBFS_MAGIC): Likewise.
8122 (MINIX3_SUPER_MAGIC): Likewise.
8123 (MTD_INODE_FS_MAGIC): Likewise.
8124 (NILFS_SUPER_MAGIC): Likewise.
8125 (OPENPROM_SUPER_MAGIC): Likewise.
8126 (PIPEFS_MAGIC): Likewise.
8127 (PSTOREFS_MAGIC): Likewise.
8128 (QNX6_SUPER_MAGIC): Likewise.
8129 (RAMFS_MAGIC): Likewise.
8130 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8131 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8132 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8133 (SECURITYFS_MAGIC): Likewise.
8134 (SELINUX_MAGIC): Likewise.
8135 (SMACK_MAGIC): Likewise.
8136 (SOCKFS_MAGIC): Likewise.
8137 (SQUASHFS_MAGIC): Likewise.
8138 (STACK_END_MAGIC): Likewise.
8139 (TMPFS_MAGIC): Likewise.
8140 (USBDEVICE_SUPER_MAGIC): Likewise.
8141 (V9FS_MAGIC): Likewise.
8142 (XENFS_SUPER_MAGIC): Likewise.
8143 (CRAMFS_MAGIC): Fix typo in comment.
8144 (EXT2_SUPER_MAGIC): Update comment.
8145 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8147 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8149 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8150 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8151 * sysdeps/unix/sysv/linux/arm: Move directory from
8152 ports/sysdeps/unix/sysv/linux/arm.
8153 * README: Update listing for arm-*-linux-gnueabi.
8155 * README: Remove mention of am33.
8157 2014-02-07 Roland McGrath <roland@hack.frob.com>
8159 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8160 than the comma operator, to avoid "rhs of comma has no effect"
8162 (__sigfillset, __sigandset, __sigorset): Likewise.
8163 * include/signal.h (__sigemptyset): Likewise.
8164 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8166 2014-02-07 Allan McRae <allan@archlinux.org>
8168 * version.h (RELEASE): Set to "development".
8169 (VERSION): Set to "2.19.90"
8170 * NEWS: Add 2.20 section.
8172 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8175 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8177 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8179 * manual/contrib.texi: Update entry for Carlos O'Donell,
8180 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8182 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8184 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8186 * sysdeps/unix/sysv/linux/kernel-features.h
8187 [__LINUX_KERNEL_VERSION >= 0x020621]
8188 (__ASSUME_PROC_PID_TASK_COMM): Define.
8190 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8193 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8194 conversion when destination buffer does not have enough space.
8195 * libio/tst-ftell-partial-wide.c: New test case.
8196 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8198 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8199 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8200 Leonard and Allan McRae.
8202 2014-02-04 David S. Miller <davem@davemloft.net>
8204 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8207 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8236 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8238 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8239 * shlib-versions: Likewise.
8241 2014-02-04 Roland McGrath <roland@hack.frob.com>
8242 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8244 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8245 (abilist-pattern): New variable, set to %-le.abilist.
8247 * Makerules (abilist-pattern): New variable.
8248 (vpath): Use $(abilist-pattern) in place of %.abilist.
8249 (check-abi-% pattern rule): Likewise.
8250 (check-abi, update-abi): Likewise.
8252 2014-02-04 Eric Wong <normalperson@yhbt.net>
8254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8256 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8258 * manual/startup.texi: Add next, previous, and top entries for
8259 the `Program Arguments' and `Environment Variables' nodes.
8261 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8263 * manual/macros.texi: Add comments before MTASC-safety macros.
8265 * manual/users.texi: Document MTASC-safety properties.
8267 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8268 (pthread_getspecific, pthread_setspecific): Format with
8269 @deftypefun, and add @safety note.
8270 * manual/signal.texi: Move comments that analyze the above
8271 functions to their home place.
8273 2014-02-03 Allan McRae <allan@archlinux.org>
8275 * po/sl.po: Update Slovenian translation from translation project.
8277 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8279 * manual/time.texi (timegm): Add missing blank after @c.
8280 Reported by Joseph Myers <joseph@codesourcery.com>.
8282 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8284 * manual/check-safety.sh: New.
8285 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8287 * manual/terminal.texi: Document MTASC-safety properties.
8289 * manual/filesys.texi: Document MTASC-safety properties.
8291 * manual/errno.texi: Document MTASC-safety properties.
8293 * manual/intro.texi: Document safety identifiers and
8296 * manual/string.texi (wcstok): Fix prototype.
8297 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8299 * manual/time.texi: Document MTASC-safety properties.
8301 * manual/string.texi: Document MTASC-safety properties.
8303 * manual/threads.texi: Document MTASC-safety properties.
8305 * manual/stdio.texi: Document MTASC-safety properties.
8307 * manual/syslog.texi: Document MTASC-safety properties.
8309 * manual/sysinfo.texi: Document MTASC-safety properties.
8311 * manual/startup.texi: Document MTASC-safety properties.
8313 * manual/socket.texi: Document MTASC-safety properties.
8315 * manual/signal.texi: Document MTASC-safety properties.
8317 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8319 * manual/setjmp.texi: Document MTASC-safety properties.
8321 * manual/search.texi: Document MTASC-safety properties.
8323 * manual/resource.texi: Document MTASC-safety properties.
8325 * manual/process.texi: Document MTASC-safety properties.
8327 * manual/platform.texi: Document MTASC-safety properties.
8329 * manual/pipe.texi: Document MTASC-safety properties.
8331 * manual/pattern.texi: Document MTASC-safety properties.
8333 * manual/message.texi: Document MTASC-safety properties.
8336 * manual/memory.texi: Document MTASC-safety properties.
8338 * manual/math.texi: Document MTASC-safety properties.
8340 * manual/locale.texi: Document MTASC-safety properties.
8342 * manual/llio.texi: Document MTASC-safety properties.
8344 * manual/libdl.texi: New.
8346 * manual/lang.texi: Document MTASC-safety properties.
8348 * manual/job.texi: Document MTASC-safety properties.
8350 * manual/getopt.texi: Document MTASC-safety properties.
8352 * manual/ctype.texi: Document MTASC-safety properties.
8354 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8357 * csu/libc-tls.c (static_map): Remove variable.
8358 (__libc_setup_tls): Use main executable's link map for TLS data.
8359 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8360 casing for LM_ID_BASE and GL(dl_nns).
8361 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8362 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8363 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8364 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8365 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8367 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8370 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8372 * manual/debug.texi: Document MTASC-safety properties.
8374 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8377 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8378 of __x86_64__ when disabling x87 inline functions.
8380 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8382 * manual/charset.texi: Document MTASC-safety properties.
8384 * manual/crypt.texi: Document MTASC-safety properties.
8386 * manual/conf.texi: Document MTASC-safety properties.
8388 * manual/arith.texi: Document MTASC-safety properties.
8390 * manual/argp.texi: Document MTASC-safety properties.
8392 * manual/macros.texi: Introduce macros to document multi
8393 thread, asynchronous signal and asynchronous cancellation
8395 * manual/intro.texi: Introduce the properties themselves.
8397 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8399 * sysdeps/sh/sh4/Makefile: New file.
8401 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8403 * math/gen-libm-test.pl ($srcdir): New variable.
8404 ($auto_input): Use it.
8406 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8409 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8410 access beyond array bounds when parsing netgroups file.
8412 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8413 the old buffer before realloc.
8415 2014-01-27 Allan McRae <allan@archlinux.org>
8417 * po/fr.po: Update French translation from translation project.
8419 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8421 * sysdeps/sh/libm-test-ulps: Regenerate.
8423 2014-01-24 David S. Miller <davem@davemloft.net>
8425 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8427 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8429 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8430 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8432 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8435 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8436 string pointers after reallocation.
8438 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8440 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8441 __SH4A__ instead of __SH_FPU_ANY__.
8443 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8445 * sysdeps/sh/fpu_control.h: New file.
8446 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8447 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8448 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8449 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8450 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8451 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8452 * sysdeps/sh/sys/ucontext.h: Remove.
8453 * sysdeps/sh/sys: Remove directory.
8455 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8457 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8458 s390/sys/ucontext.h.
8459 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8460 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8462 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8465 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8467 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8470 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8471 Adjust the vDSO correctly for internal calls.
8472 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8474 2014-01-20 Allan McRae <allan@archlinux.org>
8476 * po/ca.po: Update Catalan translation from translation project.
8478 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8480 * sysdeps/s390/sotruss-lib.c: New file.
8482 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8485 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8486 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8487 local calls issues by not having a PLT stub required for IFUNC calls.
8488 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8490 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8492 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8493 * math/test-fpucw-static.c: Likewise.
8495 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8498 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8500 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8502 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8503 implementation for powerpc.
8505 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8508 * sysdeps/posix/system.c (__libc_system): Do not enable
8509 asynchronous cancellation.
8511 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8514 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8515 handling only for numbers special also in the IEEE case.
8517 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8519 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8521 2014-01-11 Allan McRae <allan@archlinux.org>
8523 * po/bg.po: Update Bulgarian translation from translation project.
8525 * po/de.po: Update German translation from translation project.
8527 2014-01-10 Roland McGrath <roland@hack.frob.com>
8529 * sysdeps/generic/gcc-compat.h: New file.
8531 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8533 * benchtests/asin-inputs: Correct slow inputs.
8534 * benchtests/acos-inputs: Likewise.
8536 2014-01-10 Allan McRae <allan@archlinux.org>
8538 * po:sv.po: Update Swedish translation from translation project.
8540 * po/vi.po: Update Vietnamese translation from translation project.
8542 * po/eo.po: Update Esperanto translation from translation project.
8544 * po/cs.po: Update Czech translation from translation project.
8546 * po/nl.po: Update Dutch translation from translation project.
8548 * po/pl.po: Update Polish translation from translation project.
8550 * po/ru.po: Update Russian translation from translation project.
8552 * po/uk.po: Update Ukrainian translation from translation project.
8554 2014-01-08 Brooks Moses <bmoses@google.com>
8556 * elf/dl-load.c: Fix comment typo.
8558 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8560 * po/header.pot: Rename to...
8561 * po/pot.header: ... this.
8562 * po/Makefile: Use pot.header.
8564 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8565 Maxim Kuvyrkov <maxim@kugelworks.com>
8568 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8569 SRC and DEST against LEN.
8571 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8574 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8576 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8578 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8582 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8585 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8586 for large positive arguments.
8588 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8590 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8592 * math/auto-libm-test-in: Mark various tests with
8593 xfail-rounding:ldbl-128ibm.
8594 * math/auto-libm-test-out: Regenerated.
8597 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8598 Increase overflow threshold.
8600 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8603 * stdio-common/vfprintf.c: Check for integer overflow.
8605 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8607 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8608 the first argument and return value of __tls_get_addr_internal.
8610 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8612 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8613 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8615 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8617 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8618 * sysdeps/s390/rtld-global-offsets.sym: New file.
8619 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8621 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8622 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8623 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8625 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8626 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8632 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8633 halfs of GPRs for high_gprs contexts.
8634 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8635 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8637 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8639 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8641 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8642 for high GPRs (uc_high_gprs) and for future extensions
8644 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8645 for future extensions (__reserved).
8646 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8648 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8649 SC_HIGHGPRS offset definition.
8650 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8651 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8653 * Versions.def: Add GLIBC_2.19 for libpthread.
8654 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8655 siglongjmp for libpthread with GLIBC_2.19 symver.
8656 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8657 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8658 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8659 * sysdeps/s390/__longjmp.c: New file.
8660 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8661 * sysdeps/s390/longjmp.c: New file.
8662 * sysdeps/s390/setjmp.S: New file.
8663 * sysdeps/s390/sigjmp.S: New file.
8664 * sysdeps/s390/v1-longjmp.c: New file.
8665 * sysdeps/s390/v1-setjmp.h: New file.
8666 * sysdeps/s390/v1-sigjmp.c: New file.
8667 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8668 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8670 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8671 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8672 versioned symbols for ____longjmp_chk.
8673 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8683 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8684 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8685 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8686 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8687 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8688 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8689 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8690 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8691 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8692 * sysdeps/s390/rtld-__longjmp.c: New file.
8693 * sysdeps/s390/rtld-setjmp.S: New file.
8695 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8698 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8699 Return -__logl (x) for small positive arguments without evaluating
8702 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8704 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8706 (__ptrace_peeksiginfo_args): ... this.
8707 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8708 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8709 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8711 2014-01-06 Allan McRae <allan@archlinux.org>
8713 * inet/netinet/in.h: Fix typo in comment.
8715 2014-01-05 Andreas Jaeger <aj@suse.de>
8717 * sysdeps/i386/fpu/libm-test-ulps: Update.
8719 2014-01-05 Allan McRae <allan@archlinux.org>
8721 * po/libc.pot: Regenerated.
8723 * malloc/memusagestat.c: Fix gettext call formatting.
8725 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8727 * nscd/nscd.c: Improve usage() output.
8729 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8731 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8732 * sysdeps/unix/sysv/linux/configure: Regenerated.
8733 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8734 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8736 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8739 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8740 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8742 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8744 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8745 extra tokens at end of #undef directive.
8746 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8747 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8748 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8750 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8752 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8754 * math/auto-libm-test-in: Mark various tests with
8755 xfail-rounding:ldbl-128ibm.
8756 * math/auto-libm-test-out: Regenerated.
8758 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8761 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8762 numbers with subnormal high part when calculating exponent.
8765 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8769 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8771 (__ieee754_acoshl): Use __log1pl not __log1p.
8773 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8775 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8776 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8777 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8778 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8779 (reused_arena, arena_get2): Convert to GNU style.
8780 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8781 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8782 (memalign_check, __malloc_set_state): Likewise.
8783 * malloc/mallocbug.c (main): Likewise.
8784 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8785 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8786 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8787 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8788 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8789 (__posix_memalign, malloc_info): Likewise.
8790 * malloc/malloc.h: Likewise.
8791 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8792 (mallochook, memalignhook, reallochook, mabort): Likewise.
8793 * malloc/mcheck.h: Likewise.
8794 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8795 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8796 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8797 * malloc/morecore.c (__default_morecore): Likewise.
8798 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8799 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8800 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8801 (print_and_abort): Likewise.
8802 * malloc/obstack.h: Likewise.
8803 * malloc/set-freeres.c (__libc_freeres): Likewise.
8804 * malloc/tst-mallocstate.c (main): Likewise.
8805 * malloc/tst-mtrace.c (main): Likewise.
8806 * malloc/tst-realloc.c (do_test): Likewise.
8808 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8811 * nscd/netgroupcache.c (do_notfound): New function.
8812 (addgetnetgrentX): Use it.
8815 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8816 NSS_STATUS_NOTFOUND.
8818 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8820 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8823 2014-01-01 Allan McRae <allan@archlinux.org>
8825 * scripts/update-copyrights: Update configure input file suffix.
8827 * NEWS: Update copyright year.
8828 * catgets/gencat.c: Likewise.
8829 * csu/version.c: Likewise.
8830 * debug/catchsegv.sh: Likewise.
8831 * debug/pcprofiledump.c: Likewise.
8832 * debug/xtrace.sh: Likewise.
8833 * elf/ldconfig.c: Likewise.
8834 * elf/ldd.bash.in: Likewise.
8835 * elf/pldd.c: Likewise.
8836 * elf/sotruss.ksh: Likewise.
8837 * elf/sprof.c: Likewise.
8838 * iconv/iconv_prog.c: Likewise.
8839 * iconv/iconvconfig.c: Likewise.
8840 * locale/programs/locale.c: Likewise.
8841 * locale/programs/localedef.c: Likewise.
8842 * login/programs/pt_chown.c: Likewise.
8843 * malloc/memusage.sh: Likewise.
8844 * malloc/memusagestat.c: Likewise.
8845 * malloc/mtrace.pl: Likewise.
8846 * manual/libc.texinfo: Likewise.
8847 * nscd/nscd.c: Likewise.
8848 * nss/getent.c: Likewise.
8849 * nss/makedb.c: Likewise.
8850 * posix/getconf.c: Likewise.
8851 * scripts/test-installation.pl: Likewise.
8853 * All files with FSF copyright notices: Update copyright dates
8854 using scripts/update-copyrights.
8855 * intl/plural.c: Regenerated.
8856 * locale/programs/charmap-kw.h: Likewise.
8857 * locale/programs/locfile-kw.h: Likewise.
8859 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8861 * sysdeps/unix/sysv/linux/configure: Regenerated.
8862 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8863 the linux/fanotify.h header.
8864 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8865 HAVE_LINUX_FANOTIFY_H is defined.
8867 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8869 * benchtests/cos-inputs: New inputs.
8870 * benchtests/sin-inputs: Likewise.
8872 * benchtests/atan-inputs: New inputs. Fix name of multiple
8873 precision fallback inputs.
8875 * benchtests/atanh-inputs: New inputs.
8876 * benchtests/tanh-inputs: Likewise.
8878 * benchtests/acosh-inputs: New inputs.
8879 * benchtests/asinh-inputs: Likewise.
8881 * benchtests/cosh-inputs: New inputs.
8882 * benchtests/sinh-inputs: Likewise.
8884 * benchtests/acos-inputs: Add more inputs.
8885 * benchtests/asin-inputs: Likewise.
8887 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8890 * manual/arith.texi: Fix spelling.
8891 * manual/charset.texi: Likewise.
8892 * manual/errno.texi: Likewise.
8893 * manual/filesys.texi: Likewise.
8894 * manual/lang.texi: Likewise.
8895 * manual/llio.texi: Likewise.
8896 * manual/locale.texi: Likewise.
8897 * manual/message.texi: Likewise.
8898 * manual/resource.texi: Likewise.
8899 * manual/search.texi: Likewise.
8900 * manual/setjmp.texi: Likewise.
8901 * manual/stdio.texi: Likewise.
8902 * manual/string.texi: Likewise.
8903 * manual/sysinfo.texi: Likewise.
8904 * manual/time.texi: Likewise.
8906 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8908 * po/sl.po: New file.
8910 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8912 * .gitignore: Add core/.gdbinit/.gdb_history.
8914 2013-12-27 Allan McRae <allan@archlinux.org>
8917 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8918 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8920 2013-12-24 Brooks Moses <bmoses@google.com>
8922 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8923 all compilers that claim C++98 compliance, not just GCC.
8924 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8927 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8929 * NEWS: Restore accidentally deleted bug-fix entries.
8931 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8932 Ondřej Bílka <neleai@seznam.cz>
8935 * malloc/malloc.c (_int_free): Perform sanity check only if we
8938 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8941 * manual/stdio.texi (String Input Conversions): Clarify that character
8942 classes are not supported.
8944 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8948 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8951 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8952 Calculate results for small negative arguments directly rather
8953 than using reflection formula with special underflow handling.
8955 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8956 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8957 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8958 (fchflags): Likewise.
8960 (setlogin): Likewise.
8961 (sigaltstack): Likewise.
8964 (sigsetmask): Likewise.
8966 (waitpid): Likewise.
8967 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8968 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8970 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8971 * sysdeps/unix/bsd/Makefile: ... here.
8972 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8973 * sysdeps/unix/bsd/Versions: ... here.
8974 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8975 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8976 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8977 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8978 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8979 * sysdeps/unix/bsd/sigblock.c: ... here.
8980 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8981 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8982 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8983 * sysdeps/unix/bsd/sigvec.c: ... here.
8984 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8985 * sysdeps/unix/bsd/tcdrain.c: ... here.
8986 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8987 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8988 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8989 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8990 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8991 * sysdeps/unix/bsd/wait.c: ... here.
8992 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8993 * sysdeps/unix/bsd/wait3.c: ... here.
8994 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8995 * sysdeps/unix/bsd/waitpid.c: ... here.
8997 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9000 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9001 round-to-nearest for [!USE_AS_EXPM1L].
9002 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9003 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9004 more tests of exp and exp10. Expect some exp10 tests to miss
9005 exceptions or fail in directed rounding modes.
9006 * math/auto-libm-test-out: Regenerated.
9007 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9008 (exp10_test_tonearest): New function.
9009 (exp10_towardzero_test_data): New array.
9010 (exp10_test_towardzero): New function.
9011 (exp10_downward_test_data): New array.
9012 (exp10_test_downward): New function.
9013 (exp10_upward_test_data): New array.
9014 (exp10_test_upward): New function.
9015 (main): Call the new functions.
9016 * sysdeps/i386/fpu/libm-test-ulps: Update.
9017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9019 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9021 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9022 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9023 * math/auto-libm-test-out: Regenerated.
9024 * math/libm-test.inc (acosh_test_data): Add more tests.
9025 (atanh_test_data): Likewise.
9026 (ceil_test_data): Likewise.
9027 (copysign_test_data): Likewise.
9028 * sysdeps/i386/fpu/libm-test-ulps: Update.
9029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9031 * timezone/checktab.awk: Update from tzcode 2013i.
9032 * timezone/private.h: Likewise.
9033 * timezone/scheck.c: Likewise.
9034 * timezone/tzfile.h: Likewise.
9035 * timezone/tzselect.ksh: Likewise.
9036 * timezone/zdump.c: Likewise.
9037 * timezone/zic.c: Likewise.
9039 * math/auto-libm-test-in: Add tests of cpow.
9040 * math/auto-libm-test-out: Regenerated.
9041 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9042 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9044 (func_calc_desc): Add mpc_cc_c union field.
9045 (test_functions): Add cpow.
9046 (special_fill_2pi): New function.
9047 (special_real_inputs): Add 2pi.
9048 (calc_generic_results): Handle mpc_cc_c.
9049 * sysdeps/i386/fpu/libm-test-ulps: Update.
9050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9052 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9053 csqrt, ctan and ctanh.
9054 * math/auto-libm-test-out: Regenerated.
9055 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9056 (TEST_COND_x86): Likewise.
9057 (ccos_test_data): Use AUTO_TESTS_c_c.
9058 (ccosh_test_data): Likewise.
9059 (cexp_test_data): Likewise.
9060 (clog_test_data): Likewise.
9061 (csqrt_test_data): Likewise.
9062 (ctan_test_data): Likewise.
9063 (ctan_tonearest_test_data): Likewise.
9064 (ctan_towardzero_test_data): Likewise.
9065 (ctan_downward_test_data): Likewise.
9066 (ctan_upward_test_data): Likewise.
9067 (ctanh_test_data): Likewise.
9068 (ctanh_tonearest_test_data): Likewise.
9069 (ctanh_towardzero_test_data): Likewise.
9070 (ctanh_downward_test_data): Likewise.
9071 (ctanh_upward_test_data): Likewise.
9072 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9074 (func_calc_desc): Add mpc_c_c union field.
9075 (FUNC_mpc_c_c): New macro.
9076 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9077 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9079 (special_fill_min_subnorm_p120): New function.
9080 (special_real_inputs): Add min_subnorm_p120.
9081 (calc_generic_results): Handle mpc_c_c.
9082 * sysdeps/i386/fpu/libm-test-ulps: Update.
9083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9085 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9087 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9088 (do_sin_slow): New functions.
9089 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9090 (cslow2, csloww1, csloww2): Use the new functions.
9092 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9093 Use M to change sign of result instead of X. Assume X is
9095 (csloww1): Likewise.
9099 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9104 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9106 (sloww1): Don't adjust sign of DX.
9107 (csloww1): Likewise.
9108 (sloww2): Use X directly and don't adjust sign of DX.
9109 (csloww2): Likewise.
9111 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9113 * math/auto-libm-test-in: Add tests of cabs and carg.
9114 * math/auto-libm-test-out: Regenerated.
9115 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9116 (carg_test_data): Likewise.
9117 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9119 (func_calc_desc): Add mpc_c_f union field.
9120 (test_functions): Add cabs and carg.
9121 (calc_generic_results): Handle mpc_c_f.
9123 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9124 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9125 as a macro and a compat symbol.
9126 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9127 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9128 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9129 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9130 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9131 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9133 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9135 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9137 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9139 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9141 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9143 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9144 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9147 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9151 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9153 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9154 trailing whitespace removed.
9155 * scripts/config.guess: Update to version 2013-11-29.
9156 * scripts/config.sub: Update to version 2013-10-01.
9158 * math/auto-libm-test-in: Add tests of sincos.
9159 * math/auto-libm-test-out: Regenerated.
9160 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9161 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9163 (func_calc_desc): Add mpfr_f_11 union field.
9164 (test_functions): Add sincos.
9165 (calc_generic_results): Handle mpfr_f_11.
9166 * sysdeps/i386/fpu/libm-test-ulps: Update.
9167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9169 2013-12-19 Andreas Schwab <schwab@suse.de>
9171 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9173 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9174 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9175 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9177 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9179 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9180 * sysdeps/i386/fpu/libm-test-ulps: Update.
9181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9184 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9185 round-to-nearest mode when using frndint.
9186 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9187 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9188 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9190 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9192 * math/auto-libm-test-out: Regenerated.
9193 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9194 (TEST_COND_x86): Likewise.
9195 (expm1_tonearest_test_data): New array.
9196 (expm1_test_tonearest): New function.
9197 (expm1_towardzero_test_data): New array.
9198 (expm1_test_towardzero): New function.
9199 (expm1_downward_test_data): New array.
9200 (expm1_test_downward): New function.
9201 (expm1_upward_test_data): New array.
9202 (expm1_test_upward): New function.
9203 (main): Run the new test functions.
9204 * sysdeps/i386/fpu/libm-test-ulps: Update.
9205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9207 * include/features.h: Update comment documenting feature test
9208 macros. Mention _DEFAULT_SOURCE in comment.
9209 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9210 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9211 _BSD_SOURCE and _SVID_SOURCE.
9212 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9213 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9214 !_SVID_SOURCE]: Likewise.
9215 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9216 (__USE_POSIX_IMPLICITLY): Define.
9217 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9218 (_POSIX_SOURCE): Undefine and redefine.
9219 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9220 (_POSIX_C_SOURCE): Likewise.
9221 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9222 (Feature Test Macros): Update documentation of default features.
9224 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9226 * benchtests/Makefile: Add bench-strtok.
9227 * benchtests/bench-strtok.c: New file: strtok benchtest.
9229 2013-12-19 Allan McRae <allan@archlinux.org>
9231 * manual/install.texi: Suppress menu for plain text output.
9232 * INSTALL: Regenerated.
9234 2013-12-18 Brooks Moses <bmoses@google.com>
9237 * misc/getauxval.c: Include errno.h.
9238 (__getauxval): Set errno to ENOENT if the requested type is not
9240 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9241 don't declare with __attribute_const__.
9242 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9243 * manual/startup.texi: Document that getauxval sets errno.
9245 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9247 * math/auto-libm-test-in: Add tests of jn and yn.
9248 * math/auto-libm-test-out: Regenerated.
9249 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9250 (yn_test_data): Likewise.
9251 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9253 (func_calc_desc): Add mpfr_if_f union field.
9254 (FUNC_mpfr_if_f): New macro.
9255 (test_functions): Add jn and yn.
9256 (calc_generic_results): Assert type of second input for
9257 mpfr_ff_f. Handle mpfr_if_f.
9258 (output_for_one_input_case): Disable all checking for arguments
9259 fitting floating-point types in case of an integer argument.
9260 * sysdeps/i386/fpu/libm-test-ulps: Update.
9261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9264 Don't expect fegetround reference in libm.so.
9266 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9268 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9269 $(config-cflags-nofma).
9271 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9273 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9274 * math/auto-libm-test-out: Regenerated.
9277 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9278 to determine exponent and adjust argument to have exponent of -1.
9279 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9281 * math/auto-libm-test-out: Regenerated.
9282 * sysdeps/i386/fpu/libm-test-ulps: Update.
9283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9285 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9287 * manual/probes.texi: Remove cases when per-thread arenas are
9290 2013-12-18 Andreas Schwab <schwab@suse.de>
9292 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9293 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9294 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9295 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9296 * sysdeps/i386/i686/multiarch/Makefile: Update.
9297 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9299 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9301 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9302 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9304 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9307 Support TZ transition times < 00:00:00.
9308 This is needed for version-3 tz-format files; it supports time
9309 stamps past 2037 for America/Godthab (the only entry in the tz
9310 database for which this change is relevant).
9311 * manual/time.texi (TZ Variable): Document transition times
9312 from -167:59:59 through -00:00:01.
9313 * time/tzset.c (tz_rule): Time of day is now signed.
9314 (__tzset_parse_tz): Parse negative time of day.
9316 Document TZ transition times >= 25:00:00.
9317 * manual/time.texi (TZ Variable): Document transition times from
9318 25:00:00 through 167:59:59. These are already supported, and this
9319 support will help with version-3 tz-format files.
9321 * manual/time.texi (TZ Variable): Modernize North America example
9322 to reflect current (i.e., 2007-and-later) daylight saving rules.
9324 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9326 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9328 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9329 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9330 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9331 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9332 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9333 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9334 * sysdeps/unix/bsd/clock.c: Likewise.
9335 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9336 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9337 * sysdeps/unix/bsd/init-posix.c: Likewise.
9338 * sysdeps/unix/bsd/poll.c: Likewise.
9339 * sysdeps/unix/bsd/ptsname.c: Likewise.
9340 * sysdeps/unix/bsd/seekdir.c: Likewise.
9341 * sysdeps/unix/bsd/setegid.c: Likewise.
9342 * sysdeps/unix/bsd/seteuid.c: Likewise.
9343 * sysdeps/unix/bsd/setgid.c: Likewise.
9344 * sysdeps/unix/bsd/setrgid.c: Likewise.
9345 * sysdeps/unix/bsd/setruid.c: Likewise.
9346 * sysdeps/unix/bsd/setsid.c: Likewise.
9347 * sysdeps/unix/bsd/setuid.c: Likewise.
9348 * sysdeps/unix/bsd/sigaction.c: Likewise.
9349 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9350 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9351 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9352 * sysdeps/unix/bsd/telldir.c: Likewise.
9353 * sysdeps/unix/bsd/times.c: Likewise.
9354 * sysdeps/unix/bsd/usleep.c: Likewise.
9356 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9357 ($(objpfx)libbsd-compat.a): Remove rule.
9359 * include/features.h (__FAVOR_BSD): Do not define.
9360 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9361 features conflicting with POSIX.
9362 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9363 (_BSD_SOURCE): Remove description of not being a subset of other
9364 feature test macros.
9365 * manual/job.texi (getpgrp): Do not document BSD version.
9366 (getpgid): Do not document by reference to BSD getpgrp.
9367 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9368 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9369 * signal/signal.h [__FAVOR_BSD]: Likewise.
9370 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9371 instead of making contents conditional on [__FAVOR_BSD].
9372 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9374 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9378 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9381 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9382 values below 2**-450, not 2**-500.
9383 * math/auto-libm-test-in: Don't allow spurious underflow from
9385 * math/auto-libm-test-out: Regenerated.
9389 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9390 values of ha and hb and sort them after adjusting subnormal
9392 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9394 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9395 values of ea and eb and sort them after adjusting subnormal
9397 * math/auto-libm-test-in: Do not expect some hypot tests of
9398 subnormals to fail. Add more hypot tests.
9399 * math/auto-libm-test-out: Regenerated.
9401 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9404 * sysdeps/sh/s_fma.c: New file.
9405 * sysdeps/sh/s_fmaf.c: New file.
9406 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9408 * sysdeps/sh/Implies: Add sh/soft-fp.
9410 2013-12-16 Roland McGrath <roland@hack.frob.com>
9412 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9413 level of indirection to members `objname', `errstring', `malloced'.
9414 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9415 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9416 it as the __longjmp argument (just pass 1 instead).
9417 (_dl_catch_error): Initialize C with argument pointers and address of
9418 volatile local ERRCODE rather than copying values out of C at return.
9420 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9422 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9423 * math/auto-libm-test-out: Regenerated.
9424 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9425 (hypot_test_data): Likewise.
9426 (pow_test_data): Likewise.
9427 (pow_tonearest_test_data): Likewise.
9428 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9430 (func_calc_desc): Add mpfr_ff_f union field.
9431 (FUNC_mpfr_ff_f): New macro.
9432 (test_functions): Add atan2, hypot and pow.
9433 (special_fill_min): New function.
9434 (special_fill_minus_min): Likewise.
9435 (special_fill_min_subnorm): Likewise.
9436 (special_fill_minus_min_subnorm): Likewise.
9437 (special_real_inputs): Add min, -min, min_subnorm and
9439 (calc_generic_results): Handle mpfr_ff_f.
9440 * sysdeps/i386/fpu/libm-test-ulps: Update.
9441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9443 2013-12-16 Will Newton <will.newton@linaro.org>
9445 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9446 (Aligned Memory Blocks): Add documentation for aligned_alloc
9447 and suggest it as an alternative to posix_memalign.
9448 (Hooks for Malloc): Document __memalign_hook is also called
9449 for aligned_alloc. (Summary of Malloc): Add summary for
9450 aligned alloc. Document __memalign_hook is also called
9453 2013-12-16 Will Newton <will.newton@linaro.org>
9455 * manual/memory.texi (Malloc Examples): Clarify default
9456 alignment documentation. Suggest posix_memalign rather
9457 than memalign or valloc.
9458 (Aligned Memory Blocks): Remove suggestion to use memalign
9459 or valloc. Remove obsolete comment about BSD.
9460 Document memalign errno values and mark the function obsolete.
9461 Document posix_memalign returned error codes. Mark valloc
9462 as obsolete. (Hooks for Malloc): __memalign_hook is also
9463 called for posix_memalign and valloc.
9464 (Summary of Malloc): Add posix_memalign to function summary.
9465 __memalign_hook is also called for posix_memalign and valloc.
9467 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9469 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9473 (sloww): Use mynumber union. Expand ternary operator into
9475 (cslow): use mynumber union.
9477 2013-12-16 Allan McRae <allan@archlinux.org>
9479 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9480 * configure: Regenerated.
9482 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9485 * configure.ac: Added --enable-maintainer-mode. Check for
9486 autoconf when enabled.
9487 * configure: Regenerated.
9489 * nscd/nscd.service: New file.
9490 * nscd/nscd.tmpfiles: New file.
9492 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9495 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9496 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9497 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9498 (strstr): Add __strstr_sse2_unaligned ifunc.
9499 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9500 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9501 (strcasestr): Remove __strcasestr_sse42 ifunc.
9502 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9503 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9506 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9508 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9509 * sysdeps/sh/bits/fenv.h: ... here.
9510 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9512 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9514 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9516 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9517 hypotf multiarch implementations.
9518 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9519 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9520 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9521 multiarch hypot for PPC64.
9522 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9523 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9524 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9525 multiarch hypotf for PPC64.
9527 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9528 modff multiarch implementations.
9529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9532 multiarch modf for PPC64.
9533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9536 multiarch modff for PPC64.
9538 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9539 and logl multiarch implementations.
9540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9543 multiarch logb for PPC64.
9544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9547 multiarch logb for PPC64.
9548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9551 multiarch logb for PPC64.
9553 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9554 isinff multiarch implementation.
9555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9559 multiarch isinf for PPC64.
9560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9563 multiarch isinff for PPC64.
9565 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9566 finitef multiarch implementation.
9567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9571 multiarch finite for PPC64.
9572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9575 multiarch finitef for PPC64.
9577 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9578 lrint multiarch implementation.
9579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9583 multiarch llrint for PPC64.
9584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9585 multiarch lrint for PPC64.
9587 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9588 copysignf multiarch implementation.
9589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9594 multiarch copysign for PPC64.
9595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9596 multiarch copysignf for PPC64.
9598 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9599 multiarch implementation.
9600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9608 multiarch llround for PPC64.
9609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9610 multiarch trunc for PPC64.
9611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9612 multiarch truncf for PPC64.
9614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9615 multiarch implementation.
9616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9624 multiarch llround for PPC64.
9625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9626 multiarch round for PPC64.
9627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9628 multiarch roundf for PPC64.
9630 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9631 multiarch implementation.
9632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9640 multiarch llround for PPC64.
9641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9642 multiarch floor for PPC64.
9643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9644 multiarch floorf for PPC64.
9646 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9647 multiarch implementation.
9648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9656 multiarch llround for PPC64.
9657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9658 multiarch ceil for PPC64.
9659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9660 multiarch ceilf for PPC64.
9662 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9663 multiarch implementation.
9664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9671 multiarch llround for PPC64.
9672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9673 multiarch lround for PPC64.
9675 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9676 multiarch implementation.
9677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9684 multiarch isnan for PPC64.
9685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9686 multiarch isnanf for PPC64.
9688 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9689 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9690 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9691 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9692 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9695 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9696 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9697 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9698 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9701 multiarch implementations.
9702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9703 (__libc_ifunc_impl_list): Likewise.
9704 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9705 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9706 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9707 multiarch stpcpy for PPC64.
9709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9710 multiarch implementations.
9711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9712 (__libc_ifunc_impl_list): Likewise.
9713 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9714 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9715 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9716 multiarch strcpy for PPC64.
9718 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9719 redefine function name.
9720 (_wordcopy_fwd_dest_aligned): Likewise.
9721 (_wordcopy_bwd_aligned): Likewise.
9722 (_wordcopy_bwd_dest_aligned): Likewise.
9723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9724 multiarch implementations.
9725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9726 (__libc_ifunc_impl_list): Likewise.
9727 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9728 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9729 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9730 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9731 multiarch wcscpy for PPC64.
9733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9734 multiarch implementations.
9735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9736 (__libc_ifunc_impl_list): Likewise.
9737 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9738 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9739 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9740 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9741 multiarch wcscpy for PPC64.
9743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9744 multiarch implementations.
9745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9746 (__libc_ifunc_impl_list): Likewise.
9747 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9748 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9749 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9750 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9751 multiarch wcsrchr for PPC64.
9753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9754 multiarch implementations.
9755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9756 (__libc_ifunc_impl_list): Likewise.
9757 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9758 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9759 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9760 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9761 multiarch wcschr for PPC64.
9763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9764 multiarch implementations.
9765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9766 (__libc_ifunc_impl_list): Likewise.
9767 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9768 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9769 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9770 multiarch strchrnul for PPC64.
9772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9775 (__libc_ifunc_impl_list): Likewise.
9776 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9777 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9778 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9779 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9785 (__libc_ifunc_impl_list): Likewise.
9786 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9787 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9788 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9789 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9792 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9793 multiarch implementations.
9794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9795 (__libc_ifunc_impl_list): Likewise.
9796 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9797 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9798 strncasecmp for PPC64.
9799 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9800 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9801 multiarch strncasecmp_l for PPC64.
9803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9804 multiarch implementations.
9805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9806 (__libc_ifunc_impl_list): Likewise.
9807 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9808 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9809 multiarch strcasecmp for PPC64.
9810 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9812 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9813 multiarch strcasecmp_l for PPC64.
9815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9818 (__libc_ifunc_impl_list): Likewise.
9819 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9820 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9821 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9824 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9827 (__libc_ifunc_impl_list): Likewise.
9828 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9829 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9830 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9836 (__libc_ifunc_impl_list): Likewise.
9837 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9838 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9839 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9840 rawmemrchr for PPC64.
9842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9845 (__libc_ifunc_impl_list): Likewise.
9846 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9847 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9848 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9851 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9853 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9854 (__libc_ifunc_impl_list): Likewise.
9855 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9856 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9857 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9862 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9863 (__libc_ifunc_impl_list): Likewise.
9864 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9865 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9866 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9869 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9870 avoid cretion of __bzero symbol.
9871 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9873 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9875 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9878 multiarch implementations.
9879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9880 (__libc_ifunc_impl_list): Likewise.
9881 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9882 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9883 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9884 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9886 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9887 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9888 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9889 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9890 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9892 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9894 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9898 (__libc_ifunc_impl_list): Likewise.
9899 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9900 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9901 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9902 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9906 multiarch for POWER/PPC64.
9907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9908 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9909 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9910 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9911 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9912 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9913 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9914 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9915 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9918 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9919 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9920 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9921 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9922 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9923 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9924 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9925 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9926 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9927 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9928 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9929 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9930 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9931 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9932 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9941 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9943 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9945 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9947 * benchtests/Makefile (bench): Add exp2 and log2.
9948 (LDLIBS-bench-exp2): Add -lm.
9949 (LDLIBS-bench-log2): Likewise.
9950 * benchtests/exp2-inputs: New inputs file.
9951 * benchtests/log2-inputs: New inputs file.
9952 * benchtests/log-inputs: Add new inputs.
9953 * benchtests/tan-inputs: Likewise.
9955 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9957 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9959 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9960 (csloww2): ... from here.
9962 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9963 instead of structures.
9964 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9965 (POLYNOMIAL): Likewise.
9966 (TAYLOR_SLOW): Likewise.
9974 (bsloww1): Likewise.
9975 (bsloww2): Likewise.
9978 (csloww1): Likewise.
9979 (csloww2): Likewise.
9981 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9983 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9984 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9985 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9986 * malloc/hooks.c (realloc_check): Likewise.
9988 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9989 * malloc/arena.c: Remove PER_THREAD conditional.
9990 [!PER_THREAD]: Remove code.
9991 (ptmalloc_unlock_all2): Likewise.
9992 (ptmalloc_init): Likewise.
9993 (_int_new_arena): Likewise.
9994 (arena_get2): Likewise.
9995 * malloc/hooks.c (__malloc_get_state): Likewise.
9996 (__malloc_set_state): Likewise.
9997 * malloc/malloc.c: Likewise.
9998 (struct malloc_state): Likewise.
9999 (struct malloc_par): Likewise.
10000 (__libc_realloc): Likewise.
10001 (__libc_mallopt): Likewise.
10003 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10005 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10007 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10009 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10010 macro to a function. Check for zero perturb_byte.
10011 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10013 * malloc/malloc.c: (force_reg): Remove.
10014 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10015 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10016 force_reg by atomic_forced_read.
10017 * malloc/arena.c (ptmalloc_init): Likewise.
10018 * malloc/hooks.c (top_check): Likewise.
10020 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10024 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10028 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10030 * math/auto-libm-test-in: Add tests of lgamma.
10031 * math/auto-libm-test-out: Regenerated.
10032 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10033 (M_LOG_2_SQRT_PIl): Likewise.
10034 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10035 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10037 (func_calc_desc): Add mpfr_f_f1 union field.
10038 (ARGS1): New macro.
10046 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10047 (test_functions): Add lgamma.
10048 (calc_generic_results): Handle mpfr_f_f1.
10049 * sysdeps/i386/fpu/libm-test-ulps: Update.
10050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10052 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10054 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10055 __mpn_add_n for PowerPC64/POWER7.
10056 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10057 __mpn_sub_n for PowerPC64/POWER7.
10059 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10060 __mpn_addmul_1 for PowerPC64.
10061 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10062 __mpn_submul_1 for PowerPC64.
10063 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10065 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10068 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10071 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10073 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10075 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10077 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10078 add multiarch folders.
10079 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10080 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10081 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10082 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10083 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10084 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10085 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10086 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10087 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10088 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10089 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10098 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10104 multiarch __ieee754_hypot for PowerPC32.
10105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10110 multiarch __ieee754_hypotf for PowerPC32.
10112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10113 long_double_symbol only if __logbl is defined.
10114 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10115 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10117 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10119 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10120 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10121 path for implementation.
10122 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10123 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10125 logb, and logbl multiarch implementations for PowerPC32.
10126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10131 multiarch logb for PowerPC32.
10132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10137 multiarch logbf for PowerPC32.
10138 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10142 multiarch logbl implementation for PowerPC32.
10144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10145 and modff multiarch implementations.
10146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10151 multiarch modf for PowerPC32.
10152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10157 multiarch modff for PowerPC32.
10159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10160 and lrintf multiarch implementations.
10161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10166 multiarch lrint for PowerPC32.
10167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10168 file: multiarch lrintf for PowerPC32.
10170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10171 and lroundf multiarch implementations.
10172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10179 multiarch lround for PowerPC32.
10180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10181 file: multiarch lroundf for PowerPC32.
10183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10184 copysign and copysignf multiarch implementations.
10185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10190 file: multiarch copysign for PowerPC32.
10191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10192 file: multiarch copysignf for PowerPC32.
10194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10195 and truncf multiarch implementations.
10196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10201 multiarch trunc for PowerPC32.
10202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10207 multiarch truncf for PowerPC32.
10209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10210 and roundf multiarch implementations.
10211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10216 multiarch round for PowerPC32.
10217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10222 multiarch roundf for PowerPC32.
10224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10225 and floorf multiarch implementations.
10226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10231 multiarch floor for PowerPC32.
10232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10237 multiarch floorf for PowerPC32.
10239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10240 and ceilf multiarch implementations.
10241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10246 multiarch ceil for PowerPC32.
10247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10252 multiarch ceilf for PowerPC32.
10254 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10256 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10257 FINITEF is defined.
10258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10259 and finitef multiarch implementations.
10260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10265 multiarch finite for PowerPC32.
10266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10269 file: multiarch finitef for PowerPC32.
10271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10272 and isinff multiarch implementations.
10273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10278 multiarch isinf for PowerPC32.
10279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10282 multiarch isinff for PowerPC32.
10284 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10285 alias when __isnan is defined.
10286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10287 and isnanf multiarch implementations.
10288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10297 multiarch isnan for PowerPC32.
10298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10303 multiarch isnanf for PowerPC32.
10305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10306 and sqrtf multiarch implementations.
10307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10312 multiarch sqrt for PowerPC32.
10313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10318 multiarch sqrtf for PowerPC32.
10320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10321 and llroundf multiarch implementations.
10322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10329 file: multiarch llround for PowerPC32.
10330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10331 file: multiarch llroundf for PowerPC32.
10333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10334 multiarch PowerPC32 fpu implementations.
10335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10340 multiarch llrint for PowerPC32.
10341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10350 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10352 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10354 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10356 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10357 multiarch wordcopy for PPC32.
10358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10361 (__libc_ifunc_impl_list): Likewise.
10362 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10363 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10364 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10365 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10366 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10367 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10369 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10370 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10372 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10374 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10376 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10377 multiarch wcscpy for PPC32.
10378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10381 (__libc_ifunc_impl_list): Likewise.
10382 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10383 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10384 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10385 sysdeps/powerpc/power6/wcscpy.c.
10387 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10388 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10394 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10395 multiarch wcsrchr for PPC32.
10396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10399 (__libc_ifunc_impl_list): Likewise.
10400 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10401 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10402 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10403 sysdeps/powerpc/power6/wcsrchr.c.
10405 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10407 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10409 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10411 multiarch wcschr for PPc32.
10412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10414 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10415 (__libc_ifunc_impl_list): Likewise.
10416 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10417 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10418 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10419 sysdeps/powerpc/power6/wcschr.c.
10421 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10422 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10424 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10425 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10426 file: multiarch strchr for PPC32.
10427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10429 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10430 (__libc_ifunc_impl_list): Likewise.
10432 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10434 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10436 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10438 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10439 multiarch strchrnul for PPC32.
10440 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10443 (__libc_ifunc_impl_list): Likewise.
10445 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10447 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10448 multiarch strncasecmp for PPC32.
10449 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10451 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10452 multiarch strncasecmp_l for PPC32.
10453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10454 strncasecmp multiarch objects.
10455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10456 (__libc_ifunc_impl_list): Likewise.
10458 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10460 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10461 multiarch strncasecmp for PPC32.
10462 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10464 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10465 multiarch strcasecmp_l for PPC32.
10466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10469 (__libc_ifunc_impl_list): Likewise.
10471 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10473 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10475 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10476 multiarch strncmp for PPC32.
10477 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10479 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10480 (__libc_ifunc_impl_list): Likewise.
10482 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10483 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10485 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10486 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10490 (__libc_ifunc_impl_list): Likewise.
10492 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10494 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10496 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10499 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10500 (__libc_ifunc_impl_list): Likewise.
10502 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10504 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10506 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10507 multiarch rawmemchr for PPC32.
10508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10510 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10511 (__libc_ifunc_impl_list): Likewise.
10513 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10515 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10517 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10518 file: memrchr multiarch for PPC32.
10519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10521 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10522 (__libc_ifunc_impl_list): Likewise.
10524 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10525 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10527 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10528 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10529 multiarch memchr for PPC32.
10530 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10532 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10533 (__libc_ifunc_impl_list): Likewise.
10535 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10536 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10538 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10540 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10541 file: multiarch mempcpy for PPC32.
10542 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10544 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10545 (__libc_ifunc_impl_list): Likewise.
10547 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10548 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10549 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10550 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10551 multiarch bzero for PPC32.
10552 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10554 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10556 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10557 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10558 file: multiarch memset for PPC32.
10559 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10561 memset multiarch objects.
10562 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10563 (__libc_ifunc_impl_list): Likewise.
10565 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10567 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10568 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10570 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10571 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10573 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10574 (__libc_ifunc_impl_list): Likewise.
10576 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10577 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10578 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10580 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10582 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10584 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10585 multiarch memcpy for PPC32.
10586 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10588 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10589 (__libc_ifunc_impl_list): Likewise.
10591 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10592 support multiarch for POWER/PPC32.
10593 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10595 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10597 Implies file to make multiarch folder appers before the fpu and
10598 default folder for power4 configuration.
10600 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10602 * scripts/bench.pl: Append volatile keyword to type.
10604 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10606 * sysdeps/sh/sotruss-lib.c: New file.
10607 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10609 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10613 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10616 * math/w_tgamma.c: Include <errno.h>.
10617 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10618 * math/w_tgammaf.c: Include <errno.h>.
10619 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10620 * math/w_tgammal.c: Include <errno.h>.
10621 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10622 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10623 underflow. Add more tgamma tests.
10624 * math/auto-libm-test-out: Regenerated.
10625 * sysdeps/i386/fpu/libm-test-ulps: Update.
10626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10628 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10629 sin, sinh, tan, tanh, tgamma, y0 and y1.
10630 * math/auto-libm-test-out: Regenerated.
10631 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10632 (TEST_COND_x86): Likewise.
10633 (M_E2l): Remove macro.
10635 (M_2_SQRT_PIl): Likewise.
10636 (M_SQRT_PIl): Likewise.
10637 (M_1_DIV_El): Likewise.
10638 (log_test_data): Use AUTO_TESTS_f_f.
10639 (log10_test_data): Likewise.
10640 (log1p_test_data): Likewise.
10641 (log2_test_data): Likewise.
10642 (sin_test_data): Likewise.
10643 (sin_tonearest_test_data): Likewise.
10644 (sin_towardzero_test_data): Likewise.
10645 (sin_downward_test_data): Likewise.
10646 (sin_upward_test_data): Likewise.
10647 (sinh_test_data): Likewise.
10648 (sinh_tonearest_test_data): Likewise.
10649 (sinh_towardzero_test_data): Likewise.
10650 (sinh_downward_test_data): Likewise.
10651 (sinh_upward_test_data): Likewise.
10652 (tan_test_data): Likewise.
10653 (tan_tonearest_test_data): Likewise.
10654 (tan_towardzero_test_data): Likewise.
10655 (tan_downward_test_data): Likewise.
10656 (tan_upward_test_data): Likewise.
10657 (tanh_test_data): Likewise.
10658 (tgamma_test_data): Likewise.
10659 (y0_test_data): Likewise.
10660 (y1_test_data): Likewise.
10661 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10662 (special_real_inputs): Add pi/4.
10663 * sysdeps/i386/fpu/libm-test-ulps: Update.
10664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10666 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10668 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10669 "longjmp_target" static probes.
10670 (__longjmp): Rename to __longjmp_symbol.
10671 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10672 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10673 on which longjmp to generate.
10674 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10675 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10677 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10678 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10679 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10680 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10681 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10682 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10684 __longjmp_symbol based on which __longjmp to generate.
10685 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10687 (setjmp): Rename to setjmp_symbol.
10688 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10689 (_setjmp): Rename to _setjmp_symbol.
10690 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10691 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10692 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10693 which setjmp to generate.
10694 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10695 "longjmp_target" static probes.
10697 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10699 * benchtests/README: Add note about output arguments.
10700 * benchtests/bench-sincos.c: Remove file.
10701 * benchtests/sincos-inputs: New file.
10702 * scripts/bench.pl: Identify output arguments and define
10703 static variables for them.
10705 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10708 * Makefile (INSTALL): Add install-plain.texi as the primary
10710 * manual/install-plain.texi: New file.
10711 * manual/install.texi: Include node directive only for
10712 non-plaintext output.
10714 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10716 * stdlib/longlong.h: Update from GCC.
10720 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10721 * math/w_j0f.c (y0f): Likewise.
10722 * math/w_j0l.c (__y0l): Likewise.
10723 * math/w_j1.c (y1): Likewise.
10724 * math/w_j1f.c (y1f): Likewise.
10725 * math/w_j1l.c (__y1l): Likewise
10726 * math/w_jn.c (yn): Likewise.
10727 * math/w_jnf.c (ynf): Likewise.
10728 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10729 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10730 value for Bessel function domain errors outside _SVID_ mode.
10731 Adjust sign of return value for yn (negative integer, 0).
10732 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10733 by zero in return for negative x and set sign appropriately for
10735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10736 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10737 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10738 expectations in error cases.
10739 (y1_test_data): Likewise.
10740 (yn_test_data): Likewise.
10741 * sysdeps/i386/fpu/libm-test-ulps: Update.
10742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10744 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10746 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10747 "64" to "64-v1". Add "64-v2".
10748 (abi-64-options): Rename to ...
10749 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10750 (abi-64-condition): Rename to ...
10751 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10752 (abi-64-ld-soname): Rename to ...
10753 (abi-64-v1-ld-soname): ... this.
10754 (abi-64-v2-options): Define.
10755 (abi-64-v2-condition): Likewise.
10756 (abi-64-v2-ld-soname): Likewise.
10757 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10758 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10763 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10764 Alan Modra <amodra@gmail.com>
10766 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10767 New versions for use with the ELFv2 ABI.
10768 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10769 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10771 (struct La_ppc64v2_retval): Likewise.
10772 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10773 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10774 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10775 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10776 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10777 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10778 Do not save or restore CR.
10779 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10780 (_dl_profile_resolve): Do no save or restore CR. Support extended
10781 return values for ELFv2 ABI. Fix location of FPR return registers.
10782 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10783 updated values for _CALL_ELF == 2.
10784 (La_regs, La_retval, int_retval): Likewise.
10786 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10788 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10789 (FRAME_MIN_SIZE_PARM): Likewise.
10790 (FRAME_BACKCHAIN): Likewise.
10791 (FRAME_CR_SAVE): Likewise.
10792 (FRAME_LR_SAVE): Likewise.
10793 (FRAME_TOC_SAVE): Likewise.
10794 (FRAME_PARM_SAVE): Likewise.
10795 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10796 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10797 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10798 (call_mcount_parm_offset): New macro.
10799 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10800 (PROF): Use symbolic stack frame offsets.
10801 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10802 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10803 Redefine in terms of FRAME_MIN_SIZE.
10804 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10805 (_dl_profile_resolve): Likewise. Update comment.
10806 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10807 symbols stack frame offsets.
10808 (__sigsetjmp): Likewise.
10809 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10810 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10811 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10812 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10815 (FRAME_BACKCHAIN): Remove.
10816 (FRAME_CR_SAVE): Likewise.
10817 (FRAME_LR_SAVE): Likewise.
10818 (FRAME_COMPILER_DW): Likewise.
10819 (FRAME_LINKER_DW): Likewise.
10820 (FRAME_TOC_SAVE): Likewise.
10821 (FRAME_PARM_SAVE): Likewise.
10822 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10823 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10824 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10826 (CHECK_SP): Use symbolic stack frame offsets.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10828 zone" instead of caller's parameter save area for temp storage.
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10830 Likewise. Also, use symbolic stack frame offsets.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10832 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10833 our own stack frame instead of the caller's.
10834 (__socket): Use symbolic stack frame offsets.
10836 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10837 Alan Modra <amodra@gmail.com>
10839 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10841 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10842 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10843 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10845 (elf_machine_fixup_plt): Call it.
10846 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10848 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10849 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10850 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10851 r2 before calling target.
10853 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10854 Alan Modra <amodra@gmail.com>
10856 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10857 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10858 versions of macros to support ELFv2 ABI.
10859 (LOCALENTRY): New macro.
10860 (ENTRY, EALIGN): Use it.
10861 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10862 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10863 fall through into ENTRY entry point.
10864 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10865 Only define if _CALL_ELF != 2.
10867 (elf_machine_matches_host): Verify ABI version matches.
10868 (RTLD_START): Use LOCALENTRY.
10869 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10870 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10871 (PLT_ENTRY_WORDS): New macro.
10872 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10873 (elf_machine_runtime_setup): Support ELFv2 ABI.
10874 (elf_machine_fixup_plt): Likewise.
10875 (elf_machine_plt_conflict): Likewise.
10876 (resolve_ifunc): Likewise.
10877 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10878 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10881 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10883 (makecontext): Support ELFv2 ABI.
10884 * elf/elf.h (EF_PPC64_ABI): Define.
10886 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10888 * sysdeps/powerpc/powerpc64/sysdep.h
10889 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10890 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10891 (ENTRY) [ASSEMBLER]: ... but instead here ...
10892 (EALIGN) [ASSEMBLER]: ... and here.
10893 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10894 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10895 (ENTRY_2) [!ASSEMBLER]: Use it.
10896 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10897 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10898 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10899 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10900 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10902 Use PPC64_LOAD_FUNCPTR.
10904 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10906 2013-12-04 Alan Modra <amodra@gmail.com>
10908 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10909 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10910 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10911 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10913 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10914 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10915 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10916 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10917 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10918 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10920 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10923 (__makecontext): Fix incorrect CFI when backtracing out of
10924 context created via makecontext.
10925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10926 (__setcontext): Fix incorrect CFI during switch to new context.
10927 (__novec_setcontext): Likewise.
10929 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10932 * time/strptime_l.c (__strptime_internal): Allow modifiers
10934 * time/tst-strptime.c (day_tests): Add testcase.
10936 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10938 * scripts/bench.pl: Skip over blank lines.
10940 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10943 * manual/time.texi (Calendar Time): Clarify what timezone functions
10946 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10950 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10952 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10954 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10955 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10956 * debug/memset_chk.c (__memset_chk): Likewise.
10957 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10958 * debug/strncpy_chk.c: Likewise.
10960 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10964 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10965 (__ieee754_exp): For possibly underflowing results, check size of
10966 result and force underflow exception if required.
10967 * math/auto-libm-test-in: Add more tests of exp.
10968 * math/auto-libm-test-out: Regenerated.
10969 * sysdeps/i386/fpu/libm-test-ulps: Update.
10970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10973 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10974 * math/w_exp2f.c (__exp2f): Likewise.
10975 * math/w_exp2l.c (__exp2l): Likewise.
10976 * math/auto-libm-test-in: Do not allow missing errno on exp2
10978 * math/auto-libm-test-out: Regenerated.
10980 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10983 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10984 handle filename validation.
10985 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10988 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10991 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10992 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10993 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10995 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10996 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10997 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10998 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10999 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11000 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11001 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11002 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11003 Add more erfc tests.
11004 * math/auto-libm-test-out: Regenerated.
11005 * sysdeps/i386/fpu/libm-test-ulps: Update.
11006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11008 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11009 exp2, expm1, j0 and j1.
11010 * math/auto-libm-test-out: Regenerated.
11011 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11012 (erfc_test_data): Likewise.
11013 (exp_test_data): Likewise.
11014 (exp_tonearest_test_data): Likewise.
11015 (exp_towardzero_test_data): Likewise.
11016 (exp_downward_test_data): Likewise.
11017 (exp_upward_test_data): Likewise.
11018 (exp10_test_data): Likewise.
11019 (exp2_test_data): Likewise.
11020 (expm1_test_data): Likewise.
11021 (j0_test_data): Likewise.
11022 (j1_test_data): Likewise.
11023 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11024 (input_flag_type): Add flag_xfail_rounding.
11025 (input_flags): Add xfail-rounding.
11026 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11027 (output_for_one_input_case): Handle flag_xfail_rounding.
11028 * sysdeps/i386/fpu/libm-test-ulps: Update.
11029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11031 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11034 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11037 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11040 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11041 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11042 (STAP_PROBE0): New macro.
11043 (STAP_PROBE1): Likewise.
11044 (STAP_PROBE2): Likewise.
11045 (STAP_PROBE3): Likewise.
11046 (STAP_PROBE4): Likewise.
11048 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11050 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11052 2013-12-02 Steve Ellcey <sellcey@mips.com>
11054 * benchtests/Makefile (bench): Add sqrt.
11055 (LDLIBS-bench-sqrt): New.
11056 * benchtests/sqrt-input: New.
11058 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11060 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11061 (GAIH_EAI): Likewise.
11062 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11063 (gaih_inet): Likewise.
11064 (getaddrinfo): Don't use GAIH_EAI.
11066 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11067 (struct gaih): Remove definition.
11069 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11071 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11072 Use HERRNOP directly.
11074 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11078 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11080 * math/gen-auto-libm-tests.c (test_functions): Add more
11081 single-argument functions.
11082 (special_fill_pi_2): New function.
11083 (special_fill_minus_pi_2): Likewise.
11084 (special_fill_pi_6): Likewise.
11085 (special_fill_minus_pi_6): Likewise.
11086 (special_fill_pi_3): Likewise.
11087 (special_fill_2pi_3): Likewise.
11088 (special_fill_e): Likewise.
11089 (special_fill_1_e): Likewise.
11090 (special_fill_e_minus_1): Likewise.
11091 (special_real_inputs): Add more special inputs.
11092 (output_for_one_input_case): Do not require ERANGE on underflow to
11093 zero if round-to-nearest result does not underflow to zero, unless
11094 exact results required.
11095 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11096 atan, atanh, cbrt, cos and cosh.
11097 * math/auto-libm-test-out: Regenerated.
11098 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11099 (acos_tonearest_test_data): Likewise.
11100 (acos_towardzero_test_data): Likewise.
11101 (acos_downward_test_data): Likewise.
11102 (acos_upward_test_data): Likewise.
11103 (acosh_test_data): Likewise.
11104 (asin_test_data): Likewise.
11105 (asin_tonearest_test_data): Likewise.
11106 (asin_towardzero_test_data): Likewise.
11107 (asin_upward_test_data): Likewise.
11108 (asinh_test_data): Likewise.
11109 (atan_test_data): Likewise.
11110 (atanh_test_data): Likewise.
11111 (cbrt_test_data): Likewise.
11112 (cos_test_data): Likewise.
11113 (cos_tonearest_test_data): Likewise.
11114 (cos_towardzero_test_data): Likewise.
11115 (cos_downward_test_data): Likewise.
11116 (cos_upward_test_data): Likewise.
11117 (cosh_test_data): Likewise.
11118 (cosh_tonearest_test_data): Likewise.
11119 (cosh_towardzero_test_data): Likewise.
11120 (cosh_downward_test_data): Likewise.
11121 (cosh_upward_test_data): Likewise.
11122 * sysdeps/i386/fpu/libm-test-ulps: Update.
11123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11125 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11128 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11129 * math/w_exp10f.c (__exp10f): Likewise.
11130 * math/w_exp10l.c (__exp10l): Likewise.
11131 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11132 errno settings in existing tests.
11135 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11136 precision control set to double precision.
11137 * sysdeps/i386/fpu/w_sqrt.c: New file.
11138 * math/auto-libm-test-in: Add more tests.
11139 * math/auto-libm-test-out: Update.
11141 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11142 (sqrt_test_tonearest): New function.
11143 (sqrt_towardzero_test_data): New variable.
11144 (sqrt_test_towardzero): New function.
11145 (sqrt_downward_test_data): New variable.
11146 (sqrt_test_downward): New function.
11147 (sqrt_upward_test_data): New variable.
11148 (sqrt_test_upward): New function.
11149 (main): Call the new functions.
11151 * math/gen-auto-libm-tests.c: New file.
11152 * math/auto-libm-test-in: Likewise.
11153 * math/auto-libm-test-out: New generated file.
11154 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11156 (%beautify): Add generated representations of zero.
11157 (top level): Set $auto_input and call parse_auto_input.
11158 (beautify): Remove trailing "f" from hex float constants.
11159 (parse_args): Handle XFAIL_TEST.
11160 (convert_condition): New function.
11161 (or_value): Likewise.
11162 (or_cond_value): Likewise.
11163 (generate_testfile): Handle AUTO_TESTS_* lines.
11164 (parse_auto_input): New function.
11165 * math/libm-test.inc (XFAIL_TEST): New macro.
11166 (ERRNO_UNCHANGED): Update value.
11167 (ERRNO_EDOM): Likewise.
11168 (ERRNO_ERANGE): Likewise.
11169 (IGNORE_RESULT): Likewise.
11170 (TEST_COND_flt_32): New macro.
11171 (TEST_COND_dbl_64): Likewise.
11172 (TEST_COND_ldbl_96_intel): Likewise.
11173 (TEST_COND_ldbl_96_m68k): Likewise.
11174 (TEST_COND_ldbl_128): Likewise.
11175 (TEST_COND_ldbl_128ibm): Likewise.
11176 (TEST_COND_long32): Likewise.
11177 (TEST_COND_long64): Likewise.
11178 (TEST_COND_before_rounding): Likewise.
11179 (TEST_COND_after_rounding): Likewise.
11180 (enable_test): Handle XFAIL_TEST flag.
11181 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11182 with finite results.
11183 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11184 auto-libm-test-out.
11186 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11187 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11190 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11191 __tls_get_addr_internal instead of __tls_get_offset in order to
11192 avoid GOT pointer dependency. Make rtld export
11193 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11194 __tls_get_addr since we are a __tls_get_offset platform.
11195 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11196 GOT pointer being set up before.
11197 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11199 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11201 * manual/math.texi (Errors in Math Functions): Document accuracy
11205 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11206 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11209 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11211 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11213 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11214 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11215 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11216 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11219 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11222 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11223 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11224 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11225 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11226 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11228 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11230 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11232 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11233 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11234 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11235 atomic-feupdateenv and flt-rounds.
11236 * sysdeps/powerpc/nofpu/Versions (libc): Add
11237 __atomic_feholdexcept, __atomic_feclearexcept,
11238 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11239 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11240 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11241 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11242 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11247 * manual/arith.texi (FP Exceptions): Document that exceptions may
11248 not be raised when matherr is used.
11249 (Math Error Reporting): Document overflow in directed rounding
11250 modes. Document that errno may not be set when finite values are
11251 returned on overflow. Document intent to set errno on underflow
11252 only for underflow to zero.
11255 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11256 round-to-nearest then adjust result for other rounding modes.
11257 * include/fenv.h (fegetround): Use libm_hidden_proto.
11258 * math/fegetround.c (fegetround): Use libm_hidden_def.
11259 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11260 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11261 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11262 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11264 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11265 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11266 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11267 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11269 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11272 * nss/Versions (libnss_files): Add
11273 _nss_files_gethostbyname3_r.
11274 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11276 (HOST_DB_LOOKUP): Remove macro.
11277 (_nss_files_gethostbyname_r): Implement function without the
11278 HOST_DB_LOOKUP macro.
11279 (_nss_files_gethostbyname2_r): Likewise.
11281 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11283 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11285 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11287 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11288 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11291 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11293 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11294 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11295 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11296 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11297 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11298 __fe_nomask_env_priv and attribute_hidden.
11299 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11300 (libc_feupdateenv_test_ppc): Likewise.
11301 (libc_feresetround_ppc): Likewise.
11302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11303 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11304 compat_symbol macro.
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11306 (__fe_nomask_env): Likewise.
11307 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11309 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11311 * string/Makefile: Remove ifunc tests.
11312 * string/test-string.h: Define TEST_IFUNC.
11313 * string/test-bcopy-ifunc.c: Remove.
11314 * string/test-bzero-ifunc.c: Likewise.
11315 * string/test-memccpy-ifunc.c: Likewise.
11316 * string/test-memchr-ifunc.c: Likewise.
11317 * string/test-memcmp-ifunc.c: Likewise.
11318 * string/test-memcpy-ifunc.c: Likewise.
11319 * string/test-memmem-ifunc.c: Likewise.
11320 * string/test-memmove-ifunc.c: Likewise.
11321 * string/test-mempcpy-ifunc.c: Likewise.
11322 * string/test-memrchr-ifunc.c: Likewise.
11323 * string/test-memset-ifunc.c: Likewise.
11324 * string/test-rawmemchr-ifunc.c: Likewise.
11325 * string/test-stpcpy-ifunc.c: Likewise.
11326 * string/test-stpncpy-ifunc.c: Likewise.
11327 * string/test-strcasecmp-ifunc.c: Likewise.
11328 * string/test-strcasestr-ifunc.c: Likewise.
11329 * string/test-strcat-ifunc.c: Likewise.
11330 * string/test-strchr-ifunc.c: Likewise.
11331 * string/test-strchrnul-ifunc.c: Likewise.
11332 * string/test-strcmp-ifunc.c: Likewise.
11333 * string/test-strcpy-ifunc.c: Likewise.
11334 * string/test-strcspn-ifunc.c: Likewise.
11335 * string/test-strlen-ifunc.c: Likewise.
11336 * string/test-strncasecmp-ifunc.c: Likewise.
11337 * string/test-strncat-ifunc.c: Likewise.
11338 * string/test-strncmp-ifunc.c: Likewise.
11339 * string/test-strncpy-ifunc.c: Likewise.
11340 * string/test-strnlen-ifunc.c: Likewise.
11341 * string/test-strpbrk-ifunc.c: Likewise.
11342 * string/test-strrchr-ifunc.c: Likewise.
11343 * string/test-strspn-ifunc.c: Likewise.
11344 * string/test-strstr-ifunc.c: Likewise.
11346 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11348 * benchtests/Makefile: Remove ifunc tests.
11349 * benchtests/bench-string.h: Define TEST_IFUNC.
11350 * benchtests/bench-bcopy-ifunc.c: Remove.
11351 * benchtests/bench-bzero-ifunc.c: Likewise.
11352 * benchtests/bench-memccpy-ifunc.c: Likewise.
11353 * benchtests/bench-memchr-ifunc.c: Likewise.
11354 * benchtests/bench-memcmp-ifunc.c: Likewise.
11355 * benchtests/bench-memcpy-ifunc.c: Likewise.
11356 * benchtests/bench-memmem-ifunc.c: Likewise.
11357 * benchtests/bench-memmove-ifunc.c: Likewise.
11358 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11359 * benchtests/bench-memrchr-ifunc.c: Likewise.
11360 * benchtests/bench-memset-ifunc.c: Likewise.
11361 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11362 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11363 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11364 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11365 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11366 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11367 * benchtests/bench-strcat-ifunc.c: Likewise.
11368 * benchtests/bench-strchr-ifunc.c: Likewise.
11369 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11370 * benchtests/bench-strcmp-ifunc.c: Likewise.
11371 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11372 * benchtests/bench-strcpy-ifunc.c: Likewise.
11373 * benchtests/bench-strcspn-ifunc.c: Likewise.
11374 * benchtests/bench-strlen-ifunc.c: Likewise.
11375 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11376 * benchtests/bench-strncat-ifunc.c: Likewise.
11377 * benchtests/bench-strncmp-ifunc.c: Likewise.
11378 * benchtests/bench-strncpy-ifunc.c: Likewise.
11379 * benchtests/bench-strnlen-ifunc.c: Likewise.
11380 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11381 * benchtests/bench-strrchr-ifunc.c: Likewise.
11382 * benchtests/bench-strsep-ifunc.c: Likewise.
11383 * benchtests/bench-strspn-ifunc.c: Likewise.
11384 * benchtests/bench-strstr-ifunc.c: Likewise.
11386 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11388 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11390 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11392 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11393 * rt/aio.h: Likewise.
11394 * sysdeps/gnu/bits/utmp.h: Likewise.
11395 * sysdeps/gnu/bits/utmpx.h: Likewise.
11396 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11397 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11398 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11399 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11400 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11401 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11402 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11403 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11404 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11405 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11406 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11407 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11408 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11410 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11411 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11412 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11413 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11414 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11415 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11416 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11417 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11418 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11419 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11420 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11421 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11422 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11423 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11424 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11425 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11426 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11427 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11428 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11429 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11430 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11431 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11432 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11433 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11434 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11435 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11436 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11437 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11439 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11442 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11443 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11445 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11447 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11448 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11451 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11453 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11454 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11455 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11456 (__fesetround): Remove define.
11457 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11458 rounding and exceptions handling.
11459 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11460 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11461 (__fe_nomask_env): Likewise.
11462 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11463 __fegetround instead of fegetround.
11464 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11465 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11467 2013-11-21 Roland McGrath <roland@hack.frob.com>
11469 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11472 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11474 2013-11-21 Meador Inge <meadori@codesourcery.com>
11477 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11478 (encrypt_r): Likewise.
11479 * malloc/obstack.h (obstack_free): Likewise.
11480 * posix/unistd.h (encrypt): Likewise.
11482 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11484 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11485 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11486 DL_CALL_DT_FINI() that call the functions directly.
11487 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11488 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11489 * elf/dl-fini.c: Likewise.
11491 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11493 * malloc/hooks.c (memalign_check): Add alignment rounding.
11494 * malloc/malloc.c (_mid_memalign): New function.
11495 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11496 Implement by calling _mid_memalign.
11497 * manual/probes.texi (Memory Allocation Probes): Remove
11498 memory_valloc_retry and memory_pvalloc_retry.
11500 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11502 * locale/programs/locarchive.c (open_archive): Add const
11503 qualifier to ARCHIVEFNAME and copy default fname to
11507 * libio/tst-widetext.input: Rename Oriya to Odia.
11508 * locale/iso-639.def: Likewise.
11510 * manual/probes.texi (Mathematical Function Probes): Add
11511 documentation for sin, cos, asin and acos probes.
11512 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11513 (__sin32): Add slowasin probe.
11514 (__cos32): Add slowacos probe.
11515 (__mpsin): Add slowsin probe.
11516 (__mpcos): Add slowcos probe.
11518 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11521 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11522 thread-local __sim_exceptions_thread and global
11523 __sim_exceptions_global.
11524 (__sim_disabled_exceptions): Change to thread-local
11525 __sim_disabled_exceptions_thread and global
11526 __sim_disabled_exceptions_global.
11527 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11528 and global __sim_round_mode_global.
11529 (__simulate_exceptions): Use thread-local floating-point state and
11530 set global state from it as needed.
11531 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11532 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11533 __sim_round_mode_thread.
11534 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11535 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11536 and global __sim_exceptions_global.
11537 (__sim_disabled_exceptions): Change to thread-local
11538 __sim_disabled_exceptions_thread and global
11539 __sim_disabled_exceptions_global.
11540 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11541 and global __sim_round_mode_global.
11542 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11543 (SIM_SET_GLOBAL): Likewise.
11544 * sysdeps/powerpc/soft-fp/sfp-machine.h
11545 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11546 __sim_round_mode_thread.
11547 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11548 __sim_disabled_exceptions_thread.
11549 (__sim_exceptions): Change to __sim_exceptions_thread.
11550 (__sim_disabled_exceptions): Change to
11551 __sim_disabled_exceptions_thread.
11552 (__sim_round_mode): Change to __sim_round_mode_thread.
11553 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11554 thread-local floating-point state and set global state from it as
11556 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11557 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11558 (__sim_disabled_exceptions): Remove extern declaration.
11559 (feenableexcept): Use thread-local floating-point state and set
11560 global state from it as needed.
11561 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11562 extern declaration.
11563 (__sim_disabled_exceptions): Likewise.
11564 (__sim_round_mode): Likewise.
11565 (__fegetenv): Use thread-local floating-point state.
11566 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11567 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11568 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11569 floating-point state and set global state from it as needed.
11570 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11571 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11572 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11574 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11575 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11577 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11578 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11579 Use __sim_round_mode_thread.
11580 * math/test-fenv-tls.c: New file.
11581 * math/Makefile (tests): Add test-fenv-tls.
11582 ($(objpfx)test-fenv-tls): Depend on
11583 $(common-objpfx)nptl/libpthread.so.
11585 2013-11-19 Andreas Schwab <schwab@suse.de>
11587 * locale/programs/locale.c (show_info): Decode wordarray elements.
11588 * locale/categories.def (LC_MONETARY): Add element for
11589 _NL_MONETARY_CRNCYSTR.
11590 * locale/C-monetary.c (conversion_rate): New variable.
11591 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11594 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11596 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11597 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11599 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11601 * elf/Makefile (tst-auxv): New test.
11602 * elf/tst-auxv.c: New
11603 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11605 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11607 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11608 (hidden_proto): Caller changed.
11609 (hidden_tls_proto): New macro.
11610 (libc_hidden_tls_proto): Likewise.
11611 (rtld_hidden_tls_proto): Likewise.
11612 (libm_hidden_tls_proto): Likewise.
11613 (libresolv_hidden_tls_proto): Likewise.
11614 (librt_hidden_tls_proto): Likewise.
11615 (libdl_hidden_tls_proto): Likewise.
11616 (libnss_files_hidden_tls_proto): Likewise.
11617 (libnsl_hidden_tls_proto): Likewise.
11618 (libnss_nisplus_hidden_tls_proto): Likewise.
11619 (libutil_hidden_tls_proto): Likewise.
11621 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11624 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11625 (decompose_rpath): Defer expansion to fillin_rpath.
11626 (_dl_init_paths): Pass linkmap to fillin_rpath.
11628 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11630 * benchtests/Makefile: Add strsep.
11631 * benchtests/bench-strsep.c: New file: strsep benchtest.
11632 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11634 2013-11-18 Andreas Schwab <schwab@suse.de>
11636 * locale/programs/locale.c (show_info) [case byte]: Check for
11637 '\377' instead of '\177'.
11638 * locale/C-monetary.c (not_available): Always use "\377".
11639 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11640 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11641 detect unavailable sign_posn locale elements.
11642 * locale/localeconv.c (__localeconv): For grouping and
11643 mon_grouping handle "\177" and "\377" like no grouping.
11644 (INT_ELEM): New macro. Use it to set all numeric members.
11645 * locale/programs/ld-monetary.c (monetary_read)
11646 <tok_mon_grouping>: Normalize single -1 to the empty string.
11647 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11650 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11653 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11654 when we match (nil).
11655 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11657 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11659 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11660 (NO_TEST_INLINE): Update value.
11661 (ERRNO_UNCHANGED): Likewise.
11662 (ERRNO_EDOM): Likewise.
11663 (ERRNO_ERANGE): Likewise.
11664 (IGNORE_RESULT): Likewise.
11665 (check_float_internal): Check signs of NaN results if
11666 TEST_NAN_SIGN used.
11667 (check_complex): Pass TEST_NAN_SIGN flag through to second
11668 check_float_internal call.
11669 (copysign_test_data): Add tests with quiet NaNs as second
11670 argument. Use TEST_NAN_SIGN.
11671 (fabs_test_data): Add test of negative quiet NaN argument. Use
11673 (signbit_test_data): Add tests of quiet NaN argument.
11674 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11676 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11678 (parse_args): Handle function results specified as IGNORE.
11679 * math/libm-test.inc (IGNORE_RESULT): New macro.
11680 (check_float_internal): Do not check numerical result if flag
11682 (check_complex): Pass through IGNORE_RESULT to second
11683 check_float_internal call.
11684 (check_int): Do not check numerical result if flag IGNORE_RESULT
11686 (check_long): Likewise.
11687 (check_bool): Likewise.
11688 (check_longlong): Likewise.
11689 (lrint_test_data): Add tests of infinite and NaN arguments.
11690 (lrint_tonearest_test_data): Likewise.
11691 (lrint_towardzero_test_data): Likewise.
11692 (lrint_downward_test_data): Likewise.
11693 (lrint_upward_test_data): Likewise.
11694 (llrint_test_data): Likewise.
11695 (llrint_tonearest_test_data): Likewise.
11696 (llrint_towardzero_test_data): Likewise.
11697 (llrint_downward_test_data): Likewise.
11698 (llrint_upward_test_data): Likewise.
11699 (lround_test_data): Likewise.
11700 (llround_test_data): Likewise.
11702 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11703 (ERRNO_UNCHANGED): Update value.
11704 (ERRNO_EDOM): Likewise.
11705 (ERRNO_ERANGE): Likewise.
11706 (NO_TEST_INLINE_FLOAT): New macro.
11707 (NO_TEST_INLINE_DOUBLE): Likewise.
11708 (enable_test): New function.
11709 (RUN_TEST_f_f): Check enable_test before running test.
11710 (RUN_TEST_2_f): Likewise.
11711 (RUN_TEST_fff_f): Likewise.
11712 (RUN_TEST_c_f): Likewise.
11713 (RUN_TEST_f_f1): Likewise.
11714 (RUN_TEST_fF_f1): Likewise.
11715 (RUN_TEST_fI_f1): Likewise.
11716 (RUN_TEST_ffI_f1): Likewise.
11717 (RUN_TEST_c_c): Likewise.
11718 (RUN_TEST_cc_c): Likewise.
11719 (RUN_TEST_f_i): Likewise.
11720 (RUN_TEST_f_i_tg): Likewise.
11721 (RUN_TEST_ff_i_tg): Likewise.
11722 (RUN_TEST_f_b): Likewise.
11723 (RUN_TEST_f_b_tg): Likewise.
11724 (RUN_TEST_f_l): Likewise.
11725 (RUN_TEST_f_L): Likewise.
11726 (RUN_TEST_fFF_11): Likewise.
11727 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11729 (cosh_test_data): Likewise.
11730 (exp_test_data): Likewise.
11731 (expm1_test_data): Likewise.
11732 (hypot_test_data): Likewise.
11733 (pow_test_data): Likewise.
11734 (sinh_test_data): Likewise.
11735 (tanh_test_data): Likewise.
11736 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11739 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11740 tests with quiet NaN input and output.
11741 (acosh_test_data): Likewise.
11742 (asin_test_data): Likewise.
11743 (asinh_test_data): Likewise.
11744 (atan_test_data): Likewise.
11745 (atanh_test_data): Likewise.
11746 (atan2_test_data): Likewise.
11747 (cbrt_test_data): Likewise.
11748 (cos_test_data): Likewise.
11749 (cosh_test_data): Likewise.
11750 (erf_test_data): Likewise.
11751 (erfc_test_data): Likewise.
11752 (exp_test_data): Likewise.
11753 (exp10_test_data): Likewise.
11754 (exp2_test_data): Likewise.
11755 (expm1_test_data): Likewise.
11756 (hypot_test_data): Likewise.
11757 (j0_test_data): Likewise.
11758 (j1_test_data): Likewise.
11759 (jn_test_data): Likewise.
11760 (lgamma_test_data): Likewise.
11761 (log_test_data): Likewise.
11762 (log10_test_data): Likewise.
11763 (log1p_test_data): Likewise.
11764 (log2_test_data): Likewise.
11765 (pow_test_data): Likewise.
11766 (scalb_test_data): Likewise.
11767 (sin_test_data): Likewise.
11768 (sincos_test_data): Likewise.
11769 (sinh_test_data): Likewise.
11770 (tan_test_data): Likewise.
11771 (tanh_test_data): Likewise.
11772 (tgamma_test_data): Likewise.
11773 (y0_test_data): Likewise.
11774 (y1_test_data): Likewise.
11775 (yn_test_data): Likewise.
11778 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11779 argument being NaN and avoid computations with second argument in
11781 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11782 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11783 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11785 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11787 * locale/iso-639.def: Add Chitwani Tharu (the).
11789 2013-11-14 Andreas Schwab <schwab@suse.de>
11791 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11792 word instead of empty string.
11794 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11797 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11799 (__fe_nomask_env): Likewise.
11801 2013-11-13 Steve Ellcey <sellcey@mips.com>
11803 * benchtests/bench-timing.h: Include time.h.
11805 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11808 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11810 * sysdeps/unix/sysv/linux/configure: Regenerated.
11812 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11815 * stdlib/strtod_l.c (round_and_return): Do not consider
11816 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11817 exponent one less than half the least subnormal exponent.
11818 * stdlib/test-strtod-round-data: Add more tests.
11819 * stdlib/tst-strtod-round.c (tests): Regenerated.
11821 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11824 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11825 (__fe_mask_env): Likewise.
11826 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11827 libm_hidden_proto and add function prototype.
11828 (__fe_mask_env): Add function prototype.
11829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11830 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11832 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11834 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11836 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11838 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11839 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11841 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11843 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11844 of htab_find_slot().
11846 2013-11-11 David S. Miller <davem@davemloft.net>
11849 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11850 symbol in the non-vis3 case in static builds.
11851 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11852 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11853 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11854 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11856 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11859 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11862 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11864 * benchtests/Makefile: Add bench-strtod.
11865 * benchtests/bench-strtod.c: New file: strtod benchtest
11867 2013-11-11 Andreas Schwab <schwab@suse.de>
11870 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11871 terminating NUL in key length.
11873 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11875 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11876 Add artificial ODP entry for vDSO symbol for PPC64.
11877 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11878 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11880 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11883 * nss/getent.c (services_keys): Recognize services starting with digit.
11885 2013-11-06 David S. Miller <davem@davemloft.net>
11888 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11889 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11891 2013-11-06 Will Newton <will.newton@linaro.org>
11893 * manual/memory.texi (Malloc Examples): Remove register
11894 keyword from examples.
11896 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11898 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11900 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11903 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11904 depending on [__GCC_IEC_559 > 0].
11905 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11906 depending on [__GCC_IEC_559_COMPLEX > 0].
11908 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11910 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11913 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11915 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11917 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11920 * malloc/malloc (malloc_info): Do not handle first bin as
11923 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11925 * locale/iso-639.def: Add Central Nahuatl (nhn).
11927 2013-11-01 Bruno Haible <bruno@clisp.org>
11930 * manual/math.texi (BSD Random): Specify range upper bound as
11933 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11935 * locale/iso-639.def: Add Meadow Mari (mhr).
11937 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11939 [BZ #14752], [BZ #15763]
11940 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11942 * rt/tst_shm.c: Add test for escaping directory.
11944 2013-10-31 Andreas Schwab <schwab@suse.de>
11947 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11948 followed by 'x' as part of digit sequence.
11949 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11951 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11954 * configure.ac: allow GNU Make 4.0 and greater.
11955 * configure: Regenerated.
11957 2013-10-30 Will Newton <will.newton@linaro.org>
11960 * malloc/hooks.c (memalign_check): Limit alignment to the
11961 maximum representable power of two.
11962 * malloc/malloc.c (__libc_memalign): Likewise.
11963 * malloc/tst-memalign.c (do_test): Add test for very
11964 large alignment values.
11965 * malloc/tst-posix_memalign.c (do_test): Likewise.
11967 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11970 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11971 (munmap_chunk): Likewise.
11972 (mremap_chunk): Likewise.
11974 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11977 * stdlib/div.c (div): Remove obsolete code.
11978 * stdlib/ldiv.c (ldiv): Likewise.
11979 * stdlib/lldiv.c (lldiv): Likewise.
11981 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11984 * nss/nss_files/files-XXX.c (get_contents_ret): New
11986 (get_contents): New function.
11987 (internal_getent): Use it. Expand size of LINEBUFLEN.
11989 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11991 * configure.in: Moved to ...
11992 * configure.ac: ... here. Change reference to configure.in
11994 * sysdeps/arm/preconfigure.ac: ... here.
11995 configure.in to configure.ac.
11996 * sysdeps/gnu/configure.in: Moved to ...
11997 * sysdeps/gnu/configure.ac: ... here.
11998 * sysdeps/i386/configure.in: Moved to ...
11999 * sysdeps/i386/configure.ac: ... here.
12000 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12001 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12002 * sysdeps/mach/configure.in: Moved to ...
12003 * sysdeps/mach/configure.ac: ... here.
12004 * sysdeps/mach/hurd/configure.in: Moved to ...
12005 * sysdeps/mach/hurd/configure.ac: ... here.
12006 * sysdeps/powerpc/configure.in: Moved to ...
12007 * sysdeps/powerpc/configure.ac: ... here.
12008 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12009 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12010 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12011 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12012 * sysdeps/s390/s390-32/configure.in: Moved to ...
12013 * sysdeps/s390/s390-32/configure.ac: ... here.
12014 * sysdeps/s390/s390-64/configure.in: Moved to ...
12015 * sysdeps/s390/s390-64/configure.ac: ... here.
12016 * sysdeps/sh/configure.in: Moved to ...
12017 * sysdeps/sh/configure.ac: ... here.
12018 * sysdeps/sparc/configure.in: Moved to ...
12019 * sysdeps/sparc/configure.ac: ... here.
12020 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12021 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12022 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12023 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12024 * sysdeps/x86_64/configure.in: Moved to ...
12025 * sysdeps/x86_64/configure.ac: ... here.
12026 * sysdeps/x86_64/preconfigure.in: Moved to ...
12027 * sysdeps/x86_64/preconfigure.ac: ... here.
12028 * aclocal.m4: Change reference to configure.in to configure.ac.
12029 * config.h.in: Likewise.
12030 * manual/install.texi: Likewise.
12031 * manual/maint.texi: Likewise.
12032 * Makefile: Likewise.
12033 * malloc/Makefile: Likewise.
12034 * nscd/Makefile: Likewise.
12035 * Makeconfig: Change reference to configure.in and
12036 preconfigure.in to configure.ac and preconfigure.ac
12038 * INSTALL: Regenerated.
12039 * configure: Likewise.
12040 * sysdeps/gnu/configure: Likewise.
12041 * sysdeps/i386/configure: Likewise.
12042 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12043 * sysdeps/mach/configure: Likewise.
12044 * sysdeps/mach/hurd/configure: Likewise.
12045 * sysdeps/powerpc/configure: Likewise.
12046 * sysdeps/powerpc/powerpc32/configure: Likewise.
12047 * sysdeps/powerpc/powerpc64/configure: Likewise.
12048 * sysdeps/s390/s390-32/configure: Likewise.
12049 * sysdeps/s390/s390-64/configure: Likewise.
12050 * sysdeps/sh/configure: Likewise.
12051 * sysdeps/sparc/configure: Likewise.
12052 * sysdeps/unix/sysv/linux/configure: Likewise.
12053 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12054 * sysdeps/x86_64/configure: Likewise.
12055 * sysdeps/x86_64/preconfigure: Likewise.
12057 2013-10-29 Andreas Schwab <schwab@suse.de>
12059 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12061 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12063 * benchtests/pow-inputs: Add new inputs.
12065 * benchtests/exp-inputs: Add new inputs.
12067 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12068 conditional check for return value.
12069 (__cos32): Likewise.
12071 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12073 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12074 to provide a boost for large inputs with word alignment.
12075 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12076 implementation based on optimized PPC64 strcpy.
12077 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12078 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12079 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12080 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12082 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12085 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12087 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12090 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12091 * time/tst-strptime.c (day_tests): Add testcase.
12093 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12096 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12098 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12101 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12102 MAP_FAILED on error.
12104 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12107 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12108 heap for large requests.
12110 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12113 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12114 result if the result has no associated interface.
12115 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12116 interface for all 127.X.Y.Z addresses.
12118 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12120 * locale/iso-639.def: Add Ligurian (lij)
12122 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12125 * sunrpc/rpc_main.c: Document rpcgen -5.
12127 2013-10-19 Michael Stahl <mstahl@redhat.com>
12129 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12131 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12134 * posix/glob.c: Match only directories when trailing slash is present.
12135 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12136 (main): Add testcase.
12138 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12141 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12143 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12145 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12146 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12147 AUTH_DES and cindex for FIPS 140-2.
12148 (DES Encryption): Add cindex FIPS 46-3.
12150 * locale/locarchive.h (struct locarhandle): Add fname.
12151 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12152 if an optional argument was specified to --list-archive,
12154 * locale/programs/locarchive.c (show_archive_content): Take new
12155 argument fname and pass it via ah.fname to open_archive.
12156 * locale/programs/localedef.h: Update decl.
12157 (open_archive): If AH->fname is non-null, open that file
12158 rather than the default file name, and don't ignore ENOENT.
12159 (create_archive): Set AH.fname to NULL.
12160 (delete_locales_from_archive): Likewise.
12161 (add_locales_to_archive): Likewise.
12162 * locale/programs/locfile.c (write_all_categories): Likewise.
12164 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12165 Aldy Hernandez <aldyh@redhat.com>
12167 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12168 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12169 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12170 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12171 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12172 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12173 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12174 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12175 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12176 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12177 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12178 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12179 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12180 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12181 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12183 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12185 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12187 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12189 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12190 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12192 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12193 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12194 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12195 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12197 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12198 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12199 * sysdeps/powerpc/preconfigure: Likewise.
12200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12202 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12203 Replace contents of file by #include of <fenv_libc.h>.
12204 * sysdeps/powerpc/soft-fp/sfp-machine.h
12205 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12207 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12208 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12209 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12210 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12211 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12212 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12214 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12215 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12216 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12217 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12218 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12220 Allow copysignl PLT reference to be missing.
12222 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12223 Joseph Myers <joseph@codesourcery.com
12226 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12228 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12230 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12232 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12233 * elf/tst-tls1.c: Likewise.
12234 * elf/tst-tls10.h: Likewise.
12235 * elf/tst-tls14.c: Likewise.
12236 * elf/tst-tls2.c: Likewise.
12237 * elf/tst-tls3.c: Likewise.
12238 * elf/tst-tls4.c: Likewise.
12239 * elf/tst-tls5.c: Likewise.
12240 * elf/tst-tls6.c: Likewise.
12241 * elf/tst-tls7.c: Likewise.
12242 * elf/tst-tls8.c: Likewise.
12243 * elf/tst-tls9.c: Likewise.
12244 * elf/tst-tlsmod1.c: Likewise.
12245 * elf/tst-tlsmod13.c: Likewise.
12246 * elf/tst-tlsmod13a.c: Likewise.
12247 * elf/tst-tlsmod14a.c: Likewise.
12248 * elf/tst-tlsmod16a.c: Likewise.
12249 * elf/tst-tlsmod16b.c: Likewise.
12250 * elf/tst-tlsmod2.c: Likewise.
12251 * elf/tst-tlsmod3.c: Likewise.
12252 * elf/tst-tlsmod4.c: Likewise.
12253 * elf/tst-tlsmod5.c: Likewise.
12254 * elf/tst-tlsmod6.c: Likewise.
12256 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12259 * malloc/malloc.c: remove checks for statistics.
12261 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12264 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12265 * inet/tst-network.c: Add testcase.
12267 2013-10-17 Andreas Schwab <schwab@suse.de>
12270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12271 to determine canonical name.
12273 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12275 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12276 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12277 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12278 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12280 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12293 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12294 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12295 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12299 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12300 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12305 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12310 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12311 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12312 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12314 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12315 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12316 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12317 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12318 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12319 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12320 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12321 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12322 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12323 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12324 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12325 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12326 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12327 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12328 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12329 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12330 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12331 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12332 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12334 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12337 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12338 make result into a quiet NaN.
12340 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12342 * soft-fp/adddf3.c: Fix horizontal whitespace.
12343 * soft-fp/addsf3.c: Likewise.
12344 * soft-fp/addtf3.c: Likewise.
12345 * soft-fp/divdf3.c: Likewise.
12346 * soft-fp/divsf3.c: Likewise.
12347 * soft-fp/divtf3.c: Likewise.
12348 * soft-fp/double.h: Likewise.
12349 * soft-fp/eqdf2.c: Likewise.
12350 * soft-fp/eqsf2.c: Likewise.
12351 * soft-fp/eqtf2.c: Likewise.
12352 * soft-fp/extenddftf2.c: Likewise.
12353 * soft-fp/extended.h: Likewise.
12354 * soft-fp/extendsfdf2.c: Likewise.
12355 * soft-fp/extendsftf2.c: Likewise.
12356 * soft-fp/extendxftf2.c: Likewise.
12357 * soft-fp/fixdfdi.c: Likewise.
12358 * soft-fp/fixdfsi.c: Likewise.
12359 * soft-fp/fixdfti.c: Likewise.
12360 * soft-fp/fixsfdi.c: Likewise.
12361 * soft-fp/fixsfsi.c: Likewise.
12362 * soft-fp/fixsfti.c: Likewise.
12363 * soft-fp/fixtfdi.c: Likewise.
12364 * soft-fp/fixtfsi.c: Likewise.
12365 * soft-fp/fixtfti.c: Likewise.
12366 * soft-fp/fixunsdfdi.c: Likewise.
12367 * soft-fp/fixunsdfsi.c: Likewise.
12368 * soft-fp/fixunsdfti.c: Likewise.
12369 * soft-fp/fixunssfdi.c: Likewise.
12370 * soft-fp/fixunssfsi.c: Likewise.
12371 * soft-fp/fixunssfti.c: Likewise.
12372 * soft-fp/fixunstfdi.c: Likewise.
12373 * soft-fp/fixunstfsi.c: Likewise.
12374 * soft-fp/fixunstfti.c: Likewise.
12375 * soft-fp/floatdidf.c: Likewise.
12376 * soft-fp/floatdisf.c: Likewise.
12377 * soft-fp/floatditf.c: Likewise.
12378 * soft-fp/floatsidf.c: Likewise.
12379 * soft-fp/floatsisf.c: Likewise.
12380 * soft-fp/floatsitf.c: Likewise.
12381 * soft-fp/floattidf.c: Likewise.
12382 * soft-fp/floattisf.c: Likewise.
12383 * soft-fp/floattitf.c: Likewise.
12384 * soft-fp/floatundidf.c: Likewise.
12385 * soft-fp/floatundisf.c: Likewise.
12386 * soft-fp/floatunditf.c: Likewise.
12387 * soft-fp/floatunsidf.c: Likewise.
12388 * soft-fp/floatunsisf.c: Likewise.
12389 * soft-fp/floatunsitf.c: Likewise.
12390 * soft-fp/floatuntidf.c: Likewise.
12391 * soft-fp/floatuntisf.c: Likewise.
12392 * soft-fp/floatuntitf.c: Likewise.
12393 * soft-fp/fmadf4.c: Likewise.
12394 * soft-fp/fmasf4.c: Likewise.
12395 * soft-fp/fmatf4.c: Likewise.
12396 * soft-fp/gedf2.c: Likewise.
12397 * soft-fp/gesf2.c: Likewise.
12398 * soft-fp/getf2.c: Likewise.
12399 * soft-fp/ledf2.c: Likewise.
12400 * soft-fp/lesf2.c: Likewise.
12401 * soft-fp/letf2.c: Likewise.
12402 * soft-fp/muldf3.c: Likewise.
12403 * soft-fp/mulsf3.c: Likewise.
12404 * soft-fp/multf3.c: Likewise.
12405 * soft-fp/negdf2.c: Likewise.
12406 * soft-fp/negsf2.c: Likewise.
12407 * soft-fp/negtf2.c: Likewise.
12408 * soft-fp/op-1.h: Likewise.
12409 * soft-fp/op-2.h: Likewise.
12410 * soft-fp/op-4.h: Likewise.
12411 * soft-fp/op-8.h: Likewise.
12412 * soft-fp/op-common.h: Likewise.
12413 * soft-fp/quad.h: Likewise.
12414 * soft-fp/single.h: Likewise.
12415 * soft-fp/soft-fp.h: Likewise.
12416 * soft-fp/sqrtdf2.c: Likewise.
12417 * soft-fp/sqrtsf2.c: Likewise.
12418 * soft-fp/sqrttf2.c: Likewise.
12419 * soft-fp/subdf3.c: Likewise.
12420 * soft-fp/subsf3.c: Likewise.
12421 * soft-fp/subtf3.c: Likewise.
12422 * soft-fp/truncdfsf2.c: Likewise.
12423 * soft-fp/trunctfdf2.c: Likewise.
12424 * soft-fp/trunctfsf2.c: Likewise.
12425 * soft-fp/trunctfxf2.c: Likewise.
12426 * soft-fp/unorddf2.c: Likewise.
12427 * soft-fp/unordsf2.c: Likewise.
12428 * soft-fp/unordtf2.c: Likewise.
12430 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12432 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12433 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12435 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12437 * elf/dl-libc.c: Clear initfini list after freeing.
12439 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12441 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12442 * soft-fp/addsf3.c: Likewise.
12443 * soft-fp/addtf3.c: Likewise.
12444 * soft-fp/divdf3.c: Likewise.
12445 * soft-fp/divsf3.c: Likewise.
12446 * soft-fp/divtf3.c: Likewise.
12447 * soft-fp/double.h: Likewise.
12448 * soft-fp/eqdf2.c: Likewise.
12449 * soft-fp/eqsf2.c: Likewise.
12450 * soft-fp/eqtf2.c: Likewise.
12451 * soft-fp/extenddftf2.c: Likewise.
12452 * soft-fp/extended.h: Likewise.
12453 * soft-fp/extendsfdf2.c: Likewise.
12454 * soft-fp/extendsftf2.c: Likewise.
12455 * soft-fp/extendxftf2.c: Likewise.
12456 * soft-fp/fixdfdi.c: Likewise.
12457 * soft-fp/fixdfsi.c: Likewise.
12458 * soft-fp/fixdfti.c: Likewise.
12459 * soft-fp/fixsfdi.c: Likewise.
12460 * soft-fp/fixsfsi.c: Likewise.
12461 * soft-fp/fixsfti.c: Likewise.
12462 * soft-fp/fixtfdi.c: Likewise.
12463 * soft-fp/fixtfsi.c: Likewise.
12464 * soft-fp/fixtfti.c: Likewise.
12465 * soft-fp/fixunsdfdi.c: Likewise.
12466 * soft-fp/fixunsdfsi.c: Likewise.
12467 * soft-fp/fixunsdfti.c: Likewise.
12468 * soft-fp/fixunssfdi.c: Likewise.
12469 * soft-fp/fixunssfsi.c: Likewise.
12470 * soft-fp/fixunssfti.c: Likewise.
12471 * soft-fp/fixunstfdi.c: Likewise.
12472 * soft-fp/fixunstfsi.c: Likewise.
12473 * soft-fp/fixunstfti.c: Likewise.
12474 * soft-fp/floatdidf.c: Likewise.
12475 * soft-fp/floatdisf.c: Likewise.
12476 * soft-fp/floatditf.c: Likewise.
12477 * soft-fp/floatsidf.c: Likewise.
12478 * soft-fp/floatsisf.c: Likewise.
12479 * soft-fp/floatsitf.c: Likewise.
12480 * soft-fp/floattidf.c: Likewise.
12481 * soft-fp/floattisf.c: Likewise.
12482 * soft-fp/floattitf.c: Likewise.
12483 * soft-fp/floatundidf.c: Likewise.
12484 * soft-fp/floatundisf.c: Likewise.
12485 * soft-fp/floatunsidf.c: Likewise.
12486 * soft-fp/floatunsisf.c: Likewise.
12487 * soft-fp/floatuntidf.c: Likewise.
12488 * soft-fp/floatuntisf.c: Likewise.
12489 * soft-fp/floatuntitf.c: Likewise.
12490 * soft-fp/fmadf4.c: Likewise.
12491 * soft-fp/fmasf4.c: Likewise.
12492 * soft-fp/fmatf4.c: Likewise.
12493 * soft-fp/gedf2.c: Likewise.
12494 * soft-fp/gesf2.c: Likewise.
12495 * soft-fp/getf2.c: Likewise.
12496 * soft-fp/ledf2.c: Likewise.
12497 * soft-fp/lesf2.c: Likewise.
12498 * soft-fp/letf2.c: Likewise.
12499 * soft-fp/muldf3.c: Likewise.
12500 * soft-fp/mulsf3.c: Likewise.
12501 * soft-fp/multf3.c: Likewise.
12502 * soft-fp/negdf2.c: Likewise.
12503 * soft-fp/negsf2.c: Likewise.
12504 * soft-fp/negtf2.c: Likewise.
12505 * soft-fp/op-1.h: Likewise.
12506 * soft-fp/op-2.h: Likewise.
12507 * soft-fp/op-4.h: Likewise.
12508 * soft-fp/op-8.h: Likewise.
12509 * soft-fp/op-common.h: Likewise.
12510 * soft-fp/quad.h: Likewise.
12511 * soft-fp/single.h: Likewise.
12512 * soft-fp/soft-fp.h: Likewise.
12513 * soft-fp/sqrtdf2.c: Likewise.
12514 * soft-fp/sqrtsf2.c: Likewise.
12515 * soft-fp/sqrttf2.c: Likewise.
12516 * soft-fp/subdf3.c: Likewise.
12517 * soft-fp/subsf3.c: Likewise.
12518 * soft-fp/subtf3.c: Likewise.
12519 * soft-fp/truncdfsf2.c: Likewise.
12520 * soft-fp/trunctfdf2.c: Likewise.
12521 * soft-fp/trunctfsf2.c: Likewise.
12522 * soft-fp/trunctfxf2.c: Likewise.
12523 * soft-fp/unorddf2.c: Likewise.
12524 * soft-fp/unordsf2.c: Likewise.
12525 * soft-fp/unordtf2.c: Likewise.
12527 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12530 * misc/error.c (error_tail): Fix possible buffer overflow.
12532 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12535 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12538 2013-10-14 P. J. McDermott <pj@pehjota.net>
12541 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12542 testing pipefail option.
12544 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12546 * soft-fp/double.h: Indent preprocessor directives inside #if.
12547 * soft-fp/extended.h: Likewise.
12548 * soft-fp/op-2.h: Likewise.
12549 * soft-fp/op-4.h: Likewise.
12550 * soft-fp/op-common.h: Likewise.
12551 * soft-fp/quad.h: Likewise.
12552 * soft-fp/single.h: Likewise.
12553 * soft-fp/soft-fp.h: Likewise.
12555 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12557 * iconv/iconv_prog.c: Fix typos.
12558 * stdio-common/psiginfo-data.h: Likewise.
12560 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12563 * locale/setlocale.c: Fix typo.
12565 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12568 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12569 signaling NaN arguments.
12570 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12571 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12574 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12575 unordered operands.
12576 * soft-fp/gesf2.c (__gesf2): Likewise.
12577 * soft-fp/getf2.c (__getf2): Likewise.
12578 * soft-fp/ledf2.c (__ledf2): Likewise.
12579 * soft-fp/lesf2.c (__lesf2): Likewise.
12580 * soft-fp/letf2.c (__letf2): Likewise.
12582 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12583 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12584 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12585 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12586 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12587 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12588 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12589 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12590 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12591 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12592 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12593 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12594 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12595 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12596 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12597 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12598 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12599 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12600 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12601 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12602 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12603 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12604 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12605 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12606 * soft-fp/floattidf.c (__floattidf): Likewise.
12607 * soft-fp/floattisf.c (__floattisf): Likewise.
12608 * soft-fp/floattitf.c (__floattitf): Likewise.
12609 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12610 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12611 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12612 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12613 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12614 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12615 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12616 * soft-fp/gesf2.c (__gesf2): Likewise.
12617 * soft-fp/getf2.c (__getf2): Likewise.
12618 * soft-fp/ledf2.c (__ledf2): Likewise.
12619 * soft-fp/lesf2.c (__lesf2): Likewise.
12620 * soft-fp/letf2.c (__letf2): Likewise.
12622 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12623 Undefine and redefine.
12624 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12625 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12626 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12627 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12628 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12629 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12630 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12631 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12632 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12633 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12634 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12635 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12636 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12637 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12638 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12641 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12642 without decrementing exponent if mantissa >= that for the
12643 denominator, not >.
12644 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12645 denominator, not >. Decrement exponent in < case instead of
12646 incrementing in >= case.
12647 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12648 without decrementing exponent if mantissa >= that for the
12649 denominator, not >.
12651 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12652 computing saturated result for unsigned overflow.
12654 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12655 Jeff Law <law@redhat.com>
12657 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12658 (atan2Mp): Add systemtap probe marker.
12659 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12660 (__ieee754_log): Add systemtap probe marker.
12661 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12662 (atanMp): Add systemtap probe marker.
12663 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12664 (tanMp): Add systemtap probe marker.
12665 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12666 (__slowexp): Add systemtap probe marker.
12667 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12668 (__slowpow): Add systemtap probe marker.
12669 * manual/probes.texi: Document probes.
12671 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12674 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12676 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12678 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12679 written to buffer but not flushed.
12680 * libio/iofwrite_u.c: Likewise.
12681 * libio/iopadn.c: Return bytes returned even if EOF was
12683 * libio/iowpadn.c: Likewise.
12684 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12685 if _IO_padn does not write the whole buffer.
12686 [!COMPILE_WPRINTF] (PAD): Likewise.
12688 2013-10-10 David S. Miller <davem@davemloft.net>
12690 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12693 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12695 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12696 instead of FSF address.
12697 * soft-fp/fixdfti.c: Likewise.
12698 * soft-fp/fixsfti.c: Likewise.
12699 * soft-fp/fixtfti.c: Likewise.
12700 * soft-fp/fixunsdfti.c: Likewise.
12701 * soft-fp/fixunssfti.c: Likewise.
12702 * soft-fp/fixunstfti.c: Likewise.
12703 * soft-fp/floattidf.c: Likewise.
12704 * soft-fp/floattisf.c: Likewise.
12705 * soft-fp/floattitf.c: Likewise.
12706 * soft-fp/floatuntidf.c: Likewise.
12707 * soft-fp/floatuntisf.c: Likewise.
12708 * soft-fp/floatuntitf.c: Likewise.
12709 * soft-fp/trunctfxf2.c: Likewise.
12711 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12712 * soft-fp/fixdfti.c: Likewise.
12713 * soft-fp/fixsfti.c: Likewise.
12714 * soft-fp/fixtfti.c: Likewise.
12715 * soft-fp/fixunsdfti.c: Likewise.
12716 * soft-fp/fixunssfti.c: Likewise.
12717 * soft-fp/fixunstfti.c: Likewise.
12718 * soft-fp/floattidf.c: Likewise.
12719 * soft-fp/floattisf.c: Likewise.
12720 * soft-fp/floattitf.c: Likewise.
12721 * soft-fp/floatuntidf.c: Likewise.
12722 * soft-fp/floatuntisf.c: Likewise.
12723 * soft-fp/floatuntitf.c: Likewise.
12724 * soft-fp/trunctfxf2.c: Likewise.
12726 2013-10-10 David S. Miller <davem@davemloft.net>
12728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12730 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12732 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12733 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12734 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12735 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12736 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12737 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12738 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12740 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12741 for NaNs before doing comparisons on argument.
12742 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12745 2013-10-10 Will Newton <will.newton@linaro.org>
12747 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12748 passed to _int_memalign does not overflow.
12750 2013-10-10 Torvald Riegel <triegel@redhat.com>
12752 * scripts/bench.pl: Add include-sources directive.
12753 * benchtests/README: Update documentation.
12755 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12757 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12758 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12759 instead of FP_INIT_ROUNDMODE.
12760 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12761 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12764 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12765 copy class of input value.
12766 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12767 not handle exceptions.
12768 * soft-fp/negsf2.c (__negsf2): Likewise.
12769 * soft-fp/negtf2.c (__negtf2): Likewise.
12770 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12772 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12774 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12775 semicolon. From Linux kernel.
12777 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12779 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12781 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12784 * manual/socket.texi: Added statement about buffer
12785 for gethostbyname2_r.
12787 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12789 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12790 Use .p2align directive instead, throughout.
12791 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12792 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12793 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12794 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12795 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12796 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12797 * sysdeps/x86_64/strchr.S: Likewise.
12798 * sysdeps/x86_64/strrchr.S: Likewise.
12800 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12802 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12804 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12806 * sysdeps/generic/math_private.h (__mpsin1): Remove
12808 (__mpcos1): Likewise.
12809 (__mpsin): New argument __range_reduce.
12810 (__mpcos): Likewise.
12811 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12812 (slow): Use __mpsin and __mpcos.
12816 (sloww1): Likewise.
12817 (sloww2): Likewise.
12818 (bsloww): Likewise.
12819 (bsloww1): Likewise.
12820 (bsloww2): Likewise.
12821 (cslow2): Likewise.
12822 (csloww): Likewise.
12823 (csloww1): Likewise.
12824 (csloww2): Likewise.
12825 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12826 range_reduce. Merge in __mpsin1.
12827 (__mpcos): Likewise.
12828 (__mpsin1): Remove.
12829 (__mpcos1): Likewise.
12831 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12833 * locale/loadlocale.c (_nl_intern_locale_data): Use
12835 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12836 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12837 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12838 obstack data is appropriately aligned.
12839 (obstack_int32_grow_fast): Likewise.
12840 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12841 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12842 (add_locale_uint32_array): Likewise.
12844 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12846 * benchtests/Makefile: Remove ARGLIST and RET variables.
12847 ($(objpfx)bench-%.c): Pass only function name to the script.
12848 * benchtests/README: Update documentation.
12849 * benchtests/acos-inputs: Add new directives.
12850 * benchtests/acosh-inputs: Likewise.
12851 * benchtests/asin-inputs: Likewise.
12852 * benchtests/asinh-inputs: Likewise.
12853 * benchtests/atan-inputs: Likewise.
12854 * benchtests/atanh-inputs: Likewise.
12855 * benchtests/cos-inputs: Likewise.
12856 * benchtests/cosh-inputs: Likewise.
12857 * benchtests/exp-inputs: Likewise.
12858 * benchtests/log-inputs: Likewise.
12859 * benchtests/pow-inputs: Likewise.
12860 * benchtests/rint-inputs: Likewise.
12861 * benchtests/sin-inputs: Likewise.
12862 * benchtests/sinh-inputs: Likewise.
12863 * benchtests/tan-inputs: Likewise.
12864 * benchtests/tanh-inputs: Likewise.
12865 * scripts/bench.pl: Add support for new directives.
12867 2013-10-07 Alan Modra <amodra@gmail.com>
12869 * README: Fix careless merge.
12871 2013-10-05 Alan Modra <amodra@gmail.com>
12873 * NEWS: Mention powerpc64le support and bugs fixed.
12874 * README: Both big-endian and little-endian powerpc64 supported.
12876 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12878 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12879 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12880 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12881 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12883 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12885 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12888 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12890 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12891 Move -mhard-float appending from
12892 ports/sysdeps/powerpc/powerpc32/Makefile.
12893 [$(with-fp) = yes] (ASFLAGS): Likewise.
12894 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12895 * sysdeps/powerpc/nofpu: Move directory from
12896 ports/sysdeps/powerpc/nofpu.
12897 * sysdeps/powerpc/soft-fp: Move directory from
12898 ports/sysdeps/powerpc/soft-fp.
12899 * sysdeps/powerpc/powerpc32/405: Move directory from
12900 ports/sysdeps/powerpc/powerpc32/405.
12901 * sysdeps/powerpc/powerpc32/440: Move directory from
12902 ports/sysdeps/powerpc/powerpc32/440.
12903 * sysdeps/powerpc/powerpc32/464: Move directory from
12904 ports/sysdeps/powerpc/powerpc32/464.
12905 * sysdeps/powerpc/powerpc32/476: Move directory from
12906 ports/sysdeps/powerpc/powerpc32/476.
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12908 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12910 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12912 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12914 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12916 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12917 * README: Update for powerpc-*-linux-gnu software floating point
12920 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12921 case to powerpc/powerpc32*.
12922 * sysdeps/unix/sysv/linux/configure: Regenerated.
12924 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12925 (_FPU_MASK_OM): Define as 0x04.
12926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12927 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12929 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12934 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12937 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12940 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12941 and setcontext_e500.
12943 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12945 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12947 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12949 * manual/threads.texi (Default Thread Attributes): Fix typo.
12951 2013-10-04 Will Newton <will.newton@linaro.org>
12953 * malloc/Makefile: Add tst-memalign.
12954 * malloc/tst-memalign.c: New file.
12956 * malloc/tst-posix_memalign.c: Add comments.
12957 (do_test): Add comments and call free on all potentially
12958 allocated pointers. Add space after cast.
12960 * malloc/tst-pvalloc.c: Add comments.
12961 (do_test): Add comments and call free on all potentially
12962 allocated pointers. Remove duplicate check for NULL pointer.
12963 Add space after cast.
12965 * malloc/tst-valloc.c: Add comments.
12966 (do_test): Add comments and call free on all potentially
12967 allocated pointers. Remove duplicate check for NULL pointer.
12968 Add space after cast.
12970 2013-10-04 Alan Modra <amodra@gmail.com>
12972 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12973 Use stdint types in rather than __attribute__((mode())).
12974 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12976 2013-10-04 Alan Modra <amodra@gmail.com>
12978 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12979 Correct handling of unaligned relocs for little-endian.
12980 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12982 2013-10-04 Alan Modra <amodra@gmail.com>
12984 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12985 * configure: Regenerate.
12986 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12987 * shlib-versions: Likewise.
12989 2013-10-04 Alan Modra <amodra@gmail.com>
12991 * string/tester.c (test_memrchr): Increment reported test cycle.
12993 2013-10-04 Alan Modra <amodra@gmail.com>
12995 * string/test-memcpy.c (do_one_test): When reporting errors, print
12996 string address and don't overrun end of string.
12998 2013-10-04 Alan Modra <amodra@gmail.com>
13000 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13001 insrdi. Make better use of reg selection to speed exit slightly.
13002 Schedule entry path a little better. Remove useless "are we done"
13003 checks on entry to main loop. Handle wrapping around zero address.
13004 Correct main loop count. Handle single left-over word from main
13005 loop inline rather than by using loop_small. Remove extra word
13006 case in loop_small caused by wrong loop count. Add little-endian
13008 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13009 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13011 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13012 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13013 support. Avoid rlwimi.
13014 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13016 2013-10-04 Alan Modra <amodra@gmail.com>
13018 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13019 insrdi. Formatting.
13020 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13021 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13022 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13023 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13024 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13025 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13027 2013-10-04 Alan Modra <amodra@gmail.com>
13029 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13030 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13031 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13032 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13033 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13034 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13035 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13036 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13037 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13038 use of regs. Use power7 mtocrf. Tidy function tails.
13040 2013-10-04 Alan Modra <amodra@gmail.com>
13042 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13043 Formatting. Consistently use rXXX register defines or rN defines.
13044 Use early exit labels that avoid restoring unused non-volatile regs.
13045 Make cr field use more consistent with rWORDn compares. Rename
13046 regs used as shift registers for unaligned loop, using rN defines
13047 for short lifetime/multiple use regs.
13048 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13049 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13050 addi 1,1,64 to pop stack frame. Simplify return value code.
13051 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13053 2013-10-04 Alan Modra <amodra@gmail.com>
13055 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13056 support. Correct typos, formatting. Optimize tail. Use insrdi
13057 rather than rlwimi.
13058 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13059 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13060 little-endian support. Correct typos.
13061 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13062 rather than rlwimi.
13063 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13064 in loop and entry code to keep "and." results.
13065 (strchr): Add little-endian support. Comment. Move cntlzd
13067 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13069 2013-10-04 Alan Modra <amodra@gmail.com>
13071 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13072 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13073 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13074 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13076 2013-10-04 Alan Modra <amodra@gmail.com>
13078 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13079 (rTMP): Define as r11.
13080 (strcmp): Add little-endian support. Optimise tail.
13081 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13082 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13083 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13084 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13085 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13086 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13087 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13089 2013-10-04 Alan Modra <amodra@gmail.com>
13091 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13092 little-endian support. Remove unnecessary "are we done" tests.
13093 Handle "s" wrapping around zero and extremely large "size".
13094 Correct main loop count. Handle single left-over word from main
13095 loop inline rather than by using small_loop. Correct comments.
13096 Delete "zero" tail, use "end_max" instead.
13097 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13099 2013-10-04 Alan Modra <amodra@gmail.com>
13101 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13102 support. Don't branch over align.
13103 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13104 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13105 support. Rearrange tmp reg use to suit. Comment.
13106 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13108 2013-10-04 Alan Modra <amodra@gmail.com>
13110 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13112 2013-10-04 Alan Modra <amodra@gmail.com>
13114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13115 conditional form of branch and link when obtaining pc.
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13118 2013-10-04 Alan Modra <amodra@gmail.com>
13120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13125 2013-10-04 Alan Modra <amodra@gmail.com>
13127 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13128 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13129 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13130 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13131 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13132 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13133 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13134 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13135 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13136 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13138 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13139 Alistair Popple <alistair@ozlabs.au.ibm.com>
13140 Alan Modra <amodra@gmail.com>
13143 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13144 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13145 _dl_hwcap access for little-endian.
13146 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13147 destroy vmx regs when saving unaligned.
13148 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13149 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13150 destroy vmx regs when saving unaligned.
13152 2013-10-04 Alan Modra <amodra@gmail.com>
13154 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13155 Don't use a union to pack hi/low value.
13157 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13159 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13161 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13162 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13163 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13164 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13165 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13167 2013-10-04 Alan Modra <amodra@gmail.com>
13169 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13170 constants to usual value for .cst8 section, and remove redundant
13172 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13173 constant for 0x1p52. Load little-endian words of double from
13174 correct stack offsets.
13176 2013-10-04 Alan Modra <amodra@gmail.com>
13178 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13179 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13180 words of double from correct stack offsets.
13181 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13182 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13183 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13184 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13185 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13186 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13187 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13188 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13189 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13190 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13191 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13192 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13193 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13194 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13195 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13196 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13197 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13199 2013-10-04 Alan Modra <amodra@gmail.com>
13201 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13202 64-bit int/double union.
13203 (_FPU_SETCW): Likewise.
13204 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13205 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13207 2013-10-04 Alan Modra <amodra@gmail.com>
13209 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13210 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13212 2013-10-04 Alan Modra <amodra@gmail.com>
13214 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13215 use vector int constants.
13216 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13218 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13220 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13221 array with long long.
13222 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13223 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13224 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13225 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13226 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13227 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13228 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13229 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13230 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13231 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13232 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13233 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13234 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13236 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13238 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13239 (__signbit): Likewise. Correct for little-endian.
13240 (__signbitl): Call __signbit.
13241 (lrint): Correct for little-endian.
13242 (lrintf): Call lrint.
13244 2013-10-04 Alan Modra <amodra@gmail.com>
13246 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13247 union 32-bit int array member with 64-bit int array.
13248 (t515, tm256): Double rather than long double.
13249 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13251 2013-10-04 Alan Modra <amodra@gmail.com>
13253 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13255 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13256 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13257 version of math_ldbl.h.
13259 2013-10-04 Alan Modra <amodra@gmail.com>
13261 [BZ #15734], [BZ #15735]
13262 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13263 all uses of ieee875 long double macros and unions. Simplify test
13264 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13265 ldbl_extract_mantissa value for ix,iy exponents. Properly
13266 normalize after ldbl_extract_mantissa, and don't add hidden bit
13267 already handled. Don't treat low word of ieee854 mantissa like
13268 low word of IBM long double and mask off bit when testing for
13270 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13271 all uses of ieee875 long double macros and unions. Simplify tests
13272 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13273 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13274 two1022, instead use their values. Recognise that tests for large
13275 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13276 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13277 Rewrite all uses of ieee875 long double macros and unions. Simplify
13278 test for 0.0L and nan. Correct negation.
13279 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13280 ieee875 long double macros and unions. Correct output for large
13281 magnitude x. Correct absolute value calculation.
13282 (__erfcl): Likewise.
13283 * math/libm-test.inc: Add tests for errors discovered in IBM long
13284 double versions of fmodl, remainderl, erfl and erfcl.
13286 2013-10-04 Alan Modra <amodra@gmail.com>
13288 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13289 all uses of ieee854 long double macros and unions. Simplify tests
13290 for long doubles that are fully specified by the high double.
13291 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13293 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13294 Remove dead code too.
13295 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13296 (__ieee754_ynl): Likewise.
13297 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13298 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13299 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13300 Remove dead code too.
13301 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13302 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13303 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13304 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13306 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13308 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13309 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13310 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13311 Comment on variable precision.
13312 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13313 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13315 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13316 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13317 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13318 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13319 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13321 2013-10-04 Alan Modra <amodra@gmail.com>
13323 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13324 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13325 all uses of ieee854 long double macros and unions.
13326 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13327 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13328 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13329 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13330 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13331 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13333 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13335 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13336 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13337 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13338 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13339 Simplify sign and nan test too.
13340 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13341 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13342 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13343 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13345 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13346 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13348 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13349 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13350 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13351 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13352 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13355 2013-10-04 Alan Modra <amodra@gmail.com>
13357 * stdio-common/printf_size.c (__printf_size): Don't use
13358 union ieee854_long_double in fpnum union.
13359 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13360 signbit macro to retrieve sign from long double.
13361 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13362 retrieve sign from long double.
13363 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13364 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13365 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13366 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13367 * math/test-misc.c (main): Don't use union ieee854_long_double.
13369 2013-10-04 Alan Modra <amodra@gmail.com>
13372 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13373 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13374 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13375 calculation. Remove unnecessary test for denormal exponent.
13376 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13377 Correct handling of denormals. Avoid undefined shift behaviour.
13378 Correct normalisation of low mantissa when low double is denormal.
13379 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13380 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13381 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13382 Correct normalisation of low mantissa. Test for overflow of high
13383 mantissa and normalise.
13384 (ldbl_nearbyint): Use more readable constant for two52.
13385 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13386 (__mpn_construct_long_double): Fix test for overflow of high
13387 mantissa and correct normalisation. Avoid undefined shift.
13389 2013-10-04 Alan Modra <amodra@gmail.com>
13391 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13392 (union ibm_extended_long_double): Define as an array of ieee754_double.
13393 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13394 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13395 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13396 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13397 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13398 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13400 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13402 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13403 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13405 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13407 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13408 page size instead of calling getpagesize.
13410 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13411 (LOCFILE_ALIGN_MASK): Likewise.
13412 (LOCFILE_ALIGN_UP): Likewise.
13413 (LOCFILE_ALIGNED_P): Likewise.
13414 * locale/programs/ld-collate.c (collate_output): Use the new
13415 macros instead of __alignof__ (int32_t).
13416 * locale/weight.h (findidx): Likewise.
13418 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13421 * manual/string.texi: Fix strncat and wcsncat.
13423 2013-10-03 Brooks Moses <bmoses@google.com>
13426 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13427 * Makerules: ...here, and adjust associated comments.
13429 2013-10-02 Will Newton <will.newton@linaro.org>
13431 * malloc/Makefile: Add tst-pvalloc.
13432 * malloc/tst-pvalloc.c: New file.
13434 2013-10-02 Will Newton <will.newton@linaro.org>
13436 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13437 improve test coverage.
13439 2013-10-02 Will Newton <will.newton@linaro.org>
13441 * malloc/Makefile: Add tst-posix_memalign.
13442 * malloc/tst-posix_memalign.c: New file.
13444 2013-10-01 Eric Blake <eblake@redhat.com>
13446 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13447 Use __THROWNL rather than __THROW on static functions.
13449 2013-09-30 Petr Machata <pmachata@redhat.com>
13451 * elf/elf.h (R_AARCH64_ABS16): New macro.
13452 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13453 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13454 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13455 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13456 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13457 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13458 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13459 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13460 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13461 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13462 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13463 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13464 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13465 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13466 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13467 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13468 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13469 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13470 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13471 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13472 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13473 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13474 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13475 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13476 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13477 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13478 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13479 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13480 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13481 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13482 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13483 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13484 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13485 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13486 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13487 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13488 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13489 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13490 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13491 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13492 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13493 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13494 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13495 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13496 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13497 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13498 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13499 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13500 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13501 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13502 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13503 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13504 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13505 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13506 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13507 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13508 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13509 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13510 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13511 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13512 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13513 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13514 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13515 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13516 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13517 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13518 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13519 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13520 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13521 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13522 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13523 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13524 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13525 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13526 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13527 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13528 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13529 (R_AARCH64_TLSDESC_LDR): Likewise.
13530 (R_AARCH64_TLSDESC_ADD): Likewise.
13531 (R_AARCH64_TLSDESC_CALL): Likewise.
13533 2013-09-30 Andreas Schwab <schwab@suse.de>
13536 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13537 the nss database lookup.
13538 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13541 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13543 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13545 2013-09-28 P. J. McDermott <pj@pehjota.net>
13547 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13548 ${Bash-specific parameter/pattern/string} parameter expansion.
13549 * sysdeps/unix/make-syscalls.sh: Likewise.
13551 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13553 * sysdeps/sh/stackguard-macros.h: New file.
13555 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13559 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13560 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13561 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13562 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13564 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13566 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13567 Fix thread ID register.
13569 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13571 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13572 [POSIX || UNIX98]: Require rather than permitting all symbols from
13574 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13575 element of struct sched_param.
13576 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13577 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13578 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13579 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13582 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13584 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13585 argument calculation.
13587 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13589 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13591 [POSIX] (pthread_attr_t): Do not require type.
13592 [POSIX] (pthread_cond_t): Likewise.
13593 [POSIX] (pthread_condattr_t): Likewise.
13594 [POSIX] (pthread_key_t): Likewise.
13595 [POSIX] (pthread_mutex_t): Likewise.
13596 [POSIX] (pthread_mutexattr_t): Likewise.
13597 [POSIX] (pthread_once_t): Likewise.
13598 [POSIX] (pthread_t): Likewise.
13599 [POSIX-based standards] (pthread_atfork): Expect function.
13601 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13602 Richard Sandiford <richard@codesourcery.com>
13604 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13605 (swap_endianness_p): New extern variable.
13606 (set_big_endian): New inline function.
13607 (maybe_swap_uint32): Likewise.
13608 (maybe_swap_uint32_array): Likewise.
13609 (maybe_swap_uint32_obstack): Likewise.
13610 * locale/programs/locfile.c: Include <stdbool.h>.
13611 (swap_endianness_p): New variable.
13612 (add_locale_uint32): Call maybe_swap_uint32.
13613 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13614 (write_locale_data): Call maybe_swap_uint32_array.
13615 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13617 (obstack_int32_grow_fast): Likewise.
13618 (output_weightwc): Call maybe_swap_uint32_obstack.
13619 (collate_output): Likewise.
13620 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13621 (OPT_LITTLE_ENDIAN): Likewise.
13622 (options): Add --little-endian and --big-endian options.
13623 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13624 * locale/programs/locarchive.c: Include "locfile.h".
13628 (create_archive): Use the new macros to access fields of
13629 structures directly mapped from or written to locale archives.
13630 (oldlocrecentcmp): Likewise.
13631 (enlarge_archive): Likewise.
13632 (insert_name): Likewise.
13633 (add_alias): Likewise.
13634 (add_locale): Likewise.
13635 (delete_locales_from_archive): Likewise.
13636 (show_archive_content): Likewise.
13637 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13640 2013-09-24 Roland McGrath <roland@hack.frob.com>
13642 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13643 http://www.gnu.org/doc/freemanuals.texi.
13644 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13646 2013-09-24 Will Newton <will.newton@linaro.org>
13648 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13651 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13653 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13656 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13658 * manual/threads.texi (POSIX Threads): Fix a typo.
13660 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13663 * string/tst-strcoll-overflow.c: New test case.
13664 * string/Makefile (xtests): Add tst-strcoll-overflow.
13665 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13666 cache if string sizes may cause integer overflow.
13669 * string/strcoll_l.c (coll_seq): New members rule, idx,
13670 save_idx and back_us.
13671 (get_next_seq_nocache): New function.
13672 (do_compare_nocache): New function.
13673 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13676 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13679 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13680 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13681 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13684 * elf/Makefile (tests): Add tst-ptrguard1.
13685 (tests-static): Add tst-ptrguard1-static.
13686 (tst-ptrguard1-ARGS): Define.
13687 (tst-ptrguard1-static-ARGS): Define.
13688 * elf/tst-ptrguard1.c: New file.
13689 * elf/tst-ptrguard1-static.c: New file.
13690 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13691 * sysdeps/i386/stackguard-macros.h: Likewise.
13692 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13693 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13694 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13695 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13696 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13697 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13699 2013-09-23 Hector Marco <hecmargi@upv.es>
13700 Ismael Ripoll <iripoll@disca.upv.es>
13701 Carlos O'Donell <carlos@redhat.com>
13704 * sysdeps/generic/stackguard-macros.h: Define
13705 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13706 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13707 Define __pointer_chk_guard_local.
13708 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13709 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13711 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13714 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13716 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13718 * include/string.h (__ffs): Declare as hidden.
13719 * string/ffs.c (__ffs): Define as hidden.
13720 * sysdeps/i386/ffs.c (__ffs): Likewise.
13721 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13722 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13723 * sysdeps/s390/ffs.c (__ffs): Likewise.
13724 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13726 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13728 * NEWS: Mention malloc probes.
13730 * malloc/arena.c (new_heap): New memory_heap_new probe.
13731 (grow_heap): New memory_heap_more probe.
13732 (shrink_heap): New memory_heap_less probe.
13733 (heap_trim): New memory_heap_free probe.
13734 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13735 (systrim): New memory_sbrk_less probe.
13736 * manual/probes.texi: Document them.
13738 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13739 * manual/probes.texi: Document it.
13741 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13742 (__libc_realloc): Add memory_realloc_retry probe.
13743 (__libc_memalign): Add memory_memalign_retry probe.
13744 (__libc_valloc): Add memory_valloc_retry probe.
13745 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13746 (__libc_calloc): Add memory_calloc_retry probe.
13747 * manual/probes.texi: Document them.
13749 * malloc/arena.c (get_free_list): Add probe
13750 memory_arena_reuse_free_list.
13751 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13752 and memory_arena_reuse.
13753 (arena_get2) [!PER_THREAD]: Likewise.
13754 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13755 memory_arena_reuse_realloc.
13756 * manual/probes.texi: Document them.
13758 * malloc/malloc.c (__libc_free): Add
13759 memory_mallopt_free_dyn_thresholds probe.
13760 (__libc_mallopt): Add multiple memory_mallopt probes.
13761 * manual/probes.texi: Document them.
13763 * malloc/malloc.c: Include stap-probe.h.
13764 (__libc_mallopt): Add memory_mallopt probe.
13765 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13766 * manual/probes.texi: New.
13767 * manual/Makefile (chapters): Add probes.
13768 * manual/threads.texi: Set next node.
13770 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13772 [BZ #15963, #13985]
13773 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13774 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13775 Add `Chinese' to `nan' entry name.
13777 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13779 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13780 (POLYNOMIAL): Likewise.
13781 (TAYLOR_SINCOS): Likewise.
13782 (TAYLOR_SLOW): Likewise.
13783 (__sin): Use TAYLOR_SINCOS.
13785 (slow): Use TAYLOR_SLOW.
13787 (bsloww): Likewise.
13788 (csloww): Likewise.
13790 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13792 * stdlib/strtod_l.c: Fix buffer overrun.
13794 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13796 * benchtests/Makefile (bench): Add sincos.
13797 * benchtests/bench-sincos.c: New file.
13799 * math/libm-test.inc (cos_test_data): New test inputs.
13800 (sin_test_data): Likewise.
13802 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13808 (sloww1): Likewise.
13809 (sloww2): Likewise.
13810 (bsloww1): Likewise.
13811 (bsloww2): Likewise.
13812 (cslow2): Likewise.
13813 (csloww1): Likewise.
13814 (csloww2): Likewise.
13816 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13821 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13825 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13827 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13828 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13829 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13830 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13831 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13832 * elf/cache.c (print_entry): Handle the new cache flags.
13834 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13835 Aldy Hernandez <aldyh@redhat.com>
13837 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13838 Change condition to [_SOFT_FLOAT].
13839 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13846 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13851 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13854 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13857 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13859 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13860 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13861 (__longjmp): Use LOAD_GP to load saved GPRs.
13862 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13863 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13864 (__sigsetjmp): Use SAVE_GP to save GPRs.
13866 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13867 Do not append -msoft-float.
13868 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13870 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13872 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13874 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13877 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13878 (_FPU_GETCW): Use initial "__" on variable and field names but not
13879 on macro parameter name.
13880 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13881 parentheses around reference to macro parameter.
13883 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13885 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13887 (ctype_startup): Use uint32_t in cast and sizeof for
13890 2013-09-11 Jia Liu <proljc@gmail.com>
13892 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13894 [__FreeBSD__]: Likewise.
13896 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13898 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13899 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13900 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13901 (strchr): Remove __strchr_sse42 ifunc selection.
13902 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13903 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13905 2013-09-11 Will Newton <will.newton@linaro.org>
13907 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13908 parameter to RES. Remove hardcoded 1000 value.
13909 * benchtests/bench-skeleton.c (main): Pass RES parameter
13910 to TIMING_INIT and multiply result by 1000.
13912 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13916 2013-09-11 Andreas Schwab <schwab@suse.de>
13918 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13920 (O_TMPFILE) [__USE_GNU]: Define.
13921 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13924 2013-09-11 Will Newton <will.newton@linaro.org>
13927 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13930 2013-09-11 Will Newton <will.newton@linaro.org>
13933 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13936 2013-09-11 Will Newton <will.newton@linaro.org>
13939 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13942 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13944 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13945 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13950 2013-09-10 Allan McRae <allan@archlinux.org>
13953 * manual/arith.texi (Parsing of Floats): Clarify
13957 * manual/install.texi (Running make install): Mention
13959 * INSTALL: Regenerated.
13961 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13963 * csu/init-first.c (_init): Remove the !SHARED condition around
13964 FPU control word initialization.
13965 * elf/dl-support.c (_dl_fpu_control): New variable.
13966 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13967 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13968 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13969 * math/test-fpucw-static.c: New file.
13970 * math/test-fpucw-ieee.c: New file.
13971 * math/test-fpucw-ieee-static.c: New file.
13972 * math/Makefile (tests): Add `test-fpucw-ieee' and
13974 (tests-static): New variable.
13975 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13977 [($(build-shared),yes)]
13978 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13980 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13983 2013-09-09 Allan McRae <allan@archlinux.org>
13986 * manual/string.texi (Collation Functions): Fix typo in
13988 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13991 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13994 * libio/memstream.c (open_memstream): Fix memory leak.
13995 * libio/wmemstream.c (open_wmemstream): Likewise.
13998 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14000 2013-09-09 Will Newton <will.newton@linaro.org>
14002 * malloc/Makefile: Add tst-realloc to tests.
14003 * malloc/tst-realloc.c: New file.
14005 2013-09-09 Allan McRae <allan@archlinux.org>
14008 * COPYING: Update from GNU website to fix FSF address.
14009 * COPYING.LIB: Likewise.
14011 2013-09-06 David S. Miller <davem@davemloft.net>
14013 * po/zh_TW.po: Update Chinese (traditional) translation from
14014 translation project.
14016 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14017 Joseph Myers <joseph@codesourcery.com>
14019 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14021 (obstack_chunk_alloc): New macro.
14022 (obstack_chunk_free): Likewise.
14023 (record_offset): New function.
14024 (init_locale_data): Likewise.
14025 (align_locale_data): Likewise.
14026 (add_locale_empty): Likewise.
14027 (add_locale_raw_data): Likewise.
14028 (add_locale_raw_obstack): Likewise.
14029 (add_locale_string): Likewise.
14030 (add_locale_wstring): Likewise.
14031 (add_locale_uint32): Likewise.
14032 (add_locale_uint32_array): Likewise.
14033 (add_locale_char): Likewise.
14034 (start_locale_structure): Likewise.
14035 (end_locale_structure): Likewise.
14036 (start_locale_prelude): Likewise.
14037 (end_locale_prelude): Likewise.
14038 (write_locale_data): Take locale_file structure rather than an
14040 * locale/programs/locfile.h: Include "obstack.h".
14041 (struct locale_file): Change to store locale file contents instead
14043 (init_locale_data): New prototype.
14044 (align_locale_data): Likewise.
14045 (add_locale_empty): Likewise.
14046 (add_locale_raw_data): Likewise.
14047 (add_locale_raw_obstack): Likewise.
14048 (add_locale_string): Likewise.
14049 (add_locale_wstring): Likewise.
14050 (add_locale_uint32): Likewise.
14051 (add_locale_uint32_array): Likewise.
14052 (add_locale_char): Likewise.
14053 (start_locale_structure): Likewise.
14054 (end_locale_structure): Likewise.
14055 (start_locale_prelude): Likewise.
14056 (end_locale_prelude): Likewise.
14057 (write_locale_data): Update prototype.
14058 * locale/programs/3level.h (struct TABLE): Remove result field.
14059 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14060 Use new locale_file interface.
14061 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14062 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14063 * locale/programs/ld-address.c (address_output): Use new
14064 locale_file interface.
14065 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14067 (collate_finish): Don't call collseq_table_finalize.
14068 (collate_output): Use new locale_file interface.
14069 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14071 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14072 (TABLE): Move defines earlier in file.
14073 (ELEMENT): Likewise.
14074 (DEFAULT): Likewise.
14075 (wctrans_table_add): Move macro and inline function earlier in
14077 (struct wctype_table): Move type earlier in file.
14078 (add_locale_wctype_table): New static prototype.
14079 (struct locale_ctype_t): Use logical types instead of struct iovec
14080 pointers for members.
14081 (ctype_output): Use new locale_file interface.
14082 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14083 new locale_file interface.
14084 (allocate_arrays): Update for use of new locale_file interface.
14085 * locale/programs/ld-identification.c (identification_output): Use
14086 new locale_file interface.
14087 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14088 * locale/programs/ld-messages.c (messages_output): Likewise.
14089 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14090 * locale/programs/ld-name.c (name_output): Likewise.
14091 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14092 * locale/programs/ld-paper.c (paper_output): Likewise.
14093 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14094 * locale/programs/ld-time.c (time_output): Likewise.
14096 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14098 * benchtests/Makefile: Add memrchr benchmark.
14099 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14100 benchmark as memrchr.
14101 * benchtests/bench-memrchr-ifunc.c: New file.
14102 * benchtests/bench-memrchr.c: New file.
14104 2013-09-06 Will Newton <will.newton@linaro.org>
14106 * benchtests/Makefile (string-bench): Add memcpy.
14108 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14109 Cong Wang <amwang@redhat.com>
14112 * sysdeps/unix/sysv/linux/bits/in.h
14113 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14114 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14115 before __USE_KERNEL_IPV6_DEFS uses.
14116 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14118 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14119 sockaddr_in6, or ipv6_mreq.
14121 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14123 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14124 memory access for final bytes in some large inputs.
14125 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14127 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14129 * string/test-memrchr.c: New file.
14130 * string/test-memrchr-ifunc.c: New file.
14131 * string/Makefile: Add new memrchr testcase.
14133 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14135 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14136 fanotify_init returns EPERM.
14138 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14140 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14142 (top level): Treat second token from macro or constant entries for
14143 allowed headers as allowed.
14144 * include/complex.h: Condition internal declarations on
14146 * include/fenv.h: Condition include of <stdbool.h> and internal
14147 declarations on [!_ISOMAC].
14149 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14152 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14154 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14156 * configure.in (--enable-versioning): Remove configure option.
14157 (libc_cv_asm_symver_directive): Remove configure test.
14158 (libc_cv_ld_version_script_option): Likewise.
14159 (VERSIONING): Remove variable and AC_SUBST.
14160 (DO_VERSIONING): Remove AC_DEFINE.
14161 * configure: Regenerated.
14162 * config.h.in (DO_VERSIONING): Remove macro.
14163 * Makerules [$(versioning) = yes]: Change conditionals to
14164 [$(build-shared) = yes].
14165 * config.make.in (versioning): Remove variable.
14166 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14167 [$(build-shared) = yes].
14168 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14169 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14170 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14171 [$(build-shared) = yes].
14172 * extra-lib.mk [$(versioning) = yes]: Likewise.
14173 * hurd/Makefile [$(versioning) = yes]: Likewise.
14174 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14176 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14178 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14179 [SHARED && !NO_HIDDEN].
14180 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14182 [SHARED && DO_VERSIONING]: Likewise..
14183 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14184 [$(build-shared) = yes].
14185 * manual/install.texi (--disable-versioning): Remove
14187 * INSTALL: Regenerated.
14188 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14190 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14191 [$(build-shared) = yes].
14192 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14193 * sysdeps/i386/i686/multiarch/strstr-c.c
14194 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14195 [SHARED && !NO_HIDDEN].
14196 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14197 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14198 * sysdeps/powerpc/powerpc32/dl-machine.c
14199 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14200 * sysdeps/powerpc/powerpc32/sysdep.h
14201 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14202 to [SHARED && PIC && !NO_HIDDEN].
14203 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14204 conditional to [SHARED].
14206 2013-09-04 Will Newton <will.newton@linaro.org>
14208 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14209 * benchtests/bench-string.h: Include bench-timing.h instead
14210 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14211 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14212 call to HP_TIMING_DIFF_INIT.
14213 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14214 instead of hp-timing.h macros.
14215 * benchtests/bench-memchr.c: Likewise.
14216 * benchtests/bench-memcmp.c: Likewise.
14217 * benchtests/bench-memcpy.c: Likewise.
14218 * benchtests/bench-memmem.c: Likewise.
14219 * benchtests/bench-memmove.c: Likewise.
14220 * benchtests/bench-memset.c: Likewise.
14221 * benchtests/bench-rawmemchr.c: Likewise.
14222 * benchtests/bench-strcasecmp.c: Likewise.
14223 * benchtests/bench-strcasestr.c: Likewise.
14224 * benchtests/bench-strcat.c: Likewise.
14225 * benchtests/bench-strchr.c: Likewise.
14226 * benchtests/bench-strcmp.c: Likewise.
14227 * benchtests/bench-strcpy.c: Likewise.
14228 * benchtests/bench-strcpy_chk.c: Likewise.
14229 * benchtests/bench-strlen.c: Likewise.
14230 * benchtests/bench-strncasecmp.c: Likewise.
14231 * benchtests/bench-strncat.c: Likewise.
14232 * benchtests/bench-strncmp.c: Likewise.
14233 * benchtests/bench-strncpy.c: Likewise.
14234 * benchtests/bench-strnlen.c: Likewise.
14235 * benchtests/bench-strpbrk.c: Likewise.
14236 * benchtests/bench-strrchr.c: Likewise.
14237 * benchtests/bench-strspn.c: Likewise.
14238 * benchtests/bench-strstr.c: Likewise.
14240 2013-09-04 Will Newton <will.newton@linaro.org>
14242 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14244 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14247 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14248 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14249 * math/libm-test.inc (lgamma_test_data): Add more tests.
14250 * sysdeps/i386/fpu/libm-test-ulps: Update.
14251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14253 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14255 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14259 Add strcmp-sse2-unaligned
14260 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14262 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14264 * Versions.def (libc): Add GLIBC_2.19.
14266 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14268 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14269 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14271 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14274 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14275 intermediate calculations in recurrence.
14276 (__ieee754_ynf): Likewise.
14277 * math/libm-test.inc (jn_test_data): Do not allow spurious
14278 underflow exception. Add more tests.
14279 (yn_test_data): Add more tests.
14280 * sysdeps/i386/fpu/libm-test-ulps: Update.
14281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14283 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14285 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14287 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14289 * csu/init-first.c: Fix then/than typos.
14290 * locale/programs/ld-collate.c: Likewise.
14291 * locale/programs/linereader.h: Likewise.
14292 * manual/charset.texi: Likewise.
14293 * manual/filesys.texi: Likewise.
14294 * manual/stdio.texi: Likewise.
14295 * manual/string.texi: Likewise.
14296 * stdlib/fmtmsg.c: Likewise.
14297 * sysdeps/i386/stpncpy.S: Likewise.
14298 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14299 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14300 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14301 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14303 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14305 * elf/dl-open.c: Fix typos.
14306 * iconvdata/gbbig5.c: Likewise.
14307 * iconvdata/iso-2022-jp.c: Likewise.
14308 * iconv/gconv_int.h: Likewise.
14309 * iconv/loop.c: Likewise.
14310 * nis/rpcsvc/nis.h: Likewise.
14311 * resolv/ns_name.c: Likewise.
14312 * stdio-common/vfscanf.c: Likewise.
14313 * streams/stropts.h: Likewise.
14314 * sunrpc/rpc_thread.c: Likewise.
14315 * sysdeps/i386/strpbrk.S: Likewise.
14316 * sysdeps/ieee754/k_standard.c: Likewise.
14317 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14319 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14320 * sysdeps/mach/hurd/profil.c: Likewise.
14321 * sysdeps/s390/dl-procinfo.h: Likewise.
14322 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14323 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14324 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14325 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14326 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14328 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14330 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14333 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14335 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14336 aix specific files.
14337 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14338 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14339 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14340 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14341 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14342 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14343 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14344 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14346 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14347 Roland McGrath <roland@hack.frob.com>
14349 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14350 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14352 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14354 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14355 __executable_start symbol instead of _start.
14357 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14359 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14360 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14362 * sysdeps/gnu/ldsodefs.h: ... this new file.
14364 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14365 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14366 instead of ELFOSABI_LINUX.
14368 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14369 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14370 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14371 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14373 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14374 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14375 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14377 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14378 (ibm_extended_long_double): Add ieee_nan member.
14379 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14380 (do_test): New function.
14382 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14384 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14385 functions, renamed from truncdfsf_test, trunctfsf_test,
14387 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14389 (do_test): Run all these.
14391 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14393 * argp/argp-help.c: Fix typos.
14394 * argp/argp-parse.c: Likewise.
14395 * debug/backtracesyms.c: Likewise.
14396 * elf/elf.h: Likewise.
14397 * malloc/malloc.c: Likewise.
14398 * nis/nis_print.c: Likewise.
14399 * resolv/res_comp.c: Likewise.
14400 * stdlib/stdlib.h: Likewise.
14401 * sunrpc/clnt_tcp.c: Likewise.
14402 * sunrpc/clnt_udp.c: Likewise.
14403 * sunrpc/clnt_unix.c: Likewise.
14404 * sysdeps/unix/bsd/ptsname.c: Likewise.
14405 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14406 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14413 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14415 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14417 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14420 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14423 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14424 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14425 ($(objpfx)bug-dl-leaf): New rule.
14426 ($(objpfx)bug-dl-leaf.so): Likewise.
14427 ($(objpfx)bug-dl-leaf.out): Likewise.
14428 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14429 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14430 * dlfcn/bug-dl-leaf.c: New test.
14431 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14432 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14433 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14434 (dlclose): Likewise.
14435 (dlmopen): Likewise.
14437 2013-08-27 Roland McGrath <roland@hack.frob.com>
14439 * include/netdb.h [!_ISOMAC]:
14440 Don't include <tls.h>.
14441 (h_errno, __libc_h_errno): Move declaration and macros out of
14444 * include/resolv.h [_RESOLV_H_]:
14445 Don't include <tls.h>.
14446 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14447 * resolv/res_libc.c: Don't include <tls.h>.
14448 (_res): Use __attribute__ ((nocommon)) in place of
14449 __attribute__ ((section (".bss"))).
14451 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14452 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14454 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14456 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14457 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14459 * resolv/res_mkquery.c: Include <sys/time.h>.
14461 * inet/ifreq.c: Moved to ...
14462 * sysdeps/unix/ifreq.c: ... here.
14463 * inet/ifreq.c: New file, true stub version.
14465 * socket/sa_len.c: New file.
14466 * socket/Makefile (aux): Add it.
14467 * sysdeps/unix/sysv/linux/Makefile
14468 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14469 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14470 and #include <socket/sa_len.c>.
14471 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14472 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14474 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14475 * bits/socket.h: ... here.
14477 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14478 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14479 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14481 2013-08-27 Andreas Schwab <schwab@suse.de>
14484 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14485 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14486 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14487 * string/test-strcasecmp.c (test_main): Run tests in several
14489 * string/test-strncasecmp.c (test_main): Likewise.
14491 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14492 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14493 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14495 (__strncasecmp_ssse3) [PIC]: Likewise.
14497 2013-08-26 Roland McGrath <roland@hack.frob.com>
14499 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14501 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14502 instead of explicitly declaring xdecrypt.
14503 * nis/nss_nis/nis-publickey.c: Likewise.
14505 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14508 * nscd/aicache.c: Include res_hconf.h.
14509 (addhstaiX): Initialize res_hconf.
14511 2013-08-26 Andreas Schwab <schwab@suse.de>
14513 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14514 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14516 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14518 * nscd/aicache.c (addhstaiX): Fix indentation.
14520 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14522 * configure.ac: Quote $build_pt_chown test.
14523 * configure: Regenerated.
14525 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14528 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14529 * math/s_cexpf.c (__cexpf): Likewise.
14530 * math/s_cexpl.c (__cexpl): Likewise.
14531 * math/libm-test.inc (cexp_test_data): Correct expected return
14532 value for NaN + i0. Add another test.
14534 2013-08-22 David S. Miller <davem@davemloft.net>
14536 * po/ca.po: Update Catalan translation from translation project.
14537 * po/uk.po: Add Ukrainian translations from translation project.
14539 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14542 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14543 is infinite, not alongside NaN test.
14544 * math/s_fdimf.c (__fdimf): Likewise.
14545 * math/s_fdiml.c (__fdiml): Likewise.
14546 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14547 errno is unchanged.
14549 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14551 * argp/argp-help.c: Fix typos.
14552 * crypt/speeds.c: Likewise.
14553 * csu/check_fds.c: Likewise.
14554 * elf/dl-load.c: Likewise.
14555 * elf/dl-open.c: Likewise.
14556 * elf/reldep3.c: Likewise.
14557 * elf/reldep.c: Likewise.
14558 * elf/sprof.c: Likewise.
14559 * iconv/iconv_charmap.c: Likewise.
14560 * iconv/skeleton.c: Likewise.
14561 * iconv/strtab.c: Likewise.
14562 * io/lockf64.c: Likewise.
14563 * libio/libioP.h: Likewise.
14564 * resolv/gai_notify.c: Likewise.
14565 * resolv/ns_name.c: Likewise.
14566 * resolv/ns_samedomain.c: Likewise.
14567 * resolv/res_send.c: Likewise.
14568 * stdlib/random.c: Likewise.
14569 * sunrpc/rpc/xdr.h: Likewise.
14570 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14571 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14572 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14573 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14574 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14575 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14576 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14577 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14578 * sysdeps/mach/hurd/check_fds.c: Likewise.
14579 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14580 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14581 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14582 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14583 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14584 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14585 * sysdeps/pthread/aio_notify.c: Likewise.
14586 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14587 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14588 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14589 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14590 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14592 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14594 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14595 version if bit_Slow_SSE4_2 is set.
14596 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14597 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14599 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14602 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14603 trampoline stack frame information.
14604 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14605 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14606 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14607 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14608 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14609 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14610 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14611 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14613 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14614 interrupting a syscall and set with option SA_SIGINFO.
14616 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14619 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14620 argument is infinite.
14621 * math/s_cprojf.c (__cprojf): Likewise.
14622 * math/s_cprojl.c (__cprojl): Likewise.
14623 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14624 * math/libm-test.inc (cproj_test_data): Add more tests.
14626 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14628 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14629 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14630 size. Use __ffs to determine corresponding shift.
14632 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14633 Roland McGrath <roland@hack.frob.com>
14635 * Makefile (INSTALL): Remove trailing blank lines from output of
14638 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14640 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14641 Align 32 bit compat elf_greg to 8 bytes.
14643 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14645 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14647 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14649 * string/strcoll_l.c (coll_seq): New structure.
14650 (get_next_seq_cached): New function.
14651 (get_next_seq): New function.
14652 (do_compare): New function.
14653 (STRCOLL): Use GNU style definition. Simplify implementation
14654 by using get_next_seq, get_next_seq_cached and do_compare.
14656 2013-08-16 Florian Weimer <fweimer@redhat.com>
14660 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14662 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14664 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14665 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14666 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14668 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14669 GETDENTS_64BIT_ALIGNED.
14670 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14671 * manual/filesys.texi (Reading/Closing Directory): Document
14672 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14674 * manual/conf.texi (Limits for Files): Add portability note to
14675 NAME_MAX, PATH_MAX.
14676 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14678 2013-08-13 Andreas Schwab <schwab@suse.de>
14681 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14683 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14684 LDBL_MAX_EXP >= 16384]: Add tests for it.
14686 2013-08-12 David S. Miller <davem@davemloft.net>
14688 * version.h (RELEASE): Set to "development".
14689 (VERSION): Set to "2.18.90".
14690 * NEWS: Add 2.19 section.
14692 2013-08-03 David S. Miller <davem@davemloft.net>
14694 * po/ko.po: Update Korean translation from translation project.
14696 2013-08-01 David S. Miller <davem@davemloft.net>
14698 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14699 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14702 2013-07-30 David S. Miller <davem@davemloft.net>
14704 * po/fr.po: Update French translation from translation project.
14706 2013-07-28 David S. Miller <davem@davemloft.net>
14708 * po/cs.po: Update Czech translation from translation project.
14710 * po/sv.po: Update Swedish translation from translation project.
14712 2013-07-27 David S. Miller <davem@davemloft.net>
14714 * po/eo.po: Update Esperanto translation from translation project.
14716 * po/vi.po: Update Vietnamese translation from translation project.
14718 * po/de.po: Update German translation from translation project.
14720 2013-07-26 David S. Miller <davem@davemloft.net>
14722 * po/bg.po: Update Bulgarian translation from translation project.
14724 * po/nl.po: Update Dutch translation from translation project.
14725 * po/pl.po: Update Polish translation from translation project.
14726 * po/ru.po: Update Russian translation from translation project.
14728 2013-07-24 David S. Miller <davem@davemloft.net>
14730 * po/libc.pot: Update.
14732 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14734 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14735 variable page size.
14736 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14737 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14738 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14740 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14742 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14744 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14745 Andreas Schwab <schwab@suse.de>
14746 Roland McGrath <roland@hack.frob.com>
14747 Joseph Myers <joseph@codesourcery.com>
14748 Carlos O'Donell <carlos@redhat.com>
14751 * config.h.in: Define HAVE_PT_CHOWN.
14752 * config.make.in (build-pt-chown): New variable.
14753 * configure.in (--enable-pt_chown): New configure option.
14754 * configure: Regenerate.
14755 * login/Makefile: Include Makeconfig. Build pt_chown only if
14756 build-pt-chown is enabled.
14757 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14758 pt_chown to fix pty ownership.
14759 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14761 * manual/install.texi (Configuring and compiling): Mention
14762 --enable-pt_chown. Add @findex for grantpt.
14763 * INSTALL: Regenerate.
14765 2013-07-20 David S. Miller <davem@davemloft.net>
14767 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14768 difference between 32-bit and 64-bit.
14770 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14773 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14774 Avoid system header dependency with -ffreestanding.
14775 ($(objpfx)bits/syscall%d): Likewise.
14777 2013-07-13 David S. Miller <davem@davemloft.net>
14779 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14780 underflows from atanl/atan2l due to bug 15319.
14781 (casinh_test_data): Likewise.
14783 2013-07-07 David S. Miller <davem@davemloft.net>
14785 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14787 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14789 * sysdeps/i386/fpu/libm-test-ulps: Update.
14790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14792 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14794 * configure.in (--enable-lock-elision): Fix message text.
14795 * INSTALL: Regenerate.
14796 * configure: Regenerate.
14798 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14802 2013-07-03 Andreas Jaeger <aj@suse.de>
14804 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14806 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14807 (ptrace_peeksiginfo_args): Add.
14808 (__ptrace_peeksiginfo_flags): Add.
14809 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14810 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14811 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14813 2013-07-03 Allan McRae <allan@archlinux.org>
14815 * sysdeps/i386/fpu/libm-test-ulps: Update.
14817 2013-07-02 David S. Miller <davem@davemloft.net>
14819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14821 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14825 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14827 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14830 2013-07-02 Andi Kleen <ak@linux.intel.com>
14832 * config.h.in (ENABLE_LOCK_ELISION): Add.
14833 * configure.in (--enable-lock-elision): Add option.
14834 * manual/install.texi: Document --enable lock elision.
14835 * configure: Regenerate
14836 * INSTALL: Regenerate.
14838 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14840 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14841 SSE4.2 strcasecmp for libc.a.
14842 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14844 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14847 * soft-fp/op-common.h (_FP_FMA): New macro.
14848 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14849 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14850 (_FP_MUL_MEAT_1_imm): ... here.
14851 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14852 (_FP_MUL_MEAT_1_wide): ... here.
14853 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14854 (_FP_MUL_MEAT_1_hard): ... here.
14855 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14856 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14857 (_FP_MUL_MEAT_2_wide): ... here.
14858 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14859 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14860 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14861 (_FP_MUL_MEAT_2_gmp): ... here.
14862 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14863 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14864 (_FP_MUL_MEAT_4_wide): ... here.
14865 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14866 (_FP_MUL_MEAT_4_gmp): ... here.
14867 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14868 (_FP_WFRACBITS_DW_S): Likewise.
14869 (_FP_WFRACXBITS_DW_S): Likewise.
14870 (_FP_HIGHBIT_DW_S): Likewise.
14871 (FP_FMA_S): Likewise.
14872 (_FP_FRAC_HIGH_DW_S): Likewise.
14873 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14874 (_FP_WFRACBITS_DW_D): Likewise.
14875 (_FP_WFRACXBITS_DW_D): Likewise.
14876 (_FP_HIGHBIT_DW_D): Likewise.
14877 (FP_FMA_D): Likewise.
14878 (_FP_FRAC_HIGH_DW_D): Likewise.
14879 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14880 (_FP_WFRACBITS_DW_E): Likewise.
14881 (_FP_WFRACXBITS_DW_E): Likewise.
14882 (_FP_HIGHBIT_DW_E): Likewise.
14883 (FP_FMA_E): Likewise.
14884 (_FP_FRAC_HIGH_DW_E): Likewise.
14885 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14886 (_FP_WFRACBITS_DW_Q): Likewise.
14887 (_FP_WFRACXBITS_DW_Q): Likewise.
14888 (_FP_HIGHBIT_DW_Q): Likewise.
14889 (FP_FMA_Q): Likewise.
14890 (_FP_FRAC_HIGH_DW_Q): Likewise.
14891 * soft-fp/fmasf4.c: New file.
14892 * soft-fp/fmadf4.c: Likewise.
14893 * soft-fp/fmatf4.c: Likewise.
14895 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14898 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14900 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14902 (index_Slow_SSE4_2): Likewise.
14903 (index_Prefer_PMINUB_for_stringop): Likewise.
14904 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14905 bit_Slow_SSE4_2 is set.
14906 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14907 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14909 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14911 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14912 rtld_global._dl_hwcap2.
14913 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14915 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14916 POWER8 feature descriptions defined in _dl_hwcap2.
14917 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14918 string handling for POWER8 feature bits.
14919 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14920 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14921 _dl_powerpc_cap_flags.
14922 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14923 * sysdeps/powerpc/rtld-global-offsets.sym
14924 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14925 _dl_hwcap2 in the rtld_global_ro structure.
14927 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14929 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14930 hardware capabilities in support of AT_HWCAP2.
14931 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14932 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14934 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14935 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14936 explicitly the unknown a_type display mechanism is used.
14937 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14938 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14940 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14941 to macro prototype for AT_HWCAP2 support.
14942 * sysdeps/i386/dl-procinfo.h: Likewise.
14943 * sysdeps/s390/dl-procinfo.h: Likewise.
14944 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14945 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14946 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14947 return -1 for unknown a_type display fallback.
14948 * sysdeps/sparc/dl-procinfo.h: Likewise.
14949 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14950 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14952 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14954 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14955 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14957 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14960 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14961 mprotect making __stack_prot writable.
14963 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14964 Joseph Myers <joseph@codesourcery.com>
14966 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14967 as being properly aligned.
14969 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14971 * dlfcn/modstatic5.c: New file.
14972 * dlfcn/tststatic5.c: New file.
14973 * dlfcn/Makefile (tests): Add tststatic5.
14974 (tests-static): Likewise.
14975 (modules-names): Add modstatic5.
14976 (tststatic5-ENV): New variable.
14977 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14980 * elf/dl-support.c (_dl_main_map): New variable.
14981 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14982 (_dl_nns, _dl_load_adds): Set to 1.
14983 (_dl_initial_searchlist): Refer to _dl_main_map.
14984 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14985 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14986 call to _dl_get_origin.
14987 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14989 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14990 * dlfcn/modstatic3.c: New file.
14991 * dlfcn/tststatic3.c: New file.
14992 * dlfcn/tststatic4.c: New file.
14993 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14994 (tests-static): Likewise.
14995 (modules-names): Add modstatic3.
14996 (tststatic3-ENV, tststatic4-ENV): New variables.
14997 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14998 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15000 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15002 * configure.in (CC): Require GCC version 4.4 or later.
15003 * configure: Regenerated.
15004 * manual/install.texi (Tools for Compilation): Update GCC version
15006 * INSTALL: Regenerated.
15008 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15011 * string/test-memcmp.c (check2): New.
15012 (main): Call check2.
15014 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15016 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15019 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15021 (dl_open_worker) [!SHARED]: ... here.
15023 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15025 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15027 2013-06-25 Richard Henderson <rth@redhat.com>
15029 * locale/programs/locarchive.c: Include <libc-internal.h>
15031 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15033 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15034 trailing whitespace removed.
15036 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15039 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15040 * locale/programs/locarchive.c: Include libc-mmap.h.
15041 (prepare_address_space): Take two new outputs (the mmap base and len).
15042 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15044 (create_archive): Declare new mmap base and len values for
15045 prepare_address_space, and store the result in ah.
15046 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15047 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15048 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15049 Declare new mmap base and len values for
15050 prepare_address_space, and store the result in new_ah.
15051 (open_archive): Declare new mmap base and len values for
15052 prepare_address_space, and store the result in ah.
15053 (close_archive): If ah->mmap_base is not NULL, use that and
15054 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15055 * sysdeps/generic/libc-mmap.h: New file.
15057 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15059 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15060 (ALIGN_UP): Likewise.
15061 (PTR_ALIGN_DOWN): Likewise.
15062 (PTR_ALIGN_UP): Likewise.
15064 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15066 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15067 entry mapped to PPC_PLATFORM_POWER8.
15068 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15070 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15071 (_dl_string_platform): Add case for exporting platform position for
15073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15074 search path to sysdeps/powerpc/powerpc32/power8 directory.
15075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15076 search path to sysdeps/powerpc/powerpc64/power8 directory.
15077 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15078 power7 directories.
15079 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15080 power7 directories.
15082 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15084 * INSTALL: Regenerate.
15086 * nscd/connections.c (nscd_init): Fix comment.
15088 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15090 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15093 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15094 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15096 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15098 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15100 (DL_DST_REQ_STATIC): Remove macro.
15102 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15105 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15106 with a shift of 0 bits.
15108 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15110 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15113 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15116 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15118 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15120 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15121 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15122 accepts -fno-tree-loop-distribute-patterns.
15123 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15124 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15126 * string/memset.c (memset): Likewise.
15127 * string/test-memmove.c (simple_memmove): Disable loop transformation
15129 * string/test-memset.c (simple_memset): Likewise.
15130 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15131 * benchtests/bench-memset.c (simple_memset): Likewise.
15132 * configure: Regenerated.
15134 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15136 * math/test-misc.c (main): Ignore fesetround failure when failures
15137 of subsequent rounding tests would be ignored.
15140 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15141 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15142 * math/fegetenv.c (__fegetenv): Return 0.
15143 * math/fegetexcept.c (fegetexcept): Return 0.
15144 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15146 * math/feholdexcpt.c (feholdexcept): Return 0.
15147 * math/fesetenv.c (__fesetenv): Return 0.
15148 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15149 argument FE_TONEAREST.
15150 * math/feupdateenv.c (__feupdateenv): Return 0.
15151 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15153 2013-06-18 Roland McGrath <roland@hack.frob.com>
15155 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15156 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15157 ($(objpfx)rtld-%.os rules): Use them.
15159 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15161 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15164 2013-06-17 Roland McGrath <roland@hack.frob.com>
15166 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15167 length of target pattern, then descending length of dependency pattern.
15168 * configure.in (AWK): Require gawk 3.1.2 or newer.
15169 * manual/install.texi (Tools for Compilation): Say that we do.
15170 * configure: Regenerated.
15172 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15173 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15174 * scripts/sysd-rules.awk: ... this new script.
15175 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15176 than a glob-style pattern.
15178 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15180 * math/test-misc.c (main): Do not treat incorrectly rounded
15181 conversions as failure unless ROUNDING_TESTS passes.
15183 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15186 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15187 restore exception state around main square root computation, then
15188 check for inexactness explicitly.
15190 * math/libm-test.inc (fma_test_data): Add another test.
15192 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15194 * manual/threads.texi (Non-POSIX Extensions): New document
15195 node. Document pthread_getattr_default_np and
15196 pthread_setattr_default_np.
15198 * Versions.def (libpthread): Add GLIBC_2.18.
15199 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15208 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15219 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15222 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15224 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15225 H.J. Lu <hjl.tools@gmail.com>
15228 * sysdeps/x86_64/rtld-memset.c: Remove file.
15229 * sysdeps/x86_64/rtld-memset.S: New file.
15231 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15233 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15234 (test_in_one_mode): Take arguments for whether the rounding mode
15235 is supported for each floating-point type.
15236 (do_test): Pass new arguments to test_in_one_mode using
15239 2013-06-13 Roland McGrath <roland@hack.frob.com>
15241 * posix/tst-waitid.c (do_test): Distinguish different instances of
15242 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15243 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15244 before entering the kernel for waitpid.
15246 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15248 * NEWS: Fix note on clock function precision. Text by Roland
15251 2013-06-13 Roland McGrath <roland@hack.frob.com>
15253 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15254 it into place only when and if the sanity check passes.
15256 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15258 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15259 output for whether conversion result is exact. Take argument
15260 indicating whether type is IBM long double.
15261 (round_for_all): Change need_exact field to ibm_ld.
15262 * stdlib/tst-strtod-round.c (struct exactness): New type.
15263 (struct test): Change bool ld_ok field to struct exactness exact.
15264 (TEST): Update all definitions for change to field.
15265 (tests): Regenerate array contents.
15266 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15267 field value. Check for IBM long double here.
15268 (do_test): Update calls to test_in_one_mode.
15270 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15273 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15274 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15276 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15279 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15280 generated by the compiler on loop optimizations.
15281 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15282 general definitions.
15284 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15286 * math/bug-nextafter.c: Include <math-tests.h>.
15287 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15289 * math/bug-nexttoward.c: Include <math-tests.h>.
15290 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15292 * math/test-misc.c: Include <math-tests.h>.
15293 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15296 2013-06-12 Andreas Jaeger <aj@suse.de>
15298 * po/ia.po: Update Interlingua translation from translation
15301 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15303 * include/fenv.h: Include stdbool.h.
15304 (struct rm_ctx): New structure.
15305 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15307 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15308 (SET_RESTORE_ROUNDF): Likewise.
15309 (SET_RESTORE_ROUNDL): Likewise.
15310 (SET_RESTORE_ROUND_NOEX): Likewise.
15311 (SET_RESTORE_ROUND_NOEXF): Likewise.
15312 (SET_RESTORE_ROUND_NOEXL): Likewise.
15313 (SET_RESTORE_ROUND_53BIT): Likewise.
15314 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15315 (libc_feresetround_noexf_ctx): Likewise.
15316 (libc_feresetround_noexl_ctx): Likewise.
15317 (libc_feholdsetround_53bit_ctx): Likewise.
15318 (libc_feresetround_53bit_ctx): Likewise.
15319 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15320 (libc_feholdexcept_setround_sse_ctx): New function.
15321 (libc_fesetenv_sse_ctx): Likewise.
15322 (libc_feupdateenv_sse_ctx): Likewise.
15323 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15324 (libc_feholdexcept_setround_387_ctx): Likewise.
15325 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15326 (libc_feholdsetround_387_prec_ctx): Likewise.
15327 (libc_feholdsetround_387_ctx): Likewise.
15328 (libc_feholdsetround_387_53bit_ctx): Likewise.
15329 (libc_feholdsetround_sse_ctx): Likewise.
15330 (libc_feresetround_sse_ctx): Likewise.
15331 (libc_feresetround_387_ctx): Likewise.
15332 (libc_feupdateenv_387_ctx): Likewise.
15333 (libc_feholdexcept_setroundf_ctx): Define macro.
15334 (libc_fesetenvf_ctx): Likewise.
15335 (libc_feupdateenvf_ctx): Likewise.
15336 (libc_feholdsetroundf_ctx): Likewise.
15337 (libc_feresetroundf_ctx): Likewise.
15338 (libc_feholdexcept_setround_ctx): Likewise.
15339 (libc_fesetenv_ctx): Likewise.
15340 (libc_feupdateenv_ctx): Likewise.
15341 (libc_feholdsetround_ctx): Likewise.
15342 (libc_feresetround_ctx): Likewise.
15343 (libc_feholdexcept_setroundl_ctx): Likewise.
15344 (libc_feupdateenvl_ctx): Likewise.
15345 (libc_feholdsetroundl_ctx): Likewise.
15346 (libc_feresetroundl_ctx): Likewise.
15347 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15348 (libc_feresetround_53bit_ctx): Likewise.
15350 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15352 * locale/iso-639.def: Convert to UTF-8.
15354 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15356 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15357 (EXCEPTION_TESTS_double): Likewise.
15358 (EXCEPTION_TESTS_long_double): Likewise.
15359 (EXCEPTION_TESTS): Likewise.
15360 * math/libm-test.inc (test_exceptions): Only test exceptions if
15361 EXCEPTION_TESTS (FLOAT).
15363 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15365 * benchtests/Makefile (string-bench): Add strcpy_chk and
15367 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15368 * benchtests/bench-stpcpy_chk.c: New file.
15369 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15370 * benchtests/bench-strcpy_chk.c: New file.
15371 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15373 (do_test): Likewise.
15375 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15377 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15378 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15379 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15380 with tabs where appropriate.
15381 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15383 [PPC_PLATFORM_PPC440]: Likewise.
15384 [PPC_PLATFORM_PPC464]: Likewise.
15385 [PPC_PLATFORM_PPC476]: Likewise.
15386 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15387 ppc464, and ppc476 platform strings merging from ports/
15390 2013-06-11 Andreas Schwab <schwab@suse.de>
15393 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15394 (from_ucs4_idx): Regenerate.
15395 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15396 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15397 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15398 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15399 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15400 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15401 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15402 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15403 from FROM_LOOP and TO_LOOP specific macros.
15404 (BODY): Handle combining characters.
15405 * iconvdata/BIG5HKSCS.irreversible: Update.
15406 * iconvdata/BIG5HKSCS.precomposed: New file.
15407 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15409 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15411 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15413 * include/sys/time.h: Fix indentation and add copyright header.
15415 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15416 (do_test): Likewise.
15417 * string/test-memchr.c (do_one_test): Likewise.
15418 (do_test): Likewise.
15419 * string/test-memcmp.c (do_one_test): Likewise.
15420 (do_test): Likewise.
15421 * string/test-memcpy.c (do_one_test): Likewise.
15422 (do_test): Likewise.
15423 * string/test-memmem.c (do_one_test): Likewise.
15424 (do_test): Likewise.
15425 (do_random_tests): Likewise.
15426 * string/test-memmove.c (do_one_test): Likewise.
15427 (do_test): Likewise.
15428 * string/test-memset.c (do_one_test): Likewise.
15429 (do_test): Likewise.
15430 * string/test-rawmemchr.c (do_one_test): Likewise.
15431 (do_test): Likewise.
15432 * string/test-strcasecmp.c (do_one_test): Likewise.
15433 (do_test): Likewise.
15434 * string/test-strcasestr.c (do_one_test): Likewise.
15435 (do_test): Likewise.
15436 * string/test-strcat.c (do_one_test): Likewise.
15437 (do_test): Likewise.
15438 * string/test-strchr.c (do_one_test): Likewise.
15439 (do_test): Likewise.
15440 * string/test-strcmp.c (do_one_test): Likewise.
15441 (do_test): Likewise.
15442 * string/test-strcpy.c (do_one_test): Likewise.
15443 (do_test): Likewise.
15444 * string/test-string.h: Likewise.
15445 (test_init): Likewise.
15446 * string/test-strlen.c (do_one_test): Likewise.
15447 (do_test): Likewise.
15448 * string/test-strncasecmp.c (do_one_test): Likewise.
15449 (do_test): Likewise.
15450 * string/test-strncat.c (do_one_test): Likewise.
15451 (do_test): Likewise.
15452 * string/test-strncmp.c (do_one_test): Likewise.
15453 (do_test_limit): Likewise.
15454 (do_test): Likewise.
15455 * string/test-strncpy.c (do_one_test): Likewise.
15456 (do_test): Likewise.
15457 * string/test-strnlen.c (do_one_test): Likewise.
15458 (do_test): Likewise.
15459 * string/test-strpbrk.c (do_one_test): Likewise.
15460 (do_test): Likewise.
15461 * string/test-strrchr.c (do_one_test): Likewise.
15462 (do_test): Likewise.
15463 * string/test-strspn.c (do_one_test): Likewise.
15464 (do_test): Likewise.
15465 * string/test-strstr.c (do_one_test): Likewise.
15466 (do_test): Likewise.
15468 * benchtests/Makefile (string-bench): Add string benchmarks.
15469 * benchtests/bench-bcopy-ifunc.c: New file.
15470 * benchtests/bench-bcopy.c: New file.
15471 * benchtests/bench-bzero-ifunc.c: New file.
15472 * benchtests/bench-bzero.c: New file.
15473 * benchtests/bench-memccpy-ifunc.c: New file.
15474 * benchtests/bench-memccpy.c: New file.
15475 * benchtests/bench-memchr-ifunc.c: New file.
15476 * benchtests/bench-memchr.c: New file.
15477 * benchtests/bench-memcmp-ifunc.c: New file.
15478 * benchtests/bench-memcmp.c: New file.
15479 * benchtests/bench-memmem-ifunc.c: New file.
15480 * benchtests/bench-memmem.c: New file.
15481 * benchtests/bench-memmove-ifunc.c: New file.
15482 * benchtests/bench-memmove.c: New file.
15483 * benchtests/bench-mempcpy-ifunc.c: New file.
15484 * benchtests/bench-mempcpy.c: New file.
15485 * benchtests/bench-memset-ifunc.c: New file.
15486 * benchtests/bench-memset.c: New file.
15487 * benchtests/bench-rawmemchr-ifunc.c: New file.
15488 * benchtests/bench-rawmemchr.c: New file.
15489 * benchtests/bench-stpcpy-ifunc.c: New file.
15490 * benchtests/bench-stpcpy.c: New file.
15491 * benchtests/bench-stpncpy-ifunc.c: New file.
15492 * benchtests/bench-stpncpy.c: New file.
15493 * benchtests/bench-strcasecmp-ifunc.c: New file.
15494 * benchtests/bench-strcasecmp.c: New file.
15495 * benchtests/bench-strcasestr-ifunc.c: New file.
15496 * benchtests/bench-strcasestr.c: New file.
15497 * benchtests/bench-strcat-ifunc.c: New file.
15498 * benchtests/bench-strcat.c: New file.
15499 * benchtests/bench-strchr-ifunc.c: New file.
15500 * benchtests/bench-strchr.c: New file.
15501 * benchtests/bench-strchrnul-ifunc.c: New file.
15502 * benchtests/bench-strchrnul.c: New file.
15503 * benchtests/bench-strcmp-ifunc.c: New file.
15504 * benchtests/bench-strcmp.c: New file.
15505 * benchtests/bench-strcpy-ifunc.c: New file.
15506 * benchtests/bench-strcpy.c: New file.
15507 * benchtests/bench-strcspn-ifunc.c: New file.
15508 * benchtests/bench-strcspn.c: New file.
15509 * benchtests/bench-strlen-ifunc.c: New file.
15510 * benchtests/bench-strlen.c: New file.
15511 * benchtests/bench-strncasecmp-ifunc.c: New file.
15512 * benchtests/bench-strncasecmp.c: New file.
15513 * benchtests/bench-strncat-ifunc.c: New file.
15514 * benchtests/bench-strncat.c: New file.
15515 * benchtests/bench-strncmp-ifunc.c: New file.
15516 * benchtests/bench-strncmp.c: New file.
15517 * benchtests/bench-strncpy-ifunc.c: New file.
15518 * benchtests/bench-strncpy.c: New file.
15519 * benchtests/bench-strnlen-ifunc.c: New file.
15520 * benchtests/bench-strnlen.c: New file.
15521 * benchtests/bench-strpbrk-ifunc.c: New file.
15522 * benchtests/bench-strpbrk.c: New file.
15523 * benchtests/bench-strrchr-ifunc.c: New file.
15524 * benchtests/bench-strrchr.c: New file.
15525 * benchtests/bench-strspn-ifunc.c: New file.
15526 * benchtests/bench-strspn.c: New file.
15527 * benchtests/bench-strstr-ifunc.c: New file.
15528 * benchtests/bench-strstr.c: New file.
15530 * benchtests/Makefile: Disable parallel execution of targets.
15531 (string-bench): Add memcpy.
15532 (benchset): New variable to store a list of benchmark sets.
15533 (bench-func): Renamed from bench.
15534 (bench-set): New target.
15535 (bench): Depend on bench-func and bench-set.
15536 * benchtests/README: Add section on benchmark sets.
15537 * benchtests/bench-memcpy-ifunc.c: New file.
15538 * benchtests/bench-memcpy.c: New file.
15539 * benchtests/bench-string.h: New file.
15541 2013-06-11 Andreas Schwab <schwab@suse.de>
15544 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15545 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15546 values in the triple.
15547 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15548 terminator in the group key.
15550 2013-06-11 Andreas Jaeger <aj@suse.de>
15552 * po/zh_TW.po: Update Chinese (traditional) translation from
15553 translation project.
15555 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15557 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15558 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15559 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15560 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15561 (clock_getcpuclockid): Likewise.
15562 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15563 Add weak_alias and libc_hidden_def.
15564 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15565 * rt/clock_gettime.c (clock_gettime): Rename to
15566 __clock_gettime. Add weak_alias and libc_hidden_def.
15567 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15568 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15569 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15570 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15571 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15573 * rt/clock_settime.c (clock_settime): Rename to
15574 __clock_settime. Add weak_alias and libc_hidden_def.
15575 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15577 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15579 * mach/err_boot.sub: Remove trailing whitespace.
15580 * mach/err_ipc.sub: Likewise.
15581 * mach/err_mach.sub: Likewise.
15583 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15584 (ROUNDING_TESTS_double): Likewise.
15585 (ROUNDING_TESTS_long_double): Likewise.
15586 (ROUNDING_TESTS): Likewise.
15587 * math/libm-test.inc: Include <math-tests.h>.
15588 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15589 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15590 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15591 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15593 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15595 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15598 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15600 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15601 otherwise empty TRANS lines.
15602 * sysdeps/gnu/errlist.c: Regenerated.
15604 * catgets/gencat.c (error_print): Use (void) in function
15606 * crypt/crypt_util.c (__init_des): Likewise.
15607 * crypt/speeds.c (Stop): Likewise.
15609 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15610 * inet/ruserpass.c (token): Likewise.
15611 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15612 * intl/localealias.c (extend_alias_table): Likewise.
15613 * intl/plural-exp.c (init_germanic_plural): Likewise.
15614 * libio/fcloseall.c (__fcloseall): Likewise.
15615 * libio/genops.c (_IO_flush_all): Likewise.
15616 (_IO_flush_all_linebuffered): Likewise.
15617 (_IO_cleanup): Likewise.
15618 (_IO_iter_begin): Likewise.
15619 (_IO_iter_end): Likewise.
15620 (_IO_list_lock): Likewise.
15621 (_IO_list_unlock): Likewise.
15622 (_IO_list_resetlock): Likewise.
15623 * libio/getchar.c (getchar): Likewise.
15624 * libio/getchar_u.c (getchar_unlocked): Likewise.
15625 * libio/getwchar.c (getwchar): Likewise.
15626 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15627 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15628 * login/getpt.c (__getpt): Likewise.
15629 * login/tst-utmp.c (main): Likewise.
15630 * malloc/hooks.c (__malloc_check_init): Likewise.
15631 * malloc/malloc.c (__malloc_stats): Likewise.
15632 * malloc/mtrace.c (tr_break): Likewise.
15633 (mtrace): Likewise.
15634 (muntrace): Likewise.
15635 * misc/fstab.c (endfsent): Likewise.
15636 * misc/getclktck.c (__getclktck): Likewise.
15637 * misc/getdtsz.c (__getdtablesize): Likewise.
15638 * misc/gethostid.c (gethostid): Likewise.
15639 * misc/getpagesize.c (__getpagesize): Likewise.
15640 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15641 (__get_nprocs): Likewise.
15642 (__get_phys_pages): Likewise.
15643 (__get_avphys_pages): Likewise.
15644 * misc/getttyent.c (getttyent): Likewise.
15645 (setttyent): Likewise.
15646 (endttyent): Likewise.
15647 * misc/getusershell.c (getusershell): Likewise.
15648 (endusershell): Likewise.
15649 (setusershell): Likewise.
15650 (initshells): Likewise.
15651 * misc/hsearch.c (__hdestroy): Likewise.
15652 * misc/sync.c (sync): Likewise.
15653 * misc/syslog.c (closelog_internal): Likewise.
15654 (closelog): Likewise.
15655 * misc/ttyslot.c (ttyslot): Likewise.
15656 * misc/vhangup.c (vhangup): Likewise.
15657 * posix/fork.c (__fork): Likewise.
15658 * posix/getegid.c (__getegid): Likewise.
15659 * posix/geteuid.c (__geteuid): Likewise.
15660 * posix/getgid.c (__getgid): Likewise.
15661 * posix/getpid.c (__getpid): Likewise.
15662 * posix/getppid.c (__getppid): Likewise.
15663 * posix/getuid.c (__getuid): Likewise.
15664 * posix/pause.c (pause): Likewise.
15665 * posix/setpgrp.c (setpgrp): Likewise.
15666 * posix/setsid.c (__setsid): Likewise.
15667 * posix/test-vfork.c (noop): Likewise.
15668 * resolv/gethnamaddr.c (_endhtent): Likewise.
15669 (_gethtent): Likewise.
15670 (ht_endhostent): Likewise.
15671 (gethostent): Likewise.
15672 (dns_service): Likewise.
15673 * stdlib/drand48.c (drand48): Likewise.
15674 * stdlib/lrand48.c (lrand48): Likewise.
15675 * stdlib/mrand48.c (mrand48): Likewise.
15676 * stdlib/rand.c (rand): Likewise.
15677 * stdlib/random.c (__random): Likewise.
15678 * stdlib/setenv.c (clearenv): Likewise.
15679 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15680 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15681 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15682 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15683 (__get_nprocs): Likewise.
15684 (__get_phys_pages): Likewise.
15685 (__get_avphys_pages): Likewise.
15686 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15687 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15688 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15689 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15690 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15691 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15692 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15693 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15694 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15695 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15696 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15697 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15698 * sysdeps/posix/clock.c (clock): Likewise.
15699 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15700 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15701 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15702 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15703 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15704 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15705 (__get_nprocs_conf): Likewise.
15706 (__get_phys_pages): Likewise.
15707 (__get_avphys_pages): Likewise.
15708 * time/clock.c (clock): Likewise.
15709 * time/tzset.c (__tzname_max): Likewise.
15711 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15713 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15714 (__bswap_32): Do not use "register".
15715 * crypt/crypt.c (_ufc_doit_r): Likewise.
15716 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15717 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15718 * gmon/gmon.c (__monstartup): Likewise.
15719 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15720 * hurd/hurdmalloc.c (more_memory): Likewise.
15721 (malloc): Likewise.
15723 (realloc): Likewise.
15724 (malloc_fork_prepare): Likewise.
15725 (malloc_fork_parent): Likewise.
15726 (malloc_fork_child): Likewise.
15727 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15728 (_svcauth_des): Likewise.
15729 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15730 * inet/inet_net.c (inet_network): Likewise.
15731 * inet/inet_netof.c (inet_netof): Likewise.
15732 * inet/rcmd.c (__validuser2_sa): Likewise.
15733 * io/fts.c (fts_open): Likewise.
15734 (fts_load): Likewise.
15735 (fts_close): Likewise.
15736 (fts_read): Likewise.
15737 (fts_children): Likewise.
15738 (fts_build): Likewise.
15739 (fts_stat): Likewise.
15740 (fts_sort): Likewise.
15741 (fts_alloc): Likewise.
15742 (fts_lfree): Likewise.
15743 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15744 (_IO_file_xsgetn): Likewise.
15745 (_IO_file_xsgetn_mmap): Likewise.
15746 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15747 (_IO_cookie_write): Likewise.
15748 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15749 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15750 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15751 * malloc/obstack.c (_obstack_begin): Likewise.
15752 (_obstack_begin_1): Likewise.
15753 (_obstack_newchunk): Likewise.
15754 (_obstack_allocated_p): Likewise.
15755 (obstack_free): Likewise.
15756 (_obstack_memory_used): Likewise.
15757 * misc/getttyent.c (getttynam): Likewise.
15758 (getttyent): Likewise.
15761 * misc/getusershell.c (initshells): Likewise.
15762 * misc/syslog.c (__vsyslog_chk): Likewise.
15763 * misc/ttyslot.c (ttyslot): Likewise.
15764 * nis/nis_hash.c (__nis_hash): Likewise.
15765 * posix/fnmatch_loop.c (FCT): Likewise.
15766 * posix/getconf.c (print_all): Likewise.
15768 * posix/getopt.c (exchange): Likewise.
15769 * posix/glob.c (globfree): Likewise.
15770 (prefix_array): Likewise.
15771 (__glob_pattern_type): Likewise.
15772 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15773 (NS_GET32): Likewise.
15774 (NS_PUT16): Likewise.
15775 (NS_PUT32): Likewise.
15776 * resolv/gethnamaddr.c (getanswer): Likewise.
15777 (gethostbyname2): Likewise.
15778 (gethostbyaddr): Likewise.
15779 (_gethtent): Likewise.
15780 (_gethtbyname2): Likewise.
15781 (_gethtbyaddr): Likewise.
15782 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15783 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15784 * resolv/res_init.c (__res_vinit): Likewise.
15785 (net_mask): Likewise.
15786 * resolv/res_mkquery.c (outchar): Likewise.
15788 * stdio-common/printf_fp.c (outchar): Likewise.
15790 * stdio-common/printf_fphex.c (outchar): Likewise.
15792 * stdio-common/printf_size.c (outchar): Likewise.
15794 * stdio-common/test_rdwr.c (main): Likewise.
15795 * stdio-common/tfformat.c (matches): Likewise.
15796 * stdio-common/vfprintf.c (outchar): Likewise.
15797 (printf_unknown): Likewise.
15798 (buffered_vfprintf): Likewise.
15799 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15800 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15801 (ReadFile): Likewise.
15802 * stdlib/qsort.c (SWAP): Likewise.
15803 (_quicksort): Likewise.
15804 * stdlib/setenv.c (__add_to_environ): Likewise.
15805 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15806 * stdlib/strtol_l.c (__strtol_l): Likewise.
15807 * stdlib/tst-strtod.c (main): Likewise.
15808 * stdlib/tst-strtol.c (main): Likewise.
15809 * stdlib/tst-strtoll.c (main): Likewise.
15810 * string/bits/string2.h (__strcmp_cc): Likewise.
15811 (__strcmp_cg): Likewise.
15812 (__strcspn_c1): Likewise.
15813 (__strcspn_c2): Likewise.
15814 (__strcspn_c3): Likewise.
15815 (__strspn_c1): Likewise.
15816 (__strspn_c2): Likewise.
15817 (__strspn_c3): Likewise.
15818 (__strsep_1c): Likewise.
15819 (__strsep_2c): Likewise.
15820 (__strsep_3c): Likewise.
15821 * string/memccpy.c (__memccpy): Likewise.
15822 * string/stpcpy.c (__stpcpy): Likewise.
15823 * string/strcmp.c (strcmp): Likewise.
15824 * string/strrchr.c (strrchr): Likewise.
15825 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15827 * sysdeps/mach/hurd/getcwd.c
15828 (_hurd_canonicalize_directory_name_internal): Likewise.
15829 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15830 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15831 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15832 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15833 Likewise, in both definitions.
15834 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15836 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15837 64] (__bswap_64): Likewise.
15838 * time/test_time.c (main): Likewise.
15839 * time/tzfile.c (__tzfile_read): Likewise.
15840 (__tzfile_compute): Likewise.
15841 * time/tzset.c (__tzset_parse_tz): Likewise.
15842 (tzset_internal): Likewise.
15843 (compute_change): Likewise.
15844 * wcsmbs/wcscat.c (__wcscat): Likewise.
15845 * wcsmbs/wcschr.c (wcschr): Likewise.
15846 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15847 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15848 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15849 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15850 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15851 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15852 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15853 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15854 * wcsmbs/wmemset.c (wmemset): Likewise.
15856 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15858 * scripts/config.guess: Update to version 2013-05-16.
15859 * scripts/config.sub: Update to version 2013-04-24.
15860 * scripts/install-sh: Update to version 2011-11-20.07.
15861 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15862 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15864 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15866 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15867 * elf/sln.c: Likewise.
15868 * hurd/hurd/ioctl.h: Likewise.
15869 * hurd/hurdmalloc.c: Likewise.
15870 * hurd/xattr.c: Likewise.
15871 * include/shlib-compat.h: Likewise.
15872 * inet/ruserpass.c: Likewise.
15873 * libio/iofgets_u.c: Likewise.
15874 * libio/iofgetws_u.c: Likewise.
15875 * locale/programs/ld-identification.c: Likewise.
15876 * locale/programs/ld-time.c: Likewise.
15877 * mach/msg-destroy.c: Likewise.
15878 * nss/nss_files/files-netgrp.c: Likewise.
15879 * resolv/res_data.c: Likewise.
15880 * soft-fp/op-1.h: Likewise.
15881 * soft-fp/op-2.h: Likewise.
15882 * soft-fp/op-4.h: Likewise.
15883 * soft-fp/op-common.h: Likewise.
15884 * stdio-common/printf_fphex.c: Likewise.
15885 * stdlib/strtod_l.c: Likewise.
15886 * sunrpc/rpc/clnt.h: Likewise.
15887 * sysdeps/generic/framestate.c: Likewise.
15888 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15889 * sysdeps/i386/bsd-setjmp.S: Likewise.
15890 * sysdeps/i386/__longjmp.S: Likewise.
15891 * sysdeps/i386/setjmp.S: Likewise.
15892 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15893 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15894 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15895 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15897 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15898 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15899 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15900 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15901 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15902 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15903 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15904 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15905 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15906 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15907 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15908 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15909 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15910 * sysdeps/ieee754/support.c: Likewise.
15911 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15912 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15913 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15914 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15915 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15916 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15917 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15918 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15919 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15920 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15921 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15922 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15923 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15924 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15925 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15926 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15927 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15930 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15932 * posix/transbug.c: Remove executable mode.
15934 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15936 * crypt/speeds.c: Remove trailing whitespace.
15937 * dlfcn/default.c: Likewise.
15938 * elf/ifuncdep2.c: Likewise.
15939 * elf/ifuncmain1.c: Likewise.
15940 * elf/ifuncmain1vis.c: Likewise.
15941 * elf/testobj.h: Likewise.
15942 * elf/tst-stackguard1.c: Likewise.
15943 * gmon/sys/gmon.h: Likewise.
15944 * hurd/hurdmsg.c: Likewise.
15945 * hurd/new-fd.c: Likewise.
15946 * hurd/ports-get.c: Likewise.
15947 * iconvdata/ibm1008_420.c: Likewise.
15948 * inet/tst-getni1.c: Likewise.
15949 * inet/tst-getni2.c: Likewise.
15950 * libio/ioungetc.c: Likewise.
15951 * libio/wfiledoalloc.c: Likewise.
15952 * manual/libm-err-tab.pl: Likewise.
15953 * math/w_dremf.c: Likewise.
15954 * misc/ftruncate.c: Likewise.
15955 * posix/bug-glob2.c: Likewise.
15956 * posix/tst-pcre.c: Likewise.
15957 * posix/wait4.c: Likewise.
15958 * resolv/README: Likewise.
15959 * resolv/res_debug.h: Likewise.
15960 * resolv/tst-inet_ntop.c: Likewise.
15961 * setjmp/bug269-setjmp.c: Likewise.
15962 * soft-fp/extended.h: Likewise.
15963 * soft-fp/op-1.h: Likewise.
15964 * soft-fp/op-2.h: Likewise.
15965 * soft-fp/op-4.h: Likewise.
15966 * soft-fp/op-8.h: Likewise.
15967 * soft-fp/testit.c: Likewise.
15968 * stdio-common/bug16.c: Likewise.
15969 * stdlib/random.c: Likewise.
15970 * sunrpc/rpcsvc/rquota.x: Likewise.
15971 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15972 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15973 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15974 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15975 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15976 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15977 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15978 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15979 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15980 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15981 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15982 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15983 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15998 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16000 * sysdeps/ieee754/s_lib_version.c: Likewise.
16001 * sysdeps/mach/hurd/check_fds.c: Likewise.
16002 * sysdeps/mach/hurd/getsockname.c: Likewise.
16003 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16004 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16005 * sysdeps/powerpc/bits/link.h: Likewise.
16006 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16007 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16008 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16009 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16010 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16011 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16012 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16013 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16014 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16015 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16016 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16017 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16018 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16019 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16020 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16021 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16022 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16023 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16024 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16025 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16026 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16027 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16028 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16029 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16030 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16031 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16032 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16033 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16034 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16035 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16036 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16037 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16038 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16039 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16040 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16041 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16042 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16043 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16044 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16045 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16046 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16047 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16048 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16049 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16050 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16051 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16052 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16053 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16054 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16055 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16056 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16057 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16058 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16059 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16060 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16061 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16062 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16063 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16064 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16065 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16066 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16067 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16068 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16069 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16070 * sysdeps/powerpc/sysdep.h: Likewise.
16071 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16072 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16073 * sysdeps/sh/dl-trampoline.S: Likewise.
16074 * sysdeps/sh/memset.S: Likewise.
16075 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16076 * sysdeps/sh/strlen.S: Likewise.
16077 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16078 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16079 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16080 * sysdeps/sparc/sparc32/rem.S: Likewise.
16081 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16082 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16083 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16084 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16085 * sysdeps/sparc/sparc32/urem.S: Likewise.
16086 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16087 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16088 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16089 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16090 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16091 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16092 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16093 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16094 * sysdeps/unix/bsd/times.c: Likewise.
16095 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16096 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16100 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16101 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16102 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16103 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16104 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16105 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16106 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16107 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16108 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16109 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16110 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16111 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16112 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16113 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16114 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16115 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16116 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16117 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16118 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16119 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16120 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16121 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16122 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16123 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16124 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16125 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16126 * sysdeps/x86_64/strcspn.S: Likewise.
16128 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16130 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16131 generated file. Regenerate properly from gen-translit.pl.
16132 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16133 locale/C-translit.h.
16135 2013-06-05 Andreas Schwab <schwab@suse.de>
16138 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16139 week as 6 instead of -1.
16140 * time/tst-strptime.c (day_tests): Add test case.
16142 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16144 * sysdeps/generic/math_private.h
16145 (libc_feholdexcept_setround_53bit): Replace with
16146 libc_feholdsetround_53bit.
16147 (libc_feupdateenv_53bit): Replace with
16148 libc_feresetround_53bit.
16149 (SET_RESTORE_ROUND_53BIT): Adjust.
16151 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16153 * string/test-strchrnul.c: Add copyright header.
16155 * posix/tst-getaddrinfo4.c: Increase test timeout.
16157 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16160 * math/libm-test.inc (MAX_EXP): Remove
16162 (ulp): Use MIN_EXP - MANT_DIG.
16163 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16165 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16167 * po/be.po: Revert last change.
16168 * po/zh_CN.po: Likewise.
16169 * po/header.pot: Likewise.
16171 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16173 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16174 link-libc-deps to empty as target-specific variable.
16175 * Makerules (link-libc-args): New variable.
16176 (libc-for-link): Likewise.
16177 (link-libc-deps): Likewise.
16178 (lib%.so): Depend on $(link-libc-deps). Link with
16180 (build-module): Link with $(link-libc-args).
16181 (build-module-asneeded): Likewise.
16182 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16184 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16185 target-specific variable.
16186 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16187 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16188 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16190 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16192 ($(objpfx)libpcprofile.so): Likewise.
16193 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16195 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16196 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16197 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16199 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16200 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16201 * login/Makefile ($(objpfx)libutil.so): Likewise.
16202 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16203 * math/Makefile ($(objpfx)libm.so): Likewise.
16204 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16205 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16206 variable instead of depending directly on libc.
16207 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16208 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16210 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16212 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16213 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16214 ($(objpfx)libanl.so): Likewise.
16215 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16217 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16219 * sysdeps/i386/fpu/Makefile: Remove file.
16220 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16221 ($(objpfx)libm.so): Remove dependency on ld.so.
16223 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16226 * nis/yp_xdr.c (XDRMAXNAME): Define.
16227 (XDRMAXRECORD): Define.
16228 (xdr_domainname): Use XDRMAXNAME.
16229 (xdr_mapname): Likewise.
16230 (xdr_peername): Likewise.
16231 (xdr_keydat): Use XDRMAXRECORD.
16232 (xdr_valdat): Likewise.
16234 2013-05-30 Jeff Law <law@redhat.com>
16237 * manual/errno.texi (ESTALE): Update to account for more than
16238 just NFS file systems.
16239 * sysdeps/gnu/errlist.c: Regenerated.
16241 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16244 * elf/Makefile (tests): Add tst-null-argv.
16245 (modules-names): Add tst-null-argv-lib.
16246 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16247 (tst-null-argv-ENV): Set environment for tst-null-argv.
16248 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16249 (RTLD_PROGNAME): New macro.
16250 * elf/tst-null-argv.c: New test case.
16251 * elf/tst-null-argv-lib.c: Library for test case.
16252 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16253 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16254 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16255 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16256 * elf/dl-init.c (call_init): Likewise.
16257 (_dl_init): Likewise.
16258 * elf/dl-load.c (print_search_path): Likewise.
16259 (_dl_map_object): Likewise.
16260 * elf/dl-lookup.c (do_lookup_x): Likewise.
16261 (add_dependency): Likewise.
16262 (_dl_lookup_symbol_x): Likewise.
16263 (_dl_debug_bindings): Likewise.
16264 * elf/dl-open.c (_dl_show_scope): Likewise.
16265 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16266 * elf/dl-version.c (match_symbol): Likewise.
16267 (_dl_check_map_versions): Likewise.
16268 * elf/rtld.c (dl_main): Likewise.
16269 (print_unresolved): Use RTLD_PROGNAME.
16270 (print_missing_version): Likewise.
16271 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16272 (elf_machine_rela): Likewise.
16273 * sysdeps/powerpc/powerpc32/dl-machine.c
16274 (__process_machine_rela): Likewise.
16275 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16277 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16279 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16281 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16282 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16284 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16286 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16288 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16290 * po/be.po: Add descriptive title.
16291 * po/zh_CN.po: Likewise.
16292 * po/header.pot: Likewise.
16294 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16296 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16298 (enlarge_archive): Likewise.
16300 2013-05-28 Ben North <ben@redfrontdoor.org>
16302 * manual/arith.texi (frexp): It is the magnitude of the return
16303 value which lies in [0.5, 1), not the return value itself.
16305 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16309 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16311 * stdio-common/bug26.c (main): Correct fscanf template.
16313 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16314 declare _dl_skip_args.
16316 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16319 * manual/platform.texi: Add missing @end deftypefun.
16321 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16324 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16325 bit of mantissa of 2^16382.
16326 * math/libm-test.inc (hypot_test_data): Add more tests.
16328 * math/libm-test.inc: Add drem and pow10 to list of tested
16330 (pow10_test): New function.
16331 (drem_test): Likewise.
16332 (drem_test_tonearest): Likewise.
16333 (drem_test_towardzero): Likewise.
16334 (drem_test_downward): Likewise.
16335 (drem_test_upward): Likewise.
16336 (main): Call the new functions.
16338 * math/libm-test.inc (finite_test_data): Remove.
16339 (finite_test): Run tests from isfinite_test_data.
16340 (gamma_test_data): Remove.
16341 (gamma_test): Run tests from lgamma_test_data.
16342 * sysdeps/i386/fpu/libm-test-ulps: Update.
16343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16345 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16347 * manual/platform.texi: Add PowerPC PPR function set documentation.
16348 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16351 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16353 * math/libm-test.inc (MAX_EXP): Define.
16355 (ulp): New function.
16356 (check_float_internal): Use ULPDIFF.
16357 (cpow_test): Disable failing test.
16358 (check_ulp): Test ulp() implemetnation.
16359 (main): Call check_ulp before starting tests.
16361 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16363 * math/gen-libm-test.pl (generate_testfile): Do not handle
16364 START_DATA and END_DATA.
16365 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16367 (acos_tonearest_test_data): Likewise.
16368 (acos_towardzero_test_data): Likewise.
16369 (acos_downward_test_data): Likewise.
16370 (acos_upward_test_data): Likewise.
16371 (acosh_test_data): Likewise.
16372 (asin_test_data): Likewise.
16373 (asin_tonearest_test_data): Likewise.
16374 (asin_towardzero_test_data): Likewise.
16375 (asin_downward_test_data): Likewise.
16376 (asin_upward_test_data): Likewise.
16377 (asinh_test_data): Likewise.
16378 (atan_test_data): Likewise.
16379 (atanh_test_data): Likewise.
16380 (atan2_test_data): Likewise.
16381 (cabs_test_data): Likewise.
16382 (cacos_test_data): Likewise.
16383 (cacosh_test_data): Likewise.
16384 (carg_test_data): Likewise.
16385 (casin_test_data): Likewise.
16386 (casinh_test_data): Likewise.
16387 (catan_test_data): Likewise.
16388 (catanh_test_data): Likewise.
16389 (cbrt_test_data): Likewise.
16390 (ccos_test_data): Likewise.
16391 (ccosh_test_data): Likewise.
16392 (ceil_test_data): Likewise.
16393 (cexp_test_data): Likewise.
16394 (cimag_test_data): Likewise.
16395 (clog_test_data): Likewise.
16396 (clog10_test_data): Likewise.
16397 (conj_test_data): Likewise.
16398 (copysign_test_data): Likewise.
16399 (cos_test_data): Likewise.
16400 (cos_tonearest_test_data): Likewise.
16401 (cos_towardzero_test_data): Likewise.
16402 (cos_downward_test_data): Likewise.
16403 (cos_upward_test_data): Likewise.
16404 (cosh_test_data): Likewise.
16405 (cosh_tonearest_test_data): Likewise.
16406 (cosh_towardzero_test_data): Likewise.
16407 (cosh_downward_test_data): Likewise.
16408 (cosh_upward_test_data): Likewise.
16409 (cpow_test_data): Likewise.
16410 (cproj_test_data): Likewise.
16411 (creal_test_data): Likewise.
16412 (csin_test_data): Likewise.
16413 (csinh_test_data): Likewise.
16414 (csqrt_test_data): Likewise.
16415 (ctan_test_data): Likewise.
16416 (ctan_tonearest_test_data): Likewise.
16417 (ctan_towardzero_test_data): Likewise.
16418 (ctan_downward_test_data): Likewise.
16419 (ctan_upward_test_data): Likewise.
16420 (ctanh_test_data): Likewise.
16421 (ctanh_tonearest_test_data): Likewise.
16422 (ctanh_towardzero_test_data): Likewise.
16423 (ctanh_downward_test_data): Likewise.
16424 (ctanh_upward_test_data): Likewise.
16425 (erf_test_data): Likewise.
16426 (erfc_test_data): Likewise.
16427 (exp_test_data): Likewise.
16428 (exp_tonearest_test_data): Likewise.
16429 (exp_towardzero_test_data): Likewise.
16430 (exp_downward_test_data): Likewise.
16431 (exp_upward_test_data): Likewise.
16432 (exp10_test_data): Likewise.
16433 (exp2_test_data): Likewise.
16434 (expm1_test_data): Likewise.
16435 (fabs_test_data): Likewise.
16436 (fdim_test_data): Likewise.
16437 (finite_test_data): Likewise.
16438 (floor_test_data): Likewise.
16439 (fma_test_data): Likewise.
16440 (fma_towardzero_test_data): Likewise.
16441 (fma_downward_test_data): Likewise.
16442 (fma_upward_test_data): Likewise.
16443 (fmax_test_data): Likewise.
16444 (fmin_test_data): Likewise.
16445 (fmod_test_data): Likewise.
16446 (fpclassify_test_data): Likewise.
16447 (frexp_test_data): Likewise.
16448 (gamma_test_data): Likewise.
16449 (hypot_test_data): Likewise.
16450 (ilogb_test_data): Likewise.
16451 (isfinite_test_data): Likewise.
16452 (isgreater_test_data): Likewise.
16453 (isgreaterequal_test_data): Likewise.
16454 (isinf_test_data): Likewise.
16455 (isless_test_data): Likewise.
16456 (islessequal_test_data): Likewise.
16457 (islessgreater_test_data): Likewise.
16458 (isnan_test_data): Likewise.
16459 (isnormal_test_data): Likewise.
16460 (issignaling_test_data): Likewise.
16461 (isunordered_test_data): Likewise.
16462 (j0_test_data): Likewise.
16463 (j1_test_data): Likewise.
16464 (jn_test_data): Likewise.
16465 (ldexp_test_data): Likewise.
16466 (lgamma_test_data): Likewise.
16467 (lrint_test_data): Likewise.
16468 (lrint_tonearest_test_data): Likewise.
16469 (lrint_towardzero_test_data): Likewise.
16470 (lrint_downward_test_data): Likewise.
16471 (lrint_upward_test_data): Likewise.
16472 (llrint_test_data): Likewise.
16473 (llrint_tonearest_test_data): Likewise.
16474 (llrint_towardzero_test_data): Likewise.
16475 (llrint_downward_test_data): Likewise.
16476 (llrint_upward_test_data): Likewise.
16477 (log_test_data): Likewise.
16478 (log10_test_data): Likewise.
16479 (log1p_test_data): Likewise.
16480 (log2_test_data): Likewise.
16481 (logb_test_data): Likewise.
16482 (logb_downward_test_data): Likewise.
16483 (lround_test_data): Likewise.
16484 (llround_test_data): Likewise.
16485 (modf_test_data): Likewise.
16486 (nearbyint_test_data): Likewise.
16487 (nextafter_test_data): Likewise.
16488 (nexttoward_test_data): Likewise.
16489 (pow_test_data): Likewise.
16490 (pow_tonearest_test_data): Likewise.
16491 (pow_towardzero_test_data): Likewise.
16492 (pow_downward_test_data): Likewise.
16493 (pow_upward_test_data): Likewise.
16494 (remainder_test_data): Likewise.
16495 (remainder_tonearest_test_data): Likewise.
16496 (remainder_towardzero_test_data): Likewise.
16497 (remainder_downward_test_data): Likewise.
16498 (remainder_upward_test_data): Likewise.
16499 (remquo_test_data): Likewise.
16500 (rint_test_data): Likewise.
16501 (rint_tonearest_test_data): Likewise.
16502 (rint_towardzero_test_data): Likewise.
16503 (rint_downward_test_data): Likewise.
16504 (rint_upward_test_data): Likewise.
16505 (round_test_data): Likewise.
16506 (scalb_test_data): Likewise.
16507 (scalbn_test_data): Likewise.
16508 (scalbln_test_data): Likewise.
16509 (signbit_test_data): Likewise.
16510 (sin_test_data): Likewise.
16511 (sin_tonearest_test_data): Likewise.
16512 (sin_towardzero_test_data): Likewise.
16513 (sin_downward_test_data): Likewise.
16514 (sin_upward_test_data): Likewise.
16515 (sincos_test_data): Likewise.
16516 (sinh_test_data): Likewise.
16517 (sinh_tonearest_test_data): Likewise.
16518 (sinh_towardzero_test_data): Likewise.
16519 (sinh_downward_test_data): Likewise.
16520 (sinh_upward_test_data): Likewise.
16521 (sqrt_test_data): Likewise.
16522 (tan_test_data): Likewise.
16523 (tan_tonearest_test_data): Likewise.
16524 (tan_towardzero_test_data): Likewise.
16525 (tan_downward_test_data): Likewise.
16526 (tan_upward_test_data): Likewise.
16527 (tanh_test_data): Likewise.
16528 (tgamma_test_data): Likewise.
16529 (trunc_test_data): Likewise.
16530 (y0_test_data): Likewise.
16531 (y1_test_data): Likewise.
16532 (yn_test_data): Likewise.
16533 (significand_test_data): Likewise.
16535 * math/gen-libm-test.pl (@functions): Remove variable.
16536 (generate_testfile): Don't handle START and END lines.
16537 * math/libm-test.inc (START): New macro.
16539 (END_COMPLEX): Likewise.
16540 (acos_test): Use END macro without arguments.
16541 (acos_test_tonearest): Likewise.
16542 (acos_test_towardzero): Likewise.
16543 (acos_test_downward): Likewise.
16544 (acos_test_upward): Likewise.
16545 (acosh_test): Likewise.
16546 (asin_test): Likewise.
16547 (asin_test_tonearest): Likewise.
16548 (asin_test_towardzero): Likewise.
16549 (asin_test_downward): Likewise.
16550 (asin_test_upward): Likewise.
16551 (asinh_test): Likewise.
16552 (atan_test): Likewise.
16553 (atanh_test): Likewise.
16554 (atan2_test): Likewise.
16555 (cabs_test): Likewise.
16556 (cacos_test): Use END_COMPLEX macro without arguments.
16557 (cacosh_test): Likewise.
16558 (carg_test): Use END macro without arguments.
16559 (casin_test): Use END_COMPLEX macro without arguments.
16560 (casinh_test): Likewise.
16561 (catan_test): Likewise.
16562 (catanh_test): Likewise.
16563 (cbrt_test): Use END macro without arguments.
16564 (ccos_test): Use END_COMPLEX macro without arguments.
16565 (ccosh_test): Likewise.
16566 (ceil_test): Use END macro without arguments.
16567 (cexp_test): Use END_COMPLEX macro without arguments.
16568 (cimag_test): Use END macro without arguments.
16569 (clog_test): Use END_COMPLEX macro without arguments.
16570 (clog10_test): Likewise.
16571 (conj_test): Likewise.
16572 (copysign_test): Use END macro without arguments.
16573 (cos_test): Likewise.
16574 (cos_test_tonearest): Likewise.
16575 (cos_test_towardzero): Likewise.
16576 (cos_test_downward): Likewise.
16577 (cos_test_upward): Likewise.
16578 (cosh_test): Likewise.
16579 (cosh_test_tonearest): Likewise.
16580 (cosh_test_towardzero): Likewise.
16581 (cosh_test_downward): Likewise.
16582 (cosh_test_upward): Likewise.
16583 (cpow_test): Use END_COMPLEX macro without arguments.
16584 (cproj_test): Likewise.
16585 (creal_test): Use END macro without arguments.
16586 (csin_test): Use END_COMPLEX macro without arguments.
16587 (csinh_test): Likewise.
16588 (csqrt_test): Likewise.
16589 (ctan_test): Likewise.
16590 (ctan_test_tonearest): Likewise.
16591 (ctan_test_towardzero): Likewise.
16592 (ctan_test_downward): Likewise.
16593 (ctan_test_upward): Likewise.
16594 (ctanh_test): Likewise.
16595 (ctanh_test_tonearest): Likewise.
16596 (ctanh_test_towardzero): Likewise.
16597 (ctanh_test_downward): Likewise.
16598 (ctanh_test_upward): Likewise.
16599 (erf_test): Use END macro without arguments.
16600 (erfc_test): Likewise.
16601 (exp_test): Likewise.
16602 (exp_test_tonearest): Likewise.
16603 (exp_test_towardzero): Likewise.
16604 (exp_test_downward): Likewise.
16605 (exp_test_upward): Likewise.
16606 (exp10_test): Likewise.
16607 (exp2_test): Likewise.
16608 (expm1_test): Likewise.
16609 (fabs_test): Likewise.
16610 (fdim_test): Likewise.
16611 (finite_test): Likewise.
16612 (floor_test): Likewise.
16613 (fma_test): Likewise.
16614 (fma_test_towardzero): Likewise.
16615 (fma_test_downward): Likewise.
16616 (fma_test_upward): Likewise.
16617 (fmax_test): Likewise.
16618 (fmin_test): Likewise.
16619 (fmod_test): Likewise.
16620 (fpclassify_test): Likewise.
16621 (frexp_test): Likewise.
16622 (gamma_test): Likewise.
16623 (hypot_test): Likewise.
16624 (ilogb_test): Likewise.
16625 (isfinite_test): Likewise.
16626 (isgreater_test): Likewise.
16627 (isgreaterequal_test): Likewise.
16628 (isinf_test): Likewise.
16629 (isless_test): Likewise.
16630 (islessequal_test): Likewise.
16631 (islessgreater_test): Likewise.
16632 (isnan_test): Likewise.
16633 (isnormal_test): Likewise.
16634 (issignaling_test): Likewise.
16635 (isunordered_test): Likewise.
16636 (j0_test): Likewise.
16637 (j1_test): Likewise.
16638 (jn_test): Likewise.
16639 (ldexp_test): Likewise.
16640 (lgamma_test): Likewise.
16641 (lrint_test): Likewise.
16642 (lrint_test_tonearest): Likewise.
16643 (lrint_test_towardzero): Likewise.
16644 (lrint_test_downward): Likewise.
16645 (lrint_test_upward): Likewise.
16646 (llrint_test): Likewise.
16647 (llrint_test_tonearest): Likewise.
16648 (llrint_test_towardzero): Likewise.
16649 (llrint_test_downward): Likewise.
16650 (llrint_test_upward): Likewise.
16651 (log_test): Likewise.
16652 (log10_test): Likewise.
16653 (log1p_test): Likewise.
16654 (log2_test): Likewise.
16655 (logb_test): Likewise.
16656 (logb_test_downward): Likewise.
16657 (lround_test): Likewise.
16658 (llround_test): Likewise.
16659 (modf_test): Likewise.
16660 (nearbyint_test): Likewise.
16661 (nextafter_test): Likewise.
16662 (nexttoward_test): Likewise.
16663 (pow_test): Likewise.
16664 (pow_test_tonearest): Likewise.
16665 (pow_test_towardzero): Likewise.
16666 (pow_test_downward): Likewise.
16667 (pow_test_upward): Likewise.
16668 (remainder_test): Likewise.
16669 (remainder_test_tonearest): Likewise.
16670 (remainder_test_towardzero): Likewise.
16671 (remainder_test_downward): Likewise.
16672 (remainder_test_upward): Likewise.
16673 (remquo_test): Likewise.
16674 (rint_test): Likewise.
16675 (rint_test_tonearest): Likewise.
16676 (rint_test_towardzero): Likewise.
16677 (rint_test_downward): Likewise.
16678 (rint_test_upward): Likewise.
16679 (round_test): Likewise.
16680 (scalb_test): Likewise.
16681 (scalbn_test): Likewise.
16682 (scalbln_test): Likewise.
16683 (signbit_test): Likewise.
16684 (sin_test): Likewise.
16685 (sin_test_tonearest): Likewise.
16686 (sin_test_towardzero): Likewise.
16687 (sin_test_downward): Likewise.
16688 (sin_test_upward): Likewise.
16689 (sincos_test): Likewise.
16690 (sinh_test): Likewise.
16691 (sinh_test_tonearest): Likewise.
16692 (sinh_test_towardzero): Likewise.
16693 (sinh_test_downward): Likewise.
16694 (sinh_test_upward): Likewise.
16695 (sqrt_test): Likewise.
16696 (tan_test): Likewise.
16697 (tan_test_tonearest): Likewise.
16698 (tan_test_towardzero): Likewise.
16699 (tan_test_downward): Likewise.
16700 (tan_test_upward): Likewise.
16701 (tanh_test): Likewise.
16702 (tgamma_test): Likewise.
16703 (trunc_test): Likewise.
16704 (y0_test): Likewise.
16705 (y1_test): Likewise.
16706 (yn_test): Likewise.
16707 (significand_test): Likewise.
16709 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16712 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16714 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16717 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16718 __ppc_mdoio and __ppc_mdoom.
16719 * manual/platform.texi: Document new functions __ppc_yield,
16720 __ppc_mdoio and __ppc_mdoom.
16722 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16724 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16725 (main): Mention "tls" pseudo-hwcap is legacy.
16726 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16728 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16730 * math/gen-libm-test.pl (parse_args): Output only string of
16731 arguments as text for test name, not full call or descriptions of
16732 tests for extra outputs.
16733 (generate_testfile): Do not pass function name to parse_args.
16734 Generate this_func variable from START.
16735 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16737 (struct test_ff_f_data): Likewise.
16738 (test_ff_f_data_nexttoward): Likewise.
16739 (struct test_fi_f_data): Likewise.
16740 (struct test_fl_f_data): Likewise.
16741 (struct test_if_f_data): Likewise.
16742 (struct test_fff_f_data): Likewise.
16743 (struct test_c_f_data): Likewise.
16744 (struct test_f_f1_data): Likewise. Remove field extra_name.
16745 (struct test_fF_f1_data): Likewise.
16746 (struct test_ffI_f1_data): Likewise.
16747 (struct test_c_c_data): Rename test_name field to arg_str.
16748 (struct test_cc_c_data): Likewise.
16749 (struct test_f_i_data): Likewise.
16750 (struct test_ff_i_data): Likewise.
16751 (struct test_f_l_data): Likewise.
16752 (struct test_f_L_data): Likewise.
16753 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16755 (COMMON_TEST_SETUP): New macro.
16756 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16757 (COMMON_TEST_CLEANUP): Likewise.
16758 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16759 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16761 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16762 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16764 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16765 (RUN_TEST_fff_f): Take argument string. Call new setup and
16767 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16768 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16770 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16771 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16773 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16774 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16776 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16777 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16779 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16780 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16782 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16783 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16785 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16786 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16788 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16789 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16791 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16792 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16794 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16795 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16797 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16798 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16800 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16801 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16803 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16804 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16806 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16807 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16809 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16810 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16812 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16814 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16816 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16817 to _sifields.sigfault.
16818 (si_addr_lsb): Define new macro.
16819 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16821 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16823 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16826 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16828 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16830 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16831 loading the domain.
16833 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16835 * math/gen-libm-test.pl (parse_args): Do not include expected
16836 result in test name.
16837 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16838 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16839 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16840 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16841 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16844 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16846 * benchtests/Makefile: Sort function entries.
16848 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16849 tanh, asinh, acosh, atanh.
16850 * benchtests/acos-inputs: New file.
16851 * benchtests/acosh-inputs: New file.
16852 * benchtests/asin-inputs: New file.
16853 * benchtests/asinh-inputs: New file.
16854 * benchtests/atanh-inputs: New file.
16855 * benchtests/cosh-inputs: New file.
16856 * benchtests/log-inputs: New file.
16857 * benchtests/sinh-inputs: New file.
16858 * benchtests/tanh-inputs: New file.
16860 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16863 * posix/tst-getaddrinfo4.c: New test.
16864 * posix/Makefile (tests): Add it.
16866 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16869 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16870 when no services were used.
16871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16872 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16874 2013-05-21 Andreas Schwab <schwab@suse.de>
16877 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16878 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16880 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16881 redundant variable declarations and reallocation of buffer when
16882 parsing as IPv6 address. Always set NSS status when called from
16883 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16884 buffer too small. Correct computation of needed size.
16885 * nss/Makefile (tests): Add test-digits-dots.
16886 * nss/test-digits-dots.c: New test.
16888 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16890 * benchtests/Makefile: Remove instructions for adding
16892 * benchtests/README: New file to explain how to execute and
16893 enhance the benchmark tests.
16895 2013-05-21 Andreas Schwab <schwab@suse.de>
16898 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16899 * setjmp/tst-sigsetjmp.c: New test.
16901 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16903 * sysdeps/x86_64/memset.S (memset): New implementation.
16904 (__bzero): Likewise.
16905 (__memset_tail): New function.
16907 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16909 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16910 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16911 __memcpy_sse2_unaligned ifunc selection.
16912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16913 Add memcpy-sse2-unaligned.S.
16914 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16915 Add: __memcpy_sse2_unaligned.
16917 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16920 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16921 math_force_eval before restoring floating-point envrionment.
16922 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16923 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16925 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16927 (__nearbyintl): Use math_force_eval before restoring
16928 floating-point environment.
16929 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16931 * math/gen-libm-test.pl (special_functions): Remove.
16932 (parse_args): Don't handle TEST_extra. Handle functions with no
16934 * math/libm-test.inc (struct test_sincos_data): Replace with
16935 struct test_fFF_11_data.
16936 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16937 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16938 (sincos_test_data): Change element type to struct
16939 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16940 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16941 RUN_TEST_LOOP_sincos.
16942 * math/README.libm-test: Don't mention special handling of
16943 individual functions.
16944 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16945 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16946 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16947 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16948 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16951 * math/gen-libm-test.pl (get_variable): Remove function.
16952 (parse_args): Don't show pointer parameters to call in test
16953 names. Use "extra output N" in test names for extra outputs
16954 rather than naming variables.
16956 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16959 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16960 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16961 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16963 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16965 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16968 * math/gen-libm-test.pl (@tests): Remove variable.
16969 ($count): Likewise.
16970 (new_test): Remove function.
16971 (show_exceptions): New function.
16972 (special_functions): Use show_exceptions instead of new_test.
16973 (parse_args): Likewise.
16974 (generate_testfile): Pass only function name in generated call to
16975 print_max_error or print_complex_max_error.
16976 (get_ulps): Do not handle complex tests specially.
16977 (output_test): Rename to ...
16978 (get_all_ulps_for_test): ... this. Return a string rather than
16979 printing to a file. Require ulps to be present.
16980 (output_ulps): Generate arrays rather than #defines.
16981 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16982 (struct ulp_data): New type.
16983 (BUILD_COMPLEX_ULP): Remove macro.
16984 (compare_ulp_data): New function.
16985 (find_ulps): Likewise.
16986 (find_test_ulps): Likewise.
16987 (find_function_ulps): Likewise.
16988 (find_complex_function_ulps): Likewise.
16989 (print_max_error): Determine allowed ulps using
16990 find_function_ulps.
16991 (print_complex_max_error): Determine allowed ulps using
16992 find_complex_function_ulps.
16993 (check_float_internal): Determine max ulps using find_test_ulps.
16994 (check_float): Do not take max_ulp parameter. Update call to
16995 check_float_internal.
16996 (check_complex): Likewise.
16997 (check_int): Do not take max_ulp parameter.
16998 (check_long): Likewise.
16999 (check_bool): Likewise.
17000 (check_longlong): Likewise.
17001 (struct test_f_f_data): Remove max_ulp field.
17002 (struct test_ff_f_data): Likewise.
17003 (struct test_ff_f_data_nexttoward): Likewise.
17004 (struct test_fi_f_data): Likewise.
17005 (struct test_fl_f_data): Likewise.
17006 (struct test_if_f_data): Likewise.
17007 (struct test_fff_f_data): Likewise.
17008 (struct test_c_f_data): Likewise.
17009 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17010 (struct test_fF_f1_data): Likewise.
17011 (struct test_ffI_f1_data): Likewise.
17012 (struct test_c_c_data): Remove max_ulp field.
17013 (struct test_cc_c_data): Likewise.
17014 (struct test_f_i_data): Likewise.
17015 (struct test_ff_i_data): Likewise.
17016 (struct test_f_l_data): Likewise.
17017 (struct test_f_L_data): Likewise.
17018 (struct test_sincos_data): Likewise.
17019 (RUN_TEST_f_f): Do not handle ulps.
17020 (RUN_TEST_LOOP_f_f): Likewise.
17021 (RUN_TEST_2_f): Likewise.
17022 (RUN_TEST_LOOP_2_f): Likewise.
17023 (RUN_TEST_fff_f): Likewise.
17024 (RUN_TEST_LOOP_fff_f): Likewise.
17025 (RUN_TEST_c_f): Likewise.
17026 (RUN_TEST_LOOP_c_f): Likewise.
17027 (RUN_TEST_f_f1): Likewise.
17028 (RUN_TEST_LOOP_f_f1): Likewise.
17029 (RUN_TEST_fF_f1): Likewise.
17030 (RUN_TEST_LOOP_fF_f1): Likewise.
17031 (RUN_TEST_fI_f1): Likewise.
17032 (RUN_TEST_LOOP_fI_f1): Likewise.
17033 (RUN_TEST_ffI_f1): Likewise.
17034 (RUN_TEST_LOOP_ffI_f1): Likewise.
17035 (RUN_TEST_c_c): Likewise.
17036 (RUN_TEST_LOOP_c_c): Likewise.
17037 (RUN_TEST_cc_c): Likewise.
17038 (RUN_TEST_LOOP_cc_c): Likewise.
17039 (RUN_TEST_f_i): Likewise.
17040 (RUN_TEST_LOOP_f_i): Likewise.
17041 (RUN_TEST_f_i_tg): Likewise.
17042 (RUN_TEST_LOOP_f_i_tg): Likewise.
17043 (RUN_TEST_ff_i_tg): Likewise.
17044 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17045 (RUN_TEST_f_b): Likewise.
17046 (RUN_TEST_LOOP_f_b): Likewise.
17047 (RUN_TEST_f_b_tg): Likewise.
17048 (RUN_TEST_LOOP_f_b_tg): Likewise.
17049 (RUN_TEST_f_l): Likewise.
17050 (RUN_TEST_LOOP_f_l): Likewise.
17051 (RUN_TEST_f_L): Likewise.
17052 (RUN_TEST_LOOP_f_L): Likewise.
17053 (RUN_TEST_sincos): Likewise.
17054 (RUN_TEST_LOOP_sincos): Likewise.
17056 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17060 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17061 main case of finite arguments, set rounding mode to FE_TONEAREST
17062 and discard exceptions.
17063 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17065 (remainder_tonearest_test_data): New variable.
17066 (remainder_test_tonearest): New function.
17067 (remainder_towardzero_test_data): New variable.
17068 (remainder_test_towardzero): New function.
17069 (remainder_downward_test_data): New variable.
17070 (remainder_test_downward): New function.
17071 (remainder_upward_test_data): New variable.
17072 (remainder_test_upward): New function.
17073 (main): Call the new test functions.
17075 * math/libm-test.inc (struct test_f_f1_data): Remove field
17077 (struct test_fF_f1_data): Likewise.
17078 (struct test_ffI_f1_data): Likewise.
17079 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17080 based on value of EXTRA_EXPECTED.
17081 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17082 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17083 EXTRA_VAR based on value of EXTRA_EXPECTED.
17084 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17085 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17086 EXTRA_VAR based on value of EXTRA_EXPECTED.
17087 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17088 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17089 EXTRA_VAR based on value of EXTRA_EXPECTED.
17090 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17091 * math/gen-libm-test.pl (parse_args): Don't output initializers
17092 for extra output values.
17094 * math/libm-test.inc (check_int): Expect result to be exactly
17095 equal to expected value and do not handle ulps.
17096 (check_long): Likewise.
17097 (check_longlong): Likewise.
17099 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17101 (cimag_test_data): Likewise.
17102 (conj_test_data): Likewise.
17103 (copysign_test_data): Likewise.
17104 (cproj_test_data): Likewise.
17105 (creal_test_data): Likewise.
17106 (fabs_test_data): Likewise.
17107 (fdim_test_data): Likewise.
17108 (finite_test_data): Likewise.
17109 (floor_test_data): Likewise.
17110 (fmax_test_data): Likewise.
17111 (fmin_test_data): Likewise.
17112 (fmod_test_data): Likewise.
17113 (fpclassify_test_data): Likewise.
17114 (frexp_test_data): Likewise.
17115 (ilogb_test_data): Likewise.
17116 (isfinite_test_data): Likewise.
17117 (isgreater_test_data): Likewise.
17118 (isgreaterequal_test_data): Likewise.
17119 (isinf_test_data): Likewise.
17120 (isless_test_data): Likewise.
17121 (islessequal_test_data): Likewise.
17122 (islessgreater_test_data): Likewise.
17123 (isnan_test_data): Likewise.
17124 (isnormal_test_data): Likewise.
17125 (issignaling_test_data): Likewise.
17126 (isunordered_test_data): Likewise.
17127 (ldexp_test_data): Likewise.
17128 (lrint_test_data): Likewise.
17129 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17130 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17131 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17132 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17133 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17134 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17136 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17137 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17138 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17139 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17141 (lrint_downward_test_data): Test for "inexact" exceptions.
17142 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17143 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17144 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17146 (lrint_upward_test_data): Test for "inexact" exceptions.
17147 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17149 (llrint_test_data): Test for "inexact" exceptions.
17150 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17151 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17152 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17153 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17154 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17155 (llrint_downward_test_data): Test for "inexact" exceptions.
17156 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17157 (llrint_upward_test_data): Test for "inexact" exceptions.
17158 (logb_test_data): Likewise.
17159 (logb_downward_test_data): Likewise.
17160 (nextafter_test_data): Likewise.
17161 (nexttoward_test_data): Likewise.
17162 (remainder_test_data): Likewise.
17163 (remquo_test_data): Likewise.
17164 (scalbn_test_data): Likewise.
17165 (scalbln_test_data): Likewise.
17166 (signbit_test_data): Likewise.
17167 (sqrt_test_data): Likewise.
17168 (significand_test_data): Likewise.
17170 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17173 * benchtests/bench-modf.c (struct args): Mark arg0 as
17175 * scripts/bench.pl: Mark members of struct args as volatile.
17177 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17180 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17181 negative infinity on POWER6 or lower.
17182 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17184 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17187 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17188 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17189 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17190 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17191 (_FP_SETQNAN): New macro.
17192 (_FP_SETQNAN_SEMIRAW): Likewise.
17193 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17194 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17195 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17196 (FP_EXTEND): Use _FP_FRAC_SNANP.
17197 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17198 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17200 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17202 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17205 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17207 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17208 with DIVIDE_BY_ZERO_EXCEPTION.
17209 (gamma_test_data): Likewise.
17210 (lgamma_test_data): Likewise.
17211 (log_test_data): Likewise.
17212 (log10_test_data): Likewise.
17213 (log2_test_data): Likewise.
17214 (tgamma_test_data): Likewise.
17216 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17217 (acos_test_tonearest): Likewise.
17218 (acos_test_towardzero): Likewise.
17219 (acos_test_downward): Likewise.
17220 (acos_test_upward): Likewise.
17221 (acosh_test): Likewise.
17222 (asin_test): Likewise.
17223 (asin_test_tonearest): Likewise.
17224 (asin_test_towardzero): Likewise.
17225 (asin_test_downward): Likewise.
17226 (asin_test_upward): Likewise.
17227 (asinh_test): Likewise.
17228 (atan_test): Likewise.
17229 (atanh_test): Likewise.
17230 (atan2_test): Likewise.
17231 (cabs_test): Likewise.
17232 (cacos_test): Likewise.
17233 (cacosh_test): Likewise.
17234 (casin_test): Likewise.
17235 (casinh_test): Likewise.
17236 (catan_test): Likewise.
17237 (catanh_test): Likewise.
17238 (cbrt_test): Likewise.
17239 (ccos_test): Likewise.
17240 (ccosh_test): Likewise.
17241 (cexp_test): Likewise.
17242 (clog_test): Likewise.
17243 (clog10_test): Likewise.
17244 (cos_test): Likewise.
17245 (cos_test_tonearest): Likewise.
17246 (cos_test_towardzero): Likewise.
17247 (cos_test_downward): Likewise.
17248 (cos_test_upward): Likewise.
17249 (cosh_test): Likewise.
17250 (cosh_test_tonearest): Likewise.
17251 (cosh_test_towardzero): Likewise.
17252 (cosh_test_downward): Likewise.
17253 (cosh_test_upward): Likewise.
17254 (cpow_test): Likewise.
17255 (csin_test): Likewise.
17256 (csinh_test): Likewise.
17257 (csqrt_test): Likewise.
17258 (ctan_test): Likewise.
17259 (ctan_test_tonearest): Likewise.
17260 (ctan_test_towardzero): Likewise.
17261 (ctan_test_downward): Likewise.
17262 (ctan_test_upward): Likewise.
17263 (ctanh_test): Likewise.
17264 (ctanh_test_tonearest): Likewise.
17265 (ctanh_test_towardzero): Likewise.
17266 (ctanh_test_downward): Likewise.
17267 (ctanh_test_upward): Likewise.
17268 (erf_test): Likewise.
17269 (erfc_test): Likewise.
17270 (exp_test): Likewise.
17271 (exp_test_tonearest): Likewise.
17272 (exp_test_towardzero): Likewise.
17273 (exp_test_downward): Likewise.
17274 (exp_test_upward): Likewise.
17275 (exp10_test): Likewise.
17276 (exp2_test): Likewise.
17277 (expm1_test): Likewise.
17278 (fmod_test): Likewise.
17279 (gamma_test): Likewise.
17280 (hypot_test): Likewise.
17281 (j0_test): Likewise.
17282 (j1_test): Likewise.
17283 (jn_test): Likewise.
17284 (lgamma_test): Likewise.
17285 (log_test): Likewise.
17286 (log10_test): Likewise.
17287 (log1p_test): Likewise.
17288 (log2_test): Likewise.
17289 (logb_test_downward): Likewise.
17290 (pow_test): Likewise.
17291 (pow_test_tonearest): Likewise.
17292 (pow_test_towardzero): Likewise.
17293 (pow_test_downward): Likewise.
17294 (pow_test_upward): Likewise.
17295 (remainder_test): Likewise.
17296 (remquo_test): Likewise.
17297 (sin_test): Likewise.
17298 (sin_test_tonearest): Likewise.
17299 (sin_test_towardzero): Likewise.
17300 (sin_test_downward): Likewise.
17301 (sin_test_upward): Likewise.
17302 (sincos_test): Likewise.
17303 (sinh_test): Likewise.
17304 (sinh_test_tonearest): Likewise.
17305 (sinh_test_towardzero): Likewise.
17306 (sinh_test_downward): Likewise.
17307 (sinh_test_upward): Likewise.
17308 (sqrt_test): Likewise.
17309 (tan_test): Likewise.
17310 (tan_test_tonearest): Likewise.
17311 (tan_test_towardzero): Likewise.
17312 (tan_test_downward): Likewise.
17313 (tan_test_upward): Likewise.
17314 (tanh_test): Likewise.
17315 (tgamma_test): Likewise.
17316 (y0_test): Likewise.
17317 (y1_test): Likewise.
17318 (yn_test): Likewise.
17320 * math/gen-libm-test.pl (adjust_arg): Remove function.
17321 (special_function): Remove argument $in_func. Only handle
17322 generating output for tables of tests, not inside functions.
17323 (parse_args): Likewise.
17324 (generate_testfile): Remove variable $in_func. Update call to
17326 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17327 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17328 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17329 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17330 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17331 (MAX_VALUE_INIT): Rename macro to max_value.
17332 (MIN_VALUE_INIT): Rename macro to min_value.
17333 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17334 (plus_zero): Remove variable.
17335 (minus_zero): Likewise.
17336 (plus_infty): Likewise.
17337 (minus_infty): Likewise.
17338 (qnan_value): Likewise.
17339 (max_value): Likewise.
17340 (min_value): Likewise.
17341 (min_subnorm_value): Likewise.
17343 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17345 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17346 uint64_t or uint32_t usage.
17347 * crypt/sha256-block.c: Likewise.
17348 * crypt/sha256-crypt.c: Likewise.
17349 * crypt/sha256.c: Likewise.
17350 * crypt/sha512-block.c: Likewise.
17351 * crypt/sha512-crypt.c: Likewise.
17352 * crypt/sha512.c: Likewise.
17353 * debug/backtrace-tst.c: Likewise.
17354 * debug/pcprofiledump.c: Likewise.
17355 * elf/cache.c: Likewise.
17356 * elf/dl-cache.c: Likewise.
17357 * elf/dl-misc.c: Likewise.
17358 * elf/dl-profile.c: Likewise.
17359 * elf/dl-support.c: Likewise.
17360 * elf/ldconfig.c: Likewise.
17361 * elf/sprof.c: Likewise.
17362 * iconv/dummy-repertoire.c: Likewise.
17363 * iconv/iconv_charmap.c: Likewise.
17364 * iconv/skeleton.c: Likewise.
17365 * iconvdata/8bit-generic.c: Likewise.
17366 * iconvdata/cp737.h: Likewise.
17367 * iconvdata/cp775.h: Likewise.
17368 * iconvdata/ibm1008.h: Likewise.
17369 * iconvdata/ibm1025.h: Likewise.
17370 * iconvdata/ibm1046.h: Likewise.
17371 * iconvdata/ibm1097.h: Likewise.
17372 * iconvdata/ibm1112.h: Likewise.
17373 * iconvdata/ibm1122.h: Likewise.
17374 * iconvdata/ibm1123.h: Likewise.
17375 * iconvdata/ibm1124.h: Likewise.
17376 * iconvdata/ibm1129.h: Likewise.
17377 * iconvdata/ibm1130.h: Likewise.
17378 * iconvdata/ibm1132.h: Likewise.
17379 * iconvdata/ibm1133.h: Likewise.
17380 * iconvdata/ibm1137.h: Likewise.
17381 * iconvdata/ibm1140.h: Likewise.
17382 * iconvdata/ibm1141.h: Likewise.
17383 * iconvdata/ibm1142.h: Likewise.
17384 * iconvdata/ibm1143.h: Likewise.
17385 * iconvdata/ibm1144.h: Likewise.
17386 * iconvdata/ibm1145.h: Likewise.
17387 * iconvdata/ibm1146.h: Likewise.
17388 * iconvdata/ibm1147.h: Likewise.
17389 * iconvdata/ibm1148.h: Likewise.
17390 * iconvdata/ibm1149.h: Likewise.
17391 * iconvdata/ibm1153.h: Likewise.
17392 * iconvdata/ibm1154.h: Likewise.
17393 * iconvdata/ibm1155.h: Likewise.
17394 * iconvdata/ibm1156.h: Likewise.
17395 * iconvdata/ibm1157.h: Likewise.
17396 * iconvdata/ibm1158.h: Likewise.
17397 * iconvdata/ibm1160.h: Likewise.
17398 * iconvdata/ibm1161.h: Likewise.
17399 * iconvdata/ibm1162.h: Likewise.
17400 * iconvdata/ibm1163.h: Likewise.
17401 * iconvdata/ibm1164.h: Likewise.
17402 * iconvdata/ibm1166.h: Likewise.
17403 * iconvdata/ibm1167.h: Likewise.
17404 * iconvdata/ibm12712.h: Likewise.
17405 * iconvdata/ibm1390.h: Likewise.
17406 * iconvdata/ibm1399.h: Likewise.
17407 * iconvdata/ibm16804.h: Likewise.
17408 * iconvdata/ibm4517.h: Likewise.
17409 * iconvdata/ibm4899.h: Likewise.
17410 * iconvdata/ibm4909.h: Likewise.
17411 * iconvdata/ibm4971.h: Likewise.
17412 * iconvdata/ibm5347.h: Likewise.
17413 * iconvdata/ibm803.h: Likewise.
17414 * iconvdata/ibm856.h: Likewise.
17415 * iconvdata/ibm901.h: Likewise.
17416 * iconvdata/ibm902.h: Likewise.
17417 * iconvdata/ibm9030.h: Likewise.
17418 * iconvdata/ibm9066.h: Likewise.
17419 * iconvdata/ibm921.h: Likewise.
17420 * iconvdata/ibm922.h: Likewise.
17421 * iconvdata/ibm9448.h: Likewise.
17422 * iconvdata/isiri-3342.h: Likewise.
17423 * iconvdata/jis0201.h: Likewise.
17424 * include/link.h: Likewise.
17425 * include/netdb.h: Likewise.
17426 * inet/check_native.c: Likewise.
17427 * inet/check_pf.c: Likewise.
17428 * inet/getipv4sourcefilter.c: Likewise.
17429 * inet/getnameinfo.c: Likewise.
17430 * inet/getsourcefilter.c: Likewise.
17431 * inet/htonl.c: Likewise.
17432 * inet/setipv4sourcefilter.c: Likewise.
17433 * inet/setsourcefilter.c: Likewise.
17434 * inet/test-inet6_opt.c: Likewise.
17435 * inet/tst-network.c: Likewise.
17436 * locale/C-collate.c: Likewise.
17437 * locale/C-ctype.c: Likewise.
17438 * locale/C-time.c: Likewise.
17439 * locale/C-translit.h: Likewise.
17440 * locale/loadarchive.c: Likewise.
17441 * locale/programs/3level.h: Likewise.
17442 * locale/programs/charmap.c: Likewise.
17443 * locale/programs/charmap.h: Likewise.
17444 * locale/programs/ld-address.c: Likewise.
17445 * locale/programs/ld-collate.c: Likewise.
17446 * locale/programs/ld-ctype.c: Likewise.
17447 * locale/programs/ld-identification.c: Likewise.
17448 * locale/programs/ld-measurement.c: Likewise.
17449 * locale/programs/ld-messages.c: Likewise.
17450 * locale/programs/ld-monetary.c: Likewise.
17451 * locale/programs/ld-name.c: Likewise.
17452 * locale/programs/ld-numeric.c: Likewise.
17453 * locale/programs/ld-paper.c: Likewise.
17454 * locale/programs/ld-telephone.c: Likewise.
17455 * locale/programs/ld-time.c: Likewise.
17456 * locale/programs/linereader.c: Likewise.
17457 * locale/programs/locale.c: Likewise.
17458 * locale/programs/locarchive.c: Likewise.
17459 * locale/programs/locfile.h: Likewise.
17460 * locale/programs/repertoire.c: Likewise.
17461 * locale/programs/simple-hash.c: Likewise.
17462 * locale/programs/simple-hash.h: Likewise.
17463 * malloc/memusage.c: Likewise.
17464 * malloc/memusagestat.c: Likewise.
17465 * nis/nis_defaults.c: Likewise.
17466 * nis/nis_hash.c: Likewise.
17467 * nis/nis_print.c: Likewise.
17468 * nis/nis_xdr.c: Likewise.
17469 * nscd/connections.c: Likewise.
17470 * nscd/hstcache.c: Likewise.
17471 * nscd/nscd_gethst_r.c: Likewise.
17472 * nscd/nscd_getserv_r.c: Likewise.
17473 * nscd/nscd_helper.c: Likewise.
17474 * nscd/servicescache.c: Likewise.
17475 * nss/makedb.c: Likewise.
17476 * nss/nss_db/db-XXX.c: Likewise.
17477 * nss/nss_db/db-initgroups.c: Likewise.
17478 * nss/nss_db/db-netgrp.c: Likewise.
17479 * nss/nss_files/files-network.c: Likewise.
17480 * nss/nss_files/files-parse.c: Likewise.
17481 * posix/bug-regex5.c: Likewise.
17482 * posix/fnmatch_loop.c: Likewise.
17483 * posix/regcomp.c: Likewise.
17484 * posix/regexec.c: Likewise.
17485 * posix/tst-rfc3484-2.c: Likewise.
17486 * posix/tst-rfc3484-3.c: Likewise.
17487 * posix/tst-rfc3484.c: Likewise.
17488 * resolv/nss_dns/dns-canon.c: Likewise.
17489 * resolv/nss_dns/dns-network.c: Likewise.
17490 * resolv/res_init.c: Likewise.
17491 * resolv/res_mkquery.c: Likewise.
17492 * resolv/tst-aton.c: Likewise.
17493 * stdlib/cxa_atexit.c: Likewise.
17494 * stdlib/cxa_finalize.c: Likewise.
17495 * stdlib/gen-fpioconst.c: Likewise.
17496 * stdlib/strtol_l.c: Likewise.
17497 * string/tst-endian.c: Likewise.
17498 * sunrpc/auth_des.c: Likewise.
17499 * sunrpc/clnt_udp.c: Likewise.
17500 * sunrpc/rtime.c: Likewise.
17501 * sunrpc/svcauth_des.c: Likewise.
17502 * sunrpc/xdr.c: Likewise.
17503 * sunrpc/xdr_intXX_t.c: Likewise.
17504 * sunrpc/xdr_rec.c: Likewise.
17505 * sysdeps/generic/ldconfig.h: Likewise.
17506 * sysdeps/generic/ldsodefs.h: Likewise.
17507 * sysdeps/generic/memusage.h: Likewise.
17508 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17511 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17512 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17516 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17517 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17518 * sysdeps/posix/getaddrinfo.c: Likewise.
17519 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17520 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17521 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17522 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17523 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17524 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17525 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17526 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17527 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17528 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17529 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17530 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17531 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17532 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17533 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17534 * sysdeps/x86_64/dl-tls.h: Likewise.
17535 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17536 * time/alt_digit.c: Likewise.
17537 * time/era.c: Likewise.
17538 * wcsmbs/tst-c16c32-1.c: Likewise.
17540 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17542 * math/libm-test.inc (struct test_sincos_data): New type.
17543 (RUN_TEST_LOOP_sincos): New macro.
17544 (sincos_test_data): New variable.
17545 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17547 2013-05-16 Richard Henderson <rth@redhat.com>
17549 * math/atest-exp2.c (LIMB64): New macro.
17550 (CONSTSZ): New macro.
17551 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17553 (print_mpn_fp): ... to function scope.
17554 (read_mpn_hex): Remove.
17555 (get_log2): Remove.
17556 (exp2_mpn): Use mp_log2.
17557 (main): Use mp_exp1.
17559 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17561 * math/libm-test.inc: Remove comment about not testing "inexact"
17563 (INEXACT_EXCEPTION): New macro.
17564 (NO_INEXACT_EXCEPTION): Likewise.
17565 (INVALID_EXCEPTION_OK): Update value.
17566 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17567 (OVERFLOW_EXCEPTION_OK): Likewise.
17568 (UNDERFLOW_EXCEPTION_OK): Likewise.
17569 (IGNORE_ZERO_INF_SIGN): Likewise.
17570 (ERRNO_UNCHANGED): Likewise.
17571 (ERRNO_EDOM): Likewise.
17572 (ERRNO_ERANGE): Likewise.
17573 (test_exceptions): Handle testing "inexact" exceptions.
17574 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17575 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17576 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17577 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17579 (rint_towardzero_test_data): Likewise.
17580 (rint_downward_test_data): Likewise.
17581 (rint_upward_test_data): Likewise.
17583 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17584 with OVERFLOW_EXCEPTION.
17585 (exp10_test_data): Likewise.
17586 (exp2_test_data): Likewise.
17587 (expm1_test_data): Likewise.
17588 (lgamma_test_data): Likewise.
17589 (pow_test_data): Likewise.
17590 (tgamma_test_data): Likewise.
17591 (yn_test_data): Remove duplicate test of overflow.
17593 * math/libm-test.inc (struct test_cc_c_data): New type.
17594 (RUN_TEST_LOOP_cc_c): New macro.
17595 (cpow_test_data): New variable.
17596 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17598 * math/libm-test.inc (struct test_f_L_data): New type.
17599 (RUN_TEST_LOOP_f_L): New macro.
17600 (llrint_test_data): New variable.
17601 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17602 (llrint_tonearest_test_data): New variable.
17603 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17604 (llrint_towardzero_test_data): New variable.
17605 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17606 (llrint_downward_test_data): New variable.
17607 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17608 (llrint_upward_test_data): New variable.
17609 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17610 (llround_test_data): New variable.
17611 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17613 2013-05-13 Peter Collingbourne <pcc@google.com>
17615 * math/atest-exp2.c (get_log2): Remove const attribute.
17617 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17619 * math/libm-test.inc (struct test_f_l_data): New type.
17620 (RUN_TEST_LOOP_f_l): New macro.
17621 (lrint_test_data): New variable.
17622 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17623 (lrint_tonearest_test_data): New variable.
17624 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17625 (lrint_towardzero_test_data): New variable.
17626 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17627 (lrint_downward_test_data): New variable.
17628 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17629 (lrint_upward_test_data): New variable.
17630 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17631 (lround_test_data): New variable.
17632 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17634 2013-05-15 Peter Collingbourne <pcc@google.com>
17636 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17637 (EXTRACT_WORDS64) Use where appropriate.
17638 (INSERT_WORDS64) Likewise.
17640 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17641 constraints with x constraints.
17642 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17644 * malloc/obstack.c (_obstack_compat): Add initializer.
17646 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17649 si_trapno and add si_addr_lsb to _sifields.sigfault.
17650 (si_trapno): Remove macro.
17651 (si_addr_lsb): Define new macro.
17652 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17654 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17656 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17657 instead of TEST_f_l.
17658 (llrint_test_tonearest): Likewise.
17659 (llrint_test_towardzero): Likewise.
17660 (llrint_test_downward): Likewise.
17661 (llrint_test_upward): Likewise.
17662 (llround_test): Likewise.
17664 * math/libm-test.inc (struct test_f_i_data): Add comment.
17665 (RUN_TEST_LOOP_f_b): New macro.
17666 (RUN_TEST_LOOP_f_b_tg): Likewise.
17667 (finite_test_data): New variable.
17668 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17669 (isfinite_test_data): New variable.
17670 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17671 (isinf_test_data): New variable.
17672 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17673 (isnan_test_data): New variable.
17674 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17675 (isnormal_test_data): New variable.
17676 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17677 (issignaling_test_data): New variable.
17678 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17679 (signbit_test_data): New variable.
17680 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17682 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17683 with INVALID_EXCEPTION.
17684 (acosh_test_data): Likewise.
17685 (asin_test_data): Likewise.
17686 (atanh_test_data): Likewise.
17687 (fmod_test_data): Likewise.
17688 (log_test_data): Likewise.
17689 (log10_test_data): Likewise.
17690 (log2_test_data): Likewise.
17691 (pow_test_data): Likewise.
17692 (sqrt_test_data): Likewise.
17693 (y0_test_data): Likewise.
17694 (y1_test_data): Likewise.
17695 (yn_test_data): Likewise.
17697 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17700 * math/libm-test.inc (struct test_ff_i_data): New type.
17701 (RUN_TEST_LOOP_ff_i_tg): New macro.
17702 (isgreater_test_data): New variable.
17703 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17704 (isgreaterequal_test_data): New variable.
17705 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17706 (isless_test_data): New variable.
17707 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17708 (islessequal_test_data): New variable.
17709 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17710 (islessgreater_test_data): New variable.
17711 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17712 (isunordered_test_data): New variable.
17713 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17715 2013-05-14 David S. Miller <davem@davemloft.net>
17717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17719 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17721 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17723 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17725 (struct test_f_i_data): Change type of max_ulp to int.
17727 * math/libm-test.inc (test_ffI_f1_data): New type.
17728 (RUN_TEST_LOOP_ffI_f1): New macro.
17729 (remquo_test_data): New variable.
17730 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17732 * setjmp/tst-setjmp-fp.c: New file.
17733 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17734 (link-libm): New variable.
17735 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17737 * math/libm-test.inc (struct test_f_i_data): New type.
17738 (RUN_TEST_LOOP_f_i): New macro.
17739 (RUN_TEST_LOOP_f_i_tg): Likewise.
17740 (fpclassify_test_data): New variable.
17741 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17742 (ilogb_test_data): New variable.
17743 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17745 * math/libm-test.inc (scalbln_test): Correct function name in END
17748 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17749 (RUN_TEST_LOOP_fI_f1): New macro.
17750 (frexp_test_data): New variable.
17751 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17753 * math/libm-test.inc (struct test_fF_f1_data): New type.
17754 (RUN_TEST_LOOP_fF_f1): New macro.
17755 (modf_test_data): New variable.
17756 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17758 * math/libm-test.inc (struct test_f_f1_data): New type.
17759 (RUN_TEST_LOOP_f_f1): New macro.
17760 (gamma_test_data): New variable.
17761 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17762 (lgamma_test_data): New variable.
17763 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17765 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17767 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17768 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17769 (main): Comment "tls" pseudo-hwcap.
17771 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17773 * math/libm-test.inc (struct test_fl_f_data): New type.
17774 (RUN_TEST_LOOP_fl_f): New variable.
17775 (scalbln_test_data): New variable.
17776 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17778 * math/libm-test.inc (struct test_fi_f_data): New type.
17779 (RUN_TEST_LOOP_fi_f): New macro.
17780 (ldexp_test_data): New variable.
17781 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17782 (scalbn_test_data): New variable.
17783 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17785 * math/libm-test.inc (struct test_c_f_data): New type.
17786 (RUN_TEST_LOOP_c_f): New macro.
17787 (cabs_test_data): New variable.
17788 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17789 (carg_test_data): New variable.
17790 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17791 (cimag_test_data): New variable.
17792 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17793 (creal_test_data): New variable.
17794 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17796 * math/libm-test.inc (struct test_if_f_data): New type.
17797 (RUN_TEST_LOOP_if_f): New macro.
17798 (jn_test_data): New variable.
17799 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17800 (yn_test_data): New variable.
17801 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17803 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17805 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17807 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17808 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17810 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17812 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17813 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17814 (bench-deps): Add bench-timing.h.
17815 * benchtests-bench-skeleton.c: Include bench-timing.h.
17816 (main): Use TIMING_* macros instead of clock_gettime.
17817 * benchtests/bench-timing.h: New file.
17820 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17821 Renamed from _LIB_VERSION.
17822 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17824 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17826 * math/libm-test.inc (struct test_fff_f_data): New type.
17827 (RUN_TEST_LOOP_fff_f): New macro.
17828 (fma_test_data): New variable.
17829 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17830 (fma_towardzero_test_data): New variable.
17831 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17832 (fma_downward_test_data): New variable.
17833 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17834 (fma_upward_test_data): New variable.
17835 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17837 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17838 (struct test_c_c_data): New type.
17839 (RUN_TEST_LOOP_c_c): New macro.
17840 (cacos_test_data): New variable.
17841 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17842 (cacosh_test_data): New variable.
17843 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17844 (casin_test_data): New variable.
17845 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17846 (casinh_test_data): New variable.
17847 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17848 (catan_test_data): New variable.
17849 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17850 (catanh_test_data): New variable.
17851 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17852 (ccos_test_data): New variable.
17853 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17854 (ccosh_test_data): New variable.
17855 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17856 (cexp_test_data): New variable.
17857 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17858 (clog_test_data): New variable.
17859 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17860 (clog10_test_data): New variable.
17861 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17862 (conj_test_data): New variable.
17863 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17864 (cproj_test_data): New variable.
17865 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17866 (csin_test_data): New variable.
17867 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17868 (csinh_test_data): New variable.
17869 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17870 (csqrt_test_data): New variable.
17871 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17872 (ctan_test_data): New variable.
17873 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17874 (ctan_tonearest_test_data): New variable.
17875 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17876 (ctan_towardzero_test_data): New variable.
17877 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17878 (ctan_downward_test_data): New variable.
17879 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17880 (ctan_upward_test_data): New variable.
17881 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17882 (ctanh_test_data): New variable.
17883 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17884 (ctanh_tonearest_test_data): New variable.
17885 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17886 (ctanh_towardzero_test_data): New variable.
17887 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17888 (ctanh_downward_test_data): New variable.
17889 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17890 (ctanh_upward_test_data): New variable.
17891 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17892 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17895 * math/libm-test.inc (struct test_ff_f_data): New type.
17896 (struct test_ff_f_data_nexttoward): Likewise.
17897 (RUN_TEST_LOOP_2_f): New macro.
17898 (RUN_TEST_LOOP_ff_f): Likewise.
17899 (atan2_test_data): New variable.
17900 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17901 (copysign_test_data): New variable.
17902 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17903 (fdim_test_data): New variable.
17904 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17905 (fmax_test_data): New variable.
17906 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17907 (fmin_test_data): New variable.
17908 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17909 (fmod_test_data): New variable.
17910 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17911 (hypot_test_data): New variable.
17912 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17913 (nextafter_test_data): New variable.
17914 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17915 (nexttoward_test_data): New variable.
17916 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17917 (pow_test_data): New variable.
17918 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17919 (pow_tonearest_test_data): New variable.
17920 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17921 (pow_towardzero_test_data): New variable.
17922 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17923 (pow_downward_test_data): New variable.
17924 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17925 (pow_upward_test_data): New variable.
17926 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17927 (remainder_test_data): New variable.
17928 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17929 (scalb_test_data): New variable.
17930 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17931 * sysdeps/i386/fpu/libm-test-ulps: Update.
17933 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17935 * math/libm-test.inc (fma_test): Use max_value instead of local
17937 (nextafter_test): Likewise.
17939 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17940 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17941 (acos_downward_test_data): New variable.
17942 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17943 (acos_upward_test_data): New variable.
17944 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17945 (acosh_test_data): New variable.
17946 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17947 (asin_test_data): New variable.
17948 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17949 (asin_tonearest_test_data): New variable.
17950 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17951 (asin_towardzero_test_data): New variable.
17952 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17953 (asin_downward_test_data): New variable.
17954 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17955 (asin_upward_test_data): New variable.
17956 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17957 (asinh_test_data): New variable.
17958 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17959 (atan_test_data): New variable.
17960 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17961 (atanh_test_data): New variable.
17962 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17963 (cbrt_test_data): New variable.
17964 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17965 (ceil_test_data): New variable.
17966 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17967 (cos_test_data): New variable.
17968 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17969 (cos_tonearest_test_data): New variable.
17970 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17971 (cos_towardzero_test_data): New variable.
17972 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17973 (cos_downward_test_data): New variable.
17974 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17975 (cos_upward_test_data): New variable.
17976 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17977 (cosh_test_data): New variable.
17978 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17979 (cosh_tonearest_test_data): New variable.
17980 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17981 (cosh_towardzero_test_data): New variable.
17982 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17983 (cosh_downward_test_data): New variable.
17984 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17985 (cosh_upward_test_data): New variable.
17986 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17987 (erf_test_data): New variable.
17988 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17989 (erfc_test_data): New variable.
17990 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17991 (exp_test_data): New variable.
17992 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17993 (exp_tonearest_test_data): New variable.
17994 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17995 (exp_towardzero_test_data): New variable.
17996 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17997 (exp_downward_test_data): New variable.
17998 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17999 (exp_upward_test_data): New variable.
18000 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18001 (exp10_test_data): New variable.
18002 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18003 (exp2_test_data): New variable.
18004 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18005 (expm1_test_data): New variable.
18006 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18007 (fabs_test_data): New variable.
18008 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18009 (floor_test_data): New variable.
18010 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18011 (j0_test_data): New variable.
18012 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18013 (j1_test_data): New variable.
18014 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18015 (log_test_data): New variable.
18016 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18017 (log10_test_data): New variable.
18018 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18019 (log1p_test_data): New variable.
18020 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18021 (log2_test_data): New variable.
18022 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18023 (logb_test_data): New variable.
18024 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18025 (logb_downward_test_data): New variable.
18026 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18027 (nearbyint_test_data): New variable.
18028 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18029 (rint_test_data): New variable.
18030 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18031 (rint_tonearest_test_data): New variable.
18032 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18033 (rint_towardzero_test_data): New variable.
18034 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18035 (rint_downward_test_data): New variable.
18036 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18037 (rint_upward_test_data): New variable.
18038 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18039 (round_test_data): New variable.
18040 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18041 (sin_test_data): New variable.
18042 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18043 (sin_tonearest_test_data): New variable.
18044 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18045 (sin_towardzero_test_data): New variable.
18046 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18047 (sin_downward_test_data): New variable.
18048 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18049 (sin_upward_test_data): New variable.
18050 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18051 (sinh_test_data): New variable.
18052 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18053 (sinh_tonearest_test_data): New variable.
18054 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18055 (sinh_towardzero_test_data): New variable.
18056 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18057 (sinh_downward_test_data): New variable.
18058 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18059 (sinh_upward_test_data): New variable.
18060 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18061 (sqrt_test_data): New variable.
18062 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18063 (tan_test_data): New variable.
18064 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18065 (tan_tonearest_test_data): New variable.
18066 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18067 (tan_towardzero_test_data): New variable.
18068 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18069 (tan_downward_test_data): New variable.
18070 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18071 (tan_upward_test_data): New variable.
18072 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18073 (tanh_test_data): New variable.
18074 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18075 (tgamma_test_data): New variable.
18076 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18077 (trunc_test_data): New variable.
18078 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18079 (y0_test_data): New variable.
18080 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18081 (y1_test_data): New variable.
18082 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18083 (significand_test_data): New variable.
18084 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18086 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18089 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18091 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18093 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18095 2013-05-10 Andreas Jaeger <aj@suse.de>
18098 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18099 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18101 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18103 * math/gen-libm-test.pl (adjust_arg): New function.
18104 (special_functions): Handle generating output in both functions
18106 (parse_args): Likewise.
18107 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18108 $in_func argument to parse_args.
18109 * math/libm-test.inc (struct test_f_f_data): New type.
18110 (IF_ROUND_INIT_): New macro.
18111 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18112 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18113 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18114 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18115 (ROUND_RESTORE_): Likewise.
18116 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18117 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18118 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18119 (ROUND_RESTORE_FE_UPWARD): Likewise.
18120 (RUN_TEST_LOOP_f_f): New macro.
18121 (acos_test_data): New variable.
18122 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18123 (acos_tonearest_test_data): New variable.
18124 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18126 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18128 * benchtests/bench-skeleton.c (startup): Fix coding style.
18130 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18133 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18134 negative infinity argument.
18135 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18136 negative infinity argument.
18137 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18138 negative infinity argument.
18139 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18142 2013-05-10 Florian Weimer <fweimer@redhat.com>
18144 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18145 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18146 * iconv/iconv_prog.c (main): Likewise.
18147 * locale/programs/charmap-dir.c (charmap_readdir)
18148 (fopen_uncompressed): Likewise.
18149 * locale/programs/locfile.c (siblings_uncached)
18150 (write_locale_data): Use lstat64 instead of lstat.
18151 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18154 2013-05-10 Andreas Jaeger <aj@suse.de>
18157 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18159 Include <locale.h>.
18161 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18163 * elf/dl-close.c (_dl_close_worker): Add comments.
18165 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18168 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18170 (__ieee754_rem_pio2l): Update comments.
18173 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18175 (__ieee754_rem_pio2l): Update comments.
18177 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18178 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18180 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18183 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18184 (M_PI_34_LOG10El): Likewise.
18185 (M_PI2_LOG10El): Likewise.
18186 (M_PI4_LOG10El): Likewise.
18187 (M_PI_LOG10El): Likewise.
18189 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18193 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18195 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18196 (MINUS_ZERO_INIT): Likewise.
18197 (PLUS_INFTY_INIT): Likewise.
18198 (MINUS_INFTY_INIT): Likewise.
18199 (QNAN_VALUE_INIT): Likewise.
18200 (MAX_VALUE_INIT): Likewise.
18201 (MIN_VALUE_INIT): Likewise.
18202 (MIN_SUBNORM_VALUE_INIT): Likewise.
18203 (plus_zero): Initialize with PLUS_ZERO_INIT.
18204 (minus_zero): Initialize with MINUS_ZERO_INIT.
18205 (plus_infty): Initialize with PLUS_INFTY_INIT.
18206 (minus_infty): Initialize with MINUS_INFTY_INIT.
18207 (qnan_value): Initialize with QNAN_VALUE_INIT.
18208 (max_value): Initialize with MAX_VALUE_INIT.
18209 (min_value): Initialize with MIN_VALUE_INIT.
18210 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18212 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18213 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18214 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18215 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18217 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18218 (RUN_TEST_2_f): Likewise.
18219 (RUN_TEST_ff_f): Likewise.
18220 (RUN_TEST_fi_f): Likewise.
18221 (RUN_TEST_fl_f): Likewise.
18222 (RUN_TEST_fff_f): Likewise.
18223 (RUN_TEST_c_f): Likewise.
18224 (RUN_TEST_f_f1): Likewise.
18225 (RUN_TEST_fF_f1): Likewise.
18226 (RUN_TEST_fI_f1): Likewise.
18227 (RUN_TEST_ffI_f1): Likewise.
18228 (RUN_TEST_c_c): Likewise.
18229 (RUN_TEST_cc_c): Likewise.
18230 (RUN_TEST_f_i): Likewise.
18231 (RUN_TEST_f_i_tg): Likewise.
18232 (RUN_TEST_ff_i_tg): Likewise.
18233 (RUN_TEST_f_b): Likewise.
18234 (RUN_TEST_f_b_tg): Likewise.
18235 (RUN_TEST_f_l): Likewise.
18236 (RUN_TEST_f_L): Likewise.
18237 (RUN_TEST_sincos): Likewise.
18238 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18239 whether to show exceptions. Do not include ");\n" in return
18241 (special_functions): Output call to RUN_TEST_sincos instead of
18242 check_float calls. Update calls to new_test.
18243 (parse_args): Output call to single RUN_TEST_* macro instead of
18244 check_* calls and other assignments. Update calls to new_test.
18250 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18251 input to result for tgamma overflow.
18252 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18253 (gamma_coeff): New variable.
18254 (NCOEFF): New macro.
18255 (gamma_positive): New function.
18256 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18257 underflow here. Use gamma_positive instead of exp (lgamma) for
18259 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18260 (gamma_coeff): New variable.
18261 (NCOEFF): New macro.
18262 (gammaf_positive): New function.
18263 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18264 underflow here. Use gamma_positive instead of exp (lgamma) for
18266 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18267 (gamma_coeff): New variable.
18268 (NCOEFF): New macro.
18269 (gammal_positive): New function.
18270 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18271 underflow here. Use gamma_positive instead of exp (lgamma) for
18273 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18274 (gamma_coeff): New variable.
18275 (NCOEFF): New macro.
18276 (gammal_positive): New function.
18277 (__ieee754_gammal_r): Handle positive infinity, overflow and
18278 underflow here. Handle NaN the same as positive infinity. Remove
18279 check x < 0xffffffff for negative integers. Use gamma_positive
18280 instead of exp (lgamma) for other arguments.
18281 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18282 (gamma_coeff): New variable.
18283 (NCOEFF): New macro.
18284 (gammal_positive): New function.
18285 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18286 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18290 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18291 * sysdeps/generic/math_private.h (__gamma_productf): New
18293 (__gamma_product): Likewise.
18294 (__gamma_productl): Likewise.
18295 * math/Makefile (libm-calls): Add gamma_product.
18296 * math/libm-test.inc (tgamma_test): Add more tests.
18297 * sysdeps/i386/fpu/libm-test-ulps: Update.
18298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18300 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18302 * benchtests/bench-skeleton.c (main): Preheat CPU.
18304 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18306 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18308 2013-05-07 Roland McGrath <roland@hack.frob.com>
18310 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18311 and _dl_skip_args_internal.
18313 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18315 * manual/message.texi (Message Translation): Talk about users.
18316 Message to key mapping impacts design.
18318 2013-05-06 Roland McGrath <roland@hack.frob.com>
18320 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18322 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18324 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18325 * sysdeps/wordsize-64/glob64.c: ... here.
18327 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18328 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18331 * debug/getlogin_r_chk.c: Moved to ...
18332 * login/getlogin_r_chk.c: ... here.
18333 * debug/Makefile (routines): Move getlogin_r_chk to ...
18334 * login/Makefile (routines): ... here.
18335 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18336 * login/Versions (libc: GLIBC_2.4): ... here.
18338 * io/poll.c (__poll): Renamed from poll.
18339 Add libc_hidden_def.
18340 (poll): Define as weak alias.
18342 * debug/ptsname_r_chk.c: Moved to ...
18343 * login/ptsname_r_chk.c: ... here.
18344 * debug/Makefile (routines): Move ptsname_r_chk to ...
18345 * login/Makefile (routines): ... here.
18346 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18347 * login/Versions (libc: GLIBC_2.4): ... here.
18349 * posix/getlogin.c: Moved to ...
18350 * login/getlogin.c: ... here.
18351 * posix/getlogin_r.c: Moved to ...
18352 * login/getlogin_r.c: ... here.
18353 * posix/getlogin_r.c: Moved to ...
18354 * login/getlogin_r.c: ... here.
18355 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18356 * login/Makefile (routines): ... here.
18357 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18358 * login/Versions (libc: GLIBC_2.0): ... here.
18360 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18361 (setrlimit): Define as weak alias.
18363 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18364 Call __ names for open, ftruncate, and close.
18365 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18366 (truncate): Define as weak alias.
18368 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18370 * math/gen-libm-test.pl (parse_args): Initialize x before each
18371 test of frexp, modf and remquo.
18373 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18374 test signgam value.
18376 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18380 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18382 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18384 2013-05-06 Roland McGrath <roland@hack.frob.com>
18386 * elf/dl-writev.h: New file.
18387 * elf/dl-misc.c: Include it.
18388 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18389 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18391 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18393 * math/libm-test.inc (noXFails): Remove variable.
18394 (noXPasses): Likewise.
18395 (BUILD_COMPLEX_INT): Remove macro.
18396 (print_screen): Remove xfail argument.
18397 (print_screen_max_error): Likewise.
18398 (update_stats): Likewise.
18399 (print_max_error): Likewise. Update calls to other affected
18401 (print_complex_max_error): Likewise.
18402 (test_single_exception): Update calls to print_screen.
18403 (test_single_errno): Likewise.
18404 (check_float_internal): Remove xfail argument. Update calls to
18405 other affected functions.
18406 (check_float): Likewise.
18407 (check_complex): Likewise.
18408 (check_int): Likewise.
18409 (check_long): Likewise.
18410 (check_bool): Likewise.
18411 (check_longlong): Likewise.
18412 (main): Don't print noXFails and noXPasses.
18413 * math/gen-libm-test.pl (top level): Don't mention expected
18414 failure handling in comment.
18415 (new_test): Don't handle expected failures.
18416 (parse_args): Don't mention expected failure handling in comment.
18417 (generate_testfile): Don't handle expected failures.
18418 (parse_ulps): Likewise.
18419 (print_ulps_file): Likewise.
18420 (get_failure): Remove function.
18421 (output_test): Don't handle expected failures.
18422 * make/README.libm-test: Don't mention expected failure handling.
18424 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18425 (minus_zero): Likewise.
18426 (plus_infty): Likewise.
18427 (minus_infty): Likewise.
18428 (qnan_value): Likewise.
18429 (max_value): Likewise.
18430 (min_value): Likewise.
18431 (min_subnorm_value): Likewise.
18432 (initialize): Do not initialize those variables dynamically.
18434 2013-05-03 Roland McGrath <roland@hack.frob.com>
18436 * io/open.c (__open_2): Moved to ...
18437 * io/open_2.c: ... this new file.
18438 * io/open64.c (__open64_2): Moved to ...
18439 * io/open64_2.c: ... this new file.
18440 * io/openat.c (__openat_2): Moved to ...
18441 * io/openat_2.c: ... this new file.
18442 * io/openat64.c (__openat64_2): Moved to ...
18443 * io/openat64_2.c: ... this new file.
18444 * io/Makefile (routines): Add them.
18445 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18446 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18447 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18448 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18449 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18450 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18451 (__openat64): Add hidden_ver.
18452 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18453 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18455 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18456 Separately conditionalize setting of GLRO(dl_sysinfo) so
18457 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18458 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18460 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18462 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18463 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18465 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18466 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18467 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18468 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18469 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18471 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18473 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18474 test signgam value.
18476 * math/libm-test.inc (hypot_test): Do not use
18477 IGNORE_ZERO_INF_SIGN.
18479 2013-05-03 Andreas Jaeger <aj@suse.de>
18481 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18483 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18484 (PF_MAX): Adjust for VSOCK change.
18486 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18490 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18493 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18494 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18495 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18497 2013-05-02 David S. Miller <davem@davemloft.net>
18499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18501 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18503 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18505 2013-05-01 Roland McGrath <roland@hack.frob.com>
18507 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18509 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18512 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18513 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18514 Use __attribute__ ((__gnu_inline__)).
18515 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18516 Don't use __attribute__ ((__gnu_inline__)).
18518 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18521 * math/s_catan.c (__catan): Handle small real or imaginary part of
18522 input specially to avoid spurious underflow.
18523 * math/s_catanf.c (__catanf): Likewise.
18524 * math/s_catanh.c (__catanh): Likewise.
18525 * math/s_catanhf.c (__catanhf): Likewise.
18526 * math/s_catanhl.c (__catanhl): Likewise.
18527 * math/s_catanl.c (__catanl): Likewise.
18528 * math/libm-test.inc (catan_test): Add more tests.
18529 (catanh_test): Likewise.
18530 * sysdeps/i386/fpu/libm-test-ulps: Update.
18531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18533 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18537 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18540 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18541 accurately for denominator in atan2.
18542 * math/s_catanf.c (__catanf): Likewise.
18543 * math/s_catanh.c (__catanh): Likewise.
18544 * math/s_catanhf.c (__catanhf): Likewise.
18545 * math/s_catanhl.c (__catanhl): Likewise.
18546 * math/s_catanl.c (__catanl): Likewise.
18547 * math/libm-test.inc (catan_test): Add more tests.
18548 (catanh_test): Likewise.
18549 * sysdeps/i386/fpu/libm-test-ulps: Update.
18550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18552 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18554 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18556 * benchtests/Makefile (bench): Remove slow benchmarks.
18557 * benchtests/atan-inputs: Add slow benchmark inputs.
18558 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18559 (BENCH_FUNC): Accept variant offset.
18561 * benchtests/bench-skeleton.c (main): Run benchmark for each
18563 * benchtests/cos-inputs: Add slow benchmark inputs.
18564 * benchtests/exp-inputs: Likewise.
18565 * benchtests/pow-inputs: Likewise.
18566 * benchtests/sin-inputs: Likewise.
18567 * benchtests/slowatan-inputs: Remove.
18568 * benchtests/slowatan.c: Remove.
18569 * benchtests/slowcos-inputs: Remove.
18570 * benchtests/slowcos.c: Remove.
18571 * benchtests/slowexp-inputs: Remove.
18572 * benchtests/slowexp.c: Remove.
18573 * benchtests/slowpow-inputs: Remove.
18574 * benchtests/slowpow.c: Remove.
18575 * benchtests/slowsin-inputs: Remove.
18576 * benchtests/slowsin.c: Remove.
18577 * benchtests/slowtan-inputs: Remove.
18578 * benchtests/slowtan.c: Remove.
18579 * benchtests/tan-inputs: Add slow benchmark inputs.
18580 * scripts/bench.pl: Parse comments and directives.
18582 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18584 ($(objpfx)bench-%.c): Remove *-ITER.
18585 * benchtests/bench-modf.c: Remove definition of ITER.
18586 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18587 (main): Loop for DURATION seconds instead of fixed number of
18589 * scripts/bench.pl: Don't expect iterations in parameters.
18591 2013-04-29 Roland McGrath <roland@hack.frob.com>
18593 * io/fchdir.c (__fchdir): Renamed from fchdir.
18594 (fchdir): Define as weak alias.
18596 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18598 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18599 (ERRNO_EDOM): Likewise.
18600 (ERRNO_ERANGE): Likewise.
18601 (noErrnoTests): New variable.
18602 (init_max_error): Set errno to 0.
18603 (test_single_errno): New function.
18604 (test_errno): Likewise.
18605 (check_float_internal): Call test_errno. Set errno to 0.
18606 (check_complex): Refer to errno tests in comment.
18607 (check_int): Call test_errno. Set errno to 0.
18608 (check_long): Likewise.
18609 (check_bool): Likewise.
18610 (check_longlong): Likewise.
18611 (cos_test): Use ERRNO_* flags for errno tests instead of
18613 (expm1_test): Likewise.
18614 (fmod_test): Likewise.
18615 (ilogb_test): Likewise.
18616 (lgamma_test): Likewise.
18617 (pow_test): Likewise.
18618 (remainder_test): Likewise.
18619 (sin_test): Likewise.
18620 (tan_test): Likewise.
18621 (yn_test): Likewise.
18622 (initialize): Set errno to 0.
18623 (main): Print number of errno tests.
18624 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18626 2013-04-29 Andreas Jaeger <aj@suse.de>
18629 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18633 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18634 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18638 * stdlib/random.c (__initstate): Return NULL if
18642 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18643 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18646 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18650 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18652 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18653 of individual tests.
18654 (casin_test): Likewise.
18655 (casinh_test): Likewise.
18657 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18660 * math/s_catan.c (__catan): Handle arguments with large real or
18661 imaginary part separately without squaring.
18662 * math/s_catanf.c (__catanf): Likewise.
18663 * math/s_catanh.c (__catanh): Likewise.
18664 * math/s_catanhf.c (__catanhf): Likewise.
18665 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18667 (__catanhl): Handle arguments with large real or imaginary part
18668 separately without squaring.
18669 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18671 (__catanl): Handle arguments with large real or imaginary part
18672 separately without squaring.
18673 * math/libm-test.inc (catan_test): Add more tests.
18674 (catanh_test): Likewise.
18675 * sysdeps/i386/fpu/libm-test-ulps: Update.
18676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18678 2013-04-27 Andreas Jaeger <aj@suse.de>
18681 * stdlib/stdlib.h: Update guards for qecvt.
18682 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18685 2013-04-27 Allan McRae <allan@archlinux.org>
18687 * sysdeps/i386/fpu/libm-test-ulps: Update.
18689 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18692 * math/s_catan.c: Include <float.h>.
18693 (__catan): Ensure underflow exception occurs for underflowed
18695 * math/s_catanf.c: Include <float.h>.
18696 (__catanf): Ensure underflow exception occurs for underflowed
18698 * math/s_catanh.c: Include <float.h>.
18699 (__catanh): Ensure underflow exception occurs for underflowed
18701 * math/s_catanhf.c: Include <float.h>.
18702 (__catanhf): Ensure underflow exception occurs for underflowed
18704 * math/s_catanhl.c: Include <float.h>.
18705 (__catanhl): Ensure underflow exception occurs for underflowed
18707 * math/s_catanl.c: Include <float.h>.
18708 (__catanl): Ensure underflow exception occurs for underflowed
18710 * math/libm-test.inc (catan_test): Add more tests.
18711 (catanh_test): Likewise.
18714 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18715 underflowed result.
18716 * math/s_ccoshf.c (__ccoshf): Likewise.
18717 * math/s_ccoshl.c (__ccoshl): Likewise.
18718 * math/s_csin.c (__csin): Likewise.
18719 * math/s_csinf.c (__csinf): Likewise.
18720 * math/s_csinh.c (__csinh): Likewise.
18721 * math/s_csinhf.c (__csinhf): Likewise.
18722 * math/s_csinhl.c (__csinhl): Likewise.
18723 * math/s_csinl.c (__csinl): Likewise.
18724 * math/libm-test.inc (ccos_test): Add more tests.
18725 (ccosh_test): Likewise.
18726 (csin_test): Likewise.
18727 (csinh_test): Likewise.
18729 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18731 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18732 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18733 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18734 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18735 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18736 powerpc/power5+/fpu folders.
18737 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18740 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18744 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18746 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18747 additions to variable.
18748 [$(config-machine) = x86_64] (modules-names): Likewise.
18749 ($(objpfx)tst-audit3): Remove dependency.
18750 ($(objpfx)tst-audit3.out): Likewise.
18751 ($(objpfx)tst-audit4): Likewise.
18752 ($(objpfx)tst-audit4.out): Likewise.
18753 ($(objpfx)tst-audit5): Likewise.
18754 ($(objpfx)tst-audit5.out): Likewise.
18755 ($(objpfx)tst-audit6): Likewise.
18756 ($(objpfx)tst-audit6.out): Likewise.
18757 ($(objpfx)tst-audit7): Likewise.
18758 ($(objpfx)tst-audit7.out): Likewise.
18759 (tst-audit3-ENV): Remove variable.
18760 (tst-audit4-ENV): Likewise.
18761 (tst-audit5-ENV): Likewise.
18762 (tst-audit6-ENV): Likewise.
18763 (tst-audit7-ENV): Likewise.
18764 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18765 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18766 addition to variable.
18767 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18768 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18769 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18770 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18771 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18772 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18773 tst-audit3, tst-audit4 and tst-audit5.
18774 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18775 tst-audit6 and tst-audit7.
18776 [$(subdir) = elf] (modules-names): Add audit modules for those
18778 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18779 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18780 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18781 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18782 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18783 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18784 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18785 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18786 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18787 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18788 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18789 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18790 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18791 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18792 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18793 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18795 [$(subdir) = elf && $(config-cflags-avx) = yes]
18796 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18797 [$(subdir) = elf && $(config-cflags-avx) = yes]
18798 (CFLAGS-tst-auditmod4a.c): Likewise.
18799 [$(subdir) = elf && $(config-cflags-avx) = yes]
18800 (CFLAGS-tst-auditmod4b.c): Likewise.
18801 [$(subdir) = elf && $(config-cflags-avx) = yes]
18802 (CFLAGS-tst-auditmod6b.c): Likewise.
18803 [$(subdir) = elf && $(config-cflags-avx) = yes]
18804 (CFLAGS-tst-auditmod6c.c): Likewise.
18805 [$(subdir) = elf && $(config-cflags-avx) = yes]
18806 (CFLAGS-tst-auditmod7b.c): Likewise.
18807 * elf/tst-audit3.c: Move to ...
18808 * sysdeps/x86_64/tst-audit3.c: ... here.
18809 * elf/tst-audit4.c: Move to ...
18810 * sysdeps/x86_64/tst-audit4.c: ... here.
18811 * elf/tst-audit5.c: Move to ...
18812 * sysdeps/x86_64/tst-audit5.c: ... here.
18813 * elf/tst-audit6.c: Move to ...
18814 * sysdeps/x86_64/tst-audit6.c: ... here.
18815 * elf/tst-audit7.c: Move to ...
18816 * sysdeps/x86_64/tst-audit7.c: ... here.
18817 * elf/tst-auditmod3a.c: Move to ...
18818 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18819 * elf/tst-auditmod3b.c: Move to ...
18820 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18821 * elf/tst-auditmod4a.c: Move to ...
18822 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18823 * elf/tst-auditmod4b.c: Move to ...
18824 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18825 * elf/tst-auditmod5a.c: Move to ...
18826 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18827 * elf/tst-auditmod5b.c: Move to ...
18828 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18829 * elf/tst-auditmod6a.c: Move to ...
18830 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18831 * elf/tst-auditmod6b.c: Move to ...
18832 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18833 * elf/tst-auditmod6c.c: Move to ...
18834 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18835 * elf/tst-auditmod7a.c: Move to ...
18836 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18837 * elf/tst-auditmod7b.c: Move to ...
18838 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18840 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18843 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18844 define unconditionally.
18845 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18846 define unconditionally.
18847 (INT8_C, INT16_C, etc.): Likewise.
18849 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18851 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18852 __ehdr_start with hidden visibility.
18854 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18856 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18858 * math/libm-test.inc (cos_test): Use accurate hex constants.
18859 (sincost_test): Likewise.
18861 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18863 * math/libm-test.inc (catan_test): Add more tests.
18864 (catanh_test): Likewise.
18866 * math/s_catanf.c (__catanf): Use suffixed floating-point
18868 * math/s_catanhf.c (__catanhf): Likewise.
18869 * math/s_catanhl.c (__catanhl): Likewise.
18870 * math/s_catanl.c (__catanl): Likewise.
18873 * math/s_catan.c (__catan): Calculate imaginary part of result
18874 with log1p not log unless computing log of number close to 0.
18875 * math/s_catanf.c (__catanf): Likewise.
18876 * math/s_catanl.c (__catanl): Likewise.
18877 * math/s_catanh.c (__catanh): Calculate real part of result with
18878 log1p not log unless computing log of number close to 0.
18879 * math/s_catanhf.c (__catanhf): Likewise.
18880 * math/s_catanhl.c (__catanhl): Likewise.
18881 * math/libm-test.inc (catan_test): Add more tests.
18882 (catanh_test): Likewise.
18883 * sysdeps/i386/fpu/libm-test-ulps: Update.
18884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18886 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18888 * benchtests/Makefile: Mention files in which fast and slow
18889 paths of math functions are implemented.
18891 2013-04-23 Roland McGrath <roland@hack.frob.com>
18893 * sysdeps/posix/timespec_get.c: New file.
18895 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18897 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18899 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18901 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18902 powerpc/power5/fpu folders.
18903 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18904 * benchtests/Makefile: Add modf testcase.
18905 * benchtests/bench-modf.c: New file: Benchmark test for mo
18907 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18910 * time/Makefile (tests): Add tst-strptime-whitespace.
18911 * time/strptime_l.c (get_number): Use ISSPACE.
18912 (__strptime_internal): Likewise.
18913 * time/tst-strptime-whitespace.c: New test case.
18915 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18917 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18919 (_nss_files_init): Set it here.
18921 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18923 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18924 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18927 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18929 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18931 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18933 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18936 2013-04-21 David S. Miller <davem@davemloft.net>
18938 * po/ru.po: Update Russion translation from translation project.
18940 2013-04-17 Adam Conrad <adconrad@0c3.net>
18942 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18945 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18947 * configure.in: Remove i386 configure warning. Remove i386 case.
18948 * configure: Regenerate.
18949 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18950 Add example to error message.
18951 * sysdeps/i386/configure: Regenerate.
18953 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18955 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18957 * benchtests/cos-inputs: New file.
18958 * benchtests/slowcos-inputs: New file.
18959 * benchtests/slowcos.c: New file.
18960 * benchtests/slowtan-inputs: New file.
18961 * benchtests/slowtan.c: New file.
18962 * benchtests/tan-inputs: New file.
18964 2013-04-16 Roland McGrath <roland@hack.frob.com>
18966 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18969 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18971 * benchtests/Makefile: Include cppflags-iterator.mk to add
18972 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18974 * Makefile.in (bench-clean): New target.
18975 * benchtests/Makefile (bench-clean): Likewise.
18977 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18979 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18981 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18983 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18985 2013-04-15 Andreas Schwab <schwab@suse.de>
18987 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18988 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18989 * nscd/pwdcache.c (cache_addpw): Likewise.
18990 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18993 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18995 * benchtests/Makefile (bench): Write all output to
18996 bench-out.tmp together.
18998 2013-04-15 Andreas Schwab <schwab@suse.de>
19000 * nscd/nscd.c (main): Don't fork again after closing files.
19002 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19004 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19006 * benchtests/Rules (bench-deps): Collect dependencies into a
19007 single variable. Add Makefile to dependencies.
19008 ($(objpfx)bench-%.c): Depend on bench-deps.
19010 2013-04-12 Roland McGrath <roland@hack.frob.com>
19011 Xavier Roche <roche+kml2@exalead.com>
19014 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19015 just that it's a file descriptor.
19016 * manual/llio.texi (Synchronizing AIO Operations): Update description
19017 for EBADF error from aio_fsync.
19019 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19021 * Rules (bench): Move target definition...
19022 * benchtests/Makefile: ... here.
19024 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19026 * math/libm-test.inc (cos_test): Fix PI/2 test.
19027 (sincos_test): Likewise.
19028 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19029 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19031 2013-04-11 Andreas Schwab <schwab@suse.de>
19034 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19035 accept exponent character only when digits were seen.
19036 * stdio-common/Makefile (tests): Add bug26.
19037 * stdio-common/bug26.c: New file.
19040 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19043 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19045 * Makeconfig (rtld-prefix): Define built linker prefix.
19046 * Rules (run-bench): Use it.
19047 * math/Makefile (run-regen-ulps): Likewise.
19049 * Rules (bench): Remove eval.
19051 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19052 Roland McGrath <roland@hack.frob.com>
19053 Ondrej Bilka <neleai@seznam.cz>
19056 * time/getdate.c: Include ctype.h and alloca.h.
19057 (__getdate_r): Trim leading and trailing spaces of input.
19058 * time/tst-getdate.c (tests): Add tests with leading and
19061 2013-04-08 Roland McGrath <roland@hack.frob.com>
19064 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19065 when computing value.
19067 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19069 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19070 Use testrun.sh to run libm tests.
19073 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19075 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19078 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19080 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19082 * Makefile.in (regen-ulps): New target.
19083 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19084 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19085 [ifneq (no,$(PERL)] (regen-ulps): New target.
19086 [ifeq (no,$(PERL)] (regen-ulps): New target.
19087 * math/libm-test.inc (ulps_file_name): Define.
19088 (output_dir): New variable.
19089 (options): Add "output-dir" option.
19090 (parse_opt): Handle 'o' case.
19091 (main): If output_dir is non-NULL use it as a prefix
19093 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19095 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19097 [BZ #10060, #10062]
19098 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19099 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19100 fail configure if __sync_val_compare_and_swap is not inlined.
19101 * sysdeps/i386/configure: Regenerate.
19102 * configure.in: Build for i686 when configured for i386.
19103 * configure: Regenerate.
19104 * README: Remove i386 reference.
19106 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19108 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19109 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19111 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19113 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19114 (lmsnanval): New variables.
19115 (F): Add conversion tests.
19116 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19117 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19119 * stdio-common/tstdiomisc.c (F): Properly collect individual
19122 [BZ #14686, #15336]
19123 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19124 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19125 Instead, use input NaN values or generate a qNaN by arithmetic
19126 operation. Also fix bugs to comply with the standard.
19127 * math/libm-test.inc (remainder_test): Add more tests.
19129 [BZ #15335, #15342]
19130 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19131 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19132 input NaN values or generate a qNaN by arithmetic operation.
19134 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19137 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19140 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19143 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19144 underflowed result.
19145 * math/s_cexpf.c (__cexpf): Likewise.
19146 * math/s_cexpl.c (__cexpl): Likewise.
19147 * math/libm-test.inc (cexp_test): Add more tests.
19149 2013-04-03 Andreas Schwab <schwab@suse.de>
19152 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19153 order arrays from heap if bigger than alloca cutoff.
19155 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19157 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19158 (SNAN_TESTS_double): Refer to GCC PR56831.
19159 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19162 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19164 * Rules (bench): Move bench.out after the run is complete.
19166 * Rules (bench): Echo currently running benchmark.
19168 * benchtests/Makefile (bench): Add atan and slowatan.
19169 * benchtests/atan-inputs: New file.
19170 * benchtests/slowatan-inputs: New file.
19171 * benchtests/slowatan.c: New file.
19173 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19174 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19178 * sysdeps/unix/sysv/linux/kernel-features.h
19179 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19180 __ASSUME_XFS_RESTRICTED_CHOWN.
19181 * sysdeps/unix/sysv/linux/pathconf.c
19182 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19183 Save and restore errno.
19185 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19188 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19189 arguments using __kernel_casinh.
19190 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19191 arguments using __kernel_casinhf.
19192 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19193 arguments using __kernel_casinhl.
19194 * math/libm-test.inc (cacosh_test): Add more tests.
19195 * sysdeps/i386/fpu/libm-test-ulps: Update.
19196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19198 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19200 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19203 * bench/Makefile (bench): Add sin and slowsin.
19204 * benchtests/sin-inputs: New file.
19205 * benchtests/slowsin-inputs: New file.
19206 * benchtests/slowsin.c: New file.
19208 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19209 (bench): Add slowexp and slowpow.
19210 (exp-ITER): Increase iterations.
19211 (pow-ITER): Likewise.
19212 * benchtests/exp-inputs: Change input.
19213 * benchtests/pow-inputs: Likewise.
19214 * benchtests/slowexp-inputs: New file.
19215 * benchtests/slowexp.c: New file.
19216 * benchtests/slowpow-inputs: New file.
19217 * benchtests/slowpow.c: New file.
19219 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19221 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19223 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19224 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19225 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19226 * benchtests/Makefile: Add rint benchtest.
19227 * benchtests/rint-inputs: Input for rint benchtest.
19229 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19231 * Versions.def (libm): Add GLIBC_2.18.
19232 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19233 hidden libm prototypes.
19234 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19235 * math/Makefile (libm-calls): Add s_issignaling.
19236 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19237 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19238 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19240 * math/math.h [__USE_GNU] (issignaling): New macro.
19241 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19242 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19243 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19244 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19245 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19246 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19247 * manual/arith.texi (issignaling): New section.
19248 * manual/libm-err-tab.pl (@all_functions): Update comment.
19249 * math/gen-libm-test.pl (parse_args): Apply special handling for
19251 * math/libm-test.inc (print_float, issignaling_test): New
19253 (check_float_internal): Add issignaling checks.
19254 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19255 default definition.
19256 * sysdeps/powerpc/math-tests.h: New file.
19257 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19259 * math/test-snan.c (TEST_FUNC): Likewise.
19261 2013-03-30 David S. Miller <davem@davemloft.net>
19263 * po/de.po: Update from translation team.
19265 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19268 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19269 imaginary part less than 1.0 and real part less than 0.5
19271 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19272 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19273 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19274 (cacos_test): Add more tests.
19275 (casin_test): Likewise.
19276 (casinh_test): Likewise.
19277 * sysdeps/i386/fpu/libm-test-ulps: Update.
19278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19280 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19282 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19283 ONE with its value.
19285 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19286 (__pow_mp): Replace ONE and MONE with their values.
19287 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19288 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19289 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19290 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19291 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19292 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19294 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19296 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19297 (__pow_mp): Replace ZERO and MZERO with their values.
19298 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19299 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19300 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19302 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19303 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19306 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19308 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19310 2013-03-28 Roland McGrath <roland@hack.frob.com>
19312 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19313 Declare with __attribute__ ((weak)).
19314 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19315 Call __call_tls_dtors only if it's not NULL.
19317 2013-03-28 Roland McGrath <roland@hack.frob.com>
19319 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19320 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19321 magic __ehdr_start linker symbol if it's defined.
19322 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19323 them up here if it was already done.
19325 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19326 (_dl_aux_init): Use const in cast when setting it.
19327 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19328 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19329 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19331 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19333 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19334 * csu/libc-tls.c: Nor here.
19335 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19337 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19338 (__libc_message): Never call vsyslog.
19340 2013-03-28 Alan Modra <amodra@gmail.com>
19342 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19344 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19347 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19350 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19354 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19357 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19358 Don't add gid passed as argument.
19360 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19362 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19365 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19366 imaginary part between 1.0 and 1.5 and real part less than 0.5
19368 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19369 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19370 * math/libm-test.inc (cacos_test): Add more tests.
19371 (casin_test): Likewise.
19372 (casinh_test): Likewise.
19373 * sysdeps/i386/fpu/libm-test-ulps: Update.
19374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19376 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19378 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19381 (denorm): Likewise.
19382 (__dbl_mp): Likewise.
19383 (add_magnitudes): Likewise.
19384 (sub_magnitudes): Likewise.
19392 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19394 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19395 (__dubcos): Likewise.
19396 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19397 (__ieee754_acos): Likewise.
19398 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19399 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19400 (__exp1): Likewise.
19401 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19402 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19404 (my_log2): Likewise.
19405 (checkint): Likewise.
19406 * sysdeps/ieee754/dbl-64/e_remainder.c
19407 (__ieee754_remainder): Likewise.
19408 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19409 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19410 (bsloww): Likewise.
19411 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19413 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19414 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19415 MANTISSA_STORE_T to store computations on mantissa. Use
19416 macros for rounding and division.
19417 (denorm): Likewise.
19418 (__dbl_mp): Likewise.
19419 (add_magnitudes): Likewise.
19420 (sub_magnitudes): Likewise.
19423 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19424 powers of two in terms of TWOPOW macro.
19425 (mp_no): Make type of mantissa as MANTISSA_T.
19426 [!RADIXI]: Define RADIXI.
19427 [!TWO52]: Define TWO52.
19428 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19430 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19432 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19433 llroundl symbol when building for PPC32.
19435 2013-03-24 Mark H Weaver <mhw@netris.org>
19437 * manual/arith.texi (Normalization Functions): Fix prototypes for
19438 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19440 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19443 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19444 high value to check if expl overflow.
19445 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19446 to check for underflow and overflow.
19447 * math/libm-test.inc: Add exp test.
19449 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19452 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19455 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19457 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19460 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19462 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19463 wrap blocks consisting of several statements.
19465 * sysdeps/generic/math-tests.h: New file.
19466 * sysdeps/i386/fpu/math-tests.h: Likewise.
19467 * math/test-snan.c: Include it.
19468 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19470 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19473 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19474 (__ieee754_j0l): Do not improve calculations using cos of twice
19475 input for inputs above LDBL_MAX / 2.0L.
19476 (__ieee754_y0l): Likewise.
19477 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19478 (__ieee754_j1l): Do not improve calculations using cos of twice
19479 input for inputs above LDBL_MAX / 2.0L.
19480 (__ieee754_y1l): Likewise.
19481 * math/libm-test.inc (j0_test): Add another test.
19482 (j1_test): Likewise.
19483 (y0_test): Likewise.
19484 (y1_test): Likewise.
19485 * sysdeps/i386/fpu/libm-test-ulps: Update.
19487 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19489 * Rules ($(objpfx)bench-%.c): Include code from a C source
19492 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19495 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19496 imaginary part 1.0 and real part less than 0.5 specially.
19497 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19498 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19499 * math/libm-test.inc (cacos_test): Add more tests.
19500 (casin_test): Likewise.
19501 (casinh_test): Likewise.
19502 * sysdeps/i386/fpu/libm-test-ulps: Update.
19503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19505 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19507 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19508 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19510 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19512 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19513 * config.make.in (config-cflags-sse4): Remove variable.
19514 (config-cflags-avx): Likewise.
19515 (config-cflags-sse2avx): Likewise.
19516 (config-cflags-novzeroupper): Likewise.
19517 (config-asflags-i686): Likewise.
19518 (have-mfma4): Likewise.
19519 (have-as-vis3): Likewise.
19521 * configure.in (MIG): Do not AC_SUBST.
19522 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19523 (libc_cv_cc_sse4): Do not AC_SUBST.
19524 (libc_cv_cc_avx): Likewise.
19525 (libc_cv_cc_sse2avx): Likewise.
19526 (libc_cv_cc_novzeroupper): Likewise.
19527 (libc_cv_cc_fma4): Likewise.
19528 (libc_cv_as_i686): Likewise.
19529 (libc_cv_sparc_as_vis3): Likewise.
19530 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19532 (config-asflags-i686): Likewise.
19533 (config-cflags-avx): Likewise.
19534 (config-cflags-sse2avx): Likewise.
19535 (have-mfma4): Likewise.
19536 (config-cflags-novzeroupper): Likewise.
19537 * sysdeps/mach/configure.in (MIG): Likewise.
19538 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19539 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19541 (config-cflags-avx): Likewise.
19542 (config-cflags-sse2avx): Likewise.
19543 (have-mfma4): Likewise.
19544 (config-cflags-novzeroupper): Likewise.
19545 * configure: Regenerated.
19546 * sysdeps/i386/configure: Likewise.
19547 * sysdeps/mach/configure: Likewise.
19548 * sysdeps/sparc/configure: Likewise.
19549 * sysdeps/x86_64/configure: Likewise.
19551 2013-03-20 Roland McGrath <roland@hack.frob.com>
19554 * locale/programs/localedef.c (options): Put N_ translation marker
19555 on argument names, not just descriptions.
19557 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19559 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19561 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19564 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19566 2013-03-19 Roland McGrath <roland@hack.frob.com>
19568 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19569 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19570 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19571 [!BEFORE_ABORT] (before_abort): New function.
19572 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19573 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19574 (writev_for_fatal): New function.
19575 (WRITEV_FOR_FATAL): New macro; call that.
19576 (backtrace_and_maps): New function.
19577 (BEFORE_ABORT): New macro; call that.
19578 (struct str_list): Type removed.
19579 (__libc_message, __libc_fatal): Functions removed.
19580 Include <sysdeps/posix/libc_fatal.c> instead.
19582 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19584 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19586 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19589 2013-03-19 Andreas Schwab <schwab@suse.de>
19591 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19592 * sysdeps/gnu/configure: Regenerate.
19594 * configure.in: Substitute libc_cv_rtlddir.
19595 * configure: Regenerate.
19596 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19597 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19598 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19599 * elf/Makefile (install-others, CFLAGS-interp.c)
19600 (ldso_install, common-ldd-rewrite): Likewise.
19601 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19602 $(inst_slibdir)/$(rtld-installed-name).
19603 * scripts/rellns-sh: Add -p option.
19604 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19607 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19609 * manual/nptl.texi: Renamed to ...
19610 * manual/threads.texi: ... this.
19611 * manual/Makefile (chapters): Update.
19613 2013-03-18 Roland McGrath <roland@hack.frob.com>
19616 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19617 on argument names, not just descriptions.
19618 * malloc/memusagestat.c (options): Likewise.
19619 * nss/getent.c (options): Likewise.
19621 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19624 * iconv/iconv_prog.c (options): Put N_ translation marker
19625 on argument names, not just descriptions.
19626 * iconv/iconvconfig.c (options): Likewise.
19628 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19630 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19631 implementation which is faster on all x86_64 architectures.
19632 Tested on AMD, Intel Nehalem, SNB, IVB.
19633 * sysdeps/x86_64/strnlen.S: Likewise.
19635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19636 Remove all multiarch strlen and strnlen versions.
19637 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19638 Remove strlen and strnlen related parts.
19640 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19641 Inline strlen part.
19642 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19644 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19645 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19646 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19647 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19648 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19649 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19651 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19653 * manual/memory.texi (Malloc Tunable Parameters):
19654 Sort parameters alphabetically. Add comments for missing entries.
19656 2013-03-17 David S. Miller <davem@davemloft.net>
19658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19660 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19663 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19664 for arguments at most half maximum finite value.
19665 * math/libm-test.inc (j0_test): Add more tests.
19666 (j1_test): Likewise.
19667 (y0_test): Likewise.
19668 (y1_test): Likewise.
19669 * sysdeps/i386/fpu/libm-test-ulps: Update.
19670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19673 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19674 1 / x and functions P and Q for arguments above 0x1p256L.
19675 (__ieee754_y0l): Likewise.
19676 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19677 (__ieee754_y1l): Likewise.
19678 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19679 (j1_test): Likewise.
19680 (y0_test): Likewise.
19681 (y1_test): Likewise.
19683 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19685 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19688 2013-03-15 Roland McGrath <roland@hack.frob.com>
19690 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19691 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19692 zero since it's initialized to EXEC_PAGESIZE.
19694 * sysdeps/unix/sysv/linux/ldsodefs.h
19695 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19696 * sysdeps/generic/ldsodefs.h: ... here.
19698 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19700 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19702 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19704 * math/test-snan.c: Renamed from
19705 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19706 * math/Makefile (tests): Add test-snan.
19707 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19710 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19711 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19713 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19714 __builtin_nan family of functions.
19715 * math/libm-test.inc (initialize): Initialize qnan_value with
19716 __builtin_nan family of functions.
19717 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19719 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19721 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19722 storage class. Initialize qNaN_var and sNaN_var with
19723 __builtin_nan and __builtin_nans families of functions,
19726 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19727 (sqrt_test): Remove duplicate test with qNaN input.
19728 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19729 (round_test, signbit_test, significand_test): Note missing +/-Inf
19730 as well as qNaN tests.
19732 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19733 qNaN_var. Fix a few strings, too.
19734 * math/libm-test.inc (nan_value): Rename to qnan_value.
19735 * math/gen-libm-test.pl (%beautify): Adjust to that.
19736 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19737 * math/test-misc.c (main): Likewise.
19738 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19739 to __qnan_bytes, and __qnan_union, respectively.
19740 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19742 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19743 and lqnanval, respectively.
19744 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19745 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19746 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19747 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19749 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19750 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19753 * math/test-misc.c (main): Fix copy'n'pastos.
19754 * misc/tst-efgcvt.c (special): Likewise.
19756 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19757 Remove declarations.
19759 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19761 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19762 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19763 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19764 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19766 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19768 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19769 macro to return vdso values correctly in IFUNC implementations.
19770 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19771 Optimization by using IFUNC.
19773 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19774 Richard Henderson <rth@redhat.com>
19775 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19777 * Makefile.in (bench): New target.
19778 * NEWS: Mention the benchmark framework.
19779 * Rules (bench): Likewise.
19780 (binaries-bench): Generate binaries for functions to
19782 * benchtests/Makefile: New makefile for benchmark tests.
19783 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19785 * benchtests/exp-inputs: New input file for EXP function.
19786 * benchtests/pow-inputs: New input file for POW function.
19787 * scripts/bench.pl: New script to generate source files for
19788 benchmark programs.
19790 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19792 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19793 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19794 computations on mantissa. Use macros for rounding and
19796 (denorm): Likewise.
19797 (__dbl_mp): Likewise.
19798 (add_magnitudes): Likewise.
19799 (sub_magnitudes): Likewise.
19802 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19803 powers of two in terms of TWOPOW macro.
19804 (mp_no): Make type of mantissa as MANTISSA_T.
19805 [!RADIXI]: Define RADIXI.
19806 [!TWO52]: Define TWO52.
19807 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19809 * manual/nptl.texi (cindex): Modify threads to pthreads.
19811 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19813 * sysdeps/x86_64/preconfigure: Regenerated.
19815 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19818 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19820 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19821 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19823 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19824 * math/libm-test.inc (j0_test): Do not allow one spurious
19825 underflow exception.
19826 (y1_test): Likewise.
19828 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19830 * manual/Makefile (chapters): Add nptl.
19831 * manual/debug.texi (Debugging Support): Add link to Threads
19833 * manual/nptl.texi: New file.
19835 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19837 2013-03-14 Petr Baudis <pasky@ucw.cz>
19839 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19840 for non-NULL pointer before the memory validity test. Pointed
19841 out by Holger Brunck <holger.brunck@keymile.com>.
19843 2013-03-13 Andreas Schwab <schwab@suse.de>
19845 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19848 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19850 * timezone/zic.c: Update from tzcode 2013b.
19852 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19854 * manual/install.texi (Configuring and compiling):
19855 Mention i686 and i586.
19856 * INSTALL: Regenerate.
19858 2013-03-12 Roland McGrath <roland@hack.frob.com>
19860 * sysdeps/init_array/elf-init.c: New file.
19862 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19863 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19865 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19866 __gmon_start__ as global, but as static with a .preinit_array pointer.
19867 * sysdeps/init_array/gmon-start.c: New file. Use that.
19868 * sysdeps/init_array/crti.S: New file, empty except for comments.
19869 * sysdeps/init_array/crtn.S: Likewise.
19871 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19873 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19876 Remove Prefer_SSE_for_memop.
19877 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19878 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19879 HAS_PREFER_SSE_FOR_MEMOP.
19880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19882 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19883 Remove bzero, memset ifunc support.
19884 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19885 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19886 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19887 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19889 2013-03-11 Andreas Schwab <schwab@suse.de>
19892 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19895 (GLIBC_2.16): Remove pthread_atfork.
19897 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19899 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19900 (ptestcases.h): Likewise.
19902 2013-03-08 Roland McGrath <roland@hack.frob.com>
19904 * Makeconfig ($(common-objpfx)config.status): Depend on
19905 sysdeps/*/preconfigure{,.in} too.
19907 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19909 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19910 (__free_hook): Use void * instead of __malloc_ptr_t.
19911 (__malloc_hook): Likewise.
19912 (__realloc_hook): Likewise.
19913 (__memalign_hook): Likewise.
19914 (__after_morecore_hook): Likewise.
19915 * malloc/arena.c (save_malloc_hook): Likewise.
19916 (save_free_hook): Likewise.
19917 * malloc/hooks.c (malloc_hook_ini): Likewise.
19918 (realloc_hook_ini): Likewise.
19919 (memalign_hook_ini): Likewise.
19920 * malloc/malloc.c (malloc_hook_ini): Likewise.
19921 (realloc_hook_ini): Likewise.
19922 (memalign_hook_ini): Likewise.
19923 (__free_hook): Likewise.
19924 (__malloc_hook): Likewise.
19925 (__realloc_hook): Likewise.
19926 (__memalign_hook): Likewise.
19927 (__libc_malloc): Likewise.
19928 (__libc_free): Likewise.
19929 (__libc_realloc): Likewise.
19930 (__libc_memalign): Likewise.
19931 (__libc_valloc): Likewise.
19932 (__libc_pvalloc): Likewise.
19933 (__libc_calloc): Likewise.
19934 (__posix_memalign): Likewise.
19935 * malloc/morecore.c (__sbrk): Likewise.
19936 (__default_morecore): Likewise.
19938 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19940 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19941 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19942 __malloc_ptrdiff_t.
19944 * malloc/malloc.h (__malloc_size_t): Remove macro.
19945 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19947 (old_memalign_hook): Likewise.
19948 (old_realloc_hook): Likewise.
19949 (struct hdr): Likewise.
19951 (mallochook): Likewise.
19952 (memalignhook): Likewise.
19953 (reallochook): Likewise.
19954 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19955 (tr_old_realloc_hook): Likewise.
19956 (tr_old_memalign_hook): Likewise.
19957 (tr_mallochook): Likewise.
19958 (tr_reallochook): Likewise.
19959 (tr_memalignhook): Likewise.
19961 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19964 default_ldbl_pack and using as default implementation.
19965 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19967 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19968 redundant definition.
19969 (ldbl_insert_mantissa): Likewise.
19970 (ldbl_canonicalize): Likewise.
19971 (ldbl_nearbyint): Likewise.
19972 (ldbl_pack): Rename to ldbl_pack_ppc.
19973 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19974 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19975 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19977 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19980 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19981 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19982 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19984 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19985 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19986 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19988 2013-03-07 Andreas Jaeger <aj@suse.de>
19990 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19993 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19995 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19996 Include mpa.h and declare __MPEXP.
19997 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19998 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19999 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20000 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20001 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20002 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20003 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20005 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20006 (__slowpow): Use long double EXPL and LOGL functions to
20008 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20009 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20010 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20011 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20012 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20013 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20016 intermediate variable to calculate exponent.
20018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20022 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20023 [!NO__SQR]: Define __sqr.
20024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20025 and NO__SQR. Remove all code except __mul and __sqr. Include
20026 sysdeps/ieee754/dbl-64/mpa.c.
20027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20030 * posix/Makefile (tests): Add tst-pathconf.
20031 * posix/tst-pathconf.c: New test case.
20032 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20034 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20036 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20038 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20040 2013-03-06 Andreas Jaeger <aj@suse.de>
20042 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20043 definition via __MAP_ANONYMOUS.
20045 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20046 it's not part of Linux headers.
20048 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20049 (MAP_HUGE_MASK): Define.
20051 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20053 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20054 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20056 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20057 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20059 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20060 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20062 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20064 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20065 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20066 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20067 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20068 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20069 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20071 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20074 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20075 Handle f2fs and efivarfs.
20077 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20080 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20081 (EFIVARFS_MAGIC): Add.
20082 (F2FS_LINK_MAX): Add.
20084 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20086 * stdio-common/vfprintf.c: Replace __builtin_expect with
20089 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20092 * sysdeps/generic/bp-sym.h: Remove file.
20093 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20094 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20095 <bp-sym.h> and <bp-asm.h>.
20096 (__longjmp): Don't use BP_SYM.
20097 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20099 (memcpy): Don't use BP_SYM.
20100 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20101 <bp-sym.h> and <bp-asm.h>.
20102 (memcpy): Don't use BP_SYM.
20103 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20105 (memcpy): Don't use BP_SYM.
20106 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20108 (memset): Don't use BP_SYM.
20109 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20110 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20111 (__bzero): Don't use BP_SYM.
20112 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20113 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20114 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20115 <bp-sym.h> and <bp-asm.h>.
20116 (memcmp): Don't use BP_SYM. Remove comment about bounded
20118 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20119 <bp-sym.h> and <bp-asm.h>.
20120 (memcpy): Don't use BP_SYM.
20121 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20122 <bp-sym.h> and <bp-asm.h>.
20123 (memset): Don't use BP_SYM.
20124 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20125 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20126 (__bzero): Don't use BP_SYM.
20127 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20128 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20129 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20130 <bp-sym.h> and <bp-asm.h>.
20131 (strncmp): Don't use BP_SYM. Remove comment about bounded
20133 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20134 <bp-sym.h> and <bp-asm.h>.
20135 (memcpy): Don't use BP_SYM.
20136 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20137 <bp-sym.h> and <bp-asm.h>.
20138 (memset): Don't use BP_SYM.
20139 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20140 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20141 (__bzero): Don't use BP_SYM.
20142 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20143 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20144 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20145 <bp-sym.h> and <bp-asm.h>.
20146 (__memchr): Don't use BP_SYM.
20147 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20148 <bp-sym.h> and <bp-asm.h>.
20149 (memcmp): Don't use BP_SYM. Remove comment about bounded
20151 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20152 <bp-sym.h> and <bp-asm.h>.
20153 (memcpy): Don't use BP_SYM.
20154 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20155 <bp-sym.h> and <bp-asm.h>.
20156 (__mempcpy): Don't use BP_SYM.
20157 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20158 <bp-sym.h> and <bp-asm.h>.
20159 (__memrchr): Don't use BP_SYM.
20160 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20161 <bp-sym.h> and <bp-asm.h>.
20162 (memset): Don't use BP_SYM.
20163 (__bzero): Likewise.
20164 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20165 <bp-sym.h> and <bp-asm.h>.
20166 (__rawmemchr): Don't use BP_SYM.
20167 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20168 <bp-sym.h> and <bp-asm.h>.
20169 (__STRCMP): Don't use BP_SYM.
20170 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20171 <bp-sym.h> and <bp-asm.h>.
20172 (strchr): Don't use BP_SYM.
20173 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20174 <bp-sym.h> and <bp-asm.h>.
20175 (__strchrnul): Don't use BP_SYM.
20176 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20177 <bp-sym.h> and <bp-asm.h>.
20178 (strlen): Don't use BP_SYM.
20179 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20180 <bp-sym.h> and <bp-asm.h>.
20181 (strncmp): Don't use BP_SYM. Remove comment about bounded
20183 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20184 <bp-sym.h> and <bp-asm.h>.
20185 (__strnlen): Don't use BP_SYM.
20186 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20187 <bp-sym.h> and <bp-asm.h>.
20188 (__GI__setjmp): Don't use BP_SYM.
20189 (_setjmp): Likewise.
20190 (__sigsetjmp): Likewise.
20191 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20192 (L(start_addresses)): Don't use BP_SYM.
20193 (_start): Likewise.
20194 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20196 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20197 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20198 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20199 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20200 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20202 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20203 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20204 about bounded pointers.
20205 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20206 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20207 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20209 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20210 about bounded pointers. Remove GKM FIXME comments.
20211 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20212 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20214 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20215 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20216 Remove GKM FIXME comments.
20217 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20218 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20219 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20221 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20222 about bounded pointers. Remove GKM FIXME comment.
20223 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20225 (strncmp): Don't use BP_SYM. Remove comment about bounded
20227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20228 <bp-sym.h> and <bp-asm.h>.
20229 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20231 <bp-sym.h> and <bp-asm.h>.
20232 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20235 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20237 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20240 2013-03-05 David S. Miller <davem@davemloft.net>
20242 * po/es.po: Update from translation team.
20244 2013-03-05 Andreas Jaeger <aj@suse.de>
20246 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20247 <bits/mman-linux.h>.
20248 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20250 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20251 <bits/mman-linux.h> to end of file.
20252 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20254 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20255 <bits/mman-linux.h> to end of file.
20256 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20258 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20259 <bits/mman-linux.h> to end of file.
20261 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20262 (MCL_CURRENT, MCL_FUTURE): Define here.
20264 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20267 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20269 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20271 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20273 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20274 fourth parameter needed for rt_sigprocmask syscall.
20275 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20276 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20277 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20278 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20279 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20280 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20282 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20285 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20286 comment about bounded pointers.
20287 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20288 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20290 2013-03-04 Andreas Jaeger <aj@suse.de>
20292 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20293 common definitions.
20295 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20296 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20297 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20298 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20299 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20300 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20302 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20305 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20306 __ieee754_sqrl instead of __sqrl.
20308 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20310 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20311 * sysdeps/powerpc/fpu_control.h: ... here.
20312 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20313 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20314 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20315 * sysdeps/powerpc/bits/mathinline.h: ... here.
20317 2013-03-01 Roland McGrath <roland@hack.frob.com>
20319 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20320 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20321 to just [NEED_DL_SYSINFO_DSO].
20322 * elf/dl-support.c: Likewise.
20323 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20324 * elf/rtld.c (dl_main): Likewise.
20325 * elf/setup-vdso.h (setup_vdso): Likewise.
20326 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20327 * sysdeps/unix/sysv/linux/dl-sysdep.c
20328 (_dl_discover_osversion): Likewise.
20330 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20332 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20333 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20335 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20337 * NEWS: Mention libm performance improvements and non-x86 PI
20340 * csu/libc-start.c (__pthread_initialize_minimal): Change
20341 function arguments.
20342 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20344 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20347 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20348 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20349 <bp-sym.h> and <bp-asm.h>.
20350 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20351 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20353 (memcpy): Don't use BP_SYM.
20354 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20356 (__mpn_add_n): Don't use BP_SYM.
20357 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20358 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20360 (__mpn_addmul_1): Don't use BP_SYM.
20361 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20362 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20364 (_setjmp): Don't use BP_SYM.
20365 (__novmx_setjmp): Likewise.
20366 (__GI__setjmp): Likewise.
20367 (__vmx_setjmp): Likewise.
20368 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20370 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20371 (__bzero): Don't use BP_SYM.
20372 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20373 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20374 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20375 <bp-sym.h> and <bp-asm.h>.
20376 (memcpy): Don't use BP_SYM.
20377 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20378 <bp-sym.h> and <bp-asm.h>.
20379 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20380 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20381 <bp-sym.h> and <bp-asm.h>.
20382 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20383 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20385 (__mpn_lshift): Don't use BP_SYM.
20386 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20387 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20389 (memset): Don't use BP_SYM.
20390 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20391 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20392 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20394 (__mpn_mul_1): Don't use BP_SYM.
20395 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20396 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20397 <bp-sym.h> and <bp-asm.h>.
20398 (memcmp): Don't use BP_SYM.
20399 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20400 <bp-sym.h> and <bp-asm.h>.
20401 (memcpy): Don't use BP_SYM.
20402 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20403 <bp-sym.h> and <bp-asm.h>.
20404 (memset): Don't use BP_SYM.
20405 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20406 <bp-sym.h> and <bp-asm.h>.
20407 (strncmp): Don't use BP_SYM.
20408 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20409 <bp-sym.h> and <bp-asm.h>.
20410 (memcpy): Don't use BP_SYM.
20411 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20412 <bp-sym.h> and <bp-asm.h>.
20413 (memset): Don't use BP_SYM.
20414 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20415 <bp-sym.h> and <bp-asm.h>.
20416 (__memchr): Don't use BP_SYM.
20417 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20418 <bp-sym.h> and <bp-asm.h>.
20419 (memcmp): Don't use BP_SYM.
20420 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20421 <bp-sym.h> and <bp-asm.h>.
20422 (memcpy): Don't use BP_SYM.
20423 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20424 <bp-sym.h> and <bp-asm.h>.
20425 (__mempcpy): Don't use BP_SYM.
20426 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20427 <bp-sym.h> and <bp-asm.h>.
20428 (__memrchr): Don't use BP_SYM.
20429 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20430 <bp-sym.h> and <bp-asm.h>.
20431 (memset): Don't use BP_SYM.
20432 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20433 <bp-sym.h> and <bp-asm.h>.
20434 (__rawmemchr): Don't use BP_SYM.
20435 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20436 <bp-sym.h> and <bp-asm.h>.
20437 (__STRCMP): Don't use BP_SYM.
20438 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20439 <bp-sym.h> and <bp-asm.h>.
20440 (strchr): Don't use BP_SYM.
20441 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20442 <bp-sym.h> and <bp-asm.h>.
20443 (__strchrnul): Don't use BP_SYM.
20444 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20445 <bp-sym.h> and <bp-asm.h>.
20446 (strlen): Don't use BP_SYM.
20447 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20448 <bp-sym.h> and <bp-asm.h>.
20449 (strncmp): Don't use BP_SYM.
20450 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20451 <bp-sym.h> and <bp-asm.h>.
20452 (__strnlen): Don't use BP_SYM.
20453 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20455 (__mpn_rshift): Don't use BP_SYM.
20456 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20457 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20458 <bp-sym.h> and <bp-asm.h>.
20459 (__sigsetjmp): Don't use BP_SYM.
20460 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20461 (L(start_addresses)): Don't use BP_SYM.
20462 (_start): Likewise.
20463 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20465 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20466 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20467 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20468 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20470 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20471 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20472 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20473 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20475 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20477 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20478 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20480 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20482 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20483 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20484 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20486 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20488 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20490 (strncmp): Don't use BP_SYM,
20491 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20493 (__mpn_sub_n): Don't use BP_SYM.
20494 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20495 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20497 (__mpn_submul_1): Don't use BP_SYM.
20498 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20500 <bp-sym.h> and <bp-asm.h>.
20501 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20503 <bp-sym.h> and <bp-asm.h>.
20504 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20507 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20510 Use ZK to minimize writes to Z.
20511 (sub_magnitudes): Simplify code a bit.
20512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20513 Use ZK to minimize writes to Z.
20514 (sub_magnitudes): Simplify code a bit.
20516 2013-02-27 Roland McGrath <roland@hack.frob.com>
20518 * csu/gmon-start.c: Add special exception to license text.
20520 2013-02-27 Richard Henderson <rth@redhat.com>
20522 * scripts/config.guess: Update from config.git.
20523 * scripts/config.sub: Likewise.
20525 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20527 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20529 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20531 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20533 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20535 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20537 2013-02-26 Roland McGrath <roland@hack.frob.com>
20539 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20540 [$(build-shared = yes].
20542 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20544 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20545 (__mul): Reduce iterations for calculating mantissa.
20547 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20549 (__mpranred): Likewise.
20552 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20553 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20555 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20557 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20558 Define __attribute__.
20560 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20562 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20564 * posix/regex_internal.h (__attribute): Remove.
20565 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20566 (re_string_context_at): Likewise.
20567 (bitset_not): Use __attribute__ and mark function as possibly
20569 (bitset_merge): Likewise.
20570 (bitset_mask): Likewise.
20571 (re_string_char_size_at): Likewise.
20572 (re_string_wchar_at): Likewise.
20573 (re_string_elem_size_at): Likewise.
20575 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20577 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20581 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20585 (denorm): Likewise.
20586 (__dbl_mp): Likewise.
20587 (add_magnitudes): Likewise.
20588 (sub_magnitudes): Likewise.
20592 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20595 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20598 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20602 up changes with default code.
20603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20606 2013-02-24 Allan McRae <allan@archlinux.org>
20608 * manual/socket.texi (The Internet Namespace): Order menu items
20609 to match that in the file.
20611 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20612 node listing of the info page menu.
20614 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20617 * sysdeps/i386/bp-asm.h: Remove file.
20618 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20619 (PARMS): Do not use macros from bp-asm.h.
20623 (__mpn_add_n): Do not use BP_SYM
20624 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20626 (PARMS): Do not use macros from bp-asm.h.
20629 (__mpn_addmul_1): Do not use BP_SYM
20630 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20632 (PARMS): Do not use macros from bp-asm.h.
20633 (SIGMSK): Likewise.
20634 (_setjmp): Likewise. Do not use BP_SYM.
20635 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20637 (PARMS): Do not use macros from bp-asm.h.
20638 (SIGMSK): Likewise.
20639 (setjmp): Likewise. Do not use BP_SYM.
20640 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20642 (PARMS): Do not use macros from bp-asm.h.
20643 (__frexp): Do not use BP_SYM.
20645 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20647 (PARMS): Do not use macros from bp-asm.h.
20648 (__frexpf): Do not use BP_SYM.
20649 (frexpf): Likewise.
20650 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20652 (PARMS): Do not use macros from bp-asm.h.
20653 (__frexpl): Do not use BP_SYM.
20654 (frexpl): Likewise.
20655 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20657 (PARMS): Do not use macros from bp-asm.h.
20658 (__remquo): Do not use BP_SYM.
20659 (remquo): Likewise.
20660 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20662 (PARMS): Do not use macros from bp-asm.h.
20663 (__remquof): Do not use BP_SYM.
20664 (remquof): Likewise.
20665 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20667 (PARMS): Do not use macros from bp-asm.h.
20668 (__remquol): Do not use BP_SYM.
20669 (remquol): Likewise.
20670 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20672 (PARMS): Do not use macros from bp-asm.h.
20675 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20676 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20678 (PARMS): Do not use macros from bp-asm.h.
20679 (strlen): Do not use BP_SYM.
20680 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20682 (PARMS): Do not use macros from bp-asm.h.
20686 (__mpn_add_n): Do not use BP_SYM.
20687 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20689 (PARMS): Do not use macros from bp-asm.h.
20692 (__mpn_addmul_1): Do not use BP_SYM.
20693 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20696 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20698 (PARMS): Do not use macros from bp-asm.h.
20701 (__mpn_lshift): Do not use BP_SYM.
20702 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20704 (PARMS): Do not use macros from bp-asm.h.
20708 (memcpy): Likewise. Do not use BP_SYM.
20709 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20710 libc_hidden_def and weak_alias.
20711 (mempcpy): Do not use BP_SYM in weak_alias.
20712 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20714 (PARMS): Do not use macros from bp-asm.h.
20717 [!BZERO_P] (CHR): Likewise.
20718 (memset): Likewise. Do not use BP_SYM.
20719 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20721 (PARMS): Do not use macros from bp-asm.h.
20724 (__mpn_mul_1): Do not use BP_SYM.
20725 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20727 (PARMS): Do not use macros from bp-asm.h.
20730 (__mpn_rshift): Do not use BP_SYM.
20731 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20733 (PARMS): Do not use macros from bp-asm.h.
20736 (strchr): Likewise. Do not use BP_SYM.
20737 (index): Do not use BP_SYM in weak_alias.
20738 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20740 (PARMS): Do not use macros from bp-asm.h.
20743 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20744 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20746 (PARMS): Do not use macros from bp-asm.h.
20747 (strlen): Do not use BP_SYM.
20748 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20750 (PARMS): Do not use macros from bp-asm.h.
20754 (__mpn_sub_n): Do not use BP_SYM.
20755 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20757 (PARMS): Do not use macros from bp-asm.h.
20760 (__mpn_submul_1): Do not use BP_SYM.
20761 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20763 (PARMS): Do not use macros from bp-asm.h.
20767 (__mpn_add_n): Do not use BP_SYM.
20768 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20771 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20773 (PARMS): Do not use macros from bp-asm.h.
20776 (memcmp): Do not use BP_SYM.
20777 (bcmp): Do not use BP_SYM in weak_alias.
20778 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20780 (PARMS): Do not use macros from bp-asm.h.
20784 (memcpy): Likewise. Do not use BP_SYM.
20785 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20787 (PARMS): Do not use macros from bp-asm.h.
20791 (memmove): Likewise. Do not use BP_SYM.
20792 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20794 (PARMS): Do not use macros from bp-asm.h.
20798 (__mempcpy): Likewise. Do not use BP_SYM.
20799 (mempcpy): Do not use BP_SYM in weak_alias.
20800 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20802 (PARMS): Do not use macros from bp-asm.h.
20805 [!BZERO_P] (CHR): Likewise.
20806 (memset): Likewise. Do not use BP_SYM.
20807 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20809 (PARMS): Do not use macros from bp-asm.h.
20811 (strcmp): Do not use BP_SYM.
20812 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20814 (PARMS): Do not use macros from bp-asm.h.
20817 [USE_AS_STRTOK_R] (SAVE): Likewise.
20818 (FUNCTION): Likewise. Do not use BP_SYM.
20819 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20821 (strtok_r): Likewise.
20822 (__GI___strtok_r): Likewise.
20823 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20824 (PARMS): Do not use macros from bp-asm.h.
20827 (__mpn_lshift): Do not use BP_SYM.
20828 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20829 (PARMS): Do not use macros from bp-asm.h.
20832 (__memchr): Do not use BP_SYM.
20833 (memchr): Do not use BP_SYM in weak_alias.
20834 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20835 (PARMS): Do not use macros from bp-asm.h.
20838 (memcmp): Do not use BP_SYM.
20839 (bcmp): Do not use BP_SYM in weak_alias.
20840 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20841 (PARMS): Do not use macros from bp-asm.h.
20844 (__mpn_mul_1): Do not use BP_SYM.
20845 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20847 (PARMS): Do not use macros from bp-asm.h.
20850 (__rawmemchr): Do not use BP_SYM.
20851 (rawmemchr): Do not use BP_SYM in weak_alias.
20852 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20853 (PARMS): Do not use macros from bp-asm.h.
20856 (__mpn_rshift): Do not use BP_SYM.
20857 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20858 (PARMS): Do not use macros from bp-asm.h.
20859 (SIGMSK): Likewise.
20860 (__sigsetjmp): Likewise. Do not use BP_SYM.
20861 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20862 (_start): Do not use BP_SYM.
20863 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20864 (PARMS): Do not use macros from bp-asm.h.
20867 (__stpcpy): Likewise. Do not use BP_SYM.
20868 (stpcpy): Do not use BP_SYM in weak_alias.
20869 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20871 (PARMS): Do not use macros from bp-asm.h.
20875 (__stpncpy): Likewise. Do not use BP_SYM.
20876 (stpncpy): Do not use BP_SYM in weak_alias.
20877 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20878 (PARMS): Do not use macros from bp-asm.h.
20881 (strchr): Likewise. Do not use BP_SYM.
20882 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20884 (PARMS): Do not use macros from bp-asm.h.
20887 (__strchrnul): Likewise. Do not use BP_SYM.
20888 (strchrnul): Do not use BP_SYM in weak_alias.
20889 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20891 (PARMS): Do not use macros from bp-asm.h.
20893 (strcspn): Do not use BP_SYM.
20894 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20896 (PARMS): Do not use macros from bp-asm.h.
20899 (strpbrk): Likewise. Do not use BP_SYM.
20900 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20902 (PARMS): Do not use macros from bp-asm.h.
20905 (strrchr): Likewise. Do not use BP_SYM.
20906 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20907 (PARMS): Do not use macros from bp-asm.h.
20909 (strspn): Do not use BP_SYM.
20910 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20911 (PARMS): Do not use macros from bp-asm.h.
20915 (FUNCTION): Likewise. Do not use BP_SYM.
20916 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20918 (strtok_r): Likewise.
20919 (__GI___strtok_r): Likewise.
20920 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20921 (PARMS): Do not use macros from bp-asm.h.
20925 (__mpn_sub_n): Do not use BP_SYM.
20926 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20928 (PARMS): Do not use macros from bp-asm.h.
20931 (__mpn_submul_1): Do not use BP_SYM.
20932 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20934 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20936 (PARMS): Do not use macros from bp-asm.h.
20941 (__clone): Do not use BP_SYM.
20942 (clone): Do not use BP_SYM in weak_alias.
20943 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20945 (PARMS): Do not use macros from bp-asm.h.
20947 (__mmap64): Do not use BP_SYM.
20948 (mmap64): Do not use BP_SYM in weak_alias.
20949 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20950 <bp-sym.h> and <bp-asm.h>.
20951 (PARMS): Do not use macros from bp-asm.h.
20952 (__posix_fadvise64_l64): Do not use BP_SYM.
20953 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20954 (PARMS): Do not use macros from bp-asm.h.
20956 (semtimedop): Do not use BP_SYM.
20957 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20960 2013-02-21 Allan McRae <allan@archlinux.org>
20962 * manual/message.texi (Charset conversion in gettext):
20963 Move @end statement to beginning of line.
20965 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20972 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20973 (denorm): Likewise.
20974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20977 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20979 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20980 tail-call to the resolved function if pltexit isn't needed.
20982 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20985 or Y being zero as being unlikely.
20986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20989 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20991 * manual/nss.texi (System Databases and Name Service Switch):
20992 Remove frobnicate @pxref.
20994 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20996 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20997 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20999 2013-02-20 Petr Machata <pmachata@redhat.com>
21001 * elf/elf.h (R_ARM_TARGET1): New macro.
21002 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21003 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21004 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21005 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21006 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21007 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21008 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21009 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21010 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21011 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21012 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21013 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21014 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21015 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21016 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21017 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21018 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21019 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21020 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21021 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21022 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21023 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21024 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21025 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21026 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21027 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21028 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21029 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21030 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21031 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21032 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21033 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21034 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21035 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21036 (R_ARM_THM_GOT_BREL12): Likewise.
21037 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21038 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21039 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21040 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21041 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21042 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21043 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21044 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21045 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21047 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21049 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21050 __attribute_used__ to __attribute__ ((unused)).
21052 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21054 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21057 comment formatting.
21058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21060 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21063 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21065 (ENTER): Remove both macro definitions.
21067 (CHECK_BOUNDS_LOW): Likewise.
21068 (CHECK_BOUNDS_HIGH): Likewise.
21069 (CHECK_BOUNDS_BOTH): Likewise.
21070 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21071 (RETURN_BOUNDED_POINTER): Likewise.
21072 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21073 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21074 (POP_ERRNO_LOCATION_RETURN): Likewise.
21075 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21076 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21077 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21079 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21080 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21081 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21082 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21083 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21084 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21085 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21086 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21087 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21088 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21089 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21090 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21091 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21092 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21094 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21095 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21097 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21098 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21099 * sysdeps/i386/i586/memset.S (memset): Likewise.
21100 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21101 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21102 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21104 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21105 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21106 Change uses of L(2) to L(out).
21107 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21108 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21109 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21110 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21111 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21113 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21114 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21116 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21117 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21118 (RETURN): Do not use macro LEAVE.
21119 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21120 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21121 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21122 * sysdeps/i386/i686/memset.S (memset): Likewise.
21123 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21124 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21125 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21126 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21128 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21129 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21130 L(1_2) and L(1_3) into L(1).
21131 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21132 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21133 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21134 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21135 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21136 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21137 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21138 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21139 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21141 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21142 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21143 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21144 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21145 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21146 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21147 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21148 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21149 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21150 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21151 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21152 * sysdeps/i386/strspn.S (strspn): Likewise.
21153 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21155 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21156 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21157 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21158 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21159 L(1_3) into L(1_1).
21160 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21161 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21162 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21164 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21166 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21168 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21171 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21173 * math/atest-exp.c (exp_mpn): Remove ROUND.
21174 * math/atest-exp2.c (exp_mpn): Likewise.
21175 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21177 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21178 * stdlib/tst-tls-atexit-lib.c: Likewise.
21179 * stdlib/tst-tls-atexit.c: Likewise.
21181 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21183 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21184 and __attribute_alloc_size__.
21186 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21188 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21189 __attribute_alloc_size__.
21190 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21191 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21193 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21195 * include/programs/xmalloc.h: New file.
21196 * catgets/gencat.c: Include it.
21197 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21198 * elf/pldd.c: Likewise.
21199 * iconv/iconv_charmap.c: Likewise.
21200 * iconv/iconvconfig.c: Likewise.
21201 * iconv/strtab.c: Likewise.
21202 * locale/programs/locale.c: Likewise.
21203 * locale/programs/localedef.h: Likewise.
21204 * locale/programs/simple-hash.c: Likewise.
21205 * nscd/nscd.h: Likewise.
21206 * nss/makedb.c: Likewise.
21207 * sysdeps/generic/ldconfig.h: Likewise.
21209 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21211 * Versions.def: Add GLIBC_2.18.
21212 * include/link.h (struct link_map): New member l_tls_dtor_count.
21213 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21214 (__call_tls_dtors): Likewise.
21215 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21216 __cxa_thread_atexit_impl.
21217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21225 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21233 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21234 (tests): Add test case tst-tls-atexit.
21235 (modules-names): Add shared library for tst-tls-atexit.
21236 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21237 (GLIBC_PRIVATE): Add __call_tls_dtors.
21238 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21240 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21241 * stdlib/tst-tls-atexit.c: New test case.
21242 * stdlib/tst-tls-atexit-lib.c: New test case.
21244 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21246 * elf/Versions (ld): Add _dl_find_dso_for_object.
21247 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21248 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21249 (dl_open_worker): Use _dl_find_dso_for_object.
21250 * elf/dl-sym.c (do_sym): Likewise.
21251 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21253 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21255 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21256 Syntactic changes only.
21257 (_dl_runtime_profile): Do a tail-call to the resolved function.
21259 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21262 * sysdeps/x86_64/bp-asm.h: Remove file.
21263 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21264 <bp-sym.h> and <bp-asm.h>.
21265 (__clone): Do not use BP_SYM.
21266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21267 <bp-sym.h> and <bp-asm.h>.
21268 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21269 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21271 (_setjmp): Do not use BP_SYM.
21272 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21274 (setjmp): Do not use BP_SYM.
21275 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21277 (mempcpy): Do not use BP_SYM in weak_alias.
21278 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21280 (strchr): Do not use BP_SYM.
21281 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21283 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21284 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21285 (_start): Do not use BP_SYM.
21286 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21288 (strcat): Do not use BP_SYM.
21289 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21291 (STRCMP): Do not use BP_SYM.
21292 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21294 (STRCPY): Do not use BP_SYM.
21295 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21297 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21299 (FUNCTION): Do not use BP_SYM.
21300 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21302 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21304 2013-02-17 Andreas Jaeger <aj@suse.de>
21306 * time/Versions: Sort entries.
21307 * string/Versions: Likewise.
21308 * resolv/Versions: Likewise.
21309 * posix/Versions: Likewise.
21310 * iconv/Versions: Likewise.
21311 * elf/Versions: Likewise.
21312 * wcsmbs/Versions: Likewise.
21314 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21316 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21317 loop termination condition.
21319 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21320 variable to calculate EZ.
21323 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21324 the lower precision input.
21326 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21329 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21330 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21331 (run-via-rtld-prefix): Do not handle %-bp tests.
21332 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21333 (all-object-suffixes): Remove .ob.
21334 (bppfx): Remove variable.
21335 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21336 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21337 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21338 [$(build-bounded) = yes] (libtype.ob): Likewise.
21339 * Makerules (elide-routines.ob): Remove variable.
21340 (do-tests-clean): Do not handle *-bp.out.
21341 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21342 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21343 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21344 (tests): Do not include $(tests-bp.out).
21345 (xtests): Do not include $(xtests-bp.out).
21346 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21347 [$(build-bounded) = yes] ($(addprefix
21348 $(objpfx),$(binaries-bounded))): Remove rule.
21349 ($(objpfx)%-bp.out): Remove rule.
21350 * config.make.in (build-bounded): Remove variable.
21351 * crypt/Makefile [$(build-bounded) = yes]
21352 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21353 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21354 append to variable.
21355 [$(build-bounded) = yes] (install-lib): Likewise.
21356 [$(build-bounded) = yes] (generated): Likewise.
21357 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21359 * intl/Makefile [$(build-bounded) = yes]
21360 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21361 * math/Makefile [$(build-bounded) = yes]
21362 ($(tests:%=$(objpfx)%-bp): Likewise.
21363 * misc/Makefile [$(build-bounded) = yes]
21364 ($(objpfx)tst-tsearch-bp): Likewise.
21365 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21366 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21368 * string/Makefile (o-objects.ob): Remove variable.
21369 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21370 (CFLAGS-.ob): Remove variable.
21371 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21372 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21373 both definitions of variable.
21374 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21375 (ASFLAGS-.ob): Remove variable.
21377 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21380 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21381 Remove __BOUNDED_POINTERS__ from condition.
21382 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21383 * string/bits/string2.h [!__NO_STRING_INLINES &&
21384 !__BOUNDED_POINTERS__]: Likewise.
21385 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21387 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21388 Remove conditional code.
21389 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21390 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21391 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21395 * csu/libc-start.c: Do not include <bp-sym.h>.
21396 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21397 * elf/dl-open.c: Do not include <bp-sym.h>.
21398 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21399 * math/fegetenv.c: Do not include <bp-sym.h>.
21400 (fegetenv): Do not use BP_SYM in versioned symbols.
21401 * nptl/sysdeps/pthread/bits/libc-lockP.h
21402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21405 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21407 (__pthread_mutex_destroy): Likewise.
21408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21409 (__pthread_mutex_lock): Likewise.
21410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21411 (__pthread_mutex_trylock): Likewise.
21412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21413 (__pthread_mutex_unlock): Likewise.
21414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21415 (__pthread_mutexattr_init): Likewise.
21416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21417 (__pthread_mutexattr_destroy): Likewise.
21418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21419 (__pthread_mutexattr_settype): Likewise.
21420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21421 (__pthread_rwlock_init): Likewise.
21422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21423 (__pthread_rwlock_destroy): Likewise.
21424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21425 (__pthread_rwlock_rdlock): Likewise.
21426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21427 (__pthread_rwlock_tryrdlock): Likewise.
21428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21429 (__pthread_rwlock_wrlock): Likewise.
21430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21431 (__pthread_rwlock_trywrlock): Likewise.
21432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21433 (__pthread_rwlock_unlock): Likewise.
21434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21435 (__pthread_key_create): Likewise.
21436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21437 (__pthread_setspecific): Likewise.
21438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21439 (__pthread_getspecific): Likewise.
21440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21443 (_pthread_cleanup_push_defer): Likewise.
21444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21445 (_pthread_cleanup_pop_restore): Likewise.
21446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21447 (pthread_setcancelstate): Likewise.
21448 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21450 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21451 (memchr): Do not use BP_SYM in weak_alias.
21452 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21453 (fegetenv): Do not use BP_SYM in versioned symbols.
21454 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21455 (fesetenv): Do not use BP_SYM in versioned symbols.
21456 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21457 (feupdateenv): Do not use BP_SYM in versioned symbols.
21458 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21459 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21460 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21461 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21462 (open64): Do not use BP_SYM in weak_alias.
21463 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21464 (fegetenv): Do not use BP_SYM in versioned symbols.
21465 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21466 (fesetenv): Do not use BP_SYM in versioned symbols.
21467 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21468 (feupdateenv): Do not use BP_SYM in versioned symbols.
21469 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21470 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21471 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21472 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21473 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21474 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21475 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21477 (__libc_start_main): Do not use BP_SYM.
21479 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21482 redundant return line.
21484 (denorm): Likewise.
21485 (dbl_mp): Likewise.
21486 (sub_magnitudes): Likewise.
21492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21494 (denorm): Likewise.
21495 (dbl_mp): Likewise.
21496 (sub_magnitudes): Likewise.
21503 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21505 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21506 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21509 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21510 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21511 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21512 of __mul for squares.
21513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21517 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21518 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21520 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21523 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21525 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21526 prototype or function definition. Rename ubp_* variables and
21527 parameters. Remove argv definitions conditional on
21528 [__BOUNDED_POINTERS__].
21529 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21530 * elf/dl-runtime.c (_dl_fixup): Likewise.
21531 * include/set-hooks.h (RUN_HOOK): Likewise.
21532 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21534 * string/strcpy.c (strcpy): Do not use __unbounded.
21535 * sysdeps/generic/frame.h (struct layout): Likewise.
21536 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21537 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21538 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21539 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21540 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21541 (__backtrace): Likewise.
21542 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21544 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21545 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21546 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21548 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21549 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21550 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21551 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21552 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21553 Do not use __unbounded.
21554 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21555 Rename __unboundedrlimits parameter to rlimits in prototype.
21556 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21557 Do not use __unbounded.
21558 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21559 not use __ptrvalue.
21560 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21561 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21562 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21563 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21564 __ptrvalue or __unbounded.
21565 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21566 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21568 (__new_msgctl): Do not use __ptrvalue.
21569 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21571 (__libc_msgrcv): Do not use __ptrvalue.
21572 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21573 startup_info): Do not use __unbounded.
21574 (__libc_start_main): Likewise. Rename ubp_* variables and
21575 parameters. Remove argv definitions conditional on
21576 [__BOUNDED_POINTERS__].
21577 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21579 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21581 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21583 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21585 (__new_shmctl): Do not use __ptrvalue.
21586 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21587 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21589 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21590 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21591 (__libc_sigaction): Likewise.
21592 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21593 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21595 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21597 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21599 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21601 * string/mempcpy.c: Implement by calling memcpy.
21603 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21605 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21607 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21610 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21611 values in the mantissa.
21613 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21614 minimize writes to Z.
21615 (sub_magnitudes): Simplify code a bit.
21617 2013-02-12 Roland McGrath <roland@hack.frob.com>
21619 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21620 from the message. The linker prefixes all warnings with that already.
21622 2013-02-12 Andreas Schwab <schwab@suse.de>
21625 * posix/regexec.c (extend_buffers): Add parameter min_len.
21626 (check_matching): Pass minimum needed length.
21627 (clean_state_log_if_needed): Likewise.
21628 (get_subexp): Likewise.
21629 * posix/Makefile (tests): Add bug-regex34.
21630 (bug-regex34-ENV): Define.
21631 * posix/bug-regex34.c: New file.
21634 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21635 elements compare against the byte sequence of it, not its name.
21636 * posix/Makefile (tests): Add bug-regex35.
21637 (bug-regex35-ENV): Define.
21638 * posix/bug-regex35.c: New file.
21640 2013-02-11 Tom de Vries <tom@codesourcery.com>
21642 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21644 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21645 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21646 (CHECK_EOL): Add undef.
21648 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21650 * bits/stdlib-bsearch.h: New file.
21651 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21652 * stdlib/stdlib.h: Likewise.
21654 2013-02-11 Roland McGrath <roland@hack.frob.com>
21656 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21657 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21659 * manual/search.texi (Array Search Function): Add missing const in
21661 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21662 declaration to use rlim_t.
21663 (Basic Scheduling Functions): Remove erroneous const from
21664 sched_getparam prototype. Remove erroneous * from
21665 sched_get_priority_max and sched_get_priority_min prototypes.
21666 (Resource Usage): Fix summary @comment on vtimes to refer to
21667 sys/vtimes.h rather than vtimes.h.
21668 Add missing *s in vtimes prototype.
21669 (Limits on Resources): Fix ulimit prototype to return long int.
21670 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21671 prototypes to use long int rather than double.
21672 (BSD Random): Fix initstate and setstate to use char *, not void *.
21673 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21674 prototype to make second argument 'struct aiocb64 *const[]'.
21675 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21676 (Status of AIO Operations): Remove erroneous const in aio_return and
21677 aio_return64 prototypes.
21678 (Synchronizing I/O): Fix sync prototype to return void.
21679 * manual/startup.texi (Suboptions): Remove an erroneous const in
21680 getsubopt prototype.
21681 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21682 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21683 use size_t rather than int.
21684 (Scanning All Users): Likewise for getpwent_r.
21685 (Setting Groups): Add missing const to setgroups prototype.
21686 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21687 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21688 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21689 'const void *' rather than 'const char *'.
21690 (Host Address Functions): Likewise for inet_ntop.
21691 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21692 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21693 ssize_t for return value.
21694 (Sending Data): Likewise for send, sendto, sendmsg.
21695 (Socket Option Functions): Add a missing const in setsockopt prototype.
21696 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21697 use wchar_t for the argument.
21698 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21699 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21701 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21702 double/float/long double for second argument.
21703 Fix return types of significand, significandf, significandl.
21704 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21705 argument in fchmod prototype.
21706 (File Owner): Use uid_t and gid_t in fchown prototype.
21707 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21708 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21709 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21710 use 'const struct dirent **' as argument types to CMP function pointer
21712 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21713 (File Times): Fix summary magic @comment for struct utimbuf and utime
21714 to refer to utime.h, not time.h.
21715 * manual/string.texi (Argz Functions): Add missing const in
21716 argz_extract and argz_next prototypes.
21717 (Finding Tokens in a String): Likewise for basename.
21718 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21719 (Copying and Concatenation): Fix typo in wmemmove prototype.
21720 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21721 (Signal Stack): Remove erroneous const in sigstack prototype.
21722 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21724 (Simple Calendar Time): Likewise for stime.
21725 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21727 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21728 say sys/sysctl.h instead.
21729 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21730 and vsyslog prototypes.
21732 2013-02-11 Tom de Vries <tom@codesourcery.com>
21734 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21737 2013-02-11 Roland McGrath <roland@hack.frob.com>
21739 * misc/sys/mman.h: Fix typo in mremap comment.
21741 2013-02-08 Roland McGrath <roland@hack.frob.com>
21743 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21744 the '\0' terminator.
21746 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21749 * debug/segfault.c: Don't include <bp-checks.h>.
21750 * sysdeps/generic/bp-checks.h: Remove file.
21751 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21752 (__GETDENTS): Don't use CHECK_N.
21753 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21754 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21755 (__getgroups): Don't use CHECK_N.
21756 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21757 (setgroups): Don't use CHECK_N.
21758 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21759 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21760 (__libc_msgrcv): Don't use CHECK_N.
21761 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21762 (__libc_msgsnd): Don't use CHECK_N.
21763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21765 (__libc_pread): Don't use CHECK_N.
21766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21767 include <bp-checks.h>.
21768 (__libc_pread64): Don't use CHECK_N.
21769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21770 include <bp-checks.h>.
21771 (__libc_pwrite): Don't use CHECK_N.
21772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21773 include <bp-checks.h>.
21774 (__libc_pwrite64): Don't use CHECK_N.
21775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21777 (__libc_pread): Don't use CHECK_N.
21778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21779 include <bp-checks.h>.
21780 (__libc_pread64): Don't use CHECK_N.
21781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21782 include <bp-checks.h>.
21783 (__libc_pwrite): Don't use CHECK_N.
21784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21785 include <bp-checks.h>.
21786 (__libc_pwrite64): Don't use CHECK_N.
21787 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21788 (do_pread): Don't use CHECK_N.
21789 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21790 (do_pread64): Don't use CHECK_N.
21791 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21792 (do_pwrite): Don't use CHECK_N.
21793 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21794 (do_pwrite64): Don't use CHECK_N.
21795 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21796 (__libc_readv): Don't use CHECK_N.
21797 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21798 (semop): Don't use CHECK_N.
21799 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21801 (semtimedop): Don't use CHECK_N.
21802 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21803 (__libc_pread): Don't use CHECK_N.
21804 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21806 (__libc_pread64): Don't use CHECK_N.
21807 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21809 (__libc_pwrite): Don't use CHECK_N.
21810 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21812 (__libc_pwrite64): Don't use CHECK_N.
21813 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21815 (__libc_msgrcv): Don't use CHECK_N.
21816 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21817 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21818 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21819 (__libc_writev): Don't use CHECK_N.
21821 2013-02-08 Roland McGrath <roland@hack.frob.com>
21823 * string/strcpy.c: Removed unused variable.
21825 * Makeconfig (+sysdep-includes): Define with := rather than =.
21826 Use an existing include/ subdir of each sysdeps dir before it.
21828 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21830 * nscd/connection.c (register_traced_file): Comment function.
21831 [HAVE_INOTIFY] (union __inev): Define.
21832 [HAVE_INOTIFY] (inotify_check_files): New function.
21833 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21834 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21836 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21838 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21840 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21841 loaded if not already and that a failure is permanent.
21843 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21846 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21847 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21849 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21852 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21853 (CHECK_1_NULL_OK): Likewise.
21854 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21855 (__fxstat): Do not use CHECK_1.
21856 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21858 (___fxstat64): Do not use CHECK_1.
21859 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21861 (__fxstatat): Do not use CHECK_1.
21862 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21864 (__fxstatat64): Do not use CHECK_1.
21865 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21867 (__fxstat): Do not use CHECK_1.
21868 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21870 (__fxstatat): Do not use CHECK_1.
21871 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21873 (__getresgid): Do not use CHECK_1.
21874 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21876 (__getresuid): Do not use CHECK_1.
21877 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21879 (__lxstat): Do not use CHECK_1.
21880 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21882 (__old_msgctl): Do not use CHECK_1.
21883 (__new_msgctl): Likewise.
21884 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21886 (__new_setrlimit): Do not use CHECK_1.
21887 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21889 (__old_shmctl): Do not use CHECK_1.
21890 (__new_shmctl): Likewise.
21891 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21893 (__xstat): Do not use CHECK_1.
21894 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21895 (__lxstat): Do not use CHECK_1.
21896 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21898 (___lxstat64): Do not use CHECK_1.
21899 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21900 (__old_msgctl): Do not use CHECK_1.
21901 (__new_msgctl): Likewise.
21902 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21904 (__gettimeofday): Do not use CHECK_1.
21905 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21906 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21907 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21909 (__gettimeofday): Do not use CHECK_1.
21910 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21911 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21912 (__new_shmctl): Do not use CHECK_1.
21913 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21915 (do_sigtimedwait): Do not use CHECK_1.
21916 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21918 (do_sigwaitinfo): Do not use CHECK_1.
21919 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21921 (msgctl): Do not use CHECK_1.
21922 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21924 (shmctl): Do not use CHECK_1.
21925 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21926 (ustat): Do not use CHECK_1.
21927 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21929 (__fxstat): Do not use CHECK_1.
21930 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21932 (__fxstatat): Do not use CHECK_1.
21933 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21935 (__lxstat): Do not use CHECK_1.
21936 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21938 (__xstat): Do not use CHECK_1.
21939 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21940 (__xstat): Do not use CHECK_1.
21941 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21942 (___xstat64): Do not use CHECK_1.
21945 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21947 (CHECK_BOUNDS_HIGH): Likewise.
21948 * string/strcpy.c: Do not include <bp-checks.h>.
21949 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21951 2013-02-07 Roland McGrath <roland@hack.frob.com>
21953 * nscd/nscd-client.h (__nscd_drop_map_ref):
21954 Add __attribute__ ((unused)).
21955 * nis/nss-nisplus.h (niserr2nss): Likewise.
21957 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21958 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21960 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21961 Remove inline keyword.
21962 * include/rounding-mode.h (round_away): Likewise.
21963 * libio/wfileops.c (adjust_wide_data): Likewise.
21964 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21965 (__m128i_strloadu_tolower): Likewise.
21966 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21967 (__m128i_strloadu_tolower): Likewise.
21968 * time/mktime.c (ydhms_diff): Likewise.
21969 * locale/elem-hash.h (elem_hash): Likewise.
21970 * locale/setlocale.c (setdata): Likewise.
21971 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21972 (re_string_wchar_at): Likewise.
21973 (bitset_not, bitset_merge, bitset_mask): Likewise.
21974 [!(__GNUC__ > 3)] (inline): Remove macro.
21975 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21976 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21977 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21978 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21979 * string/memcmp.c (memcmp_bytes): Likewise.
21980 * locale/programs/locarchive.c (compute_hashval): Likewise.
21981 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21982 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21983 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21984 * nss/getent.c (print_rpc, print_protocols): Likewise.
21985 (print_passwd, print_group, print_aliases): Likewise.
21986 * nis/nss-nisplus.h (niserr2nss): Likewise.
21987 * nscd/connections.c (restart_p): Likewise.
21988 Change return type to bool.
21990 2013-02-05 Roland McGrath <roland@hack.frob.com>
21992 * Makeconfig (all-Depend-files): Add existing
21993 $(sorted-subdirs:=/Depend) files.
21994 (all-subdirs): Remove nss.
21995 * sysdeps/unix/inet/Subdirs: Add it here instead.
21996 * hesiod/Depend: New file.
21998 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21999 instead of calling alloca.
22001 * io/lseek.c (__lseek): Rename to __libc_lseek.
22002 Define __lseek as an alias.
22004 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22006 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22008 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22009 else clause and remove check for non-standard endianness.
22011 2013-02-04 David S. Miller <davem@davemloft.net>
22013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22015 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22018 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22019 (__ubp_memchr): Remove prototype.
22020 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22021 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22022 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22023 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22024 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22026 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22027 (__ubp_memchr): Likewise.
22028 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22029 (__ubp_memchr): Likewise.
22030 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22031 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22032 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22033 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22035 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22036 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22037 (__getcwd): Do not use CHECK_STRING.
22038 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22040 (__real_chown): Do not use CHECK_STRING.
22041 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22043 (fchownat): Do not use CHECK_STRING.
22044 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22046 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22048 (__lchown): Do not use CHECK_STRING.
22049 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22050 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22051 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22052 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22054 include <bp-checks.h>.
22055 (truncate64): Do not use CHECK_STRING.
22056 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22058 (__real_chown): Do not use CHECK_STRING.
22059 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22061 (__lchown): Do not use CHECK_STRING.
22062 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22064 (__chown): Do not use CHECK_STRING.
22065 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22067 (truncate64): Do not use CHECK_STRING.
22068 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22070 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22071 (__xmknod): Do not use CHECK_STRING.
22072 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22074 (__xmknodat): Do not use CHECK_STRING.
22075 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22076 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22078 2013-02-04 Andreas Schwab <schwab@suse.de>
22081 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22082 * include/netdb.h: Likewise for h_errno.
22083 * elf/tst-stackguard1.c: Include <tls.h>.
22085 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22087 * elf/link.h (struct link_map): Extend the l_addr comment.
22088 * include/link.h (struct link_map): Likewise.
22090 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22093 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22094 (BOUNDED_1): Remove macro.
22095 * debug/backtrace.c: Don't include <bp-checks.h>.
22096 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22097 (__backtrace): Likewise.
22098 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22100 (__backtrace): Don't use BOUNDED_1.
22101 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22103 (__backtrace): Don't use BOUNDED_1.
22104 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22105 (__backtrace): Don't use BOUNDED_1.
22106 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22107 (shmat): Don't use BOUNDED_N.
22109 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22112 * sysdeps/generic/bp-start.h: Remove file.
22113 * csu/libc-start.c: Don't include <bp-start.h>.
22114 (LIBC_START_MAIN): Set up __environ directly instead of using
22115 INIT_ARGV_and_ENVIRON.
22116 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22120 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22122 (CHECK_FCNTL): Likewise.
22123 (CHECK_N_PAGES): Likewise.
22126 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22128 (CHECK_SIGSET_NULL_OK): Likewise.
22129 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22131 (sigpending): Don't use CHECK_SIGSET.
22132 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22134 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22135 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22137 (do_sigsuspend): Don't use CHECK_SIGSET.
22138 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22140 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22141 (do_sigwait): Don't use CHECK_SIGSET.
22142 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22144 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22145 include <bp-checks.h>.
22146 (sigpending): Don't use CHECK_SIGSET.
22147 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22148 include <bp-checks.h>.
22149 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22150 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22152 (sigpending): Don't use CHECK_SIGSET.
22153 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22155 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22158 * sysdeps/generic/bp-semctl.h: Remove file.
22159 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22160 <bp-checks.h> and <bp-semctl.h>.
22161 (__old_semctl): Don't use CHECK_SEMCTL.
22162 (__new_semctl): Likewise.
22163 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22165 (__old_semctl): Don't use CHECK_SEMCTL.
22166 (__new_semctl): Likewise.
22167 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22168 <bp-checks.h> and <bp-semctl.h>.
22169 (__old_semctl): Don't use CHECK_SEMCTL.
22170 (__new_semctl): Likewise.
22171 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22172 <bp-checks.h> and <bp-semctl.h>.
22173 (semctl): Don't use CHECK_SEMCTL.
22176 * Makerules (elide-bp-thunks): Remove variable.
22177 (elide-routines.oS): Don't use $(elide-bp-thunks).
22178 (elide-routines.os): Likewise.
22179 (elide-routines.o): Likewise.
22180 (elide-routines.op): Likewise.
22181 (elide-routines.og): Likewise.
22182 (objects): Don't use $(bp-thunks).
22183 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22185 (common-generated): Do not add s-proto-bp.d.
22186 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22189 Do not generate makefile rules for bounded-pointer thunks.
22190 * sysdeps/generic/bp-thunks.h: Remove file.
22191 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22192 * sysdeps/unix/s-proto-bp.S: Likewise.
22195 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22196 parts of result separately when argument is not close to line from
22197 -i to i and one part of argument is small.
22198 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22199 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22200 * math/libm-test.inc (cacos_test): Add more tests.
22201 (casin_test): Likewise.
22202 (casinh_test): Likewise.
22203 * sysdeps/i386/fpu/libm-test-ulps: Update.
22204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22206 2013-01-31 David S. Miller <davem@davemloft.net>
22208 * po/de.po: Update from translation team.
22210 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22212 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22214 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22216 * configure.in (_AC_PROG_CC_C89): New definition.
22217 * configure: Regenerate.
22219 * configure.in (AC_PROG_CPP): New definition.
22220 * configure: Regenerate.
22222 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22224 * debug/tst-backtrace.h: New file.
22225 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22226 (ret): Remove variable.
22228 (FAIL): Remove macro.
22229 (NO_INLINE): Likewise.
22230 (fn1): Use match function instead of strstr.
22231 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22232 (ret): Remove variable.
22234 (FAIL): Remove macro.
22235 (NO_INLINE): Likewise.
22236 (fn): Use match function instead of strstr.
22237 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22238 (ret): Remove variable.
22240 (FAIL): Remove macro.
22241 (NO_INLINE): Likewise.
22242 (handle_signal): Use match function instead of strstr.
22243 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22244 (ret): Remove variable.
22246 (FAIL): Remove macro.
22247 (NO_INLINE): Likewise.
22248 (handle_signal): Use match function instead of strstr.
22250 2013-01-23 Roland McGrath <roland@hack.frob.com>
22252 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22254 2013-01-23 David S. Miller <davem@davemloft.net>
22256 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22257 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22258 argument of CAS if possible.
22259 * sysdeps/sparc/sparc64/bits/atomic.h
22260 (__arch_compare_and_exchange_val_32_acq): Likewise.
22261 (__arch_compare_and_exchange_val_64_acq): Likewise.
22263 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22265 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22266 * sysdeps/posix/ulimit.c: ... this.
22267 Include <limits.h>.
22268 * sysdeps/unix/bsd/ulimit.c: Remove file.
22270 2013-01-23 Adam Conrad <adconrad@0c3.net>
22272 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22273 (LDFLAGS-tst-array5): Likewise.
22275 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22278 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22279 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22280 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22281 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22283 2013-01-21 David S. Miller <davem@davemloft.net>
22285 * sysdeps/sparc/backtrace.c: New file.
22286 * sysdeps/sparc/sparc32/backtrace.h: New file.
22287 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22288 * sysdeps/sparc/sparc64/backtrace.h: New file.
22289 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22290 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22293 2013-01-21 Andreas Schwab <schwab@suse.de>
22296 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22299 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22305 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22306 Mark Mitchell <mark@codesourcery.com>
22307 Tom de Vries <tom@codesourcery.com>
22308 Paul Pluzhnikov <ppluzhnikov@google.com>
22310 * debug/tst-backtrace2.c: New file.
22311 * debug/tst-backtrace3.c: Likewise.
22312 * debug/tst-backtrace4.c: Likewise.
22313 * debug/tst-backtrace5.c: Likewise.
22314 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22315 (CFLAGS-tst-backtrace3.c): Likewise.
22316 (CFLAGS-tst-backtrace4.c): Likewise.
22317 (CFLAGS-tst-backtrace5.c): Likewise.
22318 (LDFLAGS-tst-backtrace2): Likewise.
22319 (LDFLAGS-tst-backtrace3): Likewise.
22320 (LDFLAGS-tst-backtrace4): Likewise.
22321 (LDFLAGS-tst-backtrace5): Likewise.
22322 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22323 tst-backtrace4 and tst-backtrace5.
22325 2013-01-18 Anton Blanchard <anton@samba.org>
22326 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22328 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22329 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22330 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22331 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22333 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22334 "+r" and remove output regs list as redundant. Add explicit inline
22335 asm to specify register of return val to work around compiler codegen
22336 bug. Remove (int) cast on return value. Add return type parameter to
22337 use in macro so that this macro does not truncate return value for
22339 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22340 pass to INTERNAL_VSYSCALL_NCS.
22341 (INLINE_VSYSCALL): Add 'long int' as return type to
22342 INTERNAL_VSYSCALL_NCS macro invocation.
22343 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22344 INTERNAL_VSYSCALL_NCS macro invocation.
22345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22347 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22350 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22351 Fix application of SIMD FP exception mask.
22353 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22354 mp_no from a power of two.
22355 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22356 __mpexp_twomm1. Use __pow_mp.
22358 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22361 2013-01-17 David S. Miller <davem@davemloft.net>
22363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22365 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22368 * include/complex.h: Condition contents on [!_COMPLEX_H].
22369 (__kernel_casinhf): New prototype.
22370 (__kernel_casinh): Likewise.
22371 (__kernel_casinhl): Likewise.
22372 * math/Makefile (libm_calls): Add k_casinh.
22373 * math/k_casinh.c: New file.
22374 * math/k_casinhf.c: Likewise.
22375 * math/k_casinhl.c: Likewise.
22376 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22377 finite nonzero arguments.
22378 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22379 finite nonzero arguments.
22380 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22381 finite nonzero arguments.
22382 * math/s_casinh.c: Do not include <float.h>.
22383 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22384 * math/s_casinhf.c: Do not include <float.h>.
22385 (__casinhf): Move code for finite nonzero arguments to
22387 * math/s_casinhl.c: Do not include <float.h>.
22388 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22390 (__casinhl): Move code for finite nonzero arguments to
22392 * math/libm-test.inc (cacos_test): Add more tests.
22393 * sysdeps/i386/fpu/libm-test-ulps: Update.
22394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22396 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22398 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22399 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22400 [!HAVE_MREMAP]: Remove [defined linux] case.
22401 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22403 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22405 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22407 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22409 * elf/elf.h (R_386_SIZE32): New relocation.
22410 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22412 (elf_machine_rela): Likewise.
22413 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22414 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22416 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22418 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22419 (FP_FAST_FMA): Do not define.
22420 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22421 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22422 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22423 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22424 !_SOFT_FLOAT]: Likewise.
22425 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22426 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22428 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22429 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22430 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22431 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22432 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22433 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22436 2013-01-16 Andreas Schwab <schwab@suse.de>
22439 * include/stdlib.h (__mktemp): Add declaration.
22440 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22441 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22443 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22445 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22447 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22448 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22449 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22451 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22452 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22454 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22456 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22457 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22458 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22460 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22461 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22463 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22465 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22467 2013-01-15 David S. Miller <davem@davemloft.net>
22469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22470 trunc{,f} to libm-sysdep_routes.
22471 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22481 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22482 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22483 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22484 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22485 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22486 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22489 nearbyint{,f} to libm-sysdep_routes.
22490 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22501 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22503 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22504 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22506 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22507 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22508 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22510 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22511 libc_feholdexcept and libc_fesetenv.
22513 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22515 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22517 2013-01-14 David S. Miller <davem@davemloft.net>
22519 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22520 (SPARC_ASM_VIS2_IFUNC): Likewise.
22521 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22523 use of 'siam' instruction.
22524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22557 routines to libm-sysdep_routines.
22558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22561 fdim/fdimf to libm-sysdep_routines.
22562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22570 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22571 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22572 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22573 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22575 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22577 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22578 to optimize copies.
22580 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22585 local variable MPTWO.
22586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22589 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22591 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22594 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22596 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22598 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22600 * manual/pattern.texi (glob_t): Document gl_flags.
22601 (glob64_t): Likewise.
22603 2013-01-11 David S. Miller <davem@davemloft.net>
22605 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22606 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22607 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22608 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22609 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22610 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22611 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22612 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22613 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22614 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22615 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22616 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22617 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22619 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22620 sparc V9 rather than using V8 code.
22621 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22622 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22624 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22626 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22629 2013-01-11 Roland McGrath <roland@hack.frob.com>
22631 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22632 not in the main loop.
22633 * configure: Regenerated.
22635 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22637 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22638 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22640 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22641 [!__GLIBC_HAVE_LONG_LONG] case.
22642 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22643 condition to just #else.
22644 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22645 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22646 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22647 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22649 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22650 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22651 #elif condition to just #else.
22652 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22653 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22654 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22655 #elif condition to just #else.
22657 2013-01-11 Steve Ellcey <sellcey@mips.com>
22659 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22660 (EF_MIPS_ARCH_64): Fix value.
22661 (EF_MIPS_ARCH_32R2): New.
22662 (EF_MIPS_ARCH_64R2): New.
22664 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22666 * Makeconfig (+link-pie-before-libc): New.
22667 (+link-pie-after-libc): Likewise.
22668 (+link-pie-tests): Likewise.
22669 (+link-pie): Rewritten.
22670 (link-before-libc): Remove $(config-LDFLAGS).
22671 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22672 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22673 (config-LDFLAGS): Renamed to ...
22674 (rtld-LDFLAGS): This.
22675 (rtld-tests-LDFLAGS): New macro.
22676 (link-libc-rpath-link): Likewise.
22677 (link-libc-tests-rpath-link): Likewise.
22678 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22679 (link-libc): Prepand $(link-libc-rpath-link).
22680 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22681 (test-program-prefix): New macro.
22682 (test-via-rtld-prefix): Likewise.
22683 (test-program-cmd): Likewise.
22684 (host-test-program-cmd): Likewise.
22685 * Makefile ($(common-objpfx)testrun.sh): Replace
22686 $(run-program-prefix) with $(test-program-prefix).
22687 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22689 ($(common-objpfx)shlib.lds): Likewise.
22690 (build-module-helper): Likewise.
22691 ($(common-objpfx)format.lds): Likewise.
22692 * Rules (binaries-pie-tests): New.
22693 (binaries-pie-notests): Likewise.
22694 (binaries-pie): Rewritten.
22695 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22696 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22697 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22698 (make-test-out): Replace $(host-built-program-cmd) with
22699 $(host-test-program-cmd).
22700 * config.make.in (build-hardcoded-path-in-tests): New variable.
22701 * configure.in (--enable-hardcoded-path-in-tests): New configure
22703 (hardcoded_path_in_tests): New AC_SUBST.
22704 * configure: Regenerated.
22705 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22706 $(built-program-cmd) with $(test-program-cmd).
22707 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22708 (test_program_cmd): This.
22709 * elf/Makefile ($(objpfx)order.out): Run test with
22710 $(test-program-prefix).
22711 ($(objpfx)order2.out): Likewise.
22712 ($(objpfx)tst-initorder.out): Likewise.
22713 ($(objpfx)tst-initorder2.out): Likewise.
22714 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22715 $(test-program-cmd).
22716 ($(objpfx)tst-array1-static.out): Likewise.
22717 ($(objpfx)tst-array2.out): Likewise.
22718 ($(objpfx)tst-array3.out): Likewise.
22719 ($(objpfx)tst-array4.out): Likewise.
22720 ($(objpfx)tst-array5.out): Likewise.
22721 ($(objpfx)tst-array5-static.out): Likewise.
22722 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22723 $(test-program-cmd).
22724 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22725 $(run-program-prefix) with $(test-program-prefix).
22726 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22727 (test_program_prefix): This.
22728 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22729 $(run-program-prefix) with $(test-program-prefix).
22730 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22731 (test_program_prefix): This.
22732 * iconvdata/tst-tables.sh: Likewise.
22733 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22734 $(run-program-prefix) with $(test-program-prefix).
22735 ($(objpfx)tst-translit.out): Likewise.
22736 ($(objpfx)tst-gettext2.out): Likewise.
22737 ($(objpfx)tst-gettext4.out): Likewise.
22738 ($(objpfx)tst-gettext6.out): Likewise.
22739 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22740 (test_program_prefix): This.
22741 * intl/tst-gettext2.sh: Likewise.
22742 * intl/tst-gettext4.sh Likewise.
22743 * intl/tst-gettext6.sh: Likewise.
22744 * intl/tst-translit.sh: Likewise.
22745 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22746 with $(test-program-cmd).
22747 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22748 $(run-program-prefix) with $(test-program-prefix).
22749 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22750 (test_program_prefix): This.
22751 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22752 $(run-program-prefix) with $(test-program-prefix).
22753 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22754 (test_program_prefix): This.
22755 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22756 * posix/Makefile ($(objpfx)globtest.out): Replace
22757 $(run-via-rtld-prefix) and $(test-wrapper) with
22758 $(test-program-prefix) and $(test-via-rtld-prefix).
22759 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22760 $(test-program-prefix).
22761 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22762 $(host-test-program-cmd).
22763 (tst-spawn-ARGS): Likewise.
22764 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22765 $(test-program-prefix).
22766 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22767 (test_via_rtld_prefix): This.
22768 (test_wrapper): Renamed to ...
22769 (test_program_prefix): This.
22770 (run_program_prefix): Replaced by test_program_prefix.
22771 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22772 (test_program_prefix): This.
22773 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22774 with $(host-test-program-cmd).
22775 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22776 $(run-program-prefix) with $(test-program-prefix).
22777 ($(objpfx)tst-printf.out): Likewise.
22778 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22779 $(test-program-cmd).
22780 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22781 (test_program_prefix): This.
22782 * stdio-common/tst-unbputc.sh: Likewise.
22783 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22784 $(run-program-prefix) with $(test-program-prefix).
22785 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22786 (test_program_prefix): This.
22787 * string/Makefile ($(objpfx)tst-svc.out): Replace
22788 $(built-program-cmd) with $(test-program-cmd).
22790 2013-01-11 Andreas Jaeger <aj@suse.de>
22793 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22794 value. Sync with Linux 3.7.
22796 2013-01-10 David S. Miller <davem@davemloft.net>
22798 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22799 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22800 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22802 2013-01-10 Roland McGrath <roland@hack.frob.com>
22804 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22806 * configure: Regenerated.
22808 2013-01-10 David S. Miller <davem@davemloft.net>
22810 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22811 sparc V9 rather than using V8 code.
22812 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22813 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22815 2013-01-10 Roland McGrath <roland@hack.frob.com>
22817 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22818 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22819 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22820 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22821 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22822 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22823 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22824 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22825 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22826 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22827 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22828 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22829 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22830 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22831 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22832 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22833 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22834 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22835 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22836 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22837 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22838 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22839 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22840 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22841 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22842 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22843 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22845 2013-01-10 David S. Miller <davem@davemloft.net>
22847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22849 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22851 * posix/Makefile (tests-static): New variable.
22852 (tests): Add $(tests-static).
22853 (tst-exec-static-ARGS): New variable.
22854 (tst-spawn-static-ARGS): Likewise.
22855 * posix/tst-exec-static.c: New file.
22856 * posix/tst-spawn-static.c: Likewise.
22857 * posix/tst-exec.c: Support run directly.
22858 * posix/tst-spawn.c: Likewise.
22860 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22862 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22864 * math/bits/mathcalls.h (llrint): Likewise.
22865 (llround): Likewise.
22866 * stdlib/stdlib.h (struct drand48_data): Likewise.
22867 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22868 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22869 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22871 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22873 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22874 (elf_greg_t): Likewise.
22875 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22876 (__jmp_buf): Likewise.
22877 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22879 (llrint): Likewise, for all definitions.
22880 (llrintl): Likewise.
22882 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22883 Remove [__GNUC__] condition.
22884 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22885 condition to just [__USE_ISOC99].
22886 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22888 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22891 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22892 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22894 (_POSIX_V6_ILP32_OFF32): Likewise.
22895 (_XBS5_ILP32_OFF32): Likewise.
22896 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22897 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22899 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22901 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22903 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22904 doubles __mpexp_twomm1. Adjust usage.
22905 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22908 2013-01-10 Andreas Schwab <schwab@suse.de>
22911 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22912 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22914 2013-01-09 David S. Miller <davem@davemloft.net>
22917 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22918 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22919 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22920 (TCP_FASTOPEN): Define.
22921 (tcp_repair_opt): New structure.
22922 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22924 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22925 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22926 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22927 (tcp_cookie_transactions): New structure.
22929 2013-01-09 Anton Blanchard <anton@samba.org>
22931 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22932 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22933 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22934 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22936 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22938 * include/features.h (__USE_ANSI): Remove.
22940 2013-01-09 Roland McGrath <roland@hack.frob.com>
22942 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22944 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22946 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22948 * sysdeps/s390/fpu/libm-test-ulps: Update.
22950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22952 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22956 (denorm): Likewise.
22957 (__mp_dbl): Likewise.
22958 (__dbl_mp): Likewise.
22959 (add_magnitudes): Likewise.
22960 (sub_magnitudes): Likewise.
22966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22970 (denorm): Likewise.
22971 (__mp_dbl): Likewise.
22972 (__dbl_mp): Likewise.
22973 (add_magnitudes): Likewise.
22974 (sub_magnitudes): Likewise.
22980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22984 (denorm): Likewise.
22985 (__mp_dbl): Likewise.
22986 (__dbl_mp): Likewise.
22987 (add_magnitudes): Likewise.
22988 (sub_magnitudes): Likewise.
22995 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22997 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22998 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22999 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23000 2 && __USE_EXTERN_INLINES]: Likewise.
23002 2013-01-08 Andreas Jaeger <aj@suse.de>
23005 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23007 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23008 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23010 2013-01-07 Anton Blanchard <anton@samba.org>
23012 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23013 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23014 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23015 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23016 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23017 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23018 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23019 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23021 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23022 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23023 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23024 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23025 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23026 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23027 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23028 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23029 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23030 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23031 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23032 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23033 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23035 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23036 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23037 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23038 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23039 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23040 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23041 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23042 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23044 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23045 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23046 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23047 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23048 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23049 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23050 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23051 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23052 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23053 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23054 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23056 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23058 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23059 (__MALLOC_PMT): Likewise.
23060 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23061 [__GNUC__], only on [_LIBC].
23062 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23063 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23064 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23065 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23066 forward declaration.
23067 (realloc_hook_ini): Likewise.
23068 (memalign_hook_ini): Likewise.
23069 (__libc_memalign): Do not use __MALLOC_PMT in variable
23071 (__libc_valloc): Likewise.
23072 (__libc_pvalloc): Likewise.
23073 (__libc_calloc): Likewise.
23074 (__posix_memalign): Likewise.
23077 * math/s_casinh.c: Include <float.h>.
23078 (__casinh): Do not do computation with squaring and square root
23079 for large arguments.
23080 * math/s_casinhf.c: Include <float.h>.
23081 (__casinhf): Do not do computation with squaring and square root
23082 for large arguments.
23083 * math/s_casinhl.c: Include <float.h>.
23084 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23085 (__casinhl): Do not do computation with squaring and square root
23086 for large arguments.
23087 * math/libm-test.inc (casin_test): Add more tests.
23088 (casinh_test): Likewise.
23089 * sysdeps/i386/fpu/libm-test-ulps: Update.
23090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23092 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23094 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23095 (__x86_64_raw_data_cache_size): Likewise.
23096 (__x86_64_data_cache_size_half): Likewise.
23097 (__x86_64_raw_data_cache_size_half): Likewise.
23098 (__x86_64_shared_cache_size): Likewise.
23099 (__x86_64_raw_shared_cache_size): Likewise.
23100 (__x86_64_shared_cache_size_half): Likewise.
23101 (__x86_64_raw_shared_cache_size_half): Likewise.
23102 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23104 (__x86_data_cache_size): This.
23105 (__x86_64_raw_data_cache_size): Renamed to ...
23106 (__x86_raw_data_cache_size): This.
23107 (__x86_64_data_cache_size_half): Renamed to ...
23108 (__x86_data_cache_size_half): This.
23109 (__x86_64_raw_data_cache_size_half): Renamed to ...
23110 (__x86_raw_data_cache_size_half): This.
23111 (__x86_64_shared_cache_size): Renamed to ...
23112 (__x86_shared_cache_size): This.
23113 (__x86_64_raw_shared_cache_size): Renamed to ...
23114 (__x86_raw_shared_cache_size): This.
23115 (__x86_64_shared_cache_size_half): Renamed to ...
23116 (__x86_shared_cache_size_half): This.
23117 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23118 (__x86_raw_shared_cache_size_half): This.
23119 * sysdeps/x86_64/memcpy.S: Updated.
23120 * sysdeps/x86_64/memset.S: Likewise.
23121 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23122 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23123 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23125 2013-01-04 David S. Miller <davem@davemloft.net>
23127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23129 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23131 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23132 1 to avoid redefinition warning.
23133 (__USE_GNU): Don't define.
23134 (init_signaling_nan): Protoize.
23136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23138 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23140 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23142 (__cpymn): Likewise.
23143 (norm): Remove commented code.
23144 (denorm): Likewise.
23145 (__mp_dbl): Likewise.
23147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23148 (__cpymn): Likewise.
23149 (norm): Remove commented code.
23150 (denorm): Likewise.
23151 (__mp_dbl): Likewise.
23154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23155 mp_no value for 1.0 and 2.0.
23156 (norm): Use RADIXI instead of radixi.d.
23157 (denorm): Likewise.
23158 (__mul): Use 0.0 instead of zero.d.
23159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23160 mp_no value for 1.0 and 2.0.
23161 (norm): Use RADIXI instead of radixi.d.
23162 (denorm): Likewise.
23163 (__mul): Use 0.0 instead of zero.d.
23165 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23168 * math/s_casinh.c (__casinh): Reduce finite argument to first
23169 quadrant then set signs of results at the end.
23170 * math/s_casinhf.c (__casinhf): Likewise.
23171 * math/s_casinhl.c (__casinhl): Likewise.
23172 * math/libm-test.inc (casin_test): Add more tests.
23173 (casinh_test): Likewise.
23174 * sysdeps/i386/fpu/libm-test-ulps: Update.
23175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23177 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23179 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23181 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23183 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23185 (denorm): Likewise.
23186 (__mp_dbl): Likewise.
23189 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23190 and adjust the header comment.
23192 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23193 variable name from declaration.
23195 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23198 Initialize COMMON_CPUID_INDEX_7 element.
23199 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23200 (CPUID_RTM): Likewise.
23201 (HAS_RTM): Likewise.
23202 (COMMON_CPUID_INDEX_7): New enum.
23204 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23207 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23208 size is zero, record memory as freed.
23210 2013-01-03 Andreas Jaeger <aj@suse.de>
23212 * po/ia.po: Add new Interlingua translation.
23214 2012-01-03 Allan McRae <allan@archlinux.org>
23216 * locale/programs/localedef.c: Fix description of '--posix' flag.
23218 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23220 * NEWS: Update dates in second copyright notice.
23221 * README: Update copyright dates in example.
23222 * manual/libc.texinfo: Update copyright dates.
23223 * scripts/test-installation.pl: Update copyright date in --version
23226 * hurd/ctty-input.c: Fix copyright notice formatting.
23227 * hurd/ctty-output.c: Likewise.
23228 * hurd/dtable.c: Likewise.
23229 * hurd/hurd-raise.c: Likewise.
23230 * hurd/hurdprio.c: Likewise.
23231 * hurd/msgportdemux.c: Likewise.
23232 * misc/sys/file.h: Likewise.
23233 * misc/sys/ioctl.h: Likewise.
23234 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23235 * sysdeps/mach/hurd/chdir.c: Likewise.
23236 * sysdeps/mach/hurd/fchdir.c: Likewise.
23237 * sysdeps/mach/hurd/rename.c: Likewise.
23238 * sysdeps/mach/hurd/rmdir.c: Likewise.
23239 * sysdeps/mach/hurd/seekdir.c: Likewise.
23240 * sysdeps/mach/hurd/setsid.c: Likewise.
23241 * sysdeps/posix/wait3.c: Likewise.
23243 * All files with FSF copyright notices: Update copyright dates
23244 using scripts/update-copyrights.
23245 * intl/plural.c: Regenerated.
23246 * locale/programs/charmap-kw.h: Likewise.
23247 * locale/programs/locfile-kw.h: Likewise.
23249 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23251 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23254 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23255 calculation loop and add branch prediction.
23257 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23258 check access beyond bounds of m1np.
23260 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23262 (__inv): Remove local variable MPTWO to use the global
23264 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23265 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23267 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23268 MP3HALFS static const.
23270 2013-01-01 David S. Miller <davem@davemloft.net>
23272 * po/ca.po: Update from translation team.
23274 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23276 * scripts/update-copyrights: New file.
23277 * Makeconfig: Reformat copyright notice.
23278 * ctype/ctype.h: Likewise.
23279 * debug/swprintf_chk.c: Likewise.
23280 * elf/dl-cache.c: Likewise.
23281 * elf/dl-debug.c: Likewise.
23282 * elf/dl-object.c: Likewise.
23283 * grp/initgroups.c: Likewise.
23284 * hurd/Makefile: Likewise.
23285 * hurd/hurd/signal.h: Likewise.
23286 * hurd/hurdfault.c: Likewise.
23287 * hurd/hurdioctl.c: Likewise.
23288 * hurd/hurdlookup.c: Likewise.
23289 * hurd/intr-msg.c: Likewise.
23290 * iconv/gconv_open.c: Likewise.
23291 * libio/swprintf.c: Likewise.
23292 * locale/lc-ctype.c: Likewise.
23293 * locale/nl_langinfo.c: Likewise.
23294 * mach/Machrules: Likewise.
23295 * mach/Makefile: Likewise.
23296 * malloc/obstack.h: Likewise.
23297 * manual/Makefile: Likewise.
23298 * manual/tsort.awk: Likewise.
23299 * misc/bits/stab.def: Likewise.
23300 * nis/nis_print_group_entry.c: Likewise.
23301 * nis/nis_table.c: Likewise.
23302 * nis/nss_compat/compat-pwd.c: Likewise.
23303 * nis/nss_compat/compat-spwd.c: Likewise.
23304 * po/Makefile: Likewise.
23305 * posix/fnmatch.c: Likewise.
23306 * posix/regex.h: Likewise.
23307 * resolv/Makefile: Likewise.
23308 * resolv/nss_dns/dns-network.c: Likewise.
23309 * resolv/res_hconf.c: Likewise.
23310 * scripts/gen-sorted.awk: Likewise.
23311 * soft-fp/soft-fp.h: Likewise.
23312 * stdio-common/printf.h: Likewise.
23313 * stdlib/monetary.h: Likewise.
23314 * stdlib/random.c: Likewise.
23315 * stdlib/random_r.c: Likewise.
23316 * sysdeps/generic/Makefile: Likewise.
23317 * sysdeps/gnu/Makefile: Likewise.
23318 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23323 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23341 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23342 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23343 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23344 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23345 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23346 * sysdeps/mach/hurd/errnos.awk: Likewise.
23347 * sysdeps/mach/hurd/fork.c: Likewise.
23348 * sysdeps/mach/hurd/getcwd.c: Likewise.
23349 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23350 * sysdeps/mach/hurd/mmap.c: Likewise.
23351 * sysdeps/mach/hurd/utimes.c: Likewise.
23352 * sysdeps/mach/hurd/xmknod.c: Likewise.
23353 * sysdeps/posix/profil.c: Likewise.
23354 * sysdeps/posix/readdir_r.c: Likewise.
23355 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23356 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23357 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23358 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23360 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23361 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23362 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23364 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23365 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23366 * sysdeps/pthread/lio_listio.c: Likewise.
23367 * sysdeps/sparc/dl-procinfo.h: Likewise.
23368 * sysdeps/unix/i386/sysdep.S: Likewise.
23369 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23370 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23371 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23372 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23374 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23375 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23376 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23377 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23378 * sysdeps/wordsize-32/divdi3.c: Likewise.
23379 * time/sys/time.h: Likewise.
23380 * wcsmbs/Makefile: Likewise.
23382 2013-01-01 David S. Miller <davem@davemloft.net>
23384 * po/fr.po: Update from translation team.
23386 * catgets/gencat.c: Update copyright year.
23387 * csu/version.c: Likewise.
23388 * debug/catchsegv.sh: Likewise.
23389 * debug/pcprofiledump.c: Likewise.
23390 * debug/xtrace.sh: Likewise.
23391 * elf/ldconfig.c: Likewise.
23392 * elf/ldd.bash.in: Likewise.
23393 * elf/pldd.c: Likewise.
23394 * elf/sotruss.ksh: Likewise.
23395 * elf/sprof.c: Likewise.
23396 * iconv/iconv_prog.c: Likewise.
23397 * iconv/iconvconfig.c: Likewise.
23398 * locale/programs/locale.c: Likewise.
23399 * locale/programs/localedef.c: Likewise.
23400 * login/programs/pt_chown.c: Likewise.
23401 * malloc/memusage.sh: Likewise.
23402 * malloc/memusagestat.c: Likewise.
23403 * malloc/mtrace.pl: Likewise.
23404 * nscd/nscd.c: Likewise.
23405 * nss/getent.c: Likewise.
23406 * nss/makedb.c: Likewise.
23407 * posix/getconf.c: Likewise.
23409 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23411 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23414 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23416 * math/bits/mathcalls.h (modf): Use __nonnull.
23418 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23420 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23421 (split): Use macro CN instead of the bare value.
23422 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23424 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23425 instead of the bare value.
23426 (power1): Likewise.
23428 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23430 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23432 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23434 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23436 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23437 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23438 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23439 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23441 2012-12-28 Andreas Jaeger <aj@suse.de>
23443 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23444 values are from Linux 3.7.
23446 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23447 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23449 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23451 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23454 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23456 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23457 variables with preprocessor constants.
23458 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23459 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23460 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23462 2012-12-27 Bruno Haible <bruno@clisp.org>
23465 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23468 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23470 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23471 and use variable directly.
23472 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23474 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23476 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23477 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23479 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23481 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23482 include directive. Remove local variable MPONE.
23483 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23484 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23485 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23487 2012-12-25 David S. Miller <davem@davemloft.net>
23489 * version.h (RELEASE): Set to "development".
23490 (VERSION): Set to "2.17.90".
23491 * NEWS: Add 2.18 section.
23493 2012-12-21 David S. Miller <davem@davemloft.net>
23495 * po/hr.po: Update from translation team.
23497 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23499 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23501 2012-12-19 Steve Ellcey <sellcey@mips.com>
23503 * NEWS: Mention new memcpy for MIPS.
23505 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23507 * manual/contrib.texi (Contributors): Spelling correction.
23509 2012-12-15 David S. Miller <davem@davemloft.net>
23511 * po/ru.po: Update from translation team.
23513 2012-12-13 David S. Miller <davem@davemloft.net>
23515 * NEWS: Mention IFUNC testsuite enhancements.
23517 * po/pl.po: Update from translation team.
23518 * po/bg.po: Likewise.
23520 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23521 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23523 2012-12-11 David S. Miller <davem@davemloft.net>
23525 * po/sv.po: Update from translation team.
23527 * po/vi.po: Update from translation team.
23529 * po/cs.po: Update from translation team.
23531 * po/de.po: Update from translation team.
23532 * po/eo.po: Likewise.
23533 * po/nl.po: Likewise.
23535 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23538 * manual/argp.texi (Argp Helper Functions): Move node to follow
23539 Argp Parsing State.
23542 * manual/conf.texi (Limits on File System Capacity): Mention if
23543 terminating null is included in the max size.
23545 2012-12-10 Andreas Jaeger <aj@suse.de>
23547 * po/cs.po: Update from translation team.
23549 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23551 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23552 void pointer and cast to uintptr_t.
23553 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23555 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23556 * sysdeps/s390/s390-64/memset.S: Likewise.
23558 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23561 * menual/message.texi (Message Translation): Fix typos.
23562 (Helper programs for gettext): Likewise.
23564 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23567 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23570 2012-12-07 David S. Miller <davem@davemloft.net>
23572 * po/libc.pot: Update.
23574 2012-12-07 Richard Henderson <rth@redhat.com>
23577 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23578 normal/normal case to before the switch.
23579 (_FP_DIV): Likewise.
23581 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23582 Mike Frysinger <vapier@gentoo.org>
23584 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23585 check for __NR_fadvise64_64.
23587 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23589 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23590 0, not just to plain "0" as a statement.
23591 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23594 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23596 * NEWS: Use sourceware.org in Bugzilla URL.
23598 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23601 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23603 * stdio-common/tst-put-error.c (do_test): Add newline to the
23604 padded test to ensure flush.
23606 2012-12-05 Jeff Law <law@redhat.com>
23608 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23610 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23612 * README: Don't refer to ports add-on as distributed separately.
23613 Mention AArch64 in list of systems supported in the ports add-on.
23615 * LICENSES: Add more non-FSF copyright and license notices.
23617 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23620 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23622 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23623 10000 as width of padded output.
23625 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23627 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23629 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23630 variable LX with __attribute__ ((unused)).
23631 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23633 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23634 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23635 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23636 with __attribute__ ((unused)).
23638 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23640 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23642 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23644 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23645 (CFLAGS-nldbl-acos.c): New variable.
23646 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23647 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23648 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23649 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23650 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23651 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23655 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23656 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23657 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23658 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23659 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23660 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23661 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23662 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23663 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23664 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23665 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23666 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23667 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23668 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23669 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23670 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23671 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23672 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23673 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23674 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23675 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23676 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23677 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23678 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23679 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23680 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23681 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23682 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23683 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23684 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23685 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23686 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23687 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23688 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23689 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23690 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23691 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23692 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23693 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23694 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23695 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23696 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23697 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23698 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23699 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23700 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23701 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23702 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23703 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23704 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23705 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23706 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23707 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23708 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23709 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23710 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23711 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23712 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23713 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23714 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23715 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23716 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23717 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23718 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23719 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23720 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23721 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23722 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23723 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23724 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23725 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23726 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23727 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23728 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23729 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23730 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23731 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23732 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23733 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23734 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23735 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23736 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23737 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23738 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23739 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23740 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23741 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23742 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23745 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23749 whole low double instead of just low 47 bits when splitting values
23752 2012-12-03 Allan McRae <allan@archlinux.org>
23754 * manual/stdio.texi (Predefined Printf Handlers): Remove
23755 @hsep and @vsep usage.
23757 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23759 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23760 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23762 2012-12-03 Jeff Law <law@redhat.com>
23764 * time/sys/time.h (settimeofday): Do not mark TV argument
23767 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23769 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23770 when currently writing and seek to current position when not.
23771 * libio/Makefile (tests): Remove bug-fclose1.
23772 * libio/bug-fclose1.c: Delete.
23774 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23776 * manual/arith.texi (feenableexcept): Fix typo.
23777 (fedisableexcept): Likewise.
23779 2012-11-30 Roland McGrath <roland@hack.frob.com>
23781 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23782 second, differently-typed declaration, rather than a cast.
23784 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23786 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23787 * include/rpc/svc.h: ... here.
23789 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23792 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23793 depending n and resplen2 to catch cases where answer
23796 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23798 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23799 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23801 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23803 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23805 2012-11-29 Roland McGrath <roland@hack.frob.com>
23807 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23809 2012-11-28 Jeff Law <law@redhat.com>
23812 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23813 dataset_temporary. Track alloca usage into alloca_used.
23814 If dataset is large allocate and release it via malloc/free.
23816 2012-06-04 Florian Weimer <fweimer@redhat.com>
23819 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23821 2012-11-28 David S. Miller <davem@davemloft.net>
23823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23825 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23828 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23829 of pi/2 rounded to nearest to 64 bits.
23830 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23831 nearest to 64 bits.
23832 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23835 2012-11-28 Jeff Law <law@redhat.com>
23836 Martin Osvald <mosvald@redhat.com>
23839 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23840 * sunrpc/svc.c: Include time.h.
23841 (__svc_accept_failed): New function.
23842 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23843 any reason other than EINTR, call __svc_accept_failed.
23844 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23845 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23847 2012-11-28 Andreas Schwab <schwab@suse.de>
23849 * scripts/abilist.awk: Also handle indirect functions in .opd
23852 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23855 * sysdeps/x86/fpu/powl_helper.c: New file.
23856 * sysdeps/x86/fpu/Makefile: Likewise.
23857 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23859 (__ieee754_powl): Use __powl_helper for finite arguments except
23860 integer exponents below 8.
23861 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23863 (__ieee754_powl): Use __powl_helper for finite arguments except
23864 integer exponents below 8.
23865 * math/libm-test.inc (pow_test): Add more tests and enable some
23866 previously disabled tests.
23867 * sysdeps/i386/fpu/libm-test-ulps: Update.
23868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23870 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23871 Carlos O'Donell <carlos_odonell@mentor.com>
23873 * nss/makedb.c (is_prime): Assert that input is odd and greater
23874 than 4. Note that fact in a comment too.
23875 (next_prime): Add 4 to input.
23877 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23880 * libio/Makefile (tests): Add test case tst-fwrite-error.
23881 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23882 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23883 * libio/tst-fwrite-error.c: New test case.
23885 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23887 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23888 before casting to void *.
23889 * include/libc-internal.h (__pointer_type): New macro.
23890 (__integer_if_pointer_type_sub): Likewise.
23891 (__integer_if_pointer_type): Likewise.
23892 (cast_to_integer): Likewise.
23893 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23894 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23895 before casting to atomic64_t.
23896 (atomic_exchange_acq): Likewise.
23897 (__arch_exchange_and_add_body): Likewise.
23898 (__arch_add_body): Likewise.
23899 (atomic_add_negative): Likewise.
23900 (atomic_add_zero): Likewise.
23902 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23904 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23905 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23906 (add_fdes): Likewise.
23907 (linear_search_fdes): Likewise.
23908 (binary_search_unencoded_fdes): Likewise.
23910 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23912 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23914 2012-11-24 Adam Conrad <adconrad@0c3.net>
23916 * configure.in: Autodetect C++ header directories.
23917 * configure: Regenerated.
23919 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23921 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23923 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23927 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23929 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23930 LDBL_MANT_DIG == 106]: Disable some tests.
23931 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23933 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23937 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23938 input for small inputs. Return +/- pi/2 for large inputs.
23939 * math/libm-test.inc (atan_test): Add more tests.
23941 * sysdeps/generic/unwind-dw2-fde-glibc.c
23942 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23943 __attribute__ ((unused)).
23946 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23947 x * y if x and y are nonzero and z is zero.
23950 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23951 nonzero exponents with absolute value below 0x1p-117 to +/-
23955 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23956 up arguments below 2**-450, not just those below 2**-500.
23957 * math/libm-test.inc (hypot_test): Add another test.
23960 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23961 Return a+b for ratio over 2**120, not 2**60.
23962 * math/libm-test.inc (hypot_test): Add another test.
23964 * math/libm-test.inc (clog_test): Use
23965 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23966 (clog10_test): Likewise.
23969 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23971 2012-11-22 Andreas Schwab <schwab@suse.de>
23973 * sysdeps/i386/fpu/libm-test-ulps: Update.
23975 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23977 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23978 printf output with newline.
23980 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23983 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23984 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23985 -z nodlopen, -z initfirst and -z execstack support.
23986 * configure: Regenerated.
23988 * elf/elf.h (DF_1_NODIRECT): New macro.
23989 (DF_1_IGNMULDEF): Likewise.
23990 (DF_1_NOKSYMS): Likewise.
23991 (DF_1_NOHDR): Likewise.
23992 (DF_1_EDITED): Likewise.
23993 (DF_1_NORELOC): Likewise.
23994 (DF_1_SYMINTPOSE): Likewise.
23995 (DF_1_GLOBAUDIT): Likewise.
23996 (DF_1_SINGLETON): Likewise.
23997 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23998 DT_1_SUPPORTED_MASK bits.
23999 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24001 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24003 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24005 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24007 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24010 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24011 (sendmmsg): Move declarations...
24012 * socket/sys/socket.h: ... here.
24013 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24014 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24016 * socket/recvmmsg.c: ... this new file.
24017 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24018 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24019 definition of __sendmmsg hidden.
24020 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24021 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24022 Move ENOSYS stub into and include it from...
24023 * socket/sendmmsg.c: ... this new file.
24024 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24025 (sysdep_routines): Move recvmmsg and sendmmsg...
24026 * socket/Makefile (routines): ... here.
24027 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24028 (GLIBC_PRIVATE): Add __sendmmsg.
24029 * include/sys/socket.h (__sendmmsg): Add declarations.
24030 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24033 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24035 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24036 variable I1 with __attribute__ ((unused)).
24037 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24039 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24041 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24042 DUMMY variables with __attribute__ ((unused)).
24044 * bits/byteswap.h: Include <bits/types.h>.
24045 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24047 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24049 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24050 string_t. Do not manually set errno.
24051 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24052 length with __strnlen. Make sure to both set errno and return it on
24055 2012-11-19 David S. Miller <davem@davemloft.net>
24057 With help from Joseph Myers.
24058 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24059 very large arguments properly.
24060 * math/libm-test.inc (atan_test): New tests.
24061 (atan2_test): New tests.
24062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24065 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24068 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24071 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24072 [POSIX] (EADDRNOTAVAIL): Likewise.
24073 [POSIX] (EAFNOSUPPORT): Likewise.
24074 [POSIX] (EALREADY): Likewise.
24075 [POSIX] (ECONNABORTED): Likewise.
24076 [POSIX] (ECONNREFUSED): Likewise.
24077 [POSIX] (ECONNRESET): Likewise.
24078 [POSIX] (EDESTADDRREQ): Likewise.
24079 [POSIX] (EDQUOT): Likewise.
24080 [POSIX] (EHOSTUNREACH): Likewise.
24081 [POSIX] (EIDRM): Likewise.
24082 [POSIX] (EISCONN): Likewise.
24083 [POSIX] (ELOOP): Likewise.
24084 [POSIX] (EMULTIHOP): Likewise.
24085 [POSIX] (ENETDOWN): Likewise.
24086 [POSIX] (ENETUNREACH): Likewise.
24087 [POSIX] (ENOBUFS): Likewise.
24088 [POSIX] (ENODATA): Likewise.
24089 [POSIX] (ENOLINK): Likewise.
24090 [POSIX] (ENOMSG): Likewise.
24091 [POSIX] (ENOPROTOOPT): Likewise.
24092 [POSIX] (ENOSR): Likewise.
24093 [POSIX] (ENOSTR): Likewise.
24094 [POSIX] (ENOTCONN): Likewise.
24095 [POSIX] (ENOTSOCK): Likewise.
24096 [POSIX] (EOPNOTSUPP): Likewise.
24097 [POSIX] (EOVERFLOW): Likewise.
24098 [POSIX] (EPROTO): Likewise.
24099 [POSIX] (EPROTONOSUPPORT): Likewise.
24100 [POSIX] (EPROTOTYPE): Likewise.
24101 [POSIX] (ESTALE): Likewise.
24102 [POSIX] (ETIME): Likewise.
24103 [POSIX] (ETXTBSY): Likewise.
24104 [POSIX] (EWOULDBLOCK): Likewise.
24105 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24106 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24107 [POSIX] (SEEK_CUR): Likewise.
24108 [POSIX] (SEEK_END): Likewise.
24109 [POSIX || UNIX98] (mode_t): Do not require.
24110 [POSIX] (off_t): Likewise.
24111 [POSIX] (pid_t): Likewise.
24112 [POSIX] (sys/stat.h): Do not allow header.
24113 [POSIX] (unistd.h): Likewise.
24114 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24115 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24116 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24117 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24119 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24120 sigevent): Specify elements.
24121 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24123 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24124 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24126 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24127 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24128 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24129 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24130 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24131 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24132 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24133 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24134 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24135 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24136 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24137 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24138 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24139 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24141 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24143 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24145 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24147 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24148 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24149 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24150 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24151 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24152 Specify lower bound on value.
24153 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24154 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24155 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24156 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24157 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24158 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24159 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24160 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24162 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24164 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24165 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24166 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24167 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24168 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24169 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24170 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24171 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24172 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24173 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24174 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24175 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24176 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24177 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24178 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24179 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24181 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24183 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24184 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24185 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24186 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24187 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24188 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24190 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24191 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24192 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24193 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24194 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24195 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24196 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24198 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24199 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24200 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24201 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24202 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24203 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24204 specify as optional.
24205 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24206 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24207 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24208 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24209 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24210 [XPG3] (NL_LANGMAX): Likewise.
24211 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24212 [POSIX || XPG3] (NL_NMAX): Likewise.
24213 [POSIX || XPG3] (NL_SETMAX): Likewise.
24214 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24215 [XPG3] (NZERO): Likewise.
24216 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24217 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24218 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24219 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24220 (REG_ERANGE): Expect.
24221 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24223 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24224 Use (void) in prototype.
24225 [POSIX] (*_t): Allow.
24226 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24227 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24228 (WRDE_BADVAL): Expect.
24230 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24232 [XPG3 || XPG4] (O_RSYNC): Likewise.
24233 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24235 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24236 [XPG3 || XPG4] (sigqueue): Likewise.
24237 [XPG3 || XPG4] (sigtimedwait): Likewise.
24238 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24239 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24240 [XPG3 || XPG4] (vsnprintf): Likewise.
24241 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24243 [XPG3 || XPG4] (blksize_t): Likewise.
24244 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24246 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24247 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24248 [XPG3 || XPG4] (struct itimerspec): Likewise.
24249 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24250 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24251 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24252 [XPG3 || XPG4] (clockid_t): Likewise.
24253 [XPG3 || XPG4] (timer_t): Likewise.
24254 [XPG3 || XPG4] (clock_getres): Likewise.
24255 [XPG3 || XPG4] (clock_gettime): Likewise.
24256 [XPG3 || XPG4] (clock_settime): Likewise.
24257 [XPG3 || XPG4] (nanosleep): Likewise.
24258 [XPG3 || XPG4] (timer_create): Likewise.
24259 [XPG3 || XPG4] (timer_delete): Likewise.
24260 [XPG3 || XPG4] (timer_gettime): Likewise.
24261 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24262 [XPG3 || XPG4] (timer_settime): Likewise.
24263 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24264 [XPG3 || XPG4] (getlogin_r): Likewise.
24265 [XPG3 || XPG4] (pread): Likewise.
24266 [XPG3 || XPG4] (pthread_atfork): Likewise.
24267 [XPG3 || XPG4] (pwrite): Likewise.
24270 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24273 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24275 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24276 finalizing MALLSTREAM.
24278 * sysdeps/mach/hurd/syncfs.c: New file.
24280 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24283 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24284 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24285 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24286 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24287 (_nss_dns_gethostbyname4_r): Likewise.
24288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24289 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24291 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24294 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24296 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24298 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24299 * elf/cache.c (print_entry): Print ",AArch64" for
24302 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24303 * elf/cache.c (print_entry): Print ",hard-float" for
24306 2012-11-18 David S. Miller <davem@davemloft.net>
24308 With help from Joseph Myers.
24309 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24311 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24313 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24314 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24316 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24317 * math/libm-test.inc (y0_test): New tests.
24318 (y1_test): New tests.
24319 * sysdeps/i386/fpu/libm-test-ulps: Update.
24320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24323 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24325 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24327 * configure: Regenerated.
24329 2012-11-17 David S. Miller <davem@davemloft.net>
24332 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24333 nonzero exponents with absolute value below 0x1p-128 to +/-
24336 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24338 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24340 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24342 * posix/getconf-speclist.c: New file.
24343 * posix/posix-envs.def: Likewise.
24344 * posix/confstr.c (START_ENV_GROUP): New macro.
24345 (END_ENV_GROUP): Likewise.
24346 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24347 (KNOWN_PRESENT_ENV_STRING): Likewise.
24348 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24349 (UNKNOWN_ENVIRONMENT): Likewise.
24350 (confstr): Include posix-envs.def instead of handling
24351 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24352 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24353 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24354 (END_ENV_GROUP): Likewise.
24355 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24356 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24357 (UNKNOWN_ENVIRONMENT): Likewise.
24358 (__sysconf): Include posix-envs.def instead of handling associated
24359 cases directly here.
24360 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24361 preprocessing getconf-speclist.c rather than running getconf or
24362 generating empty file.
24364 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24366 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24368 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24371 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24373 2012-11-16 David S. Miller <davem@davemloft.net>
24375 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24376 smaller than LDBL_EPSILON/2.0L, just return xm1.
24378 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24380 * elf/tst-array1.c (init): Set constructor priority to 1000.
24381 (fini): Set destructor priority to 1000.
24382 * elf/tst-array2dep.c: Likewise.
24384 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24387 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24388 (_IO_new_file_xsputn): Also return EOF if none of the input
24389 data was written when overflow failed.
24390 * libio/iopadn.c (_IO_padn): Likewise.
24391 * libio/iowpadn.c (_IO_wpadn): Likewise.
24392 * stdio-common/tst-put-error.c: Add copyright notice.
24393 (do_test): Add case for printing padded string.
24394 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24395 _IO_padn returned error.
24396 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24397 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24400 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24402 * libio/libioP.h: Add comment note that the references to C++
24403 bits are now obsolete.
24405 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24407 * math/libm-test.inc (check_complex): Use asprintf.
24409 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24411 * debug/pcprofiledump.c (print_version): Update copyright year.
24412 * malloc/memusagestat.c (print_version): Likewise.
24414 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24417 * elf/Makefile (tests): Add tst-audit8.
24418 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24419 ($(objpfx)tst-audit8.out): New target.
24420 (tst-audit8-ENV): New variable.
24421 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24422 audit if l_reloc_result is NULL.
24423 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24424 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24425 * elf/tst-audit8.c: New file.
24427 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24429 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24430 * misc/Makefile (CFLAGS-select.c): Define.
24431 * posix/Makefile (CFLAGS-pause.c): Define.
24433 2012-11-13 David S. Miller <davem@davemloft.net>
24435 * crypt/Makefile: Move test targets after toplevel Rules
24436 inclusion. Grab any necessary sysdep routines when linking.
24437 * crypt/md5.c (md5_process_block): Remove define, we will always
24438 name it __md5_process_block.
24439 (md5_finish_ctx): Update md5_process_block call.
24440 (md5_stream): Likewise.
24441 (md5_process_bytes): Likewise.
24442 (md5_process_block): Rename to __md5_process_block and move to ...
24443 * crypt/md5-block.c: ... here.
24444 * crypt/sha256.c (sha256_process_block): Move to ...
24445 * crypt/sha256-block.c: ... here.
24446 * crypt/sha512.c (sha512_process_block): Move to ...
24447 * crypt/sha512-block.c: ... here.
24448 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24450 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24451 * sysdeps/sparc/sparc64/multiarch/Makefile
24452 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24454 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24455 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24457 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24458 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24459 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24460 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24461 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24462 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24463 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24464 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24465 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24467 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24468 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24470 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24472 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24474 * timezone/tzselect.ksh: Update from tzcode git revision
24475 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24476 * timezone/zdump.c: Likewise.
24477 * timezone/zic.c: Likewise.
24478 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24479 in TZVERSION setting, not $(PKGVERSION).
24480 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24481 REPORT_BUGS_TO settings.
24484 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24487 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24489 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24490 detection to immediately after _FP_ROUND().
24491 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24494 2012-11-11 David S. Miller <davem@davemloft.net>
24496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24498 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24499 __close rather than their public counterparts.
24501 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24503 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24505 [UNIX98] (sem_timedwait): Do not expect.
24506 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24507 [XPG4 || UNIX98] (sockatmark): Do not expect.
24508 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24509 (clock_getcpuclockid): Do not expect.
24510 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24511 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24513 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24514 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24515 [UNIX98] (vwscanf): Likewise.
24516 [UNIX98] (vswscanf): Likewise.
24518 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24520 * timezone/version.h: Remove file.
24521 * timezone/README: Do not refer to version.h.
24522 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24523 $(objpfx)version.h.
24524 ($(objpfx)zdump.o): Likewise.
24525 ($(objpfx)version.h): New target.
24527 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24529 * timezone/README: Don't mention modification to tzselect.ksh.
24530 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24531 work on unmodified tzselect.ksh. Substitute version numbers in
24534 * Makefile (format-me): Remove.
24535 (INSTALL): Adjust indentation. Use commands directly instead of
24536 using $(format-me).
24538 * aclocal.m4 (ACX_PKGVERSION): New macro.
24539 (ACX_BUGURL): Likewise.
24540 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24541 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24542 (REPORT_BUGS_TO): Likewise.
24543 * configure: Regenerated.
24544 * config.h.in (PKGVERSION): New macro.
24545 (REPORT_BUGS_TO): Likewise.
24546 * config.make.in (PKGVERSION): New variable.
24547 (PKGVERSION_TEXI): Likewise.
24548 (REPORT_BUGS_TO): Likewise.
24549 (REPORT_BUGS_TEXI): Likewise.
24550 * Makefile (format-me): Use -I$(common-objpfx)manual.
24551 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24552 ($(common-objpfx)manual/%): New target.
24553 (manual/%): Remove target.
24554 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24555 (print_version): Use PKGVERSION.
24556 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24557 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24558 and REPORT_BUGS_TO.
24559 ($(objpfx)xtrace): Likewise.
24560 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24561 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24562 (print_version): Use PKGVERSION.
24563 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24564 (do_version): Use PKGVERSION.
24565 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24567 (common-ldd-rewrite): Likewise.
24568 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24569 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24570 (print_version): Use PKGVERSION.
24571 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24572 * elf/pldd.c (argp_program_bug_address): Remove variable.
24573 (more_help): New function.
24574 (argp): Use more_help.
24575 (print_version): Use PKGVERSION.
24576 * elf/sln.c (main): Use PKGVERSION.
24577 (usage): Use REPORT_BUGS_TO.
24578 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24579 (top level): Use PKGVERSION.
24580 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24581 (print_version): Use PKGVERSION.
24582 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24583 (print_version): Use PKGVERSION.
24584 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24585 (print_version): Use PKGVERSION.
24586 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24587 (print_version): Use PKGVERSION.
24588 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24589 (print_version): Use PKGVERSION.
24590 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24591 (print_version): Use PKGVERSION.
24592 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24594 ($(objpfx)memusage): Likewise.
24595 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24596 (do_version): Use PKGVERSION.
24597 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24598 (print_version): Use PKGVERSION.
24599 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24600 ($PKGVERSION): New variable.
24601 ($REPORT_BUGS_TO): Likewise.
24602 (usage): Use $REPORT_BUGS_TO.
24603 (top level): Use $PKGVERSION.
24604 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24605 ($(objpfx)pkgvers.texi): New rule.
24606 ($(objpfx)stamp-pkgvers): Likewise.
24607 * manual/install.texi: Include pkgvers.texi.
24608 (--with-pkgversion): Document new configure option.
24609 (--with-bugurl): Likewise.
24610 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24611 than necessarily for this particular distribution. Use
24612 REPORT_BUGS_TO for where to report bugs.
24613 * INSTALL: Regenerated.
24614 * manual/libc.texinfo: Include pkgvers.texi.
24615 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24616 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24617 (print_version): Use PKGVERSION.
24618 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24619 (print_version): Use PKGVERSION.
24620 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24621 (print_version): Use PKGVERSION.
24622 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24623 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24625 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24626 (print_version): Use PKGVERSION.
24627 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24628 (print_version): Use PKGVERSION.
24629 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24632 * timezone/checktab.awk: Update from tzcode 2012i.
24633 * timezone/ialloc.c: Likewise.
24634 * timezone/private.h: Likewise.
24635 * timezone/scheck.c: Likewise.
24636 * timezone/tzfile.h: Likewise.
24637 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24638 (TZVERSION): Hardcode tzcode version number.
24639 * timezone/zdump.c: Update from tzcode 2012i.
24640 * timezone/zic.c: Likewise.
24641 * timezone/version.h: New file.
24642 * timezone/README: Describe version.h. Update upstream location.
24645 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24646 (mktemp): Enable declaration.
24647 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24648 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24650 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24652 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24654 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24656 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24664 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24665 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24666 for copies of such integer values.
24667 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24668 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24670 2012-11-09 Andreas Jaeger <aj@suse.de>
24672 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24673 definitions and declarations that are provided by
24674 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24676 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24678 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24679 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24680 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24683 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24685 * elf/elf.h: Update comment before AArch64 relocations.
24687 2012-11-07 David S. Miller <davem@davemloft.net>
24689 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24690 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24691 (__start_context): Declare.
24692 (__makecontext_ret): Delete.
24693 (__makecontext): Hook up __start_context instead of
24695 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24696 (sysdep_routines): Add __start_context when in stdlib.
24698 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24700 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24701 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24702 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24704 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24705 (READELF): New variable. Use it instead of hardcoded "readelf".
24707 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24709 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24710 * sysdeps/x86/Makefile: Here.
24711 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24712 * sysdeps/x86/tst-xmmymm.sh: This.
24714 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24716 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24718 [UNIX98] (pthread_barrier_t): Do not expect.
24719 [UNIX98] (pthread_barrierattr_t): Likewise.
24720 [UNIX98] (pthread_spinlock_t): Likewise.
24721 [UNIX98] (pthread_barrier_destroy): Likewise.
24722 [UNIX98] (pthread_barrier_init): Likewise.
24723 [UNIX98] (pthread_barrier_wait): Likewise.
24724 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24725 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24726 [UNIX98] (pthread_barrierattr_init): Likewise.
24727 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24728 [UNIX98] (pthread_getcpuclockid): Likewise.
24729 [UNIX98] (pthread_mutex_timedlock): Likewise.
24730 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24731 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24732 [UNIX98] (pthread_sigmask): Likewise.
24733 [UNIX98] (pthread_spin_destroy): Likewise.
24734 [UNIX98] (pthread_spin_init): Likewise.
24735 [UNIX98] (pthread_spin_lock): Likewise.
24736 [UNIX98] (pthread_spin_trylock): Likewise.
24737 [UNIX98] (pthread_spin_unlock): Likewise.
24738 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24740 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24741 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24742 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24743 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24744 [XPG3 || XPG4] (pthread_key_t): Likewise.
24745 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24746 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24747 [XPG3 || XPG4] (pthread_once_t): Likewise.
24748 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24749 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24750 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24751 [XPG3 || XPG4] (pthread_t): Likewise.
24753 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24755 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24757 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24758 Change function return type to int.
24760 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24761 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24762 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24763 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24764 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24765 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24766 [!POSIX] (posix_madvise): Likewise.
24767 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24769 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24770 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24771 (mode_t): Likewise.
24772 (posix_mem_offset): Likewise.
24773 (posix_typed_mem_get_info): Likewise.
24774 (posix_typed_mem_open): Likewise.
24776 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24777 Change condition to [XOPEN2K8].
24779 * conform/conformtest.pl: Preprocess allow-header data with -x c
24780 instead of from stdin.
24781 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24782 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24783 [C99-based standards] (cerfc): Likewise.
24784 [C99-based standards] (cexp2): Likewise.
24785 [C99-based standards] (cexpm1): Likewise.
24786 [C99-based standards] (clog10): Likewise.
24787 [C99-based standards] (clog1p): Likewise.
24788 [C99-based standards] (clog2): Likewise.
24789 [C99-based standards] (clgamma): Likewise.
24790 [C99-based standards] (ctgamma): Likewise.
24791 [C99-based standards] (cerff): Likewise.
24792 [C99-based standards] (cerfcf): Likewise.
24793 [C99-based standards] (cexp2f): Likewise.
24794 [C99-based standards] (cexpm1f): Likewise.
24795 [C99-based standards] (clog10f): Likewise.
24796 [C99-based standards] (clog1pf): Likewise.
24797 [C99-based standards] (clog2f): Likewise.
24798 [C99-based standards] (clgammaf): Likewise.
24799 [C99-based standards] (ctgammaf): Likewise.
24800 [C99-based standards] (cerfl): Likewise.
24801 [C99-based standards] (cerfcl): Likewise.
24802 [C99-based standards] (cexp2l): Likewise.
24803 [C99-based standards] (cexpm1l): Likewise.
24804 [C99-based standards] (clog10l): Likewise.
24805 [C99-based standards] (clog1pl): Likewise.
24806 [C99-based standards] (clog2l): Likewise.
24807 [C99-based standards] (clgammal): Likewise.
24808 [C99-based standards] (ctgammal): Likewise.
24809 * conform/data/inttypes.h-data [C99-based standards]: Include
24810 stdint.h-data. Remove all expectations for stdint.h contents.
24811 [C99-based standards] (PRI*): Do not allow.
24812 [C99-based standards] (SCN*): Likewise.
24813 [C99-based standards] (*_t): Likewise.
24814 [C99-based-standards] (PRId8): Expect macro.
24815 [C99-based-standards] (PRIi8): Likewise.
24816 [C99-based-standards] (PRIo8): Likewise.
24817 [C99-based-standards] (PRIu8): Likewise.
24818 [C99-based-standards] (PRIx8): Likewise.
24819 [C99-based-standards] (PRIX8): Likewise.
24820 [C99-based-standards] (SCNd8): Likewise.
24821 [C99-based-standards] (SCNi8): Likewise.
24822 [C99-based-standards] (SCNo8): Likewise.
24823 [C99-based-standards] (SCNu8): Likewise.
24824 [C99-based-standards] (SCNx8): Likewise.
24825 [C99-based-standards] (PRIdLEAST8): Likewise.
24826 [C99-based-standards] (PRIiLEAST8): Likewise.
24827 [C99-based-standards] (PRIoLEAST8): Likewise.
24828 [C99-based-standards] (PRIuLEAST8): Likewise.
24829 [C99-based-standards] (PRIxLEAST8): Likewise.
24830 [C99-based-standards] (PRIXLEAST8): Likewise.
24831 [C99-based-standards] (SCNdLEAST8): Likewise.
24832 [C99-based-standards] (SCNiLEAST8): Likewise.
24833 [C99-based-standards] (SCNoLEAST8): Likewise.
24834 [C99-based-standards] (SCNuLEAST8): Likewise.
24835 [C99-based-standards] (SCNxLEAST8): Likewise.
24836 [C99-based-standards] (PRIdFAST8): Likewise.
24837 [C99-based-standards] (PRIiFAST8): Likewise.
24838 [C99-based-standards] (PRIoFAST8): Likewise.
24839 [C99-based-standards] (PRIuFAST8): Likewise.
24840 [C99-based-standards] (PRIxFAST8): Likewise.
24841 [C99-based-standards] (PRIXFAST8): Likewise.
24842 [C99-based-standards] (SCNdFAST8): Likewise.
24843 [C99-based-standards] (SCNiFAST8): Likewise.
24844 [C99-based-standards] (SCNoFAST8): Likewise.
24845 [C99-based-standards] (SCNuFAST8): Likewise.
24846 [C99-based-standards] (SCNxFAST8): Likewise.
24847 [C99-based-standards] (PRId16): Likewise.
24848 [C99-based-standards] (PRIi16): Likewise.
24849 [C99-based-standards] (PRIo16): Likewise.
24850 [C99-based-standards] (PRIu16): Likewise.
24851 [C99-based-standards] (PRIx16): Likewise.
24852 [C99-based-standards] (PRIX16): Likewise.
24853 [C99-based-standards] (SCNd16): Likewise.
24854 [C99-based-standards] (SCNi16): Likewise.
24855 [C99-based-standards] (SCNo16): Likewise.
24856 [C99-based-standards] (SCNu16): Likewise.
24857 [C99-based-standards] (SCNx16): Likewise.
24858 [C99-based-standards] (PRIdLEAST16): Likewise.
24859 [C99-based-standards] (PRIiLEAST16): Likewise.
24860 [C99-based-standards] (PRIoLEAST16): Likewise.
24861 [C99-based-standards] (PRIuLEAST16): Likewise.
24862 [C99-based-standards] (PRIxLEAST16): Likewise.
24863 [C99-based-standards] (PRIXLEAST16): Likewise.
24864 [C99-based-standards] (SCNdLEAST16): Likewise.
24865 [C99-based-standards] (SCNiLEAST16): Likewise.
24866 [C99-based-standards] (SCNoLEAST16): Likewise.
24867 [C99-based-standards] (SCNuLEAST16): Likewise.
24868 [C99-based-standards] (SCNxLEAST16): Likewise.
24869 [C99-based-standards] (PRIdFAST16): Likewise.
24870 [C99-based-standards] (PRIiFAST16): Likewise.
24871 [C99-based-standards] (PRIoFAST16): Likewise.
24872 [C99-based-standards] (PRIuFAST16): Likewise.
24873 [C99-based-standards] (PRIxFAST16): Likewise.
24874 [C99-based-standards] (PRIXFAST16): Likewise.
24875 [C99-based-standards] (SCNdFAST16): Likewise.
24876 [C99-based-standards] (SCNiFAST16): Likewise.
24877 [C99-based-standards] (SCNoFAST16): Likewise.
24878 [C99-based-standards] (SCNuFAST16): Likewise.
24879 [C99-based-standards] (SCNxFAST16): Likewise.
24880 [C99-based-standards] (PRId32): Likewise.
24881 [C99-based-standards] (PRIi32): Likewise.
24882 [C99-based-standards] (PRIo32): Likewise.
24883 [C99-based-standards] (PRIu32): Likewise.
24884 [C99-based-standards] (PRIx32): Likewise.
24885 [C99-based-standards] (PRIX32): Likewise.
24886 [C99-based-standards] (SCNd32): Likewise.
24887 [C99-based-standards] (SCNi32): Likewise.
24888 [C99-based-standards] (SCNo32): Likewise.
24889 [C99-based-standards] (SCNu32): Likewise.
24890 [C99-based-standards] (SCNx32): Likewise.
24891 [C99-based-standards] (PRIdLEAST32): Likewise.
24892 [C99-based-standards] (PRIiLEAST32): Likewise.
24893 [C99-based-standards] (PRIoLEAST32): Likewise.
24894 [C99-based-standards] (PRIuLEAST32): Likewise.
24895 [C99-based-standards] (PRIxLEAST32): Likewise.
24896 [C99-based-standards] (PRIXLEAST32): Likewise.
24897 [C99-based-standards] (SCNdLEAST32): Likewise.
24898 [C99-based-standards] (SCNiLEAST32): Likewise.
24899 [C99-based-standards] (SCNoLEAST32): Likewise.
24900 [C99-based-standards] (SCNuLEAST32): Likewise.
24901 [C99-based-standards] (SCNxLEAST32): Likewise.
24902 [C99-based-standards] (PRIdFAST32): Likewise.
24903 [C99-based-standards] (PRIiFAST32): Likewise.
24904 [C99-based-standards] (PRIoFAST32): Likewise.
24905 [C99-based-standards] (PRIuFAST32): Likewise.
24906 [C99-based-standards] (PRIxFAST32): Likewise.
24907 [C99-based-standards] (PRIXFAST32): Likewise.
24908 [C99-based-standards] (SCNdFAST32): Likewise.
24909 [C99-based-standards] (SCNiFAST32): Likewise.
24910 [C99-based-standards] (SCNoFAST32): Likewise.
24911 [C99-based-standards] (SCNuFAST32): Likewise.
24912 [C99-based-standards] (SCNxFAST32): Likewise.
24913 [C99-based-standards] (PRId64): Likewise.
24914 [C99-based-standards] (PRIi64): Likewise.
24915 [C99-based-standards] (PRIo64): Likewise.
24916 [C99-based-standards] (PRIu64): Likewise.
24917 [C99-based-standards] (PRIx64): Likewise.
24918 [C99-based-standards] (PRIX64): Likewise.
24919 [C99-based-standards] (SCNd64): Likewise.
24920 [C99-based-standards] (SCNi64): Likewise.
24921 [C99-based-standards] (SCNo64): Likewise.
24922 [C99-based-standards] (SCNu64): Likewise.
24923 [C99-based-standards] (SCNx64): Likewise.
24924 [C99-based-standards] (PRIdLEAST64): Likewise.
24925 [C99-based-standards] (PRIiLEAST64): Likewise.
24926 [C99-based-standards] (PRIoLEAST64): Likewise.
24927 [C99-based-standards] (PRIuLEAST64): Likewise.
24928 [C99-based-standards] (PRIxLEAST64): Likewise.
24929 [C99-based-standards] (PRIXLEAST64): Likewise.
24930 [C99-based-standards] (SCNdLEAST64): Likewise.
24931 [C99-based-standards] (SCNiLEAST64): Likewise.
24932 [C99-based-standards] (SCNoLEAST64): Likewise.
24933 [C99-based-standards] (SCNuLEAST64): Likewise.
24934 [C99-based-standards] (SCNxLEAST64): Likewise.
24935 [C99-based-standards] (PRIdFAST64): Likewise.
24936 [C99-based-standards] (PRIiFAST64): Likewise.
24937 [C99-based-standards] (PRIoFAST64): Likewise.
24938 [C99-based-standards] (PRIuFAST64): Likewise.
24939 [C99-based-standards] (PRIxFAST64): Likewise.
24940 [C99-based-standards] (PRIXFAST64): Likewise.
24941 [C99-based-standards] (SCNdFAST64): Likewise.
24942 [C99-based-standards] (SCNiFAST64): Likewise.
24943 [C99-based-standards] (SCNoFAST64): Likewise.
24944 [C99-based-standards] (SCNuFAST64): Likewise.
24945 [C99-based-standards] (SCNxFAST64): Likewise.
24946 [C99-based-standards] (PRIdMAX): Likewise.
24947 [C99-based-standards] (PRIiMAX): Likewise.
24948 [C99-based-standards] (PRIoMAX): Likewise.
24949 [C99-based-standards] (PRIuMAX): Likewise.
24950 [C99-based-standards] (PRIxMAX): Likewise.
24951 [C99-based-standards] (PRIXMAX): Likewise.
24952 [C99-based-standards] (SCNdMAX): Likewise.
24953 [C99-based-standards] (SCNiMAX): Likewise.
24954 [C99-based-standards] (SCNoMAX): Likewise.
24955 [C99-based-standards] (SCNuMAX): Likewise.
24956 [C99-based-standards] (SCNxMAX): Likewise.
24957 [C99-based-standards] (PRIdPTR): Likewise.
24958 [C99-based-standards] (PRIiPTR): Likewise.
24959 [C99-based-standards] (PRIoPTR): Likewise.
24960 [C99-based-standards] (PRIuPTR): Likewise.
24961 [C99-based-standards] (PRIxPTR): Likewise.
24962 [C99-based-standards] (PRIXPTR): Likewise.
24963 [C99-based-standards] (SCNdPTR): Likewise.
24964 [C99-based-standards] (SCNiPTR): Likewise.
24965 [C99-based-standards] (SCNoPTR): Likewise.
24966 [C99-based-standards] (SCNuPTR): Likewise.
24967 [C99-based-standards] (SCNxPTR): Likewise.
24968 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24970 * conform/data/stdint.h-data: Update comments to clarify
24972 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24974 [C99-based standards] (INT8_MAX): Likewise.
24975 [C99-based standards] (INT16_MIN): Likewise.
24976 [C99-based standards] (INT16_MAX): Likewise.
24977 [C99-based standards] (INT32_MIN): Likewise.
24978 [C99-based standards] (INT32_MAX): Likewise.
24979 [C99-based standards] (INT64_MIN): Likewise.
24980 [C99-based standards] (INT64_MAX): Likewise.
24981 [C99-based standards] (UINT8_MAX): Likewise.
24982 [C99-based standards] (UINT16_MAX): Likewise.
24983 [C99-based standards] (UINT32_MAX): Likewise.
24984 [C99-based standards] (UINT64_MAX): Likewise.
24985 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24986 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24987 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24988 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24989 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24990 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24991 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24992 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24993 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24994 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24995 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24996 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24997 [C99-based standards] (INT_FAST8_MIN): Likewise.
24998 [C99-based standards] (INT_FAST8_MAX): Likewise.
24999 [C99-based standards] (INT_FAST16_MIN): Likewise.
25000 [C99-based standards] (INT_FAST16_MAX): Likewise.
25001 [C99-based standards] (INT_FAST32_MIN): Likewise.
25002 [C99-based standards] (INT_FAST32_MAX): Likewise.
25003 [C99-based standards] (INT_FAST64_MIN): Likewise.
25004 [C99-based standards] (INT_FAST64_MAX): Likewise.
25005 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25006 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25007 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25008 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25009 [C99-based standards] (INTPTR_MIN): Likewise.
25010 [C99-based standards] (INTPTR_MAX): Likewise.
25011 [C99-based standards] (UINTPTR_MAX): Likewise.
25012 [C99-based standards] (INTMAX_MIN): Likewise.
25013 [C99-based standards] (INTMAX_MAX): Likewise.
25014 [C99-based standards] (UINTMAX_MAX): Likewise.
25015 [C99-based standards] (PTRDIFF_MIN): Likewise.
25016 [C99-based standards] (PTRDIFF_MAX): Likewise.
25017 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25018 [C99-based standards] (SIZE_MAX): Likewise.
25019 [C99-based standards] (WCHAR_MAX): Likewise.
25020 [C99-based standards] (WINT_MAX): Likewise.
25021 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25022 constraint on value.
25023 [C99-based standards] (WCHAR_MIN): Likewise.
25024 [C99-based standards] (WINT_MIN): Likewise.
25025 [C99-based standards] (*_t): Allow.
25026 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25027 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25028 Include math.h-data and complex.h-data. Remove all expectations
25029 of math.h and complex.h contents.
25030 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25032 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25033 (struct tm): Expect tag.
25034 [C99-based-standards] (wcstof): Expect function.
25035 [C99-based-standards] (wcstold): Likewise.
25036 [C99-based-standards] (wcstoll): Likewise.
25037 [C99-based-standards] (wcstoull): Likewise.
25038 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25039 macro-int-constant. Specify type.
25040 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25041 constraint on value.
25042 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25044 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25046 [ISO C standards]: Do not allow headers.
25047 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25048 wcs[abcdefghijklmnopqrstuvwxyz]*.
25049 [ISO C standards] (*_t): Do not allow.
25050 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25052 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25053 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25055 [ISO C standards]: Do not allow headers.
25056 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25057 is[abcdefghijklmnopqrstuvwxyz]*.
25058 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25059 to[abcdefghijklmnopqrstuvwxyz]*.
25060 [ISO C standards] (*_t): Do not allow.
25061 * conform/data/stdalign.h-data: New file.
25062 * conform/data/stdbool.h-data: Likewise.
25063 * conform/data/stdnoreturn.h-data: Likewise.
25065 2012-11-07 Roland McGrath <roland@hack.frob.com>
25068 * manual/filesys.texi (Directory Entries): Typo fix.
25069 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25071 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25073 * elf/elf.h (EM_AARCH64): New macro.
25074 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25075 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25076 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25077 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25078 (R_AARCH64_TLSDESC): Likewise.
25079 (NT_ARM_TLS): Likewise.
25080 (NT_ARM_HW_BREAK): Likewise.
25081 (NT_ARM_HW_WATCH): Likewise.
25083 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25086 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25087 (__ieee754_powl): Saturate nonzero exponents with absolute value
25088 below 0x1p-79 to +/- 0x1p-79.
25089 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25090 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25091 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25092 nonzero exponents with absolute value below 0x1p-32 to +/-
25094 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25095 (__ieee754_powl): Saturate nonzero exponents with absolute value
25096 below 0x1p-79 to +/- 0x1p-79.
25097 * math/libm-test.inc (pow_test): Add more tests.
25099 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25101 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25102 _dl_s390_cap_flags with kernel. Increase string length.
25103 (_dl_s390_platforms): Add z196 and zEC12.
25105 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25107 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25108 Change XOPEN21K to XOPEN2K.
25110 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25112 * string/memmove.c: Use memcpy when possible.
25114 2012-11-06 Andreas Jaeger <aj@suse.de>
25116 * po/eo.po: Update from translation team.
25118 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25122 exponent and small x and y exponents, scale x or y up. Increase
25123 by 2 the exponent used in scaling up.
25124 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25125 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25126 * math/libm-test.inc (fma_test): Add more tests.
25127 (fma_test_towardzero): Likewise.
25128 (fma_test_downward): Likewise.
25129 (fma_test_upward): Likewise.
25131 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25134 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25138 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25139 namespace for names of struct fields.
25140 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25142 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25143 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25145 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25148 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25150 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25152 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25156 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25159 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25163 definitely overflow as x * y not x * y + z.
25164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25165 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25166 * math/libm-test.inc (fma_test): Add more tests.
25167 (fma_test_towardzero): Likewise.
25168 (fma_test_downward): Likewise.
25169 (fma_test_upward): Likewise.
25171 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25175 * include/stub-tag.h: Remove file.
25176 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25178 * manual/maint.texi (Porting): Don't reference it.
25179 * Makerules ($(objpfx)stubs): Likewise.
25180 * dirent/closedir.c: Don't include <stub-tag.h>.
25181 * dirent/dirfd.c: Likewise.
25182 * dirent/fdopendir.c: Likewise.
25183 * dirent/getdents.c: Likewise.
25184 * dirent/getdents64.c: Likewise.
25185 * dirent/opendir.c: Likewise.
25186 * dirent/readdir.c: Likewise.
25187 * dirent/readdir64.c: Likewise.
25188 * dirent/readdir64_r.c: Likewise.
25189 * dirent/readdir_r.c: Likewise.
25190 * dirent/rewinddir.c: Likewise.
25191 * dirent/seekdir.c: Likewise.
25192 * dirent/telldir.c: Likewise.
25193 * gmon/profil.c: Likewise.
25194 * grp/setgroups.c: Likewise.
25195 * inet/if_index.c: Likewise.
25196 * io/access.c: Likewise.
25197 * io/chdir.c: Likewise.
25198 * io/chmod.c: Likewise.
25199 * io/chown.c: Likewise.
25200 * io/close.c: Likewise.
25201 * io/dup.c: Likewise.
25202 * io/dup2.c: Likewise.
25203 * io/dup3.c: Likewise.
25204 * io/euidaccess.c: Likewise.
25205 * io/faccessat.c: Likewise.
25206 * io/fchdir.c: Likewise.
25207 * io/fchmod.c: Likewise.
25208 * io/fchmodat.c: Likewise.
25209 * io/fchown.c: Likewise.
25210 * io/fchownat.c: Likewise.
25211 * io/fcntl.c: Likewise.
25212 * io/flock.c: Likewise.
25213 * io/fstatfs.c: Likewise.
25214 * io/fstatfs64.c: Likewise.
25215 * io/fstatvfs.c: Likewise.
25216 * io/fstatvfs64.c: Likewise.
25217 * io/futimens.c: Likewise.
25218 * io/fxstat.c: Likewise.
25219 * io/fxstat64.c: Likewise.
25220 * io/fxstatat.c: Likewise.
25221 * io/fxstatat64.c: Likewise.
25222 * io/getcwd.c: Likewise.
25223 * io/isatty.c: Likewise.
25224 * io/lchmod.c: Likewise.
25225 * io/lchown.c: Likewise.
25226 * io/link.c: Likewise.
25227 * io/linkat.c: Likewise.
25228 * io/lseek.c: Likewise.
25229 * io/lseek64.c: Likewise.
25230 * io/lxstat64.c: Likewise.
25231 * io/mkdir.c: Likewise.
25232 * io/mkdirat.c: Likewise.
25233 * io/mkfifo.c: Likewise.
25234 * io/mkfifoat.c: Likewise.
25235 * io/open.c: Likewise.
25236 * io/open64.c: Likewise.
25237 * io/openat.c: Likewise.
25238 * io/openat64.c: Likewise.
25239 * io/pipe.c: Likewise.
25240 * io/pipe2.c: Likewise.
25241 * io/poll.c: Likewise.
25242 * io/posix_fadvise.c: Likewise.
25243 * io/posix_fadvise64.c: Likewise.
25244 * io/posix_fallocate.c: Likewise.
25245 * io/posix_fallocate64.c: Likewise.
25246 * io/read.c: Likewise.
25247 * io/readlink.c: Likewise.
25248 * io/readlinkat.c: Likewise.
25249 * io/rmdir.c: Likewise.
25250 * io/sendfile.c: Likewise.
25251 * io/sendfile64.c: Likewise.
25252 * io/statfs.c: Likewise.
25253 * io/statfs64.c: Likewise.
25254 * io/statvfs.c: Likewise.
25255 * io/statvfs64.c: Likewise.
25256 * io/symlink.c: Likewise.
25257 * io/symlinkat.c: Likewise.
25258 * io/ttyname.c: Likewise.
25259 * io/ttyname_r.c: Likewise.
25260 * io/umask.c: Likewise.
25261 * io/unlink.c: Likewise.
25262 * io/unlinkat.c: Likewise.
25263 * io/utime.c: Likewise.
25264 * io/utimensat.c: Likewise.
25265 * io/write.c: Likewise.
25266 * io/xmknod.c: Likewise.
25267 * io/xmknodat.c: Likewise.
25268 * io/xstat.c: Likewise.
25269 * io/xstat64.c: Likewise.
25270 * login/getpt.c: Likewise.
25271 * login/grantpt.c: Likewise.
25272 * login/unlockpt.c: Likewise.
25273 * math/e_acoshl.c: Likewise.
25274 * math/e_acosl.c: Likewise.
25275 * math/e_asinl.c: Likewise.
25276 * math/e_atan2l.c: Likewise.
25277 * math/e_atanhl.c: Likewise.
25278 * math/e_coshl.c: Likewise.
25279 * math/e_expl.c: Likewise.
25280 * math/e_fmodl.c: Likewise.
25281 * math/e_gammal_r.c: Likewise.
25282 * math/e_hypotl.c: Likewise.
25283 * math/e_j0l.c: Likewise.
25284 * math/e_j1l.c: Likewise.
25285 * math/e_jnl.c: Likewise.
25286 * math/e_lgammal_r.c: Likewise.
25287 * math/e_log10l.c: Likewise.
25288 * math/e_log2l.c: Likewise.
25289 * math/e_logl.c: Likewise.
25290 * math/e_powl.c: Likewise.
25291 * math/e_rem_pio2l.c: Likewise.
25292 * math/e_sinhl.c: Likewise.
25293 * math/e_sqrtl.c: Likewise.
25294 * math/fclrexcpt.c: Likewise.
25295 * math/fedisblxcpt.c: Likewise.
25296 * math/feenablxcpt.c: Likewise.
25297 * math/fegetenv.c: Likewise.
25298 * math/fegetexcept.c: Likewise.
25299 * math/fegetround.c: Likewise.
25300 * math/feholdexcpt.c: Likewise.
25301 * math/fesetenv.c: Likewise.
25302 * math/fesetround.c: Likewise.
25303 * math/feupdateenv.c: Likewise.
25304 * math/fgetexcptflg.c: Likewise.
25305 * math/fraiseexcpt.c: Likewise.
25306 * math/fsetexcptflg.c: Likewise.
25307 * math/ftestexcept.c: Likewise.
25308 * math/k_cosl.c: Likewise.
25309 * math/k_rem_pio2l.c: Likewise.
25310 * math/k_sinl.c: Likewise.
25311 * math/k_tanl.c: Likewise.
25312 * math/s_asinhl.c: Likewise.
25313 * math/s_atanl.c: Likewise.
25314 * math/s_cbrtl.c: Likewise.
25315 * math/s_erfl.c: Likewise.
25316 * math/s_expm1l.c: Likewise.
25317 * math/s_log1pl.c: Likewise.
25318 * math/s_tanhl.c: Likewise.
25319 * misc/acct.c: Likewise.
25320 * misc/brk.c: Likewise.
25321 * misc/chflags.c: Likewise.
25322 * misc/chroot.c: Likewise.
25323 * misc/fchflags.c: Likewise.
25324 * misc/fgetxattr.c: Likewise.
25325 * misc/flistxattr.c: Likewise.
25326 * misc/fremovexattr.c: Likewise.
25327 * misc/fsetxattr.c: Likewise.
25328 * misc/fsync.c: Likewise.
25329 * misc/ftruncate.c: Likewise.
25330 * misc/futimes.c: Likewise.
25331 * misc/futimesat.c: Likewise.
25332 * misc/getdomain.c: Likewise.
25333 * misc/getdtsz.c: Likewise.
25334 * misc/gethostid.c: Likewise.
25335 * misc/gethostname.c: Likewise.
25336 * misc/getloadavg.c: Likewise.
25337 * misc/getpagesize.c: Likewise.
25338 * misc/getsysstats.c: Likewise.
25339 * misc/getxattr.c: Likewise.
25340 * misc/gtty.c: Likewise.
25341 * misc/ioctl.c: Likewise.
25342 * misc/lgetxattr.c: Likewise.
25343 * misc/listxattr.c: Likewise.
25344 * misc/llistxattr.c: Likewise.
25345 * misc/lremovexattr.c: Likewise.
25346 * misc/lsetxattr.c: Likewise.
25347 * misc/lutimes.c: Likewise.
25348 * misc/madvise.c: Likewise.
25349 * misc/mincore.c: Likewise.
25350 * misc/mlock.c: Likewise.
25351 * misc/mlockall.c: Likewise.
25352 * misc/mmap.c: Likewise.
25353 * misc/mprotect.c: Likewise.
25354 * misc/msync.c: Likewise.
25355 * misc/munlock.c: Likewise.
25356 * misc/munlockall.c: Likewise.
25357 * misc/munmap.c: Likewise.
25358 * misc/preadv.c: Likewise.
25359 * misc/preadv64.c: Likewise.
25360 * misc/ptrace.c: Likewise.
25361 * misc/pwritev.c: Likewise.
25362 * misc/pwritev64.c: Likewise.
25363 * misc/readv.c: Likewise.
25364 * misc/reboot.c: Likewise.
25365 * misc/remap_file_pages.c: Likewise.
25366 * misc/removexattr.c: Likewise.
25367 * misc/revoke.c: Likewise.
25368 * misc/select.c: Likewise.
25369 * misc/setdomain.c: Likewise.
25370 * misc/setegid.c: Likewise.
25371 * misc/seteuid.c: Likewise.
25372 * misc/sethostid.c: Likewise.
25373 * misc/sethostname.c: Likewise.
25374 * misc/setregid.c: Likewise.
25375 * misc/setreuid.c: Likewise.
25376 * misc/setxattr.c: Likewise.
25377 * misc/sstk.c: Likewise.
25378 * misc/stty.c: Likewise.
25379 * misc/swapoff.c: Likewise.
25380 * misc/swapon.c: Likewise.
25381 * misc/sync.c: Likewise.
25382 * misc/syncfs.c: Likewise.
25383 * misc/syscall.c: Likewise.
25384 * misc/truncate.c: Likewise.
25385 * misc/ualarm.c: Likewise.
25386 * misc/usleep.c: Likewise.
25387 * misc/ustat.c: Likewise.
25388 * misc/utimes.c: Likewise.
25389 * misc/vhangup.c: Likewise.
25390 * misc/writev.c: Likewise.
25391 * posix/_exit.c: Likewise.
25392 * posix/alarm.c: Likewise.
25393 * posix/execve.c: Likewise.
25394 * posix/fexecve.c: Likewise.
25395 * posix/fork.c: Likewise.
25396 * posix/fpathconf.c: Likewise.
25397 * posix/getaddrinfo.c: Likewise.
25398 * posix/getegid.c: Likewise.
25399 * posix/geteuid.c: Likewise.
25400 * posix/getgid.c: Likewise.
25401 * posix/getgroups.c: Likewise.
25402 * posix/getlogin.c: Likewise.
25403 * posix/getlogin_r.c: Likewise.
25404 * posix/getpgid.c: Likewise.
25405 * posix/getpid.c: Likewise.
25406 * posix/getppid.c: Likewise.
25407 * posix/getresgid.c: Likewise.
25408 * posix/getresuid.c: Likewise.
25409 * posix/getsid.c: Likewise.
25410 * posix/getuid.c: Likewise.
25411 * posix/glob64.c: Likewise.
25412 * posix/nanosleep.c: Likewise.
25413 * posix/pathconf.c: Likewise.
25414 * posix/pause.c: Likewise.
25415 * posix/posix_madvise.c: Likewise.
25416 * posix/pread.c: Likewise.
25417 * posix/pread64.c: Likewise.
25418 * posix/pwrite.c: Likewise.
25419 * posix/pwrite64.c: Likewise.
25420 * posix/sched_getaffinity.c: Likewise.
25421 * posix/sched_getp.c: Likewise.
25422 * posix/sched_gets.c: Likewise.
25423 * posix/sched_primax.c: Likewise.
25424 * posix/sched_primin.c: Likewise.
25425 * posix/sched_rr_gi.c: Likewise.
25426 * posix/sched_setaffinity.c: Likewise.
25427 * posix/sched_setp.c: Likewise.
25428 * posix/sched_sets.c: Likewise.
25429 * posix/sched_yield.c: Likewise.
25430 * posix/setgid.c: Likewise.
25431 * posix/setlogin.c: Likewise.
25432 * posix/setpgid.c: Likewise.
25433 * posix/setresgid.c: Likewise.
25434 * posix/setresuid.c: Likewise.
25435 * posix/setsid.c: Likewise.
25436 * posix/setuid.c: Likewise.
25437 * posix/sleep.c: Likewise.
25438 * posix/spawni.c: Likewise.
25439 * posix/sysconf.c: Likewise.
25440 * posix/times.c: Likewise.
25441 * posix/wait.c: Likewise.
25442 * posix/wait3.c: Likewise.
25443 * posix/wait4.c: Likewise.
25444 * posix/waitpid.c: Likewise.
25445 * resolv/gai_sigqueue.c: Likewise.
25446 * resource/getpriority.c: Likewise.
25447 * resource/getrlimit.c: Likewise.
25448 * resource/getrusage.c: Likewise.
25449 * resource/nice.c: Likewise.
25450 * resource/setpriority.c: Likewise.
25451 * resource/setrlimit.c: Likewise.
25452 * resource/ulimit.c: Likewise.
25453 * rt/aio_cancel.c: Likewise.
25454 * rt/aio_fsync.c: Likewise.
25455 * rt/aio_read.c: Likewise.
25456 * rt/aio_sigqueue.c: Likewise.
25457 * rt/aio_suspend.c: Likewise.
25458 * rt/aio_write.c: Likewise.
25459 * rt/clock_getres.c: Likewise.
25460 * rt/clock_gettime.c: Likewise.
25461 * rt/clock_nanosleep.c: Likewise.
25462 * rt/clock_settime.c: Likewise.
25463 * rt/lio_listio.c: Likewise.
25464 * rt/mq_close.c: Likewise.
25465 * rt/mq_getattr.c: Likewise.
25466 * rt/mq_notify.c: Likewise.
25467 * rt/mq_open.c: Likewise.
25468 * rt/mq_receive.c: Likewise.
25469 * rt/mq_send.c: Likewise.
25470 * rt/mq_setattr.c: Likewise.
25471 * rt/mq_timedreceive.c: Likewise.
25472 * rt/mq_timedsend.c: Likewise.
25473 * rt/mq_unlink.c: Likewise.
25474 * rt/shm_open.c: Likewise.
25475 * rt/shm_unlink.c: Likewise.
25476 * rt/timer_create.c: Likewise.
25477 * rt/timer_delete.c: Likewise.
25478 * rt/timer_getoverr.c: Likewise.
25479 * rt/timer_gettime.c: Likewise.
25480 * rt/timer_settime.c: Likewise.
25481 * setjmp/__longjmp.c: Likewise.
25482 * setjmp/setjmp.c: Likewise.
25483 * signal/kill.c: Likewise.
25484 * signal/killpg.c: Likewise.
25485 * signal/raise.c: Likewise.
25486 * signal/sigaction.c: Likewise.
25487 * signal/sigaltstack.c: Likewise.
25488 * signal/sigblock.c: Likewise.
25489 * signal/sigignore.c: Likewise.
25490 * signal/sigintr.c: Likewise.
25491 * signal/signal.c: Likewise.
25492 * signal/sigpause.c: Likewise.
25493 * signal/sigpending.c: Likewise.
25494 * signal/sigqueue.c: Likewise.
25495 * signal/sigreturn.c: Likewise.
25496 * signal/sigset.c: Likewise.
25497 * signal/sigsetmask.c: Likewise.
25498 * signal/sigstack.c: Likewise.
25499 * signal/sigsuspend.c: Likewise.
25500 * signal/sigtimedwait.c: Likewise.
25501 * signal/sigvec.c: Likewise.
25502 * signal/sigwait.c: Likewise.
25503 * signal/sigwaitinfo.c: Likewise.
25504 * signal/sysv_signal.c: Likewise.
25505 * socket/accept.c: Likewise.
25506 * socket/accept4.c: Likewise.
25507 * socket/bind.c: Likewise.
25508 * socket/connect.c: Likewise.
25509 * socket/getpeername.c: Likewise.
25510 * socket/getsockname.c: Likewise.
25511 * socket/getsockopt.c: Likewise.
25512 * socket/isfdtype.c: Likewise.
25513 * socket/listen.c: Likewise.
25514 * socket/recv.c: Likewise.
25515 * socket/recvfrom.c: Likewise.
25516 * socket/recvmsg.c: Likewise.
25517 * socket/send.c: Likewise.
25518 * socket/sendmsg.c: Likewise.
25519 * socket/sendto.c: Likewise.
25520 * socket/setsockopt.c: Likewise.
25521 * socket/shutdown.c: Likewise.
25522 * socket/sockatmark.c: Likewise.
25523 * socket/socket.c: Likewise.
25524 * socket/socketpair.c: Likewise.
25525 * stdio-common/ctermid.c: Likewise.
25526 * stdio-common/cuserid.c: Likewise.
25527 * stdio-common/remove.c: Likewise.
25528 * stdio-common/rename.c: Likewise.
25529 * stdio-common/renameat.c: Likewise.
25530 * stdio-common/tempname.c: Likewise.
25531 * stdlib/getcontext.c: Likewise.
25532 * stdlib/makecontext.c: Likewise.
25533 * stdlib/setcontext.c: Likewise.
25534 * stdlib/swapcontext.c: Likewise.
25535 * stdlib/system.c: Likewise.
25536 * streams/fattach.c: Likewise.
25537 * streams/fdetach.c: Likewise.
25538 * streams/getmsg.c: Likewise.
25539 * streams/getpmsg.c: Likewise.
25540 * streams/putmsg.c: Likewise.
25541 * streams/putpmsg.c: Likewise.
25542 * sysdeps/unix/bsd/getpt.c: Likewise.
25543 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25544 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25545 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25548 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25549 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25550 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25551 * sysvipc/msgctl.c: Likewise.
25552 * sysvipc/msgget.c: Likewise.
25553 * sysvipc/msgrcv.c: Likewise.
25554 * sysvipc/msgsnd.c: Likewise.
25555 * sysvipc/semctl.c: Likewise.
25556 * sysvipc/semget.c: Likewise.
25557 * sysvipc/semop.c: Likewise.
25558 * sysvipc/semtimedop.c: Likewise.
25559 * sysvipc/shmat.c: Likewise.
25560 * sysvipc/shmctl.c: Likewise.
25561 * sysvipc/shmdt.c: Likewise.
25562 * sysvipc/shmget.c: Likewise.
25563 * termios/tcdrain.c: Likewise.
25564 * termios/tcflow.c: Likewise.
25565 * termios/tcflush.c: Likewise.
25566 * termios/tcgetattr.c: Likewise.
25567 * termios/tcgetpgrp.c: Likewise.
25568 * termios/tcsendbrk.c: Likewise.
25569 * termios/tcsetattr.c: Likewise.
25570 * termios/tcsetpgrp.c: Likewise.
25571 * time/adjtime.c: Likewise.
25572 * time/clock.c: Likewise.
25573 * time/getitimer.c: Likewise.
25574 * time/gettimeofday.c: Likewise.
25575 * time/setitimer.c: Likewise.
25576 * time/settimeofday.c: Likewise.
25577 * time/stime.c: Likewise.
25578 * time/time.c: Likewise.
25580 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25582 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25585 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25587 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25589 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25593 FE_TONEAREST before applying Dekker multiplication and Knuth
25594 addition. Clear inexact exceptions and check for exact zero
25595 results afterwards.
25596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25597 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25598 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25599 * math/libm-test.inc (fma_test): Add more tests.
25600 (fma_test_towardzero): Likewise.
25601 (fma_test_downward): Likewise.
25602 (fma_test_upward): Likewise.
25603 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25605 (libc_fesetround): New macro.
25606 (libc_fesetroundf): Likewise.
25607 (libc_fesetroundl): Likewise.
25608 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25610 (libc_fesetround_387): Likewise.
25611 (libc_fesetroundf): New macro.
25612 (libc_fesetround): Likewise.
25613 (libc_fesetroundl): Likewise.
25614 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25616 (libc_fesetroundf): New macro.
25617 (libc_fesetround): Likewise.
25618 (libc_fesetroundl): Likewise.
25619 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25620 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25621 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25623 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25624 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25626 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25627 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25629 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25633 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25634 integer constant usable in #if and use that to give value to enum
25636 (FE_DIVBYZERO): Likewise.
25637 (FE_UNDERFLOW): Likewise.
25638 (FE_OVERFLOW): Likewise.
25639 (FE_INVALID): Likewise.
25640 (FE_INVALID_SNAN): Likewise.
25641 (FE_INVALID_ISI): Likewise.
25642 (FE_INVALID_IDI): Likewise.
25643 (FE_INVALID_ZDZ): Likewise.
25644 (FE_INVALID_IMZ): Likewise.
25645 (FE_INVALID_COMPARE): Likewise.
25646 (FE_INVALID_SOFTWARE): Likewise.
25647 (FE_INVALID_SQRT): Likewise.
25648 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25649 (FE_TONEAREST): Likewise.
25650 (FE_TOWARDZERO): Likewise.
25651 (FE_UPWARD): Likewise.
25652 (FE_DOWNWARD): Likewise.
25653 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25654 (FE_DIVBYZERO): Likewise.
25655 (FE_OVERFLOW): Likewise.
25656 (FE_UNDERFLOW): Likewise.
25657 (FE_INEXACT): Likewise.
25658 (FE_TONEAREST): Likewise.
25659 (FE_DOWNWARD): Likewise.
25660 (FE_UPWARD): Likewise.
25661 (FE_TOWARDZERO): Likewise.
25662 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25663 (FE_UNDERFLOW): Likewise.
25664 (FE_OVERFLOW): Likewise.
25665 (FE_DIVBYZERO): Likewise.
25666 (FE_INVALID): Likewise.
25667 (FE_TONEAREST): Likewise.
25668 (FE_TOWARDZERO): Likewise.
25669 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25670 (FE_OVERFLOW): Likewise.
25671 (FE_UNDERFLOW): Likewise.
25672 (FE_DIVBYZERO): Likewise.
25673 (FE_INEXACT): Likewise.
25674 (FE_TONEAREST): Likewise.
25675 (FE_TOWARDZERO): Likewise.
25676 (FE_UPWARD): Likewise.
25677 (FE_DOWNWARD): Likewise.
25678 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25679 (FE_DIVBYZERO): Likewise.
25680 (FE_OVERFLOW): Likewise.
25681 (FE_UNDERFLOW): Likewise.
25682 (FE_INEXACT): Likewise.
25683 (FE_TONEAREST): Likewise.
25684 (FE_DOWNWARD): Likewise.
25685 (FE_UPWARD): Likewise.
25686 (FE_TOWARDZERO): Likewise.
25688 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25690 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25692 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25694 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25695 commands. Quote $PWD.
25696 (blacklist_exports): Don't use remove_newlines. Replace "declare
25698 (remove_newlines): Remove.
25700 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25702 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25703 * stdlib/stdlib.h (atof): Moved to ...
25704 * include/bits/stdlib-float.h: Here. New file.
25705 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25706 * stdlib/bits/stdlib-float.h: New file.
25707 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25709 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25712 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25714 * conform/conformtest.pl (@headers): Add fenv.h.
25715 * conform/data/fenv.h-data: New file.
25716 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25717 include of <math/fenv.h>.
25719 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25720 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25721 && !UNIX98]. Enables tests for XOPEN2K8.
25722 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25723 POSIX2008]: Likewise.
25725 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25726 (struct rusage): Do not expect type or its members.
25729 * math/math.h (FP_NAN): Define macro to integer constant usable in
25730 #if and use that to give value to enum constant.
25731 (FP_INFINITE): Likewise.
25732 (FP_ZERO): Likewise.
25733 (FP_SUBNORMAL): Likewise.
25734 (FP_NORMAL): Likewise.
25736 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25738 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25739 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25742 2012-11-02 Roland McGrath <roland@hack.frob.com>
25744 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25745 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25746 autoconf-time if not.
25747 * configure.in: Remove AC_PREREQ.
25749 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25751 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25752 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25753 of the internal implementation.
25755 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25757 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25758 except include of <misc/sys/syslog.h>.
25760 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25763 function returns with a NULL context exit with zero.
25765 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25767 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25769 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25771 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25772 (run_program_cmd): This.
25773 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25774 (tst_langinfo): New variable. Use it.
25776 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25778 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25779 floating point opcodes.
25781 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25783 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25786 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25788 * sysdeps/mach/hurd/powerpc: Remove directory.
25789 * sysdeps/mach/powerpc: Likewise.
25791 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25793 * scripts/check-local-headers.sh: Ignore c++ headers.
25795 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25797 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25798 __libc_cleanup_region_start argument.
25800 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25805 x * y using scaling, not as x * y + z.
25806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25807 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25808 * math/libm-test.inc (fma_test): Add more tests.
25809 (fma_test_towardzero): Likewise.
25810 (fma_test_downward): Likewise.
25811 (fma_test_upward): Likewise.
25813 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25815 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25817 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25819 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25822 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25824 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25826 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25833 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25836 Fix the order of the list for glibc 2.17.
25837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25840 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25844 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25847 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25848 for low part of x being zero before using __atanl (y).
25849 * math/libm-test.inc (atan2_test): Add another test.
25851 * manual/install.texi (Configuring and compiling): Document
25852 general use of test-wrapper and test-wrapper-env.
25853 * INSTALL: Regenerated.
25855 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25856 (__fma): Do not extract and scale down low bits on after-rounding
25857 systems when result rounded to normal precision would have normal
25859 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25860 (__fmal): Do not extract and scale down low bits on after-rounding
25861 systems when result rounded to normal precision would have normal
25863 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25864 (__fmal): Do not extract and scale down low bits on after-rounding
25865 systems when result rounded to normal precision would have normal
25867 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25869 (fma_test): Add more tests.
25870 (fma_test_towardzero): Likewise.
25871 (fma_test_downward): Likewise.
25872 (fma_test_upward): Likewise.
25874 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25876 * sysdeps/i386/tininess.h: Renamed to ...
25877 * sysdeps/x86/tininess.h: This.
25878 * sysdeps/x86_64/tininess.h: Removed.
25880 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25882 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25883 input. Use $(build-program-cmd).
25884 ($(objpfx)tst-array1-static.out): Likewise.
25885 ($(objpfx)tst-array2.out): Likewise.
25886 ($(objpfx)tst-array3.out): Likewise.
25887 ($(objpfx)tst-array4.out): Likewise.
25888 ($(objpfx)tst-array5.out): Likewise.
25889 ($(objpfx)tst-array5-static.out): Likewise.
25891 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25893 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25896 * nss/nsswitch.h (nss_interface_function): Provide new
25897 macro for use with NSS functions.
25898 * grp/initgroups.c: Use new macro.
25899 * nss/getXXbyYY.c: Likewise.
25900 * nss/getXXbyYY_r.c: Likewise.
25901 * nss/getXXent.c: Likewise.
25902 * nss/getXXent_r.c: Likewise.
25903 * sysdeps/posix/getaddrinfo.c: Likewise.
25905 2012-10-30 Andreas Jaeger <aj@suse.de>
25907 * po/ru.po: Update Russion translation from translation project.
25909 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25913 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25914 result and shift together with sticky bit instead of replicating
25915 round-to-nearest rounding.
25916 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25917 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25918 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25919 missing underflow exceptions.
25920 (fma_test_towardzero): Add more tests.
25921 (fma_test_downward): Likewise.
25922 (fma_test_upward): Likewise.
25925 * sysdeps/generic/tininess.h: New file.
25926 * sysdeps/i386/tininess.h: Likewise.
25927 * sysdeps/sh/tininess.h: Likewise.
25928 * sysdeps/x86_64/tininess.h: Likewise.
25929 * stdlib/tst-strtod-underflow.c: Likewise.
25930 * stdlib/tst-tininess.c: Likewise.
25931 * stdlib/strtod_l.c: Include <tininess.h>.
25932 (round_and_return): Do not set errno for exact underflow cases.
25933 Force an underflow exception when setting errno for underflow.
25934 Determine underflow based on rounding to normal precision if
25935 TININESS_AFTER_ROUNDING.
25936 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25937 ERANGE for exact underflow cases.
25938 * stdlib/Makefile (tests): Add tst-tininess and
25939 tst-strtod-underflow.
25940 ($(objpfx)tst-tininess): Use $(link-libm).
25941 ($(objpfx)tst-strtod-underflow): Likewise.
25943 2012-10-30 Andreas Jaeger <aj@suse.de>
25946 * elf/Makefile (tests): Remove conditional for have-initfini-array
25947 since this is now always required and the variable does not exist
25949 (tests-static): Likewise.
25950 (modules-names): Likewise.
25952 * po/eo.po: Add Esperanto translation from translation project.
25954 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25955 merged with constructor/destructor.
25956 (init_array): Likewise.
25957 * elf/tst-array2dep.c (fini_array): Likewise.
25958 (init_array): Likewise.
25960 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25962 * manual/message.texi: Delete @cartouche tags.
25964 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25966 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25968 * sysdeps/mach/hurd/fsync.c: Likewise.
25970 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25971 [_POSIX_REALTIME_SIGNALS]: Change condition to
25972 [_POSIX_REALTIME_SIGNALS > 0].
25974 2012-10-27 Andreas Jaeger <aj@suse.de>
25976 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25977 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25978 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25979 [__WORDSIZE != 64]: Likewise.
25981 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25983 * iconvdata/tst-table.sh: Remove ${SHELL}.
25984 * iconvdata/tst-tables.sh: Likewise.
25986 2012-10-25 David S. Miller <davem@davemloft.net>
25988 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25989 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25994 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25995 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25996 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25999 2012-10-25 Roland McGrath <roland@hack.frob.com>
26001 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26002 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26005 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26006 Jim Blandy <jimb@codesourcery.com>
26008 * scripts/cross-test-ssh.sh: New file.
26009 * manual/install.texi (Configuring and compiling): Document use of
26011 * INSTALL: Regenerated.
26013 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26015 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26018 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26020 * Makeconfig (run-program-prefix): Fix comment.
26022 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26023 Jim Blandy <jimb@codesourcery.com>
26025 * Makeconfig (test-wrapper): New variable,
26026 (test-wrapper-env): Likewise.
26027 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26028 (run-built-tests): Define to yes.
26029 (run-program-prefix): Use $(test-wrapper).
26030 (built-program-cmd): Likewise.
26031 * Rules (make-test-out): Use $(test-wrapper-env) and
26032 $(host-built-program-cmd).
26033 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26034 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26036 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26037 $(test-wrapper-env) to tst-rtld-load-self.sh.
26038 ($(objpfx)order2.out): Use $(test-wrapper).
26039 ($(objpfx)tst-initorder.out): Likewise.
26040 ($(objpfx)tst-initorder2.out): Likewise.
26041 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26042 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26043 (test_wrapper_env): New variable. Use it to run ld.so.
26044 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26045 Use it to run ld.so.
26046 (test_wrapper_env): Likewise.
26047 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26048 $(test-wrapper) to run-iconv-test.sh.
26049 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26050 (ICONV): Use $test_wrapper.
26051 * posix/Makefile ($(objpfx)globtest.out): Pass
26052 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26053 globtest.sh, not $(run-program-prefix).
26054 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26055 (test_wrapper): Likewise.
26056 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26057 set together with run_via_rtld_prefix.
26058 (run_program_prefix): Define in terms of test_wrapper and
26059 run_via_rtld_prefix.
26061 2012-10-24 Roland McGrath <roland@hack.frob.com>
26063 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26064 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26068 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26069 Declare __clock_getres, __clock_gettime, __clock_settime,
26070 __clock_nanosleep, and __clock_getcpuclockid.
26071 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26072 Remove librt_hidden_def (clock_gettime).
26073 * sysdeps/unix/clock_gettime.c: Likewise.
26074 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26075 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26076 * rt/clock_getres.c: Define __clock_getres as an alias.
26077 * sysdeps/posix/clock_getres.c: Likewise.
26078 * rt/clock_settime.c: Define __clock_settime as an alias.
26079 * sysdeps/unix/clock_settime.c: Likewise.
26080 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26081 * sysdeps/unix/clock_nanosleep.c: Likewise.
26082 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26083 * rt/clock-compat.c: New file.
26084 * rt/Makefile (librt-routines): Add clock-compat and move
26085 $(clock-routines) to ...
26086 (routines): ... here, new variable.
26087 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26088 Don't add get_clockfreq here.
26089 * rt/Versions (libc: GLIBC_2.17): New version set.
26090 Add clock_* symbols here.
26091 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26092 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26093 (GLIBC_2.17): Add clock_* symbols.
26094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26096 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26105 * NEWS: Mention the move.
26107 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26108 Use __open, __read, __close rather than their public counterparts.
26109 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26110 (__get_clockfreq_via_cpuinfo): Likewise.
26111 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26112 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26114 * config.h.in (HAVE_IFUNC): New #undef.
26115 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26117 * configure: Regenerated.
26119 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26121 * configure.in: Move READELF check to start of file.
26122 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26123 libc_cv_asm_gnu_indirect_function in the process.
26124 * configure: Regenerated.
26126 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26128 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26129 send the output to /dev/null.
26130 (libc_cv_cc_with_libunwind): Likewise.
26131 (libc_cv_as_noexecstack): Likewise.
26132 * configure: Regenerate.
26134 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26136 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26138 * posix/globtest.sh (TMPDIR): Do not set.
26139 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26140 (testout): Likewise.
26142 2012-10-24 Andreas Jaeger <aj@suse.de>
26144 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26145 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26146 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26147 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26148 posix_fadvise64, posix_fallocate64.
26150 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26151 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26152 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26154 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26156 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26159 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26160 <bits/fcntl-linux.h>.
26161 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26163 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26164 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26165 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26166 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26167 [__WORDSIZE != 64]: Likewise.
26169 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26171 * Makeconfig (run-built-tests): New variable.
26172 * Rules [$(cross-compiling) = yes]: Change condition to
26173 [$(run-built-tests) = no].
26174 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26175 to [$(run-built-tests) = yes].
26176 * elf/Makefile [$(cross-compiling) = no]: Likewise
26177 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26178 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26179 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26180 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26181 * io/Makefile [$(cross-compiling) = no]: Likewise.
26182 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26183 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26184 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26185 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26186 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26187 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26188 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26189 * string/Makefile [$(cross-compiling) = no]: Likewise.
26191 * posix/Makefile ($(objpfx)globtest.out): Pass
26192 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26193 $(rtld-installed-name).
26194 * posix/globtest.sh (elf_objpfx): Remove variable.
26195 (rtld_installed_name): Likewise.
26196 (library_path): Likewise.
26197 (run_program_prefix): New variable. Use for running globtest
26200 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26201 Joseph Myers <joseph@codesourcery.com>
26203 * Makeconfig (host-built-program-cmd): New variable.
26204 * elf/Makefile (tst-stackguard1-ARGS): Use
26205 $(host-built-program-cmd).
26206 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26207 (tst-spawn-ARGS): Likewise.
26208 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26210 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26211 Jim Blandy <jimb@codesourcery.com>
26213 * Makeconfig (run-via-rtld-prefix): New variable.
26214 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26215 (built-program-cmd): Likewise.
26217 2012-10-22 Andreas Jaeger <aj@suse.de>
26219 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26220 __O_RSYNC if it exists, otherwise to O_SYNC.
26222 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26223 Joseph Myers <joseph@codesourcery.com>
26225 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26227 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26229 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26232 2012-10-22 Andreas Jaeger <aj@suse.de>
26234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26239 bits/fcntl-linux.h.
26241 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26242 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26249 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26250 Joseph Myers <joseph@codesourcery.com>
26252 * config.make.in (NM): New variable.
26254 2012-10-21 Andreas Jaeger <aj@suse.de>
26256 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26257 definitions and declarations that are provided by
26258 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26260 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26263 * elf/Makefile (tests-static): Add tst-leaks1-static.
26264 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26265 ($(objpfx)tst-leaks1-static): New rule.
26266 ($(objpfx)tst-leaks1-static-mem): Likewise.
26267 (tst-leaks1-static-ENV): New macro.
26268 * elf/dl-open.c (dl_open_worker): Check the main application
26269 only if SHARED is defined.
26270 * elf/tst-leaks1-static.c: New file.
26272 2012-10-20 Andreas Jaeger <aj@suse.de>
26274 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26275 generic values for Linux.
26276 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26277 and declarations that are provided by <bits/fcntl-linux.h> and
26278 include <bits/fcntl-linux.h>.
26279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26280 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26282 2012-10-20 Roland McGrath <roland@hack.frob.com>
26284 * io/fcntl.h: Move include of <bits/types.h> to the top and
26285 include it unconditionally.
26287 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26289 * wcsmbs/Makefile (tests-ifunc): New variable.
26290 (tests): Add $(tests-ifunc).
26291 * wcsmbs/test-wcschr-ifunc.c: New file.
26292 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26293 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26294 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26295 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26296 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26298 * string/Makefile (tests-ifunc): New variable.
26299 (tests): Add $(tests-ifunc).
26300 * string/test-memccpy.c (TEST_NAME): New macro.
26301 * string/test-memchr.c (TEST_NAME): Likewise.
26302 * string/test-memcmp.c (TEST_NAME): Likewise.
26303 * string/test-memcpy.c (TEST_NAME): Likewise.
26304 * string/test-memmem.c (TEST_NAME): Likewise.
26305 * string/test-memmove.c (TEST_NAME): Likewise.
26306 * string/test-memset.c (TEST_NAME): Likewise.
26307 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26308 * string/test-stpcpy.c (TEST_NAME): Likewise.
26309 * string/test-stpncpy.c (TEST_NAME): Likewise.
26310 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26311 * string/test-strcasestr.c (TEST_NAME): Likewise.
26312 * string/test-strcat.c (TEST_NAME): Likewise.
26313 * string/test-strchr.c (TEST_NAME): Likewise.
26314 * string/test-strcmp.c(TEST_NAME): Likewise.
26315 * string/test-strcpy.c (TEST_NAME): Likewise.
26316 * string/test-strcspn.c (TEST_NAME): Likewise.
26317 * string/test-strlen.c (TEST_NAME): Likewise.
26318 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26319 * string/test-strncmp.c (TEST_NAME): Likewise.
26320 * string/test-strncpy.c (TEST_NAME): Likewise.
26321 * string/test-strnlen.c (TEST_NAME): Likewise.
26322 * string/test-strpbrk.c (TEST_NAME): Likewise.
26323 * string/test-strrchr.c (TEST_NAME): Likewise.
26324 * string/test-strspn.c (TEST_NAME): Likewise.
26325 * string/test-strstr.c (TEST_NAME): Likewise.
26326 * string/test-bcopy-ifunc.c: New file.
26327 * string/test-bzero-ifunc.c: Likewise.
26328 * string/test-memccpy-ifunc.c: Likewise.
26329 * string/test-memchr-ifunc.c: Likewise.
26330 * string/test-memcmp-ifunc.c: Likewise.
26331 * string/test-memcpy-ifunc.c: Likewise.
26332 * string/test-memmem-ifunc.c: Likewise.
26333 * string/test-memmove-ifunc.c: Likewise.
26334 * string/test-mempcpy-ifunc.c: Likewise.
26335 * string/test-memset-ifunc.c: Likewise.
26336 * string/test-rawmemchr-ifunc.c: Likewise.
26337 * string/test-stpcpy-ifunc.c: Likewise.
26338 * string/test-stpncpy-ifunc.c: Likewise.
26339 * string/test-strcasecmp-ifunc.c: Likewise.
26340 * string/test-strcasestr-ifunc.c: Likewise.
26341 * string/test-strcat-ifunc.c: Likewise.
26342 * string/test-strchr-ifunc.c: Likewise.
26343 * string/test-strchrnul-ifunc.c: Likewise.
26344 * string/test-strcmp-ifunc.c: Likewise.
26345 * string/test-strcpy-ifunc.c: Likewise.
26346 * string/test-strcspn-ifunc.c: Likewise.
26347 * string/test-strlen-ifunc.c: Likewise.
26348 * string/test-strncasecmp-ifunc.c: Likewise.
26349 * string/test-strncat-ifunc.c: Likewise.
26350 * string/test-strncmp-ifunc.c: Likewise.
26351 * string/test-strncpy-ifunc.c: Likewise.
26352 * string/test-strnlen-ifunc.c: Likewise.
26353 * string/test-strpbrk-ifunc.c: Likewise.
26354 * string/test-strrchr-ifunc.c: Likewise.
26355 * string/test-strspn-ifunc.c: Likewise.
26356 * string/test-strstr-ifunc.c: Likewise.
26358 * debug/Makefile (tests-ifunc): New variable.
26359 (tests): Add $(tests-ifunc).
26360 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26361 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26362 * debug/test-stpcpy_chk-ifunc.c: New file.
26363 * debug/test-strcpy_chk-ifunc.c: Likewise.
26365 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26368 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26369 header is not read in.
26371 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26373 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26374 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26375 directly. Pass built executable to script as
26376 $(built-program-cmd).
26377 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26378 $testprogram without using LD_LIBRARY_PATH and $ldso.
26380 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26381 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26382 $(rtld-installed-name).
26383 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26384 (rtld_installed_name): Likewise.
26385 (library_path): Likewise.
26386 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26387 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26388 $(run-program-prefix) to tst-tables.sh.
26389 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26390 it to run tst-table-from and tst-table-to.
26391 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26392 Pass it to tst-table.sh.
26393 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26394 $(run-program-prefix) to tst-gettext.sh.
26395 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26397 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26399 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26400 to run tst-gettext.
26401 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26402 to run tst-gettext2.
26403 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26404 to run tst-translit.
26405 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26406 $(run-program-prefix) to tst-mtrace.sh.
26407 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26409 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26410 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26411 $(rtld-installed-name).
26412 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26413 (rtld_installed_name): Likewise.
26414 (run_program_prefix): New variable. Use it to run wordexp-test.
26416 * Makeconfig (ARCH): Remove all definitions.
26417 (machine): Likewise.
26418 [ARCH]: Remove conditional code.
26419 [!objdir]: Give error.
26420 [!objdir] (objpfx): Remove.
26421 [!objdir] (common-objpfx): Likewise.
26422 [!objdir] (common-objdir): Likewise.
26423 * configure.in (config_makefile): Remove. Hardcode Makefile in
26424 AC_CONFIG_FILES call.
26425 * configure: Regenerated.
26428 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26430 (testout): Likewise.
26432 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26433 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26434 $(rtld-installed-name).
26435 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26436 (rtld_installed_name): Likwise.
26437 (runit): Remove function.
26438 (run_getconf): New variable, Use it for running getconf binary.
26440 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26443 * string/test-memmem.c (check_result): New function.
26444 (do_one_test): Use it.
26445 (check1): New function.
26446 (test_main): Use it.
26448 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26450 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26452 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26454 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26455 (_G_LSEEK64): Likewise.
26456 (_G_MMAP64): Likewise.
26457 (_G_FSTAT64): Likewise.
26458 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26459 (_G_LSEEK64): Likewise.
26460 (_G_MMAP64): Likewise.
26461 (_G_FSTAT64): Likewise.
26462 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26463 unconditional. Call __mmap64 directly.
26464 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26465 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26466 __lseek64 directly.
26467 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26468 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26470 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26471 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26472 __lseek64 directly.
26473 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26474 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26475 __lseek64 directly.
26476 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26477 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26478 __lseek64 directly.
26479 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26480 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26481 __fxstat64 directly.
26482 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26483 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26485 (freopen64) [!_G_OPEN64]: Remove conditional code.
26486 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26488 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26489 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26491 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26492 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26494 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26495 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26497 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26498 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26500 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26501 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26503 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26504 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26506 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26508 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26511 * manual/memory.texi (Malloc Tunable Parameters): Add note
26512 about free list pointers overwriting some perturb bytes.
26513 Wording suggested by Roland McGrath.
26515 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26517 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26518 (lgamma_test): Likewise.
26519 (tgamma_test): Likewise.
26521 2012-10-16 Florian Weimer <fweimer@redhat.com>
26524 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26525 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26527 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26529 * NEWS: Mention BZ #14716.
26530 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26531 when removing AVAILABLE1_USES_J macro.
26533 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26535 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26536 (__bswap_64): __uint64_t for unsigned 64-bit int.
26538 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26540 * include/string.h (memmem): Declare libc hidden alias.
26541 * string/memmem.c (memmem): Define libc hidden alias.
26542 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26543 __read, __close instead of open, read, close.
26545 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26548 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26550 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26551 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26552 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26554 (__rawmemchr_sse2): Likewise.
26555 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26556 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26557 (__strchr_sse2): Likewise.
26558 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26559 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26560 (__strcasecmp_sse2): Likewise.
26561 (__strncasecmp_sse2): Likewise.
26562 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26563 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26564 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26565 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26566 (__strrchr_sse2): Likewise.
26567 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26569 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26570 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26571 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26572 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26573 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26574 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26575 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26576 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26577 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26578 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26579 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26580 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26581 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26582 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26583 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26584 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26585 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26586 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26587 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26588 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26589 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26590 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26591 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26592 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26593 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26594 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26595 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26596 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26597 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26598 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26600 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26602 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26603 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26604 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26605 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26607 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26609 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26610 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26611 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26612 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26614 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26615 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26616 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26617 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26618 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26619 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26620 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26621 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26622 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26623 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26624 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26625 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26626 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26627 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26628 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26629 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26630 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26631 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26632 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26633 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26634 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26635 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26636 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26637 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26638 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26639 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26640 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26641 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26642 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26643 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26644 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26645 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26646 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26647 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26648 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26649 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26650 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26651 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26652 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26653 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26654 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26656 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26657 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26658 * include/ifunc-impl-list.h: New file.
26659 * misc/ifunc-impl-list.c: Likewise.
26660 * misc/Makefile (routines): Add ifunc-impl-list.
26661 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26662 * string/test-string.h: Include <ifunc-impl-list.h>.
26663 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26664 TEST_NAME]: New variables.
26665 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26667 (test_init): Call __libc_ifunc_impl_list to initialize
26668 func_list if TEST_IFUNC and TEST_NAME are defined.
26670 * string/Makefile (strop-tests): Add bcopy and bzero.
26671 * string/test-bcopy.c: New file.
26672 * string/test-bzero.c: Likewise.
26673 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26675 * string/test-memset.c: Support bzero test if TEST_BZERO is
26677 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26679 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26681 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26684 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26686 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26687 * configure: Regenerated.
26689 * Makeconfig (+link-static-before-libc): Don't include
26690 $(link-static-libc).
26692 * libio/libio.h (_IO_pos_t): Remove.
26694 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26696 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26699 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26701 * crypt/crypt-entry.c: Include fips-private.h.
26702 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26703 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26704 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26705 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26707 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26709 * crypt/crypt-private.h: Include stdbool.h.
26710 (_ufc_setup_salt_r): Return bool.
26711 * crypt/crypt-entry.c: Include errno.h.
26712 (__crypt_r): Return NULL with EINVAL for bad salt.
26713 * crypt/crypt_util.c (bad_for_salt): New.
26714 (_ufc_setup_salt_r): Check that salt is long enough and within
26715 the specified alphabet.
26716 * crypt/badsalttest.c: New file.
26717 * crypt/Makefile (tests): Add it.
26718 ($(objpfx)badsalttest): New.
26720 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26722 * NEWS: Add entry for BZ #14602.
26724 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26726 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26728 * math/libm-test.inc: Update comment listing what functions and
26730 (isgreater_test): New function.
26731 (isgreaterequal_test): Likewise.
26732 (isless_test): Likewise.
26733 (islessequal_test): Likewise.
26734 (islessgreater_test): Likewise.
26735 (isunordered_test): Likewise.
26736 (main): Call the new functions.
26738 2012-10-09 Roland McGrath <roland@hack.frob.com>
26740 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26741 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26742 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26743 * sysdeps/i386/configure: Regenerated.
26744 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26745 * sysdeps/mach/configure: Regenerated.
26746 * sysdeps/mach/hurd/configure: Regenerated.
26747 * sysdeps/powerpc/configure: Regenerated.
26748 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26749 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26750 * sysdeps/s390/s390-32/configure: Regenerated.
26751 * sysdeps/s390/s390-64/configure: Regenerated.
26752 * sysdeps/sh/configure: Regenerated.
26753 * sysdeps/sparc/configure: Regenerated.
26754 * sysdeps/unix/sysv/linux/configure: Regenerated.
26755 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26756 * sysdeps/x86_64/configure: Regenerated.
26758 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26759 defined. Don't check if MAP is NULL.
26761 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26763 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26764 (_G_stat64): Likewise.
26765 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26766 (_G_stat64): Likewise.
26767 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26768 instead of struct _G_stat64.
26769 * libio/fileops.c (mmap_remap_check): Likewise.
26770 (decide_maybe_mmap): Likewise.
26771 (_IO_new_file_seekoff): Likewise.
26772 (_IO_file_stat): Likewise.
26773 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26775 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26776 instead of struct _G_stat64.
26777 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26779 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26782 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26784 (CHECK_EOL): New macro.
26785 (two_way_short_needle): Check beginning of haystack for EOL. Use
26787 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26788 Replace with CHECK_EOL.
26789 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26790 Replace with CHECK_EOL.
26792 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26794 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26796 * math/libm-test.inc: Update comment listing what functions and
26798 (finite_test): New function.
26799 (isinf_test): Likewise.
26800 (isnan_test): Likewise.
26801 (fpclassify_test): Test subnormal input.
26802 (isfinite_test): Likewise.
26803 (isnormal_test): Likewise.
26804 (main): Call the new functions.
26806 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26809 * Makerules (%.dynsym): Force C locale when running
26810 $(OBJDUMP) --dynamic-syms.
26812 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26814 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26817 2012-10-06 David S. Miller <davem@davemloft.net>
26819 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26820 upper 32-bits of the length value in %o2 since we use branch-on-register
26821 tests which consider the entire 64-bit register.
26823 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26825 * string/test-strstr.c (check2): Add a test for page boundary.
26827 2012-10-05 David S. Miller <davem@davemloft.net>
26829 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26830 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26832 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26834 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26835 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26836 and bzero when HWCAP_SPARC_CRYPTO is present.
26838 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26841 * string/test-strstr.c (check2): New function.
26842 (test_main): Call check2.
26844 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26846 * string/bug-strcasestr1.c (do_test): Moved to ...
26847 * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
26853 * string/test-strchr.c (check1): Here. New function.
26854 (do_one_test): Break out result checking code into ...
26855 (check_result): This. New function.
26856 (do_one_test): Call check_result.
26857 (test_main): Call check1.
26858 * string/bug-strstr1.c (main): Moved to ...
26859 * string/test-strstr.c (check1): Here. New function.
26860 (do_one_test): Break out result checking code into ...
26861 (check_result): This. New function.
26862 (do_one_test): Call check_result.
26863 (test_main): Call check1.
26864 * string/bug-strcasestr1.c: Removed.
26865 * string/bug-strchr1.c: Likewise.
26866 * string/bug-strstr1.c: Likewise.
26868 * elf/Makefile (dl-routines): Add hwcaps.
26869 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26870 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26871 (_dl_important_hwcaps): Moved to ...
26872 * elf/dl-hwcaps.c: Here. New file.
26873 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26876 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26877 if IS_IN_rtld isn't defined.
26879 * elf/dl-support.c (_dl_sysinfo_map): New.
26880 Include "get-dynamic-info.h" and "setup-vdso.h".
26881 (_dl_non_dynamic_init): Call setup_vdso.
26882 * elf/dynamic-link.h: Don't include <assert.h>.
26883 (elf_get_dynamic_info): Moved to ...
26884 * elf/get-dynamic-info.h: Here. New file.
26885 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26886 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26887 * elf/setup-vdso.h: Here. New file.
26888 * elf/rtld.c: Include "setup-vdso.h".
26889 (dl_main): Call setup_vdso.
26891 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26893 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26894 creal in comment listing functions tested. List finite, isinf,
26895 isnan, isless, islessequal, isgreater, isgreaterequal,
26896 islessgreater, isunordered, lgamma_r and pow10 as functions and
26897 macros not tested. Mention which functions not tested are aliases
26898 for other functions. Fix typo. Note that signs of NaNs are not
26901 * scripts/config.guess: Update from config.git.
26902 * scripts/config.sub: Likewise.
26904 2012-10-04 Roland McGrath <roland@hack.frob.com>
26906 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26907 * misc/madvise.c (madvise): Renamed to __madvise.
26908 Make madvise a weak alias.
26909 * include/sys/mman.h: Declare __madvise.
26910 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26911 * sysdeps/unix/syscalls.list
26912 (madvise): Make __madvise the strong name, and madvise a weak alias.
26913 * sysdeps/unix/sysv/linux/syscalls.list
26914 (madvise, mmap): Remove redundant entries.
26915 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26916 * malloc/malloc.c (mtrim): Likewise.
26917 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26919 2012-10-03 Roland McGrath <roland@hack.frob.com>
26921 * sysdeps/mach/hurd/dl-cache.c: File removed.
26922 * config.h.in (USE_LDCONFIG): New #undef.
26923 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26924 * configure: Regenerated.
26925 * elf/Makefile (dl-routines): Add dl-cache only under
26926 [$(use-ldconfig) = yes].
26927 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26928 cache on [USE_LDCONFIG].
26929 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26931 * elf/rtld.c (dl_main): Likewise.
26933 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26935 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26936 _SC_LEVEL4_CACHE_LINESIZE.
26938 2012-10-03 Roland McGrath <roland@hack.frob.com>
26940 * sysdeps/unix/bsd/confstr.h: File removed.
26942 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26944 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26947 2012-10-02 Roland McGrath <roland@hack.frob.com>
26949 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26950 Make 'mapoff' field ElfW(Off) rather than off_t.
26952 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26954 * nscd/Makefile: Remove nscd-cflags and all its users.
26955 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26956 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26959 * malloc.c (malloc_printerr): Clarify error message.
26961 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26965 Set bit_FMA_Usable if FMA is supported.
26966 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26968 (bit_FMA4_Usable): Updated.
26969 (index_FMA_Usable): New macro.
26970 (CPUID_FMA): Likewise
26971 (HAS_FMA): Defined with bit_FMA_Usable.
26973 2012-10-01 Roland McGrath <roland@hack.frob.com>
26975 * bits/types.h (__swblk_t): Type removed.
26976 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26977 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26978 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26979 (__SWBLK_T_TYPE): Likewise.
26980 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26981 (__SWBLK_T_TYPE): Likewise.
26982 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26983 (__SWBLK_T_TYPE): Likewise.
26984 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26985 (__SWBLK_T_TYPE): Likewise.
26987 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26988 Honza Horak <hhorak@redhat.com>
26990 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26991 (xdr_mapname): Use YPMAXMAP as maxsize.
26992 (xdr_peername): Use YPMAXPEER as maxsize.
26993 (xdr_keydat): Use YPAXRECORD as maxsize.
26994 (xdr_valdat): Use YPMAXRECORD as maxsize.
26996 2012-10-01 Roland McGrath <roland@hack.frob.com>
26998 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27000 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27001 * csu/init-first.c: ... here.
27002 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27003 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27004 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27005 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27006 * sysdeps/i386/init-first.c: File removed.
27007 * sysdeps/sh/init-first.c: File removed.
27009 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27013 if x * y might underflow to zero and z is zero.
27014 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27015 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27016 * math/libm-test.inc (min_subnorm_value): New variable.
27017 (fma_test): Add more tests.
27018 (fma_test_towardzero): Likewise.
27019 (fma_test_downward): Likewise
27020 (fma_test_upward): Likewise.
27021 (initialize): Set min_subnorm_value.
27023 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27028 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27029 mode for addition resulting in exact zero.
27030 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27031 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27033 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27034 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27035 * math/libm-test.inc (fma_test): Add more tests.
27036 (fma_test_towardzero): New function.
27037 (fma_test_downward): Likewise.
27038 (fma_test_upward): Likewise.
27039 (main): Call the new functions.
27041 2012-09-28 David S. Miller <davem@davemloft.net>
27043 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27045 2012-09-28 Roland McGrath <roland@hack.frob.com>
27047 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27048 instead of SIGALRM.
27050 * sysdeps/gnu/_G_config.h: Moved to ...
27051 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27052 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27053 * sysdeps/generic/_G_config.h: ... here.
27055 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27057 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27059 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27060 Conditionalize target on [libnss_test1.so-version].
27062 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27064 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27065 (elfobjdir): Move out of conditionals.
27067 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27068 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27069 (__nss_lookup_function): Conditionalize label remove_from_tree on
27070 [!DO_STATIC_NSS || SHARED], matching its only use.
27072 2012-09-28 David S. Miller <davem@davemloft.net>
27074 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27075 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27077 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27079 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27081 when HWCAP_SPARC_CRYPTO is present.
27083 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27085 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27087 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27090 * stdio-common/vfprintf.c (process_string_arg): Revert
27093 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27095 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27097 * stdio-common/tst-sprintf.c: Include <locale.h>
27098 (main): Test sprintf's handling of incomplete multibyte
27101 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27103 * elf/dl-runtime.c (VERSYMIDX): Removed.
27104 * elf/dl-version.c (VERSYMIDX): Likewise.
27105 * elf/do-rel.h (VERSYMIDX): Likewise.
27106 (VALIDX): Likewise.
27107 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27108 * elf/rtld.c (VALIDX): Likewise.
27109 (ADDRIDX): Likewise.
27110 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27111 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27112 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27113 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27114 (VALIDX): Likewise.
27115 (ADDRIDX): Likewise.
27117 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27119 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27121 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27124 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27126 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27127 addresses are in the same scope as 192.0.2/24.
27128 * posix/gai.conf: Document new scope table defaults.
27130 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27133 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27134 for ftell. Compute offsets from write pointers instead.
27135 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27137 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27140 * libio/Makefile (tests): New test case tst-fseek.
27141 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27142 combination works in wide mode.
27143 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27144 state when the external buffer state changes.
27146 2012-09-27 David S. Miller <davem@davemloft.net>
27149 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27150 pass reloc->r_addend in as the 'high' argument to
27151 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27155 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27157 * rt/tst-aio2.c: Include <pthread.h>.
27158 * rt/tst-aio3.c: Likewise.
27160 2012-09-27 Steve Ellcey <sellcey@mips.com>
27162 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27164 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27166 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27167 contents on [SHARED].
27169 2012-09-26 Marek Polacek <polacek@redhat.com>
27173 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27174 for C++ and GCC <4.3 as well as for non GCC compilers.
27176 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27180 2012-09-25 Roland McGrath <roland@hack.frob.com>
27182 * Makefile.in (all, install): Declare with .PHONY.
27183 Reported by Michael Hope <michael.hope@linaro.org>.
27185 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27187 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27188 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27190 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27192 (sydep_routines): Add the new and the internal functions.
27193 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27194 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27196 (GLIBC_2.17): Add the new function.
27197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27198 (GLIBC_2.17): Likewise.
27199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27200 (GLIBC_2.17): Likewise.
27201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27202 (GLIBC_2.17): Likewise.
27203 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27205 2012-09-25 Alan Modra <amodra@gmail.com>
27207 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27208 Add release barrier before setting once_control to say
27209 initialisation is done. Add hints on lwarx. Use macro in
27211 (clear_once_control): Add release barrier.
27213 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27216 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27218 * math/s_clog10.c (__clog10): Likewise.
27219 * math/s_clog10f.c (__clog10f): Likewise.
27220 * math/s_clog10l.c (__clog10l): Likewise.
27221 * math/s_clogf.c (__clogf): Likewise.
27222 * math/s_clogl.c (__clogl): Likewise.
27223 * math/Makefile (libm-calls): Add x2y2m1.
27224 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27225 (__x2y2m1): Likewise.
27226 (__x2y2m1l): Likewise.
27227 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27228 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27229 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27230 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27231 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27232 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27233 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27234 * sysdeps/i386/fpu/libm-test-ulps: Update.
27235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27238 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27239 int as type of variable DEPTH.
27240 (glob): Use size_t instead of int as type of variables NEWCOUNT
27243 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27245 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27246 Add s_sincosf-sse2.
27247 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27248 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27249 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27250 macros for using routine as __sincosf_ia32.
27251 Use macro for function declaration and weak_alias.
27252 * sysdeps/i386/fpu/libm-test-ulps: Update.
27254 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27257 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27258 subnormal argument.
27259 * math/s_cexpf.c (__cexpf): Likewise.
27260 * math/s_csinf.c (__csinf): Likewise.
27261 * math/s_csinhf.c (__csinhf): Likewise.
27262 * math/s_ctanf.c (__ctanf): Likewise.
27263 * math/s_ctanhf.c (__ctanhf): Likewise.
27264 * math/s_ccosh.c (__ccoshf): Likewise.
27265 * math/s_cexp.c (__cexpl): Likewise.
27266 * math/s_csin.c (__csin): Likewise.
27267 * math/s_csinh.c (__csinh): Likewise.
27268 * math/s_ctan.c (__ctan): Likewise.
27269 * math/s_ctanh.c (ctanh): Likewise.
27270 * math/s_ccoshl.c (__ccoshl): Likewise.
27271 * math/s_cexpl.c (__cexpl): Likewise.
27272 * math/s_csinl.c (__csinl): Likewise.
27273 * math/s_csinhl.c (__csinhl): Likewise.
27274 * math/s_ctanl.c (__ctanl): Likewise.
27275 * math/s_ctanhl.c (__ctanhl): Likewise.
27277 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27279 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27280 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27281 (_IO_off_t): Define to __off_t, not _G_off_t.
27282 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27283 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27284 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27285 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27286 type of __dummy and __dummy2 fields.
27287 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27288 (_G_ssize_t): Likewise.
27289 (_G_off_t): Likewise.
27290 (_G_pid_t): Likewise.
27291 (_G_uid_t): Likewise.
27292 (_G_wchar_t): Likewise.
27293 (_G_wint_t): Likewise.
27294 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27295 (_G_ssize_t): Likewise.
27296 (_G_off_t): Likewise.
27297 (_G_pid_t): Likewise.
27298 (_G_uid_t): Likewise.
27299 (_G_wchar_t): Likewise.
27300 (_G_wint_t): Likewise.
27301 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27302 (_G_ssize_t): Likewise.
27303 (_G_off_t): Likewise.
27304 (_G_pid_t): Likewise.
27305 (_G_uid_t): Likewise.
27306 (_G_wchar_t): Likewise.
27307 (_G_wint_t): Likewise.
27309 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27311 * malloc/arena.c: Include malloc-sysdep.h.
27312 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27313 is sufficient to shrink the heap or an unmap is needed.
27314 * sysdeps/generic/malloc-sysdep.h: New file. Define
27315 new function check_may_shrink_heap.
27316 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27317 new function check_may_shrink_heap.
27319 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27321 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27324 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27326 * catgets/test-gencat.sh: Add "set -e".
27327 * elf/tst-pathopt.sh: Likewise.
27328 * grp/tst_fgetgrent.sh: Likewise.
27329 * iconvdata/run-iconv-test.sh: Likewise.
27330 * intl/tst-gettext.sh: Likewise.
27331 * intl/tst-gettext2.sh: Likewise.
27332 * intl/tst-gettext4.sh: Likewise.
27333 * intl/tst-gettext6.sh: Likewise.
27334 * intl/tst-translit.sh: Likewise.
27335 * io/ftwtest-sh: Likewise.
27336 * libio/test-freopen.sh: Likewise.
27337 * malloc/tst-mtrace.sh: Likewise.
27338 * posix/globtest.sh: Likewise.
27339 * posix/tst-getconf.sh: Likewise.
27340 * posix/wordexp-tst.sh: Likewise.
27341 * stdio-common/tst-printf.sh: Likewise.
27342 * stdio-common/tst-unbputc.sh: Likewise.
27343 * stdlib/tst-fmtmsg.sh: Likewise.
27344 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27345 * catgets/Makefile: Do not specify -e option when running
27346 testsuite shell scripts.
27347 * elf/Makefile: Likewise.
27348 * grp/Makefile: Likewise.
27349 * iconvdata/Makefile: Likewise.
27350 * intl/Makefile: Likewise.
27351 * io/Makefile: Likewise.
27352 * libio/Makefile: Likewise.
27353 * malloc/Makefile: Likewise.
27354 * posix/Makefile: Likewise.
27355 * stdio-common/Makefile: Likewise.
27356 * stdlib/Makefile: Likewise.
27357 * sysdeps/x86_64/Makefile: Likewise.
27359 * io/ftwtest-sh: Add copyright header.
27360 * posix/globtest.sh: Likewise.
27361 * posix/tst-getconf.sh: Likewise.
27362 * posix/wordexp-tst.sh: Likewise.
27363 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27365 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27368 * Makeconfig (+link): Defined as $(+link-static) if
27369 $(build-shared) isn't yes.
27370 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27372 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27374 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27377 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27378 new chunk size with MALLOC_ALIGN_MASK.
27380 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27383 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27385 (__printf_fphex): Determine rounding using get_rounding_mode and
27387 * stdio-common/tst-printf-round.c (struct hex_test): New
27389 (hex_tests): New variable.
27390 (test_hex_in_one_mode): New function.
27391 (do_test): Also run tests for hex float output.
27393 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27395 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27396 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27397 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27398 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27399 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27400 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27401 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27402 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27404 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27406 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27407 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27408 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27409 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27411 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27414 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27416 * elf/tst-rtld-load-self.sh: New test.
27417 * elf/Makefile: Run it.
27419 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27421 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27422 (tst-writev-ENV): Remove.
27423 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27425 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27427 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27429 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27431 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27433 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27435 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27436 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27437 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27440 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27443 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27444 * config.make.in (have-cpp-asm-debuginfo): Removed.
27445 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27446 * configure: Regenerated.
27448 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27451 * stdio-common/printf_fp.c: Include <stdbool.h> and
27453 (___printf_fp): Determine rounding using get_rounding_mode and
27455 * stdio-common/tst-printf-round.c: New file.
27456 * stdio-common/Makefile (tests): Add tst-printf-round.
27457 (link-libm): New variable.
27458 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27460 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27463 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27464 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27466 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27469 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27471 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27472 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27473 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27474 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27476 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27479 * include/rounding-mode.h: New file.
27480 * sysdeps/generic/get-rounding-mode.h: Likewise.
27481 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27482 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27483 (MAX_VALUE): New macro.
27484 (MIN_VALUE): Likewise.
27485 (overflow_value): New function.
27486 (underflow_value): Likewise.
27487 (round_and_return): Use overflow_value and underflow_value to
27488 determine return values in overflow and underflow cases. Use
27489 round_away to determine rounding depending on rounding mode.
27490 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27491 determine return values in overflow and underflow cases.
27492 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27493 (struct test_results): New structure.
27494 (struct test): Use struct test_results to store expected results
27495 for all rounding modes.
27496 (TEST): Include expected results for all rounding modes.
27497 (test_in_one_mode): New function.
27498 (do_test): Use test_in_one_mode to compute and check results.
27499 Check results for all rounding modes.
27500 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27503 2012-12-09 Allan McRae <allan@archlinux.org>
27505 * sysdeps/i386/fpu/libm-test-ulps: Update
27507 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27509 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27510 (_G_int32_t): Likewise.
27511 (_G_uint16_t): Likewise.
27512 (_G_uint32_t): Likewise.
27513 (_G_HAVE_BOOL): Likewise.
27514 (_G_HAVE_ATEXIT): Likewise.
27515 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27516 (_G_HAVE_IO_FILE_OPEN): Likewise.
27517 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27518 (_G_int32_t): Likewise.
27519 (_G_uint16_t): Likewise.
27520 (_G_uint32_t): Likewise.
27521 (_G_HAVE_BOOL): Likewise.
27522 (_G_HAVE_ATEXIT): Likewise.
27523 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27524 (_G_HAVE_IO_FILE_OPEN): Likewise.
27525 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27526 (_G_int32_t): Likewise.
27527 (_G_uint16_t): Likewise.
27528 (_G_uint32_t): Likewise.
27529 (_G_HAVE_BOOL): Likewise.
27530 (_G_HAVE_ATEXIT): Likewise.
27531 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27532 (_G_HAVE_IO_FILE_OPEN): Likewise.
27534 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27536 * csu/libc-tls.c: Update copyright years.
27538 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27540 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27541 [!_G_USING_THUNKS]: Remove conditional code.
27542 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27543 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27545 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27546 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27547 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27548 (_G_VTABLE_LABEL_PREFIX): Likewise.
27549 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27550 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27551 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27552 (_G_VTABLE_LABEL_PREFIX): Likewise.
27553 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27554 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27555 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27556 (_G_VTABLE_LABEL_PREFIX): Likewise.
27557 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27559 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27561 * libio/Makefile: Include ../Makeconfig before tests.
27562 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27563 only if $(build-shared) is yes.
27565 * iconv/gconv_db.c: Update copyright years.
27567 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27569 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27570 unwind info if defined PIC. Fix special cases description.
27571 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27573 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27575 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27577 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27579 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27581 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27584 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27585 (LDLIBS-tst-chk4): This.
27586 (LDFLAGS-tst-chk5): Renamed to ...
27587 (LDLIBS-tst-chk5): This.
27588 (LDFLAGS-tst-chk6): Renamed to ...
27589 (LDLIBS-tst-chk6): This.
27590 (LDFLAGS-tst-lfschk4): Renamed to ...
27591 (LDLIBS-tst-lfschk4): This.
27592 (LDFLAGS-tst-lfschk5): Renamed to ...
27593 (LDLIBS-tst-lfschk5): This.
27594 (LDFLAGS-tst-lfschk6): Renamed to ...
27595 (LDLIBS-tst-lfschk6): This.
27597 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27598 on $(common-objpfx)soversions.mk.
27600 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27603 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27606 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27608 * malloc/arena.c (arena_get_retry): New function that gets
27609 another arena for the caller to try its request on.
27610 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27611 current arena cannot fulfill the request.
27612 (__libc_memalign): Likewise.
27613 (__libc_memalign): Likewise.
27614 (__libc_pvalloc): Likewise.
27615 (__libc_calloc): Likewise.
27617 2012-09-05 John Tobey <john.tobey@gmail.com>
27620 * manual/arith.texi (Operations on Complex): Fix description
27621 of carg branch cut.
27623 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27626 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27630 * manual/memory.texi (Memory): Make order of menu items match
27633 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27635 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27636 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27637 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27639 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27641 * csu/libc-tls.c (static_dtv): Renamed to ...
27642 (_dl_static_dtv): This. Make it global.
27643 (_dl_initial_dtv): Removed.
27644 (__libc_setup_tls): Updated.
27645 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27646 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27649 2012-09-06 Petr Machata <pmachata@redhat.com>
27651 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27652 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27653 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27654 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27656 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27659 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27660 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27663 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27666 * Makeconfig (link-static-before-libc): Replace $(+prector)
27668 (link-static-after-libc): Replace $(+postctor) with
27670 (link-bounded): Replace $(+prector)/$(+postctor) with
27671 $(+prectorT)/$(+postctorT).
27672 (+prectorT): New macro.
27673 (+postctorT): Likewise.
27675 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27677 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27678 (round_str): Handle values above the maximum for IBM long double
27680 * stdlib/tst-strtod-round.c (tests): Regenerated.
27682 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27684 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27686 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27687 zarch_nohighgprs around the zarch optimized routines.
27688 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27689 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27690 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27693 2012-09-05 David S. Miller <davem@davemloft.net>
27695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27697 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27698 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27699 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27700 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27703 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27705 * malloc/arena.c: Fold copyright years.
27706 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27708 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27710 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27712 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27714 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27716 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27718 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27719 change internal state upon failure.
27721 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27723 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27724 * malloc/memusage.c (mmap): Likewise.
27725 (mmap64, mremap): Likewise. Adjust name in comment.
27727 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27729 * libio/fileops.c: Fix typos in comments.
27730 * libio/oldfileops.c: Likewise.
27731 * libio/wfileops.c: Likewise.
27733 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27736 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27737 (tst-malloc-usable-ENV): Set environment for test case.
27738 * malloc/hooks.c (malloc_check_get_size): New function to get
27740 * malloc/malloc.c (musable): Use malloc_check_get_size.
27741 * malloc/tst-malloc-usable.c: New test case.
27743 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27745 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27747 2012-09-05 Allan McRae <allan@archlinux.org>
27750 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27751 determine header location.
27752 * configure: Regenerated.
27754 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27756 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27758 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27759 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27761 (test): Regenerate.
27763 2012-09-04 David S. Miller <davem@davemloft.net>
27765 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27766 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27767 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27769 2012-09-04 Florian Weimer <fweimer@redhat.com>
27771 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27774 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27776 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27779 * libio/iogetdelim.c: Include <limits.h>.
27780 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27781 + len + 1 would overflow.
27783 2012-09-03 Andreas Jaeger <aj@suse.de>
27785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27786 * sysdeps/i386/fpu/libm-test-ulps: Update.
27788 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27790 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27791 Add s_sinf-sse2, s_conf-sse2.
27793 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27794 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27795 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27796 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27798 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27799 for using routine as __sinf_ia32.
27800 Use macro for function declaration and weak_alias.
27801 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27802 for using routine as __cosf_ia32.
27803 Use macro for function declaration and weak_alias.
27805 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27806 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27808 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27809 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27812 * math/libm-test.inc (cos_test): Add more test cases.
27813 (sin_test): Likewise.
27814 (sincos_test): Likewise.
27816 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27818 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27819 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27821 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27823 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27826 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27827 first element of the GOT.
27828 (elf_machine_load_address): Return the difference between
27829 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27831 2012-09-01 Allan McRae <allan@archlinux.org>
27834 * configure.in (AWK): Require gawk version 3.0 or later.
27835 * configure: Regenerated.
27837 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27839 * sysdeps/unix/sysv/linux/kernel-features.h
27840 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27841 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27842 [__NR_clock_getres]: Make code unconditional.
27843 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27844 (clock_getcpuclockid): Remove code left unreachable by removal of
27846 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27847 code unconditional.
27848 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27849 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27850 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27851 Make code unconditional.
27852 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27853 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27854 * sysdeps/unix/sysv/linux/clock_settime.c
27855 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27857 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27858 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27860 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27863 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27864 scripts/test-installation.pl.
27866 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27867 and $ld_so_version if it is set.
27869 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27872 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27873 failure if reading from procfs failed.
27874 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27876 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27878 * sysdeps/unix/sysv/linux/kernel-features.h
27879 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27880 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27881 Remove conditional code.
27882 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27883 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27884 Remove conditional code.
27885 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27886 * sysdeps/unix/sysv/linux/i386/fxstat.c
27887 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27888 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27889 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27890 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27891 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27892 * sysdeps/unix/sysv/linux/i386/lxstat.c
27893 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27894 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27895 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27896 Remove conditional code.
27897 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27898 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27899 Remove conditional code.
27900 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27901 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27902 <kernel-features.h>.
27903 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27905 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27906 Remove conditional code.
27907 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27908 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27909 Remove conditional.
27911 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27914 * NEWS: Add fixed bug number.
27916 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27919 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27920 underflowing exponent in case of negative sign.
27921 * stdlib/tst-strtod-round-data: Add more tests.
27922 * stdlib/tst-strtod-round.c (tests): Regenerated.
27925 * stdlib/strtod_l.c (NDIG): Remove.
27926 (HEXNDIG): Likewise.
27927 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27928 smallest representable value.
27929 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27930 lie within an exact representation of 1/2 ulp of the result.
27931 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27933 (TENS_P9_IDX): Define unconditionally.
27934 (TENS_P9_SIZE): Likewise.
27935 (TENS_P10_IDX): Likewise.
27936 (TENS_P10_SIZE): Likewise.
27937 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27938 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27939 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27940 entries for 10^2^13 and 10^2^14.
27941 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27942 (TENS_P13_IDX): Define.
27943 (TENS_P13_SIZE): Likewise.
27944 (TENS_P14_IDX): Likewise.
27945 (TENS_P14_SIZE): Likewise.
27946 (_fpioconst_pow10): Change array size to
27947 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27949 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27950 1024]: Add entries for 10^2^13 and 10^2^14.
27951 [LAST_POW10 > _LAST_POW10]: Remove #error.
27952 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27953 (_fpioconst_pow10): Change array size to
27954 FPIOCONST_POW10_ARRAY_SIZE.
27955 * stdlib/gen-fpioconst.c: New file.
27956 * stdlib/gen-tst-strtod-round.c: Likewise.
27957 * stdlib/tst-strtod-round-data: Likewise.
27958 * stdlib/tst-strtod-round.c: Likewise.
27959 * stdlib/Makefile (tests): Add tst-strtod-round.
27962 * stdlib/strtod_l.c: Include <stdint.h>.
27963 (NDEBUG): Do not define.
27964 (round_and_return): Change EXPONENT parameter to type intmax_t.
27965 Rearrange calculations to avoid internal overflow possibilities.
27966 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27967 Rearrange calculations to avoid internal overflow possibilities.
27968 Assert that number fits inside MPNSIZE limbs.
27969 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27970 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27971 calculations and add assertions to avoid internal overflow
27972 possibilities. Add casts to avoid signed/unsigned operations.
27973 * stdlib/tst-strtod-overflow.c: New file.
27974 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27976 2012-08-25 Marek Polacek <polacek@redhat.com>
27978 * time/time.h: Fix some typos in comments.
27980 2012-08-23 Roland McGrath <roland@hack.frob.com>
27982 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27983 * posix/tst-rfc3484-2.c: Likewise.
27984 * posix/tst-rfc3484-3.c: Likewise.
27986 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27988 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27989 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27991 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27993 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27994 #include of fxstatat64.c.
27996 2012-08-22 Roland McGrath <roland@hack.frob.com>
27998 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27999 * shadow/getspent_r.c: Likewise.
28000 * shadow/getspnam.c: Likewise.
28001 * shadow/getspnam_r.c: Likewise.
28002 * gshadow/getsgent.c: Likewise.
28003 * gshadow/getsgent_r.c: Likewise.
28004 * gshadow/getsgnam.c: Likewise.
28005 * gshadow/getsgnam_r.c: Likewise.
28006 * inet/getnetbyad.c: Likewise.
28007 * inet/getnetbyad_r.c: Likewise.
28008 * inet/getnetbynm.c: Likewise.
28009 * inet/getnetbynm_r.c: Likewise.
28010 * inet/getnetent.c: Likewise.
28011 * inet/getnetent_r.c: Likewise.
28012 * inet/getproto.c: Likewise.
28013 * inet/getproto_r.c: Likewise.
28014 * inet/getprtent.c: Likewise.
28015 * inet/getprtent_r.c: Likewise.
28016 * inet/getprtname.c: Likewise.
28017 * inet/getprtname_r.c: Likewise.
28018 * inet/getrpcbyname.c: Likewise.
28019 * inet/getrpcbyname_r.c: Likewise.
28020 * inet/getrpcbynumber.c: Likewise.
28021 * inet/getrpcbynumber_r.c: Likewise.
28022 * inet/getrpcent.c: Likewise.
28023 * inet/getrpcent_r.c: Likewise.
28024 * inet/getaliasent.c: Likewise.
28025 * inet/getaliasent_r.c: Likewise.
28026 * inet/getaliasname.c: Likewise.
28027 * inet/getaliasname_r.c: Likewise.
28028 * nscd/getgrgid_r.c: Likewise.
28029 * nscd/getgrnam_r.c: Likewise.
28030 * nscd/gethstbyad_r.c: Likewise.
28031 * nscd/gethstbynm3_r.c: Likewise.
28032 * nscd/getpwnam_r.c: Likewise.
28033 * nscd/getpwuid_r.c: Likewise.
28034 * nscd/getsrvbynm_r.c: Likewise.
28035 * nscd/getsrvbypt_r.c: Likewise.
28036 * nscd/gai.c: Likewise.
28038 * configure.in (build_nscd): New substituted variable, set
28039 by --disable-build-nscd and defaults to $use_nscd.
28040 * configure: Regenerated.
28041 * config.make.in (build-nscd): New substituted variable.
28042 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28043 Change conditional to require [$(build-nscd) = yes] as well.
28044 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28047 * configure.in (use_nscd): New substituted variable, set by
28048 --disable-nscd. If enabled, define USE_NSCD.
28049 * configure: Regenerated.
28050 * config.h.in: Add USE_NSCD.
28051 * config.make.in (use-nscd): New substituted variable.
28052 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28053 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28054 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28055 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28056 (CFLAGS-getgrnam_r.c): Likewise.
28057 (CFLAGS-initgroups.c): Likewise.
28058 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28059 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28061 * inet/getnetgrent_r.c
28062 (nscd_setnetgrent): New function, broken out of ...
28063 (setnetgrent): ... here. Call it.
28064 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28065 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28066 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28067 * nscd/Makefile (routines, aux): Move definitions after include of
28068 Makeconfig. Conditionalize on [$(use-nscd) != no].
28069 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28070 Conditionalize on [USE_NSCD].
28071 (is_nscd, nscd_init_cb): Likewise.
28072 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28073 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28074 * nss/nss_db/db-init.c: Likewise.
28075 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28077 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28078 (make_request): Use it.
28079 (cache_valid_p): New function.
28080 (__check_pf): Use it.
28081 * NEWS: Add item for --disable-nscd.
28083 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28085 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28086 to support sed >= 4.2.1-20-ga9bf076.
28087 * configure: Regenerated.
28089 2012-08-22 Roland McGrath <roland@hack.frob.com>
28091 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28092 Conditionalize whole body on [IREL].
28094 2012-08-22 Jeff Law <law@redhat.com>
28097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28098 if the family is PF_UNSPEC.
28100 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28102 * Makerules (lib-version): Rename from V.
28103 (install-lib-nosubdir): Change V to lib-version.
28105 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28108 * powerpc32/power6/wcschr.c: New file.
28109 * powerpc32/power6/wcscpy.c: New file.
28110 * powerpc32/power6/wcsrchr.c: New file.
28111 * powerpc64/power6/wcschr.c: New file.
28112 * powerpc64/power6/wcscpy.c: New file.
28113 * powerpc64/power6/wcsrchr.c: New file.
28115 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28117 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28118 (two_way_short_needle): Use it.
28119 * string/strstr.c (AVAILABLE1_USES_J): Define.
28120 * string/strcasestr.c: Likewise.
28122 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28124 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28127 * NEWS: Add an entry.
28128 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28129 define their defaults.
28130 (two_way_short_needle): Detect end-of-string on-the-fly.
28131 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28132 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28133 * string/bug-strcasestr1.c: New test.
28134 * string/Makefile: Run it.
28136 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28139 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28140 the first character.
28142 2012-08-21 Roland McGrath <roland@hack.frob.com>
28144 * csu/elf-init.c (__libc_csu_irel): Function removed.
28145 * csu/libc-start.c (apply_irel): New function.
28146 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28148 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28150 * sysdeps/unix/sysv/linux/kernel-features.h
28151 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28152 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28153 <kernel-features.h>.
28154 [__NR_fadvise64_64]: Make code unconditional.
28155 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28156 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28157 !__NR_fadvise64_64)]: Likewise.
28158 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28159 !__NR_fadvise64_64))]: Likewise.
28160 [__NR_fadvise64]: Make code unconditional.
28161 [!__NR_fadvise64]: Remove conditional code.
28162 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28163 <kernel-features.h>.
28164 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28166 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28169 not include <kernel-features.h>.
28170 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28172 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28174 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28175 include <kernel-features.h>.
28176 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28178 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28181 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28183 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28184 slight instruction rearrangements per scrollpipe analysis.
28185 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28187 2012-08-20 Roland McGrath <roland@hack.frob.com>
28189 * manual/syslog.texi (syslog; vsyslog, closelog):
28190 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28191 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28193 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28194 DSOCAPS to match condition on defining it.
28196 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28198 * sysdeps/unix/sysv/linux/kernel-features.h
28199 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28201 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28202 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28204 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28205 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28207 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28208 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28210 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28211 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28213 * sysdeps/unix/sysv/linux/kernel-features.h
28214 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28215 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28217 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28218 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28219 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28220 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28221 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28222 Make code unconditional.
28223 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28224 (__mmap64) [!__NR_mmap2]: Likewise.
28225 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28226 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28227 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28228 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28229 [__NR_mmap2]: Make code unconditional.
28230 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28231 (__mmap64) [!__NR_mmap2]: Likewise.
28233 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28235 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28237 2012-08-18 Andreas Jaeger <aj@suse.de>
28239 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28241 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28243 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28244 * include/unistd.h (__have_sock_cloexec): Likewise.
28245 (__have_pipe2): Likewise.
28246 (__have_dup3): Likewise.
28248 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28251 * include/unistd.h (__have_pipe2): Change define into an extern int.
28252 (__have_dup3): Likewise.
28253 * socket/have_sock_cloexec.c: Include fcntl.h.
28254 (__have_pipe2): New variable.
28255 (__have_dup3): Likewise.
28257 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28259 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28261 2012-08-17 Marek Polacek <polacek@redhat.com>
28263 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28264 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28266 2012-08-17 Roland McGrath <roland@hack.frob.com>
28268 * configure.in: Add AC_SUBST for sysheaders.
28269 * configure: Regenerated.
28270 * config.make.in (sysheaders): New substituted variable.
28272 * sysdeps/unix/mkfifo.c: Moved ...
28273 * sysdeps/posix/mkfifo.c: ... here.
28274 * sysdeps/unix/mkfifoat.c: Moved ...
28275 * sysdeps/posix/mkfifoat.c: ... here.
28277 * sysdeps/unix/utime.c: Moved ...
28278 * sysdeps/posix/utime.c: ... here.
28280 * sysdeps/unix/time.c: Moved ...
28281 * sysdeps/posix/time.c: ... here.
28282 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28283 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28285 * sysdeps/unix/nice.c: Moved ...
28286 * sysdeps/posix/nice.c: ... here.
28288 * sysdeps/unix/alarm.c: Moved ...
28289 * sysdeps/posix/alarm.c: ... here.
28291 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28293 2012-08-17 Jeff Law <law@redhat.com>
28295 * intl/Makefile (codeset_mo): New variable.
28296 ($(codeset_mo)): New target.
28297 (tst-codeset.out): Depend on that. Remove explicit rule.
28298 (tst-gettext3.out, tst-gettext5.out): Likewise.
28299 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28300 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28301 * intl/tst-codeset.sh: Remove.
28302 * intl/tst-gettext3.sh: Likewise.
28303 * intl/tst-gettext5.sh: Likewise.
28305 2012-08-17 Roland McGrath <roland@hack.frob.com>
28307 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28308 * sysdeps/unix/syscalls.list: ... here.
28310 * sysdeps/posix/getaddrinfo.c
28311 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28312 (gaiconf_init, gaiconf_reload): Use them.
28313 [!_STATBUF_ST_NSEC]
28314 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28315 Define using time_t rather than struct timespec.
28317 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28318 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28320 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28322 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28323 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28326 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28327 __libc_cleanup_push argument.
28329 * bits/param.h: New file.
28330 * misc/sys/param.h: New file.
28331 * include/sys/param.h: New file.
28332 * misc/Makefile (headers): Add bits/param.h.
28333 * sysdeps/generic/sys/param.h: File removed.
28334 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28335 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28336 * sysdeps/mach/hurd/bits/param.h: New file.
28337 * sysdeps/mach/hurd/sys/param.h: File removed.
28339 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28342 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28344 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28345 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28348 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28349 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28350 rather than -D_IO_MTSAFE_IO conditionally.
28351 * stdio-common/Makefile (CPPFLAGS): Likewise.
28352 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28353 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28354 Use $(libio-mtsafe).
28355 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28356 of -D_IO_MTSAFE_IO.
28357 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28358 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28359 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28360 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28361 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28362 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28363 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28364 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28365 (CFLAGS-fread_u_chk.c): Likewise.
28366 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28367 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28368 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28369 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28370 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28371 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28372 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28373 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28374 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28376 * libio/Makefile: Test [$(libc-reentrant) = yes]
28377 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28380 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28381 * sysdeps/pthread/configure: File removed.
28382 * sysdeps/pthread/Makeconfig: New file.
28383 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28384 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28386 2012-08-16 Gary Benson <gbenson@redhat.com>
28388 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28389 unmapping the first object in a namespace.
28391 2012-08-16 Roland McGrath <roland@hack.frob.com>
28393 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28394 (__internal_setnetgrent): ... this. Add internal_function to
28395 definition. Add libc_hidden_def.
28396 (setnetgrent): Update caller.
28397 (internal_endnetgrent): Renamed to ...
28398 (__internal_endnetgrent): ... this. Add internal_function to
28399 definition. Add libc_hidden_def.
28400 (endnetgrent): Update caller.
28401 (internal_getnetgrent_r): Renamed to ...
28402 (__internal_getnetgrent_r): ... this. Add internal_function to
28403 definition. Add libc_hidden_def.
28404 (__getnetgrent_r): Update caller.
28405 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28407 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28409 * stdlib/longlong.h: Update from GCC.
28411 2012-08-16 Roland McGrath <roland@hack.frob.com>
28413 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28414 on _QL, which is set by umul_ppmm but never used.
28415 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28416 variables, which are set by GMP macros but never used.
28417 * stdio-common/_itowa.c (_itowa): Likewise.
28418 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28419 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28421 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28423 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28424 struct La_sh_regs is not constant.
28425 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28426 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28427 and struct La_sparc64_regs are not constant.
28429 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28431 * sysdeps/unix/sysv/linux/kernel-features.h
28432 (__ASSUME_POSIX_TIMERS): Remove.
28433 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28434 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28435 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28436 Make code unconditional.
28437 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28438 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28439 Make code unconditional.
28440 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28441 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28442 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28443 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28444 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28445 Make code unconditional.
28446 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28447 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28448 (__libc_missing_posix_timers): Remove.
28450 2012-08-15 Roland McGrath <roland@hack.frob.com>
28452 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28453 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28455 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28457 * elf/dl-sym.c: Include <stdlib.h>.
28459 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28460 constants, which avoids warnings in 32-bit builds.
28462 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28463 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28465 * misc/lseek.c: File moved to ...
28466 * io/lseek.c: ... here.
28468 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28470 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28471 shifting LEN more than 31 bits at once.
28473 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28476 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28477 segmentation fault for a case of two empty input strings.
28478 * string/test-strncasecmp.c (check1): Renamed to...
28479 (bz12205): ...this.
28480 (bz14195): Add new testcase for two empty input strings and N > 0.
28481 (test_main): Call new testcase, adapt for renamed function.
28483 2012-08-15 Andreas Jaeger <aj@suse.de>
28486 * crypt/md5test2.c: New test, based on test supplied by Serge
28487 Belyshev <belyshev@depni.sinp.msu.ru>.
28488 * crypt/Makefile (xtests): Add md5test-giant..
28489 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28491 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28494 * crypt/md5.c (md5_process_block): Don't assume the buffer
28495 length is less than 2**32.
28496 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28497 length is less than 2**64.
28499 2012-08-15 Roland McGrath <roland@hack.frob.com>
28501 * string/str-two-way.h: Include <sys/param.h>.
28502 (MAX): Macro removed.
28504 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28505 Move #define and #undef of memmove to just before and after
28506 including <string.h>.
28508 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28509 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28510 and after including <string.h>. Move declarations of
28511 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28512 to before #include "string/memmove.c".
28514 * include/dirent.h: Declare __getdirentries.
28516 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28517 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28519 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28521 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28522 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28523 * sysdeps/i386/configure: Regenerated.
28524 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28525 STABS_CURRENT_FILE, and STABS_FUN.
28526 (END): Remove call to STABS_FUN_END.
28527 (STABS_CURRENT_FILE1): Delete.
28528 (STABS_CURRENT_FILE): Likewise.
28529 (STABS_FUN): Likewise.
28530 (STABS_FUN_END): Likewise.
28531 (STABS_FUN2): Likewise.
28532 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28533 * sysdeps/x86_64/configure: Regenerated.
28535 2012-08-14 Roland McGrath <roland@hack.frob.com>
28537 * elf/dl-open.c: Include <atomic.h>.
28538 * elf/dl-lookup.c: Likewise.
28540 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28542 * sysdeps/unix/sysv/linux/kernel-features.h
28543 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28544 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28546 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28548 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28549 condition on __ASSUME_CLONE_THREAD_FLAGS.
28551 2012-08-14 Andreas Jaeger <aj@suse.de>
28553 * sysdeps/i386/fpu/libm-test-ulps: Update.
28555 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28557 * include/atomic.h (atomic_exchange_and_add): Split into ...
28558 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28561 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28565 2012-08-13 Jeff Law <law@redhat.com>
28567 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28568 null byte in the output string.
28570 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28572 * sysdeps/unix/sysv/linux/kernel-features.h
28573 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28574 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28575 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28576 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28577 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28578 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28579 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28581 2012-08-09 Jeff Law <law@redhat.com>
28584 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28585 When avoid_arena is set, don't retry in the that arena. Pick the
28586 next one, whatever it might be.
28587 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28588 (arena_lock): Pass in new parameter to arena_get2.
28589 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28591 (__libc_malloc): Unify retrying after main arena failure with
28592 __libc_memalign version.
28593 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28595 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28598 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28599 to __redirect_strstr.
28600 (__strstr_sse42): Use typeof __redirect_strstr.
28601 (__strstr_ia32): Likewise.
28602 (__libc_strstr): New prototype.
28603 (strstr): Renamed to ...
28604 (__libc_strstr): This.
28605 (strstr): New strong alias of __libc_strstr.
28606 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28607 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28610 (__libc_time): New prototype.
28611 (time_ifunc): Replace time with __libc_time.
28612 (time): New strong alias and hidden definition of __libc_time.
28613 (__GI_time): Remove strong alias.
28614 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28615 Include <stddef.h>.
28616 (memmove): Redefined to __redirect_memmove.
28617 (__memmove_sse2): Use typeof __redirect_memmove.
28618 (__memmove_ssse3): Likewise.
28619 (__memmove_ssse3_back): Likewise.
28620 (__libc_memmove): New prototype.
28621 (memmove): Renamed to ...
28622 (__libc_memmove): This.
28623 (memmove): New strong alias of __libc_memmove.
28625 2012-08-08 Mark Salter <msalter@redhat.com>
28628 (R_MN10300_TLS_GD): Define.
28629 (R_MN10300_TLS_LD): Likewise.
28630 (R_MN10300_TLS_LDO): Likewise.
28631 (R_MN10300_TLS_GOTIE): Likewise.
28632 (R_MN10300_TLS_IE): Likewise.
28633 (R_MN10300_TLS_LE): Likewise.
28634 (R_MN10300_TLS_DTPMOD): Likewise.
28635 (R_MN10300_TLS_DTPOFF): Likewise.
28636 (R_MN10300_TLS_TPOFF): Likewise.
28637 (R_MN10300_SYM_DIFF): Likewise.
28638 (R_MN10300_ALIGN): Likewise.
28639 (R_MN10300_NUM): Update.
28641 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28643 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28646 2012-08-08 Roland McGrath <roland@hack.frob.com>
28648 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28650 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28651 sysdeps/unix -> sysdeps/posix move.
28652 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28654 2012-08-07 Allan McRae <allan@archlinux.org>
28657 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28658 (SUNOS_CPP): Likewise.
28659 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28661 (open_input): Call CPP using execvp.
28663 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28665 * sysdeps/unix/sysv/linux/kernel-features.h
28666 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28667 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28668 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28669 (__ASSUME_WAITID_SYSCALL): Likewise.
28670 * sysdeps/unix/sysv/linux/dl-execstack.c
28671 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28672 code unconditional.
28673 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28675 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28676 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28677 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28679 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28681 [__ASSUME_WAITID_SYSCALL]: Likewise.
28682 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28684 2012-08-07 Roland McGrath <roland@hack.frob.com>
28686 * sysdeps/unix/closedir.c: Renamed to ...
28687 * sysdeps/posix/closedir.c: ... here.
28688 * sysdeps/unix/dirfd.c: Renamed to ...
28689 * sysdeps/posix/dirfd.c: ... here.
28690 * sysdeps/unix/dirstream.h: Renamed to ...
28691 * sysdeps/posix/dirstream.h: ... here.
28692 * sysdeps/unix/fdopendir.c: Renamed to ...
28693 * sysdeps/posix/fdopendir.c: ... here.
28694 * sysdeps/unix/opendir.c: Renamed to ...
28695 * sysdeps/posix/opendir.c: ... here.
28696 * sysdeps/unix/readdir.c: Renamed to ...
28697 * sysdeps/posix/readdir.c: ... here.
28698 * sysdeps/unix/readdir_r.c: Renamed to ...
28699 * sysdeps/posix/readdir_r.c: ... here.
28700 * sysdeps/unix/rewinddir.c: Renamed to ...
28701 * sysdeps/posix/rewinddir.c: ... here.
28702 * sysdeps/unix/seekdir.c: Renamed to ...
28703 * sysdeps/posix/seekdir.c: ... here.
28704 * sysdeps/unix/telldir.c: Renamed to ...
28705 * sysdeps/posix/telldir.c: ... here.
28706 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28707 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28708 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28709 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28711 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28712 * bits/fcntl.h: ... here.
28714 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28716 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28717 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28718 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28719 (struct flock): Move l_start, l_len to the beginning.
28720 Use __pid_t for l_pid.
28721 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28722 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28723 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28724 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28725 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28726 [__USE_LARGEFILE64] (struct flock64): New type.
28727 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28729 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28730 * bits/dirent.h: ... here.
28732 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28733 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28735 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28737 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28738 Change from 2.6.0 to 2.6.16.
28739 * sysdeps/unix/sysv/linux/configure: Regenerated.
28740 * sysdeps/unix/sysv/linux/kernel-features.h
28741 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28742 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28744 (__ASSUME_UTIMES): Likewise.
28745 (__ASSUME_CLONE_STOPPED): Remove.
28746 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28747 architectures, not kernel version.
28748 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28749 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28750 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28751 (__ASSUME_WAITID_SYSCALL): Likewise.
28752 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28753 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28754 * README: State 2.6.16 as minimum Linux kernel version. Do not
28755 refer to older versions.
28757 2012-08-06 Roland McGrath <roland@hack.frob.com>
28759 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28760 Define alphasort64 as an alias.
28761 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28762 Define versionsort64 as an alias.
28763 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28764 Define scandir64 as an alias.
28765 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28766 Define scandirat64 as an alias.
28767 * dirent/alphasort64.c (alphasort64):
28768 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28769 * dirent/versionsort64.c: Likewise.
28770 * dirent/scandir64.c: Likewise.
28771 * dirent/scandirat64.c: Likewise.
28772 * sysdeps/wordsize-64/alphasort.c: File removed.
28773 * sysdeps/wordsize-64/alphasort64.c: File removed.
28774 * sysdeps/wordsize-64/scandir.c: File removed.
28775 * sysdeps/wordsize-64/scandir64.c: File removed.
28776 * sysdeps/wordsize-64/scandirat.c: File removed.
28777 * sysdeps/wordsize-64/scandirat64.c: File removed.
28778 * sysdeps/wordsize-64/versionsort.c: File removed.
28779 * sysdeps/wordsize-64/versionsort64.c: File removed.
28780 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28781 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28782 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28783 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28784 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28785 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28786 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28787 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28789 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28790 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28791 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28792 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28793 [defined __arch64__ || defined __sparcv9]
28794 (__INO_T_MATCHES_INO64_T): New macro.
28795 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28796 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28797 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28798 * sysdeps/unix/sysv/linux/bits/dirent.h
28799 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28800 (_DIRENT_MATCHES_DIRENT64): New macro.
28802 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28803 Define lockf64 as an alias.
28804 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28805 Define fseeko64 as an alias.
28806 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28807 Define ftello64 as an alias.
28808 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28809 Define _IO_fgetpos64 and fgetpos64 as aliases.
28810 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28811 Define _IO_fsetpos64 and fsetpos64 as aliases.
28812 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28813 Conditionalize body on this.
28814 * libio/fseeko64.c: Likewise.
28815 * libio/ftello64.c: Likewise.
28816 * libio/iofgetpos64.c: Likewise.
28817 * libio/iofsetpos64.c: Likewise.
28818 * sysdeps/wordsize-64/lockf.c: File removed.
28819 * sysdeps/wordsize-64/lockf64.c: File removed.
28820 * sysdeps/wordsize-64/fseeko.c: File removed.
28821 * sysdeps/wordsize-64/fseeko64.c: File removed.
28822 * sysdeps/wordsize-64/ftello.c: File removed.
28823 * sysdeps/wordsize-64/ftello64.c: File removed.
28824 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28825 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28826 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28827 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28828 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28829 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28830 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28831 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28832 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28833 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28834 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28835 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28836 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28837 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28839 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28840 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28841 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28842 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28843 [defined __arch64__ || defined __sparcv9]
28844 (__OFF_T_MATCHES_OFF64_T): New macro.
28845 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28846 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28847 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28848 (__OFF_T_MATCHES_OFF64_T): New macro.
28850 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28852 * stdlib/secure-getenv.c (__secure_getenv): Replace
28853 GLIBC_2_16 with GLIBC_2_17.
28855 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28857 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28858 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28860 2012-08-03 David S. Miller <davem@davemloft.net>
28862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28864 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28866 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28868 (__ASSUME_CORRECT_SI_PID): Likewise.
28869 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28870 (__ASSUME_TMPFS_NAME): Likewise.
28871 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28872 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28873 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28874 (HAVE_AUX_SECURE): Make definition unconditional.
28875 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28876 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28878 2012-08-03 Roland McGrath <roland@hack.frob.com>
28880 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28881 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28882 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28883 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28884 __eloop_threshold instead of SYMLOOP_MAX.
28886 * sysdeps/generic/eloop-threshold.h: New file.
28887 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28889 * elf/chroot_canon.c (chroot_canon): Likewise.
28891 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28894 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28895 Change to 2.6.0 everywhere.
28896 * sysdeps/unix/sysv/linux/configure: Regenerated.
28897 * sysdeps/unix/sysv/linux/kernel-features.h
28898 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28899 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28901 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28902 (__ASSUME_FUTEX_REQUEUE): Remove.
28903 (__ASSUME_STATFS64): Define unconditionally.
28904 (__ASSUME_AT_SECURE): Likewise.
28905 (__ASSUME_CORRECT_SI_PID): Likewise.
28906 (__ASSUME_TGKILL): Define without depending on kernel version for
28908 (__ASSUME_UTIMES): Likewise.
28909 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28911 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28912 (__ASSUME_TMPFS_NAME): Likewise.
28913 * README: Update reference to Linux kernel versions.
28915 2012-08-02 Marek Polacek <polacek@redhat.com>
28918 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28919 libc_cv_asm_type_prefix with %.
28920 * configure: Regenerated.
28921 * include/libc-symbols.h: Remove comment about
28922 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28923 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28924 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28925 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28926 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28927 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28928 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28929 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28930 * elf/tst-unique2mod1.c: Likewise.
28931 * elf/tst-unique1mod2.c: Likewise.
28932 * elf/tst-unique1mod1.c: Likewise.
28933 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28934 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28935 Replace ASM_TYPE_DIRECTIVE with .type.
28936 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28937 * sysdeps/i386/sysdep.h: Likewise.
28938 * sysdeps/x86_64/sysdep.h: Likewise.
28939 * sysdeps/sh/sysdep.h: Likewise.
28940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28941 Do not define ASM_TYPE_DIRECTIVE.
28942 * sysdeps/powerpc/sysdep.h: Likewise.
28943 * sysdeps/powerpc/powerpc32/sysdep.h:
28944 Replace ASM_TYPE_DIRECTIVE with .type.
28945 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28946 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28947 * sysdeps/i386/fpu/e_powf.S: Likewise.
28948 * sysdeps/i386/fpu/e_expl.S: Likewise.
28949 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28950 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28951 * sysdeps/i386/fpu/e_pow.S: Likewise.
28952 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28953 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28954 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28955 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28956 * sysdeps/i386/fpu/e_log2.S: Likewise.
28957 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28958 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28959 * sysdeps/i386/fpu/e_powl.S: Likewise.
28960 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28961 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28962 * sysdeps/i386/fpu/e_logl.S: Likewise.
28963 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28964 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28965 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28966 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28967 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28968 * sysdeps/i386/fpu/e_log.S: Likewise.
28969 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28970 * sysdeps/i386/fpu/e_logf.S: Likewise.
28971 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28972 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28973 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28974 * sysdeps/i386/fpu/e_log10.S: Likewise.
28975 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28976 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28977 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28978 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28979 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28980 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28981 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28982 * sysdeps/i386/i686/strtok.S: Likewise.
28983 * sysdeps/i386/i386-mcount.S: Likewise.
28984 * sysdeps/i386/strtok.S: Likewise.
28985 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28986 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28987 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28988 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28989 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28990 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28991 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28992 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28993 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28994 * sysdeps/x86_64/_mcount.S: Likewise.
28995 * sysdeps/x86_64/strtok.S: Likewise.
28996 * sysdeps/sh/_mcount.S: Likewise.
28998 2012-08-01 Roland McGrath <roland@hack.frob.com>
29000 * libio/iofopen.c: Include <fcntl.h>.
29001 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29002 (_IO_fopen64, fopen64): Define as aliases.
29003 * libio/iofopen64.c: Include <fcntl.h>.
29004 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29005 Conditionalize body on this.
29006 * sysdeps/wordsize-64/iofopen.c: File removed.
29007 * sysdeps/wordsize-64/iofopen64.c: File removed.
29009 2012-08-01 Marek Polacek <polacek@redhat.com>
29011 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29012 Use dlfcn directly instead of a variable.
29013 (binfmt-subdir): Do not define.
29016 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29018 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29019 Remove all definitions.
29020 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29021 <kernel-features.h>.
29022 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29023 (miss_F_GETOWN_EX): Remove all definitions.
29024 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29026 [!__ASSUME_FCNTL64]: Remove conditional code.
29027 [__ASSUME_FCNTL64]: Make code unconditional.
29028 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29029 <kernel-features.h>.
29030 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29031 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29032 (lockf64) [__NR_fcntl64]: Make code unconditional.
29033 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29035 * sysdeps/unix/sysv/linux/kernel-features.h
29036 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29037 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29038 Make code unconditional.
29039 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29040 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29042 [__NR_vfork]: Make code unconditional.
29043 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29044 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29046 [__NR_vfork]: Make code unconditional.
29047 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29048 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29050 2012-08-01 Roland McGrath <roland@hack.frob.com>
29052 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29053 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29055 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29056 Define mkstemp64 as an alias.
29057 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29058 Define mkstemps64 as an alias.
29059 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29060 Define mkostemp64 as an alias.
29061 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29062 Define mkostemps64 as an alias.
29063 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29064 Conditionalize body on this.
29065 * misc/mkostemp64.c: Likewise.
29066 * misc/mkostemps64.c: Likewise.
29067 * misc/mkstemps64.c: Likewise.
29068 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29069 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29070 * sysdeps/wordsize-64/mkostemp.c: File removed.
29071 * sysdeps/wordsize-64/mkstemp.c: File removed.
29072 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29073 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29074 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29075 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29078 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29079 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29080 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29081 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29083 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29084 compat_symbol macros from <shlib-compat.h> rather than the underlying
29085 default_symbol_version and symbol_version macros, so that DEFAULT
29086 lines in shlib-versions are respected.
29087 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29089 2012-08-01 Florian Weimer <fweimer@redhat.com>
29091 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29092 Declare with warn_unused_result.
29093 (setgid, setregid, setegid, setresgid): Likewise.
29094 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29096 * WUR-REPORT: Remove set*id functions.
29098 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29100 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29102 2012-07-31 Roland McGrath <roland@hack.frob.com>
29105 * include/sys/socket.h (__libc_accept, __libc_accept4):
29106 Add attribute_hidden.
29107 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29109 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29111 * inet/getnetgrent_r.c (setup): Likewise.
29113 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29115 2012-07-31 David S. Miller <davem@davemloft.net>
29117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29119 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29122 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29123 value between 1.0 and 2.0 and smaller part has absolute value less
29125 * math/s_clog10.c (__clog10): Likewise.
29126 * math/s_clog10f.c (__clog10f): Likewise.
29127 * math/s_clog10l.c (__clog10l): Likewise.
29128 * math/s_clogf.c (__clogf): Likewise.
29129 * math/s_clogl.c (__clogl): Likewise.
29130 * math/libm-test.inc (clog_test): Add more tests.
29131 (clog10_test): Likewise.
29132 * sysdeps/i386/fpu/libm-test-ulps: Update.
29133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29135 2012-07-31 Florian Weimer <fweimer@redhat.com>
29137 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29138 Exit with zero in case no suitable GID is found, and write a
29139 message to standard error.
29141 2012-07-30 Roland McGrath <roland@hack.frob.com>
29143 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29145 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29146 (MAXPATHLEN): Removed.
29147 (NOGROUP, NODEV): New macros.
29148 (setbit, clrbit, isset, isclr): New macros.
29149 (howmany, roundup, powerof2): New macros.
29150 (DEV_BSIZE): New macro.
29152 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29153 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29155 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29156 definition on [!__NO_LONG_DOUBLE_MATH].
29158 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29159 PTR_MANGLE and PTR_DEMANGLE.
29161 * socket/accept4.c (accept4): Rename to __libc_accept4.
29162 Define accept4 as a weak alias.
29164 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29165 on [_DIRENT_HAVE_D_TYPE].
29166 * io/ftw.c (ftw_dir): Likewise.
29168 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29170 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29172 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29173 Use the BSD numbers rather than the arbitrary ones we had.
29174 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29175 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29176 (SIGXCPU, SIGXFSZ): New macros.
29179 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29180 initializer on [_LIBC_REENTRANT].
29182 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29183 definitions inside [_POSIX_MAPPED_FILES].
29185 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29187 * dirent/opendir.c: Include <fcntl.h>.
29189 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29190 (__libc_getspecific): Likewise.
29191 (__libc_key_create): Likewise.
29193 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29194 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29195 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29196 (tmpfile64): Define as alias.
29197 * sysdeps/wordsize-64/tmpfile.c: File removed.
29198 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29199 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29200 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29202 * stdio-common/vfscanf.c: Include <stdbool.h>.
29203 * nss/makedb.c: Likewise.
29204 * stdio-common/_i18n_number.h: Likewise.
29205 * argp/argp-help.c: Likewise.
29206 * posix/wordexp.c: Likewise.
29207 * sysdeps/posix/spawni.c: Likewise.
29208 * nss/nss_files/files-initgroups.c: Likewise.
29209 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29210 * nss/nss_files/files-initgroups.c: Likewise.
29211 * nss/nss_db/db-netgrp.c: Likewise.
29212 * nss/nss_db/db-initgroups.c: Likewise.
29213 * io/fchmodat.c: Include <sys/stat.h>.
29215 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29216 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29218 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29221 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29222 Add multiple inclusion protection.
29224 2012-07-27 David S. Miller <davem@davemloft.net>
29226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29228 2012-07-27 Gary Benson <gbenson@redhat.com>
29231 * elf/rtld.c: Include <stap-probe.h>.
29232 (dl_main): Added static probes "init_start" and "init_complete".
29233 * elf/dl-load.c: Include <stap-probe.h>.
29234 (lose): Take new parameter "nsid".
29235 Added static probe "map_failed".
29236 (_dl_map_object_from_fd): Pass namespace id to lose.
29237 Added static probe "map_start".
29238 (open_verify): Pass namespace id to lose.
29239 * elf/dl-open.c: Include <stap-probe.h>.
29240 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29241 and "reloc_complete".
29242 * elf/dl-close.c: Include <stap-probe.h>.
29243 (_dl_close_worker): Added static probes "unmap_start" and
29245 * elf/rtld-debugger-interface.txt: New file documenting the above.
29247 2012-07-26 Roland McGrath <roland@hack.frob.com>
29249 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29250 rather than a string variable.
29251 * sunrpc/rpc_main.c (h_output): Likewise.
29252 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29254 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29256 * inet/check_native.c: New file.
29258 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29261 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29262 if larger part has absolute value 1.0.
29263 * math/s_clog10.c (__clog10): Likewise.
29264 * math/s_clog10f.c (__clog10f): Likewise.
29265 * math/s_clog10l.c (__clog10l): Likewise.
29266 * math/s_clogf.c (__clogf): Likewise.
29267 * math/s_clogl.c (__clogl): Likewise.
29268 * math/libm-test.inc (clog_test): Add more tests.
29269 (clog10_test): Likewise.
29270 * sysdeps/i386/fpu/libm-test-ulps: Update.
29271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29273 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29274 (pltexit): Likewise.
29275 (La_regs): Likewise.
29276 (La_retval): Likewise.
29277 (int_retval): Likewise.
29278 Update #error for removed macros to refer only to definitions in
29280 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29282 (pltexit): Likewise.
29283 (La_regs): Likewise.
29284 (La_retval): Likewise.
29285 (int_retval): Likewise.
29286 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29288 (pltexit): Likewise.
29289 (La_regs): Likewise.
29290 (La_retval): Likewise.
29291 (int_retval): Likewise.
29292 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29294 (pltexit): Likewise.
29295 (La_regs): Likewise.
29296 (La_retval): Likewise.
29297 (int_retval): Likewise.
29298 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29300 (pltexit): Likewise.
29301 (La_regs): Likewise.
29302 (La_retval): Likewise.
29303 (int_retval): Likewise.
29304 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29306 (pltexit): Likewise.
29307 (La_regs): Likewise.
29308 (La_retval): Likewise.
29309 (int_retval): Likewise.
29310 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29312 (pltexit): Likewise.
29313 (La_regs): Likewise.
29314 (La_retval): Likewise.
29315 (int_retval): Likewise.
29316 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29317 macro definitions in tst-audit.h.
29318 * sysdeps/i386/tst-audit.h: New file.
29319 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29320 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29321 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29322 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29323 * sysdeps/sh/tst-audit.h: Likewise.
29324 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29325 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29326 * sysdeps/x86_64/tst-audit.h: Likewise.
29328 2012-07-26 Andreas Jaeger <aj@suse.de>
29330 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29333 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29334 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29335 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29337 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29338 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29339 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29341 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29344 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29346 (si_call_addr, si_syscall, si_arch): Define new macro.
29347 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29349 (si_call_addr, si_syscall, si_arch): Define new marcro.
29350 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29352 (si_call_addr, si_syscall, si_arch): Define new macro.
29353 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29355 (si_call_addr, si_syscall, si_arch): Define new macro.
29357 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29360 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29361 Change to 2.4.21 where previously 2.4.1.
29362 * sysdeps/unix/sysv/linux/configure: Regenerated.
29363 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29364 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29365 Linux kernel version.
29366 (__ASSUME_STD_AUXV): Remove.
29367 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29369 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29370 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29371 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29372 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29373 (__ASSUME_NETLINK_SUPPORT): Likewise.
29374 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29375 (__no_netlink_support): Remove conditional definition.
29376 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29378 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29379 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29380 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29381 (if_nameindex_ioctl): Remove.
29382 (if_nameindex_netlink): Do not handle __no_netlink_support.
29383 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29385 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29386 Remove conditional code.
29387 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29389 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29391 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29392 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29393 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29395 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29396 [!__ASSUME_STD_AUXV]: Remove conditional code.
29397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29398 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29399 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29401 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29402 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29404 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29406 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29407 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29409 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29411 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29414 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29417 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29418 code unconditional.
29419 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29421 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29423 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29426 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29428 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29431 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29432 code unconditional.
29433 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29435 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29437 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29440 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29441 code unconditional.
29442 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29444 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29446 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29449 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29451 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29452 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29453 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29454 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29455 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29456 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29457 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29458 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29459 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29460 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29461 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29462 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29463 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29464 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29465 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29466 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29467 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29468 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29469 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29471 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29472 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29473 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29475 2012-07-25 Florian Weimer <fweimer@redhat.com>
29477 * Versions.def: Add GLIBC_2.17.
29478 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29479 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29480 Introduce __libc_secure_getenv.
29481 * stdlib/Versions (2.17): Add secure_getenv
29482 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29483 * stdlib/secure-getenv.c: Rename __secure_getenv to
29484 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29485 symbol __secure_getenv for GLIBC_2.0.
29486 * stdlib/tst-secure-getenv.c: New.
29487 * stdlib/Makefile (tests): Add testcase.
29488 * manual/startup.texi (Environment Access): Document
29490 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29491 __libc_secure_getenv.
29492 * inet/ruserpass.c (ruserpass): Likewise.
29493 * malloc/mtrace.c (mtrace): Likewise.
29494 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29495 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29496 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29497 * sysdeps/posix/tempname.c: Likewise. Evaluate
29498 HAVE_SECURE_GETENV.
29499 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29500 __secure_getenv to __libc_secure_getenv.
29501 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29508 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29514 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29516 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29517 (struct La_i86_retval): Likewise.
29518 (struct La_x86_64_regs): Likewise.
29519 (struct La_x86_64_retval): Likewise.
29520 (struct La_x32_regs): Likewise.
29521 (struct La_x32_retval): Likewise.
29522 (struct La_ppc32_regs): Likewise.
29523 (struct La_ppc32_retval): Likewise.
29524 (struct La_ppc64_regs): Likewise.
29525 (struct La_ppc64_retval): Likewise.
29526 (struct La_sh_regs): Likewise.
29527 (struct La_sh_retval): Likewise.
29528 (struct La_s390_32_regs): Likewise.
29529 (struct La_s390_32_retval): Likewise.
29530 (struct La_s390_64_regs): Likewise.
29531 (struct La_s390_64_retval): Likewise.
29532 (struct La_sparc32_regs): Likewise.
29533 (struct La_sparc32_retval): Likewise.
29534 (struct La_sparc64_regs): Likewise.
29535 (struct La_sparc64_retval): Likewise.
29536 (struct audit_ifaces): Remove architecture-specific pltenter and
29538 * sysdeps/i386/ldsodefs.h: New file.
29539 * sysdeps/powerpc/ldsodefs.h: Likewise.
29540 * sysdeps/s390/ldsodefs.h: Likewise.
29541 * sysdeps/sh/ldsodefs.h: Likewise.
29542 * sysdeps/sparc/ldsodefs.h: Likewise.
29543 * sysdeps/x86_64/ldsodefs.h: Likewise.
29545 2012-07-25 Marek Polacek <polacek@redhat.com>
29548 * math/libm-test.inc (yn_test): Add another test.
29549 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29550 to ERANGE when the result is +-Inf.
29551 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29552 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29553 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29554 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29556 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29558 * conform/data/time.h-data (NULL): Use macro-constant. Require
29560 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29562 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29564 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29566 * configure.in <sysdeps resolving>: Correct printing
29568 * configure: Regenerate.
29570 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29572 * math/w_ilogb.c: Include <limits.h>.
29573 * math/w_ilogbl.c: Likewise.
29575 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29577 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29578 va_copy. Document allowing for unavailable va_copy only as
29579 pre-C99 compatibility.
29580 * manual/string.texi (Copying and Concatenation): Use va_copy
29581 instead of __va_copy in concat example.
29583 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29585 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29586 (__sendto): Use create_address_port. Initialize APORT and deallocate
29589 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29590 with O_NOLINK passed to __file_name_lookup.
29592 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29593 with O_NOLINK passed to __file_name_lookup.
29595 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29596 negative N or less than NGIDS.
29598 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29599 type to string_t. Set ERANGE as errno and return it if NAME is not big
29600 enough. Use memcpy instead of strncpy.
29602 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29604 * elf/Makefile (check-data): Remove.
29605 (localplt.data): New vpath directive.
29606 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29607 instead of $(check-data).
29608 * scripts/data/localplt-generic.data: Move to ...
29609 * sysdeps/generic/localplt.data: ... here.
29610 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29611 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29612 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29615 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29618 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29621 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29624 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29627 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29631 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29633 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29634 PPC32 and PPC64 files.
29635 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29636 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29638 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29640 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29641 __makecontext_ret to ...
29642 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29643 ... here and call exit if uc_link is NULL. New file.
29644 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29645 __makecontext_ret.S.
29646 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29647 __makecontext_ret to ...
29648 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29649 ... here and call exit if uc_link is NULL. New file.
29650 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29651 __makecontext_ret.S.
29653 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29655 * elf/elf.h (R_390_IRELATIVE): New definition.
29656 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29657 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29658 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29659 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29660 (elf_machine_lazy_rel): Likewise.
29661 * sysdeps/s390/dl-irel.h: New file.
29662 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29663 * sysdeps/s390/s390-64/memset.S: New asm code.
29664 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29665 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29666 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29667 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29668 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29669 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29670 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29671 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29672 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29673 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29674 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29675 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29676 * sysdeps/s390/s390-32/memset.S: New asm code.
29677 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29679 2012-07-17 Marek Polacek <polacek@redhat.com>
29682 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29683 * sysdeps/s390/s390-64/configure.in: Likewise.
29684 * sysdeps/sparc/configure.in: Likewise.
29685 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29686 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29687 * sysdeps/i386/configure.in: Likewise.
29688 * sysdeps/x86_64/configure.in: Likewise.
29689 * sysdeps/sh/configure.in: Likewise.
29690 * sysdeps/s390/s390-32/configure: Regenerated.
29691 * sysdeps/s390/s390-64/configure: Likewise.
29692 * sysdeps/x86_64/configure: Likewise.
29693 * sysdeps/sh/configure: Likewise.
29694 * sysdeps/powerpc/powerpc64/configure: Likewise.
29695 * sysdeps/powerpc/powerpc32/configure: Likewise.
29696 * sysdeps/sparc/configure: Likwise.
29697 * sysdeps/i386/configure: Likewise.
29699 * elf/dl-open.c: Comment fixes.
29701 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29703 * Makefile [CXX] (check-data): Remove.
29704 [CXX] (c++-types.data): New vpath directive.
29705 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29706 vpath. Do not allow for C++ type data being missing.
29707 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29708 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29709 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29710 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29711 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29712 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29713 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29716 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29719 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29722 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29725 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29728 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29731 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29734 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29737 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29738 definitions to architecture-specific files.
29739 (TLS_IE): Likewise.
29740 (TLS_LD): Likewise.
29741 (TLS_GD): Likewise.
29742 * sysdeps/i386/tls-macros.h: New file.
29743 * sysdeps/powerpc/tls-macros.h: Likewise.
29744 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29745 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29746 * sysdeps/sh/tls-macros.h: Likewise.
29747 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29748 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29749 * sysdeps/x86_64/tls-macros.h: Likewise.
29751 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29753 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29754 zero value for regular exit case.
29756 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29757 (__start_context): Preserve zero value for regular exit case.
29759 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29760 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29762 * manual/setjmp.texi (setcontext): Clarify normal process
29763 termination when uc_link is the null pointer.
29764 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29767 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29769 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29770 preprocessor. Test for each exception mask separately.
29772 2012-07-16 Andreas Jaeger <aj@suse.de>
29774 * po/ru.po: Update from translation team.
29776 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29778 * conform/data/string.h-data (NULL): Use macro-constant. Require
29780 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29781 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29782 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29783 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29784 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29786 2012-07-13 Andreas Jaeger <aj@suse.de>
29788 * po/fr.po: Update from translation team.
29790 2012-07-12 Marek Polacek <polacek@redhat.com>
29793 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29794 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29797 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29800 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29801 Change to 2.4.1 where previously 2.4.0.
29802 * sysdeps/unix/sysv/linux/configure: Regenerated.
29803 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29804 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29806 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29807 (__ASSUME_AT_CLKTCK): Remove.
29808 (__ASSUME_AT_PAGESIZE): Likewise.
29809 (__ASSUME_AT_XID): Likewise.
29810 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29811 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29812 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29814 (HAVE_AUX_PAGESIZE): Likewise.
29815 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29816 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29817 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29819 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29823 the temporary buffer used to invoke __gethostbyname2_r,
29824 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29825 host_data / struct gaih_addrtuple.
29826 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29827 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29828 header file nss/nsswitch.h.
29829 * nss/nsswitch.h (global scope): Add definition of implementation
29830 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29831 resolv/nss_dns/dns-host.c).
29833 2012-07-11 Andreas Jaeger <aj@suse.de>
29835 * po/fr.po: Update from translation team.
29837 * po/sv.po: Update from translation team
29838 * po/fr.po: Another update from translation team.
29840 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29842 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29843 for subnormals or multiply small sinh result by itself.
29844 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29847 2012-07-11 David S. Miller <davem@davemloft.net>
29849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29851 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29854 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29855 (INTERNAL_MARK): Shift it here.
29857 2012-07-10 Marek Polacek <polacek@redhat.com>
29860 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29861 libc_cv_asm_global_directive with .globl.
29862 * configure: Regenerated.
29863 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29865 * sysdeps/i386/configure: Regenerated.
29866 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29868 * sysdeps/x86_64/configure: Regenerated.
29869 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29870 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29871 * elf/tst-unique2mod2.c: Likewise.
29872 * elf/tst-unique2mod1.c: Likewise.
29873 * elf/tst-unique1mod2.c: Likewise.
29874 * elf/tst-unique1mod1.c: Likewise.
29875 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29876 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29877 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29878 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29879 * sysdeps/mach/sysdep.h: Likewise.
29880 * sysdeps/i386/sysdep.h: Likewise.
29881 * sysdeps/i386/i386-mcount.S: Likewise.
29882 * sysdeps/x86_64/_mcount.S: Likewise.
29883 * sysdeps/x86_64/sysdep.h: Likewise.
29884 * sysdeps/sh/_mcount.S: Likewise.
29885 * sysdeps/sh/sysdep.h: Likewise.
29886 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29887 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29888 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29889 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29890 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29891 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29892 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29893 * locale/localeinfo.h: Likewise.
29894 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29895 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29897 2012-07-09 Roland McGrath <roland@hack.frob.com>
29900 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29902 * manual/message.texi (The Uniforum approach): Likewise.
29903 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29904 (glibc iconv Implementation): Likewise.
29906 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29909 * math/s_clog.c (__clog): Avoid scaling a value down where that
29910 could result in underflow.
29911 * math/s_clog10.c (__clog10): Likewise.
29912 * math/s_clog10f.c (__clog10f): Likewise.
29913 * math/s_clog10l.c (__clog10l): Likewise.
29914 * math/s_clogf.c (__clogf): Likewise.
29915 * math/s_clogl.c (__clogl): Likewise.
29916 * math/libm-test.inc (clog_test): Add more tests.
29917 (clog10_test): Likewise.
29918 * sysdeps/i386/fpu/libm-test-ulps: Update.
29919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29921 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29924 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29925 by 7 not 8 to examine high bit of fractional part.
29928 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29929 for call to __mcount_internal.
29930 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29931 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29932 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29934 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29937 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29938 approximation for values within 0x1p-13f of an odd multiple of
29940 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29941 exception. Add more tests.
29942 * sysdeps/i386/fpu/libm-test-ulps: Update.
29945 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29946 inputs and return -1 for them. Do not check for +Inf in case not
29947 reachable for +Inf.
29948 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29949 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29950 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29951 and return -1 for them. Do not check for +Inf in case not
29952 reachable for +Inf.
29953 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29955 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29956 and return -1 for them. Do not check for +Inf in case not
29957 reachable for +Inf.
29958 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29959 spurious underflow.
29960 * sysdeps/i386/fpu/libm-test-ulps: Update.
29961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29963 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29965 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29967 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29971 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29972 could result in spurious underflow. Scale down values above
29973 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29974 * math/s_csqrtf.c (__csqrtf): Likewise.
29975 * math/s_csqrtl.c (__csqrtl): Likewise.
29976 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29977 spurious underflow.
29978 * sysdeps/i386/fpu/libm-test-ulps: Update.
29979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29981 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29983 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29985 * catgets/xopen-msg.awk: New file.
29986 * catgets/xopen-msg.sed: Removed.
29988 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29990 * intl/po2test.awk: New file.
29991 * intl/po2test.sed: Removed.
29993 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29996 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29997 or multiply small sinh result by itself.
29998 * math/s_ctanf.c (__ctanf): Likewise.
29999 * math/s_ctanh.c (__ctanh): Likewise.
30000 * math/s_ctanhf.c (__ctanhf): Likewise.
30001 * math/s_ctanhl.c (__ctanhl): Likewise.
30002 * math/s_ctanl.c (__ctanl): Likewise.
30003 * math/libm-test.inc (ctan_test_tonearest): New function.
30004 (ctan_test_towardzero): Likewise.
30005 (ctan_test_downward): Likewise.
30006 (ctan_test_upward): Likewise.
30007 (ctanh_test_tonearest): Likewise.
30008 (ctanh_test_towardzero): Likewise.
30009 (ctanh_test_downward): Likewise.
30010 (ctanh_test_upward): Likewise.
30011 (main): Call these new functions.
30012 * sysdeps/i386/fpu/libm-test-ulps: Update.
30013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30015 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30017 * .gitignore: Delete /ports entry.
30019 2012-07-03 Andreas Jaeger <aj@suse.de>
30021 * po/bg.po: Update from translation team.
30022 * po/cs.po: Likewise.
30023 * po/de.po: Likewise.
30024 * po/hr.po: Likewise.
30025 * po/nl.pl: Likewise.
30026 * po/pl.po: Likewise.
30027 * po/vi.po: Likewise.
30029 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30031 * Makeconfig [!+link] (+link-before-libc): New variable.
30032 [!+link] (+link-after-libc): Likewise.
30033 [!+link] (+link-tests): Likewise.
30034 [!+link] (+link): Define in terms of $(+link-before-libc) and
30035 $(+link-after-libc).
30036 [!+link-static] (+link-static-before-libc): New variable.
30037 [!+link-static] (+link-static-after-libc): Likewise.
30038 [!+link-static] (+link-static-tests): Likewise.
30039 [!+link-static] (+link-static): Define in terms of
30040 $(+link-static-before-libc) and $(+link-static-after-libc).
30041 [build-shared] (link-libc-before-gnulib): New variable.
30042 [build-shared] (link-libc-tests): Likewise.
30043 [build-shared] (link-libc): Define in terms of
30044 $(link-libc-before-gnulib).
30045 [!build-shared] (link-libc-tests): New variable.
30046 (link-libc-static-tests): New variable.
30047 [!gnulib] (gnulib-arch): New variable.
30048 [!gnulib] (gnulib-tests): Likewise.
30049 [!gnulib] (static-gnulib-arch): Likewise.
30050 [!gnulib] (static-gnulib-tests): Likewise.
30051 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30052 Define with "=" instead of ":=".
30053 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30054 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30055 * Rules (binaries-all-notests): New variable.
30056 (binaries-all-tests): Likewise.
30057 (binaries-static-notests): Likewise.
30058 (binaries-static-tests): Likewise.
30059 (binaries-all): Define using $(binaries-all-notests) and
30060 $(binaries-all-tests).
30061 (binaries-static): Define using $(binaries-static-notests) and
30062 $(binaries-static-tests).
30063 (binaries-shared-tests): New variable.
30064 (binaries-shared-notests): Likewise.
30065 (binaries-shared): Remove variable.
30066 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30067 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30068 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30069 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30070 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30071 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30072 * elf/Makefile (sln-modules): New variable.
30073 (extra-objs): Add $(sln-modules:=.o).
30074 (ldconfig-modules): Add static-stubs.
30075 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30076 * elf/static-stubs.c: New file.
30079 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30080 by 7 not 8 to examine high bit of fractional part. Use volatile
30081 variables when splitting into final array of floats if
30082 __FLT_EVAL_METHOD__ != 0.
30083 * math/libm-test.inc (cos_test): Add another test.
30084 (sin_test): Likewise.
30085 * sysdeps/i386/fpu/libm-test-ulps: Update.
30088 * math/libm-test.inc (cosh_test): Add more tests.
30090 * version.h (RELEASE): Set to "development".
30091 (VERSION): Set to "2.16.90".
30093 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30095 * NEWS: Update copyright. Remove last-updated date.
30096 Mention math library bug fixes and timezone data changes.
30097 * README: Mention GNU/Hurd, x32, and HPPA support status.
30099 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30101 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30103 2012-06-27 Andreas Jaeger <aj@suse.de>
30105 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30107 2012-06-25 Andreas Jaeger <aj@suse.de>
30109 * sysdeps/s390/fpu/libm-test-ulps: Update.
30111 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30112 Thomas Schwinge <thomas@codesourcery.com>
30114 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30115 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30116 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30119 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30121 * sysdeps/mach/start.c: Remove file.
30122 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30123 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30124 * sysdeps/sh/init-first.c: Likewise.
30126 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30127 registers for frame unwinding purposes, add CFI directives.
30128 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30129 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30130 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30133 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30134 __fortify_fail returning.
30135 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30137 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30138 sysdeps/sh/____longjmp_chk.S.
30139 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30140 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30141 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30142 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30144 * sysdeps/sh/abort-instr.h: New file.
30145 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30146 process in case exit returns.
30148 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30149 initialize the GOT register before use.
30151 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30152 calculation of ARGC > 4.
30154 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30155 meaningful names to some local labels.
30157 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30158 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30160 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30161 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30162 (__arch_compare_and_exchange_val_16_acq): Likewise.
30163 (__arch_compare_and_exchange_val_32_acq): Likewise.
30164 (atomic_exchange_and_add): Fix gUSA sequence.
30165 (atomic_add): Likewise.
30166 (atomic_add_negative): Likewise.
30167 (atomic_add_zero): Likewise.
30168 (atomic_bit_test_set): Likewise.
30170 2012-06-22 Andreas Schwab <schwab@redhat.com>
30173 * include/link.h (struct link_map): Add l_free_initfini.
30174 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30176 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30177 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30178 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30181 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30183 * configure.in: Use AC_LANG_SOURCE.
30184 * configure: Regenerate.
30186 2012-06-22 Roland McGrath <roland@hack.frob.com>
30188 * configure.in (libc_cv_localstatedir): New substituted variable.
30189 * configure: Regenerated.
30190 * config.make.in (localstatedir): New variable, substituted from
30191 libc_cv_localstatedir.
30192 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30193 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30194 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30195 * sysdeps/gnu/configure: Regenerated.
30197 2012-06-21 Jeff Law <law@redhat.com>
30200 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30201 free. Simplify list management for _LIBC case.
30203 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30206 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30207 Clear sign bit of 64-bit integer value before comparing against
30210 * sysdeps/mach/configure: Regenerated.
30212 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30215 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30217 2012-06-21 Jeff Law <law@redhat.com>
30220 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30221 uint16_t for elements in the "seen" array to avoid char overflows.
30222 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30223 * elf/dl-open.c (dl_open_worker): Likewise.
30225 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30227 * scripts/list-sources.sh: Scan PORTS for translations.
30228 * po/libc.pot: Regenerated.
30230 2012-06-21 Andreas Jaeger <aj@suse.de>
30233 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30235 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30236 * bits/byteswap-16.h (__bswap_16): Likewise.
30237 * bits/byteswap.h (__bswap_constant_16): Likewise.
30239 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30242 * sysdeps/i386/fpu_control.h: Removed.
30243 * sysdeps/x86_64/fpu_control.h: Moved to ...
30244 * sysdeps/x86/fpu_control.h: Here.
30246 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30247 (_FPU_SETCW): Likewise.
30249 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30252 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30253 * sysdeps/x86/fpu/bits/mathinline.h: This.
30254 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30258 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30259 functions if __x86_64__ is defined.
30261 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30263 * string/endian.h: Add !__ASSEMBLER__ condition for including
30264 conversion interfaces.
30266 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30269 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30270 of ABS(x) in calculating zero to negative powers other than odd
30272 * math/libm-test.inc (pow_test): Add more tests.
30274 2012-06-15 Andreas Jaeger <aj@suse.de>
30276 * manual/contrib.texi (Contributors): Update entry of Liubov
30277 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30280 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30282 * string/string.h: Add __wur to GNU version of strerror_r.
30284 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30287 * string/Makefile (tests): Add tst-strtok_r.
30288 * string/tst-strtok_r.c: New file.
30289 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30290 RAX_LP/RDX_LP on SAVE_PTR.
30292 2012-06-14 Roland McGrath <roland@hack.frob.com>
30294 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30296 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30298 * libm_test.inc (csqrt_test): Allow more spurious underflow
30300 (j0_test): Likewise.
30301 (j1_test): Likewise.
30302 (y0_test): Likewise.
30303 (y1_test): Likewise.
30305 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30307 * po/Makefile (libc.pot): Use UTF-8 charset.
30309 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30312 Suppress sign-conversion warning from FD_SET.
30313 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30314 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30315 not unsigned long int.
30316 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30318 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30322 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30323 __extern_always_inline instead of __extern_inline.
30324 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30325 (__signbit): Likewise.
30326 (__signbitl): Support C++ namespace.
30327 (lrintf): New inline function.
30329 (llrintf): Likewise.
30330 (llrint): Likewise.
30340 (floorf): Likewise.
30341 (nearbyint): Likewise.
30342 (nearbyintf): Likewise.
30344 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30346 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30347 non-default versions.
30349 2012-06-11 Roland McGrath <roland@hack.frob.com>
30352 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30354 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30356 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30357 (FE_UPWARD, FE_DOWNWARD): Don't define.
30358 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30359 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30361 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30363 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30364 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30366 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30368 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30369 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30370 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30371 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30373 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30376 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30377 * sysdeps/i386/fpu/Implies: New file.
30378 * sysdeps/x86_64/fpu/Implies: Likewise.
30379 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30380 * sysdeps/x86/fpu/bits/fenv.h: This.
30382 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30385 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30388 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30389 character 0xffff that matches the last element of the
30392 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30394 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30397 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30399 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30400 values higher than 25.6283.
30402 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30404 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30405 subnormal exponent extraction and add some __builtin_expect.
30406 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30407 Fix for subnormal mantissa calculation.
30409 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30411 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30412 cpu2 is -1 and errno is not ENOSYS.
30414 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30417 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30418 * sysdeps/x86/bits/string.h: This.
30419 * sysdeps/x86_64/bits/string.h: Removed.
30421 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30422 if not compiling for x86-64, but compiling for >= i486.
30424 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30425 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30427 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30428 New macro from Linux kernel 3.4.0.
30429 (FP_XSTATE_MAGIC2): Likewise.
30430 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30431 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30432 (struct _fpx_sw_bytes): New struct.
30433 (struct _xsave_hdr): Likewise.
30434 (struct _ymmh_state): Likewise.
30435 (struct _xstate): Likewise.
30437 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30438 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30439 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30440 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30441 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30442 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30444 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30445 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30446 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30447 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30448 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30449 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30451 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30454 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30455 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30456 (sysdep_headers): Include sys/platform/ppc.h.
30457 * sysdeps/powerpc/test-gettimebase.c: Test for
30458 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30459 * manual/Makefile (appendices): Include platform.texi.
30460 * manual/contrib.texi (Contributors): Update @node pointers.
30461 * manual/maint.texi (Maintenance): Likewise.
30462 (Platform): New node.
30463 * manual/platform.texi: New file. Document the new features.
30465 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30466 Jakub Jelinek <jakub@redhat.com>
30469 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30470 where __builtin_expect is unavailable.
30472 2012-06-03 David S. Miller <davem@davemloft.net>
30474 * stdlib/longlong.h: Updated from GCC.
30476 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30479 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30480 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30483 (GLIBC_2.16): Likewise.
30485 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30487 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30489 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30492 (default-abi): New variable.
30493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30494 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30496 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30498 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30500 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30503 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30504 definition. Document in comment.
30506 2012-06-01 David S. Miller <davem@davemloft.net>
30508 * stdlib/longlong.h: Updated from GCC.
30510 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30513 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30514 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30515 sys/debugreg.h sys/io.h here.
30516 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30517 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30519 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30520 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30521 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30522 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30523 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30524 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30526 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30527 Define only if __x86_64__ is defined.
30529 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30532 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30533 Use int64_t for variable i.
30534 * math/libm-test.inc (fmod_test): Add more tests.
30536 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30537 z computation is not scheduled after fetestexcept.
30538 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30539 Use math_force_eval instead of asm to ensure calculation scheduled
30540 before exception test.
30541 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30542 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30544 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30547 computation is not scheduled after fetestexcept.
30549 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30552 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30553 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30555 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30557 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30558 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30560 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30563 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30565 (__WCHAR_MIN): Support __WORDSIZE == 64.
30566 (__WCHAR_MAX): Likewise.
30568 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30569 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30572 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30573 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30576 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30577 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30579 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30580 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30582 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30583 Defined to 1 if __x86_64__ isn't defined.
30584 (_STAT_VER_LINUX_OLD): New.
30585 (st_atime): Remove duplicate.
30586 (st_mtime): Likewise.
30587 (st_ctime): Likewise.
30589 2012-05-31 David S. Miller <davem@davemloft.net>
30591 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30594 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30596 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30600 * elf/dl-reloc.c: Include <_itoa.h>.
30601 (_dl_reloc_bad_type): Remove use of INTUSE.
30602 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30603 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30604 * stdio-common/psiginfo.c (psiginfo): Likewise.
30605 * stdio-common/psignal.c (psignal): Likewise.
30606 * string/strsignal.c (strsignal): Likewise.
30607 * include/signal.h (_sys_siglist): Declare hidden proto.
30608 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30609 INTVARDEF with libc_hidden_data_def.
30610 * stdio-common/itoa-udigits.c: Likewise.
30611 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30612 (_itoa_lower_digits_internal): Remove declaration.
30613 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30614 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30615 (_sys_sigabbrev_internal): Remove aliases.
30616 (_sys_siglist): Define hidden alias.
30618 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30623 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30626 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30627 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30629 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30630 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30631 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30632 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30633 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30634 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30636 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30637 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30638 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30640 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30648 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30649 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30650 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30652 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30653 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30655 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30656 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30657 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30659 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30660 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30662 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30663 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30665 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30666 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30667 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30669 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30670 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30672 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30674 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30675 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30676 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30678 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30680 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30682 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30684 * math/math.h (M_El): Use two more decimal places.
30685 (M_LOG2El): Likewise.
30686 (M_LOG10El): Likewise.
30687 (M_LN2l): Likewise.
30688 (M_LN10l): Likewise.
30690 (M_PI_2l): Likewise.
30691 (M_PI_4l): Likewise.
30692 (M_1_PIl): Likewise.
30693 (M_2_PIl): Likewise.
30694 (M_2_SQRTPIl): Likewise.
30695 (M_SQRT2l): Likewise.
30696 (M_SQRT1_2l): Likewise.
30698 2012-05-31 David S. Miller <davem@davemloft.net>
30700 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30701 values between float registers.
30702 * sysdeps/sparc/sparc64/memset.S: Likewise.
30703 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30705 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30707 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30708 -D_FORTIFY_SOURCE=1.
30709 (CPPFLAGS-tst-longjmp_chk.c): Define.
30710 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30711 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30712 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30713 CFLAGS-tst-wchar-h.c.
30715 2012-05-31 Marek Polacek <polacek@redhat.com>
30718 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30719 __endmntent_internal): Remove declaration.
30720 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30721 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30722 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30724 2012-05-30 David S. Miller <davem@davemloft.net>
30726 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30727 (___Q_simulate_exceptions): Use real FP ops rather than writing
30729 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30732 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30735 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30736 * sysdeps/x86/bits/xtitypes.h: This.
30738 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30739 * sysdeps/x86/bits/wordsize.h: This.
30741 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30742 * sysdeps/x86/bits/huge_vall.h: This.
30744 * sysdeps/i386/bits/select.h: Removed.
30745 * sysdeps/x86_64/bits/select.h: Renamed to ...
30746 * sysdeps/x86/bits/select.h: This.
30748 * sysdeps/i386/bits/setjmp.h: Removed.
30749 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30750 * sysdeps/x86/bits/setjmp.h: This.
30752 * sysdeps/i386/bits/mathdef.h: Removed.
30753 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30754 * sysdeps/x86/bits/mathdef.h: This.
30756 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30759 * include/sys/socket.h (__connect_internal)
30760 (__libc_sa_len_internal): Remove declaration.
30761 (__connect, __libc_sa_len): Declare hidden_proto.
30762 (SA_LEN): Remove use of INTUSE.
30763 * socket/connect.c: Add libc_hidden_def.
30764 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30765 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30766 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30768 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30769 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30770 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30771 of adding _internal alias.
30773 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30776 * sysdeps/i386/bits/link.h: Removed.
30777 * sysdeps/i386/bits/linkmap.h: Likewise.
30778 * sysdeps/x86_64/bits/link.h: Renamed to ...
30779 * sysdeps/x86/bits/link.h: This.
30780 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30781 * sysdeps/x86/bits/linkmap.h: This.
30783 * sysdeps/i386/bits/endian.h: Removed.
30784 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30785 * sysdeps/x86/bits/endian.h: This.
30787 * sysdeps/i386/bits/byteswap.h: Removed.
30788 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30789 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30790 * sysdeps/x86/bits/byteswap.h: This.
30791 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30792 * sysdeps/x86/bits/byteswap-16.h: This.
30793 * sysdeps/i386/Implies: Add x86.
30794 * sysdeps/x86_64/Implies: Likewise.
30796 2012-05-30 David S. Miller <davem@davemloft.net>
30798 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30799 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30800 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30801 (FP_TRAPPING_EXCEPTIONS): Define.
30802 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30803 (FP_TRAPPING_EXCEPTIONS): Define.
30804 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30805 subnormals only when inexact has been signalled or underflow
30806 exceptions are enabled.
30807 (_FP_PACK_CANONICAL): Likewise.
30809 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30812 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30813 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30815 2012-05-30 Richard Henderson <rth@twiddle.net>
30817 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30818 with #ifndef NOT_IN_libc.
30820 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30821 marked to avoid plt entry.
30823 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30826 * Makeconfig (default-abi): New macro.
30827 (abi-includes): Likewise.
30828 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30829 $(abi-$(default-abi)-lib-soname) for soname if defined.
30830 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30832 * Makefile (installed-stubs): Likewise.
30833 * include/stubs-biarch.h: Removed.
30834 * scripts/lib-names.awk: Only handle one library at a time.
30835 * scripts/soversions.awk: Remove WORDSIZE support.
30836 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30838 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30840 (syscall-list-default-condition): Likewise.
30841 (syscall-list-default-condition): Likewise.
30842 (syscall-list-includes): Likewise.
30843 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30844 syscall-list-* with abi-*. Handle undefined abi-variants.
30845 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30846 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30847 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30848 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30849 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30850 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30852 (syscall-list-32-options): Likewise.
30853 (syscall-list-32-condition): Likewise.
30854 (syscall-list-64-options): Likewise.
30855 (syscall-list-64-condition): Likewise.
30856 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30858 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30861 (abi-64-ld-soname): New macro.
30862 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30863 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30866 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30867 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30869 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30871 * sysdeps/unix/sysv/linux/kernel-features.h
30872 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30873 * sysdeps/unix/sysv/linux/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/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.
30885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30886 include <kernel-features.h>.
30887 [!__NR_ftruncate64]: Remove conditional code.
30888 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30889 [__NR_ftruncate64]: Make code unconditional.
30890 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30892 include <kernel-features.h>.
30893 [!__NR_ftruncate64]: Remove conditional code.
30894 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30895 [__NR_ftruncate64]: Make code unconditional.
30896 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30898 * configure.in (libc_cv_fpie): Weaken to a compile test using
30899 LIBC_TRY_CC_OPTION.
30900 * configure: Regenerated.
30902 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30917 2012-05-27 David S. Miller <davem@davemloft.net>
30919 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30921 (__Q_simulate_exceptions): Return void. Change to simulate
30922 exceptions by writing into the %fsr.
30923 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30924 (__Qp_handle_exceptions): Likewise.
30926 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30927 __Qp_handle_exceptions.
30928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30929 __Qp_handle_exceptions.
30930 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30931 as unused and give dummy FP_RND_NEAREST initializer.
30932 (FP_INHIBIT_RESULTS): Define.
30933 (___Q_simulate_exceptions): Update declaration.
30934 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30936 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30937 as unused and give dummy FP_RND_NEAREST initializer.
30938 (__Qp_handle_exceptions): Update declaration.
30939 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30942 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30944 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30945 the temporary FPU control word.
30946 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30947 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30948 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30949 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30950 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30951 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30952 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30953 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30954 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30955 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30956 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30958 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30960 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30963 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30965 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30966 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30967 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30968 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30970 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30971 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30974 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30976 * po/h.po: Update from translation team.
30978 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30980 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30982 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30983 handling of denormals.
30984 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30985 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30986 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30987 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30993 2012-05-26 Marek Polacek <polacek@redhat.com>
30996 * math/libm-test.inc (fma_test): Don't always expect underflow
30999 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31002 * elf/tst-execstack.c: Include stackinfo.h.
31003 (do_test): Adjust test case to ensure that pthread_getattr_np
31004 behaviour remains the same after marking stack executable.
31006 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31008 * sysdeps/unix/sysv/linux/kernel-features.h
31009 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31010 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31012 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31013 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31014 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31016 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31017 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31019 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31021 * configure.in: Define the default includes to being none.
31022 * configure: Regenerated.
31024 2012-05-25 Roland McGrath <roland@hack.frob.com>
31026 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31027 * sysdeps/x86_64/setjmp.S: Likewise.
31028 * sysdeps/i386/bsd-setjmp.S: Likewise.
31029 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31030 * sysdeps/i386/setjmp.S: Likewise.
31031 * sysdeps/i386/__longjmp.S: Likewise.
31032 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31033 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31035 * include/stap-probe.h: New file.
31036 * configure.in: Handle --enable-systemtap.
31037 * configure: Regenerated.
31038 * config.h.in (USE_STAP_PROBE): New #undef.
31039 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31040 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31041 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31043 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31046 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31047 to 2.4.0 where earlier.
31048 * sysdeps/unix/sysv/linux/configure: Regenerated.
31049 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31050 <kernel-features.h>.
31051 [__ASSUME_32BITUIDS]: Make code unconditional.
31052 [!__ASSUME_32BITUIDS]: Remove conditional code.
31053 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31054 <kernel-features.h>.
31055 [__ASSUME_32BITUIDS]: Make code unconditional.
31056 [!__ASSUME_32BITUIDS]: Remove conditional code.
31057 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31058 [__ASSUME_32BITUIDS]: Make code unconditional.
31059 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31060 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.c: Do not include
31089 <kernel-features.h>.
31090 [__ASSUME_32BITUIDS]: Make code unconditional.
31091 [!__ASSUME_32BITUIDS]: Remove conditional code.
31092 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31093 <kernel-features.h>.
31094 [__ASSUME_32BITUIDS]: Make code unconditional.
31095 [!__ASSUME_32BITUIDS]: Remove conditional code.
31096 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31097 <kernel-features.h>.
31098 [__ASSUME_32BITUIDS]: Make code unconditional.
31099 [!__ASSUME_32BITUIDS]: Remove conditional code.
31100 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31101 <kernel-features.h>.
31102 [__NR_setresgid] (__setresgid): Do not declare.
31103 [__ASSUME_32BITUIDS]: Make code unconditional.
31104 [!__ASSUME_32BITUIDS]: Remove conditional code.
31105 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31106 <kernel-features.h>.
31107 [__NR_setresuid] (__setresuid): Do not declare.
31108 [__ASSUME_32BITUIDS]: Make code unconditional.
31109 [!__ASSUME_32BITUIDS]: Remove conditional code.
31110 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.c: Do not include
31135 <kernel-features.h>.
31136 [__ASSUME_32BITUIDS]: Make code unconditional.
31137 [!__ASSUME_32BITUIDS]: Remove conditional code.
31138 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31139 <kernel-features.h>.
31140 [__ASSUME_32BITUIDS]: Make code unconditional.
31141 [!__ASSUME_32BITUIDS]: Remove conditional code.
31142 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31143 <kernel-features.h>.
31144 [__ASSUME_32BITUIDS]: Make code unconditional.
31145 [!__ASSUME_32BITUIDS]: Remove conditional code.
31146 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31147 <kernel-features.h>.
31148 [__ASSUME_32BITUIDS]: Make code unconditional.
31149 [!__ASSUME_32BITUIDS]: Remove conditional code.
31150 * sysdeps/unix/sysv/linux/kernel-features.h
31151 (__ASSUME_SETRESUID_SYSCALL): Remove.
31152 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31153 (__ASSUME_32BITUIDS): Likewise.
31154 (__ASSUME_LDT_WORKS): Likewise.
31155 (__ASSUME_O_DIRECTORY): Likewise.
31156 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31157 architecture but not kernel version.
31158 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31159 (__ASSUME_MMAP2_SYSCALL): Likewise.
31160 (__ASSUME_STAT64_SYSCALL): Likewise.
31161 (__ASSUME_IPC64): Likewise.
31162 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31163 <kernel-features.h>.
31164 [__ASSUME_32BITUIDS]: Make code unconditional.
31165 [!__ASSUME_32BITUIDS]: Remove conditional code.
31166 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31167 <kernel-features.h>.
31168 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31169 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31170 132096]: Remove conditional code.
31171 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31172 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31173 <kernel-features.h>.
31174 [__ASSUME_32BITUIDS]: Make code unconditional.
31175 [!__ASSUME_32BITUIDS]: Remove conditional code.
31176 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31177 <kernel-features.h>.
31178 [__ASSUME_32BITUIDS]: Make code unconditional.
31179 [!__ASSUME_32BITUIDS]: Remove conditional code.
31180 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31181 <kernel-features.h>.
31182 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31184 (__setresgid): Do not declare.
31185 [__ASSUME_32BITUIDS]: Make code unconditional.
31186 [!__ASSUME_32BITUIDS]: Remove conditional code.
31187 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31188 <kernel-features.h>.
31189 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31191 (__setresuid): Do not declare.
31192 [__ASSUME_32BITUIDS]: Make code unconditional.
31193 [!__ASSUME_32BITUIDS]: Remove conditional code.
31194 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31195 <kernel-features.h>.
31196 [__ASSUME_32BITUIDS]: Make code unconditional.
31197 [!__ASSUME_32BITUIDS]: Remove conditional code.
31198 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31199 <kernel-features.h>.
31200 [__ASSUME_32BITUIDS]: Make code unconditional.
31201 [!__ASSUME_32BITUIDS]: Remove conditional code.
31203 2012-05-25 Richard Henderson <rth@twiddle.net>
31205 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31206 dl_hwcap to ifunc resolver.
31207 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31209 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31210 dl_hwcap to ifunc resolver.
31211 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31213 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31216 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31217 for |x| <= 2**-26, not 2**-57.
31218 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31221 2012-05-24 Jeff Law <law@redhat.com>
31223 * stdio-common/Makefile (tests): Add bug25.
31224 * stdio-common/bug25.c: New test.
31226 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31229 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31230 multiple of MALLOC_ALIGNMENT in size.
31231 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31233 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31235 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31237 (FILENAME_MAX): Use macro-int-constant.
31238 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31239 (_IOFBF): Use macro-int-constant.
31240 (_IOLBF): Likewise.
31241 (_IONBF): Likewise.
31242 (SEEK_CUR): Likewise.
31243 (SEEK_END): Likewise.
31244 (SEEK_SET): Likewise.
31245 (TMP_MAX): Likewise.
31246 (EOF): Use macro-int-constant. Require < 0.
31247 (NULL): Use macro-constant. Require == 0.
31248 (stdin): Require type to be FILE *.
31249 (stdout): Likewise.
31250 (stderr): Likewise.
31251 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31252 macro-int-constant.
31253 (EXIT_SUCCESS): Likewise.
31254 (NULL): Use macro-constant. Require == 0.
31255 (RAND_MAX): Use macro-int-constant.
31256 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31257 [C99-based standards] (strtof): Require function.
31258 [C99-based standards] (strtold): Likewise.
31259 [C99-based standards] (strtoll): Likewise.
31260 [C99-based standards] (strtoull): Likewise.
31261 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31262 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31263 [ISO || ISO99 || ISO11] (math.h): Likewise.
31264 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31265 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31266 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31268 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31271 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31272 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31273 * intl/dgettext.c (DCGETTEXT): Likewise.
31274 * intl/gettext.c (DCGETTEXT): Likewise.
31275 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31276 * posix/regex_internal.h (gettext): Likewise.
31277 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31278 Remove declaration.
31279 * include/argz.h (__argz_count_internal)
31280 (__argz_stringify_internal): Remove declaration.
31281 (__argz_count, __argz_stringify): Declare hidden proto.
31282 * intl/dcgettext.c: Remove use of INTDEF.
31283 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31284 * string/argz-stringify.c: Likewise.
31285 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31286 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31287 Declare hidden proto.
31288 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31289 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31290 Declare hidden proto.
31291 * include/stdio.h (__asprintf_internal): Don't declare.
31292 (__asprintf): Don't define as macro. Declare hidden proto.
31293 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31294 (__fsetlocking): Declare hidden proto.
31295 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31296 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31298 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31299 (_IO_setlinebuf): Remove use of INTUSE.
31300 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31301 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31302 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31303 Remove declaration.
31304 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31305 (_IO_do_flush): Remove use of INTUSE.
31306 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31307 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31308 (_IO_adjust_column, _IO_least_wmarker)
31309 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31310 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31311 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31312 (_IO_default_doallocate, _IO_wdefault_doallocate)
31313 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31314 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31315 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31316 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31317 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31318 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31319 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31320 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31321 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31322 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31323 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31324 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31325 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31327 (_IO_flush_all_internal, _IO_adjust_column_internal)
31328 (_IO_default_uflow_internal, _IO_default_finish_internal)
31329 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31330 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31331 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31332 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31333 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31334 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31335 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31336 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31337 (_IO_file_close_internal, _IO_file_close_it_internal)
31338 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31339 (_IO_file_init_internal, _IO_file_attach_internal)
31340 (_IO_file_fopen_internal, _IO_file_read_internal)
31341 (_IO_file_sync_internal, _IO_file_seek_internal)
31342 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31343 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31344 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31345 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31346 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31347 (_IO_list_all_internal, _IO_link_in_internal)
31348 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31349 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31350 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31351 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31352 (_IO_do_write_internal, _IO_padn_internal)
31353 (_IO_getline_info_internal, _IO_getline_internal)
31354 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31355 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31356 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31357 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31358 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31359 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31360 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31361 with libc_hidden_ver, remove use of INTUSE.
31362 * libio/genops.c: Likewise.
31363 * libio/freopen.c: Likewise.
31364 * libio/freopen64.c: Likewise.
31365 * libio/iofclose.c: Likewise.
31366 * libio/iofdopen.c: Likewise.
31367 * libio/iofflush.c: Likewise.
31368 * libio/iofflush_u.c: Likewise.
31369 * libio/iofgets.c: Likewise.
31370 * libio/iofgets_u.c: Likewise.
31371 * libio/iofopen.c: Likewise.
31372 * libio/iofopncook.c: Likewise.
31373 * libio/iofread.c: Likewise.
31374 * libio/iofread_u.c: Likewise.
31375 * libio/ioftell.c: Likewise.
31376 * libio/iofwrite.c: Likewise.
31377 * libio/iogetline.c: Likewise.
31378 * libio/iogets.c: Likewise.
31379 * libio/iogetwline.c: Likewise.
31380 * libio/iopadn.c: Likewise.
31381 * libio/iopopen.c: Likewise.
31382 * libio/ioseekoff.c: Likewise.
31383 * libio/ioseekpos.c: Likewise.
31384 * libio/iosetbuffer.c: Likewise.
31385 * libio/iosetvbuf.c: Likewise.
31386 * libio/ioungetc.c: Likewise.
31387 * libio/ioungetwc.c: Likewise.
31388 * libio/iovdprintf.c: Likewise.
31389 * libio/iovsprintf.c: Likewise.
31390 * libio/iovsscanf.c: Likewise.
31391 * libio/memstream.c: Likewise.
31392 * libio/obprintf.c: Likewise.
31393 * libio/oldfileops.c: Likewise.
31394 * libio/oldiofclose.c: Likewise.
31395 * libio/oldiofdopen.c: Likewise.
31396 * libio/oldiofopen.c: Likewise.
31397 * libio/oldiopopen.c: Likewise.
31398 * libio/oldstdfiles.c: Likewise.
31399 * libio/putc.c: Likewise.
31400 * libio/setbuf.c: Likewise.
31401 * libio/setlinebuf.c: Likewise.
31402 * libio/stdfiles.c: Likewise.
31403 * libio/strops.c: Likewise.
31404 * libio/vasprintf.c: Likewise.
31405 * libio/vscanf.c: Likewise.
31406 * libio/vsnprintf.c: Likewise.
31407 * libio/vswprintf.c: Likewise.
31408 * libio/wfiledoalloc.c: Likewise.
31409 * libio/wfileops.c: Likewise.
31410 * libio/wgenops.c: Likewise.
31411 * libio/wmemstream.c: Likewise.
31412 * libio/wstrops.c: Likewise.
31413 * libio/__fpurge.c: Likewise.
31414 * libio/__fsetlocking.c: Likewise.
31415 * assert/assert.c: Likewise.
31416 * debug/fgets_chk.c: Likewise.
31417 * debug/fgets_u_chk.c: Likewise.
31418 * debug/fread_chk.c: Likewise.
31419 * debug/fread_u_chk.c: Likewise.
31420 * debug/gets_chk.c: Likewise.
31421 * debug/obprintf_chk.c: Likewise.
31422 * debug/vasprintf_chk.c: Likewise.
31423 * debug/vdprintf_chk.c: Likewise.
31424 * debug/vsnprintf_chk.c: Likewise.
31425 * debug/vsprintf_chk.c: Likewise.
31426 * malloc/mtrace.c: Likewise.
31427 * misc/error.c: Likewise.
31428 * misc/syslog.c: Likewise.
31429 * stdio-common/asprintf.c: Likewise.
31430 * stdio-common/fxprintf.c: Likewise.
31431 * stdio-common/getw.c: Likewise.
31432 * stdio-common/isoc99_fscanf.c: Likewise.
31433 * stdio-common/isoc99_scanf.c: Likewise.
31434 * stdio-common/isoc99_vfscanf.c: Likewise.
31435 * stdio-common/isoc99_vscanf.c: Likewise.
31436 * stdio-common/isoc99_vsscanf.c: Likewise.
31437 * stdio-common/printf-prs.c: Likewise.
31438 * stdio-common/printf_fp.c: Likewise.
31439 * stdio-common/printf_fphex.c: Likewise.
31440 * stdio-common/printf_size.c: Likewise.
31441 * stdio-common/putw.c: Likewise.
31442 * stdio-common/scanf.c: Likewise.
31443 * stdio-common/sprintf.c: Likewise.
31444 * stdio-common/tmpfile.c: Likewise.
31445 * stdio-common/vfprintf.c: Likewise.
31446 * stdio-common/vfscanf.c: Likewise.
31447 * stdlib/strfmon_l.c: Likewise.
31448 * sunrpc/openchild.c: Likewise.
31449 * sunrpc/xdr_stdio.c: Likewise.
31450 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31451 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31453 2012-05-24 Roland McGrath <roland@hack.frob.com>
31455 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31457 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31458 in the third column, to generate for the shared library an IFUNC
31459 that uses _dl_vdso_vsym.
31460 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31461 * Makeconfig (object-suffixes-noshared): New variable.
31463 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31464 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31465 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31466 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31469 * include/sys/time.h (__gettimeofday): Remove macro.
31470 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31471 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31473 (__gettimeofday): Add libc_hidden_def.
31474 (gettimeofday): Add libc_hidden_weak.
31475 * sysdeps/mach/gettimeofday.c: Likewise.
31476 * sysdeps/posix/gettimeofday.c: Likewise.
31477 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31478 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31479 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31480 (__gettimeofday_internal): Remove strong_alias.
31481 (__gettimeofday): Add libc_hidden_def.
31482 (gettimeofday): Add libc_hidden_weak.
31483 * sysdeps/unix/syscalls.list (gettimeofday):
31484 Remove __gettimeofday_internal alias.
31486 2012-05-24 Daniel Jacobowitz <drow@false.org>
31487 H.J. Lu <hongjiu.lu@intel.com>
31490 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31491 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31492 (largebin_index_32_big): New.
31493 (largebin_index): Use it for 16-byte alignment.
31494 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31495 correction with front_misalign.
31497 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31525 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31526 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31528 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31532 * math/libm-test.inc (exp_test): Add test from bug 14036.
31533 (pow_test): Add test from bug 10846.
31535 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31537 (special_function): Do not include flags in test name.
31538 (parse_args): Likewise.
31539 * sysdeps/i386/fpu/libm-test-ulps: Update.
31540 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31541 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31542 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31545 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31547 * math/libm-test.inc ("Philosophy"): Update comment about
31549 (UNDERFLOW_EXCEPTION): New macro.
31550 (UNDERFLOW_EXCEPTION_OK): Likewise.
31551 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31552 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31553 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31554 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31555 (INVALID_EXCEPTION_OK): Update value.
31556 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31557 (OVERFLOW_EXCEPTION_OK): Likewise.
31558 (IGNORE_ZERO_INF_SIGN): Likewise.
31559 (test_exceptions): Handle underflow exceptions.
31560 (acos_test): Update for underflow exception expectations.
31561 (cexp_test): Likewise.
31562 (clog_test): Likewise.
31563 (clog10_test): Likewise.
31564 (csqrt_test): Likewise.
31565 (ctan_test): Likewise.
31566 (ctanh_test): Likewise.
31567 (exp_test): Likewise.
31568 (exp10_test): Likewise.
31569 (exp2_test): Likewise.
31570 (expm1_test): Likewise.
31571 (fma_test): Likewise.
31572 (j0_test): Likewise.
31573 (jn_test): Likewise.
31574 (nexttoward_test): Likewise.
31575 (pow_test): Likewise.
31576 (scalbn_test): Likewise.
31577 (scalbln_test): Likewise.
31578 (tan_test): Likewise.
31579 (y1_test): Likewise.
31580 * sysdeps/i386/fpu/libm-test-ulps: Update.
31581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31583 2012-05-23 David S. Miller <davem@davemloft.net>
31585 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31586 (__libc_sigaction): Remove unused local variables.
31588 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31590 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31592 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31594 mktime: avoid signed integer overflow
31595 * time/mktime.c (__mktime_internal): Do not mishandle the case
31596 where diff == INT_MIN.
31598 mktime: simplify computation of average
31599 * time/mktime.c (ranged_convert): Use new time_t_avg function
31600 instead of rolling our own (probably-slower) code.
31602 mktime: do not assume signed right shift propagates sign bit
31603 * time/mktime.c (isdst_differ): New static function.
31604 (__mktime_internal): No need to normalize tm_isdst now.
31605 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31608 mktime: merge another wrapv change from gnulib
31609 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31610 from some compilers.
31612 mktime: remove incorrect attempt at unusual arithmetics
31613 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31614 The code didn't really work on such machines anyway.
31615 (TYPE_MINIMUM): Assume two's complement.
31616 (twos_complement_arithmetic): Verify that long_int and time_t
31617 are two's complement (or unsigned, in the latter case).
31619 mktime: check signed shifts on long_int and time_t, too
31620 * time/mktime.c (SHR): Check that shifts work as desired
31621 on the types long_int and time_t too, as SHR is used on
31624 mktime: do not assume 'long' is wide enough
31625 * time/mktime.c (verify): Move decl up.
31626 (long_int): New type.
31627 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31628 to remove assumption in the code that 'long' is wide enough to
31629 store year values. This assumption is not true on x32 and on
31630 some non-glibc platforms.
31632 mktime: merge wrapv change from gnulib
31633 * time/mktime.c (WRAPV): New macro.
31634 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31635 (guess_time_tm, __mktime_internal): Do not assume that signed
31636 integer overflow wraps around; modern compilers generate code
31637 where this assumption is no longer valid.
31639 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31641 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31642 Replace "jmp L(pseudo_end)" with "ret".
31643 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31646 2012-05-23 Andreas Jaeger <aj@suse.de>
31648 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31649 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31651 2012-05-23 Andreas Jaeger <aj@suse.de>
31652 Maximilian Attems <max@stro.at>
31654 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31657 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31659 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31660 code so that pseudo_end is just ret and the stack pointer is
31661 correct also for static library in error case.
31663 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31665 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31666 move to syscalls.list.
31667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31672 * manual/install.texi (Running make install): Do not mention Linux
31673 kernel version for which pt_chown is not needed.
31674 (Linux): Do not mention problems with nscd with 2.0 kernels.
31675 * INSTALL: Regenerated.
31677 2012-05-23 Andreas Jaeger <aj@suse.de>
31679 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31680 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31682 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31683 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31684 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31685 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31686 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31687 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31688 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31689 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31690 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31691 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31692 * sysdeps/unix/sysv/linux/bits/in.h
31693 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31695 2012-05-22 Roland McGrath <roland@hack.frob.com>
31697 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31698 (PREPARE_VERSION): Just use assert instead, it will be elided
31699 under [NDEBUG] anyway.
31701 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31703 * sysdeps/unix/sysv/linux/Makefile: Include
31704 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31705 (sysdep_routines): Remove sysctl.
31706 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31707 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31708 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31709 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31710 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31712 2012-05-22 Andreas Jaeger <aj@suse.de>
31714 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31715 that pseudo_end is just ret and the stack pointer is correct also
31716 for static library in error case.
31718 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31721 * nss/nsswitch.c (defconfig_entries): New variable.
31722 (__nss_database_lookup): Don't leak defconfig entries.
31723 (nss_parse_service_list): Don't leak on error paths.
31724 (free_database_entries): New function.
31725 (free_defconfig): New function.
31726 (free_mem): Move common code to free_database_entries.
31728 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31730 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31732 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31734 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31735 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31738 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31739 (INTERNAL_SYSCALL_TYPES): Likewise.
31740 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31741 (LOAD_REGS_TYPES_[1-6]): Likewise.
31742 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31743 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31745 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31747 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31748 copysignl for GLIBC_2_0.
31749 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31750 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31751 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31752 logbl for GLIBC_2_0.
31753 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31754 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31756 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31758 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31759 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31761 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31764 * time/mktime.c: Update copyright years.
31766 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31768 mktime: merge comment-quoting-style change from gnulib
31769 * time/mktime.c: Quote 'like this' in comments.
31770 The GNU coding standards suggest that we no longer quote `like this',
31771 as "`" and "'" are typically rendered asymmetrically nowadays.
31772 The typical gnulib style is to quote 'like this' when quoting
31773 code, and "like this" when quoting English.
31775 * time/mktime.c (compile-command): Add "-I.".
31777 mktime: merge mktime-internal.h change from gnulib
31778 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31780 mktime: merge time_r change from gnulib
31781 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31783 mktime: merge DEBUG change from gnulib
31784 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31785 case system <time.h> has a #define.
31787 mktime: merge <sys/types.h> change from gnulib
31788 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31789 since <time.t> is now guaranteed to define time_t.
31791 mktime: merge HAVE_CONFIG_H change from gnulib
31792 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31794 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31799 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31801 (struct rusage): Use anonymous union to pad each field to
31804 2012-05-21 David S. Miller <davem@davemloft.net>
31806 * Makefules (o-iterator): Remove .s cases.
31807 (compile-command.s): Delete.
31808 (COMPILE.s): Delete.
31809 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31811 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31813 * configure.in (libc_cv_predef_stack_protector): Only consider
31814 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31815 * configure: Regenerated.
31817 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31820 New macro. Use R*LP on int and pointer.
31821 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31822 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31823 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31824 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31826 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31827 [__WORDSIZE_TIME64_COMPAT32] instead of
31828 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31829 (struct utmp): Likewise.
31830 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31831 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31833 (__WORDSIZE_TIME64_COMPAT32): This.
31834 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31835 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31836 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31837 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31838 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31839 (__WORDSIZE_TIME64_COMPAT32): New macro.
31841 2012-05-21 Andreas Jaeger <aj@suse.de>
31843 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31844 only if [SHARED]. Add prototype for __wcschr_ia32.
31846 2012-05-21 Roland McGrath <roland@hack.frob.com>
31848 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31849 of %rbp unmolested in the jmp_buf while mangling the low bits.
31850 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31851 unmolested high bits of %rbp while demangling the low bits.
31852 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31854 2012-05-21 Andreas Jaeger <aj@suse.de>
31856 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31857 * sunrpc/svc_simple.c: Use it for registerrpc.
31858 * sunrpc/xcrypt.c: Use it for passwd2des.
31860 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31862 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31864 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31865 Don't define if [__SYSCALL_WORDSIZE != 32].
31866 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31869 2012-05-21 Bruno Haible <bruno@clisp.org>
31870 Andreas Jaeger <aj@suse.de>
31872 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31873 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31874 inptr and inend for must_buffer_ch.
31875 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31876 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31877 * stdio-common/Makefile (tests): Remove bug15.
31878 (bug15-ENV): Remove macro.
31879 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31882 2012-05-19 Andreas Jaeger <aj@suse.de>
31883 Roland McGrath <roland@hack.frob.com>
31885 * manual/contrib.texi: Completely rewritten. It contains now an
31886 alphabetical list of contributors and their contributions.
31888 2012-05-21 Richard Henderson <rth@twiddle.net>
31890 * misc/getauxval.c (__getauxval): Use unsigned long int.
31891 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31892 (getauxval): Use unsigned long int.
31894 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31896 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31898 2012-05-21 Roland McGrath <roland@hack.frob.com>
31900 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31901 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31902 __alignof__ (long double).
31904 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31908 2012-05-20 Richard Henderson <rth@twiddle.net>
31910 * misc/getauxval.c: New file.
31911 * misc/sys/auxv.h: New file.
31912 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31913 (routines): Add getauxval.
31914 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31915 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31916 * elf/dl-sysdep.c (_dl_auxv): Remove.
31917 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31918 * elf/dl-support.c (_dl_auxv): New variable.
31919 (_dl_aux_init): Initialize it.
31920 * manual/startup.texi (Auxiliary Vector): New node.
31921 * sysdeps/generic/bits/hwcap.h: New file.
31922 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31923 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31924 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31925 * sysdeps/sparc/sysdep.h: ... here. Include it.
31926 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31927 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31933 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31939 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31943 2012-05-19 David S. Miller <davem@davemloft.net>
31945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31947 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31950 * math/s_ccosh.c: Include <float.h>
31951 (__ccosh): Avoid internal overflow calculating sinh and cosh
31952 values before multiplying by sin and cos values.
31953 * math/s_ccoshf.c: Likewise.
31954 * math/s_ccoshl.c: Likewise.
31955 * math/s_csin.c: Likewise.
31956 * math/s_csinf.c: Likewise.
31957 * math/s_csinl.c: Likewise.
31958 * math/s_csinh.c: Likewise.
31959 * math/s_csinhf.c: Likewise.
31960 * math/s_csinhl.c: Likewise.
31961 * math/libm-test.inc (ccos_test): Add more tests.
31962 (ccosh_test): Likewise.
31963 (csin_test): Likewise.
31964 (csinh_test): Likewise.
31965 * sysdeps/i386/fpu/libm-test-ulps: Update.
31966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31968 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31970 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31971 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31973 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31975 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31977 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31978 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31979 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31980 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31981 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31982 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31983 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31984 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31985 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31986 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31987 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31988 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31989 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31990 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31991 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31992 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31993 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31994 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31995 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31996 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31997 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31998 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31999 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32000 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32001 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32002 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32003 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32004 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32005 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32006 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32007 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32009 2012-05-18 Andreas Jaeger <aj@suse.de>
32011 * csu/.gitignore: Delete.
32013 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32015 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32016 (timex): Use __syscall_slong_t.
32018 2012-05-18 Andreas Jaeger <aj@suse.de>
32019 Carlos O'Donell <carlos_odonell@mentor.com>
32021 * manual/install.texi (Configuring and compiling): Update
32022 description about files modified in the source directory.
32023 * INSTALL: Regenerated.
32025 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32027 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32028 value. Use "or" to set return value to -1.
32029 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32030 negate return value.
32032 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32034 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32035 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32036 failure if the compiler has Graphite support disabled.
32037 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32039 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32040 (CFLAGS-memmove.c): Likewise.
32041 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32044 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32046 * sysdeps/x86_64/x32/_itoa.h: New file.
32048 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32049 getdents system call only if kernel and user dirents have the
32050 same d_ino and d_off.
32052 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32053 LLONG_MAX != LONG_MAX.
32054 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32055 (_fitoa_word): Likewise.
32057 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32059 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32060 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32061 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32063 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32064 include <bits/wordsize.h>. Check __x86_64__ instead of
32066 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32067 if __x86_64__ is defined. Use anonymous union on fpstate.
32069 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32072 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32074 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32075 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32076 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32077 Refer to _rtld_local_ro instead of _rtld_global_ro.
32078 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32080 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32082 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32084 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32085 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32086 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32088 * sysdeps/powerpc/powerpc32/dl-machine.c
32089 (__elf_machine_runtime_setup) [PROF]: Don't reference
32092 2012-05-18 Andreas Jaeger <aj@suse.de>
32094 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32095 function only available for GCCs before 3.4 since GCC 3.4
32096 introduced a builtin.
32098 (llrintf): Likewise.
32099 (llrint): Likewise.
32106 (nearbyint): Likewise.
32107 (nearbyintf): Likewise.
32111 (floorf): Likewise.
32113 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32115 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32116 on both fields and cast pointer to __syscall_ulong_t.
32118 * bits/types.h (__fsword_t): New type.
32119 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32120 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32122 (__FSWORD_T_TYPE): Likewise.
32123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32124 (__FSWORD_T_TYPE): Likewise.
32125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32126 (__FSWORD_T_TYPE): Likewise.
32127 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32128 (__FSWORD_T_TYPE): Likewise.
32129 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32130 __SWORD_TYPE with __fsword_t.
32131 (statfs64): Likewise.
32133 2012-05-17 David S. Miller <davem@davemloft.net>
32135 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32137 2012-05-17 Andreas Jaeger <aj@suse.de>
32139 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32142 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32144 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32146 2012-05-17 Andreas Jaeger <aj@suse.de>
32148 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32151 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32153 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32155 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32157 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32158 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32160 2012-05-17 Andreas Jaeger <aj@suse.de>
32161 Carlos O'Donell <carlos_odonell@mentor.com>
32164 * sysdeps/x86_64/multiarch/init-arch.h
32165 (bit_YMM_Usable): Rename to...
32166 (bit_AVX_Usable): ... this.
32167 (bit_FMA4_Usable): New macro.
32168 (bit_XMM_state): New macro.
32169 (bit_YMM_state): New macro.
32170 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32171 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32172 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32173 (CPUID_OSXSAVE): New macro.
32174 (CPUID_AVX): New macro.
32175 (CPUID_FMA4): New macro.
32176 (index_YMM_Usable): Rename to...
32177 (index_AVX_Usable): ... this.
32178 (HAS_AVX): Use HAS_ARCH_FEATURE.
32179 (HAS_FMA4): Likewise.
32180 (HAS_YMM_USABLE): Remove.
32181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32182 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32184 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32185 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32186 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32187 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32188 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32190 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32192 * math/libm-test.c: Support platforms without multiple rounding modes.
32193 * math/bug-nextafter.c: Support platforms without FP exceptions.
32194 * math/bug-nexttoward.c: Likewise.
32195 * math/test-fenv.c: Likewise.
32196 * math/test-misc.c: Likewise.
32197 * stdlib/bug-getcontext.c: Likewise.
32199 2012-05-17 Andreas Jaeger <aj@suse.de>
32201 * manual/examples/search.c (critter_cmp): Change signature to
32203 * manual/string.texi (Collation Functions): Likewise.
32205 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32207 * bits/types.h: Fold copyright years.
32208 * bits/typesizes.h: Likewise.
32209 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32210 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32212 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32213 * time/time.h: Likewise.
32215 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32218 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32219 in instead of returning them. Return void.
32220 (__libc_mallinfo): Accumulate over all arenas.
32221 (__malloc_stats): Adjust for change in int_mallinfo interface.
32223 2012-05-16 Roland McGrath <roland@hack.frob.com>
32226 * configure.in (NM): Add AC_CHECK_TOOL for it.
32227 (libc_extra_cflags): New substituted variable.
32228 Check for -fstack-protector being used implicitly.
32229 * configure: Regenerated.
32230 * config.make.in (config-extra-cflags): New variable,
32231 gets @libc_extra_cflags@.
32232 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32235 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32236 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32237 * configure: Regenerated.
32238 * config.make.in (CPPUNDEFS): New substituted variable.
32239 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32240 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32241 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32243 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32245 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32246 (mq_attr): Use __syscall_slong_t.
32248 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32250 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32251 Check __x86_64__ instead of __WORDSIZE.
32252 (_STAT_VER_LINUX): Likewise.
32253 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32254 __syscall_ulong_t and __syscall_slong_t.
32255 (stat64): Likewise.
32257 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32259 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32261 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32263 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32265 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32267 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32270 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32271 include <bits/wordsize.h>. Check __x86_64__ instead of
32273 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32275 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32277 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32278 include <bits/wordsize.h>. Check __x86_64__ instead of
32280 (user_regs_struct): Use "__extension__ unsigned long long"
32281 instead of "unsigned long" if __x86_64__ is defined.
32282 (user): Likewise. Pad after pointer field if __ILP32__ is
32285 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32287 * configure.in (makeinfo): Require version 4.5 or later. Allow
32289 * configure: Regenerated.
32290 * manual/install.texi (texinfo): Increase version requirement to
32292 * INSTALL: Regenerated.
32294 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32296 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32298 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32300 * sysdeps/x86_64/x32/ffs.c: New file.
32302 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32304 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32305 defined. Use __syscall_ulong_t.
32306 (shminfo): Use __syscall_ulong_t.
32307 (shm_info): Likewise.
32309 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32312 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32314 (msgqnum_t): Use __syscall_ulong_t.
32315 (msglen_t): Likewise.
32316 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32319 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32320 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32322 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32324 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32325 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32327 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32330 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32331 include <bits/wordsize.h>. Check __x86_64__ instead of
32334 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32335 "unsigned long long int" if __x86_64__ is defined.
32336 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32338 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32339 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32340 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32342 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32344 (GET_PC): Cast to uintptr_t first.
32345 (GET_FRAME): Likewise.
32346 (GET_STACK): Likewise.
32348 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32349 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32350 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32351 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32352 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32353 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32354 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32355 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32356 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32357 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32358 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32359 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32360 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32361 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32362 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32363 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32364 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32365 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32366 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32367 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32368 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32369 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32370 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32371 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32372 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32373 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32374 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32375 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32376 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32378 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32380 * Makerules (+depfiles): Also collect depfiles from .oS in
32382 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32383 .oS, $(libnldbl-routines)).
32385 * Makerules (native-compile-mkdep-flags): Define.
32386 * sunrpc/Makefile (extra-objs): Add $(addprefix
32387 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32388 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32389 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32390 calling $(make-target-directory).
32392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32394 * bits/types.h (__snseconds_t): Removed.
32395 * time/time.h (struct timespec): Replace __snseconds_t with
32397 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32398 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32400 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32401 (__SNSECONDS_T_TYPE): Likewise.
32402 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32403 (__SNSECONDS_T_TYPE): Likewise.
32404 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32405 (__SNSECONDS_T_TYPE): Likewise.
32407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32409 * sysdeps/mach/hurd/bits/typesizes.h
32410 (__SYSCALL_SLONG_TYPE): New macro.
32411 (__SYSCALL_ULONG_TYPE): Likewise.
32413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32415 * bits/types.h (__syscall_slong_t): New type.
32416 (__syscall_ulong_t): Likewise.
32418 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32419 (__SYSCALL_ULONG_TYPE): Likewise.
32420 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32421 (__SYSCALL_SLONG_TYPE): Likewise.
32422 (__SYSCALL_ULONG_TYPE): Likewise.
32423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32424 (__SYSCALL_SLONG_TYPE): Likewise.
32425 (__SYSCALL_ULONG_TYPE): Likewise.
32426 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32427 (__SYSCALL_SLONG_TYPE): Likewise.
32428 (__SYSCALL_ULONG_TYPE): Likewise.
32430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32432 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32433 Add sigaltstack-offsets.sym.
32434 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32435 <sigaltstack-offsets.h>.
32436 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32437 longjmp_msg pointer.
32438 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32439 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32441 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32443 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32445 * elf/stackguard-macros.h: Remove file.
32446 * sysdeps/generic/stackguard-macros.h: New file.
32447 * sysdeps/i386/stackguard-macros.h: Likewise.
32448 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32449 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32450 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32451 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32452 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32453 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32454 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32455 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32456 <elf/stackguard-macros.h>.
32459 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32460 __aligned__ in attribute.
32461 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32462 (gregset_t): Likewise.
32464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32466 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32467 * sysdeps/x86_64/64/Implies-after: Here. New file.
32468 * sysdeps/x86_64/x32/Implies-after: New file.
32470 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32472 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32473 and access return value for _dl_profile_fixup. Use R10_LP to
32476 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32478 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32480 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32482 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32483 * sysdeps/x86_64/x32/sysdep.h: New file.
32485 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32487 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32488 * sysdeps/x86_64/setjmp.S: Likewise.
32490 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32492 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32493 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32494 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32495 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32496 remove unused global constant.
32498 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32500 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32501 include of <not-cancel.h>.
32503 2012-05-15 Roland McGrath <roland@hack.frob.com>
32505 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32507 2012-05-15 Jeff Law <law@redhat.com>
32508 Andreas Jaeger <aj@suse.de>
32511 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32513 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32514 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32515 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32516 code changing __hst_map_handle.map.
32518 2012-05-15 Roland McGrath <roland@hack.frob.com>
32520 * configure.in (sysnames): Look for Implies-before and Implies-after
32522 * configure: Regenerated.
32524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32526 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32527 8-byte data alignment with LP_SIZE alignment.
32529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32531 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32536 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32540 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32541 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32542 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32544 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32548 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32549 (stackinfo_sub_sp): Likewise.
32551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32553 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32558 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32568 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32570 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32572 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32573 into R11_LP and load __x86_64_shared_cache_size_half into
32576 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32578 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32581 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32583 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32585 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32589 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32590 powerpc32/power7/fpu/s_logb.c via #include.
32591 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32592 powerpc32/power7/fpu/s_logbf.c via #include.
32593 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32594 powerpc32/power7/fpu/s_logbl.c via #include.
32596 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32598 * README.libm: Remove file.
32600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32602 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32603 count for x32. Use R*_LP and omit operand-size suffix.
32605 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32607 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32608 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32609 * sysdeps/x86_64/x32/shlib-versions: New file.
32611 2012-05-14 Roland McGrath <roland@hack.frob.com>
32613 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32614 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32615 Use _dl_fatal_printf instead.
32617 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32619 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32620 set if not set by the user. Do not allow for being unset.
32621 * sysdeps/unix/sysv/linux/configure: Regenerated.
32623 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32625 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32626 the `q' suffix from lea and replace .quad with ASM_ADDR.
32628 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32631 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32633 (PTR_DEMANGLE): Likewise.
32635 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32637 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32639 (ASM_ADDR): Likewise.
32640 (RAX_LP): Likewise.
32641 (RBP_LP): Likewise.
32642 (RBX_LP): Likewise.
32643 (RCX_LP): Likewise.
32644 (RDI_LP): Likewise.
32645 (RSI_LP): Likewise.
32646 (RSP_LP): Likewise.
32649 (R10_LP): Likewise.
32650 (R10_LP): Likewise.
32651 (R11_LP): Likewise.
32652 (R12_LP): Likewise.
32653 (R13_LP): Likewise.
32654 (R14_LP): Likewise.
32655 (R15_LP): Likewise.
32657 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32659 * sysdeps/x86_64/x32/dl-machine.h: New file.
32661 2012-05-14 Andreas Jaeger <aj@suse.de>
32663 * manual/Makefile (subdir): Remove export of subdir.
32664 (all): Remove target.
32665 (.PHONY): Remove all from list.
32666 (mkinstalldirs): Remove.
32667 (.PHONY): Remove installdirs from list.
32668 ($(inst_infodir)/libc.info): Use make-target-directory.
32669 (installdirs): Remove.
32670 (subdir_%): Remove.
32671 (glibc-targets): Remove.
32674 ($(objpfx)stubs ../po/manual.pot): Remove.
32675 ($(objpfx)stamp%): Remove.
32676 (make-target-directory): Remove.
32677 (subdir_install): Remove.
32678 (routines): Remove.
32685 * manual/.gitignore: Remove, it's not needed anymore.
32686 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32688 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32690 (texis): Renamed to $(objpfx)texis.
32691 (texis-path): New, contains path to generated files.
32692 (chapters.%): Use texis-path for complete path, add extra argument
32694 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32695 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32696 (summary,texi, stamp-summary): Use complete path of
32697 files. Generate files in build dir.
32698 (dir-add.texi): Build in build dir.
32699 (libm-err.texi,stamp-libm-err): Likewise.
32700 (version.texi, stamp-version): Likewise.
32701 (.%c.texi): Likewise.
32702 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32703 (mostlyclean): Remove target.
32704 (realclean): Remove target.
32705 (generated): Add new variable with contents from mostlyclean and
32706 realclean, remove entries duplicated in common-mostlyclean, add
32707 stamp-libm-err and stamp-version.
32708 (generated-dirs): Add libc directory.
32709 ($(inst_infodir)/libc.info): Install files from build dir.
32711 * manual/install.texi (Configuring and compiling): Adjust since
32712 the info files are not part of the tar ball anymore.
32714 2012-05-14 Andreas Jaeger <aj@suse.de>
32716 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32719 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32722 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32723 to 2.2.0 where earlier.
32724 * sysdeps/unix/sysv/linux/configure: Regenerated.
32725 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32726 Remove conditional code.
32727 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32728 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32729 Remove conditional code.
32730 [!__NR_lchown]: Likewise.
32731 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32732 [__NR_lchown]: Likewise.
32733 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32734 comment referencing __ASSUME_LCHOWN_SYSCALL.
32735 * sysdeps/unix/sysv/linux/i386/sigaction.c
32736 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32737 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32738 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32739 Remove conditional code.
32740 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32741 (__protocol_available): Remove #if 0 code.
32742 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32744 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32745 * sysdeps/unix/sysv/linux/kernel-features.h
32746 (__ASSUME_GETCWD_SYSCALL): Don't define.
32747 (__ASSUME_REALTIME_SIGNALS): Likewise.
32748 (__ASSUME_PREAD_SYSCALL): Likewise.
32749 (__ASSUME_PWRITE_SYSCALL): Likewise.
32750 (__ASSUME_POLL_SYSCALL): Likewise.
32751 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32752 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32754 (__ASSUME_SIOCGIFNAME): Don't define.
32755 (__ASSUME_MSG_NOSIGNAL): Likewise.
32756 (__ASSUME_SENDFILE): Define unconditionally.
32757 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32758 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32760 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32761 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32762 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32763 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32764 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32765 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32766 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32768 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32769 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32771 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32772 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32774 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32775 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32777 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32780 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32781 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32783 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32786 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32787 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32789 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32791 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32792 Remove conditional code.
32793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32794 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32795 Remove conditional code.
32796 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32797 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32798 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32799 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32800 Remove conditional code.
32801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32802 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32803 Remove conditional code.
32804 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32805 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32806 Remove conditional code.
32807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32808 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32809 Remove conditional code.
32810 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32811 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32812 Remove conditional code.
32813 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32814 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32815 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32816 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32817 * sysdeps/unix/sysv/linux/sigaction.c
32818 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32819 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32820 * sysdeps/unix/sysv/linux/sigpending.c
32821 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32822 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32823 * sysdeps/unix/sysv/linux/sigprocmask.c
32824 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32825 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32826 * sysdeps/unix/sysv/linux/sigsuspend.c
32827 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32828 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32829 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32830 (__libc_missing_rt_sigs): Remove.
32831 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32832 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32833 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32834 Remove conditional code.
32835 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32836 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32838 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32839 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32840 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32841 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32843 2012-05-14 Andreas Jaeger <aj@suse.de>
32845 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32846 it's not used in glibc.
32847 (__coshm1): Likewise.
32848 (__acosh1p): Likewise.
32851 * manual/string.texi (Copying and Concatenation): Add missing
32852 variable in concat example.
32853 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32855 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32858 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32859 __builtin_clzl with __builtin_clzll.
32861 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32864 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32867 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32869 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32870 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32871 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32872 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32874 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32876 * NEWS: Update ia64 info.
32878 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32880 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32883 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32885 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32886 * sysdeps/unix/syscalls.list (dup3): Likewise.
32887 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32888 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32890 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32892 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32893 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32895 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32897 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32899 (TLS_IE): Use mov/add instead of movq/addq to load thread
32901 (TLS_GD_PREFIX): New.
32904 2012-05-11 David S. Miller <davem@davemloft.net>
32906 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32907 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32908 (_FPU_SETCW): Likewise.
32910 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32912 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32913 is 32-byte aligned.
32915 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32918 * iconvdata/gb18030.c: Update tables.
32919 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32920 characters specially.
32921 (BODY for TO_LOOP): Add encoding of missing ranges.
32923 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32926 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32927 * sysdeps/mach/hurd/dup3.c: Likewise.
32928 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32929 * sysdeps/powerpc/memmove.c:: Likewise.
32931 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32933 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32934 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32936 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32938 * elf/elf.h (R_X86_64_RELATIVE64): New.
32939 (R_X86_64_NUM): Updated.
32940 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32941 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32942 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32943 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32944 tst-quad1pie tst-quad2pie
32945 (modules-names): Add tst-quadmod1 tst-quadmod2.
32946 ($(objpfx)tst-quad1): New dependency.
32947 ($(objpfx)tst-quad2): Likewise.
32948 ($(objpfx)tst-quad1pie): Likewise.
32949 ($(objpfx)tst-quad2pie): Likewise.
32950 * sysdeps/x86_64/tst-quad1.c: New file.
32951 * sysdeps/x86_64/tst-quad1pie.c: New file.
32952 * sysdeps/x86_64/tst-quad2.c: Likewise.
32953 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32954 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32955 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32956 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32957 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32959 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32961 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32962 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32963 * streams/stropts.h (t_scalar_t): Define type.
32965 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32966 (_PATH_PRESERVE): Set to "/var/lib".
32967 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32969 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32972 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32973 if __dir_mkfile succeeded.
32975 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32976 checking for _hurd_dtablesize. Unlock it right after having
32977 finished _hurd_dtable allocation.
32979 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32981 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32982 * sysdeps/mach/hurd/configure: Regenerated.
32983 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32984 special-casing to...
32985 * sysdeps/gnu/configure.in: ... this new file.
32986 * sysdeps/unix/sysv/linux/configure: Regenerated.
32987 * sysdeps/gnu/configure: New generated file.
32989 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32990 for Linux: use nsec instead of usec, as well as:
32991 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32992 members of type struct timespec.
32993 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32995 (struct stat64): Likewise.
32996 (_STATBUF_ST_NSEC): New macro.
32997 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32999 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33000 __strtoul_internal rather than strtoul.
33002 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33004 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33007 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33009 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33010 which preserves existing values.
33011 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33013 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33015 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33016 TIMEOUT values. Return EINVAL for NFDS values either negative or
33017 greater than FD_SETSIZE.
33019 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33021 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33022 allocated, call __vm_protect to finish enabling the existing space, and
33023 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33024 allocate the remainder.
33026 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33028 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33029 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33031 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33033 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33034 sysdeps/mach/hurd/readlink.c.
33036 * posix/tst-sysconf.c (posix_options): Only use
33037 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33038 _POSIX_SYNCHRONIZED_IO when they are defined
33039 * sysdeps/mach/hurd/bits/posix_opt.h:
33040 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33041 (_XOPEN_REALTIME): Undefine macro.
33042 (_XOPEN_REALTIME_THREADS): Undefine macro.
33043 (_XOPEN_SHM): Undefine macro.
33044 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33046 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33048 (_POSIX_ASYNC_IO): Undefine macro.
33049 (_POSIX_PRIORITIZED_IO): Undefine macro.
33050 (_POSIX_SPIN_LOCKS): Define macro to -1.
33052 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33053 SA_NODEFER, SA_RESETHAND.
33054 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33055 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33058 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33060 * elf/Makefile (pldd-modules): Define unconditionally.
33062 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33064 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33066 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33068 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33069 Return ENOENT when name is empty.
33070 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33072 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33074 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33076 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33078 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33080 Fix mlock in all cases except non-readable pages.
33081 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33082 instead of VM_PROT_ALL as parameter to __vm_wire function.
33084 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33085 (__mkdir): When path is `/', just fail with EEXIST.
33086 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33088 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33090 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33091 <sys/uio.h> (for writev).
33092 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33093 and <sys/param.h> (for MIN).
33095 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33097 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33098 REQUESTED_TIME. Properly set the remaining time and return EINTR
33101 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33103 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33104 Depend on against $(link-rpcuserlibs).
33106 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33108 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33109 (__libc_stack_end): Do not use attribute_relro.
33110 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33111 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33112 to libthread-provided value.
33113 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33116 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33119 * bits/libc-lock.h (__libc_once_get): New macro.
33120 * sysdeps/mach/bits/libc-lock.h: Likewise.
33121 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33122 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33123 instead of using implementation details.
33125 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33126 * libio/freopen.c: Likewise.
33127 * libio/freopen64.c: Likewise.
33128 * misc/syslog.c: Likewise.
33129 * nscd/connections.c: Likewise.
33130 * nscd/netgroupcache.c: Likewise.
33131 * sysdeps/posix/getcwd.c: Likewise.
33133 2012-05-10 Roland McGrath <roland@hack.frob.com>
33135 * math/w_ilogbf.c: Add #include <limits.h>.
33137 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33139 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33140 path instead of returning without unlocking.
33142 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33143 immediate-write ioctls.
33144 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33146 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33148 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33149 __builtin_frame_address instead of making assumptions about the
33150 location of the return address relative to DATA. Force early load of
33151 the return address.
33152 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33153 __builtin_frame_address.
33156 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33157 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33158 implement dup3 and do some further code clean-ups.
33159 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33160 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33162 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33164 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33166 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33167 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33168 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33169 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33170 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33173 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33174 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33175 when handler == SIG_ERR, not when handler != SIG_ERR.
33177 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33179 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33180 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33183 accept4 for GNU Hurd.
33184 * include/sys/socket.h (__libc_accept4): New prototype.
33185 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33186 to implement __libc_accept4.
33187 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33189 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33191 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33192 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33193 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33194 signal-defines.sym.
33196 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33198 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33200 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33202 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33203 assertion on O_CLOEXEC flag.
33204 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33205 * hurd/intern-fd.c: Likewise.
33206 * hurd/port2fd.c: Likewise.
33208 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33211 * bits/in.h (IPV6_PKTINFO): Define new macro.
33212 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33214 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33219 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33220 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33221 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33222 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33223 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33224 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33225 * math/libm-test.inc (logb_test) : Additional logb tests.
33227 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33228 Andreas Jaeger <aj@suse.de>
33230 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33231 * configure: Regenerated.
33232 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33233 * config.make.in (link-obsolete-rpc): New substituted variable.
33234 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33235 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33236 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33237 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33238 so that libc.a contains the symbols.
33239 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33240 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33241 * sunrpc/auth_none.c: Likewise.
33242 * sunrpc/auth_unix.c: Likewise.
33243 * sunrpc/authdes_prot.c: Likewise.
33244 * sunrpc/authuxprot.c: Likewise.
33245 * sunrpc/clnt_gen.c: Likewise.
33246 * sunrpc/clnt_perr.c: Likewise.
33247 * sunrpc/clnt_raw.c: Likewise.
33248 * sunrpc/clnt_simp.c: Likewise.
33249 * sunrpc/clnt_tcp.c: Likewise.
33250 * sunrpc/clnt_udp.c: Likewise.
33251 * sunrpc/clnt_unix.c: Likewise.
33252 * sunrpc/des_crypt.c: Likewise.
33253 * sunrpc/des_soft.c: Likewise.
33254 * sunrpc/get_myaddr.c: Likewise.
33255 * sunrpc/key_call.c: Likewise.
33256 * sunrpc/key_prot.c: Likewise.
33257 * sunrpc/netname.c: Likewise.
33258 * sunrpc/pm_getmaps.c: Likewise.
33259 * sunrpc/pm_getport.c: Likewise.
33260 * sunrpc/pmap_clnt.c: Likewise.
33261 * sunrpc/pmap_prot.c: Likewise.
33262 * sunrpc/pmap_prot2.c: Likewise.
33263 * sunrpc/pmap_rmt.c: Likewise.
33264 * sunrpc/publickey.c: Likewise.
33265 * sunrpc/rpc_cmsg.c: Likewise.
33266 * sunrpc/rpc_common.c: Likewise.
33267 * sunrpc/rpc_dtable.c: Likewise.
33268 * sunrpc/rpc_prot.c: Likewise.
33269 * sunrpc/rpc_thread.c: Likewise.
33270 * sunrpc/rtime.c: Likewise.
33271 * sunrpc/svc.c: Likewise.
33272 * sunrpc/svc_auth.c: Likewise.
33273 * sunrpc/svc_raw.c: Likewise.
33274 * sunrpc/svc_run.c: Likewise.
33275 * sunrpc/svc_tcp.c: Likewise.
33276 * sunrpc/svc_udp.c: Likewise.
33277 * sunrpc/svc_unix.c: Likewise.
33278 * sunrpc/svcauth_des.c: Likewise.
33279 * sunrpc/xcrypt.c: Likewise.
33280 * sunrpc/xdr.c: Likewise.
33281 * sunrpc/xdr_array.c: Likewise.
33282 * sunrpc/xdr_float.c: Likewise.
33283 * sunrpc/xdr_intXX_t.c: Likewise.
33284 * sunrpc/xdr_mem.c: Likewise.
33285 * sunrpc/xdr_rec.c: Likewise.
33286 * sunrpc/xdr_ref.c: Likewise.
33287 * sunrpc/xdr_sizeof.c: Likewise.
33288 * sunrpc/xdr_stdio.c: Likewise.
33290 2012-05-10 Roland McGrath <roland@hack.frob.com>
33292 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33293 change. Update copyright years.
33295 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33297 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33299 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33300 Joseph Myers <joseph@codesourcery.com>
33301 Paul Pluzhnikov <ppluzhnikov@google.com>
33304 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33306 [cross-compiling] (extra-libs): Likewise.
33307 [cross-compiling] (extra-libs-others): Likewise.
33308 [cross-compiling] (librpcsvc-routines): Likewise.
33309 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33310 [cross-compiling] (omit-deps): Likewise.
33311 (sunrpc-CPPFLAGS): New variable.
33312 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33313 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33314 (cross-rpcgen-objs): New variable.
33315 (extra-objs): Append $(cross-rpcgen-objs).
33316 ($(cross-rpcgen-objs)): New rule.
33317 ($(objpfx)cross-rpcgen): Likewise.
33318 (rpcgen-cmd): Define to use $(built-program-file). Expand
33320 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33321 ($(objpfx)x%.stmp): Likewise.
33322 * sunrpc/proto.h [IS_IN_build] (_): Define.
33323 [IS_IN_build] (_libc_intl_domainname): Likewise.
33325 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33327 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33328 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33329 and R_X86_64_TPOFF64.
33331 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33333 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33334 sysdeps/unix/sysv/syscalls.list.
33337 * sysdeps/unix/sysv/syscalls.list: Remove file.
33339 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33342 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33343 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33344 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33345 (__LC_IDENTIFICATION): Make these macros useful in #if
33346 expressions, as required by C99.
33348 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33350 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33351 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33354 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33356 * stdlib/longlong.h: Updated from GCC.
33358 2012-05-09 Andreas Jaeger <aj@suse.de>
33360 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33361 default is first entry.
33362 (run_mode): Set type.
33363 (main): Remove informal message about syslog.
33364 (options): Fix typo.
33367 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33370 (llrintf): Likewise.
33371 (llrint): Likewise.
33374 (nearbyint): Likewise.
33375 (nearbyintf): Likewise.
33377 2012-05-09 Andreas Jaeger <aj@suse.de>
33378 Pedro Alves <palves@redhat.com>
33380 * nscd/nscd.c (run_mode): Use enum.
33381 (main): Cleanup coding style issue.
33383 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33384 Andreas Jaeger <aj@suse.de>
33386 * nscd/nscd.c (go_background): Replaced with...
33387 (run_mode): ... this.
33388 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33389 (options): Add -F --foreground.
33390 (main): Implement it.
33391 (parse_opt): Parse it.
33393 2012-05-09 Andreas Jaeger <aj@suse.de>
33396 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33397 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33398 -Wconversion warning.
33399 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33402 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33404 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33406 (LC_ALL): Use macro-int-constant.
33407 (LC_COLLATE): Likewise.
33408 (LC_CTYPE): Likewise.
33409 (LC_MESSAGES): Likewise.
33410 (LC_MONETARY): Likewise.
33411 (LC_NUMERIC): Likewise.
33412 (LC_TIME): Likewise.
33413 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33414 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33415 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33416 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33418 [C99-based standards] (float_t): Expect type.
33419 [C99-based standards] (double_t): Expect type.
33420 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33422 [C99-based standards] (HUGE_VALL): Likewise.
33423 [C99-based standards] (INFINITY): Likewise.
33424 [C99-based standards] (NAN): Likewise.
33425 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33426 [C99-based standards] (FP_NAN): Likewise.
33427 [C99-based standards] (FP_NORMAL): Likewise.
33428 [C99-based standards] (FP_SUBNORMAL): Likewise.
33429 [C99-based standards] (FP_ZERO): Likewise.
33430 [C99-based standards] (FP_FAST_FMA): Use
33431 optional-macro-int-constant. Specify type. Require == 1.
33432 [C99-based standards] (FP_FAST_FMAF): Likewise.
33433 [C99-based standards] (FP_FAST_FMAL): Likewise.
33434 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33435 [C99-based standards] (FP_ILOGBNAN): Likewise.
33436 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33438 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33439 [C99-based standards] (math_errhandling): Specify type.
33440 [ISO99 || ISO11] (signgam): Do not allow.
33441 [non-C99-based standards] (copysignf): Do not allow.
33442 [non-C99-based standards] (exp2f): Likewise.
33443 [non-C99-based standards] (log2f): Likewise.
33444 [non-C99-based standards] (modff): Allow.
33445 [non-C99-based standards] (erff): Do not allow.
33446 [non-C99-based standards] (erfcf): Likewise.
33447 [non-C99-based standards] (gammaf): Likewise.
33448 [non-C99-based standards] (hypotf): Likewise.
33449 [non-C99-based standards] (j0f): Likewise.
33450 [non-C99-based standards] (j1f): Likewise.
33451 [non-C99-based standards] (jnf): Likewise.
33452 [non-C99-based standards] (lgammaf): Likewise.
33453 [non-C99-based standards] (tgammaf): Likewise.
33454 [non-C99-based standards] (y0f): Likewise.
33455 [non-C99-based standards] (y1f): Likewise.
33456 [non-C99-based standards] (ynf): Likewise.
33457 [non-C99-based standards] (isnanf): Likewise.
33458 [non-C99-based standards] (acoshf): Likewise.
33459 [non-C99-based standards] (asinhf): Likewise.
33460 [non-C99-based standards] (atanhf): Likewise.
33461 [non-C99-based standards] (cbrtf): Likewise.
33462 [non-C99-based standards] (expm1f): Likewise.
33463 [non-C99-based standards] (ilogbf): Likewise.
33464 [non-C99-based standards] (log1pf): Likewise.
33465 [non-C99-based standards] (logbf): Likewise.
33466 [non-C99-based standards] (nextafterf): Likewise.
33467 [non-C99-based standards] (remainderf): Likewise.
33468 [non-C99-based standards] (rintf): Likewise.
33469 [non-C99-based standards] (scalbf): Likewise.
33470 [non-C99-based standards] (copysignl): Likewise.
33471 [non-C99-based standards] (exp2l): Likewise.
33472 [non-C99-based standards] (log2l): Likewise.
33473 [non-C99-based standards] (modfl): Allow.
33474 [non-C99-based standards] (erfl): Do not allow.
33475 [non-C99-based standards] (erfcl): Likewise.
33476 [non-C99-based standards] (gammal): Likewise.
33477 [non-C99-based standards] (hypotl): Likewise.
33478 [non-C99-based standards] (j0l): Likewise.
33479 [non-C99-based standards] (j1l): Likewise.
33480 [non-C99-based standards] (jnl): Likewise.
33481 [non-C99-based standards] (lgammal): Likewise.
33482 [non-C99-based standards] (tgammal): Likewise.
33483 [non-C99-based standards] (y0l): Likewise.
33484 [non-C99-based standards] (y1l): Likewise.
33485 [non-C99-based standards] (ynl): Likewise.
33486 [non-C99-based standards] (isnanl): Likewise.
33487 [non-C99-based standards] (acoshl): Likewise.
33488 [non-C99-based standards] (asinhl): Likewise.
33489 [non-C99-based standards] (atanhl): Likewise.
33490 [non-C99-based standards] (cbrtl): Likewise.
33491 [non-C99-based standards] (expm1l): Likewise.
33492 [non-C99-based standards] (ilogbl): Likewise.
33493 [non-C99-based standards] (log1pl): Likewise.
33494 [non-C99-based standards] (logbl): Likewise.
33495 [non-C99-based standards] (nextafterl): Likewise.
33496 [non-C99-based standards] (remainderl): Likewise.
33497 [non-C99-based standards] (rintl): Likewise.
33498 [non-C99-based standards] (scalbl): Likewise.
33499 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33500 [non-C99-based standards] (FP_*): Do not allow.
33501 [C99-based standards] (FP_*): Change to
33502 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33503 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33505 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33506 (SIG_ERR): Likewise.
33507 [X/Open-based standards] (SIG_HOLD): Likewise.
33508 (SIG_IGN): Likewise.
33509 (SIGABRT): Use macro-int-constant. Specify type. Require
33511 (SIGFPE): Likewise.
33512 (SIGILL): Likewise.
33513 (SIGINT): Likewise.
33514 (SIGSEGV): Likewise.
33515 (SIGTER): Likewise.
33516 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33517 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33518 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33519 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33520 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33521 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33522 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33523 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33524 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33525 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33526 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33527 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33528 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33529 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33530 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33531 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33532 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33533 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33534 [X/Open-based standards] (SIGTRAP): Likewise.
33535 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33536 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33537 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33538 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33539 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33542 2012-05-08 Ian Wienand <ianw@vmware.com>
33545 * time/tzset.c (__tzset_parse_tz): Update default rules for
33546 daylight time changes in the Energy Policy Act of 2005.
33548 2012-05-09 Andreas Jaeger <aj@suse.de>
33551 * elf/ldconfig.c (parse_conf): Change string to make clear that
33552 ldconfig only issued a warning if ld.so.conf does not exist.
33554 2012-05-08 David S. Miller <davem@davemloft.net>
33556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33557 movxtod instead of popping the value on the stack.
33559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33561 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33563 * config.h.in: Add HAVE_ARM_PCS_VFP.
33565 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33568 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33569 checking but the checks are disabled for any reason.
33571 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33573 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33574 and ELF64_R_TYPE with ELFW(R_TYPE).
33576 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33578 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33579 (ulimit): Likewise.
33581 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33582 (settimeofday): Likewise.
33584 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33586 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33587 a struct th_u2 inside the union, and move tu_block/tu_code into
33588 a new th_u3 union of tu_block/tu_code inside of that. Move
33589 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33590 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33591 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33592 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33593 (th_stuff): Change to th_u1.tu_stuff.
33595 (th_msg): Change to th_u1.th_u2.tu_data.
33597 2012-05-07 David S. Miller <davem@davemloft.net>
33599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33602 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33603 (SETUP_PIC_REG): Use it.
33604 (SETUP_PIC_REG_LEAF): Use it.
33606 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33610 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33612 (EXPL_FINITE): Likewise.
33613 (FLDLOG): Likewise.
33614 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33615 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33617 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33619 (EXPL_FINITE): Likewise.
33620 (FLDLOG): Likewise.
33621 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33622 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33624 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33625 test of -max_value argument for long double.
33626 * sysdeps/i386/fpu/libm-test-ulps: Update.
33627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33629 2012-05-06 David S. Miller <davem@davemloft.net>
33631 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33632 quad soft-float symbols whose references which are compiler
33634 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33636 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33640 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33642 (EXPL_FINITE): Likewise.
33643 (FLDLOG): Likewise.
33646 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33647 Adjust comments for base varying.
33648 (__expl_finite): Change alias to EXPL_FINITE.
33649 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33651 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33652 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33653 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33654 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33655 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33657 (EXPL_FINITE): Likewise.
33658 (FLDLOG): Likewise.
33661 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33662 Adjust comments for base varying.
33663 (__expl_finite): Change alias to EXPL_FINITE.
33664 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33669 * math/libm-test.inc (check_float_internal): Correct ulp
33670 calculation for subnormal expected results.
33672 2012-05-06 Andreas Jaeger <aj@suse.de>
33674 * Makeconfig (+math-flags): New, set to -frounding-math.
33675 (+cflags): Add +math-flags so that all of glibc gets compiled with
33678 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33680 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33682 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33688 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33689 (__ieee754_expl): Allow for and saturate large arguments.
33690 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33691 (u_threshold): Likewise.
33692 (__exp): Call __ieee754_exp before checking for overflow and
33694 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33695 (u_threshold): Likewise.
33696 (__expf): Call __ieee754_expf before checking for overflow and
33698 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33699 (u_threshold): Likewise.
33700 (__expl): Call __ieee754_expl before checking for overflow and
33702 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33703 (__ieee754_expl): Allow for and saturate large arguments.
33704 * math/libm-test.inc (exp_test): Add another test. Do not allow
33705 missing overflow exception on overflow.
33706 (expm1_test): Do not allow missing overflow exception on overflow.
33708 * sysdeps/i386/fpu/e_expl.c: Move to ...
33709 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33710 rather than using inline asm.
33711 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33712 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33713 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33715 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33718 (signal): Likewise.
33722 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33724 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33725 sysdeps/unix/common/syscalls.list.
33726 (fchmod): Likewise.
33727 (fchown): Likewise.
33728 (ftruncate): Likewise.
33729 (getrusage): Likewise.
33730 (gettimeofday): Likewise.
33731 (setpgid): Likewise.
33732 (setregid): Likewise.
33733 (setreuid): Likewise.
33734 (sigaction): Likewise.
33735 (truncate): Likewise.
33736 (vhangup): Likewise.
33737 * sysdeps/unix/common/syscalls.list: Remove file.
33738 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33739 * sysdeps/unix/sysv/linux/Implies: Likewise.
33741 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33743 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33745 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33749 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33752 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33755 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33758 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33761 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33764 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33767 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33771 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33775 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33778 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33782 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33786 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33788 * sysdeps/unix/common/bits/dirent.h: Remove file.
33789 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33791 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33792 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33793 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33794 * sysdeps/unix/bsd/isatty.c: Likewise.
33795 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33796 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33797 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33799 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33802 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33803 long double comparison inaccuracies.
33804 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33807 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33809 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33812 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33815 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33816 nonzero digits before rounding a hex value.
33817 * stdlib/tst-strtod.c (tests): Add another test.
33819 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33821 * sysdeps/s390/fpu/libm-test-ulps: Update.
33823 2012-05-03 Andreas Jaeger <aj@suse.de>
33825 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33826 does not get optimized out.
33827 (malloc_opt_barrier): New.
33829 2012-05-03 Andreas Jaeger <aj@suse.de>
33830 Roland McGrath <roland@hack.frob.com>
33832 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33833 intermediate file deletion.
33834 (generated): Add .symlist files.
33836 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33839 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33840 Redirect under this condition.
33841 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33842 [__USE_GNU] (__dprintf_chk): Not under this condition.
33843 [__USE_GNU] (__vdprintf_chk): Likewise.
33844 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33845 under this condition.
33846 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33847 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33848 [__USE_XOPEN2K8] (vdprintf): Likewise.
33849 [__USE_GNU] (__dprintf_chk): Not under this condition.
33850 [__USE_GNU] (__vdprintf_chk): Likewise.
33851 [__USE_GNU] (dprintf): Likewise.
33852 [__USE_GNU] (vdprintf): Likewise.
33854 2012-05-03 Roland McGrath <roland@hack.frob.com>
33856 * elf/Makefile (common-generated): Set this instead of generated for
33857 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33858 $(all-built-dso)-derived lists.
33860 2012-05-03 Andreas Jaeger <aj@suse.de>
33862 * sysdeps/i386/fpu/libm-test-ulps: Update.
33865 * FAQ.in: Likewise.
33866 * scripts/gen-FAQ.pl: Likewise.
33867 * manual/install.texi (Installation): Point to online location of
33869 * Makefile (files-for-dist): Remove FAQ.
33872 2012-05-02 Allan McRae <allan@archlinux.org>
33874 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33875 (LDFLAGS-reldepmod5.so): Likewise.
33876 (LDFLAGS-reldep6mod1.so): Likewise.
33877 (LDFLAGS-reldep6mod4.so): Likewise.
33878 (LDFLAGS-reldep8mod3.so): Likewise.
33879 (LDFLAGS-unload4mod1.so): Likewise.
33880 (LDFLAGS-unload4mod2.so): Likewise.
33881 (LDFLAGS-tst-initorder): Likewise.
33882 (LDFLAGS-tst-initordera2.so): Likewise.
33883 (LDFLAGS-tst-initordera3.so): Likewise.
33884 (LDFLAGS-tst-initordera4.so): Likewise.
33885 (LDFLAGS-tst-initorderb2.so): Likewise.
33886 (LDFLAGS-noload): Likewise.
33887 (LDFLAGS-next): Likewise.
33888 (LDFLAGS-order2mod1.so): Likewise.
33889 (LDFLAGS-order2mod2.so): Likewise.
33890 (LDFLAGS-tst-initorder2): Likewise.
33891 (LDFLAGS-tst-initorder2a.so): Likewise.
33892 (LDFLAGS-tst-initorder2b.so): Likewise.
33893 (LDFLAGS-tst-initorder2c.so): Likewise.
33894 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33896 2012-05-02 David S. Miller <davem@davemloft.net>
33898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33900 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33903 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33905 2012-05-02 Andreas Jaeger <aj@suse.de>
33907 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33908 since we manipulate rounding mode.
33909 (CPPFLAGS-test-idouble.c): Likewise.
33910 (CPPFLAGS-test-ifloat.c): Likewise.
33911 (CFLAGS-test-ldouble.c): Likewise.
33912 (CFLAGS-test-double.c): Likewise.
33913 (CFLAGS-test-float.c): Likewise.
33914 (CFLAGS-test-misc.c): Likewise.
33915 (CFLAGS-test-test-fenv.c): Likewise.
33917 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33921 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33922 comparisons to determine direction to adjust input.
33924 2012-05-01 Roland McGrath <roland@hack.frob.com>
33926 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33927 output to the target.
33929 * scripts/localplt.awk: New file.
33930 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33931 (check-localplt-CFLAGS): Variable removed.
33932 ($(all-built-dso:=.jmprel)): New static pattern rule.
33933 (generated): Add those targets.
33934 (localplt-built-dso): New variable.
33935 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33937 * elf/check-localplt.c: File removed.
33939 * scripts/check-execstack.awk: New file.
33940 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33941 (check-execstack-CFLAGS): Variable removed.
33942 ($(objpfx)check-execstack.h): Target removed.
33943 ($(objpfx)execstack-default): New target.
33944 (generated): Add that instead of check-execstack.h.
33945 ($(all-built-dso:=.phdr)): New static pattern rule.
33946 (generated): Add those targets.
33947 * elf/check-execstack.c: File removed.
33949 * scripts/check-textrel.awk: New file.
33950 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33951 (check-textrel-CFLAGS): Variable removed.
33952 (all-built-dso): Use := to define.o
33953 ($(all-built-dso:=.dyn)): New static pattern rule.
33954 (generated): Add those targets.
33955 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33956 * config.make.in (READELF): New substituted variable.
33957 * elf/check-textrel.c: File removed.
33959 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33961 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33963 * conform/data/ctype.h-data [C99-based standards] (isblank):
33965 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33966 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33968 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33969 Specify type. Require positive value.
33970 (EILSEQ): Likewise.
33971 (ERANGE): Likewise.
33972 [ISO || POSIX] (EILSEQ): Do not expect.
33973 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33974 Specify type. Require positive value.
33975 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33976 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33977 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33978 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33979 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33980 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33984 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33985 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33986 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33991 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33993 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33994 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34000 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34001 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34006 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34007 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34008 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34009 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34010 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34011 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34012 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34013 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34014 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34015 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34016 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34017 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34018 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34019 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34020 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34021 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34022 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34023 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34024 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34025 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34026 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34027 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34028 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34029 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34030 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34031 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34032 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34033 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34034 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34035 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34036 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34037 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34038 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34039 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34040 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34041 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34042 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34043 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34044 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34045 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34046 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34047 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34048 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34049 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34050 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34051 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34053 (FLT_ROUNDS): Expect as macro, not constant.
34054 (FLT_MANT_DIG): Use macro-int-constant.
34055 (DBL_MANT_DIG): Likewise.
34056 (LDBL_MANT_DIG): Likewise.
34057 (FLT_DIG): Likewise.
34058 (DBL_DIG): Likewise.
34059 (LDBL_DIG): Likewise.
34060 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34061 (DBL_MIN_EXP): Likewise.
34062 (LDBL_MIN_EXP): Likewise.
34063 (FLT_MAX_EXP): Use macro-int-constant.
34064 (DBL_MAX_EXP): Likewise.
34065 (LDBL_MAX_EXP): Likewise.
34066 (FLT_MAX_10_EXP): Likewise.
34067 (DBL_MAX_10_EXP): Likewise.
34068 (LDBL_MAX_10_EXP): Likewise.
34069 (FLT_MAX): Use macro-constant.
34070 (DBL_MAX): Likewise.
34071 (LDBL_MAX): Likewise.
34072 (FLT_EPSILON): Use macro-constant. Give upper bound.
34073 (DBL_EPSILON): Likewise.
34074 (LDBL_EPSILON): Likewise.
34075 (FLT_MIN): Likewise.
34076 (DBL_MIN): Likewise.
34077 (LDBL_MIN): Likewise.
34078 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34079 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34080 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34081 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34082 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34083 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34084 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34085 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34086 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34087 [ISO11] (FLT_TRUE_MIN): Likewise.
34088 [ISO11] (LDBL_TRUE_MIN): Likewise.
34089 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34090 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34091 (SCHAR_MIN): Use macro-int-constant. Specify type.
34092 (SCHAR_MAX): Likewise.
34093 (UCHAR_MAX): Likewise.
34094 (CHAR_MIN): Likewise.
34095 (CHAR_MAX): Likewise.
34096 (MB_LEN_MAX): Use macro-int-constant.
34097 (SHRT_MIN): Use macro-int-constant. Specify type.
34098 (SHRT_MAX): Likewise.
34099 (USHRT_MAX): Likewise.
34100 (INT_MAX): Likewise.
34101 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34103 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34105 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34107 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34108 bound negative. Suffix upper bound with "L".
34109 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34111 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34113 [C99-based standards] (LLONG_MAX): Likewise.
34114 [C99-based standards] (ULLONG_MAX): Likewise.
34115 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34117 [ISO11] (max_align_t): Require type.
34118 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34120 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34121 from $CFLAGS, without defining away __attribute__ calls.
34122 (checknamespace): Use $CFLAGS_namespace.
34124 * conform/conformtest.pl (@keywords): Only include C99 keywords
34125 for standards based on C99 or C11.
34127 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34129 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34132 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34133 usability of symbols in #if.
34135 * conform/conformtest.pl: If macro or constant types start
34136 "promoted:", expect the symbol to be of the following type
34137 promoted by the integer promotions.
34139 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34140 in one place. Also handle "macro-constant".
34142 * conform/conformtest.pl: Only accept expected macro values with
34143 "==". Parse all "macro" lines in one place.
34144 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34146 * conform/conformtest.pl: Handle braced types on "constant" lines
34147 instead of handling "typed-constant".
34148 * conform/data/signal.h-data: Use "constant" instead of
34151 * conform/conformtest.pl: Handle "optional-" at start of lines in
34152 one place rather than duplicating several cases. Handle each
34153 format of "macro" line with initial "optional-".
34155 * conform/conformtest.pl: Only accept expected constant or
34156 optional-constant values with "==". Parse all "constant" lines in
34157 one place. Parse all "optional-constant" lines in one place.
34158 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34159 * conform/data/fmtmsg.h-data: Likewise.
34160 * conform/data/netinet/in.h-data: Likewise.
34161 * conform/data/tar.h-data: Likewise.
34162 * conform/data/limits.h-data: Use "==" form on "constant" and
34163 "optional-constant" lines.
34165 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34166 Use -std=c99 for XOPEN2K.
34167 (@knownproblems): Remove.
34168 (newtoken): Don't check %isknown.
34170 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34171 Do not expect macro.
34172 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34173 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34174 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34175 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34176 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34177 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34178 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34179 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34180 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34181 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34182 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34183 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34184 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34185 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34186 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34187 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34188 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34189 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34190 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34191 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34192 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34193 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34194 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34195 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34196 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34197 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34198 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34199 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34200 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34201 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34202 [XPG3] (acosh): Likewise.
34203 [XPG3] (asinh): Likewise.
34204 [XPG3] (atanh): Likewise.
34205 [XPG3] (cbrt): Likewise.
34206 [XPG3] (expm1): Likewise.
34207 [XPG3] (ilogb): Likewise.
34208 [XPG3] (log1p): Likewise.
34209 [XPG3] (logb): Likewise.
34210 [XPG3] (nextafter): Likewise.
34211 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34212 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34213 [XPG3] (remainder): Likewise.
34214 [XPG3] (rint): Likewise.
34215 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34216 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34217 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34218 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34219 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34220 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34222 [UNIX98 || XOPEN2K] (scalb): Expect.
34223 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34224 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34225 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34226 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34227 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34228 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34229 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34230 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34231 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34232 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34233 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34234 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34235 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34236 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34237 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34238 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34239 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34241 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34242 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34243 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34244 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34245 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34246 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34247 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34248 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34250 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34251 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34252 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34253 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34254 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34255 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34256 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34257 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34258 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34259 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34260 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34261 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34262 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34263 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34264 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34265 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34266 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34267 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34268 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34269 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34270 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34271 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34272 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34273 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34274 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34275 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34276 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34277 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34278 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34279 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34280 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34281 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34282 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34283 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34284 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34285 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34286 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34287 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34288 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34289 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34290 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34291 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34292 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34293 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34294 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34295 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34296 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34297 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34298 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34299 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34300 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34301 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34302 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34303 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34304 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34305 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34306 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34307 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34308 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34309 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34310 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34311 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34312 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34313 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34314 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34315 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34316 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34317 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34318 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34319 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34320 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34321 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34322 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34323 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34324 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34325 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34326 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34327 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34328 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34329 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34330 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34331 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34332 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34333 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34334 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34335 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34336 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34337 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34338 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34339 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34340 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34341 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34342 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34343 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34344 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34345 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34346 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34347 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34348 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34349 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34350 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34351 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34352 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34353 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34354 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34355 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34356 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34357 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34358 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34359 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34361 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34362 _XOPEN_SOURCE_EXTENDED for XPG4.
34364 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34366 * Makeconfig (localtime): Remove variable.
34367 (inst_localtime-file): Likewise.
34369 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34390 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34394 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34395 comparisons to determine direction to adjust input.
34396 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34397 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34398 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34400 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34402 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34404 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34405 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34407 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34409 * math/libm-test.inc (nexttoward_test): Add more tests.
34411 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34414 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34415 in version GLIBC_2.1, not GLIBC_2.0.
34416 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34419 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34422 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34424 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34425 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34426 * math/libm-test.inc (acos_test): Add more tests.
34427 (asin_test): Likewise.
34428 * sysdeps/i386/fpu/libm-test-ulps: Update.
34429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34432 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34434 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34435 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34436 * math/libm-test.inc (acos_test_tonearest): New function.
34437 (acos_test_towardzero): Likewise.
34438 (acos_test_downward): Likewise.
34439 (acos_test_upward): Likewise.
34440 (asin_test_tonearest): Likewise.
34441 (asin_test_towardzero): Likewise.
34442 (asin_test_downward): Likewise.
34443 (asin_test_upward): Likewise.
34444 (main): Call the new functions.
34445 * sysdeps/i386/fpu/libm-test-ulps: Update.
34446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34450 * math/e_exp10.c: Include <float.h>.
34451 (__ieee754_exp10): Handle underflow here rather than multiplying
34452 large negative argument by M_LN10.
34453 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34455 * math/e_exp10l.c: Include <float.h>.
34456 (__ieee754_exp10l): Handle underflow here rather than multiplying
34457 large negative argument by M_LN10l.
34458 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34459 spurious overflow exception on underflow.
34461 2012-04-29 Marek Polacek <polacek@redhat.com>
34463 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34464 (__fortify_function): New macro.
34465 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34466 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34467 __extern_always_inline.
34468 * libio/bits/stdio2.h: Likewise.
34469 * libio/bits/stdio.h: Likewise.
34470 * string/string.h: Likewise.
34471 * string/bits/string3.h: Likewise.
34472 * include/stdio.h: Likewise.
34473 * stdlib/bits/stdlib.h: Likewise.
34474 * stdlib/stdlib.h: Likewise.
34475 * rt/bits/mqueue2.h: Likewise.
34476 * rt/mqueue.h: Likewise.
34477 * posix/bits/unistd.h: Likewise.
34478 * posix/unistd.h: Likewise.
34479 * io/bits/poll2.h: Likewise.
34480 * io/bits/fcntl2.h: Likewise.
34481 * io/fcntl.h: Likewise.
34482 * io/sys/poll.h: Likewise.
34483 * misc/bits/syslog.h: Likewise.
34484 * misc/bits/syslog-ldbl.h: Likewise.
34485 * misc/sys/syslog.h: Likewise.
34486 * socket/bits/socket2.h: Likewise.
34487 * socket/sys/socket.h: Likewise.
34488 * debug/tst-chk1.c: Likewise.
34489 * wcsmbs/bits/wchar2.h: Likewise.
34490 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34491 * wcsmbs/wchar.h: Likewise.
34493 2012-04-29 Andreas Jaeger <aj@suse.de>
34495 * Makerules (tests): Remove enable-check-abi protection.
34496 (check-abi-warn): Remove.
34497 (check-abi-%): Remove check-abi-warn usage.
34499 * configure.in: Remove check-abi configure option.
34500 * configure: Regenerated.
34501 * config.make.in (enable-check-abi): Remove.
34503 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34506 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34507 double functions to double *_finite functions.
34510 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34511 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34513 * stdio-common/Makefile (tests): Add tst-sprintf3.
34514 * stdio-common/tst-sprintf3.c: New file.
34516 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34517 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34519 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34521 * conform/conformtest.pl: Remove duplicate typed-constant
34524 2012-04-28 David S. Miller <davem@davemloft.net>
34526 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34527 (check-abi-%): Remove AWK script prerequisite and explicit
34529 (check-abi): Rewrite to just diff the symlist with the abilist.
34530 (config-tls, config-abi-config): Delete, no longer used.
34531 (update-abi-%): Remove AWK script and explicit abilist directory.
34532 (update-abi): Rewrite to simply compare and conditionally copy the
34533 symlist and the sysdep abilist file. Remove update-abi-config
34535 * abilist/ld.abilist: Remove.
34536 * abilist/libBrokenLocale.abilist: Remove.
34537 * abilist/libanl.abilist: Remove.
34538 * abilist/libcrypt.abilist: Remove.
34539 * abilist/libdl.abilist: Remove.
34540 * abilist/librt.abilist: Remove.
34541 * abilist/libthread_db.abilist: Remove.
34542 * abilist/libutil.abilist: Remove.
34543 * scripts/extract-abilist.awk: Remove.
34544 * scripts/merge-abilist.awk: Remove.
34545 * sysdeps/generic/libcidn.abilist: New file.
34546 * sysdeps/generic/libnss_compat.abilist: New file.
34547 * sysdeps/generic/libnss_db.abilist: New file.
34548 * sysdeps/generic/libnss_dns.abilist: New file.
34549 * sysdeps/generic/libnss_files.abilist: New file.
34550 * sysdeps/generic/libnss_hesiod.abilist: New file.
34551 * sysdeps/generic/libnss_nis.abilist: New file.
34552 * sysdeps/generic/libnss_nisplus.abilist: New file.
34553 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34554 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34555 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34557 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34558 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34559 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34560 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34561 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34562 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34563 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34564 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34565 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34567 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34568 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34569 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34570 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34572 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34573 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34574 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34575 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34576 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34577 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34579 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34580 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34581 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34583 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34686 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34687 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34688 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34690 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34691 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34692 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34693 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34694 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34695 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34696 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34697 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34698 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34699 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34751 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34753 * conform/conformtest.pl: Fix typo in handling typed-constant from
34756 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34758 * README: Cut down references to pre-2.6 Linux kernels and
34759 Linuxthreads. Update lists of configurations in libc and ports
34760 and sort alphabetically. Say "or newer" with Linux kernel version
34763 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34765 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34768 * math/libm-test.inc (logb_test_downward): New test to expose
34769 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34772 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34775 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34777 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34778 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34780 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34782 * sysdeps/unix/i386/brk.S: Remove file.
34783 * sysdeps/unix/i386/dl-brk.S: Likewise.
34784 * sysdeps/unix/i386/pipe.S: Likewise.
34785 * sysdeps/unix/i386/sigreturn.S: Likewise.
34786 * sysdeps/unix/i386/syscall.S: Likewise.
34787 * sysdeps/unix/i386/vfork.S: Likewise.
34788 * sysdeps/unix/i386/wait.S: Likewise.
34790 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34791 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34793 * configure.in (arm*-none*): Do not allow without
34794 --enable-hacker-mode.
34795 (netbsd*): Remove case setting base_os.
34796 (386bsd*): Likewise.
34797 (freebsd*): Likewise.
34800 (sunos*): Likewise.
34801 (ultrix*): Likewise.
34802 (newsos*): Likewise.
34803 (dynix*): Likewise.
34809 (minix*): Likewise.
34810 (irix4*): Likewise.
34811 (irix6*): Likewise.
34812 (solaris[2-9]*): Likewise.
34814 * configure: Regenerated.
34816 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34819 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34820 overflow or cancellation in calculating denominator.
34821 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34822 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34823 down expression to avoid unexpected rounding in newer GCCs.
34824 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34826 2012-04-26 David S. Miller <davem@davemloft.net>
34828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34829 long-double compat symbols.
34830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34844 2012-04-25 David S. Miller <davem@davemloft.net>
34846 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34847 HWCAP_* values only after the memory barriers have been defined.
34848 (atomic_full_barrier): Define.
34849 (atomic_read_barrier): Define.
34850 (atomic_write_barrier): Define.
34852 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34854 * shlib-versions: Add libgcc_s version information.
34855 * sysdeps/generic/libgcc_s.h: Remove.
34856 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34858 * sysdeps/gnu/unwind-resume.c: Likewise.
34859 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34861 2012-04-25 David S. Miller <davem@davemloft.net>
34863 * sysdeps/unix/sparc/brk.S: Delete.
34864 * sysdeps/unix/sparc/dl-brk.S: Delete.
34865 * sysdeps/unix/sparc/pipe.S: Delete.
34866 * sysdeps/unix/sparc/sysdep.S: Delete.
34867 * sysdeps/unix/sparc/sysdep.h: Delete.
34868 * sysdeps/unix/sparc/vfork.S: Delete.
34869 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34870 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34871 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34872 (ret_ERRVAL, r0, r1, MOVE): Define.
34873 (JUMPTARGET): Remove.
34874 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34875 sysdeps/unix/sparc/sysdep.h
34876 (ENTRY, END): Remove.
34877 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34879 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34881 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34882 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34885 * timezone/README: Update upstream location and email address for
34887 * timezone/zdump.c: Update from tzcode 2012b.
34888 * timezone/zic.c: Likewise.
34890 * configure.in (libc_cv_as_needed): Remove test.
34891 * configure: Regenerated.
34892 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34893 conditional definition.
34894 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34895 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34896 * config.make.in (have-as-needed): Remove variable.
34898 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34899 Paul Pluzhnikov <ppluzhnikov@google.com>
34901 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34904 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34906 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34907 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34908 * sysdeps/sh/strlen.S: Likewise.
34910 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34912 * sysdeps/unix/fork.S: Remove file.
34913 * sysdeps/unix/i386/fork.S: Likewise.
34914 * sysdeps/unix/sparc/fork.S: Likewise.
34916 * sysdeps/unix/system.c: Remove file.
34917 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34919 * sysdeps/unix/getegid.S: Remove file.
34920 * sysdeps/unix/geteuid.S: Likewise.
34922 2012-04-24 Roland McGrath <roland@hack.frob.com>
34924 * scripts/check-localplt.awk: New file.
34925 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34927 * scripts/data/localplt-generic.data: Add a comment.
34929 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34930 NODE when __dir_mkfile failed.
34931 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34932 Reported by Ludovic Courtès <ludo@gnu.org>.
34934 2012-04-24 Andreas Jaeger <aj@suse.de>
34936 * Makerules (common-clean): Also remove gen-as-const-headers
34939 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34941 * Makerules (native-compile): Do not change working directory for
34942 build. Use $(OUTPUT_OPTION) in command.
34943 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34945 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34948 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34949 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34950 * math/libm-test.inc (floor_test): Add more tests.
34951 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34953 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34955 * sysdeps/unix/getdents.c: Remove file.
34956 * sysdeps/unix/sysv/getdents.c: Likewise.
34957 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34959 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34960 sysdeps/unix/mman/syscalls.list.
34962 (mprotect): Likewise.
34964 (munmap): Likewise.
34965 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34966 * sysdeps/unix/mman/syscalls.list: Remove.
34967 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34969 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34970 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34971 * configure: Regenerated.
34972 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34973 $(libgcc_s_suffix).
34974 * config.make.in (libgcc_s_suffix): Remove variable.
34976 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34978 * sysdeps/unix/sysv/gethostname.c: Move to ...
34979 * sysdeps/posix/gethostname.c: ... here.
34981 * sysdeps/unix/execve.S: Remove file.
34983 * sysdeps/unix/_exit.S: Remove file.
34985 2012-04-23 Andreas Jaeger <aj@suse.de>
34988 * manual/Makefile: Remove make dist support, there's no
34989 need for a stand-alone documentation tar ball.
34990 (TEXI2DVI): Define always, it's not in Makeconfig.
34993 (edition): Removed.
34994 (glibc-doc-$(edition).tar): Removed
34998 (ETAGS): Remove, it's in Makeconfig.
34999 (move-if-change): Remove, it's in Makeconfig.
35001 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35004 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35005 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35006 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35007 (strtod_l, strtof_l, strtold_l): Remove __wur.
35008 It is not necessarily an error to ignore strtol's return value.
35009 One can reliably look at the stored endptr to decide whether
35010 the number had valid syntax.
35012 2012-04-21 Andreas Jaeger <aj@suse.de>
35015 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35017 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35019 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35020 * sysdeps/unix/sysv/Versions: Remove file.
35022 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35027 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35030 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35031 version from __vm86.
35033 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35035 * sysdeps/unix/common/lxstat.c: Remove file.
35036 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35038 * sysdeps/unix/sysv/Makefile: Remove file.
35040 * sysdeps/unix/sysv/direct.h: Remove file.
35042 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35043 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35044 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35045 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35046 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35047 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35048 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35050 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35052 * sysdeps/unix/xmknod.c: Remove file.
35053 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35055 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35057 * sysdeps/unix/sysv/i386/time.S: Remove file.
35059 * sysdeps/unix/fxstat.c: Remove file.
35060 * sysdeps/unix/xstat.c: Likewise.
35061 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35063 * sysdeps/unix/sysv/sigaction.c: Remove file.
35065 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35066 (sysdep_headers): Remove variable.
35067 [termio.h not in sysdep_headers] (generated): Likewise.
35068 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35069 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35070 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35071 * sysdeps/unix/sysv/tcflow.c: Likewise.
35072 * sysdeps/unix/sysv/tcflush.c: Likewise.
35073 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35074 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35075 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35076 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35077 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35079 * sysdeps/unix/siglist.c: Remove file.
35081 * sysdeps/unix/getppid.S: Remove file.
35083 * sysdeps/unix/mkdir.c: Remove file.
35084 * sysdeps/unix/rmdir.c: Likewise.
35086 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35088 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35090 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35091 errlist-compat value.
35093 2012-04-18 David S. Miller <davem@davemloft.net>
35095 * sysdeps/generic/memcopy.h (reg_char): Delete.
35096 * debug/strcat_chk.c: Use char, not reg_char.
35097 * debug/strcpy_chk.c: Likewise.
35098 * debug/strncat_chk.c: Likewise.
35099 * debug/strncpy_chk.c: Likewise.
35100 * string/memchr.c: Likewise.
35101 * string/memrchr.c: Likewise.
35102 * string/rawmemchr.c: Likewise.
35103 * string/strcat.c: Likewise.
35104 * string/strchr.c: Likewise.
35105 * string/strchrnul.c: Likewise.
35106 * string/strcmp.c: Likewise.
35107 * string/strcpy.c: Likewise.
35108 * string/strncat.c: Likewise.
35109 * string/strncmp.c: Likewise.
35110 * string/strncpy.c: Likewise.
35112 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35114 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35115 __builtin_memcopy is called when src and dest ranges are known to not
35118 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35120 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35121 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35122 fwd_align_merge macro call.
35123 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35124 bwd_align_merge macro call.
35125 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35127 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35129 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35130 bwd_align_merge macros.
35131 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35132 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35133 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35135 2012-04-18 David S. Miller <davem@davemloft.net>
35137 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35139 2012-04-18 Andreas Jaeger <aj@suse.de>
35142 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35143 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35144 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35146 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35147 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35148 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35150 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35151 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35152 Adjust for changed ldbl-128 files.
35154 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35155 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35156 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35158 2012-04-17 David S. Miller <davem@davemloft.net>
35160 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35162 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35164 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35165 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35166 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35167 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35168 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35169 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35171 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35174 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35175 * math/libm-test.inc: Add ilogb errno and exception tests.
35176 * math/w_ilogb.c: New file: ilogb wrapper.
35177 * math/w_ilogbf.c: New file: ilogbf wrapper.
35178 * math/w_ilogbl.c: New file: ilogbl wrapper.
35179 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35180 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35181 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35182 exception being thrown with 0.0 as argument.
35183 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35184 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35185 exception being thrown with 0.0 as argument.
35186 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35187 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35188 exception being thrown with 0.0 as argument.
35189 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35190 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35191 exception being thrown with 0.0 as argument.
35192 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35193 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35194 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35195 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35196 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35197 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35198 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35199 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35200 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35202 2012-04-17 Petr Baudis <pasky@ucw.cz>
35204 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35207 2012-04-16 Marek Polacek <polacek@redhat.com>
35209 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35211 2012-04-16 Marek Polacek <polacek@redhat.com>
35213 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35214 operands of fdivp instruction.
35216 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35218 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35219 * elf/tst-auditmod3b.c: Likewise.
35220 * elf/tst-auditmod4b.c: Likewise.
35221 * elf/tst-auditmod5b.c: Likewise.
35222 * elf/tst-auditmod6b.c: Likewise.
35223 * elf/tst-auditmod6c.c: Likewise.
35224 * elf/tst-auditmod7b.c: Likewise.
35225 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35226 * sysdeps/x86_64/preconfigure.in: Likewise.
35227 * sysdeps/x86_64/preconfigure: Regenerated.
35229 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35231 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35234 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35236 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35237 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35239 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35242 * locale/iso-639.def: Fix gl language name. Spotted by
35245 2012-04-12 Roland McGrath <roland@hack.frob.com>
35248 * libio/libio.h (__io_write_fn): Update comment.
35250 2012-04-12 Petr Baudis <pasky@ucw.cz>
35253 * stdio.texi (Hook Functions): The user provided writer function
35254 is not allowed to return -1.
35256 2012-04-11 David S. Miller <davem@davemloft.net>
35258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35260 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35262 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35263 Add a leading slash to rtkaio.
35265 2012-04-11 Jim Meyering <meyering@redhat.com>
35268 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35269 It is not necessarily an error to ignore fwrite's return
35270 value. One can reliably use ferror to test for errors after
35273 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35275 * bits/types.h (__snseconds_t): New type.
35276 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35278 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35279 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35280 (__SNSECONDS_T_TYPE): Likewise.
35281 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35282 (__SNSECONDS_T_TYPE): Likewise.
35283 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35284 (__SNSECONDS_T_TYPE): Likewise.
35286 2012-04-10 Andreas Jaeger <aj@suse.de>
35289 * manual/time.texi (Processor Time): Return type of times is
35290 elapsed real time since an arbitrary point in the past.
35291 (CPU Time): Move CLK_TCK from here...
35292 (Processor Time): ...to here. Correct description.
35293 * manual/conf.texi (Constants for Sysconf): Correct description of
35296 2012-04-10 David S. Miller <davem@davemloft.net>
35299 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35300 where the is a gap between DT_REL(A) and DT_JMPREL.
35302 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35304 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35305 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35306 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35308 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35310 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35311 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35312 (dl_main): Handle --inhibit-cache.
35313 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35315 * elf/dl-load.c (_dl_map_object): Use it.
35316 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35318 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35321 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35322 (__ieee754_powl): Saturate large exponents rather than testing for
35323 overflow of y*log2(x).
35324 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35325 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35329 * math/s_ctan.c: Include <float.h>.
35330 (__ctan): Avoid internal overflow or cancellation in calculating
35332 * math/s_ctanf.c: Likewise.
35333 * math/s_ctanl.c: Likewise.
35334 * math/s_ctanh.c: Likewise.
35335 * math/s_ctanhf.c: Likewise.
35336 * math/s_ctanhl.c: Likewise.
35337 * math/libm-test.inc (ctan_test): Add more tests.
35338 (ctanh_test): Likewise.
35339 * sysdeps/i386/fpu/libm-test-ulps: Update.
35340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35342 2012-04-09 Andreas Jaeger <aj@suse.de>
35345 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35346 is an optional BSD extension.
35349 * manual/stdio.texi (Opening Streams): Document additional fopen
35352 2012-04-09 Roland McGrath <roland@hack.frob.com>
35354 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35355 %eax without telling the compiler.
35357 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35360 * manual/install.texi: Use sourceware.org.
35362 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35365 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35366 (__ieee754_pow): Generate overflow and underflow using huge*huge
35367 and tiny*tiny rather than just returning constant infinity or zero
35368 for large exponents.
35369 * math/libm-test.inc (pow_test): Require overflow exceptions for
35370 applicable cases of large exponents.
35373 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35374 (__ieee754_pow): Use iterative multiplication algorithm only for
35375 integer exponents with absolute value below 1024. Check for odd
35376 integer exponents when using algorithm for real exponents.
35377 * math/libm-test.inc (pow_test): Add more tests.
35378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35380 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35383 * math/libm-test.inc (exp_test): Do not allow overflow exception
35386 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35389 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35390 instead of __kernel_standard_f.
35392 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35394 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35395 * sysdeps/x86_64/memset_chk.S: Likewise.
35397 2012-04-08 Andreas Jaeger <aj@suse.de>
35400 * manual/startup.texi (Environment Access): Describe return value
35401 for putenv and setenv.
35404 * manual/filesys.texi (Directory Entries): Add description for
35408 * manual/filesys.texi (Directory Entries): Clarify that it's file
35409 system not operating system in the description of DT_UNKNOWN.
35412 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35414 2012-04-08 Stephen Compall <s11@member.fsf.org>
35417 * manual/llio.texi (Opening and Closing Files): Add cross
35418 reference to explain mode argument.
35420 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35422 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35423 * sysdeps/x86_64/memset_chk.S: Likewise.
35425 2012-04-07 David S. Miller <davem@davemloft.net>
35427 * elf/elf.h (R_SPARC_WDISP10): Define.
35428 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35430 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35431 R_SPARC_SIZE64 and R_SPARC_H34.
35433 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35435 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35436 conditions and remove no longer applicable assertion.
35438 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35440 * bits/byteswap.h: Include <features.h>.
35441 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35442 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35444 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35446 * bits/byteswap.h (__bswap_16): Removed.
35447 Include <bits/byteswap-16.h> to get __bswap_16.
35448 * sysdeps/i386/bits/byteswap.h: Likewise.
35449 * sysdeps/s390/bits/byteswap.h: Likewise.
35450 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35451 * bits/byteswap-16.h: New file.
35452 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35453 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35454 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35455 * string/Makefile (headers): Add bits/byteswap-16.h.
35457 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35460 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35462 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35463 * nss/tst-nss-static.c: New.
35465 2012-04-06 Robert Millan <rmh@gnu.org>
35468 * manual/llio.texi (File Position Primitive): lseek
35469 refers to WHENCE when it really means OFFSET.
35471 2012-04-06 Andreas Jaeger <aj@suse.de>
35473 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35474 strncmp declarations.
35476 * abilist/libc.abilist: Add __poll and __ppoll.
35478 2012-04-05 David S. Miller <davem@davemloft.net>
35480 * scripts/check-local-headers.sh: Accept a host triplet in the
35481 path matched by the exclude regexp.
35483 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35485 * sysdeps/powerpc/powerpc32/dl-machine.h
35486 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35487 * sysdeps/s390/s390-32/dl-machine.h
35488 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35489 * sysdeps/sparc/sparc32/dl-machine.h
35490 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35491 * sysdeps/sparc/sparc64/dl-machine.h
35492 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35494 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35496 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35497 undefined symbol errors.
35499 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35502 2012-04-05 Michael Matz <matz@suse.de>
35505 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35507 2012-04-05 Andreas Jaeger <aj@suse.de>
35510 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35513 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35515 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35516 which ROUND is no valid rounding mode.
35518 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35520 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35522 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35524 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35526 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35527 an exception using FPU order intentionally.
35529 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35531 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35532 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35533 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35534 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35536 2012-04-05 Simon Josefsson <simon@josefsson.org>
35539 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35540 EINVAL when BUFLEN is too smal.
35542 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35545 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35546 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35548 2012-04-03 Andreas Jaeger <aj@suse.de>
35551 * manual/setjmp.texi (System V contexts): Fix sentence.
35554 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35555 New macro for this case.
35556 [!__GNUC__] (__bswap_64): New inline function for this case.
35557 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35558 * bits/byteswap.h: Likewise.
35559 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35560 ull, guard with __GLIBC_HAVE_LONG_LONG.
35562 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35563 __GLIBC_HAVE_LONG_LONG.
35565 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35566 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35568 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35571 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35572 inptr and inend, rather than using last_ch.
35574 2012-04-02 David S. Miller <davem@davemloft.net>
35576 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35577 * stdio-common/printf-parse.h (read_int): Change return type to
35578 'int', return -1 on INT_MAX overflow.
35579 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35580 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35581 overflows INT_MAX. Check for overflow of in-format-string precision
35582 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35583 SIZE_MAX not INT_MAX for integer overflow test.
35584 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35585 skip the construct in the format string but do not record anything.
35586 * stdio-common/bug22.c: Adjust to test both width/prevision
35587 INT_MAX overflow as well as total length INT_MAX overflow. Check
35588 explicitly for proper errno values.
35590 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35592 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35594 * string/test-strcmp.c [! WIDE]: Likewise.
35595 * time/tst-mktime2.c: Likewise for INT_MAX.
35596 * string/test-string.h: #include <sys/param.h> for MIN.
35598 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35599 * sysdeps/i386/init-first.c (init): Likewise.
35600 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35601 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35602 * sysdeps/sh/init-first.c (init): Likewise.
35604 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35606 * po/ru.po: Update from translation team.
35607 * po/vi.po: Likewise.
35609 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35611 * resolv/nss_dns/dns-host.c: Merge copyright years.
35613 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35615 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35616 Optimize memcpy with prefetch if
35617 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35618 src, dst pointers have unequal 16 byte alignments.
35620 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35623 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35624 from a CNAME entry and return the minimum ttl for the query.
35625 (gaih_getanswer_slice): Likewise.
35627 2012-03-30 Jeff Law <law@redhat.com>
35629 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35631 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35632 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35634 * resolv/nss_dns/dns-host.c: Update copyright year.
35636 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35638 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35639 requests to save a system call. Fix check that all bytes are sent.
35641 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35642 comments for sendmmsg.
35644 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35647 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35648 with only 1 character between 0x0041 and 0x01b0.
35649 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35650 * wcsmbs/tst-mbsnrtowcs.c: New file.
35652 2012-03-29 David S. Miller <davem@davemloft.net>
35654 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35655 small copies by hand.
35657 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35660 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35661 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35664 2012-03-28 David S. Miller <davem@davemloft.net>
35666 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35667 that branches into memcpy.
35668 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35669 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35670 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35671 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35672 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35674 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35675 implementation too.
35676 * sysdeps/sparc/mempcpy.S: New file.
35678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35679 the IFUNC routine in the libc case.
35680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35682 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35683 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35684 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35685 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35686 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35687 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35688 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35689 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35691 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35692 loop to 256 bytes instead of 64 bytes and fix test signedness.
35694 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35695 * sysdeps/sparc/sparc32/Makefile: rather than here...
35696 * sysdeps/sparc/sparc64/Makefile: and here.
35698 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35700 * malloc/mallocbug.c: Avoid warnings about unused variables.
35702 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35705 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35706 in the right place. Discard and retry query if response is
35707 larger than input buffer size.
35709 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35714 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35715 x for large integer exponent.
35716 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35717 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35718 sign of result as needed afterwards.
35719 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35720 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35721 result for underflowing pow the same as for overflow.
35722 (__kernel_standard_l): Handle powl overflow and underflow here
35723 rather than calling __kernel_standard.
35724 * math/libm-test.inc (pow_test): Add more tests.
35739 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35740 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35741 (__kernel_standard_l): New function.
35742 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35744 * math/w_acosl.c (__acosl): Likewise.
35745 * math/w_asinl.c (__asinl): Likewise.
35746 * math/w_atan2l.c (__atan2l): Likewise.
35747 * math/w_atanhl.c (__atanhl): Likewise.
35748 * math/w_coshl.c (__coshl): Likewise.
35749 * math/w_exp10l.c (__exp10l): Likewise.
35750 * math/w_exp2l.c (__exp2l): Likewise.
35751 * math/w_fmodl.c (__fmodl): Likewise.
35752 * math/w_hypotl.c (__hypotl): Likewise.
35753 * math/w_j0l.c (__j0l, __y0l): Likewise.
35754 * math/w_j1l.c (__j1l, __y1l): Likewise.
35755 * math/w_jnl.c (__jnl, __ynl): Likewise.
35756 * math/w_lgammal.c (__lgammal): Likewise.
35757 * math/w_log10l.c (__log10l): Likewise.
35758 * math/w_log2l.c (__log2l): Likewise.
35759 * math/w_logl.c (__logl): Likewise.
35760 * math/w_powl.c (__powl): Likewise.
35761 * math/w_remainderl.c (__remainderl): Likewise.
35762 * math/w_scalbl.c (sysv_scalbl): Likewise.
35763 * math/w_sinhl.c (__sinhl): Likewise.
35764 * math/w_sqrtl.c (__sqrtl): Likewise.
35765 * math/w_tgammal.c (__tgammal): Likewise.
35766 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35767 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35768 * math/libm-test.inc (acos_test): Add more tests.
35769 (acosh_test): Likewise.
35770 (asin_test): Likewise.
35771 (atanh_test): Likewise.
35772 (exp_test): Likewise.
35773 (exp10_test): Likewise.
35774 (exp2_test): Likewise.
35775 (expm1_test): Likewise.
35776 (lgamma_test): Likewise.
35777 (log_test): Likewise.
35778 (log10_test): Likewise.
35779 (log1p_test): Likewise.
35780 (log2_test): Likewise.
35781 (pow_test): Do not allow some spurious overflow exceptions.
35782 (sqrt_test): Add more tests.
35783 (tgamma_test): Likewise.
35784 (y0_test): Likewise.
35785 (y1_test): Likewise.
35786 (yn_test): Likewise.
35788 2012-03-27 Anton Blanchard <anton@samba.org>
35790 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35792 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35793 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35794 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35796 2012-03-27 David S. Miller <davem@davemloft.net>
35798 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35800 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35801 have-as-vis3 check.
35803 2012-03-27 Andreas Jaeger <aj@suse.de>
35805 * sysdeps/x86_64/elf/configure.in: Moved to ...
35806 * sysdeps/x86_64/configure.in: ... here.
35807 * sysdeps/x86_64/elf/start.S: Moved to ...
35808 * sysdeps/x86_64/start.S: ... here.
35809 * sysdeps/x86_64/elf/configure: Delete.
35811 * sysdeps/x86_64/configure.in: Merge contents from
35812 sysdeps/i386/configure.in (without i686 check).
35814 * sysdeps/i386/elf/Versions: Merge into ...
35815 * sysdeps/i386/Versions: ... this.
35816 * sysdeps/i386/elf/Versions: Delete file.
35817 * sysdeps/i386/elf/start.S: Moved to ...
35818 * sysdeps/i386/start.S: ...here.
35819 * sysdeps/i386/elf/configure.in: Merge into...
35820 * sysdeps/i386/configure.in: ...here.
35821 * sysdeps/i386/elf/configure.in: Delete file.
35822 * sysdeps/i386/elf/configure: Delete file.
35824 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35825 * debug/backtracesyms.c: ... here.
35826 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35827 * debug/backtracesymsfd.c: ... here.
35828 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35829 * sysdeps/generic/ifunc-sel.h: ... here.
35831 * sysdeps/unix/i386/start.c: Delete file.
35832 * sysdeps/unix/sparc/start.c: Delete file.
35833 * sysdeps/unix/start.c: Delete file.
35835 * sysdeps/sh/elf/configure.in: Moved to ...
35836 * sysdeps/sh/configure.in: ... here.
35837 * sysdeps/sh/elf/start.S: Moved to ...
35838 * sysdeps/sh/start.S: ... here.
35839 * sysdeps/sh/elf/configure: Delete file.
35841 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35842 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35843 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35844 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35845 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35846 * sysdeps/powerpc/powerpc64/start.S: here.
35847 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35848 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35849 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35850 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35851 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35853 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35854 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35855 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35856 * sysdeps/powerpc/powerpc32/start.S: ... here.
35857 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35858 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35859 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35861 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35862 * sysdeps/powerpc/ifunc-sel.h: ... here.
35863 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35864 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35866 * sysdeps/sparc/elf/configure.in: Moved to ...
35867 * sysdeps/sparc/configure.in: ... here.
35868 * sysdeps/sparc/elf/configure: Delete file.
35869 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35870 * sysdeps/sparc/sparc32/start.S: ... here.
35871 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35872 * sysdeps/sparc/sparc64/start.S: ... here.
35873 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35874 * sysdeps/sparc/sparc32/Makefile: ... this.
35875 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35876 * sysdeps/sparc/sparc64/Makefile: ... this.
35878 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35879 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35880 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35881 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35882 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35883 * sysdeps/s390/s390-32/setjmp.S: ... here.
35884 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35885 * sysdeps/s390/s390-32/configure.in: ... here.
35886 * sysdeps/s390/s390-32/elf/configure: Delete file.
35887 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35888 * sysdeps/s390/s390-32/start.S: ... here.
35890 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35891 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35892 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35893 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35894 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35895 * sysdeps/s390/s390-64/setjmp.S: ... here.
35896 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35897 * sysdeps/s390/s390-64/configure.in: ... here
35898 * sysdeps/s390/s390-64/elf/configure: Delete file.
35899 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35900 * sysdeps/s390/s390-64/start.S: ... here.
35901 * sysdeps/s390/s390-64/elf/configure: Delete.
35903 * configure.in: Remove support for elf directories in sysdeps.
35905 * configure: Regenerated.
35906 * sysdeps/i386/configure: Regenerated.
35907 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35908 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35909 * sysdeps/s390/s390-32/configure: Regenerated.
35910 * sysdeps/s390/s390-64/configure: Regenerated.
35911 * sysdeps/sh/configure: Regenerated.
35912 * sysdeps/sparc/configure: Regenerated.
35913 * sysdeps/x86_64/configure: Regenerated.
35915 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35919 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35920 denormal result into account.
35922 2012-03-25 Roland McGrath <roland@hack.frob.com>
35924 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35925 Reported by Allan McRae <allan@archlinux.org>.
35927 2012-03-23 Jeff Law <law@redhat.com>
35929 * nss/getnssent.c (__nss_getent): Fix typo.
35931 2012-03-23 David S. Miller <davem@davemloft.net>
35933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35935 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35937 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35938 to pad to uint64_t for each field.
35939 (dl_tls_index): Replace unsigned long with uint64_t.
35941 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35942 Paul Pluzhnikov <ppluzhnikov@google.com>
35945 * grp/Makefile (otherlibs): Don't set it.
35946 * inet/Makefile (otherlibs): Likewise.
35947 * login/Makefile (otherlibs): Likewise.
35948 * nscd/Makefile (otherlibs): Likewise.
35949 * posix/Makefile (otherlibs): Likewise.
35950 * pwd/Makefile (otherlibs): Likewise.
35951 * rt/Makefile (otherlibs): Likewise.
35952 * sunrpc/Makefile (otherlibs): Likewise.
35953 * nss/Makefile (otherlibs): Likewise.
35954 Add libnss_files to routines and static-only-routines.
35955 ($(objpfx)getent): Remove rule.
35956 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35957 static-only-routines.
35959 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35962 * math/s_cexp.c: Include <float.h>.
35963 (__cexp): Handle exp result overflowing not necessarily
35964 overflowing both real and imaginary parts of result.
35965 * math/s_cexpf.c: Likewise.
35966 * math/s_cexpl.c: Likewise.
35967 * math/libm-test.inc (cexp_test): Add more tests.
35968 * sysdeps/i386/fpu/libm-test-ulps: Update.
35969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35971 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35973 * include/link.h (ELFW): New macro.
35974 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35975 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35977 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35979 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35982 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35984 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35986 (struct La_x32_retval): Likewise.
35988 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35990 * sysdeps/x86_64/preconfigure.in: New file.
35991 * sysdeps/x86_64/preconfigure: New generated file.
35993 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35996 * math/e_exp2l.c: Include <float.h>.
35997 (__ieee754_exp2l): Handle overflow and underflow cases
35998 separately. Only pass fractional part of argument to
36000 * math/libm-test.inc (exp2_test): Add more tests.
36002 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36003 negating x to take absolute value.
36004 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36006 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36007 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36009 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36010 computing low part if x was negated.
36011 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36013 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36015 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36016 la_x32_gnu_pltexit.
36017 (pltexit): Cast int_retval to ptrdiff_t.
36018 * elf/tst-auditmod3b.c: Likewise.
36019 * elf/tst-auditmod4b.c: Likewise.
36020 * elf/tst-auditmod5b.c: Likewise.
36021 * elf/tst-auditmod6b.c: Likewise.
36022 * elf/tst-auditmod6c.c: Likewise.
36023 * elf/tst-auditmod7b.c: Likewise.
36025 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36026 and x32_gnu_pltexit.
36028 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36029 __ELF_NATIVE_CLASS.
36030 (La_x32_regs): New macro.
36031 (La_x32_retval): Likewise.
36032 (la_x32_gnu_pltenter): New function prototype.
36033 (la_x32_gnu_pltexit): Likewise.
36035 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36037 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36042 * configure.in (libc_cv_cc_nofma): Check for option to disable
36043 generation of FMA instructions.
36044 * configure: Regenerate.
36045 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36046 * sysdeps/ieee754/dbl-64/Makefile: New file.
36047 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36048 Remove brandred-fma4.
36049 (CFLAGS-brandred-fma4.c): Remove.
36050 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36051 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36053 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36056 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36058 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36059 LLONG_MAX != LONG_MAX.
36060 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36061 (_fitoa_word): Likewise.
36062 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36063 LLONG_MAX != LONG_MAX.
36064 * stdio-common/_itowa.h: Include <_itoa.h>.
36065 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36066 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36067 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36068 only if not defined.
36069 (_ITOA_WORD_TYPE): Likewise.
36070 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36071 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36073 2012-03-21 David S. Miller <davem@davemloft.net>
36075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36077 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36079 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36080 of x86_64 when setting libc_cv_slibdir, libdir and
36082 * sysdeps/unix/sysv/linux/configure: Regenerated.
36084 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36086 * manual/lang.texi (Old Varargs): Remove section.
36087 (How Variadic): Update menu.
36088 (va_start): Do not mention varargs.h.
36090 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36091 Joseph Myers <joseph@codesourcery.com>
36093 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36095 * configure: Regenerated.
36097 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36099 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36100 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36103 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36106 * Makefile (files-for-dist): Remove NOTES.
36107 (NOTES): Remove rule.
36108 * README: Don't refer to NOTES.
36109 * manual/creature.texi: Don't include macros.texi.
36110 * manual/intro.texi (creature.texi): Remove comment referring to
36113 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36114 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36115 * configure: Regenerated.
36116 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36117 LIBC_TRY_CC_OPTION.
36118 (libc_cv_as_i686): Likewise.
36119 (libc_cv_cc_avx): Likewise.
36120 (libc_cv_cc_sse2avx): Likewise.
36121 (libc_cv_cc_fma4): Likewise.
36122 (libc_cv_cc_novzeroupper): Likewise.
36123 * sysdeps/i386/configure: Regenerated.
36126 * sysdeps/i386/fpu/s_cexp.S: Remove.
36127 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36128 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36129 * math/libm-test.inc (cexp_test): Add more tests.
36130 * sysdeps/i386/fpu/libm-test-ulps: Update.
36131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36133 2012-03-21 Allan McRae <allan@archlinux.org>
36135 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36137 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36140 * math/w_exp2.c: Do not include <float.h>.
36141 (o_threshold, u_threshold): Remove.
36142 (__exp2): Calculate result before checking finiteness and calling
36144 * math/w_exp2f.c: Likewise.
36145 * math/w_exp2l.c: Likewise.
36146 * math/libm-test.inc (exp2_test): Require overflow exception for
36150 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36151 range of signed 64-bit integers before using fistpll. Remove
36152 checks for whether integers fit in mantissa bits.
36153 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36154 the range of signed 32-bit integers before using fistpl. Remove
36155 checks for whether integers fit in mantissa bits.
36156 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36157 (__ieee754_powl): Test for y outside the range of signed 64-bit
36158 integers before using fistpll. Reduce 64-bit values to 63-bit
36160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36161 divide-by-zero is raised for zero to large negative powers.
36162 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36163 (__ieee754_powl): Test for y outside the range of signed 64-bit
36164 integers before using fistpll. Reduce 64-bit values to 63-bit
36166 * math/libm-test.inc (pow_test): Add more tests.
36168 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36170 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36171 <stdio-common/_itoa.h>.
36172 * debug/segfault.c: Likewise.
36173 * elf/dl-cache.c: Likewise.
36174 * elf/dl-minimal.c: Likewise.
36175 * elf/dl-misc.c: Likewise.
36176 * elf/dl-sysdep.c: Likewise.
36177 * elf/dl-version.c: Likewise.
36178 * elf/rtld.c: Likewise.
36179 * hurd/hurdsock.c: Likewise.
36180 * hurd/lookup-retry.c: Likewise.
36181 * malloc/malloc.c: Likewise.
36182 * malloc/mtrace.c: Likewise.
36183 * nscd/nscd_getgr_r.c: Likewise.
36184 * nscd/nscd_getpw_r.c: Likewise.
36185 * nscd/nscd_getserv_r.c: Likewise.
36186 * posix/getopt_init.c: Likewise.
36187 * posix/wordexp.c: Likewise.
36188 * stdio-common/_itoa.c: Likewise.
36189 * stdio-common/printf_fphex.c: Likewise.
36190 * stdio-common/vfprintf.c: Likewise.
36191 * string/_strerror.c: Likewise.
36192 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36193 * sysdeps/i386/i686/hp-timing.h: Likewise.
36194 * sysdeps/mach/_strerror.c: Likewise.
36195 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36196 * sysdeps/mach/hurd/sethostid.c: Likewise.
36197 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36198 * sysdeps/mach/xpg-strerror.c: Likewise.
36199 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36200 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36201 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36202 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36203 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36204 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36205 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36206 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36207 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36208 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36209 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36210 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36211 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36212 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36213 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36214 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36215 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36216 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36217 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36218 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36219 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36221 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36223 * stdio-common/_itoa.h: Moved to ...
36224 * sysdeps/generic/_itoa.h: Here.
36226 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36228 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36229 instead of "_itoa.h" and "_itowa.h".
36230 * stdio-common/vfprintf.: Likewise.
36232 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36234 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36236 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36237 (__signbit): Likwise.
36238 (llrintf): Likwise.
36241 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36243 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36246 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36248 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36249 OVERFLOW_EXCEPTION_OK.
36250 * math/libm-test.inc ("Philosophy"): Update comment about
36252 (OVERFLOW_EXCEPTION): Define.
36253 (OVERFLOW_EXCEPTION_OK): Likewise.
36254 (INVALID_EXCEPTION_OK): Renumber.
36255 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36256 (IGNORE_ZERO_INF_SIGN): Likewise.
36257 (test_exceptions): Handle FE_OVERFLOW.
36258 (exp10_test): Expect overflow exceptions.
36259 (exp2_test): Likewise.
36260 (expm1_test): Likewise.
36261 (nextafter_test): Likewise.
36262 (pow_test): Likewise.
36263 (scalbn_test): Likewise.
36264 (scalbln_test): Likewise.
36266 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36268 * sysdeps/x86_64/bits/atomic.h
36269 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36271 (atomic_exchange_acq): Likewise.
36272 (__arch_exchange_and_add_body): Likewise.
36273 (__arch_add_body): Likewise.
36274 (atomic_add_negative): Likewise.
36275 (atomic_add_zero): Likewise.
36277 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36279 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36280 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36282 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36284 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36285 Check __x86_64__ instead of __WORDSIZE.
36287 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36289 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36291 2012-03-19 David S. Miller <davem@davemloft.net>
36293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36295 * sysdeps/sparc/fpu/fenv_private.h: New file.
36296 * sysdeps/sparc/fpu/math_private.h: Use it.
36297 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36299 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36300 (libc_feholdexcept_setroundl): Remove.
36301 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36303 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36304 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36306 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36308 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36309 int64_t instead of long int.
36310 (INSERT_WORDS64): Likwise.
36312 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36314 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36315 _Unwind_GetCFA return to _Unwind_Ptr first.
36317 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36320 * math/s_clog.c: Include <float.h>.
36321 (__clog): Scale large or subnormal inputs.
36322 * math/s_clogf.c: Likewise.
36323 * math/s_clogl.c: Likewise.
36324 * math/s_clog10.c: Include <float.h>.
36325 (M_LOG10_2): Define.
36326 (__clog10): Scale large or subnormal inputs.
36327 * math/s_clog10f.c: Likewise.
36328 * math/s_clog10l.c: Likewise.
36329 * math/libm-test.inc (clog_test): Add more tests.
36330 (clog10_test): Likewise.
36331 * sysdeps/i386/fpu/libm-test-ulps: Update.
36332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36335 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36337 * math/libm-test.inc (atan2_test): Add another test.
36339 * Makerules (common-objdir-compile): Remove.
36340 * sysdeps/unix/Makefile (config-generated): Do not add
36341 $(unix-generated) to variable.
36342 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36343 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36345 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36347 [generic bits/local_lim.h] (before-compile): Do not append to
36349 [generic bits/local_lim.h] (common-generated): Likewise.
36350 [generic sys/param.h] (before-compile): Do not append to variable.
36351 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36352 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36353 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36354 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36356 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36357 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36358 [generic sys/param.h] ($(addprefix
36359 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36360 [generic sys/param.h] (common-generated): Do not append to
36362 [generic sys/param.h] (sysdep_headers): Likewise.
36363 [generic bits/errno.h] (before-compile): Do not append to
36365 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36367 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36368 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36369 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36370 [generic bits/errno.h] (common-generated): Do not append to
36372 [generic bits/ioctls.h] (before-compile): Do not append to
36374 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36376 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36377 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36378 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36380 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36381 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36382 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36383 [generic bits/ioctls.h] (common-generated): Do not append to
36385 [generic sys/syscall.h] (syscall.h): Remove variable.
36386 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36388 [generic sys/syscall.h] (before-compile): Do not append to
36390 [generic sys/syscall.h] (common-generated): Likewise.
36391 * sysdeps/unix/errnos-tmpl.c: Remove file.
36392 * sysdeps/unix/errnos.awk: Likewise.
36393 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36394 * sysdeps/unix/ioctls.awk: Likewise.
36395 * sysdeps/unix/mk-local_lim.c: Likewise.
36396 * sysdeps/unix/snarf-ioctls: Likewise.
36398 2012-03-19 Richard Henderson <rth@twiddle.net>
36400 * sysdeps/i386/fpu/fenv_private.h: New file.
36401 * sysdeps/i386/fpu/math_private.h: Use it.
36402 (math_opt_barrier, math_force_eval): Remove.
36403 (libc_feholdexcept_setround_53bit): Remove.
36404 (libc_feupdateenv_53bit): Remove.
36405 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36406 (math_opt_barrier, math_force_eval): Remove.
36407 (libc_feholdexcept): Remove.
36408 (libc_feholdexcept_setround): Remove.
36409 (libc_fetestexcept, libc_fesetenv): Remove.
36410 (libc_feupdateenv_test): Remove.
36411 (libc_feupdateenv, libc_feholdsetround): Remove.
36412 (libc_feresetround): Remove.
36414 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36415 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36417 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36418 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36419 (libc_feupdateenv_testl): New.
36420 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36421 (libc_feupdateenv_testf): New.
36422 (libc_feupdateenv): Use libc_feupdateenv_test.
36423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36424 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36426 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36427 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36428 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36429 (libc_feresetround_noex): New.
36430 (libc_feresetround_noexf): New.
36431 (libc_feresetround_noexl): New.
36432 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36433 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36434 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36435 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36437 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36438 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36440 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36441 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36442 SET_RESTORE_ROUND_NOEX.
36443 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36444 SET_RESTORE_ROUND_NOEXF.
36445 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36446 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36447 (libc_feholdsetroundf): New.
36448 (libc_feresetround, libc_feresetroundf): New.
36450 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36451 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36452 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36454 * sysdeps/generic/math_private.h: Include <fenv.h>.
36455 (default_libc_feholdexcept): New.
36456 (default_libc_feholdexcept_setround): New.
36457 (default_libc_fesetenv, default_libc_feupdateenv): New.
36458 (libc_feholdexcept): Only define if undefined.
36459 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36460 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36461 (libc_feholdexcept_setroundl): Likewise.
36462 (libc_feholdexcept_setround_53bit): Likewise.
36463 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36464 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36465 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36466 (libc_feupdateenv_53bit): Likewise.
36467 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36468 (libc_feholdexcept): Convert from macro to inline function.
36469 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36470 (libc_fesetenv, libc_feupdateenv): Likewise.
36472 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36473 not previously defined.
36474 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36475 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36476 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36477 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36478 * sysdeps/ieee754/flt-32/math_private.h: New file.
36479 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36480 math_private.h below SET_FLOAT_WORD.
36481 (__isnan, __isinf_ns, __finite): Remove.
36482 (__isnanf, __isinf_nsf, __finitef): Remove.
36484 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36488 2012-03-17 David S. Miller <davem@davemloft.net>
36491 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36494 2012-03-16 David S. Miller <davem@davemloft.net>
36496 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36500 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36502 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36503 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36504 sysdep_routines when subdir is sysvipc.
36505 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36506 __getshmlba helper.
36508 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36510 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36512 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36515 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36517 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36518 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36519 (__lround): Renamed to ...
36520 (__llround): This. Replace long int with long long int.
36521 Define lround functions as aliases of llround functions.
36522 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36524 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36526 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36527 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36528 adresses to uintptr_t. Replace "long int" and "unsigned long
36529 int" with "greg_t" on va_arg.
36531 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36533 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36534 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36536 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36537 Move e_machine check before EI_CLASS check. Handle x32
36538 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36539 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36540 SKIP_EM_IA_64 and include
36541 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36543 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36544 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36545 (add_system_dir): New macro.
36547 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36548 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36550 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36561 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36563 * math/w_j0f.c (j0f): Likewise.
36565 * math/w_j0l.c (__j0l): Likewise.
36567 * math/w_j1.c (j1): Likewise.
36569 * math/w_j1f.c (j1f): Likewise.
36571 * math/w_j1l.c (__j1l): Likewise.
36573 * math/w_jn.c (jn): Likewise.
36575 * math/w_jnf.c (jnf): Likewise.
36577 * math/w_jnl.c (__jnl): Likewise.
36579 * math/libm-test.inc (j0_test): Add more tests.
36580 (j1_test): Likewise.
36581 (jn_test): Likewise. Add trailing semicolon to existing test.
36582 (y0_test): Likewise.
36583 (y1_test): Likewise.
36584 * sysdeps/i386/fpu/libm-test-ulps: Update.
36585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36589 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36590 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36591 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36592 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36593 (__tanl): Set errno for infinite argument.
36594 * sysdeps/i386/fpu/mptan.c: Remove.
36595 * sysdeps/i386/fpu/s_tan.S: Likewise.
36596 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36597 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36598 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36599 * math/libm-test.inc (tan_test): Add more tests and enable more
36600 tests for double and long double.
36601 * sysdeps/i386/fpu/libm-test-ulps: Update.
36602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36604 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36606 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36607 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36609 2012-03-16 Roland McGrath <roland@hack.frob.com>
36611 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36612 * configure.in: Use it for both main tree and add-ons.
36613 * configure: Regenerated.
36615 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36617 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36619 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36621 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36625 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36626 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36627 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36628 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36629 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36631 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36632 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36633 != 0 for prec == 2.
36634 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36635 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36636 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36637 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36638 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36639 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36640 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36641 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36642 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36643 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36644 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36645 * math/libm-test.inc (cos_test): Add more tests and enable more
36646 tests for long double.
36647 (sin_test): Likewise.
36648 (sincos_test): Likewise.
36649 * sysdeps/i386/fpu/libm-test-ulps: Update.
36650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36652 2012-03-16 David S. Miller <davem@davemloft.net>
36654 * sysdeps/sparc/fpu/math_private.h: New file.
36656 2012-03-15 David S. Miller <davem@davemloft.net>
36658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36668 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36672 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36673 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36675 * sysdeps/sparc/sparc-ifunc.h: New file.
36676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36702 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36714 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36716 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36718 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36721 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36723 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36727 2012-03-15 Andreas Jaeger <aj@suse.de>
36730 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36731 ieee754/flt-32 implementation for sin, cos and sincos.
36732 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36733 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36734 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36735 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36736 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36737 ieee754/flt-32 implementation for tan.
36739 * math/libm-test.inc (cos_test): Enable some large input tests for
36741 (sin_test): Likewise.
36742 (sincos_test): Likewise.
36743 (tan_test): Add tests for large input.
36745 * sysdeps/i386/fpu/libm-test-ulps: Update.
36747 2012-03-15 Andreas Jaeger <aj@suse.de>
36750 * math/libm-test.inc (cos_test): Add more test cases.
36751 (sin_test): Likewise.
36752 (sincos_test): Likewise.
36754 2012-03-15 Andreas Jaeger <aj@suse.de>
36757 * math/libm-test.inc (cos_test): Add a test case for large input
36759 (sin_test): Likewise.
36760 (sincos_test): Likewise.
36762 2012-03-15 Andreas Jaeger <aj@suse.de>
36763 Joseph Myers <joseph@codesourcery.com>
36766 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36767 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36768 * sysdeps/i386/fpu/branred.c: Likewise.
36769 * sysdeps/i386/fpu/dosincos.c: Likewise.
36770 * sysdeps/i386/fpu/mpa.c: Likewise.
36771 * sysdeps/i386/fpu/s_cos.S: Likewise.
36772 * sysdeps/i386/fpu/s_sin.S: Likewise.
36773 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36774 * sysdeps/i386/fpu/sincos32.c: Likewise.
36776 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36778 (libc_feupdateenv_53bit): Define.
36779 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36781 (libc_feupdateenv_53bit): Define.
36783 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36784 53 bit (without extend i386 double precision).
36786 * math/libm-test.inc (sincos_test): Add tests for large input.
36790 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36792 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36796 2012-03-15 David S. Miller <davem@davemloft.net>
36798 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36799 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36800 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36801 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36825 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36826 fmin/fmax sysdep routines.
36827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36829 2012-03-14 David S. Miller <davem@davemloft.net>
36831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36835 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36836 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36837 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36838 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36839 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36840 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36843 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36851 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36852 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36855 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36856 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36857 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36858 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36903 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36908 * sysdeps/sparc/configure.in: New file.
36909 * sysdeps/sparc/configure: Generate.
36910 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36911 * configure: Regenerate.
36912 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36913 * config.make.in (have-as-vis3): New.
36914 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36915 available use -Av9d instead of -Av9a.
36916 * sysdeps/sparc/sparc64/Makefile: Likewise.
36917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36926 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36927 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36928 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36932 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36933 fzeros/fnegs to load 0x80000000 into a float register instead of
36935 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36937 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36941 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36942 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36943 ($(inst_includedir)/bits/syscall.h): Remove rule.
36944 ($(objpfx)bits/syscall.d): Include instead of
36945 $(objpfx)syscall-list.d.
36946 (generated): Change syscall-list.h and syscall-list.d to
36947 bits/syscall.h and bits/syscall.d.
36949 2012-03-14 Roland McGrath <roland@hack.frob.com>
36952 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36954 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36957 * math/s_csqrt.c: Include <float.h>.
36958 (__csqrt): Scale large or subnormal inputs.
36959 * math/s_csqrtf.c: Likewise.
36960 * math/s_csqrtl.c: Likewise.
36961 * math/libm-test.inc (csqrt_test): Add more tests.
36962 * sysdeps/i386/fpu/libm-test-ulps: Update.
36963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36966 * math/libm-test.inc (hypot_test): Add more tests.
36968 2012-03-13 David S. Miller <davem@davemloft.net>
36971 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36972 double-precision for the calculation instead of scaling.
36974 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36976 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36977 manipulate bits before adding and subtracting TWO52[sx].
36978 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36979 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36981 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36983 2012-03-13 David S. Miller <davem@davemloft.net>
36985 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36986 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36987 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36988 rtld-global-offsets.h
36989 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36991 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36994 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36996 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36997 'err' in the ifdef scope in which it is actually used.
36999 * nss/nss_db/db-init.c: Include string.h
37001 2012-03-12 David S. Miller <davem@davemloft.net>
37003 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37004 masking out of the most significant byte of random value used.
37005 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37006 Fix coding style in previous change.
37008 * sysdeps/unix/sysv/linux/kernel-features.h
37009 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37010 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37012 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37015 2012-03-11 David S. Miller <davem@davemloft.net>
37017 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37018 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37019 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37020 for 'resultvar' otherwise things get truncated on 64-bit.
37022 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37023 Fix masking out of the most significant byte of random value used.
37025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37027 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37031 2012-03-09 David S. Miller <davem@davemloft.net>
37033 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37034 variables with appropriate CPP guards.
37035 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37036 from the frame pointer, not the stack pointer. Correct layout
37037 comments. Fix test on resulting framesize and the management of
37038 the outregs buffer for pltexit. Preserve floating point return
37039 values across _dl_call_pltexit call.
37040 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37041 framesize and the management of the outregs buffer for pltexit.
37042 Preserve floating point return values across _dl_call_pltexit
37044 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37045 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37046 (la_sparc64_gnu_pltexit): New functions.
37047 (print_exit): Fix format string for return register value.
37049 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37051 * sunrpc/Makefile (others): Add rpcgen.
37052 ($(objpfx)rpcgen): Remove special build rule and dependency on
37054 * sunrpc/rpcgen.c: New file.
37056 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37059 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37060 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37061 * sysdeps/i386/crti.S: Likewise.
37062 * sysdeps/i386/crtn.S: Likewise.
37063 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37064 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37065 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37066 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37067 * sysdeps/sh/crti.S: Likewise.
37068 * sysdeps/sh/crtn.S: Likewise.
37069 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37072 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37074 * locale/programs/locfile-kw.gperf: Likewise.
37075 * locale/programs/charmap-kw.h: Regenerated.
37076 * locale/programs/locfile-kw.h: Likewise.
37079 * intl/plural.y: Replace FSF snail mail address with URL.
37080 * intl/plural.c: Regenerated.
37082 2012-03-09 Richard Henderson <rth@twiddle.net>
37084 * include/math_private.h: Remove file.
37085 * math/math_private.h: Move file ...
37086 * sysdeps/generic/math_private.h: ... here.
37088 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37089 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37090 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37092 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37093 and <math_private.h>.
37094 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37095 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37096 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37097 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37098 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37099 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37100 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37103 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37111 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37112 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37113 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37115 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37116 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37118 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37119 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37120 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37138 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37139 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37140 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37141 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37142 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37143 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37144 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37145 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37146 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37147 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37148 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37149 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37150 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37151 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37152 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37153 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37154 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37155 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37156 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37157 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37158 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37159 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37160 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37161 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37162 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37163 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37164 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37165 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37166 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37167 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37168 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37172 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37173 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37174 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37175 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37176 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37177 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37178 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37180 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37181 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37182 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37183 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37184 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37185 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37186 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37187 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37188 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37189 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37190 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37191 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37192 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37193 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37194 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37195 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37196 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37197 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37198 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37199 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37200 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37201 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37202 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37203 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37204 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37205 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37206 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37207 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37208 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37209 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37210 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37211 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37212 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37213 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37214 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37215 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37216 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37217 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37218 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37219 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37220 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37221 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37222 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37223 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37224 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37225 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37226 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37227 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37228 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37229 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37230 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37231 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37232 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37233 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37234 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37235 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37236 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37237 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37238 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37239 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37240 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37241 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37242 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37243 * sysdeps/ieee754/k_standard.c: Likewise.
37244 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37245 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37246 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37271 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37272 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37273 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37275 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37276 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37277 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37278 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37280 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37282 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37285 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37286 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37288 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37290 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37291 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37292 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37293 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37294 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37295 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37296 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37297 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37299 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37300 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37301 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37302 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37303 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37305 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37306 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37307 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37308 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37309 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37310 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37311 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37312 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37313 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37314 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37315 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37316 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37317 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37318 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37319 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37320 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37321 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37322 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37323 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37324 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37325 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37326 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37327 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37328 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37329 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37330 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37331 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37332 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37333 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37334 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37335 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37336 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37337 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37338 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37339 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37340 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37341 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37342 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37343 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37345 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37346 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37347 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37348 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37349 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37350 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37351 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37352 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37353 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37354 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37355 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37356 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37357 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37358 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37359 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37360 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37361 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37362 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37363 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37364 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37365 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37366 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37367 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37368 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37369 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37370 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37371 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37372 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37373 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37374 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37375 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37376 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37377 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37378 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37379 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37380 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37381 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37382 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37383 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37384 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37385 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37386 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37387 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37388 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37389 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37390 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37391 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37392 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37393 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37394 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37395 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37396 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37397 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37398 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37399 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37400 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37401 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37402 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37403 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37404 * sysdeps/ieee754/s_lib_version.c: Likewise.
37405 * sysdeps/ieee754/s_matherr.c: Likewise.
37406 * sysdeps/ieee754/s_signgam.c: Likewise.
37407 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37408 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37409 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37410 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37411 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37412 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37413 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37414 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37415 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37416 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37417 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37418 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37419 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37420 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37421 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37422 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37423 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37424 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37425 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37426 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37427 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37429 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37431 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37432 * sunrpc/rpc_main.c: Likewise.
37433 * sunrpc/rpc_svcout.c: Likewise.
37435 2012-03-09 David S. Miller <davem@davemloft.net>
37437 * include/math_private.h: New file.
37439 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37441 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37442 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37443 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37444 from <bits/socket_type.h>.
37445 (enum __socket_type): Don't define here.
37446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37448 bits/socket_type.h.
37451 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37452 checking __USE_GNU.
37454 * Makerules ($(inst_includedir)/%.h): New rule.
37455 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37456 (install-others): Remove variable setting.
37457 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37459 2012-03-08 Richard Henderson <rth@twiddle.net>
37461 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37462 from macro to inline function; merge with the
37463 !__LIBC_INTERNAL_MATH_INLINES version.
37464 (__ieee754_sqrtf): Likewise.
37466 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37467 to inline function.
37468 (__rintf, __floor, __floorf): Likewise.
37470 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37471 macro to inline function.
37472 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37474 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37475 not <math/math_private.h>.
37477 2012-03-08 David S. Miller <davem@davemloft.net>
37479 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37481 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37483 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37485 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37487 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37488 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37490 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37492 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37493 be defined individually, they must be defined as a block. Define
37494 S for printing a string instead of hidint the different by using a
37495 macro for adding the 'l'.
37496 * stdio-common/tst-fphex-wide.c: Adjust.
37498 2012-03-07 Marek Polacek <polacek@redhat.com>
37500 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37502 2012-03-08 Marek Polacek <polacek@redhat.com>
37505 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37506 * stdio-common/tst-fphex.c: Define a few macros to make the
37507 test reusable. Use them.
37508 * stdio-common/tst-fphex-wide.c: New file.
37510 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37513 * manual/macros.texi (gnusystems): New macro.
37514 (nongnusystems): Likewise.
37515 (gnulinuxhurdsystems): Likewise.
37516 (gnuhurdsystems): Likewise..
37517 (gnulinuxsystems): Likewise.
37518 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37519 variants of the GNU system, not "GNU system".
37520 * manual/conf.texi: Likewise.
37521 * manual/errno.texi: Likewise. Update example of errno macro
37523 * manual/filesys.texi: Likewise.
37524 (getumask): Document as specific to GNU/Hurd.
37525 * manual/install.texi: Likewise. Reword some references to
37527 * manual/intro.texi: Likewise.
37528 * manual/io.texi: Likewise.
37529 (File Name Portability): Detail which constraints are inapplicable
37530 to all GNU systems and which are only inapplicable to GNU/Hurd.
37531 * manual/job.texi: Likewise.
37532 * manual/llio.texi: Likewise.
37533 (O_NOCTTY): Document as present on GNU/Linux.
37534 * manual/maint.texi: Likewise.
37535 * manual/memory.texi: Likewise.
37536 * manual/pattern.texi: Likewise.
37537 * manual/pipe.texi: Likewise.
37538 * manual/process.texi: Likewise.
37539 * manual/resource.texi: Likewise.
37540 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37542 * manual/setjmp.texi: Likewise.
37543 * manual/signal.texi: Likewise.
37544 * manual/startup.texi: Likewise.
37545 * manual/stdio.texi: Likewise.
37546 * manual/terminal.texi: Likewise.
37547 (ONLCR): Document as POSIX.
37548 (OXTABS): Document availability on GNU/Linux as XTABS.
37549 (ONOEOT): Document availability separately from other bits.
37550 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37551 * manual/time.texi: Likewise.
37552 * manual/users.texi: Likewise.
37553 * INSTALL: Regenerated.
37554 * sysdeps/gnu/errlist.c: Regenerated.
37556 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37557 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37558 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37560 * configure: Regenerated.
37562 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37564 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37565 default includes instead of AC_HEADER_CHECK.
37566 * sysdeps/i386/configure: Regenerated.
37569 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37570 * math/s_cacoshf.c (__cacoshf): Likewise.
37571 * math/s_cacoshl.c (__cacoshl): Likewise.
37572 * math/s_casinh.c (__casinh): Set signs of result from argument.
37573 * math/s_casinhf.c (__casinhf): Likewise.
37574 * math/s_casinhl.c (__casinhl): Likewise.
37575 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37576 (casinh_test): Add more tests.
37577 * sysdeps/i386/fpu/libm-test-ulps: Update.
37578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37580 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37582 * po/zh_TW.po: Update from translation team.
37584 * login/Makefile (distribute): Remove variable.
37585 * catgets/Makefile: Likewise.
37586 * mach/Makefile: Likewise.
37587 * malloc/Makefile: Likewise.
37588 * misc/Makefile: Likewise.
37589 * iconv/Makefile: Likewise.
37590 * nscd/Makefile: Likewise.
37591 * hurd/Makefile: Likewise.
37592 * manual/Makefile: Likewise.
37593 * locale/Makefile: Likewise.
37594 * intl/Makefile: Likewise.
37595 * conform/Makefile: Likewise.
37596 * nss/Makefile: Likewise.
37597 * time/Makefile: Likewise.
37598 * soft-fp/Makefile: Likewise.
37599 * dirent/Makefile: Likewise.
37600 * gmon/Makefile: Likewise.
37601 * po/Makefile: Likewise.
37602 * rt/Makefile: Likewise.
37603 * socket/Makefile: Likewise.
37604 * math/Makefile: Likewise.
37605 * signal/Makefile: Likewise.
37606 * debug/Makefile: Likewise.
37607 * elf/Makefile: Likewise.
37608 * timezone/Makefile: Likewise.
37609 * stdlib/Makefile: Likewise.
37610 * iconvdata/Makefile: Likewise.
37611 * sunrpc/Makefile: Likewise.
37612 * io/Makefile: Likewise.
37613 * argp/Makefile: Likewise.
37614 * inet/Makefile: Likewise.
37615 * hesiod/Makefile: Likewise.
37616 * grp/Makefile: Likewise.
37617 * csu/Makefile: Likewise.
37618 * wctype/Makefile: Likewise.
37619 * crypt/Makefile: Likewise.
37620 * libio/Makefile: Likewise.
37621 * string/Makefile: Likewise.
37622 * nis/Makefile: Likewise.
37623 * resolv/Makefile: Likewise.
37624 * stdio-common/Makefile: Likewise.
37625 * wcsmbs/Makefile: Likewise.
37626 * dlfcn/Makefile: Likewise.
37627 * posix/Makefile: Likewise.
37630 * timezone/Makefile: Don't install timezone files, just the programs
37633 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37635 * nss/databases.def: Add missing gshadow entry.
37637 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37639 2012-03-06 Marek Polacek <polacek@redhat.com>
37642 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37643 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37644 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37645 * stdio-common/tst-long-dbl-fphex.c: New file.
37647 2012-03-06 David S. Miller <davem@davemloft.net>
37649 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37650 (set_obp_int): New function.
37651 (get_obp_int): New function.
37652 (__get_clockfreq_via_dev_openprom): Likewise.
37653 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37654 Avoid unused variable warnings on 'val' and use builtin_expect.
37655 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37657 (INLINE_CLONE_SYSCALL): Likewise.
37659 2012-03-05 David S. Miller <davem@davemloft.net>
37661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37663 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37667 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37668 only for |x| >= 40.
37669 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37671 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37673 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37674 Replace gettimeofday with __vdso_gettimeofday.
37676 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37677 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37678 __vdso_clock_gettime and __vdso_getcpu.
37680 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37681 time with __vdso_time.
37683 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37685 * manual/lang.texi (size_t): Note types to which size_t may be
37686 equivalent with the GNU C Library, but do not describe when
37687 differences between them are significant.
37689 2012-03-05 Andreas Jaeger <aj@suse.de>
37691 * sysdeps/i386/fpu/libm-test-ulps: Update.
37693 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37696 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37697 (__ieee754_pow): Save and restore rounding mode and use
37698 round-to-nearest for main computations.
37699 * math/libm-test.inc (pow_test_tonearest): New function.
37700 (pow_test_towardzero): Likewise.
37701 (pow_test_downward): Likewise.
37702 (pow_test_upward): Likewise.
37703 (main): Call the new functions.
37704 * sysdeps/i386/fpu/libm-test-ulps: Update.
37705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37708 * math/libm-test.inc (cosh_test_tonearest): New function.
37709 (cosh_test_towardzero): Likewise.
37710 (cosh_test_downward): Likewise.
37711 (cosh_test_upward): Likewise.
37712 (sinh_test_tonearest): Likewise.
37713 (sinh_test_towardzero): Likewise.
37714 (sinh_test_downward): Likewise.
37715 (sinh_test_upward): Likewise.
37716 (main): Call the new functions.
37717 * sysdeps/i386/fpu/libm-test-ulps: Update.
37718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37720 2012-03-05 Tom de Vries <tom@codesourcery.com>
37722 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37723 default stack guard is set in last bytes.
37724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37726 2012-03-05 Kees Cook <keescook@chromium.org>
37728 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37731 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37732 possibly allocate from heap instead of stack.
37733 * stdio-common/bug-vfprintf-nargs.c: New file.
37734 * stdio-common/Makefile (tests): Add nargs overflow test.
37736 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37740 2012-03-03 Marek Polacek <polacek@redhat.com>
37742 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37743 * math/math_private.h: Likewise.
37744 * stdlib/tst-strtod.c: Likewise.
37745 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37746 * sysdeps/x86_64/bits/atomic.h: Likewise.
37748 2012-03-02 David S. Miller <davem@davemloft.net>
37750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37754 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37755 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37756 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37757 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37759 2012-03-02 Roland McGrath <roland@hack.frob.com>
37762 * manual/examples/README: New file, says the example source files
37763 can be used under GPL>=2.
37764 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37765 line containing just "*/".
37766 * manual/examples/add.c: Add copyright header (GPL>=2).
37767 * manual/examples/argp-ex1.c: Likewise.
37768 * manual/examples/argp-ex2.c: Likewise.
37769 * manual/examples/argp-ex3.c: Likewise.
37770 * manual/examples/argp-ex4.c: Likewise.
37771 * manual/examples/atexit.c: Likewise.
37772 * manual/examples/db.c: Likewise.
37773 * manual/examples/dir.c: Likewise.
37774 * manual/examples/dir2.c: Likewise.
37775 * manual/examples/execinfo.c: Likewise.
37776 * manual/examples/filecli.c: Likewise.
37777 * manual/examples/filesrv.c: Likewise.
37778 * manual/examples/fmtmsgexpl.c: Likewise.
37779 * manual/examples/genpass.c: Likewise.
37780 * manual/examples/inetcli.c: Likewise.
37781 * manual/examples/inetsrv.c: Likewise.
37782 * manual/examples/isockad.c: Likewise.
37783 * manual/examples/longopt.c: Likewise.
37784 * manual/examples/memopen.c: Likewise.
37785 * manual/examples/memstrm.c: Likewise.
37786 * manual/examples/mkfsock.c: Likewise.
37787 * manual/examples/mkisock.c: Likewise.
37788 * manual/examples/mygetpass.c: Likewise.
37789 * manual/examples/pipe.c: Likewise.
37790 * manual/examples/popen.c: Likewise.
37791 * manual/examples/rprintf.c: Likewise.
37792 * manual/examples/search.c: Likewise.
37793 * manual/examples/select.c: Likewise.
37794 * manual/examples/setjmp.c: Likewise.
37795 * manual/examples/sigh1.c: Likewise.
37796 * manual/examples/sigusr.c: Likewise.
37797 * manual/examples/stpcpy.c: Likewise.
37798 * manual/examples/strdupa.c: Likewise.
37799 * manual/examples/strftim.c: Likewise.
37800 * manual/examples/strncat.c: Likewise.
37801 * manual/examples/subopt.c: Likewise.
37802 * manual/examples/swapcontext.c: Likewise.
37803 * manual/examples/termios.c: Likewise.
37804 * manual/examples/testopt.c: Likewise.
37805 * manual/examples/testpass.c: Likewise.
37806 * manual/examples/timeval_subtract.c: Likewise.
37809 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37811 * manual/timeval_subtract.c.texi: ... here, new file.
37813 2012-03-02 David S. Miller <davem@davemloft.net>
37815 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37817 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37820 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37821 (__sin): Save and restore rounding mode and use round-to-nearest
37822 for all computations.
37823 (__cos): Save and restore rounding mode and use round-to-nearest
37824 for all computations.
37825 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37827 (tan): Save and restore rounding mode and use round-to-nearest for
37829 * math/libm-test.inc (cos_test_tonearest): New function.
37830 (cos_test_towardzero): Likewise.
37831 (cos_test_downward): Likewise.
37832 (cos_test_upward): Likewise.
37833 (sin_test_tonearest): Likewise.
37834 (sin_test_towardzero): Likewise.
37835 (sin_test_downward): Likewise.
37836 (sin_test_upward): Likewise.
37837 (tan_test_tonearest): Likewise.
37838 (tan_test_towardzero): Likewise.
37839 (tan_test_downward): Likewise.
37840 (tan_test_upward): Likewise.
37841 (main): Call the new functions.
37842 * sysdeps/i386/fpu/libm-test-ulps: Update.
37843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37846 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37847 small n, then large n, before computing and testing k+n.
37848 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37849 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37853 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37854 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37856 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37857 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37858 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37859 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37860 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37861 * math/libm-test.inc (scalbn_test): Add more tests.
37862 (scalbln_test): Likewise.
37864 * manual/filesys.texi (mode_t): Describe constraints on size and
37865 signedness, not exact equivalence to a particular type.
37867 (ino64_t): Likewise.
37869 (nlink_t): Likewise.
37870 (blkcnt_t): Likewise.
37871 (blkcnt64_t): Likewise.
37872 * manual/llio.texi (off_t): Likewise.
37875 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37876 (__ieee754_exp): Save and restore rounding mode and use
37877 round-to-nearest for all computations.
37878 * math/libm-test.inc (exp_test_tonearest): New function.
37879 (exp_test_towardzero): Likewise.
37880 (exp_test_downward): Likewise.
37881 (exp_test_upward): Likewise.
37882 (main): Call the new functions.
37883 * sysdeps/i386/fpu/libm-test-ulps: Update.
37884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37886 2012-03-01 Chris Demetriou <cgd@google.com>
37888 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37889 have predictable order.
37891 2012-03-01 David S. Miller <davem@davemloft.net>
37893 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37895 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37896 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37897 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37898 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37900 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37901 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37902 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37904 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37905 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37906 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37907 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37908 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37912 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37913 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37914 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37916 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37917 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37918 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37919 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37920 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37921 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37922 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37923 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37924 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37925 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37926 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37927 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37929 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37930 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37931 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37932 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37933 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37934 * sysdeps/sparc/elf/configure: Regenerated.
37936 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37938 * configure.in (AS, LD): Require binutils 2.20 or later.
37939 * configure: Regenerated.
37940 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37941 as required minimum version.
37942 * INSTALL: Regenerated.
37946 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37947 before squaring exponent.
37948 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37949 bottom long double and 27 bits of top long double before squaring
37951 * math/libm-test.inc (erfc_test): Add more tests.
37952 * sysdeps/i386/fpu/libm-test-ulps: Update.
37953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37956 2012-03-01 Kai Tietz <ktietz@redhat.com>
37958 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37959 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37960 containing bit-fields.
37961 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37962 * soft-fp/single.h (_FP_UNION_S): Likewise.
37963 * soft-fp/double.h (_FP_UNION_D): Likewise.
37965 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37968 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37969 not include ../strcmp.S.
37970 [USE_AS_STRNCASECMP_L]: Likewise.
37971 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37972 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37973 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37974 (__strncasecmp_l_ia32): Define as alias to
37975 __strncasecmp_l_nonascii.
37978 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37979 * sysdeps/i386/fpu/libm-test-ulps: Update.
37980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37982 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37985 2012-02-29 Jeff Law <law@redhat.com>
37987 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37988 out of bounds read.
37990 2012-02-29 Marek Polacek <polacek@redhat.com>
37993 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37994 * elf/Makefile: Add rules to run tst-unused-dep.out.
37996 2012-02-28 David S. Miller <davem@davemloft.net>
37998 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37999 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38000 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38001 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38002 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38003 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38005 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38007 * math/libm-test.inc (llround_test): Move one test from
38008 lround_test. Use TEST_f_L in moved test.
38009 (lround_test): Move misplaced test to llround_test. Add testcase
38012 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38014 * sysdeps/x86_64/fpu/e_expf.S: New file.
38015 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38017 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38020 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38021 of remain_len that may cause incomplete multi-byte character and
38023 * posix/bug-regex33.c: New file.
38024 * posix/Makefile (tests): Add bug-regex33.
38026 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38028 * manual/macros.texi: New file.
38029 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38030 * manual/libc.texinfo: Include macros.texi.
38031 * manual/creatute.texi: Likewise.
38032 * manual/install.texi: Likewise.
38033 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38034 @glibcadj{} in references to the GNU C Library.
38035 * manual/charset.texi: Likewise.
38036 * manual/conf.texi: Likewise.
38037 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38038 when not using those macros.
38039 * manual/creature.texi: Likewise.
38040 * manual/crypt.texi: Likewise.
38041 * manual/errno.texi: Likewise.
38042 * manual/filesys.texi: Likewise.
38043 * manual/header.texi: Likewise.
38044 * manual/install.texi: Likewise.
38045 * manual/intro.texi: Likewise.
38046 * manual/io.texi: Likewise.
38047 * manual/job.texi: Likewise.
38048 * manual/lang.texi: Likewise.
38049 * manual/libc.texiinfo: Likewise.
38050 * manual/llio.texi: Likewise.
38051 * manual/locale.texi: Likewise.
38052 * manual/maint.texi: Likewise.
38053 * manual/math.texi: Likewise.
38054 * manual/memory.texi: Likewise.
38055 * manual/message.texi: Likewise.
38056 * manual/nss.texi: Likewise.
38057 * manual/pattern.texi: Likewise.
38058 * manual/process.texi: Likewise.
38059 * manual/resource.texi: Likewise.
38060 * manual/search.texi: Likewise.
38061 * manual/setjmp.texi: Likewise.
38062 * manual/signal.texi: Likewise.
38063 * manual/socket.texi: Likewise.
38064 * manual/startup.texi: Likewise.
38065 * manual/stdio.texi: Likewise.
38066 * manual/string.texi: Likewise.
38067 * manual/sysinfo.texi: Likewise.
38068 * manual/syslog.texi: Likewise.
38069 * manual/terminal.texi: Likewise.
38070 * manual/time.texi: Likewise.
38071 * manual/users.texi: Likewise.
38072 * INSTALL: Regenerated.
38073 * NOTES: Regenerated.
38074 * sysdeps/gnu/errlist.c: Regenerated.
38076 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38078 * include/dirent.h: Include <dirstream.h> before
38081 2012-02-28 David S. Miller <davem@davemloft.net>
38083 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38084 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38085 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38086 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38088 2012-02-27 David S. Miller <davem@davemloft.net>
38090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38092 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38093 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38096 frame pointer instead of stack pointer relative arg slot.
38097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38098 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38099 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38101 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38104 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38106 2012-02-27 David S. Miller <davem@davemloft.net>
38108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38112 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38113 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38114 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38115 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38117 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38119 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38120 later. Allow versions 5-9.
38121 * configure: Regenerated.
38122 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38123 required minimum version and 4.6 as recommended version. Do not
38124 mention bugs in GCC 2.7 and 2.8.
38125 * INSTALL: Regenerated.
38127 2012-02-27 David S. Miller <davem@davemloft.net>
38129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38133 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38134 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38135 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38136 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38138 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38139 manipulate bits before adding and subtracting TWO112[sx].
38140 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38142 2012-02-27 Roland McGrath <roland@hack.frob.com>
38145 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38146 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38147 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38148 being in POSIX, because they are in 1003.1-2008.
38150 * rt/tst-aio.c: Include <fcntl.h>.
38151 * rt/tst-aio7.c: Likewise.
38152 * rt/tst-aio64.c: Likewise.
38154 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38156 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38158 * manual/install.texi (--with-headers): Describe headers as
38159 interface headers, not private headers.
38160 (Specific advice for GNU/Linux systems): Describe use of headers
38161 from "make headers_install", not private headers from older
38163 * INSTALL: Regenerated.
38164 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38166 * sysdeps/unix/sysv/linux/configure: Regenerated.
38168 * manual/llio.texi (fclean): Remove documentation.
38170 * manual/Makefile (libc-texi-generated): New variable. Include
38172 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38173 $(libc-texi-generated), not duplicated list of files.
38174 (version.texi, stamp-version): New rules.
38175 (realclean): Remove $(libc-texi-generated), not individual files
38176 from that list. Do not remove dir-add.texinfo.
38177 * manual/libc.texinfo: Comment out uses of edition numbers and
38178 references to printed manual. Remove last-updated dates.
38179 (EDITION): Comment out.
38181 (VERSION, UPDATED): Remove.
38182 (version.texi): Include.
38184 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38186 * sysdeps/posix/spawni.c: Include <signal.h>.
38187 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38188 * sysdeps/pthread/aio_fsync.c: Likewise.
38190 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38192 * conform/Makefile (tests): Run only when not cross-compiling and
38193 when fast-check is not defined.
38195 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38196 * conform/data/limits.h-data: Fixes for POSIX2008.
38197 * conform/run-conformtest.sh: Run all tests.
38198 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38200 * include/bits/dlfcn.h: Likewise.
38201 * include/langinfo.h: Likewise.
38202 * include/monetary.h: Likewise.
38203 * include/sys/poll.h: Likewise.
38205 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38207 * posix/spawn.h: Define __need_sigset_t.
38208 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38209 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38210 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38211 to get sigevent_t only.
38212 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38213 only for __USE_GNU.
38214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38215 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38216 process_vm_writev only for __USE_GNU.
38217 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38219 * conform/Makefile: For now ignore errors from run-conformtest.
38220 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38221 POSIX to avoid namespace pollution. Don't prepend headers.
38222 * conform/data/aio.h-data: Fixes for POSIX testing.
38223 * conform/data/fcntl.h-data: Likewise.
38224 * conform/data/glob.h-data: Likewise.
38225 * conform/data/grp.h-data: Likewise.
38226 * conform/data/pthread.h-data: Likewise.
38227 * conform/data/pwd.h-data: Likewise.
38228 * conform/data/signal.h-data: Likewise.
38229 * conform/data/spawn.h-data: Likewise.
38230 * conform/data/stdio.h-data: Likewise.
38231 * conform/data/stdlib.h-data: Likewise.
38232 * conform/data/stropts.h-data: Likewise.
38233 * conform/data/sys/mman.h-data: Likewise.
38234 * conform/data/sys/stat.h-data: Likewise.
38235 * conform/data/sys/types.h-data: Likewise.
38236 * conform/data/sys/wait.h-data: Likewise.
38237 * conform/data/time.h-data: Likewise.
38238 * conform/data/unistd.h-data: Likewise.
38239 * conform/data/utime.h-data: Likewise.
38241 * io/sys/stat.h: fchmod was always in POSIX.
38242 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38243 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38244 * rt/aio.h: Define __need_timespec before including <time.h>.
38245 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38246 struct. Add forward declaration of pthread_attr_t and use it in
38248 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38249 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38250 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38251 always remove CLK_TCK definition.
38253 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38255 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38257 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38259 * conform/run-conformtest.sh: New file.
38260 * conform/Makefile: Run run-conformtest for tests.
38261 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38264 * conform/data/uchar.h-data: New file.
38265 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38266 * conform/data/arpa/inet.h-data: Likewise.
38267 * conform/data/assert.h-data: Likewise.
38268 * conform/data/complex.h-data: Likewise.
38269 * conform/data/cpio.h-data: Likewise.
38270 * conform/data/ctype.h-data: Likewise.
38271 * conform/data/dirent.h-data: Likewise.
38272 * conform/data/dlfcn.h-data: Likewise.
38273 * conform/data/errno.h-data: Likewise.
38274 * conform/data/fcntl.h-data: Likewise.
38275 * conform/data/float.h-data: Likewise.
38276 * conform/data/fmtmsg.h-data: Likewise.
38277 * conform/data/fnmatch.h-data: Likewise.
38278 * conform/data/ftw.h-data: Likewise.
38279 * conform/data/glob.h-data: Likewise.
38280 * conform/data/grp.h-data: Likewise.
38281 * conform/data/iconv.h-data: Likewise.
38282 * conform/data/inttypes.h-data: Likewise.
38283 * conform/data/langinfo.h-data: Likewise.
38284 * conform/data/libgen.h-data: Likewise.
38285 * conform/data/limits.h-data: Likewise.
38286 * conform/data/locale.h-data: Likewise.
38287 * conform/data/math.h-data: Likewise.
38288 * conform/data/monetary.h-data: Likewise.
38289 * conform/data/mqueue.h-data: Likewise.
38290 * conform/data/ndbm.h-data: Likewise.
38291 * conform/data/net/if.h-data: Likewise.
38292 * conform/data/netdb.h-data: Likewise.
38293 * conform/data/netinet/in.h-data: Likewise.
38294 * conform/data/nl_types.h-data: Likewise.
38295 * conform/data/poll.h-data: Likewise.
38296 * conform/data/pthread.h-data: Likewise.
38297 * conform/data/pwd.h-data: Likewise.
38298 * conform/data/regex.h-data: Likewise.
38299 * conform/data/sched.h-data: Likewise.
38300 * conform/data/search.h-data: Likewise.
38301 * conform/data/semaphore.h-data: Likewise.
38302 * conform/data/setjmp.h-data: Likewise.
38303 * conform/data/signal.h-data: Likewise.
38304 * conform/data/spawn.h-data: Likewise.
38305 * conform/data/stdarg.h-data: Likewise.
38306 * conform/data/stdio.h-data: Likewise.
38307 * conform/data/stdlib.h-data: Likewise.
38308 * conform/data/string.h-data: Likewise.
38309 * conform/data/strings.h-data: Likewise.
38310 * conform/data/stropts.h-data: Likewise.
38311 * conform/data/sys/ipc.h-data: Likewise.
38312 * conform/data/sys/mman.h-data: Likewise.
38313 * conform/data/sys/msg.h-data: Likewise.
38314 * conform/data/sys/resource.h-data: Likewise.
38315 * conform/data/sys/select.h-data: Likewise.
38316 * conform/data/sys/sem.h-data: Likewise.
38317 * conform/data/sys/shm.h-data: Likewise.
38318 * conform/data/sys/socket.h-data: Likewise.
38319 * conform/data/sys/stat.h-data: Likewise.
38320 * conform/data/sys/statvfs.h-data: Likewise.
38321 * conform/data/sys/time.h-data: Likewise.
38322 * conform/data/sys/timeb.h-data: Likewise.
38323 * conform/data/sys/times.h-data: Likewise.
38324 * conform/data/sys/types.h-data: Likewise.
38325 * conform/data/sys/uio.h-data: Likewise.
38326 * conform/data/sys/un.h-data: Likewise.
38327 * conform/data/sys/utsname.h-data: Likewise.
38328 * conform/data/sys/wait.h-data: Likewise.
38329 * conform/data/syslog.h-data: Likewise.
38330 * conform/data/tar.h-data: Likewise.
38331 * conform/data/termios.h-data: Likewise.
38332 * conform/data/utime.h-data: Likewise.
38333 * conform/data/utmpx.h-data: Likewise.
38334 * conform/data/varargs.h-data: Likewise.
38335 * conform/data/wchar.h-data: Likewise.
38336 * conform/data/wctype.h-data: Likewise.
38337 * conform/data/wordexp.h-data: Likewise.
38339 * include/stropts.h: New file.
38340 * include/uchar.h: New file.
38341 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38342 * include/assert.h: Likewise.
38343 * include/ctype.h: Likewise.
38344 * include/dirent.h: Likewise.
38345 * include/dlfcn.h: Likewise.
38346 * include/fcntl.h: Likewise.
38347 * include/fnmatch.h: Likewise.
38348 * include/glob.h: Likewise.
38349 * include/grp.h: Likewise.
38350 * include/libio.h: Likewise.
38351 * include/locale.h: Likewise.
38352 * include/math.h: Likewise.
38353 * include/net/if.h: Likewise.
38354 * include/netdb.h: Likewise.
38355 * include/netinet/in.h: Likewise.
38356 * include/pthread.h: Likewise.
38357 * include/pwd.h: Likewise.
38358 * include/regex.h: Likewise.
38359 * include/sched.h: Likewise.
38360 * include/search.h: Likewise.
38361 * include/setjmp.h: Likewise.
38362 * include/signal.h: Likewise.
38363 * include/stdio.h: Likewise.
38364 * include/stdlib.h: Likewise.
38365 * include/string.h: Likewise.
38366 * include/sys/cdefs.h: Likewise.
38367 * include/sys/mman.h: Likewise.
38368 * include/sys/msg.h: Likewise.
38369 * include/sys/resource.h: Likewise.
38370 * include/sys/select.h: Likewise.
38371 * include/sys/socket.h: Likewise.
38372 * include/sys/stat.h: Likewise.
38373 * include/sys/statvfs.h: Likewise.
38374 * include/sys/time.h: Likewise.
38375 * include/sys/times.h: Likewise.
38376 * include/sys/uio.h: Likewise.
38377 * include/sys/utsname.h: Likewise.
38378 * include/sys/wait.h: Likewise.
38379 * include/termios.h: Likewise.
38380 * include/time.h: Likewise.
38381 * include/ulimit.h: Likewise.
38382 * include/unistd.h: Likewise.
38383 * include/utime.h: Likewise.
38384 * include/wchar.h: Likewise.
38385 * include/wctype.h: Likewise.
38386 * include/wordexp.h: Likewise.
38388 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38390 * time/time.h: TIME_UTC must be a macro.
38391 Make timespec_get available for ISO C11 only as well.
38393 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38395 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38396 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38398 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38400 * configure.in: Use -o not -a in test for unsupported multi-arch.
38402 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38404 * manual/texinfo.tex: Update to version 2012-01-19.16.
38406 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38408 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38410 2012-02-24 Roland McGrath <roland@hack.frob.com>
38413 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38414 * manual/fdl-1.3.texi: New file.
38415 * manual/fdl-1.1.texi: File removed.
38418 * manual/libc.texinfo (FDL_VERSION): New @set.
38419 Use it for mention of FDL in cover text.
38420 (Documentation License): Use it in @include file name.
38422 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38423 Roland McGrath <roland@hack.frob.com>
38426 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38427 (not LONG_LONG_MAX and LONG_LONG_MIN.
38428 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38429 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38431 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38433 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38437 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38438 manipulate bits before adding and subtracting TWO23[sx].
38439 * math/libm-test.inc (nearbyint_test): Add more tests.
38441 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38444 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38445 bits before adding and subtracting TWO23[sx].
38446 * math/libm-test.inc (rint_test): Add more tests.
38447 (rint_test_tonearest): Likewise.
38448 (rint_test_towardzero): Likewise.
38449 (rint_test_downward): Likewise.
38450 (rint_test_upward: Likewise.
38452 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38455 * include/stdc-predef.h: New file. Extracted from features.h.
38456 * include/features.h: Include stdc-predef.h.
38457 * Makefile (headers): Add stdc-predef.h.
38458 * CONFORMANCE (Compiler limitations): Update.
38460 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38462 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38464 2012-02-21 David S. Miller <davem@davemloft.net>
38466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38467 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38469 2012-02-20 David S. Miller <davem@davemloft.net>
38471 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38472 using a normal save/restore sequence, rather than allocating a
38473 dummy stack frame just to store a frame pointer and restore.
38474 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38476 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38478 * manual/install.texi: Fix stray word in line-wrapped comment.
38480 2012-02-20 David S. Miller <davem@davemloft.net>
38482 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38483 both binutils and gcc support GOTDATA.
38485 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38486 "rd %pc" in the PIC register setup sequences.
38488 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38489 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38490 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38491 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38492 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38493 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38494 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38495 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38497 (SYSCALL_ERROR_HANDLER): Likewise.
38498 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38499 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38500 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38501 (SYSCALL_ERROR_HANDLER): Likewise.
38503 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38504 (HAVE_GCC_GOTDATA): New.
38505 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38506 relocation support in both binutils and gcc.
38507 * sysdeps/sparc/elf/configure: Regenerate.
38509 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38510 * sysdeps/sparc/sparc32/elf/configure: Delete.
38511 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38512 * sysdeps/sparc/sparc64/elf/configure: Delete.
38513 * sysdeps/sparc/elf/configure.in: New file.
38514 * sysdeps/sparc/elf/configure: Generate.
38516 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38517 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38518 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38519 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38520 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38522 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38524 * manual/install.texi: Do not mention specific glibc version
38526 * manual/libc.texinfo (VERSION, UPDATED): Update.
38527 (@copying): Use @copyright{} and range of years.
38529 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38532 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38533 [crti.S not in sysdirs] (generated): Do not append.
38534 [crti.S not in sysdirs] (omit-deps): Likewise.
38535 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38536 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38537 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38538 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38539 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38541 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38542 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38543 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38544 * csu/defs.awk: Remove file.
38545 * sysdeps/generic/initfini.c: Likewise.
38546 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38548 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38551 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38553 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38554 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38555 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38556 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38557 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38558 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38560 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38561 (__EPOLL_PACKED): Define to empty if not defined by
38563 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38567 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38569 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38570 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38571 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38572 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38574 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38578 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38580 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38582 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38583 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38584 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38587 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38589 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38590 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38592 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38594 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38595 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38597 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38599 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38602 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38604 * math/w_acos.c: Use non-signaling floating-point comparisons.
38605 * math/w_acosf.c: Likewise.
38606 * math/w_acosh.c: Likewise.
38607 * math/w_acoshf.c: Likewise.
38608 * math/w_acoshl.c: Likewise.
38609 * math/w_acosl.c: Likewise.
38610 * math/w_asin.c: Likewise.
38611 * math/w_asinf.c: Likewise.
38612 * math/w_asinl.c: Likewise.
38613 * math/w_atanh.c: Likewise.
38614 * math/w_atanhf.c: Likewise.
38615 * math/w_atanhl.c: Likewise.
38616 * math/w_exp2.c: Likewise.
38617 * math/w_exp2f.c: Likewise.
38618 * math/w_exp2l.c: Likewise.
38619 * math/w_j0.c: Likewise.
38620 * math/w_j0f.c: Likewise.
38621 * math/w_j0l.c: Likewise.
38622 * math/w_j1.c: Likewise.
38623 * math/w_j1f.c: Likewise.
38624 * math/w_j1l.c: Likewise.
38625 * math/w_jn.c: Likewise.
38626 * math/w_jnf.c: Likewise.
38627 * math/w_log.c: Likewise.
38628 * math/w_log10.c: Likewise.
38629 * math/w_log10f.c: Likewise.
38630 * math/w_log10l.c: Likewise.
38631 * math/w_log2.c: Likewise.
38632 * math/w_log2f.c: Likewise.
38633 * math/w_log2l.c: Likewise.
38634 * math/w_logf.c: Likewise.
38635 * math/w_logl.c: Likewise.
38636 * math/w_sqrt.c: Likewise.
38637 * math/w_sqrtf.c: Likewise.
38638 * math/w_sqrtl.c: Likewise.
38639 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38640 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38641 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38642 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38643 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38645 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38648 * manual/string.texi (strnlen): Use correct parameter name in
38649 equivalent expression.
38651 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38654 * manual/users.texi (seteuid): Consistently use neweuid for
38657 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38660 * manual/nss.texi (Services in the NSS configuration): Correct
38661 list of services in example configuration file.
38663 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38666 * manual/arith.texi: Remove statements about negative zero
38667 behaving identically to zero.
38669 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38672 * manual/install.texi: Do not document upgrading from libc5.
38674 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38677 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38679 2012-02-18 David S. Miller <davem@davemloft.net>
38681 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38682 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38683 %o7 across the call.
38684 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38687 SETUP_PIC_REG_LEAF.
38688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38689 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38690 * sysdeps/sparc/crtn.S: Likewise.
38692 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38694 * aout/Makefile: Remove.
38696 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38699 * manual/examples/argp-ex1.c (main): Format definition in GNU
38701 * manual/examples/argp-ex2.c (main): Likewise.
38702 * manual/examples/argp-ex3.c (main): Likewise.
38703 * manual/examples/argp-ex4.c (main): Likewise.
38704 * manual/examples/longopt.c (main): Use new-style prototype
38706 * manual/examples/strncat.c (main): Specify return type and use
38707 (void) for arguments.
38708 * manual/examples/subopt.c (main): Use char **argv argument.
38710 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38713 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38716 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38719 * manual/string.texi (strchr): Change when strchrnul is
38722 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38725 * manual/locale.texi (setlocale): Document LOCPATH.
38727 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38730 * manual/process.texi (execle): Move @dots{} before last argument.
38732 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38735 * manual/charset.texi (Generic Charset Conversion): Fix typo
38736 (LC_TYPE -> LC_CTYPE).
38738 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38741 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38742 (scalbnf): Likewise.
38743 (scalbnl): Likewise.
38744 (scalbln): Likewise.
38745 (scalblnf): Likewise.
38746 (scalblnl): Likewise.
38747 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38748 (vwarnx): Likewise.
38751 * manual/filesys.texi (telldir): Use braces around return type.
38752 * manual/llio.texi (mmap): Add space after comma.
38753 (mmap64): Likewise.
38754 * manual/math.texi (jn): Use @var{} on parameter names.
38760 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38762 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38764 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38765 (sched_get_priority_max): Likewise.
38766 * manual/signal.texi (sigvec): Add space after comma.
38767 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38769 (if_indextoname): Likewise.
38770 (if_freenameindex): Likewise.
38771 (sendto): Use ',' instead of '.' in prototype.
38772 * manual/startup.texi (syscall): Use @dots{} instead of literal
38774 * manual/stdio.texi (__fpending): Separate initial words of
38775 paragraph from @deftypefun line.
38776 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38778 (vsyslog): Use @var{} on parameter names.
38779 * manual/terminal.texi (stty): Use @var{} on parameter names.
38780 * manual/users.texi (getutmp): Use @var{} on parameter names.
38781 (getutmpx): Likewise.
38783 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38786 * manual/stdio.texi (fopen): Fix typos in description of
38789 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38792 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38793 get clock_id definition.
38795 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38798 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38799 (madvise): Cast every argument to void on its own.
38801 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38804 * manual/startup.texi (Exit Status): Fix typo.
38806 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38809 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38810 * manual/examples/argp-ex2.c: Likewise.
38811 * manual/examples/argp-ex3.c: Likewise.
38813 2012-02-16 Richard Henderson <rth@redhat.com>
38815 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38816 * sysdeps/s390/s390-32/initfini.c: Remove.
38817 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38818 * sysdeps/s390/s390-64/initfini.c: Remove.
38820 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38822 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38823 compiler output for sysdeps/generic/initfini.c.
38824 * sysdeps/sh/elf/initfini.c: Remove file.
38826 2012-02-16 David S. Miller <davem@davemloft.net>
38829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38831 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38832 * sysdeps/sparc/crti.S: New file.
38833 * sysdeps/sparc/crtn.S: New file.
38834 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38835 * sysdeps/sparc/sparc64/Makefile: Likewise.
38837 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38840 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38842 2012-02-15 Roland McGrath <roland@hack.frob.com>
38845 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38847 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38848 (write, read, close): Likewise.
38849 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38851 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38853 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38854 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38855 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38856 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38858 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38862 2012-02-14 Marek Polacek <polacek@redhat.com>
38864 * sysdeps/x86_64/crti.S: New file.
38865 * sysdeps/x86_64/crtn.S: New file.
38866 * sysdeps/x86_64/elf/initfini.c: Remove file.
38868 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38870 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38871 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38872 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38873 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38875 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38879 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38881 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38882 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38883 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38884 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38886 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38890 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38892 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38893 __feraiseexcept instead of feraiseexcept.
38895 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38896 nanosleep invocations.
38897 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38898 strings, and add error checking for a nanosleep invocations.
38900 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38902 Replace FSF snail mail address with URLs, as per GNU coding standards.
38903 Most of the snail mail addresses were wrong anyway, and omitting
38904 them makes the source code easier to maintain. Almost all of the
38905 changes are to license notices and to locale LC_IDENTIFICATION
38906 addresses, except for this one:
38907 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38908 not its snail mail address.
38910 2012-02-09 Richard Henderson <rth@twiddle.net>
38912 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38913 of kernel-features.h.
38915 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38917 2012-02-08 Marek Polacek <polacek@redhat.com>
38919 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38920 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38921 * sysdeps/gnu/_G_config.h: Likewise.
38922 * sysdeps/generic/_G_config.h: Likewise.
38924 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38926 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38930 * sysdeps/powerpc/powerpc32/crti.S: New file.
38931 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38932 * sysdeps/powerpc/powerpc64/crti.S: New file.
38933 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38935 * Makeconfig (have-initfini): Don't set.
38936 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38937 * configure.in (nopic_initfini): Don't substitute.
38938 * config.h.in (HAVE_INITFINI): Don't #undef.
38939 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38940 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38942 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38944 Support crti.S and crtn.S provided directly by architectures.
38945 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38946 [crti.S in sysdirs] (omit-deps): Likewise.
38947 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38948 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38949 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38950 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38951 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38952 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38953 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38954 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38955 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38956 compiler output for sysdeps/generic/initfini.c.
38957 * sysdeps/i386/elf/Makefile: Remove file.
38958 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38960 2012-02-07 Marek Polacek <polacek@redhat.com>
38962 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38963 * sysdeps/gnu/_G_config.h: Likewise.
38964 * sysdeps/mach/hurd/_G_config.h: Likewise.
38966 2012-02-07 Marek Polacek <polacek@redhat.com>
38968 * math/Makefile (tests): Add tst-CMPLX2.
38969 * math/tst-CMPLX2.c: New file.
38971 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38973 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38975 * math/libm-test.inc (jn_test): Add missing L suffix.
38977 2012-02-06 Marek Polacek <polacek@redhat.com>
38979 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38980 * sysdeps/i386/fpu/e_powf.S: Likewise.
38981 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38982 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38983 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38984 * sysdeps/i386/fpu/e_pow.S: Likewise.
38985 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38986 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38987 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38988 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38989 * sysdeps/i386/fpu/e_log2.S: Likewise.
38990 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38991 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38992 * sysdeps/i386/fpu/e_powl.S: Likewise.
38993 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38994 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38995 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38996 * sysdeps/i386/fpu/e_logl.S: Likewise.
38997 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38998 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38999 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39000 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39001 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39002 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39003 * sysdeps/i386/fpu/e_log.S: Likewise.
39004 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39005 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39006 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39007 * sysdeps/i386/fpu/e_logf.S: Likewise.
39008 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39009 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39010 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39011 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39012 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39013 * sysdeps/i386/fpu/e_log10.S: Likewise.
39014 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39015 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39016 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39017 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39018 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39019 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39020 * sysdeps/i386/asm-syntax.h: Likewise.
39021 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39022 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39023 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39024 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39025 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39026 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39027 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39028 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39029 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39030 * sysdeps/powerpc/sysdep.h: Likewise.
39031 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39032 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39034 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39037 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39039 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39041 * sysdeps/i386/sysdep.h: Include <features.h>.
39042 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39045 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39047 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39049 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39052 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39054 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39055 (SETUP_PIC_REG): Use GET_PC_THUNK.
39056 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39059 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39061 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39062 for non-PIC compilation.
39063 (SETUP_PIC_REG): Add .p2align directive.
39064 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39065 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39066 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39067 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39068 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39069 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39070 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39071 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39072 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39073 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39074 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39075 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39076 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39077 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39078 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39079 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39080 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39081 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39082 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39083 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39084 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39085 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39086 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39087 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39088 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39090 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39092 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39093 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39094 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39095 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39096 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39097 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39098 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39099 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39100 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39101 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39102 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39103 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39104 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39106 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39108 * math/tst-CMPLX.c: Include <stdio.h>.
39110 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39112 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39114 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39115 * sysdeps/sparc/bits/mathdef.h: Likewise.
39117 2012-01-31 Marek Polacek <polacek@redhat.com>
39119 * libio/libio.h: Don't define _PARAMS.
39120 * locale/programs/config.h: Don't define PARAMS.
39121 * stdlib/strtol_l.c: Likewise.
39122 (__strtol_l): Remove PARAMS from the prototype.
39124 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39126 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39127 names. Just use the correct names. Remove unnecessary wrapper
39129 * malloc/arena.c: Likewise.
39130 * malloc/hooks.c: Likewise.
39132 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39133 ARENA_TEST says not to. Simplify test for creation of a new arena.
39134 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39136 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39138 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39140 (update_get_addr): New function.
39141 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39142 GET_ADDR_MODULE parameter.
39144 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39146 * crypt/cert.c: Remove __STDC__ conditionals.
39147 * crypt/crypt-entry.c: Likewise.
39148 * crypt/crypt_util.c: Likewise.
39149 * libio/filedoalloc.c: Likewise.
39150 * libio/fileops.c: Likewise.
39151 * libio/genops.c: Likewise.
39152 * libio/iofclose.c: Likewise.
39153 * libio/iofdopen.c: Likewise.
39154 * libio/iofopen.c: Likewise.
39155 * libio/iofopen64.c: Likewise.
39156 * libio/iogetdelim.c: Likewise.
39157 * libio/iopopen.c: Likewise.
39158 * libio/obprintf.c: Likewise.
39159 * libio/oldfileops.c: Likewise.
39160 * libio/oldiofclose.c: Likewise.
39161 * libio/oldiofdopen.c: Likewise.
39162 * libio/oldiofopen.c: Likewise.
39163 * libio/oldiopopen.c: Likewise.
39164 * libio/wfiledoalloc.c: Likewise.
39165 * libio/wgenops.c: Likewise.
39166 * locale/programs/xmalloc.c: Likewise.
39167 * misc/syslog.c: Likewise.
39168 * stdio-common/xbug.c: Likewise.
39169 * string/memchr.c: Likewise.
39170 * string/memcmp.c: Likewise.
39171 * string/memrchr.c: Likewise.
39172 * string/rawmemchr.c: Likewise.
39173 * sysdeps/posix/getcwd.c: Likewise.
39174 * time/strftime_l.c: Likewise.
39176 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39178 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39179 * config.make.in (config-cflags-sse2avx): Define.
39180 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39183 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39185 * scripts/config.guess: Update from upstream config git repository.
39186 * scripts/config.sub: Likewise.
39188 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39190 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39192 (R_TILEPRO_*, R_TILEGX_*): New macros.
39194 * scripts/firstversions.awk: Fix bug in version range handling.
39196 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39198 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39200 * include/sys/epoll.h: New file.
39201 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39204 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39206 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39207 Avoid unnecessary __WORDSIZE == 64 test.
39208 (fmaxf): Use VEX format if possible.
39213 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39214 * math/math_private.h: Remove libc_fegetround* and
39216 * sysdeps/i386/configure.in: Check for -msse2avx.
39217 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39218 also if SSE2AVX is defined.
39219 Remove libc_fegetround* and libc_fesetround*.
39220 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39221 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39222 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39224 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39225 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39226 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39227 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39228 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39230 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39232 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39234 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39236 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39238 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39241 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39243 * Makeconfig (libm): Define.
39244 * elf/Makefile: Add rules to build and run tst-relsort1.
39245 * elf/tst-relsort1.c: New file.
39246 * elf/tst-relsort1mod1.c: New file.
39247 * elf/tst-relsort1mod2.c: New file.
39249 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39251 * math/s_ldexp.c: Remove __STDC__ conditionals.
39252 * math/s_ldexpf.c: Likewise.
39253 * math/s_ldexpl.c: Likewise.
39254 * math/s_nextafter.c: Likewise.
39255 * math/s_nexttowardf.c: Likewise.
39256 * math/s_significand.c: Likewise.
39257 * math/s_significandf.c: Likewise.
39258 * math/s_significandl.c: Likewise.
39259 * math/w_jnl.c: Likewise.
39260 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39261 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39262 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39263 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39264 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39266 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39267 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39268 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39269 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39270 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39271 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39272 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39273 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39274 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39275 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39276 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39277 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39278 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39279 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39280 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39281 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39282 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39283 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39284 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39285 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39286 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39287 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39288 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39289 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39290 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39291 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39292 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39293 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39294 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39295 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39296 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39297 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39298 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39299 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39300 * sysdeps/ieee754/k_standard.c: Likewise.
39301 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39302 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39303 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39304 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39305 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39306 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39307 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39308 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39309 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39310 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39311 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39312 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39313 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39314 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39315 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39316 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39317 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39318 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39319 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39320 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39321 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39322 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39323 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39324 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39326 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39328 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39329 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39331 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39332 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39333 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39334 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39336 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39337 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39338 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39339 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39340 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39341 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39342 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39343 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39344 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39345 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39346 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39347 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39348 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39349 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39350 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39351 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39352 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39353 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39354 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39355 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39356 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39357 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39358 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39359 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39360 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39361 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39362 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39363 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39364 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39365 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39366 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39367 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39368 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39369 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39370 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39371 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39372 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39373 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39374 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39375 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39376 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39377 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39378 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39379 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39380 * sysdeps/ieee754/s_matherr.c: Likewise.
39381 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39382 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39383 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39384 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39386 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39388 * crypt/md5.h: Remove __STDC__ conditionals.
39389 * libio/libioP.h: Likewise.
39390 * locale/programs/config.h: Likewise.
39391 * sysdeps/generic/sysdep.h: Likewise.
39392 * sysdeps/i386/asm-syntax.h: Likewise.
39393 * sysdeps/s390/asm-syntax.h: Likewise.
39394 * sysdeps/unix/sysdep.h: Likewise.
39395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39398 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39400 * libio/libio.h: Remove __STDC__ conditionals.
39401 * malloc/obstack.h: Likewise.
39402 * math/complex.h: Likewise.
39403 * math/math.h: Likewise.
39404 * sysdeps/generic/_G_config.h: Likewise.
39405 * sysdeps/gnu/_G_config.h: Likewise.
39406 * sysdeps/mach/hurd/_G_config.h: Likewise.
39407 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39408 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39409 * sysdeps/sparc/bits/mathdef.h: Likewise.
39411 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39414 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39415 Clean up HAS_* macros.
39416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39417 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39419 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39421 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39422 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39423 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39424 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39425 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39427 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39429 * elf/tst-unique3.cc (gets): Remove declaration.
39430 * elf/tst-unique3lib.cc (gets): Likewise.
39431 * elf/tst-unique3lib2.cc (gets): Likewise.
39432 * elf/tst-unique4.cc (gets): Likewise.
39434 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39436 * include/stdio.h: Add C++ protection. Add gets declarations and
39438 * debug/tst-chk1.c: Don't declare gets here.
39439 * stdio-common/tst-gets.c: Likewise.
39441 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39443 * posix/glob: Remove directory.
39445 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39447 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39449 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39451 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39452 of the non-standard EPFNOSUPPORT.
39454 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39456 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39457 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39458 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39460 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39462 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39464 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39466 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39468 * nscd/grpcache.c (cache_addgr): Likewise.
39469 * nscd/hstcache.c (cache_addhst): Likewise.
39470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39471 * nscd/pwdcache.c (cache_addpw): Likewise.
39472 * nscd/servicescache.c (cache_addserv): Likewise.
39474 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39476 * malloc/malloc.c: Various cleanups.
39477 * malloc/hooks.c: Likewise.
39479 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39480 * stdlib/bug-fmtmsg1.c: New file.
39482 * stdlib/fmtmsg.c (init): Add missing unlock.
39483 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39485 2012-01-12 Marek Polacek <polacek@redhat.com>
39487 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39490 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39492 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39493 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39494 macro to ensure uniqueness of label name.
39495 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39496 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39498 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39500 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39502 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39503 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39504 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39505 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39507 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39509 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39511 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39512 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39513 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39515 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39517 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39518 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39519 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39520 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39522 * math/bits/math-finite.h: Add ldexp support.
39524 2012-01-10 Marek Polacek <polacek@redhat.com>
39526 * locale/programs/localedef.h (show_archive_content): Add noreturn
39529 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39531 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39533 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39535 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39537 * io/Makefile (headers): Add bits/poll2.h.
39539 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39542 typo #include statement.
39544 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39546 * include/sys/cdefs.h: Define __attribute_alloc_size.
39547 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39548 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39549 * elf/pldd.c: Likewise.
39550 * iconv/iconv_charmap.c: Likewise.
39551 * iconv/iconvconfig.c: Likewise.
39552 * iconv/strtab.c: Likewise.
39553 * locale/programs/locale.c: Likewise.
39554 * locale/programs/localedef.h: Likewise.
39555 * locale/programs/simple-hash.c: Likewise.
39556 * nscd/nscd.h: Likewise.
39557 * nss/makedb.c: Likewise.
39558 * sysdeps/generic/ldconfig.h: Likewise.
39559 * locale/programs/localedef.c: Remove xmalloc prototype.
39560 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39562 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39564 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39567 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39569 * math/Makefile (tests): Add tst-CMPLX.
39570 * math/tst-CMPLX.c: New file.
39572 * math/complex.h (CMPLXL): Fix typo.
39574 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39575 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39577 * debug/tst-chk1.c: Add poll and ppoll tests.
39578 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39579 * include/sys/poll.h: Add hidden proto for ppoll.
39580 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39581 * sysdeps/mach/hurd/ppoll.c: Likewise.
39582 * io/ppoll.c: Likewise.
39583 * debug/poll_chk.c: New file.
39584 * debug/ppoll_chk.c: New file.
39585 * include/bits/poll2.h: New file.
39586 * io/bits/poll2.h: New file.
39589 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39591 * configure.in: static is always set to yes. Remove.
39592 * config.make.in: Don't set build-static.
39593 * Makeconfig: Remove use of build-static.
39594 * dlfcn/Makefile: Likewise.
39595 * elf/Makefile: Likewise.
39596 * math/Makefile: Likewise.
39597 * misc/Makefile: Likewise.
39598 * nptl/Makefile: Likewise.
39599 * sysdeps/mach/hurd/Makefile: Likewise.
39601 * configure.in: PWD_P is not used anymore.
39602 * config.make.in: Remove PWD_P entry.
39604 * configure.in: Remove last remnants of RANLIB.
39605 No need to check for signed size_t anymore.
39606 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39608 Remove __builtin_expect test because we require at least gcc 3.4.
39609 * aclocal.m4: Likewise.
39611 * wcsmbs/mbrtoc16.c: Implement using towc function.
39612 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39613 * wcsmbs/wcsmbsload.c: Likewise.
39614 * iconv/gconv_simple.c: Likewise.
39615 * iconv/gconv_int.h: Likewise.
39616 * iconv/gconv_builtin.h: Likewise.
39617 * iconv/iconv_prog.c: Remove CHAR16 handling.
39619 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39621 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39623 * configure.in: Remove --with-elf and --enable-bounded options.
39624 Dont set base_machine for ia64. More non-ELF conditions removed.
39625 Remove testing and setting of leading underscore information.
39626 * config.make.in (build-bounded): Set to no.
39627 * config.h.in: Remove NO_UNDERSCORES entry.
39628 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39630 * csu/start.c: Remove !NO_UNDERSCORE code.
39631 * locale/localeinfo.h: Likewise.
39632 * sysdeps/generic/machine-gmon.h: Likewise.
39633 * sysdeps/generic/sysdep.h: Likewise.
39634 * sysdeps/i386/sysdep.h: Likewise.
39635 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39636 * sysdeps/mach/sysdep.h: Likewise.
39637 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39639 * sysdeps/sh/sysdep.h: Likewise.
39640 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39641 * sysdeps/unix/i386/sysdep.S: Likewise.
39642 * sysdeps/unix/sparc/start.c: Likewise.
39643 * sysdeps/unix/sparc/sysdep.S: Likewise.
39644 * sysdeps/unix/sparc/sysdep.h: Likewise.
39645 * sysdeps/unix/start.c: Likewise.
39646 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39647 * sysdeps/x86_64/sysdep.h: Likewise.
39649 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39652 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39654 * argp/argp-fmtstream.h: Use const instead __const.
39655 * argp/argp.h: Likewise.
39656 * assert/assert.h: Likewise.
39657 * bits/fenv.h: Likewise.
39658 * bits/sched.h: Likewise.
39659 * bits/sigset.h: Likewise.
39660 * bits/sigthread.h: Likewise.
39661 * catgets/nl_types.h: Likewise.
39662 * conform/data/pthread.h-data: Likewise.
39663 * crypt/crypt-private.h: Likewise.
39664 * crypt/crypt.h: Likewise.
39665 * crypt/crypt_util.c: Likewise.
39666 * ctype/ctype.h: Likewise.
39667 * debug/execinfo.h: Likewise.
39668 * debug/mbsnrtowcs_chk.c: Likewise.
39669 * debug/mbsrtowcs_chk.c: Likewise.
39670 * debug/wcsnrtombs_chk.c: Likewise.
39671 * debug/wcsrtombs_chk.c: Likewise.
39672 * debug/wcstombs_chk.c: Likewise.
39673 * dirent/dirent.h: Likewise.
39674 * dlfcn/dlfcn.h: Likewise.
39675 * elf/neededtest4.c: Likewise.
39676 * grp/grp.h: Likewise.
39677 * gshadow/gshadow.h: Likewise.
39678 * iconv/gconv.h: Likewise.
39679 * iconv/gconv_int.h: Likewise.
39680 * iconv/gconv_simple.c: Likewise.
39681 * iconv/iconv.h: Likewise.
39682 * iconv/loop.c: Likewise.
39683 * iconv/skeleton.c: Likewise.
39684 * include/aio.h: Likewise.
39685 * include/aliases.h: Likewise.
39686 * include/argz.h: Likewise.
39687 * include/arpa/inet.h: Likewise.
39688 * include/assert.h: Likewise.
39689 * include/dirent.h: Likewise.
39690 * include/dlfcn.h: Likewise.
39691 * include/execinfo.h: Likewise.
39692 * include/fcntl.h: Likewise.
39693 * include/fenv.h: Likewise.
39694 * include/glob.h: Likewise.
39695 * include/grp.h: Likewise.
39696 * include/libintl.h: Likewise.
39697 * include/mntent.h: Likewise.
39698 * include/netdb.h: Likewise.
39699 * include/pwd.h: Likewise.
39700 * include/rpc/netdb.h: Likewise.
39701 * include/sched.h: Likewise.
39702 * include/search.h: Likewise.
39703 * include/shadow.h: Likewise.
39704 * include/signal.h: Likewise.
39705 * include/stdio.h: Likewise.
39706 * include/stdlib.h: Likewise.
39707 * include/string.h: Likewise.
39708 * include/sys/socket.h: Likewise.
39709 * include/sys/stat.h: Likewise.
39710 * include/sys/statfs.h: Likewise.
39711 * include/sys/statvfs.h: Likewise.
39712 * include/sys/syslog.h: Likewise.
39713 * include/sys/time.h: Likewise.
39714 * include/sys/uio.h: Likewise.
39715 * include/time.h: Likewise.
39716 * include/unistd.h: Likewise.
39717 * include/utmp.h: Likewise.
39718 * include/wchar.h: Likewise.
39719 * include/wctype.h: Likewise.
39720 * inet/aliases.h: Likewise.
39721 * inet/arpa/inet.h: Likewise.
39722 * inet/netinet/ether.h: Likewise.
39723 * inet/netinet/in.h: Likewise.
39724 * intl/libintl.h: Likewise.
39725 * io/bits/fcntl2.h: Likewise.
39726 * io/fcntl.h: Likewise.
39727 * io/ftw.h: Likewise.
39728 * io/sys/poll.h: Likewise.
39729 * io/sys/stat.h: Likewise.
39730 * io/sys/statfs.h: Likewise.
39731 * io/sys/statvfs.h: Likewise.
39732 * io/utime.h: Likewise.
39733 * libio/bits/stdio.h: Likewise.
39734 * libio/bits/stdio2.h: Likewise.
39735 * libio/libio.h: Likewise.
39736 * libio/libioP.h: Likewise.
39737 * libio/stdio.h: Likewise.
39738 * locale/lc-ctype.c: Likewise.
39739 * locale/locale.h: Likewise.
39740 * login/utmp.h: Likewise.
39741 * malloc/arena.c: Likewise.
39742 * malloc/malloc.c: Likewise.
39743 * malloc/malloc.h: Likewise.
39744 * malloc/mcheck.c: Likewise.
39745 * malloc/mtrace.c: Likewise.
39746 * math/bits/mathcalls.h: Likewise.
39747 * math/fenv.h: Likewise.
39748 * math/math_private.h: Likewise.
39749 * misc/bits/error.h: Likewise.
39750 * misc/bits/syslog.h: Likewise.
39751 * misc/err.h: Likewise.
39752 * misc/error.h: Likewise.
39753 * misc/fstab.h: Likewise.
39754 * misc/mntent.h: Likewise.
39755 * misc/regexp.h: Likewise.
39756 * misc/search.h: Likewise.
39757 * misc/sgtty.h: Likewise.
39758 * misc/sys/mman.h: Likewise.
39759 * misc/sys/syslog.h: Likewise.
39760 * misc/sys/uio.h: Likewise.
39761 * misc/sys/xattr.h: Likewise.
39762 * misc/ttyent.h: Likewise.
39763 * nis/rpcsvc/ypclnt.h: Likewise.
39764 * nss/nss.h: Likewise.
39765 * posix/bits/unistd.h: Likewise.
39766 * posix/fnmatch.h: Likewise.
39767 * posix/glob.h: Likewise.
39768 * posix/sched.h: Likewise.
39769 * posix/spawn.h: Likewise.
39770 * posix/sys/wait.h: Likewise.
39771 * posix/unistd.h: Likewise.
39772 * posix/wordexp.h: Likewise.
39773 * pwd/pwd.h: Likewise.
39774 * resolv/netdb.h: Likewise.
39775 * resource/sys/resource.h: Likewise.
39776 * rt/aio.h: Likewise.
39777 * rt/bits/mqueue2.h: Likewise.
39778 * rt/mqueue.h: Likewise.
39779 * shadow/shadow.h: Likewise.
39780 * signal/signal.h: Likewise.
39781 * socket/send.c: Likewise.
39782 * socket/sendto.c: Likewise.
39783 * socket/sys/socket.h: Likewise.
39784 * stdio-common/printf.h: Likewise.
39785 * stdlib/bits/stdlib.h: Likewise.
39786 * stdlib/fmtmsg.h: Likewise.
39787 * stdlib/monetary.h: Likewise.
39788 * stdlib/stdlib.h: Likewise.
39789 * stdlib/ucontext.h: Likewise.
39790 * streams/stropts.h: Likewise.
39791 * string/argz.h: Likewise.
39792 * string/bits/string2.h: Likewise.
39793 * string/string.h: Likewise.
39794 * string/strings.h: Likewise.
39795 * sunrpc/rpc/auth.h: Likewise.
39796 * sunrpc/rpc/auth_des.h: Likewise.
39797 * sunrpc/rpc/clnt.h: Likewise.
39798 * sunrpc/rpc/netdb.h: Likewise.
39799 * sunrpc/rpc/pmap_clnt.h: Likewise.
39800 * sunrpc/rpc/xdr.h: Likewise.
39801 * sysdeps/generic/inttypes.h: Likewise.
39802 * sysdeps/generic/net/if.h: Likewise.
39803 * sysdeps/generic/sys/swap.h: Likewise.
39804 * sysdeps/gnu/net/if.h: Likewise.
39805 * sysdeps/gnu/utmpx.h: Likewise.
39806 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39807 * sysdeps/i386/i486/bits/string.h: Likewise.
39808 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39809 * sysdeps/s390/bits/string.h: Likewise.
39810 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39811 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39812 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39813 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39814 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39815 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39816 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39817 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39818 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39819 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39820 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39821 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39822 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39823 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39824 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39825 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39826 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39828 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39829 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39830 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39831 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39832 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39833 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39834 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39835 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39836 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39837 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39838 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39839 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39840 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39841 * sysvipc/sys/ipc.h: Likewise.
39842 * sysvipc/sys/msg.h: Likewise.
39843 * sysvipc/sys/sem.h: Likewise.
39844 * sysvipc/sys/shm.h: Likewise.
39845 * termios/termios.h: Likewise.
39846 * time/sys/time.h: Likewise.
39847 * time/time.h: Likewise.
39848 * wcsmbs/bits/wchar2.h: Likewise.
39849 * wcsmbs/uchar.h: Likewise.
39850 * wcsmbs/wchar.h: Likewise.
39851 * wctype/wctype.h: Likewise.
39854 * Makeconfig: Remove all but ELF support including AIX support.
39855 * Makerules: Likewise.
39856 * config.h.in: Likewise.
39857 * config.make.in: Likewise.
39858 * configure: Likewise.
39859 * configure.in: Likewise.
39860 * csu/Makefile: Likewise.
39861 * csu/version.c: Likewise.
39862 * debug/Makefile: Likewise.
39863 * dlfcn/Makefile: Likewise.
39864 * elf/Makefile: Likewise.
39865 * extra-lib.mk: Likewise.
39866 * iconv/Makefile: Likewise.
39867 * include/libc-symbols.h: Likewise.
39868 * include/shlib-compat.h: Likewise.
39869 * resolv/Makefile: Likewise.
39870 * resolv/res_libc.c: Likewise.
39871 * rt/Makefile: Likewise.
39872 * sysdeps/i386/asm-syntax.h: Likewise.
39873 * sysdeps/i386/sysdep.h: Likewise.
39874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39875 * sysdeps/mach/sysdep.h: Likewise.
39876 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39877 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39878 * sysdeps/s390/asm-syntax.h: Likewise.
39879 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39880 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39881 * sysdeps/sh/sysdep.h: Likewise.
39882 * sysdeps/unix/sparc/sysdep.h: Likewise.
39883 * sysdeps/wordsize-32/divdi3.c: Likewise.
39884 * sysdeps/x86_64/sysdep.h: Likewise.
39886 * argp/Versions: Remove _argp_unlock_xxx.
39889 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39890 * abilist/libBrokenLocale.abilist: Likewise.
39891 * abilist/libanl.abilist: Likewise.
39892 * abilist/libc.abilist: Likewise.
39893 * abilist/libcrypt.abilist: Likewise.
39894 * abilist/libdl.abilist: Likewise.
39895 * abilist/libm.abilist: Likewise.
39896 * abilist/libnsl.abilist: Likewise.
39897 * abilist/libpthread.abilist: Likewise.
39898 * abilist/libresolv.abilist: Likewise.
39899 * abilist/librt.abilist: Likewise.
39900 * abilist/libthread_db.abilist: Likewise.
39901 * abilist/libutil.abilist: Likewise.
39902 * abilist/libnss_db.abilist: New file.
39904 * scripts/abilist.awk: Add support for indirect functions.
39906 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39908 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39910 * shlib-versions: Remove entries for ports architectures.
39912 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39914 * elf/stackguard-macros.h: Remove support for IA-64.
39915 * elf/tst-auditmod1.c: Likewise.
39916 * sysdeps/generic/ldsodefs.h: Likewise.
39918 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39919 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39923 * configure.in: Remove --enable-omitfp support.
39925 * config.make.in: Likewise.
39926 * Makeconfig: Likewise.
39927 * manual/install.texi: Likewise.
39929 In case anyone cares, the IA-64 architecture could move to ports.
39930 * sysdeps/ia64/*: Removed.
39931 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39932 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39935 * configure.in: Remove entries for unsupported architectures.
39938 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39939 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39941 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39942 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39943 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39944 fall back to using wcrtomb.
39945 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39946 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39948 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39949 * wcsmbs/tst-c16c32-1.c: New file.
39951 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39954 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39956 * elf/tst-unique3.cc: Add explicit declaration of gets.
39957 * elf/tst-unique3lib.cc: Likewise.
39958 * elf/tst-unique3lib2.cc: Likewise.
39959 * elf/tst-unique4.cc: Likewise.
39961 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39963 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39966 * assert/assert.h (static_assert): Don't define for C++.
39967 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39968 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39970 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39972 * iconv/loop.c (single loop): Fix assertion in storing of
39975 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39977 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39979 * posix/getconf.c: Update copyright year.
39980 * nss/getent.c: Likewise.
39981 * nss/makedb.c: Likewise.
39982 * iconv/iconvconfig.c: Likewise.
39983 * iconv/iconv_prog.c: Likewise.
39984 * elf/ldconfig.c: Likewise.
39985 * elf/pldd.c: Likewise.
39986 * elf/sotruss.ksh: Likewise.
39987 * catgets/gencat.c: Likewise.
39988 * csu/version.c: Likewise.
39989 * elf/ldd.bash.in: Likewise.
39990 * elf/sprof.c (print_version): Likewise.
39991 * locale/programs/locale.c: Likewise.
39992 * locale/programs/localedef.c: Likewise.
39993 * login/programs/pt_chown.c: Likewise.
39994 * nscd/nscd.c (print_version): Likewise.
39995 * debug/xtrace.sh: Likewise.
39996 * malloc/memusage.sh: Likewise.
39997 * malloc/mtrace.pl: Likewise.
39998 * debug/catchsegv.sh: Likewise.
40000 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40002 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40005 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40008 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40009 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40011 * iconv/gconv_int.h: Likewise.
40012 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40013 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40014 from libc for GLIBC_2.16.
40015 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40016 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40017 * wcsmbs/uchar.h: Really define mbstate_t.
40018 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40019 * wcsmbs/c16rtomb.c: New file.
40020 * wcsmbs/mbrtoc16.c: New file.
40021 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40022 for C/POSIX locale.
40023 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40024 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40026 * wcsmbs/wchar.h: Add missing __restrict.
40028 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40031 * time/Makefile (routines): Add timespec_get.
40032 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40033 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40034 timespec for ISO C11.
40035 * time/timespec_get.c: New file.
40036 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40037 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40040 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40041 * stdlib/stdlib.h: Declare aligned_alloc.
40042 * Versions.def: Add GLIBC_2.16 for libc.
40043 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40046 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40049 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40053 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40056 * assert/assert.h (static_assert): Define.
40058 * version.h: Update for 2.16 development version.
40061 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40064 * version.h (RELEASE): Bump for 2.15 release.
40065 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40067 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40068 Patch by Marek Polacek <mpolacek@redhat.com>.
40070 * bits/byteswap.h: Protect long long constants with __extension__.
40071 * sysdeps/i386/bits/byteswap.h: Likewise.
40072 * sysdeps/ia64/bits/byteswap.h: Likewise.
40073 * sysdeps/s390/bits/byteswap.h: Likewise.
40074 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40076 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40079 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40080 destination buffer.
40081 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40083 2011-12-23 Marek Polacek <polacek@redhat.com>
40085 * elf/dl-addr.c (determine_info): Add inline keyword.
40086 * elf/tst-auditmod4b.c (check_avx): Likewise.
40087 * elf/tst-auditmod6b.c (check_avx): Likewise.
40088 * elf/tst-auditmod6c.c (check_avx): Likewise.
40089 * elf/tst-auditmod7b.c (check_avx): Likewise.
40091 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40093 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40096 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40099 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40100 processing for last bytes.
40102 2011-08-06 Bruno Haible <bruno@clisp.org>
40105 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40106 U+0385, not to U+1FEE.
40109 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40110 entry for U+00A5 U+0301.
40112 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40115 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40116 buffer for the output is too small.
40118 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40122 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40123 SSE flags if possible.
40125 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40128 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40129 processing for last bytes.
40131 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40133 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40134 (syscall-list-default-options, syscall-list-default-condition)
40135 (syscall-list-includes): Define.
40136 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40137 list of ABIs and options and #if conditions for each ABI. Do not
40138 handle common syscalls between ABIs specially.
40139 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40141 (syscall-list-variants, syscall-list-32bit-options)
40142 (syscall-list-32bit-condition, syscall-list-64bit-options)
40143 (syscall-list-64bit-condition): Define.
40144 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40145 (syscall-list-variants, syscall-list-32bit-options)
40146 (syscall-list-32bit-condition, syscall-list-64bit-options)
40147 (syscall-list-64bit-condition): Define.
40148 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40150 (syscall-list-variants, syscall-list-32bit-options)
40151 (syscall-list-32bit-condition, syscall-list-64bit-options)
40152 (syscall-list-64bit-condition): Define.
40153 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40155 (syscall-list-variants, syscall-list-32bit-options)
40156 (syscall-list-32bit-condition, syscall-list-64bit-options)
40157 (syscall-list-64bit-condition): Define.
40159 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40161 * locale/iso-639.def: Add brx entry.
40164 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40165 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40167 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40168 __feraiseexcept_renamed.
40170 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40173 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40174 EPOLLET with unsigned values.
40175 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40176 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40178 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40179 to large cancellation.
40180 * math/s_cacoshf.c: Likewise.
40181 * math/s_cacoshl.c: Likewise.
40183 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40187 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40188 * math/s_cacoshf.c: Likewise.
40189 * math/s_cacoshl.c: Likewise.
40191 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40194 * iconv/gconv.h: Define __GCONV_SWAP.
40195 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40196 * iconvdata/utf-16.c: Likewise.
40197 * iconvdata/utf-32.c: Likewise.
40199 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40202 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40203 numerator after shifting it by one limb.
40205 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40207 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40208 under [__USE_EXTERN_INLINES].
40210 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40213 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40215 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40217 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40218 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40220 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40221 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40222 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40223 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40224 for strncasecmp/strncasecmp_l compilation.
40225 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40226 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40228 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40231 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40234 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40237 * time/tzfile.c (__tzfile_read): Check values from file header.
40239 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40241 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40242 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40243 * powerpc/powerpc32/dl-start.S: Likewise.
40244 * powerpc/powerpc32/elf/start.S: Likewise.
40245 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40246 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40247 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40248 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40249 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40250 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40251 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40252 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40253 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40254 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40255 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40256 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40257 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40258 * powerpc/powerpc32/memset.S: Likewise.
40259 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40260 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40261 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40262 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40263 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40264 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40265 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40266 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40267 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40268 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40269 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40270 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40271 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40273 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40275 * math/libm-test.inc: Added more nearbyint tests.
40276 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40277 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40279 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40281 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40283 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40286 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40288 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40289 Add wcscpy-ssse3 wcscpy-c.
40290 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40291 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40292 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40293 * sysdeps/x86_64/wcschr.S: New file.
40294 * sysdeps/x86_64/wcsrchr.S: New file.
40295 * string/test-strcmp.c: Remove checking of wcscmp function for
40297 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40298 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40299 wcsrchr-sse2 wcsrchr-c.
40300 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40301 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40302 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40303 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40304 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40305 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40306 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40307 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40308 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40309 * wcsmbc/wcschr.c (WCSCHR): New macro.
40311 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40313 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40314 * wcsmbs/test-wcsrchr.c: New file.
40315 * string/test-strrchr.c: Add wcsrchr support.
40317 * wcsmbs/test-wcscpy.c: New file.
40318 * string/test-strcpy.c: Add wcscpy support.
40321 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40323 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40326 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40329 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40331 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40333 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40334 Minor optimizations.
40336 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40337 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40338 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40340 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40342 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40343 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40344 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40345 for gcc to avoid warnings.
40346 * inet/Makefile (tests): Add tst-checks.
40347 * inet/tst-checks.c: New file.
40349 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40352 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40355 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40356 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40358 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40360 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40362 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40365 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40367 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40369 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40370 conditional on GCC version.
40371 (__arch_compare_and_exchange_val_8_acq)
40372 (__arch_compare_and_exchange_val_16_acq)
40373 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40374 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40375 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40377 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40379 * sysdeps/sh/backtrace.c: New file.
40381 2011-12-02 Andreas Schwab <schwab@redhat.com>
40383 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40386 2011-12-01 Andreas Schwab <schwab@redhat.com>
40388 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40389 falling back to utime.
40391 2011-11-30 Andreas Schwab <schwab@redhat.com>
40393 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40394 expectations for float.
40396 2011-11-29 Andreas Schwab <schwab@redhat.com>
40398 * locale/weight.h (findidx): Add parameter len.
40399 * locale/weightwc.h (findidx): Likewise.
40400 * posix/fnmatch_loop.c (FCT): Adjust caller.
40401 * posix/regcomp.c (build_equiv_class): Likewise.
40402 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40403 * posix/regexec.c (check_node_accept_bytes): Likewise.
40404 * string/strcoll_l.c (STRCOLL): Likewise.
40405 * string/strxfrm_l.c (STRXFRM): Likewise.
40407 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40409 * Makefile.in: Remove CVSOPT handling.
40410 * configure.in: Remove use of AC_REVISION.
40411 * iconvdata/Makefile (distribute): No need to filter out CVS.
40412 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40415 2011-11-16 Andreas Schwab <schwab@redhat.com>
40417 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40418 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40419 [USE_AS_STRNCASECMP_L]: Likewise.
40420 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40421 NO_TLS_DIRECT_SEG_REFS.
40422 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40423 Fix argument offsets for non-PIC.
40424 [USE_AS_STRNCASECMP_L]: Likewise.
40425 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40426 NO_TLS_DIRECT_SEG_REFS.
40428 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40430 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40432 * locale/loadlocale.c (_nl_load_locale): Likewise.
40434 2011-11-15 Andreas Schwab <schwab@redhat.com>
40436 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40437 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40438 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40439 (SYSCALL_GETTIME): Set errno on error.
40441 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40442 count references to noai6ai_cached.
40444 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40446 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40448 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40449 FD_CLOEXEC for /proc/self/maps.
40451 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40452 FD_CLOEXEC for /proc/meminfo.
40454 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40457 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40458 FD_CLOEXEC for given file.
40460 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40462 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40463 FD_CLOEXEC for /etc/hosts.
40464 (_gethtent): Likewise.
40466 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40468 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40469 cancellation and set FD_CLOEXEC for /etc/netgroup.
40471 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40472 reading /etc/publickey.
40474 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40475 allow cancellation when reading /etc/group.
40477 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40479 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40481 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40482 when using data file.
40484 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40486 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40487 (write_nis_obj): Use "c" and "e" in fopen.
40489 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40491 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40493 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40495 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40497 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40500 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40502 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40504 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40506 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40507 file parsing and set FD_CLOEXEC.
40509 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40511 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40513 2011-11-14 Andreas Schwab <schwab@redhat.com>
40515 * malloc/arena.c (arena_get2): Don't call reused_arena when
40516 _int_new_arena failed.
40518 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40520 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40521 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40522 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40523 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40524 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40525 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40526 to compile strcasecmp and strncasecmp.
40527 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40528 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40530 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40532 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40534 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40535 locale-defines.sym to gen-as-const-headers.
40536 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40537 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40539 to compile strcasecmp and strncasecmp.
40540 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40541 strcasecmp_l and strncasecmp_l.
40542 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40543 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40544 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40545 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40546 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40547 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40548 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40549 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40550 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40551 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40552 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40554 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40556 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40557 result of SYSDEP_GETTIME_CPU to retval.
40558 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40559 parameter list to macro. Remove trailing semicolon. Adjust users.
40561 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40564 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40566 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40568 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40569 from unused variable.
40571 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40573 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40576 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40579 * sunrpc/rpc_prot.c (rejected): Fix case value.
40581 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40582 unsigned long long int to avoid warnings in shift.
40584 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40586 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40589 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40590 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40591 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40593 * nis/nis_table.c (nis_list): Use variable of correct type for
40594 result of __follow_path call.
40596 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40598 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40599 of math functions ceil, trunc, floor, round, and sqrt, when
40600 avaliable on the platform.
40601 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40603 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40604 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40605 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40607 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40609 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40610 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40612 2011-11-11 Roland McGrath <roland@hack.frob.com>
40614 * include/unistd.h: Fix __readlink return type.
40615 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40617 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40619 * stdlib/ucontext.h: Undo last change for makecontext.
40621 2011-11-11 Andreas Schwab <schwab@redhat.com>
40623 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40625 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40626 * setjmp/setjmp.h: Mark functions as non-leaf.
40627 * setjmp/bits/setjmp2.h: Likewise.
40628 * stdlib/ucontext.h: Likewise.
40630 2011-11-10 Andreas Schwab <schwab@redhat.com>
40632 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40633 (reused_arena): Don't check arena limit.
40634 (arena_get2): Atomically check arena limit.
40636 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40638 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40639 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40641 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40644 2011-11-07 Andreas Schwab <schwab@redhat.com>
40646 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40647 handler when locking.
40649 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40650 Fix size of allocated buffer.
40652 2011-11-04 Andreas Schwab <schwab@redhat.com>
40655 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40656 declarations for long double functions.
40657 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40659 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40661 2011-11-03 Andreas Schwab <schwab@redhat.com>
40663 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40666 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40669 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40671 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40673 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40675 * include/alloca.h (stackinfo_alloca_round): Define.
40676 (extend_alloca): Use it.
40677 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40678 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40681 * scripts/check-local-headers.sh: Ignore libaudit.h.
40683 * nscd/Makefile (extra-objs): Make recursively expanded.
40685 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40687 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40688 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40690 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40691 * posix/tst-rfc3484-2.c: Likewise.
40692 * posix/tst-rfc3484-3.c: Likewise.
40694 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40696 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40698 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40699 process_vm_writev from libc using GLIBC_2.15 version.
40701 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40703 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40705 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40708 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40711 * nss/getent.c (initgroups_keys): Show error message in case no group
40714 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40715 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40716 __bump_nl_timestamp.
40717 * nscd/connections (nscd_init): When host database is served open
40718 netlink socket and request notification about configuration changes.
40719 (main_loop_poll): Track netlink file descriptor and bump timestamp
40720 in case data becomes available.
40721 (main_loop_epoll): Likewise.
40722 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40723 (database_pers_head): Add extra_data fileds.
40724 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40725 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40726 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40728 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40729 in6ai data, call __free_in6ai.
40730 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40731 Add -DHAVE_NETLINK.
40732 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40733 interface information. Reuse previous data if netlink timestamp
40735 (__bump_nl_timestamp): New function.
40736 (__free_in6ai): New function.
40738 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40740 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40741 close_not_cancel_no_status here.
40742 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40744 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40747 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40750 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40751 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40752 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40754 2011-07-03 Andreas Jaeger <aj@suse.de>
40757 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40758 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40759 * math/libm-test.inc (sin_test): Add test case.
40761 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40764 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40765 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40767 * elf/chroot_canon.c (chroot_canon): Cleanups.
40769 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40772 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40773 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40775 * string/test-strchr.c: Make usable for strchrnul testing.
40776 * string/test-strchrnul.c: New file.
40777 * string/Makefile (strop-tests): Add strchrnul.
40779 * po/it.po: Update from translation team.
40780 * po/es.po: Likewise.
40782 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40784 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40785 the three constants needed as parameters. Drop the others.
40786 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40787 __m128i_strloadu_tolower.
40788 Create and initialize variable zero and use it in all the places
40789 where _mm_setzero_si128 was used.
40791 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40792 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40793 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40794 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40796 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40797 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40798 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40799 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40800 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40801 __mpranred, __mptan.
40802 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40803 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40804 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40805 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40806 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40807 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40808 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40809 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40810 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40812 2011-10-28 Andreas Schwab <schwab@redhat.com>
40814 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40815 redefine if SHARED.
40816 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40818 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40819 wide char related routines to wcsmbs subdir.
40821 2011-10-27 Andreas Schwab <schwab@redhat.com>
40824 * misc/sys/cdefs.h (__THROWNL): Define.
40825 * posix/unistd.h: Use __THREADNL instead of __THREAD
40826 for memory synchronization functions.
40828 2011-10-26 Roland McGrath <roland@hack.frob.com>
40831 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40833 * manual/stdio.texi (Obstack Streams): Node removed.
40835 2011-10-26 Andreas Schwab <schwab@redhat.com>
40837 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40838 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40839 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40841 * math/math_private.h (math_force_eval): Allow non-addressable
40843 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40845 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40847 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40848 file is not needed.
40850 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40851 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40852 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40853 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40854 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40855 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40856 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40857 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40859 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40860 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40861 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40862 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40863 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40864 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40865 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40866 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40867 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40868 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40869 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40870 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40871 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40872 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40873 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40874 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40875 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40876 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40877 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40879 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40880 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40882 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40883 place. Use VEX encoding when compiling for AVX.
40885 2011-10-25 Andreas Schwab <schwab@redhat.com>
40887 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40888 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40890 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40892 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40894 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40895 useless if() expression.
40896 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40897 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40898 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40899 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40900 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40901 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40902 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40903 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40904 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40905 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40906 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40907 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40908 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40909 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40910 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40911 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40912 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40913 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40914 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40916 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40918 2011-10-25 Andreas Schwab <schwab@redhat.com>
40920 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40922 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40924 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40926 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40927 .text section. Avoid duplicate constants.
40928 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40932 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40935 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40936 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40937 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40938 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40939 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40940 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40941 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40942 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40943 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40944 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40945 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40946 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40948 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40949 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40950 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40951 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40952 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40953 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40954 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40955 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40956 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40957 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40958 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40959 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40960 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40961 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40962 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40963 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40964 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40965 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40966 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40967 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40968 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40970 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40971 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40972 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40974 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40976 * sysdeps/x86_64/dla.h: Move to ...
40977 * sysdeps/x86_64/fpu/dla.h: ...here.
40978 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40979 situations. Use __builtin_fma only for gcc 4.6 and up.
40981 * config.make.in: Add have-mfma4 entry.
40982 * configure.in: Substitute libc_cv_cc_fma4.
40983 * math/Makefile (dbl-only-routines): Add sincostab.
40984 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40985 Use __sincostab not sincos.
40986 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40990 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40993 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40994 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40995 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40996 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40998 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40999 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41001 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41002 define aliases when function name is a macro.
41003 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41004 sysdeps/ieee754/dbl-64/sincos.tbl.
41005 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41006 fma4-enabled routines.
41007 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41008 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41009 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41010 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41011 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41012 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41013 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41014 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41015 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41016 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41017 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41018 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41019 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41020 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41021 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41022 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41023 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41024 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41025 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41026 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41027 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41028 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41029 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41030 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41031 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41032 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41033 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41034 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41035 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41036 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41038 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41041 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41042 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41043 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41047 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41049 2011-10-24 Andreas Schwab <schwab@redhat.com>
41051 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41053 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41055 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41057 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41059 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41061 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41062 Remove unused variable magic_bits.
41063 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41065 * string/strnlen.c: Define and use STRNLEN macro.
41066 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41067 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41069 * wcsmbs/wcslen.c: Define and use WCSLEN.
41070 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41071 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41072 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41073 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41074 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41075 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41076 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41078 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41081 strnlen-sse2-no-bsf.
41082 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41083 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41084 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41085 Add strnlen support.
41086 (USE_AS_STRNLEN): New macro.
41087 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41088 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41089 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41090 * sysdeps/x86_64/wcslen.S: New file.
41092 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41094 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41095 XMM-moves are used for copying on small sizes.
41097 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41099 * wcsmbs/Makefile (strop-tests): Add wcschr.
41100 * wcsmbs/test-wcschr.c: New file.
41101 * string/test-strchr.c: Update.
41102 Add wcschr support.
41105 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41107 * wcsmbs/Makefile (strop-tests): Add wcslen.
41108 * wcsmbs/test-wcslen.c: New file.
41109 * string/test-strlen.c: Update.
41110 Add wcslen support.
41113 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41115 * po/it.po: Update from translation team.
41117 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41119 * sysdeps/x86_64/wcscmp.S: Update.
41120 Fix wrong comparison semantics.
41121 wcscmp shall use signed comparison not unsigned.
41122 Don't use substraction to avoid overflow bug.
41123 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41124 * wcsmbc/wcscmp.c: Likewise.
41125 * string/test-strcmp.c: Likewise.
41126 Add new tests to check cases with negative values.
41128 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41130 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41131 * sysdeps/x86_64/dla.h: ...here. New file.
41132 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41137 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41139 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41140 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41142 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41144 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41145 __ynl_finite aliases.
41147 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41151 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41153 [DLA_FMA] (EMULV): Use DLA_FMA.
41154 [DLA_FMA] (MUL12): Use EMULV.
41155 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41156 that are not needed.
41157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41159 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41160 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41161 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41162 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41165 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41167 * math/s_nan.c: Undef __nan.
41168 * math/s_nanf.c: Undef __nanf.
41169 * math/s_nanl.c: Undef __nanl.
41170 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41173 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41175 * math/s_catan.c: Add branch predictions.
41176 * math/s_catanf.c: Likewise.
41177 * math/s_catanh.c: Likewise.
41178 * math/s_catanhf.c: Likewise.
41179 * math/s_catanhl.c: Likewise.
41180 * math/s_catanl.c: Likewise.
41181 * math/s_cexp.c: Likewise.
41182 * math/s_cexpf.c: Likewise.
41183 * math/s_cexpl.c: Likewise.
41184 * math/s_clog.c: Likewise.
41185 * math/s_clog10.c: Likewise.
41186 * math/s_clog10f.c: Likewise.
41187 * math/s_clog10l.c: Likewise.
41188 * math/s_clogf.c: Likewise.
41189 * math/s_clogl.c: Likewise.
41190 * math/s_csqrt.c: Likewise.
41191 * math/s_csqrtf.c: Likewise.
41192 * math/s_csqrtl.c: Likewise.
41193 * math/s_ctanf.c: Likewise.
41194 * math/s_ctanh.c: Likewise.
41195 * math/s_ctanhf.c: Likewise.
41196 * math/s_ctanhl.c: Likewise.
41197 * math/s_ctanl.c: Likewise.
41199 * math/math_private.h: Define __nan, __nanf, __nanl.
41200 * math/s_cacosh.c: Include <math_private.h>.
41201 * math/s_cacoshl.c: Likewise.
41202 * math/s_casinh.c: Likewise.
41203 * math/s_casinhf.c: Likewise.
41204 * math/s_casinhl.c: Likewise.
41205 * math/s_ccos.c: Rely entire on ccosh.
41206 * math/s_ccosf.c: Rely entire on ccoshf.
41207 * math/s_ccosl.c: Rely entirely on ccoshl.
41208 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41209 Remove tests for FE_INVALID.
41210 * math/s_ccoshf.c: Likewise.
41211 * math/s_ccoshl.c: Likewise.
41212 * math/s_csin.c: Likewise.
41213 * math/s_csinf.c: Likewise.
41214 * math/s_csinh.c Likewise.
41215 * math/s_csinhf.c: Likewise.
41216 * math/s_csinhl.c: Likewise.
41217 * math/s_csinl.c: Likewise.
41218 * math/s_ctan.c: Likewise.
41219 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41220 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41221 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41223 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41226 compilation problems.
41228 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41231 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41233 * sysdeps/i386/configure.in: Test for -mfma4 option.
41234 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41235 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41236 COMMON_CPUID_INDEX_80000001.
41237 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41238 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41239 use it if FMA3 is not supported.
41240 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41242 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41243 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41245 2011-10-20 Andreas Schwab <schwab@redhat.com>
41248 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41249 it would create a cycle with a link time dependency.
41251 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41253 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41255 * string/Makefile (strop-tests): Add rawmemchr.
41256 * string/test-rawmemchr.c: New file.
41258 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41259 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41260 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41261 when compiling str{,n}casecmp and when AVX is available. Hook up
41262 new optimized code in initializers.
41264 2011-10-19 Andreas Schwab <schwab@redhat.com>
41266 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41267 __feraiseexcept instead of feraiseexcept.
41269 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41271 * math/math_private.h: Define defaults for libc_fetestexcept and
41273 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41274 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41275 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41276 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41277 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41278 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41279 libc_fetestexcept and libc_feupdateenv.
41281 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41282 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41283 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41284 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41285 libc_feholdexcept_setround.
41287 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41288 Add s_nearbyint-c and s_nearbyintf-c.
41289 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41290 nearbyintf inlines.
41291 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41292 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41293 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41294 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41296 * math/math_private.h: Define defaults for libc_fegetround,
41297 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41298 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41299 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41300 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41301 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41302 standard functions.
41303 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41304 Remove comments and hacks for old compiler versions.
41305 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41306 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41307 libc_feholdexceptl.
41309 2011-10-18 Andreas Schwab <schwab@redhat.com>
41311 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41312 (__feraiseexcept_renamed): Add __NTH.
41313 (feraiseexcept): Add __NTH. Rename local variables to fix
41314 namespace violations.
41316 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41318 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41320 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41322 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41323 recently added interfaces.
41324 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41326 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41327 about macro parameter expansion.
41329 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41330 __NO_MATH_INLINES is defined. Cleanups.
41332 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41333 and __floorf is target has SSE4.1.
41334 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41335 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41336 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41337 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41339 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41341 (floorf): Likewise.
41343 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41345 2011-10-17 Andreas Schwab <schwab@redhat.com>
41347 * misc/sys/cdefs.h: Fix last change.
41349 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41352 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41354 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41356 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41357 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41358 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41359 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41360 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41361 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41362 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41363 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41364 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41365 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41366 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41367 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41368 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41369 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41370 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41371 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41372 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41373 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41374 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41375 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41376 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41377 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41379 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41380 ceil, ceilf, floor, floorf.
41382 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41383 Perform IRELATIVE relocations last.
41385 * elf/do-rel.h: Add another parameter nrelative, replacing the
41386 local variable with the same name. Change name of the function
41387 to end in Rel or Rela (uppercase).
41388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41389 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41390 elf_dynamic_do_##reloc function.
41392 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41394 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41395 is sufficient, at least on modern CPUs.
41397 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41399 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41400 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41402 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41404 * math/bits/math-finite.h: Add entries for exp.
41405 * math/e_expl.c: Add __*_finite alias.
41406 * sysdeps/i386/fpu/e_exp.S: Likewise.
41407 * sysdeps/i386/fpu/e_expf.S: Likewise.
41408 * sysdeps/i386/fpu/e_expl.c: Likewise.
41409 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41410 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41411 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41412 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41413 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41414 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41415 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41417 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41418 is sufficient, at least on modern CPUs.
41420 * ctype/ctype-info.c (__ctype_init): Define.
41421 * include/ctype.h (__ctype_init): Declare.
41422 (__ctype_b_loc): The variable is always initialized.
41423 (__ctype_toupper_loc): Likewise.
41424 (__ctype_tolower_loc): Likewise.
41425 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41426 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41428 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41430 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41432 * configure.in: Also look in $cxxmachine/include for C++ system
41435 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41437 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41438 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41439 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41440 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41441 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41442 (USE_AS_WMEMCMP): New macro.
41444 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41445 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41446 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41447 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41449 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41450 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41451 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41452 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41453 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41454 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41455 (USE_AS_WMEMCMP): New macro.
41456 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41457 * sysdeps/string/test-memcmp.c: Update.
41458 Fix simple_wmemcmp.
41460 * wcsmbs/wmemcmp.c: Update.
41461 (WMEMCMP): New macro.
41464 2011-10-12 Andreas Jaeger <aj@suse.de>
41467 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41469 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41471 * libio/iofwide.c (do_length): Avoid warning.
41473 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41475 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41477 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41479 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41480 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41481 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41482 * sysdeps/i386/i686/fpu/e_log.S: New file.
41483 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41484 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41486 * ctype/ctype.h: Add support for inlined isXXX functions when
41487 compiling C++ code.
41489 2011-10-14 Andreas Schwab <schwab@redhat.com>
41491 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41493 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41495 2011-10-13 Roland McGrath <roland@hack.frob.com>
41498 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41500 2011-10-13 Andreas Schwab <schwab@redhat.com>
41502 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41503 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41506 * sysdeps/x86_64/memrchr.S: Check for zero size.
41508 * string/stratcliff.c: Add memrchr tests.
41510 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41513 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41514 rawmemchr-sse2 rawmemchr-sse2-bsf.
41515 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41516 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41517 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41518 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41519 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41520 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41521 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41522 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41523 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41524 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41525 * string/memrchr.c (MEMRCHR): New macro.
41527 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41529 Add integration with gcc's -ffinite-math-only and optimize wrapper
41531 * Versions.def: Define GLIBC_2.15 version for libm.
41532 * math/Makefile (headers): Add bits/math-finite.h.
41533 * math/bits/math-finite.h: New file.
41534 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41535 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41536 * math/e_acoshl.c: Add __*_finite alias.
41537 * math/e_acosl.c: Likewise.
41538 * math/e_asinl.c: Likewise.
41539 * math/e_atan2l.c: Likewise.
41540 * math/e_atanhl.c: Likewise.
41541 * math/e_coshl.c: Likewise.
41542 * math/e_exp10.c: Likewise.
41543 * math/e_exp10f.c: Likewise.
41544 * math/e_exp10l.c: Likewise.
41545 * math/e_exp2l.c: Likewise.
41546 * math/e_fmodl.c: Likewise.
41547 * math/e_gammal_r.c: Likewise.
41548 * math/e_hypotl.c: Likewise.
41549 * math/e_j0l.c: Likewise.
41550 * math/e_j1l.c: Likewise.
41551 * math/e_jnl.c: Likewise.
41552 * math/e_lgammal_r.c: Likewise.
41553 * math/e_log10l.c: Likewise.
41554 * math/e_log2l.c: Likewise.
41555 * math/e_logl.c: Likewise.
41556 * math/e_powl.c: Likewise.
41557 * math/e_sinhl.c: Likewise.
41558 * math/e_sqrtl.c: Likewise.
41559 * math/e_scalb.c: Completely rewritten and optimized.
41560 * math/e_scalbf.c: Likewise.
41561 * math/e_scalbl.c: Likewise.
41562 * math/w_acos.c: Likewise.
41563 * math/w_acosf.c: Likewise.
41564 * math/w_acosl.c: Likewise.
41565 * math/w_acosh.c: Likewise.
41566 * math/w_acoshf.c: Likewise.
41567 * math/w_acoshl.c: Likewise.
41568 * math/w_asin.c: Likewise.
41569 * math/w_asinf.c: Likewise.
41570 * math/w_asinl.c: Likewise.
41571 * math/w_atan2.c: Likewise.
41572 * math/w_atan2f.c: Likewise.
41573 * math/w_atan2l.c: Likewise.
41574 * math/w_atanh.c: Likewise.
41575 * math/w_atanhf.c: Likewise.
41576 * math/w_atanhl.c: Likewise.
41577 * math/w_exp10.c: Likewise.
41578 * math/w_exp10f.c: Likewise.
41579 * math/w_exp10l.c: Likewise.
41580 * math/w_fmod.c: Likewise.
41581 * math/w_fmodf.c: Likewise.
41582 * math/w_fmodl.c: Likewise.
41583 * math/w_j0.c: Likewise.
41584 * math/w_j0f.c: Likewise.
41585 * math/w_j0l.c: Likewise.
41586 * math/w_j1.c: Likewise.
41587 * math/w_j1f.c: Likewise.
41588 * math/w_j1l.c: Likewise.
41589 * math/w_jn.c: Likewise.
41590 * math/w_jnf.c: Likewise.
41591 * math/w_log.c: Likewise.
41592 * math/w_logf.c: Likewise.
41593 * math/w_logl.c: Likewise.
41594 * math/w_log10.c: Likewise.
41595 * math/w_log10f.c: Likewise.
41596 * math/w_log10l.c: Likewise.
41597 * math/w_log2.c: Likewise.
41598 * math/w_log2f.c: Likewise.
41599 * math/w_log2l.c: Likewise.
41600 * math/w_pow.c: Likewise.
41601 * math/w_powf.c: Likewise.
41602 * math/w_powl.c: Likewise.
41603 * math/w_remainder.c: Likewise.
41604 * math/w_remainderf.c: Likewise.
41605 * math/w_remainderl.c: Likewise.
41606 * math/w_scalb.c: Likewise.
41607 * math/w_scalbf.c: Likewise.
41608 * math/w_scalbl.c: Likewise.
41609 * math/w_sqrt.c: Likewise.
41610 * math/w_sqrtf.c: Likewise.
41611 * math/w_sqrtl.c: Likewise.
41612 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41613 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41615 * math/math_private.h: Declare __kernel_standard_f.
41616 * math/w_cosh.c: Remove cruft and optimize a bit.
41617 * math/w_coshf.c: Likewise.
41618 * math/w_coshl.c: Likewise.
41619 * math/w_exp2.c: Likewise.
41620 * math/w_exp2f.c: Likewise.
41621 * math/w_exp2l.c: Likewise.
41622 * math/w_hypot.c: Likewise.
41623 * math/w_hypotf.c: Likewise.
41624 * math/w_hypotl.c: Likewise.
41625 * math/w_lgamma.c: Likewise.
41626 * math/w_lgamma_r.c: Likewise.
41627 * math/w_lgammaf.c: Likewise.
41628 * math/w_lgammaf_r.c: Likewise.
41629 * math/w_lgammal.c: Likewise.
41630 * math/w_lgammal_r.c: Likewise.
41631 * math/w_sinh.c: Likewise.
41632 * math/w_sinhf.c: Likewise.
41633 * math/w_sinhl.c: Likewise.
41634 * math/w_tgamma.c: Likewise.
41635 * math/w_tgammaf.c: Likewise.
41636 * math/w_tgammal.c: Likewise.
41637 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41639 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41640 Minor optimizations. Pretty printing. Remove cruft.
41641 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41642 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41643 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41644 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41645 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41646 * sysdeps/i386/fpu/e_asin.S: Likewise.
41647 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41648 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41649 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41650 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41651 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41652 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41653 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41654 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41655 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41656 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41657 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41658 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41659 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41660 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41661 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41662 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41663 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41664 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41665 * sysdeps/i386/fpu/e_log.S: Likewise.
41666 * sysdeps/i386/fpu/e_log10.S: Likewise.
41667 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41668 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41669 * sysdeps/i386/fpu/e_log2.S: Likewise.
41670 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41671 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41672 * sysdeps/i386/fpu/e_logf.S: Likewise.
41673 * sysdeps/i386/fpu/e_logl.S: Likewise.
41674 * sysdeps/i386/fpu/e_pow.S: Likewise.
41675 * sysdeps/i386/fpu/e_powf.S: Likewise.
41676 * sysdeps/i386/fpu/e_powl.S: Likewise.
41677 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41678 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41679 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41680 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41681 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41682 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41683 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41684 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41685 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41686 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41687 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41689 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41690 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41691 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41692 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41693 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41694 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41695 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41696 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41697 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41699 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41700 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41702 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41703 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41704 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41705 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41706 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41707 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41708 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41709 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41710 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41711 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41712 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41713 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41714 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41715 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41716 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41717 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41718 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41719 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41720 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41721 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41722 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41723 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41724 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41725 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41726 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41727 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41728 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41729 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41730 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41731 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41732 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41734 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41736 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41737 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41738 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41739 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41740 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41741 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41742 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41743 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41744 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41745 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41746 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41747 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41748 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41749 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41750 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41751 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41752 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41753 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41754 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41755 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41756 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41757 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41758 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41759 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41760 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41762 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41763 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41764 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41765 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41766 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41767 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41768 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41769 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41770 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41771 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41772 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41773 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41774 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41775 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41776 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41777 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41778 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41779 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41780 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41781 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41782 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41783 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41784 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41785 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41786 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41787 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41788 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41789 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41790 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41791 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41792 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41793 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41794 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41795 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41796 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41797 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41798 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41799 (__isnanf): Likewise.
41800 (__isinf_ns): Likewise.
41801 (__isinf_nsf): Likewise.
41802 (__finite): Likewise.
41803 (__finitef): Likewise.
41804 (__ieee754_sqrt): Define as macro.
41805 (__ieee754_sqrtf): Define as macro.
41806 (__ieee754_sqrtl): Define as macro.
41807 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41809 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41810 __FINITE_MATH_ONLY__ consistent.
41811 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41813 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41815 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41818 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41820 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41822 * po/ja.po: Update from translation team.
41824 2011-10-08 Roland McGrath <roland@hack.frob.com>
41826 * locale/programs/locarchive.c (prepare_address_space): New function.
41827 (create_archive, enlarge_archive, open_archive): Use it.
41829 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41830 inside [SHARED], where it is used.
41832 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41834 * nss/getent.c (netgroup_keys): Remove unused variable.
41835 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41837 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41839 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41840 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41841 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41842 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41843 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41844 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41845 * math/Makefile (libm-calls): Add s_isinf_ns.
41846 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41847 * math/multc3.c: Likewise.
41848 * math/s_casin.c: Likewise.
41849 * math/s_casinf.c: Likewise.
41850 * math/s_casinl.c: Likewise.
41851 * math/s_ccos.c: Likewise.
41852 * math/s_ccosf.c: Likewise.
41853 * math/s_ccosl.c: Likewise.
41854 * math/s_ctan.c: Likewise.
41855 * math/s_ctanf.c: Likewise.
41856 * math/s_ctanh.c: Likewise.
41857 * math/s_ctanhf.c: Likewise.
41858 * math/s_ctanhl.c: Likewise.
41859 * math/s_ctanl.c: Likewise.
41860 * math/w_fmod.c: Likewise.
41861 * math/w_fmodf.c: Likewise.
41862 * math/w_fmodl.c: Likewise.
41863 * math/w_remainder.c: Likewise.
41864 * math/w_remainderf.c: Likewise.
41865 * math/w_remainderl.c: Likewise.
41866 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41867 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41868 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41870 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41871 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41872 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41873 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41875 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41877 * stdio-common/printf_fphex.c: Likewise.
41878 * stdio-common/printf_size.c: Likewise.
41880 * math/e_exp10.c: Include math_private.h using <...> not "...".
41881 * math/e_exp10f.c: Likewise.
41882 * math/e_exp10l.c: Likewise.
41883 * math/e_exp2l.c: Likewise.
41884 * math/e_j0l.c: Likewise.
41885 * math/e_j1l.c: Likewise.
41886 * math/e_jnl.c: Likewise.
41887 * math/e_lgammal_r.c: Likewise.
41888 * math/e_rem_pio2l.c: Likewise.
41889 * math/e_scalb.c: Likewise.
41890 * math/e_scalbf.c: Likewise.
41891 * math/e_scalbl.c: Likewise.
41892 * math/k_cosl.c: Likewise.
41893 * math/k_sinl.c: Likewise.
41894 * math/k_tanl.c: Likewise.
41895 * math/s_cacoshf.c: Likewise.
41896 * math/s_catan.c: Likewise.
41897 * math/s_catanf.c: Likewise.
41898 * math/s_catanh.c: Likewise.
41899 * math/s_catanhf.c: Likewise.
41900 * math/s_catanhl.c: Likewise.
41901 * math/s_catanl.c: Likewise.
41902 * math/s_ccosh.c: Likewise.
41903 * math/s_ccoshf.c: Likewise.
41904 * math/s_ccoshl.c: Likewise.
41905 * math/s_cexp.c: Likewise.
41906 * math/s_cexpf.c: Likewise.
41907 * math/s_cexpl.c: Likewise.
41908 * math/s_clog.c: Likewise.
41909 * math/s_clog10.c: Likewise.
41910 * math/s_clog10f.c: Likewise.
41911 * math/s_clog10l.c: Likewise.
41912 * math/s_clogf.c: Likewise.
41913 * math/s_clogl.c: Likewise.
41914 * math/s_csin.c: Likewise.
41915 * math/s_csinf.c: Likewise.
41916 * math/s_csinh.c: Likewise.
41917 * math/s_csinhf.c: Likewise.
41918 * math/s_csinhl.c: Likewise.
41919 * math/s_csinl.c: Likewise.
41920 * math/s_csqrt.c: Likewise.
41921 * math/s_csqrtf.c: Likewise.
41922 * math/s_csqrtl.c: Likewise.
41923 * math/s_ctan.c: Likewise.
41924 * math/s_ctanf.c: Likewise.
41925 * math/s_ctanh.c: Likewise.
41926 * math/s_ctanhf.c: Likewise.
41927 * math/s_ctanhl.c: Likewise.
41928 * math/s_ctanl.c: Likewise.
41929 * math/s_ldexp.c: Likewise.
41930 * math/s_ldexpf.c: Likewise.
41931 * math/s_ldexpl.c: Likewise.
41932 * math/s_significand.c: Likewise.
41933 * math/s_significandf.c: Likewise.
41934 * math/s_significandl.c: Likewise.
41935 * math/w_acos.c: Likewise.
41936 * math/w_acosf.c: Likewise.
41937 * math/w_acosh.c: Likewise.
41938 * math/w_acoshf.c: Likewise.
41939 * math/w_acoshl.c: Likewise.
41940 * math/w_acosl.c: Likewise.
41941 * math/w_asin.c: Likewise.
41942 * math/w_asinf.c: Likewise.
41943 * math/w_asinl.c: Likewise.
41944 * math/w_atan2.c: Likewise.
41945 * math/w_atan2f.c: Likewise.
41946 * math/w_atan2l.c: Likewise.
41947 * math/w_atanh.c: Likewise.
41948 * math/w_atanhf.c: Likewise.
41949 * math/w_atanhl.c: Likewise.
41950 * math/w_cosh.c: Likewise.
41951 * math/w_coshf.c: Likewise.
41952 * math/w_coshl.c: Likewise.
41953 * math/w_dremf.c: Likewise.
41954 * math/w_exp10.c: Likewise.
41955 * math/w_exp10f.c: Likewise.
41956 * math/w_exp10l.c: Likewise.
41957 * math/w_exp2.c: Likewise.
41958 * math/w_exp2f.c: Likewise.
41959 * math/w_fmod.c: Likewise.
41960 * math/w_fmodf.c: Likewise.
41961 * math/w_fmodl.c: Likewise.
41962 * math/w_hypot.c: Likewise.
41963 * math/w_hypotf.c: Likewise.
41964 * math/w_hypotl.c: Likewise.
41965 * math/w_j0.c: Likewise.
41966 * math/w_j0f.c: Likewise.
41967 * math/w_j0l.c: Likewise.
41968 * math/w_j1.c: Likewise.
41969 * math/w_j1f.c: Likewise.
41970 * math/w_j1l.c: Likewise.
41971 * math/w_jn.c: Likewise.
41972 * math/w_jnf.c: Likewise.
41973 * math/w_jnl.c: Likewise.
41974 * math/w_lgamma.c: Likewise.
41975 * math/w_lgamma_r.c: Likewise.
41976 * math/w_lgammaf.c: Likewise.
41977 * math/w_lgammaf_r.c: Likewise.
41978 * math/w_lgammal.c: Likewise.
41979 * math/w_lgammal_r.c: Likewise.
41980 * math/w_log.c: Likewise.
41981 * math/w_log10.c: Likewise.
41982 * math/w_log10f.c: Likewise.
41983 * math/w_log10l.c: Likewise.
41984 * math/w_log2.c: Likewise.
41985 * math/w_log2f.c: Likewise.
41986 * math/w_log2l.c: Likewise.
41987 * math/w_logf.c: Likewise.
41988 * math/w_logl.c: Likewise.
41989 * math/w_pow.c: Likewise.
41990 * math/w_powf.c: Likewise.
41991 * math/w_powl.c: Likewise.
41992 * math/w_remainder.c: Likewise.
41993 * math/w_remainderf.c: Likewise.
41994 * math/w_remainderl.c: Likewise.
41995 * math/w_scalb.c: Likewise.
41996 * math/w_scalbf.c: Likewise.
41997 * math/w_scalbl.c: Likewise.
41998 * math/w_sinh.c: Likewise.
41999 * math/w_sinhf.c: Likewise.
42000 * math/w_sinhl.c: Likewise.
42001 * math/w_sqrt.c: Likewise.
42002 * math/w_sqrtf.c: Likewise.
42003 * math/w_sqrtl.c: Likewise.
42004 * math/w_tgamma.c: Likewise.
42005 * math/w_tgammaf.c: Likewise.
42006 * math/w_tgammal.c: Likewise.
42008 * po/ja.po: Update from translation team.
42010 2011-09-29 Andreas Jaeger <aj@suse.de>
42013 * sunrpc/netname.c (netname2host): Fix logic.
42017 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42019 * math/w_remainder.c (__remainder): Likewise.
42020 * math/w_remainderf.c (__remainderf): Likewise.
42021 * math/libm-test.inc (remainder_test): Add test cases.
42023 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42025 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42028 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42030 * string/test-memcmp.c: Avoid unncessary #defines.
42031 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42033 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42035 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42036 Use new sse2 version for core i3 - i7 as it's faster
42037 than sse42 version.
42038 (bit_Prefer_PMINUB_for_stringop): New.
42039 * sysdeps/x86_64/rawmemchr.S: Update.
42040 Replace with faster SSE2 version.
42041 * sysdeps/x86_64/memrchr.S: New file.
42042 * sysdeps/x86_64/memchr.S: Update.
42043 Replace with faster SSE2 version.
42045 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42047 * elf/dl-load.c (lose): Add cast to avoid warning.
42049 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42051 * po/ca.po: Update from translation team.
42053 * inet/getnetgrent_r.c: Hook up nscd.
42054 * nscd/Makefile (routines): Add nscd_netgroup.
42055 (nscd-modules): Add netgroupcache.
42056 (CFLAGS-netgroupcache.c): Define.
42057 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42058 (cache_search): Add const to second parameter.
42059 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42061 (dbs): Add netgrdb entry.
42062 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42063 (verify_persistent_db): Handle netgrdb.
42064 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42065 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42067 (netgroup_response_header): Define.
42068 (innetgroup_response_header): Define.
42069 (datahead): Add netgroup_response_header and innetgroup_response_header
42071 * nscd/nscd.conf: Add entries for netgroup cache.
42072 * nscd/nscd.h (dbtype): Add netgrdb.
42073 (_PATH_NSCD_NETGROUP_DB): Define.
42074 (netgroup_iov_disabled): Declare.
42075 (xmalloc, xcalloc, xrealloc): Move declarations here.
42076 (cache_search): Adjust prototype.
42077 Add netgroup-related prototypes.
42078 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42079 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42080 (__nscd_innetgr): Declare.
42081 * nscd/selinux.c (perms): Use access_vector_t as element type and
42082 add netgroup-related initializers.
42083 * nscd/netgroupcache.c: New file.
42084 * nscd/nscd_netgroup.c: New file.
42085 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42086 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42087 For four parameters use innetgr.
42088 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42089 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42090 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42091 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42093 * nscd/connections.c (register_traced_file): Don't register file
42094 for disabled databases.
42096 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42098 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42100 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42101 from tree and freeing node.
42103 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42105 * nss/nsswitch.c (__nss_database_lookup): Handle
42106 nss_parse_service_list out of memory case.
42108 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42110 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42111 out of memory case.
42113 2011-10-04 Andreas Schwab <schwab@redhat.com>
42115 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42116 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42118 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42119 elf_machine_rela, elf_machine_lazy_rel.
42120 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42121 (ELF_DYNAMIC_DO_REL): Likewise.
42122 (ELF_DYNAMIC_DO_RELA): Likewise.
42123 (ELF_DYNAMIC_RELOCATE): Likewise.
42124 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42125 to ELF_DYNAMIC_DO_REL.
42126 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42127 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42128 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42130 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42131 skip_ifunc, don't call ifunc function if non-zero.
42132 (elf_machine_rela): Likewise.
42133 (elf_machine_lazy_rel): Likewise.
42134 (elf_machine_lazy_rela): Likewise.
42135 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42136 (elf_machine_lazy_rel): Likewise.
42137 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42139 (elf_machine_lazy_rel): Likewise.
42140 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42142 (elf_machine_lazy_rel): Likewise.
42143 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42144 (elf_machine_lazy_rel): Likewise.
42145 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42146 (elf_machine_lazy_rel): Likewise.
42147 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42148 (elf_machine_lazy_rel): Likewise.
42149 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42150 (elf_machine_lazy_rel): Likewise.
42151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42152 (elf_machine_lazy_rel): Likewise.
42153 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42154 (elf_machine_lazy_rel): Likewise.
42156 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42158 * nss/nss_files/files-init.c (_nss_files_init): Use static
42159 initialization for all the *_traced_file variables.
42161 2011-09-28 Andreas Schwab <schwab@redhat.com>
42163 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42165 2011-09-27 Roland McGrath <roland@hack.frob.com>
42168 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42170 2011-09-27 Andreas Schwab <schwab@redhat.com>
42172 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42173 Reread the line before reparsing it.
42175 2011-09-26 Andreas Schwab <schwab@redhat.com>
42177 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42179 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42180 Maxim Kuvyrkov <maxim@codesourcery.com>
42181 Joseph Myers <joseph@codesourcery.com>
42183 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42184 if needed for __stack_chk_guard.
42186 2011-09-19 Roland McGrath <roland@hack.frob.com>
42188 * sysdeps/posix/spawni.c (script_execute): Always define it.
42189 It will be optimized away if unused.
42190 (maybe_script_execute): New function.
42191 (__spawni): Call it.
42193 * Makerules: Don't include tls.make.
42194 (config-tls): Always set to thread.
42195 * tls.make.c: File removed.
42197 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42199 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42200 * config.make.in (CPPFLAGS-config): New substituted variable.
42202 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42204 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42207 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42208 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42210 2011-09-15 Roland McGrath <roland@hack.frob.com>
42212 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42213 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42215 (CALL_FAIL): Likewise.
42216 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42217 (CALL_FAIL): Macro removed.
42218 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42220 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42222 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42223 for __FINITE_MATH_ONLY__ == 1.
42225 2011-09-15 Andreas Schwab <schwab@redhat.com>
42227 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42228 __ieee754_sqrt instead of sqrt.
42229 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42230 __ieee754_sqrtf instead of sqrtf.
42231 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42232 __floorf instead of floorf.
42233 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42234 __floorf, __truncf instead of floorf, truncf.
42236 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42238 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42240 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42241 __extern_always_inline.
42242 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42245 2011-09-14 Andreas Schwab <schwab@redhat.com>
42247 * elf/rtld.c (dl_main): Also relocate in dependency order when
42248 doing symbol dependency testing.
42250 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42252 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42253 Always define `refsym'.
42255 2011-09-13 Andreas Schwab <schwab@redhat.com>
42257 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42258 (__FD_ELT): Renamed from __FDELT.
42259 * misc/bits/select2.h (__FD_ELT): Likewise.
42260 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42261 __FD_MASK instead of __FDELT, __FDMASK.
42262 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42264 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42267 * elf/Makefile (gen-ldd): Fix pattern.
42269 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42270 (init_tls): Likewise.
42272 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42274 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42276 2011-09-12 Andreas Schwab <schwab@redhat.com>
42278 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42279 `struct cmsghdr *' instead of `void *'.
42280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42283 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42285 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42287 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42288 ldd_rewrite_script.
42290 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42292 * configure.in: Remove --with-tls option.
42293 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42294 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42295 out in case it is missing.
42296 * sysdeps/ia64/elf/configure.in: Likewise.
42297 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42298 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42299 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42300 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42301 * sysdeps/sh/elf/configure.in: Likewise.
42302 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42303 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42304 * sysdeps/x86_64/elf/configure.in: Likewise.
42305 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42306 * sysdeps/mach/hurd/tls.h: Likewise.
42309 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42312 * configure.in: Fix use of AC_INIT.
42314 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42316 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42318 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42320 * malloc/hooks.c: Likewise.
42323 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42324 variables statically.
42325 (narenas): Initialize.
42326 (list_lock): Initialize.
42327 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42328 initializtion of main_arena and list_lock. Small cleanups.
42329 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42330 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42331 Add initializers to main_arena and mp_.
42332 (malloc_state): Remove pagesize member. Change all users to use
42335 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42336 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42337 is always initialized.
42339 * malloc/malloc.c: Removed unused configurations and dead code.
42340 * malloc/arena.c: Likewise.
42341 * malloc/hooks.c: Likewise.
42342 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42344 * include/tls.h: Removed. USE___THREAD must always be defined.
42345 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42346 * elf/dl-libc.c: Likewise.
42347 * elf/dl-tsd.c: Likewise.
42348 * include/errno.h: Likewise.
42349 * include/netdb.h: Likewise.
42350 * include/resolv.h: Likewise.
42351 * inet/herrno-loc.c: Likewise.
42352 * inet/herrno.c: Likewise.
42353 * malloc/arena.c: Likewise.
42354 * malloc/hooks.c: Likewise.
42355 * malloc/malloc.c: Likewise.
42356 * resolv/res-state.c: Likewise.
42357 * resolv/res_libc.c: Likewise.
42358 * sysdeps/i386/dl-machine.h: Likewise.
42359 * sysdeps/ia64/dl-machine.h: Likewise.
42360 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42361 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42362 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42363 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42364 * sysdeps/sh/dl-machine.h: Likewise.
42365 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42366 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42367 * sysdeps/unix/i386/sysdep.S: Likewise.
42368 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42369 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42370 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42372 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42373 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42374 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42378 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42379 * sysdeps/x86_64/dl-machine.h: Likewise.
42380 * tls.make.c: Likewise.
42382 * configure.in: Remove --with-__thread option. Make tests for
42383 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42384 tls_model attribute fail if no support is available. Remove
42386 * Makeconfig: Adjust for dropped configure option. All features are
42388 * Makerules: Likewise.
42389 * Versions.def: Likewise.
42390 * argp/argp-fmtstream.c: Likewise.
42391 * argp/argp-fmtstream.h: Likewise.
42392 * argp/argp-help.c: Likewise.
42393 * assert/assert.c: Likewise.
42394 * config.h.in: Likewise.
42395 * config.make.in: Likewise.
42396 * configure: Likewise.
42397 * configure.in: Likewise.
42398 * csu/Versions: Likewise.
42399 * csu/init.c: Likewise.
42400 * elf/tst-audit2.c: Likewise.
42401 * elf/tst-tls10.c: Likewise.
42402 * elf/tst-tls10.h: Likewise.
42403 * elf/tst-tls11.c: Likewise.
42404 * elf/tst-tls12.c: Likewise.
42405 * elf/tst-tls14.c: Likewise.
42406 * elf/tst-tlsmod11.c: Likewise.
42407 * elf/tst-tlsmod12.c: Likewise.
42408 * elf/tst-tlsmod13.c: Likewise.
42409 * elf/tst-tlsmod13a.c: Likewise.
42410 * elf/tst-tlsmod14a.c: Likewise.
42411 * elf/tst-tlsmod15b.c: Likewise.
42412 * elf/tst-tlsmod16a.c: Likewise.
42413 * elf/tst-tlsmod16b.c: Likewise.
42414 * elf/tst-tlsmod7.c: Likewise.
42415 * elf/tst-tlsmod8.c: Likewise.
42416 * elf/tst-tlsmod9.c: Likewise.
42417 * gmon/gmon.c: Likewise.
42418 * grp/fgetgrent_r.c: Likewise.
42419 * grp/putgrent.c: Likewise.
42420 * hurd/fopenport.c: Likewise.
42421 * include/libc-symbols.h: Likewise.
42422 * include/tls.h: Likewise.
42423 * intl/gettextP.h: Likewise.
42424 * intl/loadinfo.h: Likewise.
42425 * locale/global-locale.c: Likewise.
42426 * locale/localeinfo.h: Likewise.
42427 * mach/devstream.c: Likewise.
42428 * malloc/arena.c: Likewise.
42429 * malloc/set-freeres.c: Likewise.
42430 * misc/err.c: Likewise.
42431 * misc/getttyent.c: Likewise.
42432 * misc/mntent_r.c: Likewise.
42433 * posix/getopt.c: Likewise.
42434 * posix/wordexp.c: Likewise.
42435 * pwd/fgetpwent_r.c: Likewise.
42436 * resolv/Versions: Likewise.
42437 * resolv/res_hconf.c: Likewise.
42438 * shadow/fgetspent_r.c: Likewise.
42439 * shadow/putspent.c: Likewise.
42440 * stdio-common/printf_fphex.c: Likewise.
42441 * stdio-common/tmpfile.c: Likewise.
42442 * stdlib/abort.c: Likewise.
42443 * stdlib/fmtmsg.c: Likewise.
42444 * sunrpc/auth_unix.c: Likewise.
42445 * sunrpc/clnt_perr.c: Likewise.
42446 * sunrpc/clnt_tcp.c: Likewise.
42447 * sunrpc/clnt_udp.c: Likewise.
42448 * sunrpc/clnt_unix.c: Likewise.
42449 * sunrpc/openchild.c: Likewise.
42450 * sunrpc/svc_simple.c: Likewise.
42451 * sunrpc/svc_tcp.c: Likewise.
42452 * sunrpc/svc_udp.c: Likewise.
42453 * sunrpc/svc_unix.c: Likewise.
42454 * sunrpc/xdr.c: Likewise.
42455 * sunrpc/xdr_array.c: Likewise.
42456 * sunrpc/xdr_rec.c: Likewise.
42457 * sunrpc/xdr_ref.c: Likewise.
42458 * sunrpc/xdr_stdio.c: Likewise.
42460 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42462 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42464 2011-07-03 Andreas Jaeger <aj@suse.de>
42466 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42467 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42468 regenerate with gen-libm-tests.pl.
42470 2010-05-12 Petr Baudis <pasky@suse.cz>
42473 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42474 around j0() zero points by switching to j1().
42475 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42476 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42478 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42480 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42482 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42484 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42487 Patch in part by Pavel Roskin <proski@gnu.org>.
42490 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42492 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42493 Free memory block if necessary.
42496 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42497 be NULL. Don't lock in this case.
42499 2011-09-09 Roland McGrath <roland@hack.frob.com>
42501 * elf/elf.h (ELFOSABI_GNU): New macro.
42502 (ELFOSABI_LINUX): Define to that.
42504 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42506 * string/strncat.c (strncat): Undef the symbol in case it has been
42507 defined in bits/string.h.
42509 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42511 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42513 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42516 2011-08-17 Andreas Jaeger <aj@suse.de>
42518 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42520 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42521 Ian Lance Taylor <iant@google.com>
42523 * math/libm-test.inc (lround_test): New testcase.
42524 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42526 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42528 * Makefile: Remove support for automatic cvs check-ins.
42529 * Makerules: Likewise.
42530 * config.make.in: Likewise.
42531 * configure.in: Likewise.
42532 * intl/Makefile: Likewise.
42533 * locale/Makefile: Likewise.
42534 * po/Makefile: Likewise.
42535 * posix/Makefile: Likewise.
42536 * sysdeps/gnu/Makefile: Likewise.
42537 * sysdeps/mach/hurd/Makefile: Likewise.
42538 * sysdeps/sparc/sparc32/Makefile: Likewise.
42541 * posix/Makefile (bug-regex32-ENV): Define.
42542 Patch by John Stanley <jpsinthemix@verizon.net>.
42544 * misc/Makefile (headers): Add bits/select2.h.
42545 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42546 * misc/bits/select2.h: New file.
42547 * include/bits/select2.h: New file.
42548 * debug/Makefile (routines): Add fdelt_chk.
42549 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42550 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42552 * debug/fdelt_chk.c: New file.
42554 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42555 * wcsmbs/test-wmemcmp.c: Likewise.
42556 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42557 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42559 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42561 * string/Makefile (strop-tests): Add memcmp.
42562 * string/test-wmemcmp.c: New file.
42563 * string/test-memcmp.c: Add wmemcmp support.
42565 2011-09-08 Roland McGrath <roland@hack.frob.com>
42568 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42571 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42572 garbage value in a __mach_port_mod_refs call in the cases of the
42573 task-self and thread-self ports.
42575 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42577 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42579 2011-09-08 Andreas Schwab <schwab@redhat.com>
42581 * elf/dl-load.c (lose): Check for non-null L.
42583 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42585 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42587 * elf/dl-libc.c (dlerror_run): Pass back error code from
42591 * elf/dl-load.c (lose): Free l_origin if it is valid.
42593 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42595 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42596 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42597 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42598 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42599 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42600 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42602 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42604 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42605 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42606 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42607 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42608 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42609 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42610 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42611 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42612 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42613 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42615 2011-08-15 Alan Modra <amodra@gmail.com>
42618 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42619 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42620 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42621 ppc_mcount to static-only-routines.
42622 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42624 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42625 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42627 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42629 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42630 for finite and infinity parameters.
42632 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42634 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42635 and add nop instructions for throughput optimization.
42636 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42638 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42640 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42641 aligned copy for power7 with vector-scalar instructions.
42642 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42644 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42649 2011-09-07 Andreas Schwab <schwab@redhat.com>
42652 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42655 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42657 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42658 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42659 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42660 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42663 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42665 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42666 Forgot to demangle the pointer.
42668 * sysdeps/i386/sysdep.h: Define atom_text_section.
42669 * sysdeps/x86_64/sysdep.h: Likewise.
42670 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42671 section with atom_text_section.
42672 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42673 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42674 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42675 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42676 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42678 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42679 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42680 already be defined. Change to take two parameters and don't assign
42681 result to variable. Adjust all users.
42682 Define INTERNAL_GETTIME if not already defined.
42683 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42686 HAVE_CLOCK_GETTIME_VSYSCALL.
42687 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42690 gettimeofday vsyscall, just use time.
42692 2011-09-06 Andreas Schwab <schwab@redhat.com>
42694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42697 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42699 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42703 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42704 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42705 syscall if possible.
42707 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42709 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42710 e_ident. Don't pass to find_mapsXX.
42711 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42713 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42716 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42717 * sysdeps/x86_64/multiarch/strchr.S: Update.
42718 Check bit_slow_BSF bit.
42719 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42720 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42721 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42723 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42726 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42728 (tryshell): Define.
42729 (__spawni): Change last parameter to be flag. Test
42730 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42731 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42732 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42733 * posix/spawni.c: Likewise.
42734 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42735 * posix/spawnp.c: Likewise. Change normal version to use
42736 SPAWN_XFLAGS_USE_PATH.
42737 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42738 SPAWN_XFLAGS_TRY_SHELL.
42741 * posix/glob.h: Remove gcc 1.x support.
42744 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42746 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42749 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42751 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42752 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42753 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42754 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42755 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42756 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42758 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42760 * sysdeps/x86_64/wcscmp.S: New file.
42762 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42763 wcscmp-c wcscmp-sse2
42764 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42765 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42766 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42767 * wcsmbs/wcscmp.c: Allow renaming.
42769 2011-09-05 David S. Miller <davem@davemloft.net>
42771 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42772 stack slot, rather than the struct return pointer slot.
42773 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42774 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42776 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42778 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42780 * po/ja.po: Update from translation team.
42783 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42784 kernel in 64-bit binaries.
42786 2011-09-01 David S. Miller <davem@davemloft.net>
42788 * elf/elf.h (HWCAP_SPARC_*): Move to..
42789 * sysdeps/sparc/sysdep.h: this new file and add new values.
42790 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42791 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42792 _DL_HWCAP_COUNT to 24.
42793 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42795 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42796 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42797 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42799 instead of magic constants.
42800 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42802 2011-08-31 David S. Miller <davem@davemloft.net>
42804 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42805 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42806 Reimplement to do errno handling inline.
42807 (SYSCALL_ERROR_HANDLER): New macro.
42808 (__SYSCALL_STRING): Do not do errno handling in asm.
42809 (__CLONE_SYSCALL_STRING): Delete.
42810 (__INTERNAL_SYSCALL_STRING): Delete.
42811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42812 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42813 (PSEUDO): Reimplement to do errno handling inline.
42814 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42815 (SYSCALL_ERROR_HANDLER): New macro.
42816 (__SYSCALL_STRING): Do not do errno handling in asm.
42817 (__CLONE_SYSCALL_STRING): Delete.
42818 (__INTERNAL_SYSCALL_STRING): Delete.
42819 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42820 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42822 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42823 (inline_syscall*): Add 'err' argument.
42824 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42825 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42826 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42827 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42829 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42830 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42832 2011-08-30 Andreas Schwab <schwab@redhat.com>
42834 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42836 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42838 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42841 2011-08-24 David S. Miller <davem@davemloft.net>
42843 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42845 2011-08-24 Andreas Schwab <schwab@redhat.com>
42847 * elf/Makefile: Add rules to build and run unload8 test.
42848 * elf/unload8.c: New file.
42849 * elf/unload8mod1.c: New file.
42850 * elf/unload8mod1x.c: New file.
42851 * elf/unload8mod2.c: New file.
42852 * elf/unload8mod3.c: New file.
42854 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42857 2011-08-23 David S. Miller <davem@davemloft.net>
42859 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42860 subtract stack bias.
42861 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42862 %sp not %fp in calculations.
42863 (_JMPBUF_UNWINDS_ADJ): Likewise.
42865 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42866 (aio_suspend): Call it to force an exception region around the
42867 AIO_MISC_WAIT() invocation.
42869 2011-08-23 Andreas Schwab <schwab@redhat.com>
42871 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42874 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42876 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42878 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42879 and <dl-machine.h>.
42880 (Elf64_FuncDesc): Remove.
42882 2011-08-22 David S. Miller <davem@davemloft.net>
42884 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42885 sigaltstack check, add missing cfi directives.
42886 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42887 missing cfi directives, and sigaltstack handling.
42889 2011-08-16 Andreas Schwab <schwab@redhat.com>
42892 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42893 object is seen twice.
42894 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42896 * elf/Makefile (distribute): Add tst-initorder2.c.
42897 (tests): Add tst-initorder2.
42898 (modules-names): Add tst-initorder2a tst-initorder2b
42899 tst-initorder2c tst-initorder2d. Add rules to build them.
42900 ($(objpfx)tst-initorder2.out): New rule.
42901 * elf/tst-initorder2.c: New file.
42902 * elf/tst-initorder2.exp: New file.
42904 2011-08-22 Andreas Schwab <schwab@redhat.com>
42906 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42908 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42909 dependencies back to end of function.
42911 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42912 $(elfobjdir)/ld.so.
42914 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42917 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42918 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42919 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42920 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42921 of __vdso_gettimeofday.
42922 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42923 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42925 (_libc_vdso_platform_setup): Remove initialization of
42926 __vdso_gettimeofday and __vdso_time.
42928 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42930 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42931 and fgetc_unlocked.
42932 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42935 * elf/dl-open.c (add_to_global): Report additions to the global scope
42936 for LD_DEBUG=scopes.
42937 (dl_open_worker): Also print scope of newly loaded dependencies.
42938 (_dl_show_scope): Indicate if there is no scope.
42941 * stdio-common/Makefile (tests): Add bug24.
42942 * stdio-common/bug24.c: New file.
42944 2011-08-19 Andreas Jaeger <aj@suse.de>
42947 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42948 non-existant file when using close-on-exec mode.
42950 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42952 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42953 the very first instruction.
42955 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42956 the CFI state in the end.
42957 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42958 inclusion of dl-trampoline.h.
42959 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42961 2011-08-19 Andreas Schwab <schwab@redhat.com>
42963 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42964 expectations for long double.
42966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42967 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42969 2011-08-14 David S. Miller <davem@davemloft.net>
42971 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42972 artificual limit depends upon the system page size.
42974 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42976 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42977 * resolv/Makefile: Define CFLAGS-libresolv.
42979 2011-08-17 Andreas Schwab <schwab@redhat.com>
42981 * nss/makedb.c (compute_tables): Make variables used in nested
42984 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42986 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42987 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42988 if buffer was too small.
42990 * elf/pldd.c (main): Attach to all threads in the process.
42991 Rewrite /proc handling to use *at functions.
42993 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42995 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42996 specifies first scope to show.
42997 (dl_open_worker): Update callers. Move printing scope of new
42998 object to before the relocation.
42999 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43000 * sysdeps/generic/ldsodefs.h: Update declaration.
43002 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43003 string for the scope number.
43005 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43007 * nscd/servicescache.c (cache_addserv): Make sure written is always
43010 2011-08-14 Roland McGrath <roland@hack.frob.com>
43012 * sysdeps/i386/i486/bits/atomic.h
43013 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43014 statement expression, so as to suppress "set but not used" warning.
43015 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43017 * string/strncat.c (STRNCAT): Use prototype definition.
43019 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43020 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43022 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43023 (localedef-modules): Add localedef.
43024 (locale-modules): Add locale.
43026 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43027 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43028 to avoid a warning.
43030 2011-08-14 David S. Miller <davem@davemloft.net>
43032 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43033 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43035 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43037 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43038 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43039 * elf/rtld.c (dl_main): Set l_name of vDSO.
43040 Call _dl_show_scope when DL_DEBUG_SCOPES.
43041 (process_dl_debug): Recognize scopes flag and also set it for all.
43042 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43043 Declare _dl_show_scope.
43045 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43046 (do_dlopen): Pass caller_dlopen to dl_open.
43047 (__libc_dlopen_mode): Initialize caller_dlopen.
43049 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43050 of libc. Make tolower call locale-independent. Optimize a bit by
43051 using isdigit instead of isalnum.
43052 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43054 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43056 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43057 was a dependency or dynamically loaded.
43059 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43061 * intl/l10nflist.c: Allow architecture-specific pop function.
43062 * sysdeps/x86_64/l10nflist.c: New file.
43064 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43067 2011-08-10 Andreas Schwab <schwab@redhat.com>
43069 * include/dirent.h: Add libc_hidden_proto for scandirat and
43070 scandirat64. Don't declare __scandirat64.
43071 * dirent/scandirat.c: Add libc_hidden_def.
43072 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43073 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43075 2011-08-10 David S. Miller <davem@davemloft.net>
43077 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43079 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43080 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43081 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43083 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43085 * Versions.def [libc]: Add GLIBC_2.15.
43086 * dirent/Makefile (routines): Add scandirat and scandirat64.
43087 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43089 * dirent/dirent.h: Declare scandirat and scandirat64.
43090 * dirent/scandirat.c: New file.
43091 * dirent/scandirat64.c: New file.
43092 * sysdeps/wordsize-64/scandirat.c: New file.
43093 * sysdeps/wordsize-64/scandirat64.c: New file.
43094 * dirent/opendir.c: Define opendirat.
43095 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43097 * dirent/scandir64.c: Adjust for scandir.c change.
43098 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43099 __scandirat64, and __scandir_cancel_handler.
43100 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43101 additional parameter and use openat instead of open (outside of ld.so).
43102 Add new __opendir as wrapper around __opendirat.
43103 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43104 here without requiring old scandirat implementation.
43106 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43108 * dirent/scandir.c (cancel_handler): Renamed to
43109 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43110 defined. Adjust users.
43111 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43112 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43114 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43116 * string/test-string.h (IMPL): Use __STRING to expand name and then
43119 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43122 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43124 * string/Makefile: Update.
43125 (strop-tests): Append strncat.
43126 * string/test-wcscmp.c: New file.
43127 New comprehensive test for wcscmp.
43128 * string/test-strcmp.c: Update.
43129 (WIDE): New define.
43131 2011-07-22 Andreas Schwab <schwab@redhat.com>
43133 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43136 2011-07-26 Andreas Schwab <schwab@redhat.com>
43138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43139 encoding to ACE if AI_IDN.
43141 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43143 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43144 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43146 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43148 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43149 Fix overflow bug in strncat.
43150 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43152 * string/test-strncat.c: Update.
43153 Add new tests for checking overflow bugs.
43155 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43157 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43158 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43159 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43160 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43161 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43162 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43163 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43164 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43165 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43167 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43168 (USE_AS_STRCAT): Define.
43169 Add strcat and strncat support.
43170 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43172 2011-07-25 Andreas Schwab <schwab@redhat.com>
43174 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43175 __n bigger than INT_MAX+1.
43176 (__strncmp_g): Likewise.
43178 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43180 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43181 * libio/stido.h: Likewise.
43183 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43188 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43189 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43190 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43191 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43192 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43195 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43198 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43200 (_dl_x86_64_save_sse): Likewise.
43202 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43206 (_dl_x86_64_save_sse): Likewise.
43208 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43210 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43212 2011-07-21 Andreas Schwab <schwab@redhat.com>
43214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43216 (_dl_x86_64_save_sse): Use correct AVX check.
43218 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43220 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43221 bug in strncpy/strncat.
43222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43224 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43226 * string/tester.c (test_strcat): Add tests for different alignments
43227 of source and destination.
43228 (test_strncat): Likewise.
43230 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43233 * posix/glob.c (glob): Check passed in values before using them in
43234 expressions to avoid some overflows.
43235 (glob_in_dir): Likewise.
43238 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43239 check for AVX enablement so that we don't crash with old kernels and
43241 * elf/tst-audit4.c: Add same checks here.
43242 * elf/tst-audit6.c: Likewise.
43244 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43246 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43248 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43250 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43252 * po/cs.po: Update from translation team.
43253 * po/bg.po: Likewise.
43255 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43257 * misc/sys/cdefs.h: Add support for const attribute.
43258 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43259 to gnu_dev_{major,minor,makedev} functions.
43261 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43263 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43265 2011-07-20 Andreas Schwab <schwab@redhat.com>
43267 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43270 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43272 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43273 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43274 register in order to avoid conflicts with the soft frame pointer
43275 being held in r11 when necessary.
43276 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43277 (INTERNAL_VSYSCALL_NCS): Likewise.
43279 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43281 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43282 * elf/dl-fini.c (_dl_fini): Adjust caller.
43283 * elf/dl-close.c (_dl_close_worker): Likewise.
43284 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43286 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43288 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43289 "aux_cache->nlibs < 0".
43291 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43292 in the reload-count case.
43294 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43297 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43298 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43299 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43300 * sysdeps/x86_64/multiarch/strcat.S: New file.
43301 * sysdeps/x86_64/multiarch/strncat.S: New file.
43302 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43303 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43304 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43305 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43306 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43307 (USE_AS_STRCAT): Define.
43308 Add strcat and strncat support.
43309 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43310 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43311 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43312 * string/strncat.c: Update.
43313 (USE_AS_STRNCAT): Define.
43314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43315 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43317 * sysdeps/x86_64/multiarch/init-arch.h
43318 (bit_Prefer_PMINUB_for_stringop): New.
43319 (index_Prefer_PMINUB_for_stringop): Likewise.
43320 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43321 bit_Prefer_PMINUB_for_stringop.
43323 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43325 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43327 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43328 of casting of buffer.
43329 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43330 buffer32 and buffer64.
43331 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43332 writes instead of casting of buffer.
43333 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43335 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43338 2011-07-19 Andreas Schwab <schwab@redhat.com>
43340 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43342 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43344 * nscd/nscd.c (termination_handler): Don't do anything for a database
43345 if it has not yet been initialized.
43347 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43349 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43351 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43353 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43355 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43357 * po/nl.po: Update from translation team.
43358 * po/sv.po: Likewise.
43360 2011-07-16 Roland McGrath <roland@hack.frob.com>
43362 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43363 now disallowed by GCC.
43365 * configure.in (use-default-link): Default to yes if a test -shared
43366 link meets our qualifications.
43367 * configure: Regenerated.
43369 * config.make.in (output-format): New variable.
43370 * configure.in: Check for ld --print-output-format support.
43371 * configure: Regenerated.
43372 * Makerules ($(common-objpfx)format.lds)
43373 [$(output-format) != unknown]: Just use $(output-format),
43374 instead of the linker-script munging.
43376 2011-07-14 Roland McGrath <roland@hack.frob.com>
43378 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43379 of $(common-objpfx)shlib.lds.
43380 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43382 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43383 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43385 * configure.in (-z relro check): Adjust test code to add a large
43386 writable data section after it.
43387 * configure: Regenerated.
43389 2011-07-11 Roland McGrath <roland@hack.frob.com>
43391 * configure.in (-z relro check): Fix test code to make the variable
43393 * configure: Regenerated.
43395 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43397 * nscd/nscd.h (struct traced_file): Define.
43398 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43399 elements. Add traced_files.
43400 (inotify_fd): Declare.
43401 (register_traced_file): Declare.
43402 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43403 (inotify_fd): Export.
43404 (resolv_conf_descr): Remove.
43405 (nscd_init): Move inotify descriptor creation to main.
43406 Don't register files for notification here.
43407 (register_traced_file): New function.
43408 (invalidate_cache): Don't use reset_res to determine whether to call
43409 res_init, go through the list of registered files.
43410 (main_loop_poll): The inotify descriptors are now stored in the
43411 structures for the traced files.
43412 (main_loop_epoll): Likewise
43413 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43414 to __nss_disable_nscd.
43415 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43416 for a database anymore. Check the records for all the registered
43418 * nss/Makefile (libnss_files-routines): Add files-init.
43419 (libnss_db-routines): Add db-init.
43420 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43421 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43422 * nss/nss_db/db-init.c: New file.
43423 * nss/nss_files/files-init.c: New file.
43424 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43425 __nss_lookup_function.
43426 (__nss_lookup_function): Call nss_load_library.
43427 (nss_load_all_libraries): New function.
43428 (__nss_disable_nscd): Take parameter with callback function for files
43429 to register. Set is_nscd. Load all the DSOs for the NSS modules
43430 used for the cached services.
43431 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43432 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43433 options for features to all the files in nscd.
43435 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43437 2011-07-10 Roland McGrath <roland@hack.frob.com>
43439 * csu/elf-init.c (__libc_csu_init): Comment typo.
43441 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43443 * po/pl.po: Update from translation team.
43444 * po/ja.po: Likewise.
43445 * po/ru.po: Likewise.
43446 * po/ko.po: Likewise.
43447 * po/fr.po: Likewise.
43449 2011-07-09 Roland McGrath <roland@hack.frob.com>
43451 * configure.in (.ctors/.dtors header and trailer check):
43452 Use an empirical test on a built program.
43453 * configure: Regenerated.
43455 * configure.in (-z relro check): Use an empirical test on a built DSO.
43456 Detect, but do not require, on ia64.
43457 * configure: Regenerated.
43459 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43460 Update tests that use readelf to use $READELF instead.
43461 * configure: Regenerated.
43463 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43465 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43466 if the result is not used.
43468 2011-07-05 Andreas Jaeger <aj@suse.de>
43471 * stdlib/tst-strtod.c: Add testcase.
43473 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43475 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43476 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43477 The latter has a higher limit. Take additional parameter to pass to
43479 (__pathconf): Pass file to __statfs_link_max.
43480 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43482 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43486 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43487 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43489 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43490 (__statfs_filesize_max): Likewise.
43491 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43493 2011-07-05 Andreas Jaeger <aj@suse.de>
43495 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43497 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43499 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43501 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43504 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43506 * Makefile (strop-tests): Add strncat.
43507 * string/test-strncat.c: New file.
43509 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43511 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43513 2011-06-21 Andreas Jaeger <aj@suse.de>
43515 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43516 Copy rule from iconvdata/Makefile.
43518 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43521 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43522 but no long options are defined, just return 'W'.
43524 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43527 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43529 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43531 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43533 (innetgr): Likewise.
43535 2011-07-05 Roland McGrath <roland@hack.frob.com>
43537 * config.make.in (install_root): Default to $(DESTDIR).
43539 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43541 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43543 2011-07-02 Roland McGrath <roland@hack.frob.com>
43545 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43547 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43548 containing directory rather than embedding absolute directory names.
43550 * scripts/check-local-headers.sh: Rewritten using awk.
43551 Match by word, not by line. Print error messages for matches.
43552 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43554 * Makerules [shlib-lds-flags empty]:
43555 ($(common-objpfx)libc_pic.opts): New target.
43556 ($(common-objpfx)libc_pic.os.clean): New target.
43557 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43559 * config.make.in (OBJCOPY): New variable.
43560 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43561 * configure: Regenerated.
43563 * config.make.in (use-default-link): New variable.
43564 * configure.in (use_default_link): Grok --with-default-link to set it.
43565 * configure: Regenerated.
43566 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43567 (shlib-lds, shlib-lds-flags): Define to empty.
43569 * Makerules (shlib-lds): New variable.
43570 (shlib-lds-flags): New variable.
43571 (build-shlib, build-moduile, build-module-asneeded): Use it.
43572 ($(common-objpfx)libc.so): Use $(shlib-lds).
43573 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43574 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43576 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43577 DT_FLAGS/DT_FLAGS_1 with zero flags.
43579 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43580 linker script munging.
43582 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43584 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43586 * crypt/sha512.c (sha512_process_block): Perform total addition using
43587 128-bit if possible.
43588 (__sha512_finish_ctx): Likewise.
43589 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43591 * crypt/sha256.c (SWAP64): Define.
43592 (sha256_process_block): Perform total addition using 64-bit if
43594 (__sha256_finish_ctx): Likewise.
43596 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43598 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43599 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43600 * nscd/hstcache.c (cache_addhst): Likewise.
43601 * nscd/grpcache.c (cache_addgr): Likewise.
43602 * nscd/aicache.c (addhstaiX): Likewise
43603 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43605 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43607 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43609 * nscd/hstcache.c (cache_addhst): Likewise.
43610 * nscd/grpcache.c (cache_addgr): Likewise.
43611 * nscd/aicache.c (addhstaiX): Likewise
43613 2011-07-01 Andreas Schwab <schwab@redhat.com>
43615 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43616 domain only when needed.
43618 2011-06-30 Andreas Schwab <schwab@redhat.com>
43620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43621 is always restored.
43623 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43625 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43626 are re-adding the entry.
43627 * nscd/servicescache.c (cache_addserv): Likewise.
43629 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43631 * sysdeps/generic/dl-irel.h: fix protection against multiple
43633 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43635 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43638 * malloc/memusage.sh: Fix quoting in message.
43639 * debug/xtrace.sh: Likewise.
43641 * configure.in: Remove support for --experimental-malloc option, make
43643 * config.make.in: Likewise.
43644 * malloc/Makefile: Likewise.
43646 2011-06-27 Andreas Schwab <schwab@redhat.com>
43648 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43649 two-byte characters.
43651 2011-06-27 Roland McGrath <roland@hack.frob.com>
43653 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43654 AC_CACHE_CHECK invocation.
43655 * configure: Regenerated.
43657 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43659 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43662 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43663 bit from old_res_options.
43665 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43667 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43668 value type for setfct.
43670 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43672 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43673 __gettimeofday instead of gettimeofday.
43675 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43677 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43679 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43681 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43683 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43686 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43689 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43690 strcpy-sse2-unaligned strncpy-sse2-unaligned
43691 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43692 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43693 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43694 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43695 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43696 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43697 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43698 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43699 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43700 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43701 (STRCPY): Support SSE2 and SSSE3 versions.
43703 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43706 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43707 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43708 kernels which artificially limit size of requests.
43710 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43712 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43713 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43714 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43715 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43716 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43717 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43718 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43719 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43720 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43722 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43723 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43724 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43725 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43726 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43728 Enable unaligned load optimization for Intel Core i3, i5 and i7
43730 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43732 (index_Fast_Unaligned_Load): Define.
43733 (HAS_FAST_UNALIGNED_LOAD): Define.
43735 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43737 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43739 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43742 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43743 until it is clear that the information is realy needed.
43744 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43746 2011-06-22 Andreas Schwab <schwab@redhat.com>
43748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43750 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43752 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43753 /sys/devices/system/cpu/online if it is usable.
43755 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43756 reading the information from the /proc filesystem to once a second.
43758 2011-06-21 Andreas Jaeger <aj@suse.de>
43760 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43761 NULL after inclusion of kernel headers.
43763 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43765 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43766 calls to internal_setent.
43769 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43770 addresses using gethostbyname4_r ignore IPv4 addresses.
43772 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43773 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43775 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43777 2011-06-20 David S. Miller <davem@davemloft.net>
43779 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43781 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43783 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43784 (elf_irel): Use it.
43785 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43786 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43787 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43788 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43789 * sysdeps/x86_64/dl-irel.h: Likewise.
43791 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43792 * elf/dl-sym.c: Likewise.
43794 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43796 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43797 need to dereference resplen2.
43799 2011-06-14 Andreas Schwab <schwab@redhat.com>
43801 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43803 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43805 * Makeconfig: Define vardbdir and inst_vardbdir.
43806 * nss/Makefile: Add rules to install db-Makefile.
43808 * nss/nss_db/db-XXX.c: Cleanup.
43810 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43811 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43813 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43814 * nss/makedb.c: Implement -g option to specify that value strings
43815 are generated and should not be added to table iterated over for
43817 * nss/nss_db/db-initgroups.c: New file.
43819 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43822 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43823 (internal_getgrouplist): Adjust to name change.
43824 Update use_initgroups_entry if this is not the first call.
43825 * nss/databases.def: Add initgroups entry.
43827 * nss/makedb.c (compute_tables): Check result of multiple hash table
43828 sizes to minimize maximum chain length.
43830 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43832 * Versions.def: Add entry for libnss_db.
43833 * shlib-versions: Likewise.
43834 * nss/Makefile: Add rules to build libnss_db.
43835 * nss/Versions: Add libnss_db information. Organize libnss_files
43837 * nss/db-Makefile: Add gshadow support. Change rules for the new
43838 makedb progra. Some minor improvements to generate smaller files.
43839 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43841 * nss/makedb.c: ...here.
43842 Improve database format to be smaller and require less memory at
43844 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43846 * nss/nss_db/db-netgrp.c: Likewise.
43847 * nss/nss_db/db-open.c: Likewise.
43848 * nss/nss_files/flies-XXX.x: Adjust comments.
43849 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43850 * nss/nss_files/files-grp.c: Likewise.
43851 * nss/nss_files/files-hosts.c: Likewise.
43852 * nss/nss_files/files-network.c: Likewise.
43853 * nss/nss_files/files-proto.c: Likewise.
43854 * nss/nss_files/files-pwd.c: Likewise.
43855 * nss/nss_files/files-rpc.c: Likewise.
43856 * nss/nss_files/files-service.c: Likewise.
43857 * nss/nss_files/files-sgrp.c: Likewise.
43858 * nss/nss_files/files-spwd.c: Likewise.
43859 * nss/nss_db/db-alias.c: Removed.
43860 * nss/nss_db/dummy-db.h: Removed.
43862 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43864 * nss/makedb.c: Rewritten to not use database library.
43865 * nss/Makefile: Update to build new makedb program.
43867 2011-06-14 Andreas Jaeger <aj@suse.de>
43869 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43870 memset declaration.
43872 2011-06-10 Andreas Schwab <schwab@redhat.com>
43874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43877 2011-06-10 Roland McGrath <roland@hack.frob.com>
43879 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43880 * elf/Makefile ($(objpfx)ld.so): Likewise.
43882 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43883 Don't list ld.so twice in dependencies.
43885 * posix/bug-regex31.c: Include <stdlib.h>.
43887 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43889 * nis/nss_compat/compat-spwd.c
43890 (getspent_next_nss_netgr): Remove unused variable.
43891 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43893 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43894 nonmembers" output to use the right array.
43896 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43898 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43900 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43901 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43902 * catgets/gencat.c (read_input_file): Likewise.
43903 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43905 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43906 variable definition inside #if's controlling its use.
43908 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43910 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43912 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43914 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43917 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43919 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43920 * configure: Regenerated.
43922 * Makerules: Revert last change.
43923 * elf/Makefile: Likewise.
43925 2011-06-09 Roland McGrath <roland@hack.frob.com>
43927 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43928 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43929 (reloc-link): Likewise.
43931 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43933 * elf/Makefile: Add rules to build pldd.
43934 * elf/pldd.c: New file.
43935 * elf/pldd-xx.c: New file.
43937 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43939 * version.h: Update for 2.15 development version.
43941 2011-06-07 David S. Miller <davem@davemloft.net>
43943 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43945 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43946 elf_machine_lazy_rel): Likewise.
43947 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43948 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43949 elf_machine_lazy_rel): Likewise.
43950 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43951 dl_hwcap via passed in argument.
43952 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43955 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43957 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43959 2011-06-06 Roland McGrath <roland@hack.frob.com>
43962 * manual/fdl-1.1.texi: New file, verbatim from:
43963 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43964 * manual/lgpl-2.1.texi: New file, verbatim from:
43965 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43966 * manual/Makefile (licenses): New variable, list those new file names.
43968 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43970 * manual/fdl.texi: File removed.
43971 * manual/lesser.texi: File removed.
43972 * manual/libc.texinfo (Copying, Documentation License):
43973 Use new @include file names, put @appendix directive before @include.
43975 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43978 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43979 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43980 (mq_open): Add __NTH.
43982 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43985 Assume Intel Core i3/i5/i7 processor if AVX is available.
43987 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43989 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43992 2011-05-31 Andreas Schwab <schwab@redhat.com>
43994 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43995 memory. Use alloca_account. Fix memory leak when retrying.
43997 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43999 * version.h (RELEASE): Bump for 2.14 release.
44000 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44002 * config.make.in (RANLIB): Remove entry.
44004 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44006 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44007 (libc.pot): Work around missing support for .ksh extension in xgettext.
44010 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44011 if both request failed.
44012 (send_dg): In case of server errors clear resplen or *resplen2.
44015 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44016 when there are multiple maps.
44017 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44018 (_dl_fini): Remove test here.
44020 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44022 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44025 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44026 bit from old_res_options.
44027 (gaih_inet): Likewise.
44030 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44033 * resolv/res_init.c (res_setoptions): Make the code more compact.
44036 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44040 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44042 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44045 * malloc/malloc.h: Declare malloc hook variables as volatile.
44047 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44051 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44052 raise in the comment.
44053 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44054 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44055 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44057 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44060 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44061 grow the buffers more if it already has to be sufficient.
44062 (build_wcs_upper_buffer): Likewise.
44063 * posix/regexec.c (check_matching): Likewise.
44064 (clean_state_log_if_needed): Likewise.
44065 (extend_buffers): Don't enlarge buffers beyond size of the input
44067 Patches mostly by Emil Wojak <emil@wojak.eu>.
44068 * posix/bug-regex32.c: New file.
44069 * posix/Makefile (tests): Add bug-regex32.
44071 * locale/findlocale.c (_nl_find_locale): Return right away if
44072 _nl_explode_name failed.
44073 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44075 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44077 * debug/xtrace.sh: Unify messages.
44078 * malloc/memusage.sh: Likewise.
44081 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44082 time symbol from vDSO. Substitute with vsyscall if not available.
44083 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44086 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44087 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44088 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44089 Add sendmmsg and internal_sendmmsg.
44090 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44091 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44092 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44094 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44095 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44096 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44098 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44101 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44102 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44104 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44108 * iconvdata/Makefile (tests): Add bug-iconv9.
44109 * iconvdata/bug-iconv9.c: New file.
44111 2011-05-27 Andreas Schwab <schwab@redhat.com>
44114 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44116 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44118 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44119 (struct user_regs_struct): Change intcs field back to cs.
44121 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44123 * po/ja.po: Update from translation team.
44125 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44128 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44129 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44131 2011-05-20 Andreas Schwab <schwab@redhat.com>
44133 * stdlib/longlong.h: Update from GCC.
44135 2011-05-23 Andreas Schwab <schwab@redhat.com>
44137 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44139 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44140 Add parameter name.
44141 (__sysconf): Pass it down.
44143 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44146 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44148 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44149 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44150 add in in __libc_use_alloca calls. Adjust callers.
44151 (glob): Use malloc in some situations.
44153 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44154 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44157 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44159 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44160 and CLOCK_BOOTTIME_ALARM.
44163 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44166 * string/_strerror.c (__strerror_r): Print negative errors as signed
44170 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44171 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44172 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44174 * configure.in: Fix typo in redirection and correct removal of test
44175 files in two cases.
44178 * locale/setlocale.c (new_composite_name): Fix test to check for
44179 identical name of all categories.
44182 * libio/filedoalloc.c (local_isatty): New function.
44183 (_IO_file_doallocate): Use local_isatty.
44184 * stdio-common/perror.c (perror): In case a new stream is used
44185 forward the stream error.
44186 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44189 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44194 * include/alloca.h (extend_alloca_account): Define.
44197 * posix/regex.h: Fix comments with documentation of user-accessible
44198 fields after compilation and describe correct free'ing of pattern
44199 after re_compile_pattern.
44200 Patch by Reuben Thomas <rrt@sc3d.org>.
44202 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44204 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44205 and -mno-altivec to prevent the compiler from using Altivec and/or
44206 VSX instructions when the corresponding registers are not available.
44208 2011-05-19 Andreas Schwab <schwab@redhat.com>
44210 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44212 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44214 * libio/freopen.c (freopen): Use __dup2, not dup2.
44215 * libio/freopen64.c (freopen64): Likewise.
44217 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44220 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44221 * math/Makefile (tests): Add test-powl.
44222 (CFLAGS-test-powl.c): Define.
44223 * math/test-powl.c: New file.
44225 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44227 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44229 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44232 * iconvdata/gb18030.c: Update to GB18020-2005.
44234 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44236 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44237 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44238 Patch by Aharon Robbins <arnold@skeeve.com>.
44241 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44245 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44246 through underflows.
44249 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44250 point to strings before performing equality test for error_one_per_line
44254 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44257 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44258 (struct user_fpregs_struct): Avoid __uint*_t types.
44261 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44262 symbol info. Use it instead of calling _dl_addr locally.
44263 (lock_and_info): New function.
44264 (tr_freehook): Call lock_and_info and pass symbol info as additional
44265 parameter to tr_where.
44266 (tr_mallochook): Likewise.
44267 (tr_reallochook): Likewise.
44268 (tr_memalignhook): Likewise.
44270 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44271 used and couldn't be at all thread-safe.
44273 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44275 * libio/freopen.c (freopen): Don't close old file descriptor
44276 before the new one is opened. Instead dup the new file descriptor
44277 to the old one after the new stream is created.
44278 * libio/freopen64.c (freopen64): Likewise.
44279 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44280 * libio/fileops.c (_IO_new_file_close_it): Handle new
44281 _IO_FLAGS2_NOCLOSE flag.
44282 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44283 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44284 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44285 _IO_FLAGS2_NOCLOSE flag.
44286 * include/unistd.h: Add hidden_proto for dup3.
44287 Define __have_dup3.
44288 * io/dup3.c: Define hidden symbol.
44289 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44292 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44293 when an incomplete long option is used.
44294 * posix/tst-getopt_long1.c: New file.
44295 * posix/Makefile (tests): Add tst-getopt_long1.
44298 * scripts/config.guess: Update from autoconf-2.68.
44299 * scripts/config.sub: Likewise.
44302 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44304 (has_cpuclock): ...this. New function.
44305 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44306 macro here based on has_cpuclock code.
44309 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44310 First byte (not low byte) is now always NUL.
44311 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44314 Use non-cancelable interfaces.
44317 * locale/iso-639.def: Add entry for Sorani.
44320 * include/stdlib.h: Move include protection to the right place.
44321 Define abort_msg_s. Declare __abort_msg with it.
44322 * stdlib/abort.c (__abort_msg): Adjust type.
44323 * assert/assert.c (__assert_fail_base): New function. Majority
44324 of code from __assert_fail. Allocate memory for __abort_msg with
44326 (__assert_fail): Now call __assert_fail_base.
44327 * assert/assert-perr.c: Remove bulk of implementation. Use
44328 __assert_fail_base.
44329 * include/assert.hL Declare __assert_fail_base.
44330 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44332 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44334 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44338 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44339 until all modules are registered in the DTV.
44340 * elf/Makefile: Add rules to build and run tst-tls19.
44341 * elf/tst-tls19.c: New file.
44342 * elf/tst-tls19mod1.c: New file.
44343 * elf/tst-tls19mod2.c: New file.
44344 * elf/tst-tls19mod3.c: New file.
44345 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44348 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44352 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44353 two-byte sequence errors.
44354 * iconvdata/Makefile (tests): Add bug-iconv8.
44355 * iconvdata/bug-iconv8.c: New file.
44358 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44361 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44364 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44365 (dummy_getcfa): New function.
44366 (init): Get _Unwind_GetCFA address, use dummy if not found.
44367 (backtrace_helper): In recursion check, also check whether CFA changes.
44368 (__backtrace): Completely initialize arg.
44370 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44371 storing incomplete byte sequence in state object. Avoid testing for
44372 guaranteed too small input if we know there is enough data available.
44374 2011-05-11 Andreas Schwab <schwab@redhat.com>
44376 * Makeconfig (+link-pie): Indent.
44377 * Rules (binaries-pie): Define if $(have-fpie) and
44379 (binaries-shared): Also filter out $(binaries-pie).
44380 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44381 * nscd/Makefile (others-pie): Add nscd.
44382 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44383 ($(objpfx)nscd): Remove command override.
44384 * login/Makefile (others-pie): Add pt_chown.
44385 ($(objpfx)pt_chown): Remove command override.
44386 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44387 remove command overrides.
44389 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44391 * libio/tst_putwc.c: Fix error messages.
44394 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44395 currently writing and seek to current position when not.
44396 * libio/Makefile (tests): Add bug-fclose1.
44397 * libio/bug-fclose1.c: New file.
44399 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44402 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44403 don't set DF_1_NODELETE here.
44404 (do_lookup_x): When entering new entry test for copy relocation
44405 and if necessary set DF_1_NODELETE flag.
44406 * elf/tst-unique4.cc: New file.
44407 * elf/tst-unique4.h: New file.
44408 * elf/tst-unique4lib.cc: New file.
44409 * elf/Makefile: Add rules to build and run tst-unique4.
44410 Patch by Piotr Bury <pbury@goahead.com>.
44412 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44415 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44418 * misc/mntent_r.c (addmntent): Flush the stream after the output
44421 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44422 (is_trusted_path_normalize): Skip initial colon. Append slash
44423 to empty buffer. Duplicate is_trusted_path code but allow
44424 constructed patch to be prefix.
44425 (is_dst): Allow $ORIGIN followed by /.
44426 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44427 Correct testing of result of is_trusted_path_normalize
44428 (decompose_rpath): Fix warning.
44430 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44433 * grp/initgroups.c (internal_getgrouplist): When we found the service
44434 list through the initgroups entry in nsswitch.conf do not always
44435 continue on a successful lookup. Don't always use the
44436 __nss_group_database value if it is set.
44437 * nss/nsswitch.conf (initgroups): Change action for successful db
44438 lookup to continue for compatibility.
44440 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44443 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44445 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44447 * iconvdata/tst-tables.sh: Likewise.
44448 * iconvdata/cp770.c: New file.
44449 * iconvdata/cp771.c: New file.
44450 * iconvdata/cp772.c: New file.
44451 * iconvdata/cp773.c: New file.
44452 * iconvdata/cp774.c: New file.
44453 * iconvdata/testdata/CP770: New file.
44454 * iconvdata/testdata/CP770..UTF8: New file.
44455 * iconvdata/testdata/CP771: New file.
44456 * iconvdata/testdata/CP771..UTF8: New file.
44457 * iconvdata/testdata/CP772: New file.
44458 * iconvdata/testdata/CP772..UTF8: New file.
44459 * iconvdata/testdata/CP773: New file.
44460 * iconvdata/testdata/CP773..UTF8: New file.
44461 * iconvdata/testdata/CP774: New file.
44462 * iconvdata/testdata/CP774..UTF8: New file.
44464 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44466 * iconvdata/gen-8bit-gap.sh: Likewise.
44467 * iconvdata/gen-8bit.sh: Likewise.
44469 * locale/iso-639.def: Add ary entry.
44472 * locale/C-translit.h.in: Add U20A1 transliteration.
44475 * locale/iso-639.def: Add wae entry.
44476 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44479 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44483 * locale/C-translit.h.in: Add entry for U20B9.
44484 Patch by pravin.d.s@gmail.com.
44486 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44489 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44490 ENAMETOOLONG use generic getcwd.
44491 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44492 in rtld. Use *stat64.
44493 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44494 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44495 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44496 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44497 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44498 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44499 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44500 __fstatat64 macros.
44501 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44502 * dirent/rewinddir.c: Add libc_hidden_def.
44503 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44504 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44506 * include/dirent.h (__alloc_dir): Add flags parameter.
44507 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44508 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44510 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44511 from fdopendir if O_CLOEXEC is already set.
44513 2011-03-15 Alan Modra <amodra@gmail.com>
44515 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44516 l_tls_firstbyte_offset non-zero. Save padding offset in
44517 l_tls_firstbyte_offset for later use.
44518 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44519 freeing static tls block.
44521 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44523 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44524 where #ifdef was intended. The intent is to prevent ARG_MAX from
44525 being defined by the kernel headers.
44527 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44530 * resolv/resolv.h: Define RES_NOTLDQUERY.
44531 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44532 no-tld-query and set RES_NOTLDQUERY.
44533 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44534 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44535 modern BIND to search name as TLD unless forbidden.
44537 2011-05-07 Petr Baudis <pasky@suse.cz>
44538 Ulrich Drepper <drepper@gmail.com>
44541 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44542 (is_trusted_path): ...to here.
44543 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44544 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44545 using is_trusted_path_normalize() in setuid scripts.
44547 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44549 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44550 __BEGIN/__END_DECLS.
44552 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44555 NSS_STATUS_NOTFOUND if no record was found.
44557 2011-05-05 Andreas Schwab <schwab@redhat.com>
44559 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44560 (headers-not-in-tirpc): Remove rpc/netdb.h
44561 * resolv/netdb.h: Revert last change.
44563 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44565 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44566 circular dependency between libgcc.a and libc.a.
44568 2011-05-05 Andreas Schwab <schwab@redhat.com>
44570 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44571 * nis/Makefile: Don't install rpcsvc/*.
44572 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44573 instead of <rpc/types.h>.
44574 (MAXHOSTNAMELEN): Define.
44576 2011-05-03 Andreas Schwab <schwab@redhat.com>
44578 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44580 2011-04-28 Maciej Babinski <mbabinski@google.com>
44583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44584 gethostbyname4_r when IPv6 results are possible.
44586 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44589 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44590 _PC_PIPE_BUF handling.
44592 2011-04-30 Bruno Haible <bruno@clisp.org>
44595 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44596 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44598 * inet/getnameinfo.c (getnameinfo): Likewise.
44600 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44602 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44603 to groups setting in database lookup.
44604 * nss/nsswitch.conf: Add initgroups entry.
44606 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44609 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44611 Patch by Eric Blake <eblake@redhat.com>.
44613 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44615 * sunrpc/Makefile (need-export-routines): Add svc_run.
44616 (routines): Remove svc_run.
44617 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44618 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44619 * sunrpc/svc_run.c (svc_run): Likewise.
44620 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44622 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44624 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44625 problem in reallocation in last patch.
44627 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44629 * sunrpc/Makefile: Move inclusion of Rules.
44631 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44633 * nss/nss_files/files-initgroups.c: New file.
44634 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44635 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44636 _nss_files_initgroups_dyn.
44638 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44640 * elf/elf.h (R_ARM_IRELATIVE): Define.
44642 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44644 * po/ru.po: Update from translation team.
44646 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44648 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44651 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44654 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44655 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44656 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44658 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44660 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44662 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44664 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44665 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44666 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44668 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44671 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44673 * stdlib/bug-getcontext.c: New file.
44674 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44676 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44678 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44679 instructions into .machine "z9-109".
44680 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44681 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44683 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44685 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44686 between environment variables and auxiliary vector.
44688 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44690 * Makefile: Add rules to build linkobj/libc.so.
44691 * include/libc-symbols.h: Define libc_hidden_nolink.
44692 * include/rpc/auth.h: Mark functions which are to be hidden.
44693 * include/rpc/auth_des.h: Likewise.
44694 * include/rpc/auth_unix.h: Likewise.
44695 * include/rpc/clnt.h: Likewise.
44696 * include/rpc/des_crypt.h: Likewise.
44697 * include/rpc/key_prot.h: Likewise.
44698 * include/rpc/pmap_clnt.h: Likewise.
44699 * include/rpc/pmap_prot.h: Likewise.
44700 * include/rpc/pmap_rmt.h: Likewise.
44701 * include/rpc/rpc_msg.h: Likewise.
44702 * include/rpc/svc.h: Likewise.
44703 * include/rpc/svc_auth.h: Likewise.
44704 * include/rpc/xdr.h: Likewise.
44705 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44706 * nss/Makefile: Likewise.
44707 * sunrpc/Makefile: Don't install headers. Build library with normal
44708 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44709 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44710 for the compat linking library. Remove use of INTDEF/INTUSE.
44711 * sunrpc/auth_none.c: Likewise.
44712 * sunrpc/auth_unix.c: Likewise.
44713 * sunrpc/authdes_prot.c: Likewise.
44714 * sunrpc/authuxprot.c: Likewise.
44715 * sunrpc/clnt_gen.c: Likewise.
44716 * sunrpc/clnt_perr.c: Likewise.
44717 * sunrpc/clnt_raw.c: Likewise.
44718 * sunrpc/clnt_simp.c: Likewise.
44719 * sunrpc/clnt_tcp.c: Likewise.
44720 * sunrpc/clnt_udp.c: Likewise.
44721 * sunrpc/clnt_unix.c: Likewise.
44722 * sunrpc/des_crypt.c: Likewise.
44723 * sunrpc/des_soft.c: Likewise.
44724 * sunrpc/get_myaddr.c: Likewise.
44725 * sunrpc/key_call.c: Likewise.
44726 * sunrpc/key_prot.c: Likewise.
44727 * sunrpc/netname.c: Likewise.
44728 * sunrpc/pm_getmaps.c: Likewise.
44729 * sunrpc/pm_getport.c: Likewise.
44730 * sunrpc/pmap_clnt.c: Likewise.
44731 * sunrpc/pmap_prot.c: Likewise.
44732 * sunrpc/pmap_prot2.c: Likewise.
44733 * sunrpc/pmap_rmt.c: Likewise.
44734 * sunrpc/publickey.c: Likewise.
44735 * sunrpc/rpc_cmsg.c: Likewise.
44736 * sunrpc/rpc_common.c: Likewise.
44737 * sunrpc/rpc_dtable.c: Likewise.
44738 * sunrpc/rpc_prot.c: Likewise.
44739 * sunrpc/rpc_thread.c: Likewise.
44740 * sunrpc/rtime.c: Likewise.
44741 * sunrpc/svc.c: Likewise.
44742 * sunrpc/svc_auth.c: Likewise.
44743 * sunrpc/svc_authux.c: Likewise.
44744 * sunrpc/svc_raw.c: Likewise.
44745 * sunrpc/svc_run.c: Likewise.
44746 * sunrpc/svc_simple.c: Likewise.
44747 * sunrpc/svc_tcp.c: Likewise.
44748 * sunrpc/svc_udp.c: Likewise.
44749 * sunrpc/svc_unix.c: Likewise.
44750 * sunrpc/svcauth_des.c: Likewise.
44751 * sunrpc/xcrypt.c: Likewise.
44752 * sunrpc/xdr.c: Likewise.
44753 * sunrpc/xdr_array.c: Likewise.
44754 * sunrpc/xdr_float.c: Likewise.
44755 * sunrpc/xdr_intXX_t.c: Likewise.
44756 * sunrpc/xdr_mem.c: Likewise.
44757 * sunrpc/xdr_rec.c: Likewise.
44758 * sunrpc/xdr_ref.c: Likewise.
44759 * sunrpc/xdr_sizeof.c: Likewise.
44760 * sunrpc/xdr_stdio.c: Likewise.
44762 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44765 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44766 * sysdeps/ia64/dl-tls.h: Likewise.
44767 * sysdeps/powerpc/dl-tls.h: Likewise.
44768 * sysdeps/s390/dl-tls.h: Likewise.
44769 * sysdeps/sh/dl-tls.h: Likewise.
44770 * sysdeps/sparc/dl-tls.h: Likewise.
44771 * sysdeps/x86_64/dl-tls.h: Likewise.
44772 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44774 2011-03-14 Andreas Schwab <schwab@redhat.com>
44776 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44777 rpath element also skip the following colon.
44778 (expand_dynamic_string_token): Add is_path parameter and pass
44779 down to DL_DST_REQUIRED and _dl_dst_substitute.
44780 (decompose_rpath): Call expand_dynamic_string_token with
44781 non-zero is_path. Ignore empty rpaths.
44782 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44785 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44790 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44793 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44794 Patch by Filipe David Manana <fdmanana@apache.org>.
44796 2011-04-07 Andreas Schwab <schwab@redhat.com>
44798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44799 Maintain aligned stack.
44800 (CHECK_RSP): Remove unused macro.
44802 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44804 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44805 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44807 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44809 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44811 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44813 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44816 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44817 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44818 * sysdeps/x86_64/memmove.c: New file.
44819 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44820 (memcpy): Renamed to ...
44821 (__new_memcpy): This.
44822 (memcpy): Provide GLIBC_2_14 memcpy.
44823 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44824 (memcpy): Provide GLIBC_2_2_5 memcpy.
44826 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44829 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44831 2011-03-30 Andreas Schwab <schwab@redhat.com>
44833 * misc/syncfs.c: New file.
44834 * misc/Makefile (routines): Add syncfs.
44835 * posix/unistd.h: Declare syncfs.
44836 * sysdeps/unix/syscalls.list: Add syncfs.
44838 2011-04-01 Andreas Schwab <schwab@redhat.com>
44840 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44842 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44843 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44844 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44845 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44847 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44848 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44850 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44852 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44853 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44854 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44856 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44858 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44860 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44861 sync_file_range.c with -fexceptions.
44862 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44863 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44864 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44865 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44866 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44867 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44868 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44869 sync_file_range as cancellation point
44870 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44871 now a wrapper around __call_sync_file_range with cancellation handling.
44872 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44873 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44874 function name to __call_sync_file_range.
44875 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44876 Add call_sync_file_range.
44878 2011-04-01 Andreas Schwab <schwab@redhat.com>
44880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44883 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44885 * iconv/iconv.h: Fix typo in comment.
44886 * io/fcntl.h: Likewise.
44887 * libio/stdio.h: Likewise.
44888 * posix/spawn.h: Likewise.
44889 * posix/unistd.h: Likewise.
44890 * stdlib/stdlib.h: Likewise.
44891 * time/time.h: Likewise.
44892 * wcsmbs/wchar.h: Likewise.
44894 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44895 open_by_handle): Add.
44896 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44897 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44898 Augment a few comments.
44899 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44904 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44907 * io/fcntl.h (AT_EMPTY_PATH): Define.
44909 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44911 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44912 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44913 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44915 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44916 * Versions.def: Add GLIBC_2.14.
44917 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44920 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44922 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44924 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44926 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44929 * string/test-strncmp.c (do_page_test): New function.
44930 (check2): Likewise.
44931 (test_main): Call check2.
44932 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44934 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44937 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44938 Handle cache information in CPU leaf 4.
44939 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44941 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44944 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44945 character representation.
44946 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44948 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44950 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44951 END(__isnan) to END(__isnanf) to match function entry point/label
44952 EALIGN(__isnanf,...).
44954 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44956 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44958 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44961 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44962 copy from the symbol referenced in the relocation to initialize the
44964 Patch by Piotr Bury <pbury@goahead.com>.
44965 * elf/Makefile: Add rules to build and tst-unique3.
44966 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44967 * elf/tst-unique3.cc: New file.
44968 * elf/tst-unique3.h: New file.
44969 * elf/tst-unique3lib.cc: New file.
44970 * elf/tst-unique3lib2.cc: New file.
44972 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44974 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44976 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44977 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44980 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44982 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44983 to-be-loaded object along a path to loader is ld.so.
44985 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44986 Ulrich Drepper <drepper@gmail.com>
44988 * sysdeps/x86_64/memset.S: After aligning destination, code
44989 branches to different locations depending on the value of
44990 misalignment, when multiarch is enabled. Fix this.
44992 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44994 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44995 Set _x86_64_preferred_memory_instruction for AMD processsors.
44996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44997 Set bit_Prefer_SSE_for_memop for AMD processors.
44999 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45001 * libio/fmemopen.c (fmemopen): Optimize a bit.
45003 2011-03-03 Andreas Schwab <schwab@redhat.com>
45005 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45007 2011-03-03 Roland McGrath <roland@redhat.com>
45009 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45011 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45013 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45014 __bzero_ultra1 instead of __memset_ultra1.
45016 2011-02-23 Andreas Schwab <schwab@redhat.com>
45017 Ulrich Drepper <drepper@gmail.com>
45020 * include/link.h (struct link_map): Add l_orig_initfini.
45021 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45022 returning unsuccessfully.
45023 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45024 close of a file loaded at startup, restore the original l_initfini
45026 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45027 list, store the pointer.
45028 * elf/Makefile ($(objpfx)noload-mem): New rule.
45029 (noload-ENV): Define.
45030 (tests): Add $(objpfx)noload-mem.
45031 * elf/noload.c: Include <memcheck.h>.
45032 (main): Call mtrace. Close all opened handles.
45034 2011-02-17 Andreas Schwab <schwab@redhat.com>
45037 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45038 dependencies are missing.
45040 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45042 Fix __if_freereq crash: Unlike the generic version which uses free,
45044 * sysdeps/mach/hurd/ifreq.h: New file.
45046 2011-01-27 Petr Baudis <pasky@suse.cz>
45047 Ulrich Drepper <drepper@gmail.com>
45050 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45051 to extend_alloca().
45052 * stdio-common/bug23.c: New file.
45053 * stdio-common/Makefile (tests): Add bug23.
45055 2010-09-28 Andreas Schwab <schwab@redhat.com>
45056 Ulrich Drepper <drepper@gmail.com>
45059 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45060 before performing relro protection. At old place add assertion
45061 to make sure nothing changed.
45063 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45064 Glauber de Oliveira Costa <glommer@gmail.com>
45066 * elf/elf.h: Add new ARM TLS relocs.
45068 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45071 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45073 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45075 * sysdeps/wordsize-64/tst-writev.c: New file.
45077 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45079 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45080 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45081 insns in _dl_start to prevent a TOC reference before relocs are
45084 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45087 * Makeconfig: Remove RANLIB definition.
45088 * Makerules: Don't use RANLIB.
45089 * aclocal.m4: Remove ranlib test.
45090 * configure.in: No need to check for ranlib.
45091 * elf/rtld-Rules: Don't use RANLIB.
45093 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45095 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45097 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45098 inclusion protection macro.
45100 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45101 SIGRTMIN and SIGRTMAX and print information in that case only when
45102 SIGRTMIN is defined.
45104 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45106 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45107 arginfo fn returning -1.
45109 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45110 and thousands string is zero terminated.
45112 2011-02-03 Andreas Schwab <schwab@redhat.com>
45114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45115 sysdeps/unix/sysv/linux/bits/socket.h.
45117 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45119 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45120 (__CPU_COUNT): Remove old macros.
45121 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45122 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45123 (__CPU_ALLOC, __CPU_FREE): Add macros.
45124 (__sched_cpualloc, __sched_cpufree): Add declarations.
45126 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45128 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45129 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45130 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45131 (readdhstai): Return value of addhstaiX call.
45132 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45133 (addgrbyX): Return value returned by cache_addgr.
45134 (readdgrbyname): Return value returned by addgrbyX.
45135 (readdgrbygid): Likewise.
45136 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45137 (addpwbyX): Return value returned by cache_addpw.
45138 (readdpwbyname): Return value returned by addhstbyX.
45139 (readdpwbyuid): Likewise.
45140 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45141 (addservbyX): Return value returned by cache_addserv.
45142 (readdservbyname): Return value returned by addservbyX:
45143 (readdservbyport): Likewise.
45144 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45145 (addhstbyX): Return value returned by cache_addhst.
45146 (readdhstbyname): Return value returned by addhstbyX.
45147 (readdhstbyaddr): Likewise.
45148 (readdhstbynamev6): Likewise.
45149 (readdhstbyaddrv6): Likewise.
45150 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45151 (readdinitgroups): Return value returned by addinitgroupsX.
45152 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45153 (prune_cache): Keep track of timeout value of re-added entries.
45154 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45155 * nscd/nscd.h: Adjust prototypes of readd* functions.
45157 2011-02-04 Roland McGrath <roland@redhat.com>
45159 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45160 (nis_stats): Likewise.
45161 * nis/nis_modify.c (nis_modify): Likewise.
45162 * nis/nis_remove.c (nis_remove): Likewise.
45163 * nis/nis_add.c (nis_add): Likewise.
45165 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45167 * posix/fnmatch_loop.c: Add some consts.
45169 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45171 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45174 * config.make.in (config-cflags-novzeroupper): Define.
45175 * configure.in: Substitute libc_cv_cc_novzeroupper.
45176 * elf/Makefile (AVX-CFLAGS): Define.
45177 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45178 (CFLAGS-tst-auditmod4a.c): Likewise.
45179 (CFLAGS-tst-auditmod4b.c): Likewise.
45180 (CFLAGS-tst-auditmod6b.c): Likewise.
45181 (CFLAGS-tst-auditmod6c.c): Likewise.
45182 (CFLAGS-tst-auditmod7b.c): Likewise.
45183 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45185 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45187 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45188 function to the callback.
45189 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45191 2011-02-02 Andreas Schwab <schwab@redhat.com>
45193 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45196 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45199 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45201 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45203 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45206 * elf/Makefile: Add rules to build and run new test.
45207 * elf/tst-initorder.c: New file.
45208 * elf/tst-initorder.exp: New file.
45209 * elf/tst-initordera1.c: New file.
45210 * elf/tst-initordera2.c: New file.
45211 * elf/tst-initordera3.c: New file.
45212 * elf/tst-initordera4.c: New file.
45213 * elf/tst-initorderb1.c: New file.
45214 * elf/tst-initorderb2.c: New file.
45215 * elf/tst-order-a1.c: New file.
45216 * elf/tst-order-a2.c: New file.
45217 * elf/tst-order-a3.c: New file.
45218 * elf/tst-order-a4.c: New file.
45219 * elf/tst-order-b1.c: New file.
45220 * elf/tst-order-b2.c: New file.
45221 * elf/tst-order-main.c: New file.
45222 New test case by George Gensure <werkt0@gmail.com>.
45224 2010-10-01 Andreas Schwab <schwab@redhat.com>
45226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45227 decoding ACE if AI_CANONIDN.
45229 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45231 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45233 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45235 * version.h (RELEASE): Bump for 2.13 release.
45236 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45238 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45240 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45242 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45243 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45244 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45245 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45246 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45249 * posix/getconf.c: Update copyright year.
45250 * catgets/gencat.c: Likewise.
45251 * csu/version.c: Likewise.
45252 * debug/catchsegv.sh: Likewise.
45253 * debug/xtrace.sh: Likewise.
45254 * elf/ldconfig.c: Likewise.
45255 * elf/ldd.bash.in: Likewise.
45256 * elf/sprof.c (print_version): Likewise.
45257 * iconv/iconv_prog.c: Likewise.
45258 * iconv/iconvconfig.c: Likewise.
45259 * locale/programs/locale.c: Likewise.
45260 * locale/programs/localedef.c: Likewise.
45261 * malloc/memusage.sh: Likewise.
45262 * malloc/mtrace.pl: Likewise.
45263 * nscd/nscd.c (print_version): Likewise.
45264 * nss/getent.c: Likewise.
45266 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45267 PF_CAIF, and PF_ALG.
45268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45270 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45272 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45273 (modules-names): Use them.
45274 (ifunc-test-modules, ifunc-pie-tests): Define.
45275 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45276 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45277 (test-extras): Likewise.
45278 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45279 $(compile-command.c).
45280 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45281 (all-built-dso): Define.
45282 (check-textrel.out, check-execstack.out): Depend on it.
45284 * configure.in: Don't override --enable-multi-arch.
45286 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45289 * nscd/hstcache.c (tryagain): Define.
45290 (cache_addhst): Return tryagain not notfound for temporary errors.
45291 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45294 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45297 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45298 to make the syscall.
45299 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45302 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45303 and fall back to matching as normal character if the string ends before
45304 the matching ']' is found. This is what POSIX requires.
45305 * posix/testfnm.c: Adjust test result.
45306 * posix/globtest.sh: Adjust test result. Add new test.
45307 * posix/tst-fnmatch.input: Likewise.
45308 * posix/tst-fnmatch2.c: Add new test.
45310 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45312 * elf/Makefile (check-execstack): Revert last change. Depend on
45314 (check-execstack.h): New target.
45315 (generated): Add check-execstack.h.
45316 * elf/check-execstack.c: Include "check-execstack.h".
45317 (main): Revert last change.
45318 (handle_file): Return zero if GNU_STACK is absent and
45319 DEFAULT_STACK_PERMS doesn't include PF_X.
45321 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45323 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45324 in child fails because the descriptor is already closed.
45325 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45326 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45327 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45330 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45334 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45335 temporary buffer used to handle multi lookups locally.
45336 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45338 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45340 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45343 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45345 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45346 alignment for SSE2.
45348 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45351 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45352 characters. When rounding increased number of integer digits recompute
45354 * stdio-common/tst-grouping.c: New file.
45355 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45357 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45359 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45360 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45362 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45364 * bits/select.h: Likewise.
45366 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45368 * po/ja.po: Update from translation team.
45370 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45373 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45374 implementation just like for lxstat, fxstatat, et al.
45376 2010-12-27 Jim Meyering <meyering@redhat.com>
45379 * posix/regexec.c (build_trtable): Return failure indication upon
45380 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45382 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45385 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45386 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45387 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45388 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45391 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45394 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45395 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45397 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45399 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45400 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45401 script has SORT_BY_INIT_PRIORITY.
45402 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45403 NO_CTORS_DTORS_SECTIONS is defined.
45404 * elf/soinit.c: Likewise.
45405 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45406 NO_CTORS_DTORS_SECTIONS is defined.
45407 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45408 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45409 * sysdeps/sh/init-first.c: Likewise.
45410 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45412 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45414 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45415 always use the slow path.
45417 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45419 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45420 similar rule which adds the sysdep directories to the header search in
45421 order to pick up the correct platform stackinfo.h.
45422 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45423 perform test if it is, otherwise return successfully without testing.
45424 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45425 DEFAULT_STACK_PERMS define in stackinfo.h.
45426 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45427 defined in stackinfo.h.
45428 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45429 DEFAULT_STACK_PERMS defined in stackinfo.h.
45430 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45431 * sysdeps/ia64/stackinfo.h: Likewise.
45432 * sysdeps/s390/stackinfo.h: Likewise.
45433 * sysdeps/sh/stackinfo.h: Likewise.
45434 * sysdeps/sparc/stackinfo.h: Likewise.
45435 * sysdeps/x86_64/stackinfo.h: Likewise.
45436 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45437 PF_X for powerpc64. Retain PF_X for powerpc32.
45439 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45441 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45443 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45444 GETDENTS_64BIT_ALIGNED.
45446 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45448 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45450 2010-12-10 Andreas Schwab <schwab@redhat.com>
45452 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45455 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45456 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45458 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45459 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45461 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45464 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45467 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45469 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45471 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45473 * po/it.po: Update from translation team.
45475 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45480 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45482 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45484 2010-11-24 Andreas Schwab <schwab@redhat.com>
45486 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45488 (gaih_getanswer_slice): Likewise.
45490 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45494 2010-05-31 Petr Baudis <pasky@suse.cz>
45497 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45498 silently even in the chroot mode.
45500 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45502 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45503 last patch a bit. Pretty printing
45505 2010-05-31 Petr Baudis <pasky@suse.cz>
45508 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45509 initialization of skip_initgroups_dyn.
45511 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45513 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45514 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45516 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45518 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45520 2010-11-11 Andreas Schwab <schwab@redhat.com>
45522 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45523 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45524 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45525 ($(objpfx)tst-fnmatch-mem): New rule.
45526 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45527 * posix/tst-fnmatch.c (main): Call mtrace.
45529 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45532 Support Intel processor model 6 and model 0x2c.
45534 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45536 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45539 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45542 * string/test-strncasecmp.c (check_result): New function.
45543 (do_one_test): Use it.
45544 (check1): New function.
45545 (test_main): Use it.
45546 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45547 Support strcasecmp and strncasecmp.
45549 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45552 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45553 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45555 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45557 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45561 * sysdeps/x86_64/multiarch/bzero.S: New file.
45562 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45563 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45564 * sysdeps/x86_64/multiarch/memset.S: New file.
45565 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45567 Set bit_Prefer_SSE_for_memop for Intel processors.
45568 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45570 (index_Prefer_SSE_for_memop): Define.
45571 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45573 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45575 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45576 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45578 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45581 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45582 (__x86_64_raw_data_cache_size_half): Likewise.
45583 (__x86_64_raw_shared_cache_size): Likewise.
45584 (__x86_64_raw_shared_cache_size_half): Likewise.
45586 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45587 (__x86_64_raw_data_cache_size_half): Likewise.
45588 (__x86_64_raw_shared_cache_size): Likewise.
45589 (__x86_64_raw_shared_cache_size_half): Likewise.
45590 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45591 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45592 and __x86_64_raw_shared_cache_size_half. Round
45593 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45594 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45595 to multiple of 256 bytes.
45597 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45600 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45601 of inacessible symlinks. Verify result of symlink before returning it.
45602 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45603 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45605 2010-10-28 Erich Ritz <erichritz@gmail.com>
45607 * math/math.h (isinf): Fix typo in comment.
45609 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45611 * po/da.po: Update from translation team.
45613 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45615 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45616 is added to the list.
45618 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45619 Ulrich Drepper <drepper@gmail.com>
45621 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45622 the global list here. Move code to...
45623 (_dl_add_to_namespace_list): ...here. New function.
45624 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45625 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45626 * elf/dl-load.c (lose): Don't remove the element from the list.
45627 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45628 (_dl_map_object): Likewise.
45630 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45633 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45634 into all bytes of SSE register.
45635 Patch by Richard Li <richardpku@gmail.com>.
45637 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45640 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45643 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45645 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45646 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45647 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45648 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45653 2010-10-22 Andreas Schwab <schwab@redhat.com>
45655 * include/dlfcn.h (__RTLD_SECURE): Define.
45656 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45657 mode & __RTLD_SECURE instead.
45658 (open_path): Rename preloaded parameter to secure.
45659 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45660 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45661 * elf/dl-deps.c (openaux): Likewise.
45662 * elf/rtld.c (struct map_args): Remove is_preloaded.
45663 (map_doit): Don't use it.
45664 (dl_main): Likewise.
45665 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45666 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45668 2010-09-09 Andreas Schwab <schwab@redhat.com>
45670 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45671 (sysd-rules-targets): Remove duplicates.
45672 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45673 rtld-%.$o dependency.
45675 2010-10-18 Andreas Schwab <schwab@redhat.com>
45677 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45678 _dl_map_object do it.
45680 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45682 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45683 fast fma builtins, define the macros in the C99 standard.
45684 (FP_FAST_FMAF): Likewise.
45685 (FP_FAST_FMAL): Likewise.
45686 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45688 * bits/mathdef.h: Update copyright year.
45689 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45691 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45693 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45694 builtins, define the macros in the C99 standard.
45695 (FP_FAST_FMAF): Likewise.
45696 (FP_FAST_FMAL): Likewise.
45697 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45699 (FP_FAST_FMAF): Likewise.
45701 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45704 * math/libm-test.inc (fma_test): Some new testcases.
45705 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45706 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45707 y and infinite z. Do multiplication by C already in long double.
45708 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45710 y and infinite z. Do bitwise or of inexact bit into u.d.
45711 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45712 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45713 * sysdeps/i386/fpu/s_fma.S: Removed.
45714 * sysdeps/i386/fpu/s_fmal.S: Removed.
45716 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45719 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45721 computation is not scheduled after fetestexcept. Fix value
45722 of minimum denormal long double.
45724 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45727 * math/libm-test.inc (fma_test): Add some more tests.
45728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45731 2010-10-15 Andreas Schwab <schwab@redhat.com>
45733 * scripts/data/localplt-s390-linux-gnu.data: New file.
45734 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45736 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45739 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45740 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45742 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45744 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45746 if one of x and y is very large and the other is subnormal.
45747 * sysdeps/s390/fpu/s_fmaf.c: New file.
45748 * sysdeps/s390/fpu/s_fma.c: New file.
45749 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45750 * sysdeps/powerpc/fpu/s_fma.S: New file.
45751 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45752 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45753 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45755 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45758 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45760 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45761 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45762 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45763 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45764 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45765 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45766 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45768 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45771 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45772 * posix/bug-regex31.input: Add test case.
45774 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45776 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45777 * posix/bug-regex31.input: New file.
45780 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45781 (parse_sub_exp): Fix last change, use postorder.
45783 * posix/bug-regex31.c: New file.
45784 * posix/Makefile: Add rules to build and run bug-regex31.
45786 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45789 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45792 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45793 to have entries in sys_siglist.
45796 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45799 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45802 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45803 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45804 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45805 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45806 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45807 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45808 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45809 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45810 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45811 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45812 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45813 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45814 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45815 * math/ftestexcept.c (fetestexcept): Likewise.
45816 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45817 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45818 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45819 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45820 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45821 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45822 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45824 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45827 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45830 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45832 * string/bug-strstr1.c: New file.
45833 * string/Makefile: Add rules to build and run bug-strstr1.
45835 2010-10-05 Eric Blake <eblake@redhat.com>
45838 * string/str-two-way.h (two_way_long_needle): Always clear memory
45839 when skipping input due to the shift table.
45841 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45844 * malloc/mcheck.c: Handle large requests.
45847 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45848 for strncmp and strncasecmp.
45849 * string/stratcliff.c: Add tests for strcmp and strncmp.
45850 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45852 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45854 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45857 2010-09-30 Andreas Jaeger <aj@suse.de>
45859 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45860 (CGROUP_SUPER_MAGIC): Define.
45861 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45862 Handle btrfs and cgroup file systems.
45863 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45866 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45868 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45869 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45871 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45874 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45875 trying to locate the ELF header.
45877 2010-09-27 Andreas Schwab <schwab@redhat.com>
45880 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45881 Mask out sign-bit copies when constructing f_fsid.
45883 2010-09-24 Petr Baudis <pasky@suse.cz>
45885 * debug/stack_chk_fail_local.c: Add missing licence exception.
45886 * debug/warning-nop.c: Likewise.
45888 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45890 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45891 implementing getdents64 using getdents syscall, set d_type if
45892 __ASSUME_GETDENTS32_D_TYPE.
45894 2010-09-16 Andreas Schwab <schwab@redhat.com>
45896 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45897 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45899 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45902 * posix/unistd.h: Undo change of feature selection for ftruncate from
45905 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45907 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45910 2010-09-20 Andreas Schwab <schwab@redhat.com>
45912 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45914 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45916 2010-09-14 Andreas Schwab <schwab@redhat.com>
45918 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45919 variables after CHECK_SP call.
45920 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45922 2010-09-13 Andreas Schwab <schwab@redhat.com>
45923 Ulrich Drepper <drepper@redhat.com>
45925 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45926 re-relocationg ld.so.
45927 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45928 _dl_init_paths call.
45929 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45932 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45934 * resolv/res_init.c (__res_vinit): Count the default server we added.
45936 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45937 Ulrich Drepper <drepper@redhat.com>
45940 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45941 (____longjmp_chk): Use %ebx for saving value across system call.
45944 2010-09-06 Andreas Schwab <schwab@redhat.com>
45946 * manual/Makefile: Don't mix pattern rules with normal rules.
45948 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45950 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45952 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45953 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45954 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45955 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45956 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45959 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45962 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45963 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45965 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45967 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45968 * sysdeps/x86_64/addmul_1.S: Likewise.
45969 * sysdeps/x86_64/lshift.S: Likewise.
45970 * sysdeps/x86_64/mul_1.S: Likewise.
45971 * sysdeps/x86_64/rshift.S: Likewise.
45972 * sysdeps/x86_64/sub_n.S: Likewise.
45973 * sysdeps/x86_64/submul_1.S: Likewise.
45975 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45977 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45978 Define __sched_param instead of SCHED_* and sched_param when
45979 <bits/sched.h> is included with __need_schedparam defined.
45980 * bits/sched.h [__need_schedparam]
45981 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45982 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45983 (__defined_schedparam): Define to 1.
45984 (__sched_param): New structure, identical to sched_param.
45985 (__need_schedparam): Undefine.
45987 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45989 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45990 (epoll_create1): Declare.
45992 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45994 2010-08-31 Andreas Schwab <schwab@redhat.com>
45997 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45998 shifting retval into place.
46000 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46002 * nis/rpcsvc/nis.h: Update copyright notice.
46003 * nis/rpcsvc/nis.x: Likewise.
46004 * nis/rpcsvc/nis_callback.h: Likewise.
46005 * nis/rpcsvc/nis_callback.x: Likewise.
46006 * nis/rpcsvc/nis_object.x: Likewise.
46007 * nis/rpcsvc/nis_tags.h: Likewise.
46008 * nis/rpcsvc/yp.h: Likewise.
46009 * nis/rpcsvc/yp.x: Likewise.
46010 * nis/rpcsvc/ypupd.h: Likewise.
46011 * nis/yp_xdr.c: Likewise.
46012 * nis/ypupdate_xdr.c: Likewise.
46014 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46015 mainly the body of pmap_getport. Add parameters to specify timeouts.
46016 (pmap_getport): Use __libc_rpc_getport.
46017 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46018 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46019 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46021 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46026 2010-08-27 Roland McGrath <roland@redhat.com>
46028 * sysdeps/i386/i686/multiarch/Makefile
46029 (CFLAGS-varshift.c): New variable.
46031 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46033 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46034 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46036 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46038 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46040 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46042 * sysdeps/x86_64/strlen.S: Unroll the loop.
46043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46044 strlen-sse2 strlen-sse2-bsf.
46045 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46046 __strlen_no_bsf if bit_Slow_BSF is set.
46047 (__strlen_sse42): Removed.
46048 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46049 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46051 2010-08-25 Roland McGrath <roland@redhat.com>
46053 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46054 * sysdeps/x86_64/multiarch/varshift.c: New file.
46055 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46056 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46057 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46058 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46060 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46063 strlen-sse2 strlen-sse2-bsf.
46064 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46065 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46066 (__strlen_sse2): Removed.
46067 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46070 bit_Slow_BSF for Atom.
46071 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46072 (index_Slow_BSF): Define.
46073 (HAS_SLOW_BSF): Define.
46075 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46078 * resolv/res_init.c (__res_vinit): When no server address at all
46079 is given default to loopback.
46081 2010-08-24 Roland McGrath <roland@redhat.com>
46083 * configure.in: Remove config-name.h generation.
46084 * configure: Regenerated.
46085 * config-name.in: File removed.
46086 * scripts/config-uname.sh: New file.
46087 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46088 ($(objdir)config-name.h): New target.
46090 * sunrpc/rpc_parse.h: Avoid nested comment.
46092 2010-08-24 Richard Henderson <rth@redhat.com>
46093 Ulrich Drepper <drepper@redhat.com>
46094 H.J. Lu <hongjiu.lu@intel.com>
46096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46098 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46099 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46100 _mm_alignr_epi8 with _mm_loadu_si128.
46101 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46102 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46103 (__m128i_shift_right): Removed.
46104 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46105 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46106 * sysdeps/x86_64/multiarch/varshift.h: New file.
46107 * sysdeps/x86_64/multiarch/varshift.S: New file.
46109 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46111 * configure.in: Move assembler checks to before sysdep dir checking.
46113 2010-08-20 Petr Baudis <pasky@suse.cz>
46115 * LICENSES: Sync the sunrpc license.
46117 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46119 * sunrpc/auth_des.c: Update copyright notice once again.
46120 * sunrpc/auth_none.c: Likewise.
46121 * sunrpc/auth_unix.c: Likewise.
46122 * sunrpc/authdes_prot.c: Likewise.
46123 * sunrpc/authuxprot.c: Likewise.
46124 * sunrpc/bindrsvprt.c: Likewise.
46125 * sunrpc/clnt_gen.c: Likewise.
46126 * sunrpc/clnt_perr.c: Likewise.
46127 * sunrpc/clnt_raw.c: Likewise.
46128 * sunrpc/clnt_simp.c: Likewise.
46129 * sunrpc/clnt_tcp.c: Likewise.
46130 * sunrpc/clnt_udp.c: Likewise.
46131 * sunrpc/clnt_unix.c: Likewise.
46132 * sunrpc/des_crypt.c: Likewise.
46133 * sunrpc/des_soft.c: Likewise.
46134 * sunrpc/get_myaddr.c: Likewise.
46135 * sunrpc/getrpcport.c: Likewise.
46136 * sunrpc/key_call.c: Likewise.
46137 * sunrpc/key_prot.c: Likewise.
46138 * sunrpc/openchild.c: Likewise.
46139 * sunrpc/pm_getmaps.c: Likewise.
46140 * sunrpc/pm_getport.c: Likewise.
46141 * sunrpc/pmap_clnt.c: Likewise.
46142 * sunrpc/pmap_prot.c: Likewise.
46143 * sunrpc/pmap_prot2.c: Likewise.
46144 * sunrpc/pmap_rmt.c: Likewise.
46145 * sunrpc/rpc/auth.h: Likewise.
46146 * sunrpc/rpc/auth_unix.h: Likewise.
46147 * sunrpc/rpc/clnt.h: Likewise.
46148 * sunrpc/rpc/des_crypt.h: Likewise.
46149 * sunrpc/rpc/key_prot.h: Likewise.
46150 * sunrpc/rpc/netdb.h: Likewise.
46151 * sunrpc/rpc/pmap_clnt.h: Likewise.
46152 * sunrpc/rpc/pmap_prot.h: Likewise.
46153 * sunrpc/rpc/pmap_rmt.h: Likewise.
46154 * sunrpc/rpc/rpc.h: Likewise.
46155 * sunrpc/rpc/rpc_des.h: Likewise.
46156 * sunrpc/rpc/rpc_msg.h: Likewise.
46157 * sunrpc/rpc/svc.h: Likewise.
46158 * sunrpc/rpc/svc_auth.h: Likewise.
46159 * sunrpc/rpc/types.h: Likewise.
46160 * sunrpc/rpc/xdr.h: Likewise.
46161 * sunrpc/rpc_clntout.c: Likewise.
46162 * sunrpc/rpc_cmsg.c: Likewise.
46163 * sunrpc/rpc_common.c: Likewise.
46164 * sunrpc/rpc_cout.c: Likewise.
46165 * sunrpc/rpc_dtable.c: Likewise.
46166 * sunrpc/rpc_hout.c: Likewise.
46167 * sunrpc/rpc_main.c: Likewise.
46168 * sunrpc/rpc_parse.c: Likewise.
46169 * sunrpc/rpc_parse.h: Likewise.
46170 * sunrpc/rpc_prot.c: Likewise.
46171 * sunrpc/rpc_sample.c: Likewise.
46172 * sunrpc/rpc_scan.c: Likewise.
46173 * sunrpc/rpc_scan.h: Likewise.
46174 * sunrpc/rpc_svcout.c: Likewise.
46175 * sunrpc/rpc_tblout.c: Likewise.
46176 * sunrpc/rpc_util.c: Likewise.
46177 * sunrpc/rpc_util.h: Likewise.
46178 * sunrpc/rpcinfo.c: Likewise.
46179 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46180 * sunrpc/rpcsvc/key_prot.x: Likewise.
46181 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46182 * sunrpc/rpcsvc/mount.x: Likewise.
46183 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46184 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46185 * sunrpc/rpcsvc/rex.x: Likewise.
46186 * sunrpc/rpcsvc/rstat.x: Likewise.
46187 * sunrpc/rpcsvc/rusers.x: Likewise.
46188 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46189 * sunrpc/rpcsvc/spray.x: Likewise.
46190 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46191 * sunrpc/rtime.c: Likewise.
46192 * sunrpc/svc.c: Likewise.
46193 * sunrpc/svc_auth.c: Likewise.
46194 * sunrpc/svc_authux.c: Likewise.
46195 * sunrpc/svc_raw.c: Likewise.
46196 * sunrpc/svc_run.c: Likewise.
46197 * sunrpc/svc_simple.c: Likewise.
46198 * sunrpc/svc_tcp.c: Likewise.
46199 * sunrpc/svc_udp.c: Likewise.
46200 * sunrpc/svc_unix.c: Likewise.
46201 * sunrpc/svcauth_des.c: Likewise.
46202 * sunrpc/xcrypt.c: Likewise.
46203 * sunrpc/xdr.c: Likewise.
46204 * sunrpc/xdr_array.c: Likewise.
46205 * sunrpc/xdr_float.c: Likewise.
46206 * sunrpc/xdr_mem.c: Likewise.
46207 * sunrpc/xdr_rec.c: Likewise.
46208 * sunrpc/xdr_ref.c: Likewise.
46209 * sunrpc/xdr_sizeof.c: Likewise.
46210 * sunrpc/xdr_stdio.c: Likewise.
46212 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46215 2010-08-19 Andreas Schwab <schwab@redhat.com>
46217 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46219 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46221 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46222 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46223 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46224 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46225 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46226 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46227 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46228 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46229 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46230 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46231 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46232 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46233 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46234 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46236 2010-07-26 Anton Blanchard <anton@samba.org>
46238 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46239 * malloc/arena.c (heap_trim): Likewise.
46241 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46243 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46245 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46246 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46248 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46250 * sysdeps/i386/elf/Makefile: New file.
46252 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46254 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46255 from fanotify_init.
46256 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46257 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46259 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46261 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46263 * sysdeps/multiarch/strcmp.S: Likewise.
46265 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46267 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46268 strncase_l-nonascii.
46269 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46270 Add strncase_l-ssse3.
46271 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46272 * sysdeps/x86_64/strcmp.S: Likewise.
46273 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46274 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46275 * sysdeps/x86_64/strncase.S: New file.
46276 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46277 * sysdeps/x86_64/strncase_l.S: New file.
46278 * string/Makefile (strop-tests): Add strncasecmp.
46279 * string/test-strncasecmp.c: New file.
46281 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46284 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46285 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46287 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46289 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46291 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46293 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46294 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46295 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46297 2010-05-01 Alan Modra <amodra@gmail.com>
46299 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46300 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46301 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46302 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46303 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46304 tidying. Don't tail-call __sigjmp_save for static lib.
46305 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46307 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46308 (CALL_MCOUNT): Add eh info, and nop after bl.
46309 (TAIL_CALL_SYSCALL_ERROR): New macro.
46310 (PSEUDO_RET): Use it.
46311 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46312 Correct save location of integer regs and cr.
46313 (_dl_profile_resolve): Correct cr save location. Delete nops
46314 after bl when SHARED. Reduce cfi size a little by better
46315 placement of cfi directives.
46316 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46317 make a stack frame. Instead use parm save area as a temp.
46318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46319 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46321 Don't make a stack frame for parent, use parm save area.
46322 Increase child stack frame to 112 bytes. Don't save unused reg,
46323 and adjust reg usage. Set up cfi on error recovery and
46324 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46326 (__makecontext): Add dummy nop after jump to exit.
46327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46328 Use correct parm save area and cr save, reduce stack frame.
46329 Correct cfi for possible PSEUDO_RET frame setup.
46330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46331 Branch to local label emitted by PSEUDO_RET rather than
46334 2010-08-12 Andreas Schwab <schwab@redhat.com>
46337 * locale/programs/locale.c (print_assignment): New function.
46338 (show_locale_vars): Use it.
46340 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46342 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46344 (struct statfs64): Likewise.
46345 (_STATFS_F_FLAGS): Define.
46346 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46347 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46348 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46349 (ST_VALID): Define locally.
46350 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46351 __statvfs_getflags, use the provided value.
46352 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46353 __ASSUME_STATFS_F_FLAGS.
46355 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46357 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46358 Add sys/fanotify.h.
46359 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46360 fanotify_mask for GLIBC_2.13.
46361 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46362 fanotify_init and fanotify_mark.
46363 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46364 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46366 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46368 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46369 prlimit64 for GLIBC_2.13.
46370 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46372 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46375 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46376 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46377 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46378 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46380 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46383 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46384 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46386 * nss/Makefile: Add rules to build and run tst-nss-test1.
46387 * shlib-versions: Add entry for libnss_test1.
46388 * nss/nss_test1.c: New file.
46389 * nss/tst-nss-test1.c: New file.
46391 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46392 (__nss_configure_lookup): Set appropriate entry in
46393 __nss_configure_lookup to true.
46394 * nss/nsswitch.h: Define enum with indeces of databases in
46395 databases and __nss_database_custom arrays. Declare
46396 __nss_database_custom.
46397 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46398 to avoid using nscd when custom rules are installed.
46399 * nss/getXXbyYY_r.c: Likewise.
46400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46402 * nss/nss_files/files-parse.c: Whitespace fixes.
46404 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46407 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46408 * posix/fnmatch_loop.c: Likewise.
46410 2010-07-17 Andi Kleen <ak@linux.intel.com>
46412 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46413 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46414 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46415 * Versions.def [GLIBC_2.13]: Add.
46417 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46419 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46420 Also fail if tpwd after pwuid call is NULL.
46422 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46424 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46425 when converting to ms.
46427 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46429 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46430 EOPNOTSUPP errors with ENOTTY.
46431 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46432 EOPNOTSUPP errors with ENOTTY.
46434 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46436 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46437 Add strcasecmp_l-ssse3.
46438 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46440 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46441 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46442 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46444 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46446 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46448 * string/Makefile (strop-tests): Add strcasecmp.
46449 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46450 strcasecmp_l-nonascii.
46451 (gen-as-const-headers): Add locale-defines.sym.
46452 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46453 * sysdeps/x86_64/strcasecmp.S: New file.
46454 * sysdeps/x86_64/strcasecmp_l.S: New file.
46455 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46456 * sysdeps/x86_64/locale-defines.sym: New file.
46457 * string/test-strcasecmp.c: New file.
46459 * string/test-strcasestr.c: Test both ends of the range of characters.
46460 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46462 2010-07-29 Roland McGrath <roland@redhat.com>
46465 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46467 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46469 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46472 2010-07-27 Andreas Schwab <schwab@redhat.com>
46474 * manual/memory.texi (Malloc Tunable Parameters): Document
46477 2010-07-26 Roland McGrath <roland@redhat.com>
46480 * configure.in (-fgnu89-inline check): Set and substitute
46481 gnu89_inline, not libc_cv_gnu89_inline.
46482 * configure: Regenerated.
46483 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46485 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46487 * string/test-strnlen.c: New file.
46488 * string/Makefile (strop-tests): Add strnlen.
46489 * string/tester.c (test_strnlen): Add a few more test cases.
46490 * string/tst-strlen.c: Better error reporting.
46492 * sysdeps/x86_64/strnlen.S: New file.
46494 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46496 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46497 lower-latency instructions.
46499 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46501 * string/test-strcasestr.c: New file.
46502 * string/test-strstr.c: New file.
46503 * string/Makefile (strop-tests): Add strstr and strcasestr.
46504 * string/str-two-way.h: Don't undefine MAX.
46505 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46507 2010-07-21 Andreas Schwab <schwab@redhat.com>
46509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46510 strcasestr-nonascii.
46511 (CFLAGS-strcasestr-nonascii.c): Define.
46512 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46513 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46514 Remove unused attribute.
46516 2010-07-20 Roland McGrath <roland@redhat.com>
46518 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46519 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46520 ld.so.cache was broken. With it, there is no way to disable dsocaps
46521 like LD_HWCAP_MASK can disable hwcaps.
46523 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46525 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46527 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46529 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46530 call in strcasestr.
46531 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46532 __strcasestr_sse42_nonascii.
46533 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46534 strcasestr-nonascii.c.
46535 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46537 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46539 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46540 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46541 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46542 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46544 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46546 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46549 2010-07-06 Andreas Schwab <schwab@redhat.com>
46552 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46555 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46557 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46558 _PC_PIPE_BUF using F_GETPIPE_SZ.
46560 2010-07-05 Roland McGrath <roland@redhat.com>
46562 * manual/arith.texi (Rounding Functions): Fix rint description
46563 implicit in round description.
46565 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46567 * elf/Makefile: Fix linking for a few tests to make recent linker
46570 2010-06-30 Andreas Schwab <schwab@redhat.com>
46572 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46573 $(common-objpfx)libc_nonshared.a.
46575 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46577 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46578 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46579 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46580 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46581 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46582 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46583 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46584 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46599 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46600 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46601 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46602 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46603 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46604 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46605 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46606 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46607 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46608 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46609 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46610 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46626 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46628 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46629 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46630 * string/memmove.c (memmove): Renamed to ...
46631 (MEMMOVE): ...this. Default to memmove.
46632 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46633 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46636 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46637 mempcpy-ssse3-back memmove-ssse3-back.
46638 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46639 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46640 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46641 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46642 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46643 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46644 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46645 * sysdeps/x86_64/multiarch/memmove.c: New file.
46646 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46647 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46648 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46649 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46650 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46651 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46653 (index_Fast_Copy_Backward): Define.
46654 (HAS_ARCH_FEATURE): Define.
46655 (HAS_FAST_REP_STRING): Define.
46656 (HAS_FAST_COPY_BACKWARD): Define.
46658 2010-06-21 Andreas Schwab <schwab@redhat.com>
46660 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46661 Restore proper fallback handling.
46663 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46666 * posix/group_member.c (__group_member): Correct checking loop.
46668 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46669 OOM in getpwuid_r correctly. Return error number when the caller
46670 should return, otherwise -1.
46671 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46672 call returning > 0 value.
46673 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46675 2010-06-07 Andreas Schwab <schwab@redhat.com>
46677 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46678 libc_nonshared.a from targets in modules-names.
46680 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46682 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46685 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46687 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46688 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46689 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46690 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46692 2010-06-02 Andreas Schwab <schwab@redhat.com>
46694 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46696 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46698 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46700 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46704 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46705 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46707 2010-06-14 Roland McGrath <roland@redhat.com>
46709 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46711 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46713 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46714 __REDIRECT followed by __THROW.
46715 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46716 * posix/getopt.h (getopt): Likewise.
46718 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46720 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46721 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46722 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46724 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46725 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46727 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46729 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46731 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46735 Properly check family and model.
46737 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46739 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46741 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46743 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46745 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46747 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46750 2010-05-19 Andreas Schwab <schwab@redhat.com>
46752 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46755 2010-05-21 Andreas Schwab <schwab@redhat.com>
46757 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46758 and internal_recvmmsg.
46759 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46760 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46761 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46762 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46764 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46765 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46766 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46768 2010-05-20 Andreas Schwab <schwab@redhat.com>
46770 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46772 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46774 POWER7 optimizations.
46775 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46776 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46778 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46780 * version.h: Update for 2.13 development version.
46782 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46784 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46785 exceptions. Return 0.
46787 2010-05-07 Roland McGrath <roland@redhat.com>
46789 * elf/ldconfig.c (main): Add a const.
46791 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46793 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46794 (args_options): Add no-idn option.
46795 (ahosts_keys_int): Add idn_flags to ai_flags.
46796 (parse_option): Handle 'i' option to clear idn_flags.
46798 * malloc/malloc.c (_int_free): Possible race in the most recently
46799 added check. Only act on the data if no current modification
46802 See ChangeLog.17 for earlier changes.