1 2014-06-23 Andreas Schwab <schwab@suse.de>
3 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4 Remove unused errout label.
6 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9 macro: hardware supports Vector Crypto instructions.
11 2014-06-23 Will Newton <will.newton@linaro.org>
13 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14 rather than __builtin_expect.
16 * elf/dl-lookup.c (undefined_msg): Remove variable.
17 (_dl_lookup_symbol_x): Replace undefined_msg with string
20 * elf/dl-lookup.c (do_lookup_unique): New function.
21 (do_lookup_x): Move STB_GNU_UNIQUE handling code
22 to a separate function.
24 2014-06-23 Andreas Schwab <schwab@suse.de>
27 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28 before reading the next line.
30 2014-06-23 Will Newton <will.newton@linaro.org>
32 * test-skeleton.c (signal_handler): Use printf and %m
33 rather than perror. Use printf rather than fprintf to
34 stderr. Use puts rather than fputs to stderr.
37 2014-06-22 Ludovic Courtès <ludo@gnu.org>
39 * nscd/nscd.c (thread_info_t): Remove typedef.
40 (thread_info): Remove variable.
42 2014-06-21 Allan McRae <allan@archlinux.org>
44 * NEWS: Mention CVE-2014-4043.
46 2014-06-20 Roland McGrath <roland@hack.frob.com>
48 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49 * nptl/smp.h: ... here.
51 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
53 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
54 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
55 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
56 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
58 * nptl/allocatestack.c: Include <stack-aliasing.h>.
59 * nptl/stack-aliasing.h: New file.
60 * sysdeps/i386/i686/stack-aliasing.h: New file.
61 * sysdeps/i386/i686/nptl/Makefile: File removed.
62 * sysdeps/x86_64/stack-aliasing.h: New file.
63 * sysdeps/x86_64/nptl/Makefile
64 (CFLAGS-pthread_create.c): Variable removed.
66 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
67 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
69 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
70 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
73 2014-06-21 Joseph Myers <joseph@codesourcery.com>
75 * sysdeps/unix/sysv/linux/arm/kernel-features.h
76 (__ASSUME_SIGFRAME_V2): Remove macro.
77 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
78 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
79 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
80 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
81 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
82 Declare as function. Remove conditional macro definitions.
83 (__default_rt_sa_restorer): Likewise.
84 (__default_sa_restorer_v1): Remove declaration.
85 (__default_sa_restorer_v2): Likewise.
86 (__default_rt_sa_restorer_v1): Likewise.
87 (__default_rt_sa_restorer_v2): Likewise.
88 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
89 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
90 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
92 2014-06-20 Roland McGrath <roland@hack.frob.com>
94 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
95 (libpthread-routines): Add sysdep.
96 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
97 * sysdeps/unix/sysv/linux/sparc/Versions
98 (libpthread: GLIBC_2.3.3): New version set.
99 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
100 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
101 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
102 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
103 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
104 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
106 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
107 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
108 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
109 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
110 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
111 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
112 * sysdeps/sparc/nptl/sem_init.c: ... here.
113 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
114 * sysdeps/sparc/nptl/sem_post.c: ... here.
115 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
116 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
117 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
118 * sysdeps/sparc/nptl/sem_wait.c: ... here.
119 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
120 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
121 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
122 (libpthread-routines): Add cpu_relax.
123 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
125 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
126 (librt: GLIBC_2.3.3): New version set.
127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
128 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
129 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
130 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
133 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
136 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
138 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
140 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
142 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
144 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
147 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
151 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
155 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
159 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
163 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
167 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
170 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
175 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
176 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
178 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
181 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
183 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
185 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
187 2014-06-20 Joseph Myers <joseph@codesourcery.com>
189 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
190 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
191 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
192 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
193 * nscd/nscd.c: Likewise.
194 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
195 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
196 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
197 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
199 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
201 (init_mq_netlink): Remove conditional have_sock_cloexec
202 definitions. Remove code conditional on have_sock_cloexec < 0.
203 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
204 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
205 * sysdeps/unix/sysv/linux/opensock.c: Do not include
207 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
208 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
210 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
212 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
213 Add tests for memset_chk and memset.
215 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
218 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
221 * elf/tst-dl-iter-static.c: New file.
222 * elf/Makefile (tests-static): Add tst-dl-iter-static.
224 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
227 2014-06-20 Joseph Myers <joseph@codesourcery.com>
229 * sysdeps/unix/sysv/linux/kernel-features.h
230 (__ASSUME_F_GETOWN_EX): Remove macro.
231 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
233 (miss_F_GETOWN_EX): Remove variable or macro.
234 (do_fcntl): Do not check miss_F_GETOWN_EX.
235 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
237 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
239 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
240 [!__ASSUME_AT_RANDOM]: Remove conditional code.
241 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
243 * sysdeps/unix/sysv/linux/kernel-features.h
244 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
245 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
246 [ADJ_OFFSET_SS_READ]: Make code unconditional.
247 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
249 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
252 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
253 Fix calculation of the symbol's value.
254 * sysdeps/arm/tst-armtlsdescloc.c: New file.
255 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
256 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
257 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
258 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
259 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
260 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
261 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
262 (modules-names): Add `tst-armtlsdescmod',
263 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
264 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
265 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
266 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
267 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
268 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
269 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
270 ($(objpfx)tst-armtlsdescloc): New dependency.
271 ($(objpfx)tst-armtlsdescextnow): Likewise.
272 ($(objpfx)tst-armtlsdescextlazy): Likewise.
273 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
275 * sysdeps/arm/configure: Regenerate.
277 2014-06-20 Joseph Myers <joseph@codesourcery.com>
279 * include/fcntl.h (__atfct_seterrno): Remove prototype.
280 (__atfct_seterrno_2): Likewise.
281 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
283 (__ASSUME_ATFCTS): Do not undefine and redefine.
284 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
285 (__have_atfcts): Remove conditional definition.
286 (__fxstatat([__NR_fstatat64]: Make code unconditional.
287 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
288 unreachable if [__ASSUME_ATFCTS].
289 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
290 not undefine and redefine.
291 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
293 (faccessat) [__NR_faccessat]: Make code unconditional.
294 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
295 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
297 (fchmodat) [__NR_fchmodat]: Make code unconditional.
298 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
299 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
301 (fchownat) [__NR_fchownat]: Make code unconditional.
302 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
303 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
305 (futimesat) [__NR_futimesat]: Make code unconditional.
306 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
307 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
309 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
310 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
311 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
313 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
314 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
315 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
316 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
318 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
319 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
320 * sysdeps/unix/sysv/linux/linkat.c: Do not include
322 (linkat) [__NR_linkat]: Make code unconditional.
323 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
324 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
325 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
327 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
328 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
329 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
331 (mkdirat) [__NR_mkdirat]: Make code unconditional.
332 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
333 * sysdeps/unix/sysv/linux/openat.c: Do not include
335 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
336 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
337 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
338 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
339 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
340 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
342 (readlinkat) [__NR_readlinkat]: Make code unconditional.
343 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
344 result of INLINE_SYSCALL directly, not via int variable.
345 * sysdeps/unix/sysv/linux/renameat.c: Do not include
347 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
348 (renameat) [__NR_renameat]: Make code unconditional.
349 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
350 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
351 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
352 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
353 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
354 (__ASSUME_ATFCTS): Do not undefine and redefine.
355 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
357 (symlinkat) [__NR_symlinkat]: Make code unconditional.
358 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
359 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
361 (unlinkat) [__NR_unlinkat]: Make code unconditional.
362 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
363 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
364 (__ASSUME_ATFCTS): Do not undefine and redefine.
365 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
367 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
368 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
369 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
371 (__xmknodat) [__NR_mknodat]: Make code unconditional.
372 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
374 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
376 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
378 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
381 * posix/regcomp.c (parse_reg_exp): Deallocate partially
382 constructed tree before returning error.
383 * posix/bug-regexp36.c: Expand test case.
385 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
388 * math/libm-test.inc (scalbln_test_date):
389 Add errno expectations.
390 * math/w_scalblnf.c: New File.
391 Add wrapper which checks for setting errno to ERANGE.
392 Add weak_alias for corresponding scalbln function.
393 * math/w_scalbln.c: Likewise.
394 * math/w_scalblnl.c: Likewise.
395 * math/Makefile (libm-calls): Add w_scalbln.
396 * sysdeps/ieee754/flt-32/s_scalblnf.c:
397 Remove weak_alias for corresponding scalbln function.
398 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
399 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
400 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
401 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
402 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
403 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
404 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
405 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
406 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
407 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
408 Remove long_double_symbol for scalblnl function in libm, libc.
409 * sysdeps/ieee754/ldbl-64-128/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, libc.
412 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
413 Remove long_double_symbol for scalblnl in libm.
414 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
415 Add wrapper which checks for setting errno to ERANGE.
416 Add long_double_symbol for scalblnl function in libm.
417 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
418 Do not use wrapper because of own implementation.
420 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
422 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
423 3 bytes for __pad1 for x32.
424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
426 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
427 H.J. Lu <hongjiu.lu@intel.com>
429 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
430 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
431 * sysdeps/x86_64/multiarch/memset.S: Likewise.
432 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
433 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
435 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
438 * posix/regcomp.c (parse_expression): Deallocate partially
439 constructed tree before returning error.
440 * posix/Makefile.c (tests): Add bug-regex36.
441 (generated): Add bug-regex36.mtrace.
442 (tests-special): Add $(objpfx)bug-regex36-mem.out
443 (bug-regex36-ENV): New variable.
444 ($(objpfx)bug-regex36-mem.out): New rule.
445 * posix/bug-regex36.c: New file.
447 2014-06-19 Will Newton <will.newton@linaro.org>
449 * malloc/malloc.c (systrim): If extra is zero then return
452 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
454 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
456 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
458 * sysdeps/aarch64/strchr.S: New file.
460 2014-06-18 Joseph Myers <joseph@codesourcery.com>
463 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
464 from arguments -2 or below.
465 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
466 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
468 2014-06-18 Andreas Schwab <schwab@suse.de>
471 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
472 of a bracket expr not to run off the end of the string.
473 * posix/Makefile (tests): Add tst-fnmatch3.
474 * posix/tst-fnmatch3.c: New file.
476 2014-06-18 Joseph Myers <joseph@codesourcery.com>
478 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
479 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
480 [$(cross-compiling) = no]: Likewise.
481 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
482 [$(cross-compiling) = no]: Likewise.
484 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
487 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
488 double, adjusted for any remainder from the high double.
489 * math/libm-test.inc (nearbyint): Add tests.
492 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
494 * nptl/sysdeps/powerpc/Makefile: Moved ...
495 * sysdeps/powerpc/nptl/Makefile: ... here.
496 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
497 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
498 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
499 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
500 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
501 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
502 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
503 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
504 * nptl/sysdeps/powerpc/tls.h: Moved ...
505 * sysdeps/powerpc/nptl/tls.h: ... here.
507 2014-06-16 Joseph Myers <joseph@codesourcery.com>
510 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
511 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
512 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
513 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
514 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
515 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
516 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
517 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
518 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
520 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
522 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
524 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
526 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
529 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
532 2014-06-16 Florian Weimer <fweimer@redhat.com>
535 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
536 non-executed part of the test.
538 2014-06-16 Andreas Schwab <schwab@suse.de>
540 * string/bits/string2.h (strdup, strndup): Update feature guard.
542 2014-06-14 David S. Miller <davem@davemloft.net>
544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
546 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
548 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
549 that was previously under [RESET_PID].
550 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
552 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
553 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
554 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
555 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
556 (__libc_vfork): New strong alias.
557 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
559 2014-06-14 Andi Kleen <ak@linux.intel.com>
561 * sysdeps/generic/elide.h: New file.
563 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
565 * Makefile (installed-headers): Adjust path of pthread.h header.
567 2014-06-13 Roland McGrath <roland@hack.frob.com>
569 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
570 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
571 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
572 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
574 * nptl/sysdeps/s390/Makefile: Moved ...
575 * sysdeps/s390/nptl/Makefile: ... here.
576 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
577 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
578 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
579 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
580 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
581 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
582 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
583 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
584 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
585 * sysdeps/s390/nptl/pthreaddef.h: ... here.
586 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
587 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
588 * nptl/sysdeps/s390/tls.h: Moved ...
589 * sysdeps/s390/nptl/tls.h: ... here.
591 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
592 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
594 2014-06-13 David S. Miller <davem@davemloft.net>
596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
599 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
603 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
604 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
605 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
606 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
607 Remove RESET_PID cpp guards.
608 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
609 Remove RESET_PID cpp guards.
610 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
612 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
614 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
617 2014-06-13 Andi Kleen <ak@linux.intel.com>
619 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
620 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
621 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
622 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
623 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
624 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
625 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
626 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
627 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
628 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
629 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
630 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
631 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
632 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
633 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
634 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
635 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
636 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
637 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
638 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
640 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
641 (pthread_rwlock_rdlock): Add elision.
642 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
643 (pthread_rwlock_wrlock): Add elision.
644 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
645 (pthread_rwlock_trywrlock): Add elision.
646 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
647 (pthread_rwlock_tryrdlock): Add elision.
648 * nptl/pthread_rwlock_unlock.c: Include elide.h.
649 (pthread_rwlock_tryrdlock): Add elision unlock.
650 * nptl/sysdeps/pthread/pthread.h:
651 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
652 (PTHREAD_RWLOCK_INITIALIZER,
653 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
654 Handle new elision field.
655 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
656 * sysdeps/arm/nptl/bits/pthreadtypes.h
657 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
658 * sysdeps/sh/nptl/bits/pthreadtypes.h
659 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
660 * sysdeps/tile/nptl/bits/pthreadtypes.h
661 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
662 * sysdeps/a/nptl/bits/pthreadtypes.h
663 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
664 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
665 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
666 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
667 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
668 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
669 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
670 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
671 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
672 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
673 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
674 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
675 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
676 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
677 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
678 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
679 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
680 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
681 (elision_init): Set try_xbegin to zero when no RTM.
682 * sysdeps/x86/nptl/bits/pthreadtypes.h
683 (pthread_rwlock_t): Change __pad1 to __rwelision.
684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
686 2014-06-13 Andi Kleen <ak@linux.intel.com>
688 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
689 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
690 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
691 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
693 2014-06-13 Meador Inge <meadori@codesourcery.com>
696 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
697 that the cached result has been set before returning it.
699 2014-06-12 Roland McGrath <roland@hack.frob.com>
701 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
702 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
703 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
704 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
705 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
706 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
708 * nptl/sysdeps/sparc/Makefile: Moved ...
709 * sysdeps/sparc/nptl/Makefile: ... here.
710 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
711 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
712 * nptl/sysdeps/sparc/tls.h: Moved ...
713 * sysdeps/sparc/nptl/tls.h: ... here.
714 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
715 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
716 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
717 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
718 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
719 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
720 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
721 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
722 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
723 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
724 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
725 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
726 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
727 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
728 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
729 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
730 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
731 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
733 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
734 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
736 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
737 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
739 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
740 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
743 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
745 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
746 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
748 * sysdeps/pthread/posix-timer.h: Include <list.h>.
749 (struct list_links): Type removed.
750 (struct thread_node, struct timer_node): Replace struct list_links
751 with struct list_head.
752 (list_unlink_ip): Likewise.
753 * sysdeps/pthread/timer_routines.c
754 (timer_free_list, thread_free_list, thread_active_list): Likewise.
755 (list_append, list_insbefore): Likewise.
756 (list_init): Function removed.
757 (thread_init, init_module): Use INIT_LIST_HEAD instead.
758 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
759 * sysdeps/pthread/Makefile: ... here, new file.
761 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
762 * sysdeps/nptl/Implies: ... here.
763 * sysdeps/unix/sysv/linux/Implies: Add nptl.
764 * nptl/sysdeps/pthread/list.h: Moved ...
765 * include/list.h: ... here.
766 * nptl/sysdeps/pthread/createthread.c: Moved ...
767 * nptl/createthread.c: ... here.
768 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
769 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
770 * nptl/pt-longjmp.c: ... here.
771 * nptl/sysdeps/pthread/Makefile: Moved ...
772 * sysdeps/nptl/Makefile: ... here.
773 * nptl/sysdeps/pthread/Subdirs: Moved ...
774 * sysdeps/nptl/Subdirs: ... here.
775 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
776 * sysdeps/nptl/aio_misc.h: ... here.
777 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
778 * sysdeps/nptl/bits/libc-lock.h: ... here.
779 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
780 * sysdeps/nptl/bits/libc-lockP.h: ... here.
781 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
782 * sysdeps/nptl/bits/stdio-lock.h: ... here.
783 * nptl/sysdeps/pthread/configure: Moved ...
784 * sysdeps/nptl/configure: ... here.
785 * nptl/sysdeps/pthread/configure.ac: Moved ...
786 * sysdeps/nptl/configure.ac: ... here.
787 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
788 * sysdeps/nptl/gai_misc.h: ... here.
789 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
790 * sysdeps/nptl/librt-cancellation.c: ... here.
791 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
792 * sysdeps/nptl/malloc-machine.h: ... here.
793 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
794 * sysdeps/nptl/pthread-functions.h: ... here.
795 * nptl/sysdeps/pthread/pthread.h: Moved ...
796 * sysdeps/nptl/pthread.h: ... here.
797 * nptl/sysdeps/pthread/setxid.h: Moved ...
798 * sysdeps/nptl/setxid.h: ... here.
799 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
800 * sysdeps/nptl/sigfillset.c: ... here.
801 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
802 * sysdeps/nptl/tcb-offsets.h: ... here.
803 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
804 * sysdeps/nptl/tst-mqueue8x.c: ... here.
805 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
806 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
807 * nptl/sysdeps/pthread/allocalim.h: Moved ...
808 * sysdeps/pthread/allocalim.h: ... here.
809 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
810 * sysdeps/pthread/bits/sigthread.h: ... here.
811 * nptl/sysdeps/pthread/flockfile.c: Moved ...
812 * sysdeps/pthread/flockfile.c: ... here.
813 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
814 * sysdeps/pthread/ftrylockfile.c: ... here.
815 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
816 * sysdeps/pthread/funlockfile.c: ... here.
817 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
818 * sysdeps/pthread/posix-timer.h: ... here.
819 * nptl/sysdeps/pthread/timer_create.c: Moved ...
820 * sysdeps/pthread/timer_create.c: ... here.
821 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
822 * sysdeps/pthread/timer_delete.c: ... here.
823 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
824 * sysdeps/pthread/timer_getoverr.c: ... here.
825 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
826 * sysdeps/pthread/timer_gettime.c: ... here.
827 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
828 * sysdeps/pthread/timer_routines.c: ... here.
829 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
830 * sysdeps/pthread/timer_settime.c: ... here.
831 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
832 * sysdeps/pthread/tst-timer.c: ... here.
833 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
834 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
836 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
837 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
839 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
840 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
841 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
842 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
843 Update #include target.
844 * nptl/sysdeps/i386/i686/Makefile: Moved ...
845 * sysdeps/i386/i686/nptl/Makefile: ... here.
846 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
847 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
848 Update #include target.
849 * nptl/sysdeps/i386/i686/tls.h: Moved ...
850 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
851 * nptl/sysdeps/i386/Makefile: Moved ...
852 * sysdeps/i386/nptl/Makefile: ... here.
853 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
854 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
855 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
856 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
857 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
858 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
859 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
860 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
861 * sysdeps/i386/nptl/pthreaddef.h: ... here.
862 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
863 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
864 * nptl/sysdeps/i386/tls.h: Moved ...
865 * sysdeps/i386/nptl/tls.h: ... here.
867 * sysdeps/sh/Makefile [$(subdir) = csu]
868 (gen-as-const-headers): Add tcb-offsets.sym.
869 * nptl/sysdeps/sh/Makefile: File removed.
870 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
871 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
872 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
873 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
874 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
875 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
876 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
877 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
878 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
879 * sysdeps/sh/nptl/pthreaddef.h: ... here.
880 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
881 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
882 * nptl/sysdeps/sh/tls.h: Moved ...
883 * sysdeps/sh/nptl/tls.h: ... here.
884 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
885 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
886 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
887 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
888 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
889 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
890 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
891 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
892 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
893 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
894 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
895 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
896 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
897 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
898 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
899 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
900 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
901 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
902 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
903 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
904 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
905 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
906 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
907 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
908 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
910 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
911 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
913 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
914 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
915 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
916 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
917 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
918 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
919 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
920 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
921 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
922 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
923 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
924 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
925 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
926 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
927 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
928 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
929 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
930 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
931 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
933 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
935 * posix/spawn_faction_addopen.c: Include string.h.
937 2014-06-11 Roland McGrath <roland@hack.frob.com>
939 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
940 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
941 * nptl/sysdeps/x86_64/Makefile: Moved ...
942 * sysdeps/x86_64/nptl/Makefile: ... here.
943 * nptl/sysdeps/x86_64/configure: Moved ...
944 * sysdeps/x86_64/nptl/configure: ... here.
945 * nptl/sysdeps/x86_64/configure.ac: Moved ...
946 * sysdeps/x86_64/nptl/configure.ac: ... here.
947 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
948 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
949 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
950 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
951 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
952 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
953 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
954 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
955 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
956 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
957 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
958 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
959 * nptl/sysdeps/x86_64/tls.h: Moved ...
960 * sysdeps/x86_64/nptl/tls.h: ... here.
961 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
962 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
963 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
964 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
966 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
968 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
972 2014-06-11 Joseph Myers <joseph@codesourcery.com>
974 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
976 [POSIX] (off_t): Likewise.
977 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
978 [POSIX] (S_ISBLK): Require macro.
979 [POSIX] (S_ISCHR): Likewise.
980 [POSIX] (S_ISDIR): Likewise.
981 [POSIX] (S_ISFIFO): Likewise.
982 [POSIX] (S_ISREG): Likewise.
983 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
985 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
987 [POSIX] (time_t): Likewise.
988 [POSIX] (timer_t): Likewise.
990 2014-06-11 Florian Weimer <fweimer@redhat.com>
993 * posix/spawn_int.h (struct __spawn_action): Make the path string
994 non-const to support deallocation.
995 * posix/spawn_faction_addopen.c
996 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
997 * posix/spawn_faction_destroy.c
998 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
999 path in all spawn_do_open actions.
1000 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1001 posix_spawn_file_actions_addopen.
1003 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1005 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1006 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1007 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1008 conditional code always true.
1009 (__libc_vfork): New alias.
1011 2014-06-11 Roland McGrath <roland@hack.frob.com>
1013 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1014 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1016 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1018 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1019 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1021 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1022 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1024 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1025 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1027 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1029 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1030 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1031 multiarch strcmp for PPC64.
1032 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1033 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1035 multiarch optimizations.
1036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1037 (__libc_ifunc_impl_list): Likewise.
1039 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1041 * benchtests/scripts/validate_benchout.py: New script.
1042 * benchtests/Makefile (bench-func): Call it.
1043 * benchtests/scripts/benchout.schema.json: New file.
1045 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1047 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1048 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1049 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1050 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1051 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1052 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1053 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1054 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1055 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1056 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1057 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1058 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1059 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1060 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1061 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1062 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1166 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1167 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1168 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1172 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1179 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1185 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1186 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1188 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1191 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1192 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1193 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1194 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1196 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1198 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1199 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1200 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1201 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1202 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1204 2014-06-10 Wilco <wdijkstr@arm.com>
1206 * math/test-fenv-return.c: New file.
1207 * math/Makefile: Add new test test-fenv-return.
1209 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1212 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1214 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1215 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1216 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1217 0.0L for an argument of 1.0L.
1218 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1220 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1221 value when x - 1 is zero.
1222 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1223 * sysdeps/i386/fpu/libm-test-ulps: Update.
1224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1226 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1229 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1231 2014-06-09 Roland McGrath <roland@hack.frob.com>
1233 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1234 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1236 2014-06-09 Roland McGrath <roland@hack.frob.com>
1238 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1239 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1241 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1242 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1244 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1245 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1247 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1248 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1250 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1251 if not already defined.
1252 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1253 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1254 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1255 (TLS_INIT_TP): Use it.
1256 (TLS_DEFINE_INIT_TP): New macro.
1257 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1259 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1261 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1263 [POSIX] (IXANY): Likewise.
1264 [POSIX] (OLCUC): Likewise.
1265 [POSIX || POSIX2008] (CBAUD): Do not allow.
1266 [POSIX || POSIX2008] (DEFECHO): Likewise.
1267 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1268 [POSIX || POSIX2008] (ECHOKE): Likewise.
1269 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1270 [POSIX || POSIX2008] (EXTA): Likewise.
1271 [POSIX || POSIX2008] (EXTB): Likewise.
1272 [POSIX || POSIX2008] (FLUSHO): Likewise.
1273 [POSIX || POSIX2008] (LOBLK): Likewise.
1274 [POSIX || POSIX2008] (PENDIN): Likewise.
1275 [POSIX || POSIX2008] (SWTCH): Likewise.
1276 [POSIX || POSIX2008] (VDISCARD): Likewise.
1277 [POSIX || POSIX2008] (VDSUSP): Likewise.
1278 [POSIX || POSIX2008] (VLNEXT): Likewise.
1279 [POSIX || POSIX2008] (VREPRINT): Likewise.
1280 [POSIX || POSIX2008] (VSTATUS): Likewise.
1281 [POSIX || POSIX2008] (VWERASE): Likewise.
1282 (B*): Change to B[0123456789]*.
1283 * conform/data/time.h-data [POSIX || UNIX98]
1284 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1285 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1286 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1287 [POSIX] (tm_*): Do not allow.
1289 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1291 * Makefile (install): Don't set LANGUAGE.
1292 * Makefile.in (install): Likewise.
1293 * assert/Makefile (test-assert-ENV): Remove variable.
1294 (test-assert-perr-ENV): Likewise.
1295 * elf/Makefile (neededtest4-ENV): Likewise.
1296 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1297 [$(cross-compiling) = no]: Don't set LANGUAGE.
1298 * io/ftwtest-sh (LANG): Remove variable.
1299 * libio/Makefile (tst-widetext-ENV): Likewise.
1300 * manual/install.texi (Running make install): Don't refer to
1301 environment settings for make install.
1302 * INSTALL: Regenerated.
1303 * nptl/tst-tls6.sh: Don't set LANG.
1304 * posix/globtest.sh (LANG): Remove variable.
1305 * string/Makefile (tester-ENV): Likewise.
1306 (inl-tester-ENV): Likewise.
1307 (noinl-tester-ENV): Likewise.
1308 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1309 [$(cross-compiling) = no]: Don't set LANGUAGE.
1310 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1311 without explicit environment settings.
1313 2014-06-06 Roland McGrath <roland@hack.frob.com>
1315 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1316 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1317 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1318 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1320 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1322 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1323 other files in the crypt directory.
1324 * crypt/crypt.c: Remove duplicate includes.
1325 * crypt/crypt-entry.c: Likewise.
1326 * crypt/crypt_util.c: Likewise.
1328 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1330 * Makeconfig (run-program-env): New variable.
1331 (run-program-prefix-before-env): Likewise.
1332 (run-program-prefix-after-env): Likewise.
1333 (run-program-prefix): Define in terms of new variables.
1334 (built-program-cmd-before-env): New variable.
1335 (built-program-cmd-after-env): Likewise.
1336 (built-program-cmd): Define in terms of new variables.
1337 (test-program-prefix-before-env): New variable.
1338 (test-program-prefix-after-env): Likewise.
1339 (test-program-prefix): Define in terms of new variables.
1340 (test-program-cmd-before-env): New variable.
1341 (test-program-cmd-after-env): Likewise.
1342 (test-program-cmd): Define in terms of new variables.
1343 * Rules (make-test-out): Use $(run-program-env).
1344 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1345 (help): Do not mention environment variables. Mention
1346 --timeoutfactor option.
1347 (timeoutfactor): New variable.
1348 (blacklist_exports): Remove function.
1349 (exports): Remove variable.
1350 (command): Do not include ${exports}.
1351 * manual/install.texi (Configuring and compiling): Do not mention
1352 test wrappers preserving environment variables. Mention that last
1353 assignment to a variable must take precedence.
1354 * INSTALL: Regenerated.
1355 * benchtests/Makefile (run-bench): Use $(run-program-env).
1356 * catgets/Makefile ($(objpfx)test1.cat): Use
1357 $(built-program-cmd-before-env), $(run-program-env) and
1358 $(built-program-cmd-after-env).
1359 ($(objpfx)test2.cat): Do not specify environment variables
1361 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1362 $(run-program-env) and $(built-program-cmd-after-env).
1363 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1364 $(run-program-env) and $(test-program-cmd-after-env).
1365 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1367 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1368 run_program_env and test_program_cmd_after_env arguments.
1369 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1370 * elf/tst-pathopt.sh: Use run_program_env argument.
1371 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1372 $(test-wrapper-env) and $(run-program-env).
1373 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1374 run_program_env arguments.
1375 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1376 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1377 $(test-program-prefix-before-env), $(run-program-env) and
1378 $(test-program-prefix-after-env).
1379 ($(objpfx)tst-gettext2.out): Likewise.
1380 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1381 run_program_env and test_program_prefix_after_env arguments.
1382 * intl/tst-gettext2.sh: Likewise.
1383 * intl/tst-gettext4.sh: Do not set environment variables
1385 * intl/tst-gettext6.sh: Likewise.
1386 * intl/tst-translit.sh: Likewise.
1387 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1388 $(test-program-prefix-before-env), $(run-program-env) and
1389 $(test-program-prefix-after-env).
1390 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1391 run_program_env and test_program_prefix_after_env arguments.
1392 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1393 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1394 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1395 explicitly with each use of ${test_wrapper_env}.
1396 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1397 $(test-program-prefix-before-env), $(run-program-env) and
1398 $(test-program-prefix-after-env).
1399 * posix/tst-getconf.sh: Do not set environment variables
1401 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1402 run_program_env and test_program_prefix_after_env arguments.
1403 * stdio-common/tst-printf.sh: Do not set environment variables
1405 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1406 $(test-program-prefix-before-env), $(run-program-env) and
1407 $(test-program-prefix-after-env).
1408 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1409 run_program_env and test_program_prefix_after_env arguments.
1410 Split $test calls into $test_pre and $test.
1411 * timezone/Makefile (build-testdata): Use
1412 $(built-program-cmd-before-env), $(run-program-env) and
1413 $(built-program-cmd-after-env).
1415 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1417 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1418 strlen for non SHARED builds.
1420 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1422 * nptl/allocatestack.c (check_list): Inlined function...
1423 (__reclaim_stacks): ... here.
1425 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1428 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1431 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1433 * Rules (make-test-out): Include
1434 LOCPATH=$(common-objpfx)localedata in default environment.
1435 * debug/Makefile (tst-chk1-ENV): Remove variable.
1436 (tst-chk2-ENV): Likewise.
1437 (tst-chk3-ENV): Likewise.
1438 (tst-chk4-ENV): Likewise.
1439 (tst-chk5-ENV): Likewise.
1440 (tst-chk6-ENV): Likewise.
1441 (tst-lfschk1-ENV): Likewise.
1442 (tst-lfschk2-ENV): Likewise.
1443 (tst-lfschk3-ENV): Likewise.
1444 (tst-lfschk4-ENV): Likewise.
1445 (tst-lfschk5-ENV): Likewise.
1446 (tst-lfschk6-ENV): Likewise.
1447 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1448 (tst-iconv7-ENV): Likewise.
1449 * intl/Makefile (LOCPATH-ENV): Likewise.
1450 (tst-codeset-ENV): Likewise.
1451 (tst-gettext3-ENV): Likewise.
1452 (tst-gettext5-ENV): Likewise.
1453 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1454 (tst-fopenloc-ENV): Likewise.
1455 (tst-fgetws-ENV): Remove variable.
1456 (tst-ungetwc1-ENV): Likewise.
1457 (tst-ungetwc2-ENV): Likewise.
1458 (bug-ungetwc2-ENV): Likewise.
1459 (tst-swscanf-ENV): Likewise.
1460 (bug-ftell-ENV): Likewise.
1461 (tst-fgetwc-ENV): Likewise.
1462 (tst-fseek-ENV): Likewise.
1463 (tst-ftell-partial-wide-ENV): Likewise.
1464 (tst-ftell-active-handler-ENV): Likewise.
1465 (tst-ftell-append-ENV): Likewise.
1466 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1467 (tst-regexloc-ENV): Likewise.
1468 (bug-regex1-ENV): Likewise.
1469 (tst-regex-ENV): Likewise.
1470 (tst-regex2-ENV): Likewise.
1471 (bug-regex5-ENV): Likewise.
1472 (bug-regex6-ENV): Likewise.
1473 (bug-regex17-ENV): Likewise.
1474 (bug-regex18-ENV): Likewise.
1475 (bug-regex19-ENV): Likewise.
1476 (bug-regex20-ENV): Likewise.
1477 (bug-regex22-ENV): Likewise.
1478 (bug-regex23-ENV): Likewise.
1479 (bug-regex25-ENV): Likewise.
1480 (bug-regex26-ENV): Likewise.
1481 (bug-regex30-ENV): Likewise.
1482 (bug-regex32-ENV): Likewise.
1483 (bug-regex33-ENV): Likewise.
1484 (bug-regex34-ENV): Likewise.
1485 (bug-regex35-ENV): Likewise.
1486 (tst-rxspencer-ENV): Likewise.
1487 (tst-rxspencer-no-utf8-ENV): Likewise.
1488 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1489 (tst-sscanf-ENV): Likewise.
1490 (tst-swprintf-ENV): Likewise.
1491 (tst-swscanf-ENV): Likewise.
1492 (test-vfprintf-ENV): Likewise.
1493 (scanf13-ENV): Likewise.
1494 (bug14-ENV): Likewise.
1495 (tst-grouping-ENV): Likewise.
1496 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1497 (tst-strtod3-ENV): Likewise.
1498 (tst-strtod4-ENV): Likewise.
1499 (tst-strtod5-ENV): Likewise.
1500 (testmb2-ENV): Likewise./
1501 * string/Makefile (tst-strxfrm-ENV): Likewise.
1502 (tst-strxfrm2-ENV): Likewise.
1503 (bug-strcoll1-ENV): Likewise.
1504 (test-strcasecmp-ENV): Likewise.
1505 (test-strncasecmp-ENV): Likewise.
1506 * time/Makefile (tst-strptime-ENV): Likewise.
1507 (tst-ftime_l-ENV): Likewise.
1508 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1509 (tst-mbrtowc-ENV): Likewise.
1510 (tst-wcrtomb-ENV): Likewise.
1511 (tst-mbrtowc2-ENV): Likewise.
1512 (tst-c16c32-1-ENV): Likewise.
1513 (tst-mbsnrtowcs-ENV): Likewise.
1515 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1517 * manual/resource.texi (How to get information about the memory
1518 subsystem?): Fix typo.
1519 Reported by Peon de la Parra Ivan <peon@keba.com>
1521 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1524 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1525 (pthread_spin_lock): Branch out of spin loop to proper location.
1526 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1527 (pthread_spin_lock): Likewise.
1529 * nptl/tst-spin4.c: New test.
1530 * nptl/Makefile (tests): Add tst-spin4.
1532 2014-06-03 Andreas Schwab <schwab@suse.de>
1535 * resolv/res_send.c (send_dg): Reload file descriptor after
1538 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1540 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1542 2014-06-03 Richard Henderson <rth@redhat.com>
1544 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1545 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1546 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1547 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1548 in the SAVE_PID block.
1549 (__libc_vfork): New alias.
1550 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1552 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1553 child in registers, not on the stack. Remove RESET_PID conditionals.
1554 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1556 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1558 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1560 2014-06-03 Wilco <wdijkstr@arm.com>
1562 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1563 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1564 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1565 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1566 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1569 2014-06-03 Wilco <wdijkstr@arm.com>
1571 * sysdeps/aarch64/fpu/math_private.h
1572 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1573 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1574 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1575 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1578 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1580 * crypt/crypt-private.h: Include ufc-crypt.h.
1581 (__b64_from_24bit): Declare extern.
1582 * crypt/crypt_util.c(__b64_from_24bit): New function.
1583 (b64t): New static const variable.
1584 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1585 (b64t): Remove variable.
1586 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1587 * crypt/sha256-crypt.c: Include crypt-private.h.
1588 (b64t): Remove variable.
1589 (__sha256_crypt_r): Remove b64_from_24bit and replace
1590 with __b64_from_24bit.
1591 * crypt/sha512-crypt.c: Likewise.
1593 2014-06-02 Roland McGrath <roland@hack.frob.com>
1595 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1596 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1597 Label the code __libc_vfork rather than __vfork.
1598 [!NOT_IN_libc] (vfork): Define as weak alias.
1599 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1600 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1601 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1603 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1605 * malloc/malloc.c (malloc_info): Fix format specifier for
1608 2014-06-02 Wilco <wdijkstr@arm.com>
1610 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1613 2014-06-02 Wilco <wdijkstr@arm.com>
1616 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1617 Rewrite to reduce FPCR/FPSR accesses.
1619 2014-06-01 David S. Miller <davem@davemloft.net>
1621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1623 2014-05-31 David S. Miller <davem@davemloft.net>
1625 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1626 to occur in round to nearest mode when |x| >= 2.0
1628 2014-05-30 Richard Henderson <rth@twiddle.net>
1630 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1631 (PSEUDO_RET_NOERRNO): Remove.
1632 (ret): Don't redefine.
1633 (ret_NOERRNO): Define in terms of ret.
1634 (ret_ERRVAL): Likewise.
1636 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1637 use of PSEUDO_RET; perform the error check directly.
1639 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1641 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1644 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1646 * malloc/malloc (malloc_info): Fix formatting.
1648 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1649 Roland McGrath <roland@hack.frob.com>
1651 * malloc/malloc (malloc_info): Also print mmapped statistics.
1653 2014-05-30 Roland McGrath <roland@hack.frob.com>
1655 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1656 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1658 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1660 * malloc/malloc.c (malloc_info): Inline mi_arena.
1662 2014-05-29 Richard Henderson <rth@twiddle.net>
1664 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1665 Remove comma before expanding ASM_ARGS_##nr.
1666 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1667 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1669 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1670 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1671 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1672 (ASM_ARGS_1): Add leading comma.
1674 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1675 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1676 to __errno_location.
1677 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1678 Remove the expected plt for __errno_location.
1680 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1681 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1684 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1685 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1686 it and break it down.
1687 (DOCARGS_0, DOCARGS_1): Do nothing.
1688 (DOCARGS_2): Update to store into the new stack frame.
1689 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1690 (UNDOCARGS_1): Update to restore from the new stack frame.
1691 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1692 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1694 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1695 (SINGLE_THREAD_P): New parameter for result regno.
1696 (PSEUDO): Update to match; use cbz instead of beq.
1698 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1699 Use ENTRY to define the _nocancel entry point. Share the syscall
1700 and syscall error check paths with the cancel path.
1703 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1704 whitespace; tabs before and after asm mnemonics.
1706 2014-05-29 Eric Wong <normalperson@yhbt.net>
1709 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1710 Call fstat64 or stat64 internally, depending on arguments passed.
1711 Replace stat buffer argument with file descriptor argument.
1712 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1713 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1714 Pass fd to __internal_statvfs instead of calling fstat64.
1715 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1716 Pass fd to __internal_statvfs64 instead of calling fstat64.
1717 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1718 Pass -1 to __internal_statvfs instead of calling stat64.
1719 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1720 Pass -1 to __internal_statvfs64 instead of calling stat64.
1722 2014-05-28 Roland McGrath <roland@hack.frob.com>
1724 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1725 that was previously under [RESET_PID].
1726 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1728 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1729 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1731 2014-05-27 Roland McGrath <roland@hack.frob.com>
1733 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1735 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1736 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1738 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1740 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1742 2014-05-27 Andreas Schwab <schwab@suse.de>
1744 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1746 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1747 * elf/rtld.c (init_tls, dl_main): Likewise.
1748 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1749 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1750 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1751 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1752 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1753 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1754 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1755 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1756 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1757 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1758 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1759 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1760 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1761 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1762 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1763 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1764 * sysdeps/generic/tls.h: Update description.
1766 2014-05-27 Will Newton <will.newton@linaro.org>
1769 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1770 and restore r2 rather than just restoring.
1772 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1775 * libio/tst-ftell-append.c: New test case.
1776 * libio/Makefile (tests): Add test case.
1777 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1779 * libio/wfileops.c (do_ftell_wide): Likewise.
1781 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1785 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1789 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1790 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1791 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1792 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1793 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1794 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1795 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1798 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1801 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1802 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1803 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1804 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1805 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1807 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1808 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1810 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1812 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1814 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1815 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1816 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1818 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1819 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1820 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1821 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1823 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1826 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1829 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1832 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1836 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1839 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1844 conditional [RESET_PID].
1845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1846 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1848 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1853 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1854 (__libc_vfork): New strong alias.
1855 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1857 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1862 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1863 (__libc_vfork): New strong alias.
1864 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1866 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1869 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1871 * malloc/malloc.c (mi_arena): New function.
1872 (malloc_info): Remove nested function mi_arena. Call non-nosted
1875 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1877 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1879 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1880 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1881 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1882 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1883 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1884 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1885 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1887 2014-05-26 Andreas Schwab <schwab@suse.de>
1890 * locale/programs/repertoire.c (repertoire_read): Add slash
1891 between I18NPATH element and file name.
1892 * locale/programs/locfile.c (locfile_read): Likewise.
1894 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1896 * nptl/pthread_mutexattr_settype.c
1897 (__pthread_mutexattr_settype):
1898 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1900 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1902 * nptl/tst-mutex5 (do_test):
1903 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1905 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1907 * benchtests/README: Document 'init' directive.
1908 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1910 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1911 (parse_file): Recognize 'init' directive.
1913 2014-05-26 Kyle McMartin <kyle@redhat.com>
1916 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1917 alignment of struct pthread.
1919 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1922 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1923 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1924 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1925 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1927 2014-05-25 Richard Henderson <rth@twiddle.net>
1929 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1930 (SINGLE_THREAD_P_PIC): Remove.
1931 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1932 (SINGLE_THREAD_P_PIC): Remove.
1934 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1935 branch to syscall error ...
1937 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1938 from __local_syscall_error to .Lsyscall_error.
1939 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1940 (SYSCALL_ERROR): Update label name.
1942 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1943 Do not use DOARGS/UNDOARGS.
1944 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1945 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1946 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1947 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1948 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1950 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1953 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1954 define if !NOT_IN_libc.
1955 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1956 define with non-default symbol versions.
1958 2014-05-23 Richard Henderson <rth@twiddle.net>
1960 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1961 (vfork, __vfork): Define via compat_symbol.
1963 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1964 [!HAVE_IFUNC] (vfork_compat): Remove.
1965 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1967 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1970 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1971 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1974 2014-05-23 Richard Henderson <rth@twiddle.net>
1976 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1977 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1978 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1979 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1981 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1982 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1983 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1984 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1985 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1986 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1987 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1988 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1989 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1990 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1991 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1992 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1993 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1994 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1995 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1996 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1997 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1998 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1999 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2000 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2001 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2002 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2003 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2004 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2005 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2006 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2007 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2008 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2009 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2010 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2011 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2012 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2013 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2014 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2015 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2016 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2017 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2018 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2019 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2020 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2021 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2022 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2023 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2024 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2025 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2026 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2027 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2028 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2029 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2030 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2031 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2032 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2033 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2034 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2035 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2036 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2038 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2039 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2040 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2041 before exiting on error.
2042 (__libc_vfork): New strong alias.
2043 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2044 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2046 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2047 that was previously under [RESET_PID].
2048 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2050 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2052 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2055 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2056 value when x - 1 is zero.
2057 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2058 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2059 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2060 0.0L for an argument of 1.0L.
2061 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2063 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2064 value when x - 1 is zero.
2065 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2066 * sysdeps/i386/fpu/libm-test-ulps: Update.
2067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2069 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2071 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2072 alphasort and versionsort.
2074 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2076 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2078 [copysignf]: Likewise.
2080 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2082 * crypt/md5-crypt.c: Fix formatting.
2084 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2086 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2087 (b64_from_24bit): New function.
2089 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2091 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2092 libc_hidden_builtin_def to ifunc.
2093 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2094 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2096 2014-05-21 Roland McGrath <roland@hack.frob.com>
2098 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2099 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2101 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2103 * nscd/Depend (linuxthreads): Remove.
2105 * resolv/Depend (linuxthreads): Remove.
2106 * rt/Depend (linuxthreads): Remove.
2108 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2109 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2110 $(common-objpfx)elf/.
2111 (link-libc-before-gnulib): Likewise.
2112 (elfobjdir): Remove variable.
2113 * Makefile (install): Use $(elf-objpfx) instead of
2114 $(common-objpfx)elf/.
2115 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2117 (link-libc-deps): Likewise.
2118 ($(common-objpfx)libc.so): Likewise.
2119 ($(common-objpfx)linkobj/libc.so): Likewise.
2120 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2121 instead of $(common-objpfx)elf/.
2122 (symbolic-link-list): Likewise.
2123 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2124 [$(cross-compiling) = no]: Likewise.
2125 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2127 (static-gnulib-arch): Likewise.
2128 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2129 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2130 $(common-objpfx)elf/.
2132 2014-05-21 Richard Henderson <rth@redhat.com>
2134 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2135 (SINGLE_THREAD_P): Use the correct width load. Fold
2136 into the ldr offset.
2138 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2139 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2141 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2143 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2144 (libgcc_s_resume): Use __attribute_used__.
2145 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2148 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2150 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2151 optimization when used with float constants.
2153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2155 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2158 * locale/nl_langinfo_l.c: Make direct reference to every
2159 _nl_current_CATEGORY symbol.
2160 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2161 (tests-static): Add tst-langinfo-static.
2162 (tests-special): Add tst-langinfo-static.out.
2163 ($(objpfx)tst-langinfo.out): Redirect output.
2164 ($(objpfx)tst-langinfo-static.out): New.
2165 * localedata/tst-langinfo.sh: Send output to stdout.
2166 * localedata/tst-langinfo-static.c: New file.
2169 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2170 when the shift amount is modulo the limb size.
2172 2014-05-20 Richard Henderson <rth@redhat.com>
2175 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2176 Change type of sa_flags from unsigned int to int.
2179 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2181 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2183 2014-05-20 Will Newton <will.newton@linaro.org>
2185 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2186 Test the return value of the system call in the nocancel case.
2188 2014-05-20 Will Newton <will.newton@linaro.org>
2189 Yvan Roux <yvan.roux@linaro.org>
2191 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2192 #include of asm/ptrace.h.
2193 (PTRACE_GET_THREAD_AREA): Remove #undef.
2194 (PTRACE_GETHBPREGS): Likewise.
2195 (PTRACE_SETHBPREGS): Likewise.
2196 (struct user_regs_struct): New structure.
2197 (struct user_fpsimd_struct): New structure.
2198 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2199 #include of asm/ptrace.h and second #include of sys/user.h.
2200 (PTRACE_GET_THREAD_AREA): Remove #undef.
2201 (PTRACE_GETHBPREGS): Likewise.
2202 (PTRACE_SETHBPREGS): Likewise.
2203 (ELF_NGREG): Use new struct user_regs_struct.
2204 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2206 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2209 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2211 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2214 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2215 membar to avoid block loads/stores to overlap previous stores.
2217 2014-05-17 Richard Henderson <rth@redhat.com>
2219 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2220 Create the __##syscall_name##_nocancel entry point.
2221 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2222 Remove; let the sysdep-cancel.h code create it.
2224 2014-05-17 David S. Miller <davem@davemloft.net>
2226 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2227 Protect with __USE_GNU.
2228 (TIOCSET_TEMPT): Likewise.
2229 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2230 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2231 these are already provided in bits/ioctl-types.h
2233 2014-05-16 Roland McGrath <roland@hack.frob.com>
2235 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2236 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2238 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2239 Use wait4 regardless of [__NR_waitpid].
2241 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2244 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2245 (_FP_NANSIGN_Q): Set the quiet bit.
2247 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2249 * benchtests/Makefile
2250 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2251 not $(common-objpfx)math/libm.so.
2252 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2253 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2254 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2255 $(common-objpfx)dlfcn/libdl.so.
2256 ($(objpfx)tst-audit8): Depend on $(libm), not
2257 $(common-objpfx)math/libm.so.
2258 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2259 not $(common-objpfx)dlfcn/libdl.so.
2261 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2262 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2263 [$(build-shared) = yes].
2264 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2265 $(common-objpfx)nptl/libpthread.so.
2266 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2267 $(common-objpfx)math/libm.so$(libm.so-version) or
2268 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2269 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2270 $(common-objpfx)dlfcn/libdl.so.
2271 * setjmp/Makefile (link-libm): Remove variable.
2272 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2273 * stdio-common/Makefile (link-libm): Remove variable.
2274 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2275 * stdlib/Makefile (link-libm): Remove variable.
2276 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2277 ($(objpfx)tst-strtod-round): Likewise.
2278 ($(objpfx)tst-tininess): Likewise.
2279 ($(objpfx)tst-strtod-underflow): Likewise.
2280 ($(objpfx)tst-strtod6): Likewise.
2281 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2282 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2283 $(common-objpfx)dlfcn/libdl.so.
2285 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2287 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2288 BSD terminal modes definitions.
2290 2014-05-16 Roland McGrath <roland@hack.frob.com>
2292 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2293 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2295 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2296 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2297 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2298 Don't do #include_next.
2299 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2300 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2301 Don't do #include_next.
2302 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2303 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2304 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2305 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2307 2014-05-16 Allan McRae <allan@archlinux.org>
2309 * po/sv.po: Update Swedish translation from translation project.
2311 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2314 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2317 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2318 errno if the TIOCGPTN ioctl fails with an error different than
2320 * login/tst-ptsname.c: New file.
2321 * login/Makefile (tests): Add tst-ptsname.
2324 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2327 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2331 herrno to return EAI_AGAIN.
2333 2014-05-14 Roland McGrath <roland@hack.frob.com>
2335 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2336 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2337 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2338 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2339 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2340 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2341 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2342 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2344 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2345 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2346 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2347 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2348 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2349 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2350 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2351 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2352 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2353 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2354 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2356 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2357 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2358 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2360 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2364 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2366 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2368 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2371 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2373 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2377 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2379 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2381 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2383 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2385 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2387 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2389 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2391 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2393 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2395 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2397 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2400 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2402 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2404 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2406 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2408 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2410 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2412 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2414 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2416 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2418 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2421 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2423 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2426 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2427 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2428 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2429 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2430 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2431 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2432 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2433 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2434 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2435 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2437 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2439 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2440 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2441 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2443 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2444 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2445 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2446 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2447 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2448 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2449 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2450 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2451 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2452 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2453 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2454 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2455 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2457 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2458 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2460 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2461 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2462 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2463 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2464 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2467 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2470 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2471 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2473 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2474 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2476 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2477 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2478 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2479 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2481 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2482 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2483 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2484 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2485 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2486 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2487 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2488 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2490 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2491 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2493 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2495 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2496 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2497 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2498 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2499 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2501 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2503 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2505 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2506 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2507 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2508 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2509 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2510 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2512 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2513 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2515 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2516 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2518 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2519 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2521 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2522 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2523 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2524 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2526 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2527 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2528 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2529 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2530 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2531 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2532 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2533 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2535 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2536 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2538 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2540 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2541 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2542 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2543 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2544 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2546 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2548 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2550 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2551 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2552 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2553 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2554 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2555 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2556 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2557 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2558 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2559 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2561 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2562 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2564 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2567 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2568 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2570 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2571 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2572 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2573 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2574 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2575 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2577 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2578 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2579 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2580 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2581 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2582 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2583 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2584 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2586 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2587 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2589 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2591 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2592 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2594 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2595 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2597 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2599 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2601 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2602 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2603 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2604 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2605 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2606 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2607 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2608 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2609 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2610 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2611 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2613 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2614 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2616 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2617 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2619 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2620 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2621 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2622 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2623 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2624 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2625 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2626 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2627 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2628 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2629 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2630 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2631 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2632 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2633 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2634 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2635 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2636 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2638 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2639 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2640 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2641 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2643 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2644 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2645 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2646 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2647 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2648 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2649 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2650 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2652 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2653 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2655 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2656 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2657 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2658 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2659 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2660 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2661 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2662 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2663 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2664 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2665 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2666 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2667 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2668 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2669 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2670 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2671 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2673 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2674 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2675 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2676 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2677 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2679 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2680 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2681 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2682 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2683 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2684 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2685 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2686 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2687 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2688 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2690 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2691 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2693 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2694 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2695 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2696 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2697 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2698 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2699 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2700 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2701 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2702 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2703 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2704 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2705 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2706 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2709 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2711 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2719 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2723 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2727 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2728 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2729 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2730 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2731 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2732 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2733 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2734 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2735 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2736 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2737 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2738 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2739 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2740 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2741 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2743 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2744 that was previously under [RESET_PID].
2745 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2746 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2747 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2749 * sysdeps/i386/nptl/Implies: New file.
2750 * sysdeps/x86_64/nptl/Implies: New file.
2751 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2752 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2753 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2754 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2756 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2757 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2758 (__libc_vfork): New strong alias.
2759 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2760 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2762 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2763 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2764 (__libc_vfork): New strong alias.
2765 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2766 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2768 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2769 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2770 (__libc_vfork): New strong alias.
2771 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2772 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2773 * nptl/pt-vfork.c: New file.
2774 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2775 (libpthread: GLIBC_2.20): New version set (empty).
2777 2014-05-14 Will Newton <will.newton@linaro.org>
2779 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2782 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2785 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2786 arguments with exponent 65 or above.
2787 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2788 arguments 0x1p113L or above.
2789 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2790 to arguments 0x1p107L or above.
2791 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2792 positive arguments with exponent 65 or above.
2793 * math/auto-libm-test-in: Add more tests of log1p.
2794 * math/auto-libm-test-out: Regenerated.
2797 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2798 non-finite arguments is +0.
2799 * math/s_cacosf.c (__cacosf): Likewise.
2800 * math/s_cacosl.c (__cacosl): Likewise.
2801 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2802 * sysdeps/i386/fpu/libm-test-ulps: Update.
2803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2806 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2808 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2809 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2810 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2811 for explicit high bit of mantissa when testing for argument equal
2813 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2814 * sysdeps/i386/fpu/libm-test-ulps: Update.
2815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2818 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2819 (__erf): Scale by 16 instead of 8 in potentially underflowing
2820 case. Ensure exception if result actually underflows.
2821 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2822 (__erff): Scale by 16 instead of 8 in potentially underflowing
2823 case. Ensure exception if result actually underflows.
2824 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2825 (efx8): Remove variable.
2826 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2827 case. Ensure exception if result actually underflows.
2828 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2829 (efx8): Remove variable.
2830 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2831 case. Ensure exception if result actually underflows.
2832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2833 (efx8): Remove variable.
2834 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2835 case. Ensure exception if result actually underflows.
2836 * math/auto-libm-test-in: Add more tests of erf.
2837 * math/auto-libm-test-out: Regenerated.
2839 2014-05-14 Andreas Schwab <schwab@suse.de>
2841 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2842 Remove code conditionalized on USE___THREAD.
2844 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2845 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2848 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2850 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2851 Define unconditionally.
2852 (__ASSUME_O_CLOEXEC): Likewise.
2853 (__ASSUME_SOCK_CLOEXEC): Likewise.
2854 (__ASSUME_IN_NONBLOCK): Likewise.
2855 (__ASSUME_PIPE2): Likewise.
2856 (__ASSUME_EVENTFD2): Likewise.
2857 (__ASSUME_SIGNALFD4): Likewise.
2858 (__ASSUME_DUP3): Likewise.
2859 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2860 (__ASSUME_DUP3): Do not define.
2861 (__ASSUME_EVENTFD2): Likewise.
2862 (__ASSUME_IN_NONBLOCK): Likewise.
2863 (__ASSUME_O_CLOEXEC): Likewise.
2864 (__ASSUME_PIPE2): Likewise.
2865 (__ASSUME_SIGNALFD4): Likewise.
2866 (__ASSUME_SOCK_CLOEXEC): Likewise.
2867 (__ASSUME_UTIMES): Undefine.
2868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2869 (__ASSUME_UTIMES): Do not define.
2870 (__ASSUME_O_CLOEXEC): Likewise.
2871 (__ASSUME_SOCK_CLOEXEC): Likewise.
2872 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2873 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2875 (__ASSUME_PIPE2): Likewise.
2876 (__ASSUME_EVENTFD2): Likewise.
2877 (__ASSUME_SIGNALFD4): Likewise.
2878 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2879 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2881 (__ASSUME_EVENTFD2): Likewise.
2882 (__ASSUME_SIGNALFD4): Likewise.
2883 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2884 (__ASSUME_32BITUIDS): Likewise.
2885 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2886 (__ASSUME_IPC64): Likewise.
2887 (__ASSUME_ST_INO_64_BIT): Likewise.
2888 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2889 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2890 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2891 (__ASSUME_UTIMES): Do not define.
2892 (__ASSUME_PSELECT): Likewise.
2893 (__ASSUME_PPOLL): Likewise.
2894 (__ASSUME_O_CLOEXEC): Likewise.
2895 (__ASSUME_SOCK_CLOEXEC): Likewise.
2896 (__ASSUME_IN_NONBLOCK): Likewise.
2897 (__ASSUME_PIPE2): Likewise.
2898 (__ASSUME_EVENTFD2): Likewise.
2899 (__ASSUME_SIGNALFD4): Likewise.
2900 (__ASSUME_DUP3): Likewise.
2901 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2902 (__ASSUME_UTIMES): Likewise.
2903 (__ASSUME_O_CLOEXEC): Likewise.
2904 (__ASSUME_SOCK_CLOEXEC): Likewise.
2905 (__ASSUME_IN_NONBLOCK): Likewise.
2906 (__ASSUME_PIPE2): Likewise.
2907 (__ASSUME_EVENTFD2): Likewise.
2908 (__ASSUME_SIGNALFD4): Likewise.
2909 (__ASSUME_DUP3): Likewise.
2910 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2911 (__ASSUME_UTIMES): Likewise.
2912 (__ASSUME_O_CLOEXEC): Likewise.
2913 (__ASSUME_SOCK_CLOEXEC): Likewise.
2914 (__ASSUME_IN_NONBLOCK): Likewise.
2915 (__ASSUME_PIPE2): Likewise.
2916 (__ASSUME_EVENTFD2): Likewise.
2917 (__ASSUME_SIGNALFD4): Likewise.
2918 (__ASSUME_DUP3): Likewise.
2919 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2921 (__ASSUME_UTIMES): Likewise.
2922 (__ASSUME_EVENTFD2): Likewise.
2923 (__ASSUME_SIGNALFD4): Likewise.
2924 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2925 (__ASSUME_O_CLOEXEC): Likewise.
2926 (__ASSUME_SOCK_CLOEXEC): Likewise.
2927 (__ASSUME_IN_NONBLOCK): Likewise.
2928 (__ASSUME_PIPE2): Likewise.
2929 (__ASSUME_EVENTFD2): Likewise.
2930 (__ASSUME_SIGNALFD4): Likewise.
2931 (__ASSUME_DUP3): Likewise.
2932 (__ASSUME_UTIMES): Undefine.
2934 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2935 feclearexcept. Remove symbol versioning code.
2936 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2937 symbol versioning code.
2938 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2939 symbol versioning code.
2940 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2941 feupdateenv. Remove symbol versioning code.
2942 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2943 fegetexceptflag. Remove symbol versioning code.
2944 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2945 fesetexceptflag. Remove symbol versioning code.
2946 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2947 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2948 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2949 (__posix_fadvise64_l32): Remove prototype.
2950 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2953 2014-05-13 Roland McGrath <roland@hack.frob.com>
2955 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2956 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2957 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2958 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2960 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2962 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2963 current working directory
2965 2014-05-13 Roland McGrath <roland@hack.frob.com>
2967 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2968 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2969 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2970 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2971 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2972 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2973 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2974 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2975 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2976 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2977 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2978 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2979 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2980 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2981 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2982 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2983 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2984 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2985 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2986 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2987 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2988 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2989 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2990 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2991 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2992 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2993 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2994 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2995 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2996 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2997 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2998 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2999 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3000 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3001 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3002 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3003 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3004 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3005 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3006 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3007 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3008 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3010 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3011 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3013 * sysdeps/unix/sysv/linux/arm/Makefile
3014 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3015 Add rt-aeabi_unwind_cpp_pr1.
3016 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3017 Add nptl-aeabi_unwind_cpp_pr1.
3018 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3019 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3020 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3021 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3022 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3023 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3025 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3026 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3027 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3028 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3030 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3031 Deconditionalize the code that was previously under [RESET_PID].
3032 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3034 * sysdeps/generic/exit-thread.h: New file.
3035 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3036 * include/unistd.h (__exit_thread): Remove declaration.
3037 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3038 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3039 * csu/libc-start.c: Include <exit-thread.h>.
3040 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3041 * nptl/pthread_create.c: Include <exit-thread.h>.
3042 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3043 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3044 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3045 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3046 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3047 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3048 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3049 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3050 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3051 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3052 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3053 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3054 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3055 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3056 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3057 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3058 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3060 2014-05-13 Andreas Schwab <schwab@suse.de>
3062 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3064 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3066 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3067 (__ASSUME_UTIMES): Do not condition on kernel version.
3068 (__ASSUME_PSELECT): Define unconditionally.
3069 (__ASSUME_PPOLL): Likewise.
3070 (__ASSUME_ATFCTS): Likewise.
3071 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3072 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3073 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3074 (__ASSUME_UTIMENSAT): Define unconditionally.
3075 (__ASSUME_PRIVATE_FUTEX): Likewise.
3076 (__ASSUME_FALLOCATE): Likewise.
3077 (__ASSUME_O_CLOEXEC): Likewise.
3078 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3079 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3080 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3081 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3082 (__ASSUME_IN_NONBLOCK): Likewise.
3083 (__ASSUME_PIPE2): Likewise.
3084 (__ASSUME_EVENTFD2): Likewise.
3085 (__ASSUME_SIGNALFD4): Likewise.
3086 (__ASSUME_DUP3): Likewise.
3087 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3088 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3089 (__ASSUME_AT_RANDOM): Likewise.
3090 (__ASSUME_PREADV): Likewise.
3091 (__ASSUME_PWRITEV): Likewise.
3092 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3093 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3094 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3095 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3096 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3097 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3098 (__ASSUME_O_CLOEXEC): Define unconditionally.
3099 (__ASSUME_PSELECT): Do not undefine conditionally.
3100 (__ASSUME_PPOLL): Likewise.
3101 (__ASSUME_ATFCTS): Likewise.
3102 (__ASSUME_SET_ROBUST_LIST): Likewise.
3103 (__ASSUME_UTIMENSAT): Likewise.
3104 (__ASSUME_FDATASYNC): Define unconditionally.
3105 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3106 (__ASSUME_SIGFRAME_V2): Likewise.
3107 )__ASSUME_EVENTFD2): Likewise.
3108 (__ASSUME_SIGNALFD4): Likewise.
3109 (__ASSUME_PSELECT): Do not undefine conditionally.
3110 (__ASSUME_PPOLL): Likewise.
3111 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3112 (__ASSUME_PSELECT): Define unconditionally.
3113 (__ASSUME_PPOLL): Likewise.
3114 (__ASSUME_O_CLOEXEC): Likewise.
3115 (__ASSUME_SOCK_CLOEXEC): Likewise.
3116 (__ASSUME_IN_NONBLOCK): Likewise.
3117 (__ASSUME_PIPE2): Likewise.
3118 (__ASSUME_EVENTFD2): Likewise.
3119 (__ASSUME_SIGNALFD4): Likewise.
3120 (__ASSUME_DUP3): Likewise.
3121 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3122 (__ASSUME_O_CLOEXEC): Likewise.
3123 (__ASSUME_SOCK_CLOEXEC): Likewise.
3124 (__ASSUME_IN_NONBLOCK): Likewise.
3125 (__ASSUME_PIPE2): Likewise.
3126 (__ASSUME_EVENTFD2): Likewise.
3127 (__ASSUME_SIGNALFD4): Likewise.
3128 (__ASSUME_DUP3): Likewise.
3129 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3130 (__ASSUME_EVENTFD2): Likewise.
3131 (__ASSUME_SIGNALFD4): Likewise.
3132 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3134 2014-05-12 Andreas Schwab <schwab@suse.de>
3137 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3138 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3139 than maximum RPC packet size.
3140 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3141 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3142 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3143 (_nss_nis_getservbyport_r): Likewise.
3145 2014-05-12 Will Newton <will.newton@linaro.org>
3147 * malloc/Makefile (tests): Add tst-mallopt.
3148 * malloc/tst-mallopt.c: New file.
3150 2014-05-09 Roland McGrath <roland@hack.frob.com>
3152 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3153 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3155 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3157 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3158 (tst-tlsmod6.so): Likewise.
3160 2014-05-09 Roland McGrath <roland@hack.frob.com>
3162 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3164 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3167 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3168 and <dl-procinfo.h>.
3169 (__fegetenv): Save SSE state in envp->__eip if supported.
3170 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3171 envp->__eip if supported.
3172 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3173 and <dl-procinfo.h>.
3174 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3175 __data_offset and __data_selector in environment to 0. Set SSE
3177 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3179 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3181 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3183 2014-05-09 Will Newton <will.newton@linaro.org>
3185 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3186 and libc_relro_required for ARM.
3187 * sysdeps/arm/preconfigure: Regenerate.
3189 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3190 Stefan Liebler <stli@linux.vnet.ibm.com>
3192 * config.make.in (enable-lock-elision): New Makefile variable.
3193 * configure.ac: Likewise.
3194 * configure: Regenerate.
3195 * sysdeps/s390/configure.ac:
3196 Add check for gcc transactions support.
3197 * sysdeps/s390/configure: Regenerate.
3198 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3199 Build elision files if enabled.
3200 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3201 Add lock elision support for s390.
3202 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3203 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3204 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3205 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3206 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3207 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3208 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3210 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3212 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3214 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3216 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3217 (__lll_timedlock_elision, __lll_lock_elision)
3218 (__lll_unlock_elision, __lll_trylock_elision)
3219 (lll_timedlock_elision, lll_lock_elision)
3220 (lll_unlock_elision, lll_trylock_elision): Add.
3221 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3222 (pthread_mutex_t): Add lock elision support for s390.
3224 2014-05-14 Wilco <wdijkstr@arm.com>
3226 * sysdeps/arm/fclrexcpt.c: Cleanup.
3227 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3228 * sysdeps/arm/feenablxcpt.c: Cleanup.
3229 * sysdeps/arm/fegetenv.c: Cleanup.
3230 * sysdeps/arm/fegetexcept.c: Cleanup.
3231 * sysdeps/arm/fegetround.c: Cleanup.
3232 * sysdeps/arm/feholdexcpt.c: Cleanup.
3233 * sysdeps/arm/fesetenv.c: Cleanup.
3234 * sysdeps/arm/fesetround.c: Cleanup.
3235 * sysdeps/arm/feupdateenv.c: Cleanup.
3236 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3237 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3238 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3239 * sysdeps/arm/ftestexcept.c: Cleanup.
3240 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3241 * sysdeps/arm/setfpucw.c: Cleanup.
3243 2014-05-09 Will Newton <will.newton@linaro.org>
3245 * sysdeps/arm/armv7/strcmp.S: New file.
3246 * NEWS: Mention addition of ARMv7 optimized strcmp.
3248 2014-05-08 Roland McGrath <roland@hack.frob.com>
3250 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3251 look for %.ac rather than %.in.
3253 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3254 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3255 * sysdeps/mach/hurd/configure: Regenerated.
3256 * sysdeps/unix/sysv/linux/configure: Regenerated.
3258 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3260 2014-05-07 Steve Ellcey <sellcey@mips.com>
3263 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3267 2014-05-07 Andreas Schwab <schwab@suse.de>
3269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3270 when skipping over non-matching result from nscd.
3272 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3275 * nptl/sockperf.c (client): Check socket return value.
3278 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3279 nscd security class.
3281 2014-05-06 Roland McGrath <roland@hack.frob.com>
3283 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3284 * sysdeps/arm/unwind.h: ... here.
3286 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3289 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3292 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3294 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3295 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3296 multiarch strncpy for PPC64.
3297 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3298 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3300 multiarch optimizations.
3301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3302 (__libc_ifunc_impl_list): Likewise.
3303 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3304 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3305 multiarch stpncpy for PPC64.
3306 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3307 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3309 2014-05-06 Andreas Schwab <schwab@suse.de>
3312 * gmon/mcount.c (_MCOUNT_DECL): Use
3313 atomic_compare_and_exchange_bool_acq instead of
3314 catomic_compare_and_exchange_bool_acq.
3316 2014-05-05 Roland McGrath <roland@hack.frob.com>
3318 * elf/Makefile (others, install-bin): Remove pldd.
3319 (pldd-modules): Variable removed.
3320 ($(objpfx)pldd): Target removed.
3321 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3322 (others, install-bin): Append pldd here.
3323 ($(objpfx)pldd): New target.
3325 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3326 to 0, so the first #if test emitted later doesn't see it undefined.
3327 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3328 * sysdeps/gnu/errlist.c: Regenerated.
3330 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3332 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3333 [libc_hidden_builtin_def]: Define to empty value.
3334 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3335 [libc_hidden_builtin_def]: Likewise.
3336 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3337 [libc_hidden_builtin_def]: Likewise.
3338 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3339 [libc_hidden_builtin_def]: Likewise.
3340 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3341 __redirect_memcpy and define ifunc as default hidden symbol.
3342 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3343 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3345 2014-05-04 Adam Conrad <adconrad@0c3.net>
3347 * locale/iso-4217.def: Reintroduce XDR currency.
3349 2014-05-04 Allan McRae <allan@archlinux.org>
3351 * po/eo.po: Update Esperanto translation from translation project.
3353 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3355 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3356 and FEATURE_INDEX_MAX to 1.
3357 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3359 2014-05-01 Steve Ellcey <sellcey@mips.com>
3361 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3362 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3363 * iconvdata/big5.c (ONE_DIRECTION): Define.
3364 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3365 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3366 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3367 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3368 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3369 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3370 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3371 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3372 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3373 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3374 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3375 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3376 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3377 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3378 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3379 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3380 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3381 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3382 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3383 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3384 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3385 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3386 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3387 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3388 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3389 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3390 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3391 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3392 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3393 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3394 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3395 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3396 * iconvdata/johab.c (ONE_DIRECTION): Define.
3397 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3398 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3399 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3400 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3401 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3402 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3403 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3404 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3405 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3406 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3408 2014-05-01 Roland McGrath <roland@hack.frob.com>
3410 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3411 (_IO_JUMPS_OFFSET): Define to 0.
3413 * nptl/sysdeps/pthread/bits/libc-lock.h
3414 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3415 (__libc_lock_define_initialized_recursive): Always define using
3416 initializer. Modern compilers treat uninitialized (implicit zero) and
3417 explicit zero initializers the same (i.e. put the datum in bss).
3419 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3421 * nscd/nscd-client.h: Include <string.h>.
3423 2014-05-01 David S. Miller <davem@davemloft.net>
3426 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3427 multiple zero bytes exist at the end of a string.
3428 Reported by Aurelien Jarno <aurelien@aurel32.net>
3430 * string/test-strcmp.c (check): Add explicit test for situations where
3431 there are multiple zero bytes after the first.
3433 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3436 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3437 when compiling wprintf.
3438 * stdio-common/tstdiomisc.c (t3): New function.
3441 2014-05-01 Steve Ellcey <sellcey@mips.com>
3443 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3444 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3445 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3446 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3448 2014-05-01 Steve Ellcey <sellcey@mips.com>
3450 * stdlib/longlong.h: Updated from GCC.
3452 2014-05-01 Will Newton <will.newton@linaro.org>
3453 Bernard Ogden <bernie.ogden@linaro.org>
3455 * NEWS: Update fixed bug list.
3458 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3460 2014-04-30 David S. Miller <davem@davemloft.net>
3462 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3463 (libc_feholdexcept_setround_sparc_ctx): New function.
3464 (libc_fesetenv_sparc_ctx): Likewise.
3465 (libc_feupdateenv_sparc_ctx): Likewise.
3466 (libc_feholdsetround_sparc_ctx): Likewise.
3467 (libc_feholdexcept_setround_ctx): Define.
3468 (libc_feholdexcept_setroundf_ctx): Likewise.
3469 (libc_feholdexcept_setroundl_ctx): Likewise.
3470 (libc_fesetenv_ctx): Likewise.
3471 (libc_fesetenvf_ctx): Likewise.
3472 (libc_fesetenvl_ctx): Likewise.
3473 (libc_feupdateenv_ctx): Likewise.
3474 (libc_feupdateenvf_ctx): Likewise.
3475 (libc_feupdateenvl_ctx): Likewise.
3476 (libc_feresetround_ctx): Likewise.
3477 (libc_feresetroundf_ctx): Likewise.
3478 (libc_feresetroundl_ctx): Likewise.
3479 (libc_feholdsetround_ctx): Likewise.
3480 (libc_feholdsetroundf_ctx): Likewise.
3481 (libc_feholdsetroundl_ctx): Likewise.
3483 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3484 with __USE_GNU instead of XOPEN cpp guards.
3486 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3489 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3490 with XOPEN cpp guards.
3492 2014-04-30 Julian Brown <julian@codesourcery.com>
3495 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3498 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3501 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3503 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3504 * sysdeps/unix/sysv/linux/configure: Regenerated.
3505 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3506 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3507 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3508 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3509 * README: Update reference to required Linux kernel version.
3510 * manual/install.texi (Linux): Update reference to required Linux
3511 kernel headers version.
3512 * INSTALL: Regenerated.
3514 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3516 [POSIX] (limits.h): Likewise.
3517 [POSIX] (math.h): Likewise.
3518 [POSIX] (sys/wait.h): Likewise.
3519 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3521 [POSIX] (stddef.h): Do not allow header inclusion.
3523 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3525 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3527 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3529 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3530 Return immediately after lll_futex_wake.
3532 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3535 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3537 (datahead_init_pos): Call datahead_init_common early.
3538 (datahead_init_neg): Likewise.
3540 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3541 datahead_init_neg): New functions.
3542 * nscd/aicache.c (addhstaiX): Use them.
3543 * nscd/grpcache.c (cache_addgr): Likewise.
3544 * nscd/hstcache.c (cache_addhst): Likewise.
3545 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3546 * nscd/netgroupcache.c (do_notfound): Likewise.
3547 (addgetnetgrentX): Likewise.
3548 (addinnetgrX): Likewise.
3549 * nscd/pwdcache.c (cache_addpw): Likewise.
3550 * nscd/servicescache.c (cache_addserv): Likewise.
3552 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3553 Atsushi Onoe <atsushi@onoe.org>
3558 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3559 one response is valid.
3560 * resolv/res_send.c (send_dg): Check for validity of other
3561 response if the current response is a referral.
3563 2014-04-29 Steve Ellcey <sellcey@mips.com>
3565 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3567 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3570 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3571 Always divide by positive zero when computing -Inf result.
3572 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3573 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3575 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3577 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3578 FPSCR if value do not change.
3579 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3580 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3581 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3582 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3583 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3584 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3587 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3589 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3590 * sysdeps/unix/sysv/linux/hppa: Move directory from
3591 ports/systeps/unix/sysv/linux/hppa.
3592 * README: Update listing for hppa-*-linux-gnu.
3594 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3597 * manual/stdio.texi (Hook functions): Fix types of stream hook
3600 * socket/sys/socket.h: Fix typo in comment.
3602 2014-04-28 Wilco <wdijkstr@arm.com>
3604 * sysdeps/arm/fenv_private.h: New file.
3605 * sysdeps/arm/math_private.h: New file.
3606 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3608 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3610 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3612 (La_x86_64_retval): Likewise.
3614 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3616 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3617 fpsr if value didn't change.
3618 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3619 to fpcr if value didn't change.
3620 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3621 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3622 fpsr or fpcr if value didn't change.
3623 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3624 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3625 fpcr if value didn't change.
3626 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3627 to fpsr if value didn't change.
3629 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3631 * nptl/tst-sem3.c: Use test-skeleton.c
3632 (main): Rename to do_test. Use return instead of
3634 * nptl/tst-sem4.c: Use test-skeleton.c
3635 (main): Rename to do_test.
3637 2014-04-22 David S. Miller <davem@davemloft.net>
3639 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3640 (struct sigaction): New struct member __glibc_reserved0, change
3641 type of sa_flags to int.
3643 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3645 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3646 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3648 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3650 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3651 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3653 2014-04-22 Will Newton <will.newton@linaro.org>
3654 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3656 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3657 (__longjmp): Add longjmp and longjmp_target SystemTap
3659 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3660 (__sigsetjmp): Add setjmp SystemTap probe.
3662 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3664 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3667 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3669 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3671 * sysdeps/powerpc/fpu/fenv_private.h
3672 (libc_feholdexcept_setroundl_ctx): Define to
3673 libc_feholdexcept_setround_ppc_ctx.
3674 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3675 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3676 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3677 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3679 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3681 * sysdeps/aarch64/math-tests.h: New file.
3683 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3685 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3688 Check and set bit_AVX2_Usable.
3689 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3691 (bit_AVX2): Likewise.
3692 (index_AVX2_Usable): Likewise.
3693 (CPUID_AVX2): Likewise.
3694 (HAS_AVX2): Likewise.
3696 2014-04-17 Will Newton <will.newton@linaro.org>
3698 * manual/setjmp.texi (System V contexts): Add note that
3699 calling setcontext on a context created by a call to a
3700 signal handler is undefined. Update text to note that
3701 setcontext from a signal handler is possible but not
3705 * stdlib/tst-setcontext.c: Include signal.h.
3706 (main): Check that the signal stack before and
3707 after swapcontext is the same.
3709 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3710 Re-implement to restore registers in user code and avoid
3711 rt_sigreturn system call.
3713 2014-04-17 Wilco <wdijkstr@arm.com>
3715 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3716 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3717 * math/test-fenv.c: Skip exception trap tests on targets which only
3718 support non-stop mode.
3720 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3721 Wilco Dijkstra <wilco.dijkstra@arm.com>
3723 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3724 (libc_feholdsetround_aarch64_ctx)
3725 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3726 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3727 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3728 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3729 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3730 (libc_feresetround_noexl_ctx): Define.
3732 2014-04-16 Richard Henderson <rth@redhat.com>
3734 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3736 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3739 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3740 const from the non-libc, non-ldso copy.
3742 * sysdeps/alpha/libm-test-ulps: Regenerate.
3744 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3745 Wilco Dijkstra <wilco.dijkstra@arm.com>
3747 * sysdeps/aarch64/fpu/math_private.h: New file.
3749 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3751 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3753 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3755 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3756 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3757 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3758 Intel MPX bound registers before _dl_profile_fixup.
3759 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3760 registers after _dl_profile_fixup. Save and restore bound
3761 registers bnd0/bnd1 when calling _dl_call_pltexit.
3762 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3763 (LR_BND_OFFSET): Likewise.
3764 (LRV_BND0_OFFSET): Likewise.
3765 (LRV_BND1_OFFSET): Likewise.
3767 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3769 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3771 * sysdeps/mach/hurd/i386/tls.h: ... here.
3772 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3773 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3776 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3778 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3780 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3782 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3784 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3787 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3788 * sysdeps/s390/configure: Regenerate.
3791 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3792 Set round-to-nearest internally to reduce error accumulation.
3794 2014-04-16 Alan Modra <amodra@gmail.com>
3798 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3799 * math/libm-test.inc (frexp_test_data): Add tests.
3800 * NEWS: Update fixed bug list.
3802 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3804 * benchtests/Makefile: Depend on libraries in build directory.
3805 (bench-math): Separate out math tests.
3806 (bench-pthread): Separate out pthread tests.
3807 (bench): Include math and pthread tests.
3809 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3812 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3813 _dl_debug_initialize.
3815 * configure.ac: Remove SELinux header check.
3816 * configure: Regenerate.
3817 * nscd/selinux.c (perms): Array of const char* to permission names.
3818 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3819 default policy. Call string_to_security_class and string_to_av_perm to
3820 translate strings. Enforce default policy and call avs_has_perm with
3821 results of translated strings.
3823 2014-04-13 David S. Miller <davem@davemloft.net>
3825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3827 2014-04-12 Allan McRae <allan@archlinux.org>
3830 * manual/string.texi (Collation Functions): Fix qsort argument
3832 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3834 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3836 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3837 Make the test a no-op if there are no exceptions defined.
3839 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3841 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3842 enable-hardcoded-path-in-tests
3844 2014-04-11 Will Newton <will.newton@linaro.org>
3846 * benchtests/Makefile (extra-objs): Add json-lib.o.
3847 (bench-func): Tidy up JSON output.
3848 * benchtests/bench-skeleton.c: Include json-lib.h.
3849 (main): Use JSON library functions to do output of
3851 * benchtests/bench-timing-type.c (main): Output the
3852 timing type simply, leaving formatting to the user.
3853 * benchtests/json-lib.c: New file.
3854 * benchtests/json-lib.h: Likewise.
3856 2014-04-11 Torvald Riegel <triegel@redhat.com>
3859 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3860 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3861 memory barriers. Add comments.
3862 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3863 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3864 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3865 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3866 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3867 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3869 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3871 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3872 * sysdeps/s390/s390-64/configure.ac: ... this ...
3873 * sysdeps/s390/configure.ac: ... to here.
3874 * sysdeps/s390/s390-32/configure: Delete file.
3875 * sysdeps/s390/s390-64/configure: Delete file.
3876 * sysdeps/s390/configure: Regenerate.
3878 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3880 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3882 2014-04-11 Will Newton <will.newton@linaro.org>
3884 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3885 to zero if it is not defined elsewhere. (mtrim): Test
3886 the value of MALLOC_DEBUG with #if rather than #ifdef.
3888 2014-04-10 Torvald Riegel <triegel@redhat.com>
3890 * benchtests/pthread_once-inputs: New file.
3891 * benchtests/pthread_once-source.c: New file.
3892 * benchtests/README: Update documentation.
3894 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3895 H.J. Lu <hongjiu.lu@intel.com>
3897 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3898 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3899 * sysdeps/x86_64/configure: Regenerated.
3900 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3902 (REGISTER_SAVE_RAX): Likewise.
3903 (REGISTER_SAVE_RCX): Likewise.
3904 (REGISTER_SAVE_RDX): Likewise.
3905 (REGISTER_SAVE_RSI): Likewise.
3906 (REGISTER_SAVE_RDI): Likewise.
3907 (REGISTER_SAVE_R8): Likewise.
3908 (REGISTER_SAVE_R9): Likewise.
3909 (REGISTER_SAVE_BND0): Likewise.
3910 (REGISTER_SAVE_BND1): Likewise.
3911 (REGISTER_SAVE_BND2): Likewise.
3912 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3913 bound registers when calling _dl_fixup.
3915 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3917 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3918 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3920 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3921 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3922 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3923 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3924 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3925 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3926 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3928 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3931 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3932 pathconf(_PC_NAME_MAX).
3934 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3936 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3938 (__PTHREAD_SPINS): Move definition to ...
3939 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3940 (__PTHREAD_SPINS): ... here.
3941 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3942 (__PTHREAD_SPIN): Likewise.
3943 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3944 (__PTHREAD_SPIN): Likewise.
3945 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3946 (__PTHREAD_SPIN): Likewise.
3947 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3948 (__PTHREAD_SPIN): Likewise.
3949 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3950 (__PTHREAD_SPIN): Likewise.
3951 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3952 (__PTHREAD_SPIN): Likewise.
3953 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3954 (__PTHREAD_SPIN): Likewise.
3955 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3956 (__PTHREAD_SPIN): Likewise.
3957 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3958 (__PTHREAD_SPIN): Likewise.
3959 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3960 (__PTHREAD_SPIN): Likewise.
3961 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3962 (__PTHREAD_SPIN): Likewise.
3963 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3964 (__PTHREAD_SPIN): Likewise.
3966 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3967 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3968 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3969 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3971 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3972 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3973 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3974 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3976 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3977 strlen symbol for non multi-arch builds.
3978 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3979 missing hidden_def and weak_alias.
3981 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3983 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3985 2014-04-07 Will Newton <will.newton@linaro.org>
3987 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3988 and contents. [!_LIBC] Remove #ifndef and contents.
3989 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3990 * string/memccpy.c (__memccpy): Use ANSI prototype.
3991 * string/memfrob.c (memfrob): Likewise.
3992 * string/strcoll.c (STRCOLL): Likewise.
3993 * string/strlen.c (strlen): Likewise.
3994 * string/strtok.c (STRTOK): Likewise.
3995 * string/strcat.c: Remove unused #include of memcopy.h.
3996 (strcat): Use ANSI prototype.
3997 * string/strchr.c: Remove unused #include of memcopy.h.
3998 (strchr): Use ANSI prototype.
3999 * string/strcmp.c: Remove unused #include of memcopy.h.
4000 (strcmp): Use ANSI prototype.
4001 * string/strcpy.c: Remove unused #include of memcopy.h.
4002 (strcpy): Use ANSI prototype.
4004 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4006 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4007 * config.make.in (config-extra-cppflags): Set it from
4008 libc_extra_cppflags.
4009 * configure.ac (libc_extra_cflags): Make it accumulate over
4010 configure fragments.
4011 (libc_extra_cppflags): New flag.
4012 * configure. Regenerate.
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4014 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4015 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4019 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4020 result for FE_DOWNWARD rounding mode.
4021 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4025 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4027 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4028 in function argument name.
4030 2014-04-03 David Svoboda <svoboda@cert.org>
4033 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4036 2014-04-03 Roland McGrath <roland@hack.frob.com>
4038 * elf/dl-unmap-segments.h: New file.
4039 * sysdeps/generic/ldsodefs.h
4040 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4041 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4042 * elf/dl-fptr.c: Likewise.
4043 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4044 * sysdeps/aarch64/tlsdesc.c: Likewise.
4045 * sysdeps/arm/tlsdesc.c: Likewise.
4046 * sysdeps/i386/tlsdesc.c: Likewise.
4047 * sysdeps/tile/dl-runtime.c: Likewise.
4048 * sysdeps/x86_64/tlsdesc.c: Likewise.
4049 * elf/dl-load.h: New file.
4050 * elf/dl-load.c: Include it.
4051 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4052 Macros moved to dl-load.h.
4053 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4054 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4055 Use _dl_unmap_segments in place of __munmap.
4056 Break out segment-mapping loop into ...
4057 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4059 2014-04-03 Will Newton <will.newton@linaro.org>
4061 * elf/dl-lookup.c (do_lookup_x): Remove comment
4062 referring to nested function and move variable
4063 declarations down to before first use.
4065 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4069 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4071 * math/s_catanf.c (__catanf): Likewise.
4072 * math/s_catanh.c (__catanh): Likewise.
4073 * math/s_catanhf.c (__catanhf): Likewise.
4074 * math/s_catanhl.c (__catanhl): Likewise.
4075 * math/s_catanl.c (__catanl): Likewise.
4076 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4077 by positive zero when computing -Inf result.
4078 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4079 (catanh_test): Likewise.
4080 * sysdeps/i386/fpu/libm-test-ulps: Update.
4081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4084 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4085 instead of using underflowing value in computing result.
4086 * math/s_clog10.c (__clog10): Likewise.
4087 * math/s_clog10f.c (__clog10f): Likewise.
4088 * math/s_clog10l.c (__clog10l): Likewise.
4089 * math/s_clogf.c (__clogf): Likewise.
4090 * math/s_clogl.c (__clogl): Likewise.
4091 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4092 (clog10_test): Likewise.
4093 * sysdeps/i386/fpu/libm-test-ulps: Update.
4094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4096 2014-04-02 Alan Modra <amodra@gmail.com>
4099 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4100 output when value is near a power of two. Use int64_t for lx and
4101 remove casts. Use decimal rather than hex exponent constants.
4102 Don't use long double multiplication when double will suffice.
4103 * math/libm-test.inc (nextafter_test_data): Add tests.
4104 * NEWS: Add 16739 and 16786 to bug list.
4106 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4108 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4110 2014-04-01 Will Newton <will.newton@linaro.org>
4112 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4113 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4115 2014-04-01 Florian Weimer <fweimer@redhat.com>
4118 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4119 * nptl/tst-setuid2.c: New file.
4120 * nptl/Makefile (xtests): Add tst-setuid2.
4122 2014-04-01 Alan Modra <amodra@gmail.com>
4125 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4127 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4131 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4132 set errno as appropriate.
4133 * math/w_scalbf.c (__scalbf): Likewise.
4134 * math/w_scalbl.c (__scalbl): Likewise.
4135 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4136 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4137 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4141 * math/w_atan2.c: Include <errno.h>.
4142 (__atan2): Set errno for result underflowing to zero.
4143 * math/w_atan2f.c: Include <errno.h>.
4144 (__atan2f): Set errno for result underflowing to zero.
4145 * math/w_atan2l.c: Include <errno.h>.
4146 (__atan2l): Set errno for result underflowing to zero.
4147 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4149 * math/auto-libm-test-out: Regenerated.
4151 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4153 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4154 Encode instruction correctly in little endian.
4155 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4157 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4159 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4161 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4164 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4167 * sysdeps/unix/sysv/linux/kernel-features.h
4168 [__sparc__ && !__arch64__ && !__sparc_v9__]
4169 (__ASSUME_SET_ROBUST_LIST): Do not define.
4170 [__sparc__ && !__arch64__ && !__sparc_v9__]
4171 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4172 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4174 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4175 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4176 (__ASSUME_REQUEUE_PI): Likewise.
4177 (__ASSUME_SET_ROBUST_LIST): Likewise.
4178 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4179 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4181 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4182 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4184 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4186 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4188 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4189 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4191 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4192 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4196 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4197 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4198 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4200 2014-03-31 Will Newton <will.newton@linaro.org>
4202 * benchtests/Makefile (bench): Add ffs and ffsll to list
4204 * benchtests/ffs-inputs: New file.
4205 * benchtests/ffsll-inputs: Likewise.
4207 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4210 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4211 too large before casting to int.
4212 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4213 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4214 * math/libm-test.inc (scalb_test_data): Add more tests.
4216 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4218 * benchtests/Makefile (DETAILED_OPT): New make option.
4219 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4221 * benchtests/bench-skeleton.c: Include stdbool.h.
4222 (main): Store and print timings per input.
4223 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4224 member to each argument value.
4225 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4226 (_print_arg_data): Initialize per-input timing to 0.
4228 * benchtests/Makefile (timing-type): New binary.
4229 (bench-clean): Also remove bench-timing-type.
4230 (bench): New target for timing-type.
4231 (bench-func): Print output in JSON format.
4232 * benchtests/bench-skeleton.c (main): Print output in JSON
4234 * benchtests/bench-timing-type.c: New file.
4235 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4236 (TIMING_PRINT_STATS): Remove.
4237 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4240 * benchtests/bench-modf.c: Remove.
4241 * benchtests/modf-inputs: New inputs file.
4243 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4246 * math/s_clog10.c (M_PI_LOG10E): New macro.
4247 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4248 imaginary parts are 0.
4249 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4250 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4251 imaginary parts are 0.
4252 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4253 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4254 imaginary parts are 0.
4255 * math/libm-test.inc (clog10_test_data): Update expected results
4256 for when real and imaginary parts are 0.
4258 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4260 * elf/dl-load.c: Finish conversion of __builtin_expect into
4263 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4266 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4267 1+x for argument with exponent below -67.
4268 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4270 * math/auto-libm-test-in: Add more tests of exp.
4271 * math/auto-libm-test-out: Regenerated.
4273 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4276 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4277 (nscd_getnetgrent): Use it.
4280 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4283 2014-03-27 Andi Kleen <ak@linux.intel.com>
4285 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4286 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4287 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4288 (lll_robust_unlock): Remove out of line section. Use cfi
4290 (LLL_STUB_UNWIND_INFO*): Remove.
4291 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4292 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4293 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4294 (lll_robust_unlock): Remove out of line section. Use cfi
4296 (LLL_STUB_UNWIND_INFO*): Remove.
4298 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4301 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4304 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4306 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4308 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4311 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4313 * math/test-fenv-preserve.c: New file.
4314 * math/Makefile (tests): Add test-fenv-preserve.
4316 2014-03-26 Will Newton <will.newton@linaro.org>
4318 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4320 2014-03-25 Roland McGrath <roland@hack.frob.com>
4322 * scripts/versionlist.awk: Partition the version sets and emit all
4323 GLIBC_* (sorted) before all others (sorted).
4325 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4327 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4328 GLIBC_2.2.5 version.
4330 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4332 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4335 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4340 2014-03-25 Andreas Schwab <schwab@suse.de>
4342 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4343 label to be used after in6ailist is initialized.
4345 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4347 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4348 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4350 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4354 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4356 (fp_formats): Update initializers.
4357 (init_fp_formats): Initialize new field.
4358 (output_for_one_input_case): Allow underflow for results up to
4360 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4361 * math/auto-libm-test-in: Don't mark some underflows from asin and
4363 * math/auto-libm-test-out: Regenerated.
4364 * sysdeps/i386/fpu/libm-test-ulps: Update.
4365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4367 2014-03-25 Andreas Schwab <schwab@suse.de>
4369 * libio/Makefile (tst-ftell-partial-wide-ENV)
4370 (tst-ftell-active-handler-ENV): Define.
4372 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4374 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4376 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4378 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4380 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4382 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4383 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4384 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4386 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4389 * elf/dl-load.c (open_verify): Add mode parameter.
4390 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4391 (open_path): Change from boolean 'secure' to complete flag 'mode'
4392 (_dl_map_object): Adjust.
4393 * elf/Makefile (tests): Add tst-dlopen-aout.
4394 * elf/tst-dlopen-aout.c: New test.
4396 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4399 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4400 (struct stat): Rename member pad0 to __glibc_reserved0.
4403 * sysdeps/s390/s390-32/bits/wordsize.h
4404 (__WORDSIZE32_SIZE_ULONG): New define.
4405 * sysdeps/s390/s390-64/bits/wordsize.h
4406 (__WORDSIZE32_SIZE_ULONG): Likewise.
4407 * sysdeps/generic/stdint.h (SIZE_MAX):
4408 Define as UL if __WORDSIZE32_SIZE_ULONG.
4411 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4412 (__glibc_reserved0): New variable.
4413 (sa_flags): Change type to int.
4415 * posix/Makefile (before-compile): Use += before-compile instead
4418 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4419 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4421 2014-03-20 Andreas Schwab <schwab@suse.de>
4424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4425 non-matching result from nscd.
4427 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4429 * scripts/bench.py: Moved to ...
4430 * benchtests/scripts/bench.py: ... here.
4431 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4433 2014-03-24 Andreas Schwab <schwab@suse.de>
4436 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4437 alloca_account and account alloca use for struct in6ailist.
4439 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4442 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4443 rounding mode to recompute results that overflow to infinity or
4445 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4447 * math/auto-libm-test-out: Regenerated.
4448 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4449 (ccosh_test): Likewise.
4450 (csin_test_data): Use plus_oflow.
4451 (csin_test): Use ALL_RM_TEST.
4452 (csinh_test_data): Use plus_oflow.
4453 (csinh_test): Use ALL_RM_TEST.
4454 * sysdeps/i386/fpu/libm-test-ulps: Update.
4455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4457 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4459 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4460 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4461 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4464 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4466 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4467 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4468 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4469 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4471 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4472 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4474 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4475 * sysdeps/i386/fpu/libm-test-ulps: Update.
4476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4478 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4480 * scripts/bench.pl: Remove file.
4481 * scripts/bench.py: New benchmark script.
4482 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4483 * benchtests/README: Mention python dependency.
4484 * scripts/pylintrc: New file.
4485 * scripts/pylint: New file.
4487 * bits/mathdef.h: Use #ifdef instead of #if.
4488 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4489 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4490 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4491 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4492 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4493 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4495 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4496 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4498 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4500 and strpbrk-ppc64 objects.
4501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4502 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4503 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4504 multiarch strpbrk for POWER7.
4505 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4506 multiarch strpbrk for PPC64.
4507 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4509 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4512 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4514 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4515 (atan_test): Likewise.
4516 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4517 (atanh_test): Use ALL_RM_TEST.
4518 (atan2_test_data): Likewise.
4519 (cabs_test): Likewise.
4520 (cacosh_test): Likewise.
4521 (carg_test): Likewise.
4522 (casin_test): Likewise.
4523 (casinh_test): Likewise.
4524 (cbrt_test): Likewise.
4525 (csqrt_test): Likewise.
4526 (erf_test): Likewise.
4527 (erfc_test): Likewise.
4528 (pow10_test): Likewise.
4529 (exp2_test): Likewise.
4530 (hypot_test): Likewise.
4531 (j0_test): Likewise.
4532 (j1_test): Likewise.
4533 (lgamma_test): Likewise.
4534 (gamma_test): Likewise.
4535 (sincos_test): Likewise.
4536 (tanh_test): Likewise.
4537 (y0_test): Likewise.
4538 (y1_test): Likewise.
4539 * sysdeps/i386/fpu/libm-test-ulps: Update.
4540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4542 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4544 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4546 and strcspn-ppc64 objects.
4547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4548 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4549 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4550 multiarch strcspn for POWER7.
4551 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4552 multiarch strcspn for PPC64.
4553 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4555 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4558 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4560 * math/gen-libm-test.pl (generate_testfile): Expect only function
4561 name as argument to AUTO_TESTS_* and pass results for all rounding
4562 modes to parse_args.
4563 (parse_auto_input): Separate inputs of automatic tests from
4564 outputs before storing in %auto_tests.
4565 * math/libm-test.inc (acos_test_data): Update call to
4567 (acos_test): Use ALL_RM_TEST.
4568 (acos_tonearest_test_data): Remove.
4569 (acos_test_tonearest): Likewise.
4570 (acos_towardzero_test_data): Likewise.
4571 (acos_test_towardzero): Likewise.
4572 (acos_downward_test_data): Likewise.
4573 (acos_test_downward): Likewise.
4574 (acos_upward_test_data): Likewise.
4575 (acos_test_upward): Likewise.
4576 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4577 (asin_test_data): Likewise.
4578 (asin_test): Use ALL_RM_TEST.
4579 (asin_tonearest_test_data): Remove.
4580 (asin_test_tonearest): Likewise.
4581 (asin_towardzero_test_data): Likewise.
4582 (asin_test_towardzero): Likewise.
4583 (asin_downward_test_data): Likewise.
4584 (asin_test_downward): Likewise.
4585 (asin_upward_test_data): Likewise.
4586 (asin_test_upward): Likewise.
4587 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4588 (atan_test_data): Likewise.
4589 (atanh_test_data): Likewise.
4590 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4591 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4592 (carg_test_data): Likewise.
4593 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4594 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4595 (ccosh_test_data): Likewise.
4596 (cexp_test_data): Likewise.
4597 (clog_test_data): Likewise.
4598 (clog10_test_data): Likewise.
4599 (cos_test_data): Update call to AUTO_TESTS_f_f.
4600 (cos_test): Use ALL_RM_TEST.
4601 (cos_tonearest_test_data): Remove.
4602 (cos_test_tonearest): Likewise.
4603 (cos_towardzero_test_data): Likewise.
4604 (cos_test_towardzero): Likewise.
4605 (cos_downward_test_data): Likewise.
4606 (cos_test_downward): Likewise.
4607 (cos_upward_test_data): Likewise.
4608 (cos_test_upward): Likewise.
4609 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4610 (cosh_test): Use ALL_RM_TEST.
4611 (cosh_tonearest_test_data): Remove.
4612 (cosh_test_tonearest): Likewise.
4613 (cosh_towardzero_test_data): Likewise.
4614 (cosh_test_towardzero): Likewise.
4615 (cosh_downward_test_data): Likewise.
4616 (cosh_test_downward): Likewise.
4617 (cosh_upward_test_data): Likewise.
4618 (cosh_test_upward): Likewise.
4619 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4620 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4621 (ctan_test_data): Likewise.
4622 (ctan_test): Use ALL_RM_TEST.
4623 (ctan_tonearest_test_data): Remove.
4624 (ctan_test_tonearest): Likewise.
4625 (ctan_towardzero_test_data): Likewise.
4626 (ctan_test_towardzero): Likewise.
4627 (ctan_downward_test_data): Likewise.
4628 (ctan_test_downward): Likewise.
4629 (ctan_upward_test_data): Likewise.
4630 (ctan_test_upward): Likewise.
4631 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4632 (ctanh_test): Use ALL_RM_TEST.
4633 (ctanh_tonearest_test_data): Remove.
4634 (ctanh_test_tonearest): Likewise.
4635 (ctanh_towardzero_test_data): Likewise.
4636 (ctanh_test_towardzero): Likewise.
4637 (ctanh_downward_test_data): Likewise.
4638 (ctanh_test_downward): Likewise.
4639 (ctanh_upward_test_data): Likewise.
4640 (ctanh_test_upward): Likewise.
4641 (erf_test_data): Update call to AUTO_TESTS_f_f.
4642 (erfc_test_data): Likewise.
4643 (exp_test_data): Likewise.
4644 (exp_test): Use ALL_RM_TEST.
4645 (exp_tonearest_test_data): Remove.
4646 (exp_test_tonearest): Likewise.
4647 (exp_towardzero_test_data): Likewise.
4648 (exp_test_towardzero): Likewise.
4649 (exp_downward_test_data): Likewise.
4650 (exp_test_downward): Likewise.
4651 (exp_upward_test_data): Likewise.
4652 (exp_test_upward): Likewise.
4653 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4654 (exp10_test): Use ALL_RM_TEST.
4655 (exp10_tonearest_test_data): Remove.
4656 (exp10_test_tonearest): Likewise.
4657 (exp10_towardzero_test_data): Likewise.
4658 (exp10_test_towardzero): Likewise.
4659 (exp10_downward_test_data): Likewise.
4660 (exp10_test_downward): Likewise.
4661 (exp10_upward_test_data): Likewise.
4662 (exp10_test_upward): Likewise.
4663 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4664 (expm1_test_data): Likewise.
4665 (expm1_test): Use ALL_RM_TEST.
4666 (expm1_tonearest_test_data): Remove.
4667 (expm1_test_tonearest): Likewise.
4668 (expm1_towardzero_test_data): Likewise.
4669 (expm1_test_towardzero): Likewise.
4670 (expm1_downward_test_data): Likewise.
4671 (expm1_test_downward): Likewise.
4672 (expm1_upward_test_data): Likewise.
4673 (expm1_test_upward): Likewise.
4674 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4675 (fma_test): Use ALL_RM_TEST.
4676 (fma_towardzero_test_data): Remove.
4677 (fma_test_towardzero): Likewise.
4678 (fma_downward_test_data): Likewise.
4679 (fma_test_downward): Likewise.
4680 (fma_upward_test_data): Likewise.
4681 (fma_test_upward): Likewise.
4682 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4683 (j0_test_data): Update call to AUTO_TESTS_f_f.
4684 (j1_test_data): Likewise.
4685 (jn_test_data): Update call to AUTO_TESTS_if_f.
4686 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4687 (log_test_data): Update call to AUTO_TESTS_f_f.
4688 (log10_test_data): Likewise.
4689 (log1p_test_data): Likewise.
4690 (log2_test_data): Likewise.
4691 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4692 (pow_tonearest_test_data): Likewise.
4693 (sin_test_data): Update call to AUTO_TESTS_f_f.
4694 (sin_test): Use ALL_RM_TEST.
4695 (sin_tonearest_test_data): Remove.
4696 (sin_test_tonearest): Likewise.
4697 (sin_towardzero_test_data): Likewise.
4698 (sin_test_towardzero): Likewise.
4699 (sin_downward_test_data): Likewise.
4700 (sin_test_downward): Likewise.
4701 (sin_upward_test_data): Likewise.
4702 (sin_test_upward): Likewise.
4703 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4704 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4705 (sinh_test): Use ALL_RM_TEST.
4706 (sinh_tonearest_test_data): Remove.
4707 (sinh_test_tonearest): Likewise.
4708 (sinh_towardzero_test_data): Likewise.
4709 (sinh_test_towardzero): Likewise.
4710 (sinh_downward_test_data): Likewise.
4711 (sinh_test_downward): Likewise.
4712 (sinh_upward_test_data): Likewise.
4713 (sinh_test_upward): Likewise.
4714 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4715 (sqrt_test): Use ALL_RM_TEST.
4716 (sqrt_tonearest_test_data): Remove.
4717 (sqrt_test_tonearest): Likewise.
4718 (sqrt_towardzero_test_data): Likewise.
4719 (sqrt_test_towardzero): Likewise.
4720 (sqrt_downward_test_data): Likewise.
4721 (sqrt_test_downward): Likewise.
4722 (sqrt_upward_test_data): Likewise.
4723 (sqrt_test_upward): Likewise.
4724 (tan_test_data): Update call to AUTO_TESTS_f_f.
4725 (tan_test): Use ALL_RM_TEST.
4726 (tan_tonearest_test_data): Remove.
4727 (tan_test_tonearest): Likewise.
4728 (tan_towardzero_test_data): Likewise.
4729 (tan_test_towardzero): Likewise.
4730 (tan_downward_test_data): Likewise.
4731 (tan_test_downward): Likewise.
4732 (tan_upward_test_data): Likewise.
4733 (tan_test_upward): Likewise.
4734 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4735 (tgamma_test_data): Likewise.
4736 (y0_test_data): Likewise.
4737 (y1_test_data): Likewise.
4738 (yn_test_data): Update call to AUTO_TESTS_if_f.
4739 (main): Do not call removed functions.
4741 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4743 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4744 (ldexp_test_data): Remove.
4745 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4747 (scalb_test): Use ALL_RM_TEST.
4749 2014-03-19 Andreas Schwab <schwab@suse.de>
4751 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4753 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4756 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4757 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4758 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4759 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4760 (__ASSUME_PREADV): Undefine.
4761 (__ASSUME_PWRITEV): Likewise.
4763 2014-03-18 Roland McGrath <roland@hack.frob.com>
4765 * bits/mman-linux.h: Add comment about non-Linux use.
4766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4767 bits/mman-linux.h resting place.
4769 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4770 * bits/mman-linux.h: ... here.
4772 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4774 * conform/conformtest.pl: Add standard definition when calling C
4775 preprocessor on data files.
4776 (checknamespace): Remove unused variable.
4778 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4780 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4781 minus_oflow, plus_uflow and minus_uflow in expected results.
4782 * math/libm-test.inc (scalbn_test_data): Add more tests of
4783 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4785 (scalbn_test): Use ALL_RM_TEST.
4786 (scalbln_test_data): Add more tests of negative arguments. Use
4787 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4788 (scalbln_test): Use ALL_RM_TEST.
4790 2014-03-18 Roland McGrath <roland@hack.frob.com>
4792 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4794 2014-03-18 Will Newton <will.newton@linaro.org>
4796 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4799 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4801 * Makerules [!subdir] (check-abi): Exit with error status if a
4804 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4806 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4807 for rint. Include results for all rounding modes.
4808 (nearbyint_test): Use ALL_RM_TEST.
4809 (rint_test_data): Include all tests used for nearbyint.
4811 2014-03-17 Will Newton <will.newton@linaro.org>
4813 * nptl/sysdeps/pthread/pthread.h: Revert previous
4816 * sysdeps/generic/ldsodefs.h: Revert previous
4819 * libio/genops.c: Revert previous change.
4820 * libio/libioP.h: Likewise.
4821 * stdio-common/vfprintf.c: Likewise.
4823 * sysdeps/generic/math_private.h: Revert previous
4826 * sysdeps/generic/math_private.h: Check whether
4827 HAVE_RM_CTX is defined with #ifdef rather
4830 * argp/argp-fmtstream.h: Check whether
4831 __STRICT_ANSI__ is defined with #ifdef rather
4833 * argp/argp.h: Likewise.
4835 * libio/genops.c: Check whether
4836 _IO_JUMPS_OFFSET is defined with #ifdef rather
4838 * libio/libioP.h: Likewise.
4839 * stdio-common/vfprintf.c: Likewise.
4841 * sysdeps/generic/ldsodefs.h: Check whether
4842 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4845 * nptl/sysdeps/pthread/pthread.h: Check
4846 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4849 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4851 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4853 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4857 * libio/fileops.c (_IO_file_open): Seek to end of file but
4858 don't cache the offset.
4859 (get_file_offset): Remove function.
4860 (do_ftell): Use cached offset when available.
4861 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4862 don't cache the offset.
4863 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4865 (do_one_test): Call it.
4866 (do_ftell_test): Fix up expected old offset for a+ mode.
4867 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4870 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4871 up test status with function return status.
4872 (do_write_test): Likewise.
4873 (do_append_test): Likewise.
4875 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4876 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4879 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4881 * math/gen-libm-test.pl (parse_args): Handle results specified for
4882 each rounding mode separately.
4883 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4884 tests and results from lrint_tonearest_test_data,
4885 lrint_towardzero_test_data, lrint_downward_test_data and
4886 lrint_upward_test_data.
4887 (lrint_test): Use ALL_RM_TEST.
4888 (lrint_tonearest_test_data): Remove.
4889 (lrint_test_tonearest): Likewise.
4890 (lrint_towardzero_test_data): Likewise.
4891 (lrint_test_towardzero): Likewise.
4892 (lrint_downward_test_data): Likewise.
4893 (lrint_test_downward): Likewise.
4894 (lrint_upward_test_data): Likewise.
4895 (lrint_test_upward): Likewise.
4896 (llrint_test_data): Merge in per-rounding-mode tests and results
4897 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4898 llrint_downward_test_data and llrint_upward_test_data.
4899 (llrint_test): Use ALL_RM_TEST.
4900 (llrint_tonearest_test_data): Remove.
4901 (llrint_test_tonearest): Likewise.
4902 (llrint_towardzero_test_data): Likewise.
4903 (llrint_test_towardzero): Likewise.
4904 (llrint_downward_test_data): Likewise.
4905 (llrint_test_downward): Likewise.
4906 (llrint_upward_test_data): Likewise.
4907 (llrint_test_upward): Likewise.
4908 (rint_test_data): Merge in per-rounding-mode tests and results
4909 from rint_tonearest_test_data, rint_towardzero_test_data,
4910 rint_downward_test_data and rint_upward_test_data. Add
4911 per-rounding-mode results for tests not in those arrays.
4912 (rint_test): Use ALL_RM_TEST.
4913 (rint_tonearest_test_data): Remove.
4914 (rint_test_tonearest): Likewise.
4915 (rint_towardzero_test_data): Likewise.
4916 (rint_test_towardzero): Likewise.
4917 (rint_downward_test_data): Likewise.
4918 (rint_test_downward): Likewise.
4919 (rint_upward_test_data): Likewise.
4920 (rint_test_upward): Likewise.
4921 (main): Don't call removed functions.
4923 2014-03-14 Roland McGrath <roland@hack.frob.com>
4925 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4926 "Compiled on ..." crapola. It is anti-useful.
4928 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4930 * scripts/evaluate-test.sh: Handle fourth argument to determine
4931 whether test run should stop on failure.
4932 * Makeconfig (stop-on-test-failure): New variable.
4933 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4934 $(stop-on-test-failure).
4935 * Makefile (tests): Give a summary of results from testing and
4936 exit with failure status if they include an ERROR or FAIL.
4938 * manual/install.texi (Configuring and compiling): Mention
4939 stop-on-test-failure=y.
4940 * INSTALL: Regenerated.
4942 2014-03-14 Roland McGrath <roland@hack.frob.com>
4944 * scripts/versionlist.awk: New file.
4945 * Makerules [$(build-shared) = yes]
4946 (postclean-generated): Add Versions.def, not Versions.def.v and
4948 ($(common-objpfx)Versions.def.v.i): Target removed.
4949 ($(common-objpfx)Versions.def): New target.
4950 ($(common-objpfx)Versions.all): Depend on that rather that
4951 $(common-objpfx)Versions.def.v.
4952 * Versions.def: File removed.
4954 * Makeconfig (+gccwarn): Add -Wundef.
4955 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4956 a dl-sysdep.h breaking its contract.
4957 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4958 * include/stackinfo.h: New file.
4959 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4960 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4961 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4962 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4963 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4964 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4965 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4966 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4967 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4968 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4969 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4970 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4971 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4972 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4973 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4975 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4978 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4980 * math/libm-test.inc (round_test_data): Add more tests.
4983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4985 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4988 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4990 * math/libm-test.inc (ceil_test_data): Add more tests.
4992 * math/libm-test.inc (trunc_test_data): Add more tests related to
4995 2014-03-14 Roland McGrath <roland@hack.frob.com>
4997 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4998 with #if rather than #ifdef.
4999 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5001 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5003 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5004 first. Disable AVX-512 GCC support if assembler doesn't support
5006 * sysdeps/x86_64/configure: Regenerated.
5008 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5010 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5011 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5012 (__old_pthread_attr_setstack): Likewise.
5013 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5014 [!_STACK_GROWS_DOWN]: Likewise.
5016 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5018 * config.make.in (have-bash2): Delete.
5019 * configure.ac (libc_cv_have_bash2): Delete.
5020 * configure: Regenerate.
5021 * elf/Makefile (common-ldd-rewrite): Rename to ...
5022 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5023 (sh-ldd-rewrite): Delete.
5024 (bash-ldd-rewrite): Delete.
5025 (have-bash2): Delete checks.
5026 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5029 * config.make.in (have-ksh): Delete.
5031 * configure.ac (libc_cv_have_ksh): Delete.
5032 * configure: Regenerate.
5034 * elf/Makefile: Delete $(have-ksh) check.
5035 ($(objpfx)sotruss): Change KSH to BASH.
5036 * elf/sotruss.ksh: Rename to ...
5037 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5038 function style to match POSIX. Drop ksh vim mode setting.
5040 * manual/time.texi (Specifying the Time Zone with TZ): Change
5041 Tuesday to Thursday.
5043 * debug/tst-longjmp_chk2.c: Update header comment.
5044 (stackoverflow_handler): Add comment. Call assert on pass value.
5046 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5048 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5049 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5050 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5051 (La_x86_64_vector): Add zmm.
5052 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5053 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5054 ($(objpfx)tst-audit10): New target.
5055 ($(objpfx)tst-audit10.out): Likewise.
5056 (tst-audit10-ENV): New.
5057 (AVX512-CFLAGS): Likewise.
5058 (CFLAGS-tst-audit10.c): Likewise.
5059 (CFLAGS-tst-auditmod10a.c): Likewise.
5060 (CFLAGS-tst-auditmod10b.c): Likewise.
5061 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5062 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5063 * sysdeps/x86_64/configure: Regenerated.
5064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5065 AVX-512 zmm register support.
5066 (_dl_x86_64_save_sse): Likewise.
5067 (_dl_x86_64_restore_sse): Likewise.
5068 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5069 size vector registers.
5070 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5071 (ZMM_SIZE): Likewise.
5072 * sysdeps/x86_64/tst-audit10.c: New file.
5073 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5074 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5076 2014-03-13 Roland McGrath <roland@hack.frob.com>
5078 * configure.ac (HAVE_EHDR_START): New check.
5079 * configure: Regenerated.
5080 * config.h.in (HAVE_EHDR_START): New #undef.
5081 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5082 assuming the lowest-addressed segment maps the start of the file.
5084 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5086 * INSTALL: Regenerated.
5088 2014-03-13 Will Newton <will.newton@linaro.org>
5090 * manual/setjmp.texi (System V contexts): Improve
5091 clarity and grammar of documentation.
5093 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5096 * elf/Makefile (tests): Add tst-pie2.
5097 (tests-pie): Add tst-pie2.
5098 * elf/tst-pie2.c: New file.
5099 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5101 * elf/rtld.c (map_doit): Load executable as lt_executable.
5102 (dl_main): Likewise.
5104 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5107 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5108 (__ASSUME_PSELECT): Undefine.
5110 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5113 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5114 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5116 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5117 selector for static builds.
5119 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5122 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5125 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5127 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5128 IFUNC selector for static builds.
5130 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5132 * sysdeps/mips/math_private.h [__mips_hard_float]
5133 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5134 libc_feresetround_mips_ctx.
5135 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5136 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5137 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5140 * math/s_nextafter.c (__nextafter): Do not return value from
5141 overflowing computation.
5142 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5143 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5144 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5146 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5148 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5149 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5151 2014-03-11 Roland McGrath <roland@hack.frob.com>
5153 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5154 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5155 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5156 the new mov targetting sp.
5158 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5161 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5162 Define it for static builds as well.
5163 (NO_BZERO_IMPL): Likewise.
5165 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5167 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5168 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5169 multiarch strspn for PPC64.
5170 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5171 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5173 (__libc_ifunc_impl_list): Likewise.
5174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5175 multiarch optimizations
5176 * string/strspn.c (strspn): Using macro to redefine symbol name.
5178 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5179 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5181 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5182 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5183 multiarch strncat for PPC64.
5184 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5185 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5187 (__libc_ifunc_impl_list): Likewise.
5188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5189 multiarch optimizations
5191 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5194 * nscd/nscd.service: Make service type forking.
5196 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5198 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5199 sign in non default rounding modes.
5200 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5202 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5204 * math/libm-test.inc (ALL_RM_TEST): New macro.
5205 (ceil_test): Use ALL_RM_TEST.
5206 (cimag_test): Likewise.
5207 (conj_test): Likewise.
5208 (copysign_test): Likewise.
5209 (cproj_test): Likewise.
5210 (creal_test): Likewise.
5211 (fabs_test): Likewise.
5212 (floor_test): Likewise.
5213 (fmax_test): Likewise.
5214 (fmin_test): Likewise.
5215 (fmod_test): Likewise.
5216 (fpclassify_test): Likewise.
5217 (frexp_test): Likewise.
5218 (ilogb_test): Likewise.
5219 (isfinite_test): Likewise.
5220 (finite_test): Likewise.
5221 (isgreater_test): Likewise.
5222 (isgreaterequal_test): Likewise.
5223 (isinf_test): Likewise.
5224 (isless_test): Likewise.
5225 (islessequal_test): Likewise.
5226 (islessgreater_test): Likewise.
5227 (isnan_test): Likewise.
5228 (isnormal_test): Likewise.
5229 (issignaling_test): Likewise.
5230 (isunordered_test): Likewise.
5231 (logb_test): Likewise.
5232 (logb_downward_test_data): Remove.
5233 (logb_test_downward): Likewise.
5234 (lround_test): Use ALL_RM_TEST.
5235 (llround_test): Likewise.
5236 (modf_test): Likewise.
5237 (nexttoward_test): Likewise.
5238 (remainder_test): Likewise.
5239 (drem_test): Likewise.
5240 (remainder_tonearest_test_data): Likewise.
5241 (remainder_test_tonearest): Likewise.
5242 (drem_test_tonearest): Likewise.
5243 (remainder_towardzero_test_data): Likewise.
5244 (remainder_test_towardzero): Likewise.
5245 (drem_test_towardzero): Likewise.
5246 (remainder_downward_test_data): Likewise.
5247 (remainder_test_downward): Likewise.
5248 (drem_test_downward): Likewise.
5249 (remainder_upward_test_data): Likewise.
5250 (remainder_test_upward): Likewise.
5251 (drem_test_upward): Likewise.
5252 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5253 (round_test): Use ALL_RM_TEST.
5254 (signbit_test): Likewise.
5255 (trunc_test): Likewise.
5256 (significand_test): Likewise.
5257 (main): Don't call removed functions.
5259 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5262 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5264 (ILL_ILLOPN): Likewise.
5265 (ILL_ILLADR): Likewise.
5266 (ILL_ILLTRP): Likewise.
5267 (ILL_PRVOPC): Likewise.
5268 (ILL_PRVREG): Likewise.
5269 (ILL_COPROC): Likewise.
5270 (ILL_BADSTK): Likewise.
5271 (FPE_INTDIV): Likewise.
5272 (FPE_INTOVF): Likewise.
5273 (FPE_FLTDIV): Likewise.
5274 (FPE_FLTOVF): Likewise.
5275 (FPE_FLTUND): Likewise.
5276 (FPE_FLTRES): Likewise.
5277 (FPE_FLTINV): Likewise.
5278 (FPE_FLTSUB): Likewise.
5279 (SEGV_MAPERR): Likewise.
5280 (SEGV_ACCERR): Likewise.
5281 (BUS_ADRALN): Likewise.
5282 (BUS_ADRERR): Likewise.
5283 (BUS_OBJERR): Likewise.
5284 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5285 (TRAP_TRACE): Likewise.
5286 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5288 (CLD_KILLED): Likewise.
5289 (CLD_DUMPED): Likewise.
5290 (CLD_TRAPPED): Likewise.
5291 (CLD_STOPPED): Likewise.
5292 (CLD_CONTINUED): Likewise.
5293 (POLL_IN): Likewise.
5294 (POLL_OUT): Likewise.
5295 (POLL_MSG): Likewise.
5296 (POLL_ERR): Likewise.
5297 (POLL_PRI): Likewise.
5298 (POLL_HUP): Likewise.
5299 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5301 (ILL_ILLOPN): Likewise.
5302 (ILL_ILLADR): Likewise.
5303 (ILL_ILLTRP): Likewise.
5304 (ILL_PRVOPC): Likewise.
5305 (ILL_PRVREG): Likewise.
5306 (ILL_COPROC): Likewise.
5307 (ILL_BADSTK): Likewise.
5308 (FPE_INTDIV): Likewise.
5309 (FPE_INTOVF): Likewise.
5310 (FPE_FLTDIV): Likewise.
5311 (FPE_FLTOVF): Likewise.
5312 (FPE_FLTUND): Likewise.
5313 (FPE_FLTRES): Likewise.
5314 (FPE_FLTINV): Likewise.
5315 (FPE_FLTSUB): Likewise.
5316 (SEGV_MAPERR): Likewise.
5317 (SEGV_ACCERR): Likewise.
5318 (BUS_ADRALN): Likewise.
5319 (BUS_ADRERR): Likewise.
5320 (BUS_OBJERR): Likewise.
5321 (BUS_MCEERR_AR): Likewise.
5322 (BUS_MCEERR_AO): Likewise.
5323 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5324 (TRAP_TRACE): Likewise.
5325 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5327 (CLD_KILLED): Likewise.
5328 (CLD_DUMPED): Likewise.
5329 (CLD_TRAPPED): Likewise.
5330 (CLD_STOPPED): Likewise.
5331 (CLD_CONTINUED): Likewise.
5332 (POLL_IN): Likewise.
5333 (POLL_OUT): Likewise.
5334 (POLL_MSG): Likewise.
5335 (POLL_ERR): Likewise.
5336 (POLL_PRI): Likewise.
5337 (POLL_HUP): Likewise.
5338 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5339 (ILL_ILLOPN): Likewise.
5340 (ILL_ILLADR): Likewise.
5341 (ILL_ILLTRP): Likewise.
5342 (ILL_PRVOPC): Likewise.
5343 (ILL_PRVREG): Likewise.
5344 (ILL_COPROC): Likewise.
5345 (ILL_BADSTK): Likewise.
5346 (FPE_INTDIV): Likewise.
5347 (FPE_INTOVF): Likewise.
5348 (FPE_FLTDIV): Likewise.
5349 (FPE_FLTOVF): Likewise.
5350 (FPE_FLTUND): Likewise.
5351 (FPE_FLTRES): Likewise.
5352 (FPE_FLTINV): Likewise.
5353 (FPE_FLTSUB): Likewise.
5354 (SEGV_MAPERR): Likewise.
5355 (SEGV_ACCERR): Likewise.
5356 (BUS_ADRALN): Likewise.
5357 (BUS_ADRERR): Likewise.
5358 (BUS_OBJERR): Likewise.
5359 (BUS_MCEERR_AR): Likewise.
5360 (BUS_MCEERR_AO): Likewise.
5361 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5362 (TRAP_TRACE): Likewise.
5363 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5365 (CLD_KILLED): Likewise.
5366 (CLD_DUMPED): Likewise.
5367 (CLD_TRAPPED): Likewise.
5368 (CLD_STOPPED): Likewise.
5369 (CLD_CONTINUED): Likewise.
5370 (POLL_IN): Likewise.
5371 (POLL_OUT): Likewise.
5372 (POLL_MSG): Likewise.
5373 (POLL_ERR): Likewise.
5374 (POLL_PRI): Likewise.
5375 (POLL_HUP): Likewise.
5376 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5378 (ILL_ILLOPN): Likewise.
5379 (ILL_ILLADR): Likewise.
5380 (ILL_ILLTRP): Likewise.
5381 (ILL_PRVOPC): Likewise.
5382 (ILL_PRVREG): Likewise.
5383 (ILL_COPROC): Likewise.
5384 (ILL_BADSTK): Likewise.
5385 (ILL_BADIADDR): Likewise.
5386 (ILL_BREAK): Likewise.
5387 (FPE_INTDIV): Likewise.
5388 (FPE_INTOVF): Likewise.
5389 (FPE_FLTDIV): Likewise.
5390 (FPE_FLTOVF): Likewise.
5391 (FPE_FLTUND): Likewise.
5392 (FPE_FLTRES): Likewise.
5393 (FPE_FLTINV): Likewise.
5394 (FPE_FLTSUB): Likewise.
5395 (FPE_DECOVF): Likewise.
5396 (FPE_DECDIV): Likewise.
5397 (FPE_DECERR): Likewise.
5398 (FPE_INVASC): Likewise.
5399 (FPE_INVDEC): Likewise.
5400 (SEGV_MAPERR): Likewise.
5401 (SEGV_ACCERR): Likewise.
5402 (SEGV_PSTKOVF): Likewise.
5403 (BUS_ADRALN): Likewise.
5404 (BUS_ADRERR): Likewise.
5405 (BUS_OBJERR): Likewise.
5406 (BUS_MCEERR_AR): Likewise.
5407 (BUS_MCEERR_AO): Likewise.
5408 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5409 (TRAP_TRACE): Likewise.
5410 (TRAP_BRANCH): Likewise.
5411 (TRAP_HWBKPT): Likewise.
5412 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5414 (CLD_KILLED): Likewise.
5415 (CLD_DUMPED): Likewise.
5416 (CLD_TRAPPED): Likewise.
5417 (CLD_STOPPED): Likewise.
5418 (CLD_CONTINUED): Likewise.
5419 (POLL_IN): Likewise.
5420 (POLL_OUT): Likewise.
5421 (POLL_MSG): Likewise.
5422 (POLL_ERR): Likewise.
5423 (POLL_PRI): Likewise.
5424 (POLL_HUP): Likewise.
5425 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5426 (ILL_ILLOPN): Likewise.
5427 (ILL_ILLADR): Likewise.
5428 (ILL_ILLTRP): Likewise.
5429 (ILL_PRVOPC): Likewise.
5430 (ILL_PRVREG): Likewise.
5431 (ILL_COPROC): Likewise.
5432 (ILL_BADSTK): Likewise.
5433 (FPE_INTDIV): Likewise.
5434 (FPE_INTOVF): Likewise.
5435 (FPE_FLTDIV): Likewise.
5436 (FPE_FLTOVF): Likewise.
5437 (FPE_FLTUND): Likewise.
5438 (FPE_FLTRES): Likewise.
5439 (FPE_FLTINV): Likewise.
5440 (FPE_FLTSUB): Likewise.
5441 (SEGV_MAPERR): Likewise.
5442 (SEGV_ACCERR): Likewise.
5443 (BUS_ADRALN): Likewise.
5444 (BUS_ADRERR): Likewise.
5445 (BUS_OBJERR): Likewise.
5446 (BUS_MCEERR_AR): Likewise.
5447 (BUS_MCEERR_AO): Likewise.
5448 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5449 (TRAP_TRACE): Likewise.
5450 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5452 (CLD_KILLED): Likewise.
5453 (CLD_DUMPED): Likewise.
5454 (CLD_TRAPPED): Likewise.
5455 (CLD_STOPPED): Likewise.
5456 (CLD_CONTINUED): Likewise.
5457 (POLL_IN): Likewise.
5458 (POLL_OUT): Likewise.
5459 (POLL_MSG): Likewise.
5460 (POLL_ERR): Likewise.
5461 (POLL_PRI): Likewise.
5462 (POLL_HUP): Likewise.
5463 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5464 (ILL_ILLOPN): Likewise.
5465 (ILL_ILLADR): Likewise.
5466 (ILL_ILLTRP): Likewise.
5467 (ILL_PRVOPC): Likewise.
5468 (ILL_PRVREG): Likewise.
5469 (ILL_COPROC): Likewise.
5470 (ILL_BADSTK): Likewise.
5471 (FPE_INTDIV): Likewise.
5472 (FPE_INTOVF): Likewise.
5473 (FPE_FLTDIV): Likewise.
5474 (FPE_FLTOVF): Likewise.
5475 (FPE_FLTUND): Likewise.
5476 (FPE_FLTRES): Likewise.
5477 (FPE_FLTINV): Likewise.
5478 (FPE_FLTSUB): Likewise.
5479 (SEGV_MAPERR): Likewise.
5480 (SEGV_ACCERR): Likewise.
5481 (BUS_ADRALN): Likewise.
5482 (BUS_ADRERR): Likewise.
5483 (BUS_OBJERR): Likewise.
5484 (BUS_MCEERR_AR): Likewise.
5485 (BUS_MCEERR_AO): Likewise.
5486 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5487 (TRAP_TRACE): Likewise.
5488 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5490 (CLD_KILLED): Likewise.
5491 (CLD_DUMPED): Likewise.
5492 (CLD_TRAPPED): Likewise.
5493 (CLD_STOPPED): Likewise.
5494 (CLD_CONTINUED): Likewise.
5495 (POLL_IN): Likewise.
5496 (POLL_OUT): Likewise.
5497 (POLL_MSG): Likewise.
5498 (POLL_ERR): Likewise.
5499 (POLL_PRI): Likewise.
5500 (POLL_HUP): Likewise.
5501 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5502 (ILL_ILLOPN): Likewise.
5503 (ILL_ILLADR): Likewise.
5504 (ILL_ILLTRP): Likewise.
5505 (ILL_PRVOPC): Likewise.
5506 (ILL_PRVREG): Likewise.
5507 (ILL_COPROC): Likewise.
5508 (ILL_BADSTK): Likewise.
5509 (FPE_INTDIV): Likewise.
5510 (FPE_INTOVF): Likewise.
5511 (FPE_FLTDIV): Likewise.
5512 (FPE_FLTOVF): Likewise.
5513 (FPE_FLTUND): Likewise.
5514 (FPE_FLTRES): Likewise.
5515 (FPE_FLTINV): Likewise.
5516 (FPE_FLTSUB): Likewise.
5517 (SEGV_MAPERR): Likewise.
5518 (SEGV_ACCERR): Likewise.
5519 (BUS_ADRALN): Likewise.
5520 (BUS_ADRERR): Likewise.
5521 (BUS_OBJERR): Likewise.
5522 (BUS_MCEERR_AR): Likewise.
5523 (BUS_MCEERR_AO): Likewise.
5524 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5525 (TRAP_TRACE): Likewise.
5526 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5528 (CLD_KILLED): Likewise.
5529 (CLD_DUMPED): Likewise.
5530 (CLD_TRAPPED): Likewise.
5531 (CLD_STOPPED): Likewise.
5532 (CLD_CONTINUED): Likewise.
5533 (POLL_IN): Likewise.
5534 (POLL_OUT): Likewise.
5535 (POLL_MSG): Likewise.
5536 (POLL_ERR): Likewise.
5537 (POLL_PRI): Likewise.
5538 (POLL_HUP): Likewise.
5539 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5540 (ILL_ILLOPN): Likewise.
5541 (ILL_ILLADR): Likewise.
5542 (ILL_ILLTRP): Likewise.
5543 (ILL_PRVOPC): Likewise.
5544 (ILL_PRVREG): Likewise.
5545 (ILL_COPROC): Likewise.
5546 (ILL_BADSTK): Likewise.
5547 (ILL_DBLFLT): Likewise.
5548 (ILL_HARDWALL): Likewise.
5549 (FPE_INTDIV): Likewise.
5550 (FPE_INTOVF): Likewise.
5551 (FPE_FLTDIV): Likewise.
5552 (FPE_FLTOVF): Likewise.
5553 (FPE_FLTUND): Likewise.
5554 (FPE_FLTRES): Likewise.
5555 (FPE_FLTINV): Likewise.
5556 (FPE_FLTSUB): Likewise.
5557 (SEGV_MAPERR): Likewise.
5558 (SEGV_ACCERR): Likewise.
5559 (BUS_ADRALN): Likewise.
5560 (BUS_ADRERR): Likewise.
5561 (BUS_OBJERR): Likewise.
5562 (BUS_MCEERR_AR): Likewise.
5563 (BUS_MCEERR_AO): Likewise.
5564 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5565 (TRAP_TRACE): Likewise.
5566 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5568 (CLD_KILLED): Likewise.
5569 (CLD_DUMPED): Likewise.
5570 (CLD_TRAPPED): Likewise.
5571 (CLD_STOPPED): Likewise.
5572 (CLD_CONTINUED): Likewise.
5573 (POLL_IN): Likewise.
5574 (POLL_OUT): Likewise.
5575 (POLL_MSG): Likewise.
5576 (POLL_ERR): Likewise.
5577 (POLL_PRI): Likewise.
5578 (POLL_HUP): Likewise.
5579 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5580 (ILL_ILLOPN): Likewise.
5581 (ILL_ILLADR): Likewise.
5582 (ILL_ILLTRP): Likewise.
5583 (ILL_PRVOPC): Likewise.
5584 (ILL_PRVREG): Likewise.
5585 (ILL_COPROC): Likewise.
5586 (ILL_BADSTK): Likewise.
5587 (FPE_INTDIV): Likewise.
5588 (FPE_INTOVF): Likewise.
5589 (FPE_FLTDIV): Likewise.
5590 (FPE_FLTOVF): Likewise.
5591 (FPE_FLTUND): Likewise.
5592 (FPE_FLTRES): Likewise.
5593 (FPE_FLTINV): Likewise.
5594 (FPE_FLTSUB): Likewise.
5595 (SEGV_MAPERR): Likewise.
5596 (SEGV_ACCERR): Likewise.
5597 (BUS_ADRALN): Likewise.
5598 (BUS_ADRERR): Likewise.
5599 (BUS_OBJERR): Likewise.
5600 (BUS_MCEERR_AR): Likewise.
5601 (BUS_MCEERR_AO): Likewise.
5602 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5603 (TRAP_TRACE): Likewise.
5604 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5606 (CLD_KILLED): Likewise.
5607 (CLD_DUMPED): Likewise.
5608 (CLD_TRAPPED): Likewise.
5609 (CLD_STOPPED): Likewise.
5610 (CLD_CONTINUED): Likewise.
5611 (POLL_IN): Likewise.
5612 (POLL_OUT): Likewise.
5613 (POLL_MSG): Likewise.
5614 (POLL_ERR): Likewise.
5615 (POLL_PRI): Likewise.
5616 (POLL_HUP): Likewise.
5617 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5618 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5621 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5622 before #include of <time.h>.
5623 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5624 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5625 (test-xfail-UNIX98/sched.h/conform): Likewise.
5627 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5629 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5630 error absence of trapping exception support.
5631 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5633 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5635 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5636 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5637 * timezone/Makefile (testdata): Move definition above include of
5639 (test-zones): New variable.
5640 (tests-special): Add zone files.
5641 (build-testdata): Use $(evaluate-test).
5643 * elf/Makefile (tests-special): Rename tests to end with .out.
5644 ($(objpfx)noload-mem): Likewise.
5645 ($(objpfx)tst-leaks1-mem): Likewise.
5646 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5647 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5648 $(objpfx)test-iconvconfig.out.
5649 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5650 set -e inside subshell and redirect output to file.
5651 * iconvdata/Makefile (generated): Rename tests to end with .out.
5653 (tests-special): Rename tests to end with .out.
5654 ($(objpfx)mtrace-tst-loading): Likewise.
5655 * intl/Makefile (generated): Likewise.
5656 (tests-special): Likewise.
5657 ($(objpfx)mtrace-tst-gettext): Likewise.
5658 * misc/Makefile (generated): Likewise.
5659 (tests-special): Likewise.
5660 ($(objpfx)tst-error1-mem): Likewise.
5661 * nptl/Makefile (tests-special): Likewise.
5662 ($(objpfx)tst-stack3-mem): Likewise.
5663 (generated): Likewise.
5664 * posix/Makefile (generated): Likewise.
5665 (tests-special): Likewise.
5666 (xtests-special): Likewise.
5667 ($(objpfx)tst-fnmatch-mem): Likewise.
5668 ($(objpfx)bug-regex2-mem): Likewise.
5669 ($(objpfx)bug-regex14-mem): Likewise.
5670 ($(objpfx)bug-regex21-mem): Likewise.
5671 ($(objpfx)bug-regex31-mem): Likewise.
5672 ($(objpfx)tst-vfork3-mem): Likewise.
5673 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5674 ($(objpfx)tst-pcre-mem): Likewise.
5675 ($(objpfx)tst-boost-mem): Likewise.
5676 ($(objpfx)bug-ga2-mem): Likewise.
5677 ($(objpfx)bug-glob2-mem): Likewise.
5678 * resolv/Makefile (generate): Likewise.
5679 (tests-special): Likewise.
5680 (xtests-special): Likewise.
5681 (generated): Likewise.
5682 ($(objpfx)mtrace-tst-leaks): Likewise.
5683 ($(objpfx)mtrace-tst-leaks2): Likewise.
5685 * scripts/merge-test-results.sh: New file.
5686 * Makefile (tests-special-notdir): New variable.
5687 (tests): Run merge-test-results.sh.
5689 * Rules (tests-special-notdir): New variable.
5690 (xtests-special-notdir): Likewise.
5691 (tests): Run merge-test-results.sh
5694 * Makeconfig (test-xfail-name): New variable.
5695 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5696 compute variable name for expected failures.
5697 * conform/Makefile (conformtest-headers-data): New variable.
5698 (conformtest-standards): Likewise.
5699 (conformtest-headers-ISO): Likewise.
5700 (conformtest-headers-ISO99): Likewise.
5701 (conformtest-headers-ISO11): Likewise.
5702 (conformtest-headers-POSIX): Likewise.
5703 (conformtest-headers-XPG3): Likewise.
5704 (conformtest-headers-XPG4): Likewise.
5705 (conformtest-headers-UNIX98): Likewise.
5706 (conformtest-headers-XOPEN2K): Likewise.
5707 (conformtest-headers-POSIX2008): Likewise.
5708 (conformtest-headers-XOPEN2K8): Likewise.
5709 (conformtest-header-list-base): Likewise.
5710 (conformtest-header-list-tests): Likewise.
5711 (conformtest-header-base): Likewise.
5712 (conformtest-header-tests): Likewise.
5713 (tests-special): Add $(conformtest-header-list-tests). If
5714 [$(fast-check) && !$(cross-compiling)], add
5715 $(conformtest-header-tests) instead of
5716 $(objpfx)run-conformtest.out.
5717 (generated): Add $(conformtest-header-list-base). If
5718 [$(fast-check) && !$(cross-compiling)], add
5719 $(conformtest-header-base). Remove previous setting.
5720 ($(conformtest-header-list-tests)): New target.
5721 (test-xfail-run-conformtest): Remove variable.
5722 ($(objpfx)run-conformtest.out): Remove target.
5723 (test-xfail-ISO11/complex.h/conform): New variable.
5724 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5725 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5726 (test-xfail-XPG3/varargs.h/conform): Likewise.
5727 (test-xfail-XPG4/varargs.h/conform): Likewise.
5728 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5729 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5730 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5731 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5732 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5733 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5734 (test-xfail-XPG3/ftw.h/conform): Likewise.
5735 (test-xfail-XPG3/grp.h/conform): Likewise.
5736 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5737 (test-xfail-XPG3/limits.h/conform): Likewise.
5738 (test-xfail-XPG3/pwd.h/conform): Likewise.
5739 (test-xfail-XPG3/search.h/conform): Likewise.
5740 (test-xfail-XPG3/signal.h/conform): Likewise.
5741 (test-xfail-XPG3/stdio.h/conform): Likewise.
5742 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5743 (test-xfail-XPG3/string.h/conform): Likewise.
5744 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5745 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5746 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5747 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5748 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5749 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5750 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5751 (test-xfail-XPG3/termios.h/conform): Likewise.
5752 (test-xfail-XPG3/time.h/conform): Likewise.
5753 (test-xfail-XPG3/unistd.h/conform): Likewise.
5754 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5755 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5756 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5757 (test-xfail-XPG4/netdb.h/conform): Likewise.
5758 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5759 (test-xfail-XPG4/signal.h/conform): Likewise.
5760 (test-xfail-XPG4/stdio.h/conform): Likewise.
5761 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5762 (test-xfail-XPG4/stropts.h/conform): Likewise.
5763 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5764 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5765 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5766 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5767 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5768 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5769 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5770 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5771 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5772 (test-xfail-XPG4/termios.h/conform): Likewise.
5773 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5774 (test-xfail-XPG4/unistd.h/conform): Likewise.
5775 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5776 (test-xfail-POSIX/sched.h/conform): Likewise.
5777 (test-xfail-POSIX/signal.h/conform): Likewise.
5778 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5779 (test-xfail-POSIX/tar.h/conform): Likewise.
5780 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5781 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5782 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5783 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5784 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5785 (test-xfail-UNIX98/sched.h/conform): Likewise.
5786 (test-xfail-UNIX98/signal.h/conform): Likewise.
5787 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5788 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5789 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5790 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5791 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5792 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5793 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5794 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5795 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5796 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5797 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5798 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5799 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5800 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5801 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5802 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5803 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5804 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5805 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5806 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5807 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5808 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5809 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5810 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5811 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5812 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5813 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5814 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5815 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5816 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5817 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5818 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5819 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5820 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5821 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5822 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5823 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5824 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5825 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5826 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5827 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5828 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5829 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5830 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5831 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5832 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5833 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5834 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5835 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5836 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5837 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5838 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5839 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5840 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5841 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5842 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5843 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5844 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5845 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5846 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5847 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5848 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5849 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5850 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5851 (conformtest-cc-flags): Likewise.
5852 ($(conformtest-header-tests): New target.
5853 * conform/check-header-lists.sh: New file.
5854 * conform/run-conformtest.sh: Remove.
5856 * conform/conformtest.pl: Allow ' and \ in values given for
5858 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5860 [POSIX] (sys/types.h): Likewise.
5861 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5863 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5865 * conform/data/signal.h-data (SIGIO): Remove expectation.
5866 [XPG3] (SIGBUS): Do not expect.
5867 [POSIX || XPG3] (SIGPOLL): Likewise.
5868 [POSIX || XPG3] (SIGPROF): Likewise.
5869 [POSIX || XPG3] (SIGSYS): Likewise.
5870 [XPG3] (SIGTRAP): Likewise.
5871 [POSIX || XPG3] (SIGURG): Likewise.
5872 [POSIX || XPG3] (SIGVTALRM): Likewise.
5873 [POSIX || XPG3] (SIGXCPU): Likewise.
5874 [POSIX || XPG3] (SIGXFSZ): Likewise.
5875 [POSIX] (SA_SIGINFO): Expect.
5876 [XPG3] (siginfo_t): Do not expect type or contents.
5877 [POSIX] (si_pid): Do not expect element.
5878 [POSIX] (si_uid): Likewise.
5879 [POSIX] (si_addr): Likewise.
5880 [POSIX] (si_status): Likewise.
5881 [POSIX] (si_band): Likewise.
5882 [XPG4] (si_value): Likewise.
5883 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5884 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5885 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5886 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5887 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5888 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5889 [POSIX || XPG3] (ILL_COPROC): Likewise.
5890 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5891 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5892 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5893 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5894 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5895 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5896 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5897 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5898 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5899 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5900 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5901 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5902 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5903 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5904 [POSIX || XPG3] (CLD_EXITED): Likewise.
5905 [POSIX || XPG3] (CLD_KILLED): Likewise.
5906 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5907 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5908 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5909 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5910 [POSIX || XPG3] (POLL_IN): Likewise.
5911 [POSIX || XPG3] (POLL_OUT): Likewise.
5912 [POSIX || XPG3] (POLL_MSG): Likewise.
5913 [POSIX || XPG3] (POLL_ERR): Likewise.
5914 [POSIX || XPG3] (POLL_PRI): Likewise.
5915 [POSIX || XPG3] (POLL_HUP): Likewise.
5916 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5917 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5918 (SIG*): Do not allow.
5919 [XPG3] (si_*): Likewise.
5920 [XPG3] (SI_*): Likewise.
5921 [XPG3 || XPG4] (sigev_*): Likewise.
5922 [XPG3 || XPG4] (SIGEV_*): Likewise.
5923 [XPG3 || XPG4] (sival_*): Likewise.
5924 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5925 [POSIX || XPG3] (BUS_*): Likewise.
5926 [POSIX || XPG3] (CLD_*): Likewise.
5927 [POSIX || XPG3] (FPE_*): Likewise.
5928 [POSIX || XPG3] (ILL_*): Likewise.
5929 [POSIX || XPG3] (POLL_*): Likewise.
5930 [POSIX || XPG3] (SEGV_*): Likewise.
5931 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5932 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5933 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5934 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5935 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5936 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5937 Specify type and value.
5938 (TVERSLEN): Likewise.
5939 (REGTYPE): Likewise.
5940 (AREGTYPE): Likewise.
5941 (LNKTYPE): Likewise.
5942 (SYMTYPE): Likewise.
5943 (CHRTYPE): Likewise.
5944 (BLKTYPE): Likewise.
5945 (DIRTYPE): Likewise.
5946 (FIFOTYPE): Likewise.
5947 (CONTTYPE): Likewise.
5952 (TUWRITE): Likewise.
5955 (TGWRITE): Likewise.
5958 (TOWRITE): Likewise.
5960 [POSIX] (TSVTX): Expect constant.
5962 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5964 * Makefile (tests): Change dependencies to ....
5965 (tests-special): ... additions to this variable.
5966 (tests): Depend on $(tests-special).
5967 * Makerules (check-abi-list): New variable.
5968 (check-abi): Depend on $(check-abi-list).
5969 [$(subdir) = elf] (tests-special): Add
5970 $(objpfx)check-abi-libc.out.
5971 [$(build-shared) = yes && subdir] (tests-special): Add
5973 [$(build-shared) = yes && subdir] (tests): Do not depend on
5975 * Rules (tests): Depend on $(tests-special).
5976 (xtests): Depend on $(xtests-special).
5977 * catgets/Makefile (tests): Change dependencies to ....
5978 (tests-special): ... additions to this variable.
5979 * conform/Makefile (tests): Change dependencies to ....
5980 (tests-special): ... additions to this variable.
5981 * elf/Makefile (tests): Change dependencies to ....
5982 (tests-special): ... additions to this variable.
5983 * grp/Makefile (tests): Change dependencies to ....
5984 (tests-special): ... additions to this variable.
5985 * iconv/Makefile (xtests): Change dependencies to ....
5986 (xtests-special): ... additions to this variable.
5987 * iconvdata/Makefile (tests): Change dependencies to ....
5988 (tests-special): ... additions to this variable.
5989 * intl/Makefile (tests): Change dependencies to ....
5990 (tests-special): ... additions to this variable. Also add
5991 $(objpfx)tst-gettext.out.
5992 * io/Makefile (tests): Change dependencies to ....
5993 (tests-special): ... additions to this variable.
5994 * libio/Makefile (tests): Change dependencies to ....
5995 (tests-special): ... additions to this variable.
5996 * malloc/Makefile (tests): Change dependencies to ....
5997 (tests-special): ... additions to this variable.
5998 * misc/Makefile (tests): Change dependencies to ....
5999 (tests-special): ... additions to this variable.
6000 * nptl/Makefile (tests): Change dependencies to ....
6001 (tests-special): ... additions to this variable.
6002 * nptl_db/Makefile (tests): Change dependencies to ....
6003 (tests-special): ... additions to this variable.
6004 * posix/Makefile (tests): Change dependencies to ....
6005 (tests-special): ... additions to this variable.
6006 (xtests): Change dependencies to ....
6007 (xtests-special): ... additions to this variable.
6008 * resolv/Makefile (tests): Change dependencies to ....
6009 (tests-special): ... additions to this variable.
6010 (xtests): Change dependencies to ....
6011 (xtests-special): ... additions to this variable.
6012 * stdio-common/Makefile (tests): Change dependencies to ....
6013 (tests-special): ... additions to this variable.
6014 (do-tst-unbputc): Remove target.
6015 (do-tst-printf): Likewise.
6016 * stdlib/Makefile (tests): Change dependencies to ....
6017 (tests-special): ... additions to this variable.
6018 * string/Makefile (tests): Change dependencies to ....
6019 (tests-special): ... additions to this variable.
6020 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6021 (tests-special): ... additions to this variable.
6023 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6025 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6027 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6028 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6030 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6031 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6032 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6033 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6034 * conform/data/libgen.h-data [XPG3]: Likewise.
6035 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6036 * conform/data/ndbm.h-data [XPG3]: Likewise.
6037 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6038 * conform/data/netdb.h-data [XPG3]: Likewise.
6039 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6040 * conform/data/poll.h-data [XPG3]: Likewise.
6041 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6042 * conform/data/strings.h-data [XPG3]: Likewise.
6043 * conform/data/stropts.h-data [XPG3]: Likewise.
6044 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6045 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6046 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6048 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6049 * conform/data/sys/time.h-data [XPG3]: Likewise.
6050 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6051 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6052 * conform/data/sys/un.h-data [XPG3]: Likewise.
6053 * conform/data/syslog.h-data [XPG3]: Likewise.
6054 * conform/data/ucontext.h-data [XPG3]: Likewise.
6055 * conform/data/utmpx.h-data [XPG3]: Likewise.
6056 * conform/data/varargs.h-data [UNIX98]: Enable file.
6058 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6060 * math/libm-test.inc (struct test_f_f_data): Move expected results
6061 into structure for each rounding mode.
6062 (struct test_ff_f_data): Likewise.
6063 (struct test_ff_f_data_nexttoward): Likewise.
6064 (struct test_fi_f_data): Likewise.
6065 (struct test_fl_f_data): Likewise.
6066 (struct test_if_f_data): Likewise.
6067 (struct test_fff_f_data): Likewise.
6068 (struct test_c_f_data): Likewise.
6069 (struct test_f_f1_data): Likewise.
6070 (struct test_fF_f1_data): Likewise.
6071 (struct test_ffI_f1_data): Likewise.
6072 (struct test_c_c_data): Likewise.
6073 (struct test_cc_c_data): Likewise.
6074 (struct test_f_i_data): Likewise.
6075 (struct test_ff_i_data): Likewise.
6076 (struct test_f_l_data): Likewise.
6077 (struct test_f_L_data): Likewise.
6078 (struct test_fFF_11_data): Likewise.
6080 (RM_FE_DOWNWARD): Likewise.
6081 (RM_FE_TONEAREST): Likewise.
6082 (RM_FE_TOWARDZERO): Likewise.
6083 (RM_FE_UPWARD): Likewise.
6084 (RUN_TEST_LOOP_f_f): Update references to expected results.
6085 (RUN_TEST_LOOP_2_f): Likewise.
6086 (RUN_TEST_LOOP_fff_f): Likewise.
6087 (RUN_TEST_LOOP_c_f): Likewise.
6088 (RUN_TEST_LOOP_f_f1): Likewise.
6089 (RUN_TEST_LOOP_fF_f1): Likewise.
6090 (RUN_TEST_LOOP_fI_f1): Likewise.
6091 (RUN_TEST_LOOP_ffI_f1): Likewise.
6092 (RUN_TEST_LOOP_c_c): Likewise.
6093 (RUN_TEST_LOOP_cc_c): Likewise.
6094 (RUN_TEST_LOOP_f_i): Likewise.
6095 (RUN_TEST_LOOP_f_i_tg): Likewise.
6096 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6097 (RUN_TEST_LOOP_f_b): Likewise.
6098 (RUN_TEST_LOOP_f_b_tg): Likewise.
6099 (RUN_TEST_LOOP_f_l): Likewise.
6100 (RUN_TEST_LOOP_f_L): Likewise.
6101 (RUN_TEST_LOOP_fFF_11): Likewise.
6102 * math/gen-libm-test.pl (parse_args): Output four copies of
6103 expected results for each test.
6105 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6106 (__ASSUME_UTIMES): Remove.
6107 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6108 (__ASSUME_UTIMES): Likewise.
6110 * math/gen-auto-libm-tests.c: Update comment on output format.
6111 (output_for_one_input_case): Generate before-rounding and
6112 after-rounding information as conditions on output flags not
6113 floating-point format.
6114 * math/auto-libm-test-out: Regenerated.
6115 * math/gen-libm-test.pl (cond_value): New function.
6116 (or_cond_value): Use cond_value.
6117 (generate_testfile): Handle conditional exceptions.
6119 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6121 * math/libm-test.inc (max_valid_error): New variable.
6122 (init_max_error): Take new argument specifying whether function
6123 results are exactly determined. Set max_valid_error and bound
6124 other variables for errors based on this argument.
6125 (set_max_error): Do not record results above max_valid_error.
6126 (check_float_internal): Only accept errors of up to 0.5ulps if
6127 also at most max_valid_error.
6128 (START): Take new argument EXACT and pass it to init_max_error.
6129 (acos_test): Update call to START.
6130 (acos_test_tonearest): Likewise.
6131 (acos_test_towardzero): Likewise.
6132 (acos_test_downward): Likewise.
6133 (acos_test_upward): Likewise.
6134 (acosh_test): Likewise.
6135 (asin_test): Likewise.
6136 (asin_test_tonearest): Likewise.
6137 (asin_test_towardzero): Likewise.
6138 (asin_test_downward): Likewise.
6139 (asin_test_upward): Likewise.
6140 (asinh_test): Likewise.
6141 (atan_test): Likewise.
6142 (atanh_test): Likewise.
6143 (atan2_test): Likewise.
6144 (cabs_test): Likewise.
6145 (cacos_test): Likewise.
6146 (cacosh_test): Likewise.
6147 (carg_test): Likewise.
6148 (casin_test): Likewise.
6149 (casinh_test): Likewise.
6150 (catan_test): Likewise.
6151 (catanh_test): Likewise.
6152 (cbrt_test): Likewise.
6153 (ccos_test): Likewise.
6154 (ccosh_test): Likewise.
6155 (ceil_test): Likewise.
6156 (cexp_test): Likewise.
6157 (cimag_test): Likewise.
6158 (clog_test): Likewise.
6159 (clog10_test): Likewise.
6160 (conj_test): Likewise.
6161 (copysign_test): Likewise.
6162 (cos_test): Likewise.
6163 (cos_test_tonearest): Likewise.
6164 (cos_test_towardzero): Likewise.
6165 (cos_test_downward): Likewise.
6166 (cos_test_upward): Likewise.
6167 (cosh_test): Likewise.
6168 (cosh_test_tonearest): Likewise.
6169 (cosh_test_towardzero): Likewise.
6170 (cosh_test_downward): Likewise.
6171 (cosh_test_upward): Likewise.
6172 (cpow_test): Likewise.
6173 (cproj_test): Likewise.
6174 (creal_test): Likewise.
6175 (csin_test): Likewise.
6176 (csinh_test): Likewise.
6177 (csqrt_test): Likewise.
6178 (ctan_test): Likewise.
6179 (ctan_test_tonearest): Likewise.
6180 (ctan_test_towardzero): Likewise.
6181 (ctan_test_downward): Likewise.
6182 (ctan_test_upward): Likewise.
6183 (ctanh_test): Likewise.
6184 (ctanh_test_tonearest): Likewise.
6185 (ctanh_test_towardzero): Likewise.
6186 (ctanh_test_downward): Likewise.
6187 (ctanh_test_upward): Likewise.
6188 (erf_test): Likewise.
6189 (erfc_test): Likewise.
6190 (exp_test): Likewise.
6191 (exp_test_tonearest): Likewise.
6192 (exp_test_towardzero): Likewise.
6193 (exp_test_downward): Likewise.
6194 (exp_test_upward): Likewise.
6195 (exp10_test): Likewise.
6196 (exp10_test_tonearest): Likewise.
6197 (exp10_test_towardzero): Likewise.
6198 (exp10_test_downward): Likewise.
6199 (exp10_test_upward): Likewise.
6200 (pow10_test): Likewise.
6201 (exp2_test): Likewise.
6202 (expm1_test): Likewise.
6203 (expm1_test_tonearest): Likewise.
6204 (expm1_test_towardzero): Likewise.
6205 (expm1_test_downward): Likewise.
6206 (expm1_test_upward): Likewise.
6207 (fabs_test): Likewise.
6208 (fdim_test): Likewise.
6209 (floor_test): Likewise.
6210 (fma_test): Likewise.
6211 (fma_test_towardzero): Likewise.
6212 (fma_test_downward): Likewise.
6213 (fma_test_upward): Likewise.
6214 (fmax_test): Likewise.
6215 (fmin_test): Likewise.
6216 (fmod_test): Likewise.
6217 (fpclassify_test): Likewise.
6218 (frexp_test): Likewise.
6219 (hypot_test): Likewise.
6220 (ilogb_test): Likewise.
6221 (isfinite_test): Likewise.
6222 (finite_test): Likewise.
6223 (isgreater_test): Likewise.
6224 (isgreaterequal_test): Likewise.
6225 (isinf_test): Likewise.
6226 (isless_test): Likewise.
6227 (islessequal_test): Likewise.
6228 (islessgreater_test): Likewise.
6229 (isnan_test): Likewise.
6230 (isnormal_test): Likewise.
6231 (issignaling_test): Likewise.
6232 (isunordered_test): Likewise.
6233 (j0_test): Likewise.
6234 (j1_test): Likewise.
6235 (jn_test): Likewise.
6236 (ldexp_test): Likewise.
6237 (lgamma_test): Likewise.
6238 (gamma_test): Likewise.
6239 (lrint_test): Likewise.
6240 (lrint_test_tonearest): Likewise.
6241 (lrint_test_towardzero): Likewise.
6242 (lrint_test_downward): Likewise.
6243 (lrint_test_upward): Likewise.
6244 (llrint_test): Likewise.
6245 (llrint_test_tonearest): Likewise.
6246 (llrint_test_towardzero): Likewise.
6247 (llrint_test_downward): Likewise.
6248 (llrint_test_upward): Likewise.
6249 (log_test): Likewise.
6250 (log10_test): Likewise.
6251 (log1p_test): Likewise.
6252 (log2_test): Likewise.
6253 (logb_test): Likewise.
6254 (logb_test_downward): Likewise.
6255 (lround_test): Likewise.
6256 (llround_test): Likewise.
6257 (modf_test): Likewise.
6258 (nearbyint_test): Likewise.
6259 (nextafter_test): Likewise.
6260 (nexttoward_test): Likewise.
6261 (pow_test): Likewise.
6262 (pow_test_tonearest): Likewise.
6263 (pow_test_towardzero): Likewise.
6264 (pow_test_downward): Likewise.
6265 (pow_test_upward): Likewise.
6266 (remainder_test): Likewise.
6267 (drem_test): Likewise.
6268 (remainder_test_tonearest): Likewise.
6269 (drem_test_tonearest): Likewise.
6270 (remainder_test_towardzero): Likewise.
6271 (drem_test_towardzero): Likewise.
6272 (remainder_test_downward): Likewise.
6273 (drem_test_downward): Likewise.
6274 (remainder_test_upward): Likewise.
6275 (drem_test_upward): Likewise.
6276 (remquo_test): Likewise.
6277 (rint_test): Likewise.
6278 (rint_test_tonearest): Likewise.
6279 (rint_test_towardzero): Likewise.
6280 (rint_test_downward): Likewise.
6281 (rint_test_upward): Likewise.
6282 (round_test): Likewise.
6283 (scalb_test): Likewise.
6284 (scalbn_test): Likewise.
6285 (scalbln_test): Likewise.
6286 (signbit_test): Likewise.
6287 (sin_test): Likewise.
6288 (sin_test_tonearest): Likewise.
6289 (sin_test_towardzero): Likewise.
6290 (sin_test_downward): Likewise.
6291 (sin_test_upward): Likewise.
6292 (sincos_test): Likewise.
6293 (sinh_test): Likewise.
6294 (sinh_test_tonearest): Likewise.
6295 (sinh_test_towardzero): Likewise.
6296 (sinh_test_downward): Likewise.
6297 (sinh_test_upward): Likewise.
6298 (sqrt_test): Likewise.
6299 (sqrt_test_tonearest): Likewise.
6300 (sqrt_test_towardzero): Likewise.
6301 (sqrt_test_downward): Likewise.
6302 (sqrt_test_upward): Likewise.
6303 (tan_test): Likewise.
6304 (tan_test_tonearest): Likewise.
6305 (tan_test_towardzero): Likewise.
6306 (tan_test_downward): Likewise.
6307 (tan_test_upward): Likewise.
6308 (tanh_test): Likewise.
6309 (tgamma_test): Likewise.
6310 (trunc_test): Likewise.
6311 (y0_test): Likewise.
6312 (y1_test): Likewise.
6313 (yn_test): Likewise.
6314 (significand_test): Likewise.
6316 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6317 individual tests in comment.
6318 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6319 (prev_max_error): New variable.
6320 (prev_real_max_error): Likewise.
6321 (prev_imag_max_error): Likewise.
6322 (compare_ulp_data): Don't refer to test names in comment.
6323 (find_test_ulps): Remove function.
6324 (find_function_ulps): Likewise.
6325 (find_complex_function_ulps): Likewise.
6326 (init_max_error): Take function name as argument. Look up ulps
6328 (print_ulps): Remove function.
6329 (print_max_error): Use prev_max_error instead of calling
6331 (print_complex_max_error): Use prev_real_max_error and
6332 prev_imag_max_error instead of calling find_complex_function_ulps.
6333 (check_float_internal): Take max_ulp parameter instead of calling
6334 find_test_ulps. Don't call print_ulps.
6335 (check_float): Update call to check_float_internal.
6336 (check_complex): Update calls to check_float_internal.
6337 (START): Pass argument to init_max_error.
6338 * math/gen-libm-test.pl (%results): Don't include "kind"
6340 (parse_ulps): Don't handle ulps of individual tests.
6341 (print_ulps_file): Likewise.
6342 (output_ulps): Likewise.
6343 * math/README.libm-test: Update.
6344 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6346 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6347 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6348 * sysdeps/arm/libm-test-ulps: Likewise.
6349 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6350 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6351 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6352 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6353 * sysdeps/microblaze/libm-test-ulps: Likewise.
6354 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6355 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6356 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6357 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6358 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6359 * sysdeps/sh/libm-test-ulps: Likewise.
6360 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6361 * sysdeps/tile/libm-test-ulps: Likewise.
6362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6364 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6366 * math/libm-test.inc (print_complex_max_error): Check separately
6367 whether real and imaginary errors are within allowed range and
6368 pass 0 to print_complex_function_ulps instead of value within
6371 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6373 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6375 (get_handles_fopen): Likewise.
6376 (do_write_test): Likewise.
6378 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6380 * libio/fileops.c (do_ftell): Use cached offset when
6382 * libio/iofwide.c (do_ftell_wide): Likewise.
6383 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6385 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6388 * libio/libioP.h (get_file_offset): New function.
6389 * libio/fileops.c (get_file_offset): Likewise.
6390 (do_ftell): Likewise.
6391 (_IO_new_file_seekoff): Split out ftell logic.
6392 * libio/wfileops.c (do_ftell_wide): Likewise.
6393 (_IO_wfile_seekoff): Split out ftell logic.
6394 * libio/tst-ftell-active-handler.c: New test case.
6395 * libio/Makefile (tests): Add it.
6397 2014-03-03 Roland McGrath <roland@hack.frob.com>
6399 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6400 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6402 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6405 * nscd/connections.c (nscd_init): Call do_exit.
6406 (start_threads): Call do_exit and notify_parent.
6407 (begin_drop_privileges): Call do_exit.
6408 (finish_drop_privileges): Likewise.
6409 * nscd/selinux.c (preserve_capabilities): Likewise.
6410 (install_real_capabilities): Likewise.
6411 (nscd_selinux_enabled): Likewise.
6412 (avc_create_thread): Likewise.
6413 (avc_alloc_lock): Likewise.
6414 (nscd_avc_init): Likewise.
6415 * nscd/nscd.c (parent_fd): New static variable.
6416 (main): Create a pipe between parent and child processes.
6417 Skip closing parent_fd.
6418 (monitor_child): New function.
6419 (do_exit): Likewise.
6420 (notify_parent): Likewise.
6421 * nscd/nscd.h (notify_parent): Likewise.
6422 (do_exit): Likewise.
6424 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6426 * malloc/malloc.c (__libc_calloc): Revert last change.
6428 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6432 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6434 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6438 (__libc_ifunc_impl_list): Likewise.
6439 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6440 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6441 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6442 * string/strrchr.c: Define STRRCHR.
6444 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6446 * benchtest/bench-strtok.c (simple_strtok): Delete.
6447 (strtok_string): Use as benchmark.
6448 * string/strtok (STRTOK): New macro.
6450 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6452 * manual/threads.texi: Add header and standard comments to all
6455 * elf/dl-lookup.c (check_match): New function.
6456 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6457 (do_lookup_x): Remove nested function check_match. Use non-nested
6458 function check_match.
6460 2014-02-28 Roland McGrath <roland@hack.frob.com>
6462 * csu/Makefile (generated, before-compile): Use += rather than =.
6463 * catgets/Makefile (generated, generated-dirs): Likewise.
6464 * debug/Makefile (generated): Likewise.
6465 * dlfcn/Makefile (generated): Likewise.
6466 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6467 * iconvdata/Makefile (before-compile, generated): Likewise.
6468 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6469 * libio/Makefile (generated): Likewise.
6470 * malloc/Makefile (generated): Likewise.
6471 * manual/Makefile (generated, generated-dirs): Likewise.
6472 * misc/Makefile (generated): Likewise.
6473 * posix/Makefile (generated): Likewise.
6474 * resolv/Makefile (generated): Likewise.
6475 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6476 * timezone/Makefile (generated, generated-dirs): Likewise.
6478 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6480 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6483 power8 implementation.
6484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6485 file: POWER8 llround ifunc implementation.
6486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6487 (__lllround): Add POWER8 implementation.
6488 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6489 POWER8 llround implementation.
6491 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6492 power8 implementation.
6493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6494 file: POWER8 llrint ifunc implementation.
6495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6496 Add POWER8 implementation.
6497 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6498 POWER8 llrint implementation.
6500 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6501 power8 implementation.
6502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6503 file: POWER8 finite ifunc implementation.
6504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6505 Add POWER8 implementation.
6506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6508 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6509 POWER8 finite implementation.
6510 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6513 power8 implementation.
6514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6515 file: POWER8 isinf ifunc implementation.
6516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6517 POWER8 implementation.
6518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6520 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6521 isinf implementation.
6522 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6524 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6525 (INIT_ARCH): Add hwcap2 initialization.
6526 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6527 power8 implementation.
6528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6529 file: POWER8 isnan ifunc implementation.
6530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6531 POWER8 implementation.
6532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6534 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6535 isnan implementation.
6536 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6538 2014-02-27 Joey Ye <joey.ye@arm.com>
6540 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6541 (_FP_NANFRAC_Q): Set to zero.
6543 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6546 * math/auto-libm-test-in: New test inputs.
6547 * math/auto-libm-test-out: Regenerate.
6548 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6551 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6553 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6555 * scripts/evaluate-test.sh: Take new argument indicating whether
6556 failure is expected.
6557 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6558 indicating whether failure is expected.
6559 * conform/Makefile (test-xfail-run-conformtest): New variable.
6560 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6562 * posix/Makefile (test-xfail-annexc): New variable.
6563 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6565 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6567 * argp/Makefile: Include Makeconfig immediately after defining
6569 * assert/Makefile: Likewise.
6570 * benchtests/Makefile: Likewise.
6571 * catgets/Makefile: Likewise.
6572 * conform/Makefile: Likewise.
6573 * crypt/Makefile: Likewise.
6574 * csu/Makefile: Likewise.
6575 (all): Remove target.
6576 * ctype/Makefile: Include Makeconfig immediately after defining
6578 * debug/Makefile: Likewise.
6579 * dirent/Makefile: Likewise.
6580 * dlfcn/Makefile: Likewise.
6581 * gmon/Makefile: Likewise.
6582 * gnulib/Makefile: Likewise.
6583 * grp/Makefile: Likewise.
6584 * gshadow/Makefile: Likewise.
6585 * hesiod/Makefile: Likewise.
6586 * hurd/Makefile: Likewise.
6587 (all): Remove target.
6588 * iconvdata/Makefile: Include Makeconfig immediately after
6590 * inet/Makefile: Likewise.
6591 * intl/Makefile: Likewise.
6592 * io/Makefile: Likewise.
6593 * libio/Makefile: Likewise.
6594 (all): Remove target.
6595 * locale/Makefile: Include Makeconfig immediately after defining
6597 * login/Makefile: Likewise.
6598 * mach/Makefile: Likewise.
6599 (all): Remove target.
6600 * malloc/Makefile: Include Makeconfig immediately after defining
6602 (all): Remove target.
6603 * manual/Makefile: Include Makeconfig immediately after defining
6605 * math/Makefile: Likewise.
6606 * misc/Makefile: Likewise.
6607 * nis/Makefile: Likewise.
6608 * nss/Makefile: Likewise.
6609 * po/Makefile: Likewise.
6610 (all): Remove target.
6611 * posix/Makefile: Include Makeconfig immediately after defining
6613 * pwd/Makefile: Likewise.
6614 * resolv/Makefile: Likewise.
6615 * resource/Makefile: Likewise.
6616 * rt/Makefile: Likewise.
6617 * setjmp/Makefile: Likewise.
6618 * shadow/Makefile: Likewise.
6619 * signal/Makefile: Likewise.
6620 * socket/Makefile: Likewise.
6621 * soft-fp/Makefile: Likewise.
6622 * stdio-common/Makefile: Likewise.
6623 * stdlib/Makefile: Likewise.
6624 * streams/Makefile: Likewise.
6625 * string/Makefile: Likewise.
6626 * sunrpc/Makefile: Likewise.
6627 (all): Remove target.
6628 * sysvipc/Makefile: Include Makeconfig immediately after defining
6630 * termios/Makefile: Likewise.
6631 * time/Makefile: Likewise.
6632 * timezone/Makefile: Likewise.
6633 (all): Remove target.
6634 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6636 * wctype/Makefile: Likewise.
6638 2014-02-26 Steve Ellcey <sellcey@mips.com>
6640 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6641 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6642 (libc_feholdexcept_setround_mips): Ditto.
6643 (libc_feholdsetround): New.
6644 (libc_feholdsetroundf): New.
6645 (libc_feholdsetroundl): New.
6646 (libc_feupdateenv_test_mips): New.
6647 (libc_feupdateenv_test): New.
6648 (libc_feupdateenv_testf): New.
6649 (libc_feupdateenv_testl): New.
6650 (libc_feresetround): New.
6651 (libc_feresetroundf): New.
6652 (libc_feresetroundl): New.
6653 (libc_fetestexcept_mips): New.
6654 (libc_fetestexcept): New.
6655 (libc_fetestexceptf): New.
6656 (libc_fetestexceptl): New.
6658 (libc_feholdexcept_setround_mips_ctx): New.
6659 (libc_feholdexcept_setround_ctx): New.
6660 (libc_feholdexcept_setroundf_ctx): New.
6661 (libc_feholdexcept_setroundl_ctx): New.
6662 (libc_fesetenv_mips_ctx): New.
6663 (libc_fesetenv_ctx): New.
6664 (libc_fesetenv_ctxf): New.
6665 (libc_fesetenv_ctxl): New.
6666 (libc_feupdateenv_mips_ctx): New.
6667 (libc_feupdateenv_ctx): New.
6668 (libc_feupdateenvf_ctx): New.
6669 (libc_feupdateenvl_ctx): New.
6670 (libc_feholdsetround_mips_ctx): New.
6671 (libc_feholdsetround_ctx): New.
6672 (libc_feholdsetroundf_ctx): New.
6673 (libc_feholdsetroundl_ctx): New.
6674 (libc_feresetround_mips_ctx): New.
6675 (libc_feresetround_ctx): New.
6676 (libc_feresetroundf_ctx): New.
6677 (libc_feresetroundl_ctx): New.
6679 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6681 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6683 * manual/ipc.texi: New file.
6684 * manual/Makefile (chapters): Add ipc.
6685 * manual/job.texi: Add "Inter-Process Communication" to next.
6686 * manual/process.texi: Add "Inter-Process Communication" to prev.
6688 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6692 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6694 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6696 * manual/arith.texi: Fix spaces after sentences.
6697 * manual/charset.texi: Likewise.
6698 * manual/errno.texi: Likewise.
6699 * manual/install.texi: Likewise.
6700 * manual/llio.texi: Likewise.
6701 * manual/locale.texi: Likewise.
6702 * manual/maint.texi: Likewise.
6703 * manual/math.texi: Likewise.
6704 * manual/memory.texi: Likewise.
6705 * manual/message.texi: Likewise.
6706 * manual/probes.texi: Likewise.
6707 * manual/resource.texi: Likewise.
6708 * manual/signal.texi: Likewise.
6709 * manual/socket.texi: Likewise.
6710 * manual/stdio.texi: Likewise.
6711 * manual/string.texi: Likewise.
6712 * manual/time.texi: Likewise.
6713 * manual/users.texi: Likewise.
6715 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6718 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6719 _DEFAULT_SOURCE is defined.
6721 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6722 Carlos O'Donell <carlos@redhat.com>
6725 * elf/dl-tls.c (_dl_count_modids): New function.
6726 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6727 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6728 audit library and increment generation counter.
6729 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6730 * elf/tst-audit9.c: New file.
6731 * elf/tst-auditmod9a.c: New file.
6732 * elf/tst-auditmod9b.c: New file.
6733 * elf/Makefile: Add rules to build and run tst-audit9.
6735 2014-02-25 Florian Weimer <fweimer@redhat.com>
6738 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6740 2014-02-25 Will Newton <will.newton@linaro.org>
6742 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6743 (__longjmp): Restore sp and lr before restoring callee
6744 saved registers. Add longjmp and longjmp_target
6745 SystemTap probe point.
6746 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6747 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6748 Define to zero to match jmpbuf layout.
6749 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6750 (__sigsetjmp): Save sp and lr before saving callee
6751 saved registers. Add setjmp SystemTap probe point.
6753 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6755 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6757 2014-02-24 Andreas Schwab <schwab@suse.de>
6760 * elf/pldd.c (wait_for_ptrace_stop): New function.
6761 (main): Call it after attaching.
6763 2014-02-22 Roland McGrath <roland@hack.frob.com>
6765 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6766 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6767 Versions files is now verboten.
6768 * hurd/Versions (libc: GLIBC_2.0):
6769 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6770 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6771 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6772 * mach/Versions: Likewise.
6774 * csu/Versions: Remove unused %include.
6775 * resolv/Versions: Likewise.
6777 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6779 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6780 ($(objpfx)check-local-headers.out): Likewise.
6781 ($(objpfx)begin-end-check.out): Likewise.
6782 * Makerules (check-abi-%.out): Likewise.
6783 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6784 ($(objpfx)test2.cat): Likewise.
6785 ($(objpfx)de/libc.cat): Likewise.
6786 ($(objpfx)test-gencat.out): Likewise.
6787 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6788 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6789 ($(objpfx)noload-mem): Likewise.
6790 ($(objpfx)tst-pathopt.out): Likewise.
6791 ($(objpfx)tst-rtld-load-self.out): Likewise.
6792 ($(objpfx)tst-array1-cmp.out): Likewise.
6793 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6794 ($(objpfx)tst-array2-cmp.out): Likewise.
6795 ($(objpfx)tst-array3-cmp.out): Likewise.
6796 ($(objpfx)tst-array4-cmp.out): Likewise.
6797 ($(objpfx)tst-array5-cmp.out): Likewise.
6798 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6799 ($(objpfx)check-textrel.out): Likewise.
6800 ($(objpfx)check-execstack.out): Likewise.
6801 ($(objpfx)check-localplt.out): Likewise.
6802 ($(objpfx)order2-cmp.out): Likewise.
6803 ($(objpfx)tst-leaks1-mem): Likewise.
6804 ($(objpfx)tst-leaks1-static-mem): Likewise.
6805 ($(objpfx)tst-initorder-cmp.out): Likewise.
6806 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6807 ($(objpfx)tst-unused-dep.out): Likewise.
6808 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6809 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6810 * iconv/Makefile (test-iconvconfig): Likewise.
6811 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6812 ($(objpfx)iconv-test.out): Likewise.
6813 ($(objpfx)tst-tables.out): Likewise.
6814 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6815 ($(objpfx)tst-gettext.out): Likewise.
6816 ($(objpfx)tst-translit.out): Likewise.
6817 ($(objpfx)tst-gettext2.out): Likewise.
6818 ($(objpfx)tst-gettext4.out): Likewise.
6819 ($(objpfx)tst-gettext6.out): Likewise.
6820 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6821 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6822 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6823 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6824 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6825 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6826 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6827 ($(objpfx)wordexp-tst.out): Likewise.
6828 ($(objpfx)annexc.out): Likewise.
6829 ($(objpfx)tst-fnmatch-mem): Likewise.
6830 ($(objpfx)bug-regex2-mem): Likewise.
6831 ($(objpfx)bug-regex14-mem): Likewise.
6832 ($(objpfx)bug-regex21-mem): Likewise.
6833 ($(objpfx)bug-regex31-mem): Likewise.
6834 ($(objpfx)tst-vfork3-mem): Likewise.
6835 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6836 ($(objpfx)tst-pcre-mem): Likewise.
6837 ($(objpfx)tst-boost-mem): Likewise.
6838 ($(objpfx)tst-getconf.out): Likewise.
6839 ($(objpfx)bug-ga2-mem): Likewise.
6840 ($(objpfx)bug-glob2-mem): Likewise.
6841 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6842 ($(objpfx)mtrace-tst-leaks2): Likewise.
6843 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6844 ($(objpfx)tst-printf.out): Likewise.
6845 ($(objpfx)tst-setvbuf1.out): Likewise.
6846 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6847 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6848 ($(objpfx)tst-fmtmsg.out): Likewise.
6849 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6850 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6852 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6853 * bits/sigaction.h [__USE_MISC]: Likewise.
6854 * bits/waitstatus.h: Update #endif comments.
6855 * ctype/ctype.h: Likewise.
6856 * dirent/dirent.h: Likewise.
6857 [__USE_MISC]: Remove redundant conditionals.
6858 * grp/grp.h: Update #endif comments.
6859 [__USE_GNU]: Remove redundant conditionals.
6860 [__USE_MISC]: Likewise.
6861 * inet/netinet/in.h [__USE_GNU]: Likewise.
6862 * io/sys/stat.h [__USE_MISC]: Likewise.
6863 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6864 * libio/bits/stdio.h: Update #endif comments.
6865 [__USE_MISC]: Remove redundant conditionals.
6866 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6867 * libio/stdio.h: Update #endif comments.
6868 [__USE_MISC]: Remove redundant conditionals.
6869 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6870 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6871 * math/math.h: Update #else and #endif comments.
6872 [__USE_MISC]: Remove redundant conditionals.
6873 * misc/sys/uio.h: Update #endif comments.
6874 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6875 * posix/glob.h [__USE_MISC]: Likewise.
6876 * posix/sys/types.h: Update #endif comments.
6877 [__USE_MISC]: Remove redundant conditionals.
6878 * posix/sys/wait.h: Update #endif comments.
6879 [__USE_MISC]: Remove redundant conditionals.
6880 * posix/unistd.h: Update #endif comments.
6881 [__USE_MISC]: Remove redundant conditionals.
6882 * pwd/pwd.h [__USE_GNU]: Likewise.
6883 [__USE_MISC]: Likewise.
6884 * resolv/netdb.h [__USE_GNU]: Likewise.
6885 * signal/signal.h: Update #endif comments.
6886 [__USE_MISC]: Remove redundant conditionals.
6887 * stdlib/stdlib.h: Update #else and #endif comments.
6888 [__USE_MISC]: Remove redundant conditionals.
6889 [__USE_GNU]: Likewise.
6890 * string/bits/string2.h [__USE_MISC]: Likewise.
6891 * string/string.h: Update #endif comments.
6892 [__USE_MISC]: Remove redundant conditionals.
6893 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6895 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6896 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6897 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6899 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6901 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6903 [__USE_MISC]: Remove redundant conditionals.
6904 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6905 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6906 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6907 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6908 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6910 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6911 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6913 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6914 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6916 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6918 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6919 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6921 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6923 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6924 * sysdeps/x86/bits/string.h: Update #endif comments.
6925 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6927 * time/sys/time.h: Update #endif comments.
6928 * time/time.h: Likewise.
6929 [__USE_MISC]: Remove redundant conditionals.
6931 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6934 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6936 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6938 * Versions.def (librt): Add GLIBC_2.17.
6940 2014-02-21 Adam Conrad <adconrad@0c3.net>
6942 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6943 synonym for _SYS_AUXV_H to allow direct inclusion.
6944 * sysdeps/sparc/bits/hwcap.h: Likewise.
6945 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6946 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6947 * sysdeps/sparc/sysdep.h: Likewise.
6949 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6951 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6953 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6955 * benchtests/bench-strrchr.c: Print length instead of position.
6957 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6960 * sysdeps/unix/sysv/linux/kernel-features.h
6961 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6962 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6963 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6964 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6966 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6967 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6968 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6969 (__ASSUME_SENDMMSG): Define instead of using previous
6970 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6971 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6972 (__ASSUME_SENDMMSG_SYSCALL): Define.
6973 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6974 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6976 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6977 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6979 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6980 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6982 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6983 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6984 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6985 [__ASSUME_SENDMMSG]: Change conditionals to
6986 [__ASSUME_SENDMMSG_SOCKETCALL].
6987 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6988 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6990 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6991 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6993 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6994 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6995 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6996 [!__ASSUME_SENDMMSG]: Change conditional to
6997 [!__ASSUME_SENDMMSG_SOCKETCALL].
6998 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6999 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7003 * sysdeps/unix/sysv/linux/kernel-features.h
7004 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7005 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7006 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7007 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7008 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7009 [__i386__ || __sparc__]
7010 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7011 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7012 (__ASSUME_RECVMMSG): Define instead of using previous
7013 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7014 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7015 (__ASSUME_RECVMMSG_SYSCALL): Define.
7016 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7017 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7019 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7020 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7022 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7023 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7025 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7026 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7027 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7028 [__ASSUME_RECVMMSG]: Change condition to
7029 [__ASSUME_RECVMMSG_SOCKETCALL].
7030 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7031 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7033 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7034 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7035 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7037 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7038 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7039 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7040 [!__ASSUME_RECVMMSG]: Change condition to
7041 [!__ASSUME_RECVMMSG_SOCKETCALL].
7042 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7043 (__ASSUME_RECVMMSG_SYSCALL): Define.
7046 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7047 __powerpc__ || __s390__ || __sh__ || __sparc__]
7048 (__ASSUME_SOCKETCALL): Define.
7049 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7050 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7051 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7052 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7053 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7054 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7055 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7056 (__ASSUME_ACCEPT4): Define instead of using previous
7057 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7058 __powerpc__ || __sparc__ || __s390__)] condition.
7059 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7060 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7061 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7062 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7063 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7064 [!__ASSUME_ACCEPT4]: Change condition to
7065 [!__ASSUME_ACCEPT4_SOCKETCALL].
7066 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7067 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7068 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7069 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7070 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7071 __ASSUME_ACCEPT4_SYSCALL.
7072 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7073 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7074 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7075 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7076 __ASSUME_ACCEPT4_SYSCALL.
7077 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7078 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7079 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7080 [__ASSUME_ACCEPT4]: Change condition to
7081 [__ASSUME_ACCEPT4_SOCKETCALL].
7082 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7083 (__ASSUME_SOCKETCALL): Define.
7084 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7085 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7086 (__ASSUME_SOCKETCALL): Define.
7087 (__ASSUME_ACCEPT4): Remove.
7088 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7090 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7091 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7093 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7094 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7096 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7098 (HWCAP_ARM_LPAE): Likewise.
7099 (HWCAP_ARM_EVTSTRM): Likewise.
7100 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7101 Add vpfd32, lpae and evtstrm.
7102 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7105 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7107 * math/auto-libm-test-in: Add tests of clog10.
7108 * math/auto-libm-test-out: Regenerated.
7109 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7110 * sysdeps/i386/fpu/libm-test-ulps: Update.
7111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7113 2014-02-18 Andreas Schwab <schwab@suse.de>
7116 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7117 Store non-zero if the second buffer was newly allocated.
7118 (send_dg): Likewise.
7119 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7120 to send_vc and send_dg.
7121 (res_nsend): Pass NULL for ansp2_malloced.
7122 * resolv/res_query.c (__libc_res_nquery): Add parameter
7123 answerp2_malloced and pass it down to __libc_res_nsend.
7124 (res_nquery): Pass additional NULL to __libc_res_nquery.
7125 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7126 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7127 second answer buffer if answerp2_malloced was set.
7128 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7129 (__libc_res_nquerydomain): Add parameter
7130 answerp2_malloced and pass it down to __libc_res_nquery.
7131 (res_nquerydomain): Pass additional NULL to
7132 __libc_res_nquerydomain.
7133 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7134 additional NULL to __libc_res_nsend and __libc_res_nquery.
7135 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7136 additional NULL to __libc_res_nsearch.
7137 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7138 parameter of __libc_res_nsearch to check for separately allocated
7140 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7142 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7143 additional NULL to __libc_res_nquery.
7144 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7146 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7147 * include/resolv.h: Update prototypes of __libc_res_nquery,
7148 __libc_res_nsearch, __libc_res_nsend.
7150 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7152 * math/auto-libm-test-in: Add tests of fma.
7153 * math/auto-libm-test-out: Regenerated.
7154 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7155 (fma_towardzero_test_data): Likewise.
7156 (fma_downward_test_data): Likewise.
7157 (fma_upward_test_data): Likewise.
7158 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7160 (rounding_modes): Add values for new field.
7161 (func_calc_method): Add value mpfr_fff_f.
7162 (func_calc_desc): Add mpfr_fff_f union field.
7163 (test_function): Add field exact_args.
7164 (FUNC): Add macro argument EXACT_ARGS.
7165 (FUNC_mpfr_f_f): Update call to FUNC.
7166 (FUNC_mpfr_f_f): Likewise.
7167 (FUNC_mpfr_ff_f): Likewise.
7168 (FUNC_mpfr_if_f): Likewise.
7169 (FUNC_mpc_c_f): Likewise.
7170 (FUNC_mpc_c_c): Likewise.
7171 (test_functions): Add fma. Update calls to FUNC.
7172 (handle_input_arg): Add argument exact_args.
7173 (add_test): Update call to handle_input_arg.
7174 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7175 (output_for_one_input_case): Update call to calc_generic_results.
7176 Recalculate exact zero results in each rounding mode.
7178 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7179 non-negative before setting low bit.
7180 * math/auto-libm-test-in: Mark one asin test possibly having
7182 * math/auto-libm-test-out: Regenerated.
7183 * sysdeps/i386/fpu/libm-test-ulps: Update.
7184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7186 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7188 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7189 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7190 ports/sysdeps/unix/sysv/linux/microblaze.
7191 * README: Add missing listing for microblaze*-*-linux-gnu.
7193 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7195 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7196 * sysdeps/unix/sysv/linux/ia64: Move directory from
7197 ports/sysdeps/unix/sysv/linux/ia64.
7198 * README: Update listing for ia64-*-linux-gnu.
7200 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7201 Joseph Myers <joseph@codesourcery.com>
7203 * Makeconfig (test-name): New variable.
7204 (evaluate-test): Likewise.
7205 * Makerules (do-test-clean): Remove .test-result files.
7206 (common-mostlyclean): Likewise.
7207 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7208 * scripts/evaluate-test.sh: New file.
7210 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7212 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7213 separate $(objpfx)tst-fopenloc-cmp.out and
7214 $(objpfx)tst-fopenloc-mem.out targets.
7215 (tests): Update dependencies.
7216 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7217 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7218 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7219 (tst-rxspencer-no-utf8-ARGS): New variable.
7220 (tst-rxspencer-no-utf8-ENV): Likewise.
7221 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7222 instead of $(objpfx)tst-rxspencer-mem.
7223 ($(objpfx)tst-rxspencer-mem): Change target to
7224 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7225 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7226 * posix/tst-rxspencer-no-utf8.c: New file.
7228 * elf/Makefile ($(objpfx)order.out): Remove rule.
7229 [$(run-built-tests) = yes] (tests): Depend on
7230 $(objpfx)order-cmp.out.
7231 ($(objpfx)order-cmp.out): New rule.
7232 [$(run-built-tests) = yes] (tests): Depend on
7233 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7234 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7235 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7236 $(objpfx)tst-array5-static-cmp.out.
7237 ($(objpfx)tst-array1.out): Remove rule.
7238 ($(objpfx)tst-array1-cmp.out): New rule.
7239 ($(objpfx)tst-array1-static.out): Remove rule.
7240 ($(objpfx)tst-array1-static-cmp.out): New rule.
7241 ($(objpfx)tst-array2.out): Remove rule.
7242 ($(objpfx)tst-array2-cmp.out): New rule.
7243 ($(objpfx)tst-array3.out): Remove rule.
7244 ($(objpfx)tst-array3-cmp.out): New rule.
7245 ($(objpfx)tst-array4.out): Remove rule.
7246 ($(objpfx)tst-array4-cmp.out): New rule.
7247 ($(objpfx)tst-array5.out): Remove rule.
7248 ($(objpfx)tst-array5-cmp.out): New rule.
7249 ($(objpfx)tst-array5-static.out): Remove rule.
7250 ($(objpfx)tst-array5-static-cmp.out): New rule.
7251 [$(run-built-tests) = yes] (tests): Depend on
7252 $(objpfx)order2-cmp.out.
7253 ($(objpfx)order2.out): Remove rule.
7254 ($(objpfx)order2-cmp.out): New rule.
7255 ($(objpfx)tst-initorder.out): Remove rule.
7256 [$(run-built-tests) = yes] (tests): Depend on
7257 $(objpfx)tst-initorder-cmp.out.
7258 ($(objpfx)tst-initorder-cmp.out): New rule.
7259 ($(objpfx)tst-initorder2.out): Remove rule.
7260 [$(run-built-tests) = yes] (tests): Depend on
7261 $(objpfx)tst-initorder2-cmp.out.
7262 ($(objpfx)tst-initorder2-cmp.out): New rule.
7263 [$(run-built-tests) = yes] (tests): Depend on
7264 $(objpfx)tst-unused-dep-cmp.out.
7265 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7266 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7267 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7268 on $(objpfx)tst-setvbuf1-cmp.out.
7269 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7270 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7271 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7272 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7273 ($(objpfx)tst-svc.out): Remove rule.
7274 ($(objpfx)tst-svc-cmp.out): New rule.
7276 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7278 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7279 * ctype/ctype.h [__USE_MISC]: Likewise.
7280 * dirent/dirent.h [__USE_MISC]: Likewise.
7281 * grp/grp.h [__USE_MISC]: Likewise.
7282 * io/fcntl.h [__USE_MISC]: Likewise.
7283 * io/sys/stat.h [__USE_MISC]: Likewise.
7284 * libio/stdio.h [__USE_MISC]: Likewise.
7285 * posix/unistd.h [__USE_MISC]: Likewise.
7286 * pwd/pwd.h [__USE_MISC]: Likewise.
7287 * stdlib.h [__USE_MISC]: Likewise.
7288 * string/bits/string2.h [__USE_MISC]: Likewise.
7289 * string/string.h [__USE_MISC]: Likewise.
7290 * time/time.h [__USE_MISC]: Likewise.
7292 2014-02-13 Andreas Schwab <schwab@suse.de>
7295 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7296 second answer buffer if it was separately allocated.
7298 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7300 * sysdeps/mips/math-tests.h: Include <features.h>.
7301 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7302 (ROUNDING_TESTS_long_double): Do not define.
7303 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7304 (EXCEPTION_TESTS_long_double): Likewise.
7305 * sysdeps/mips/mips64/libm-test-ulps: Update.
7307 * include/features.h (__USE_BSD): Remove macro definitions.
7308 (__USE_SVID): Likewise.
7309 (_BSD_SOURCE): Likewise.
7310 (_SVID_SOURCE): Likewise.
7311 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7312 from definition of _DEFAULT_SOURCE.
7313 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7315 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7316 * bits/mman.h [__USE_BSD]: Likewise.
7317 * bits/termios.h [__USE_BSD]: Likewise.
7318 * bits/waitstatus.h [__USE_BSD]: Likewise.
7319 * ctype/ctype.h [__USE_SVID]: Likewise.
7320 * dirent/dirent.h [__USE_BSD]: Likewise.
7321 * grp/grp.h [__USE_SVID]: Likewise.
7322 [__USE_BSD]: Likewise.
7323 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7324 * io/fcntl.h [__USE_BSD]: Likewise.
7325 * io/ftw.h [__USE_BSD]: Likewise.
7326 * io/sys/stat.h [__USE_BSD]: Likewise.
7327 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7328 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7329 * libio/stdio.h [__USE_SVID]: Likewise.
7330 [__USE_BSD]: Likewise.
7331 * math/math.h [__USE_SVID]: Likewise.
7332 [__USE_BSD]: Likewise.
7333 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7334 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7335 * misc/search.h [__USE_SVID]: Likewise.
7336 * misc/sys/mman.h [__USE_BSD]: Likewise.
7337 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7338 * misc/sys/uio.h [__USE_BSD]: Likewise.
7339 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7340 * posix/glob.h [__USE_BSD]: Likewise.
7341 * posix/regex.h [__USE_BSD]: Likewise.
7342 * posix/sys/types.h [__USE_BSD]: Likewise.
7343 [__USE_SVID]: Likewise.
7344 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7345 * posix/sys/wait.h [__USE_BSD]: Likewise.
7346 [__USE_SVID]: Likewise.
7347 * posix/unistd.h [__USE_BSD]: Likewise.
7348 [__USE_SVID]: Likewise.
7349 * pwd/pwd.h [__USE_SVID]: Likewise.
7350 * resolv/netdb.h [__USE_BSD]: Likewise.
7351 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7352 * signal/signal.h [__USE_BSD]: Likewise.
7353 [__USE_SVID]: Likewise.
7354 * socket/sys/socket.h [__USE_BSD]: Likewise.
7355 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7356 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7357 [__USE_SVID]: Likewise.
7358 * string/bits/string2.h [__USE_BSD]: Likewise.
7359 [__USE_SVID]: Likewise.
7360 * string/bits/string3.h [__USE_BSD]: Likewise.
7361 * string/endian.h [__USE_BSD]: Likewise.
7362 * string/string.h [__USE_SVID]: Likewise.
7363 [__USE_BSD]: Likewise.
7364 * string/strings.h [__USE_BSD]: Likewise.
7365 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7366 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7367 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7368 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7369 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7370 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7372 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7374 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7375 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7377 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7378 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7380 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7382 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7383 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7384 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7386 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7388 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7389 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7390 * termios/termios.h [__USE_BSD]: Likewise.
7391 * time/sys/time.h [__USE_BSD]: Likewise.
7392 * time/time.h [__USE_BSD]: Likewise.
7393 [__USE_SVID]: Likewise.
7395 * Makefile (subdir_targets): Remove subdir_lint.out.
7397 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7398 (do-tst-printf): Likewise.
7399 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7400 $(objpfx)tst-printf.out.
7402 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7404 * Makerules (check-abi-%): Change target to
7405 $(objpfx)check-abi-%.out.
7406 (check-abi target): Update dependencies.
7407 (check-abi-pattern variable): Redirect output of diff to $@.
7408 (check-abi variable): Likewise.
7409 * elf/Makefile (check-abi): Update dependencies.
7411 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7413 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7414 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7416 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7417 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7418 value has largest subnormal exponent.
7419 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7420 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7421 * sysdeps/aarch64/soft-fp/sfp-machine.h
7422 (_FP_TININESS_AFTER_ROUNDING): New macro.
7423 * sysdeps/alpha/soft-fp/sfp-machine.h
7424 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7425 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7427 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7428 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7429 * sysdeps/mips/soft-fp/sfp-machine.h
7430 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7431 * sysdeps/powerpc/soft-fp/sfp-machine.h
7432 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7433 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7435 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7436 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7437 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7438 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7439 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7442 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7445 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7448 2014-02-12 Richard Henderson <rth@redhat.com>
7450 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7451 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7452 * sysdeps/unix/sysv/linux/alpha: Move directory from
7453 ports/sysdeps/unix/sysv/linux/alpha.
7454 * README: Update listing for alpha-*-linux-gnu.
7456 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7458 * include/features.h: Update comment documenting feature test
7460 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7462 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7463 (_SVID_SOURCE): Likewise.
7464 (_DEFAULT_SOURCE): Update description of default features.
7465 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7467 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7468 (S_ISVTX): Likewise.
7469 * manual/math.texi (Mathematical Constants): Likewise.
7470 * manual/signal.texi (Interrupted Primitives): Likewise.
7471 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7472 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7473 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7474 Don't refer to _SVID_SOURCE in warning text.
7476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7478 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7480 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7481 * sysdeps/mips/dl-lookup.c: Remove.
7482 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7484 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7487 * math/auto-libm-test-in: Add testcase for expl.
7488 * math/auto-libm-test-out: Regenerate.
7489 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7490 calculation of unsafe.
7491 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7493 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7495 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7496 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7497 ports/sysdeps/unix/sysv/linux/aarch64.
7498 * README: Update listing for aarch64*-*-linux-gnu.
7500 2014-02-11 Will Newton <will.newton@linaro.org>
7502 * manual/probes.texi (Mathematical Function Probes): Use
7503 "triggered" instead of "hit".
7505 * manual/probes.texi (Internal Probes): Add documentation
7506 of setjmp, longjmp and longjmp_target probes.
7508 * include/stap-probe.h: Add comment about probe argument
7511 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7512 definition. (tr_where, tr_freehook, tr_mallochook,
7513 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7515 2014-02-11 David S. Miller <davem@davemloft.net>
7517 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7518 processing int_tests.
7520 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7522 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7523 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7524 * sysdeps/unix/sysv/linux/mips: Move directory from
7525 ports/sysdeps/unix/sysv/linux/mips.
7526 * README: Update listing for mips-*-linux-gnu and
7529 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7531 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7532 * sysdeps/unix/sysv/linux/m68k: Move directory from
7533 ports/sysdeps/unix/sysv/linux/m68k.
7534 * README: Update listing for m68k-*-linux-gnu.
7536 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7538 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7539 * sysdeps/unix/sysv/linux/generic: Move directory from
7540 ports/sysdeps/unix/sysv/linux/generic.
7541 * sysdeps/unix/sysv/linux/tile: Move directory from
7542 ports/sysdeps/unix/sysv/linux/tile.
7543 * README: Update listing for tile*-*-linux-gnu.
7545 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7547 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7549 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7550 * catgets/open_catalog.c (__open_catalog): Likewise.
7551 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7552 * debug/confstr_chk.c: Likewise.
7553 * debug/fread_chk.c (__fread_chk): Likewise.
7554 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7555 * debug/getgroups_chk.c: Likewise.
7556 * debug/mbsnrtowcs_chk.c: Likewise.
7557 * debug/mbsrtowcs_chk.c: Likewise.
7558 * debug/mbstowcs_chk.c: Likewise.
7559 * debug/memcpy_chk.c: Likewise.
7560 * debug/memmove_chk.c: Likewise.
7561 * debug/mempcpy_chk.c: Likewise.
7562 * debug/memset_chk.c: Likewise.
7563 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7564 * debug/strcat_chk.c (__strcat_chk): Likewise.
7565 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7566 * debug/strncat_chk.c (__strncat_chk): Likewise.
7567 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7568 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7569 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7570 * debug/wcpncpy_chk.c: Likewise.
7571 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7572 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7573 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7574 * debug/wcsncpy_chk.c: Likewise.
7575 * debug/wcsnrtombs_chk.c: Likewise.
7576 * debug/wcsrtombs_chk.c: Likewise.
7577 * debug/wcstombs_chk.c: Likewise.
7578 * debug/wmemcpy_chk.c: Likewise.
7579 * debug/wmemmove_chk.c: Likewise.
7580 * debug/wmempcpy_chk.c: Likewise.
7581 * debug/wmemset_chk.c: Likewise.
7582 * dirent/scandirat.c (SCANDIRAT): Likewise.
7583 * dlfcn/dladdr1.c (dladdr1): Likewise.
7584 * dlfcn/dladdr.c (dladdr): Likewise.
7585 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7586 * dlfcn/dlerror.c (__dlerror): Likewise.
7587 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7588 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7589 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7590 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7591 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7592 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7593 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7594 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7596 * elf/dl-conflict.c: Likewise.
7597 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7598 * elf/dl-dst.h: Likewise.
7599 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7600 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7601 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7602 * elf/dl-init.c (call_init, _dl_init): Likewise.
7603 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7604 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7605 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7607 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7609 * elf/dl-minimal.c (__libc_memalign): Likewise.
7610 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7611 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7612 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7613 * elf/dl-sym.c (do_sym): Likewise.
7614 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7615 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7616 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7617 * elf/dl-writev.h (_dl_writev): Likewise.
7618 * elf/ldconfig.c (search_dir): Likewise.
7619 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7620 (dl_main): Likewise.
7621 * elf/setup-vdso.h (setup_vdso): Likewise.
7622 * grp/compat-initgroups.c (compat_call): Likewise.
7623 * grp/fgetgrent.c (fgetgrent): Likewise.
7624 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7625 * grp/putgrent.c (putgrent): Likewise.
7626 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7628 * hurd/hurdinit.c: Likewise.
7629 * iconvdata/8bit-gap.c (struct): Likewise.
7630 * iconvdata/ansi_x3.110.c : Likewise.
7631 * iconvdata/big5.c : Likewise.
7632 * iconvdata/big5hkscs.c : Likewise.
7633 * iconvdata/cp1255.c: Likewise.
7634 * iconvdata/cp1258.c : Likewise.
7635 * iconvdata/cp932.c : Likewise.
7636 * iconvdata/euc-cn.c: Likewise.
7637 * iconvdata/euc-jisx0213.c : Likewise.
7638 * iconvdata/euc-jp.c: Likewise.
7639 * iconvdata/euc-jp-ms.c : Likewise.
7640 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7641 * iconvdata/gb18030.c : Likewise.
7642 * iconvdata/gbbig5.c (const): Likewise.
7643 * iconvdata/gbgbk.c: Likewise.
7644 * iconvdata/gbk.c : Likewise.
7645 * iconvdata/ibm1364.c : Likewise.
7646 * iconvdata/ibm930.c : Likewise.
7647 * iconvdata/ibm932.c: Likewise.
7648 * iconvdata/ibm933.c : Likewise.
7649 * iconvdata/ibm935.c : Likewise.
7650 * iconvdata/ibm937.c : Likewise.
7651 * iconvdata/ibm939.c : Likewise.
7652 * iconvdata/ibm943.c: Likewise.
7653 * iconvdata/iso_11548-1.c: Likewise.
7654 * iconvdata/iso-2022-cn.c : Likewise.
7655 * iconvdata/iso-2022-cn-ext.c : Likewise.
7656 * iconvdata/iso-2022-jp-3.c: Likewise.
7657 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7658 * iconvdata/iso-2022-kr.c : Likewise.
7659 * iconvdata/iso646.c (gconv_end): Likewise.
7660 * iconvdata/iso_6937-2.c : Likewise.
7661 * iconvdata/iso_6937.c : Likewise.
7662 * iconvdata/iso8859-1.c: Likewise.
7663 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7664 * iconvdata/shift_jisx0213.c : Likewise.
7665 * iconvdata/sjis.c : Likewise.
7666 * iconvdata/t.61.c : Likewise.
7667 * iconvdata/tcvn5712-1.c : Likewise.
7668 * iconvdata/tscii.c: Likewise.
7669 * iconvdata/uhc.c : Likewise.
7670 * iconvdata/unicode.c (gconv_end): Likewise.
7671 * iconvdata/utf-16.c (gconv_end): Likewise.
7672 * iconvdata/utf-32.c (gconv_end): Likewise.
7673 * iconvdata/utf-7.c (base64): Likewise.
7674 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7675 * iconv/gconv_close.c (__gconv_close): Likewise.
7676 * iconv/gconv_open.c (__gconv_open): Likewise.
7677 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7678 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7679 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7680 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7681 (ucs4le_internal_loop_single): Likewise.
7682 * iconv/iconv.c (iconv): Likewise.
7683 * iconv/iconv_close.c: Likewise.
7684 * iconv/loop.c (SINGLE): Likewise.
7685 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7686 * include/atomic.h: Likewise.
7687 * inet/inet6_option.c (option_alloc): Likewise.
7688 * intl/bindtextdom.c (set_binding_values): Likewise.
7689 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7690 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7691 * intl/localealias.c (read_alias_file): Likewise.
7692 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7693 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7694 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7695 * libio/fmemopen.c (fmemopen): Likewise.
7696 * libio/iofgets.c (_IO_fgets): Likewise.
7697 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7698 * libio/iofgetws.c (fgetws): Likewise.
7699 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7700 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7701 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7702 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7703 * locale/findlocale.c (_nl_find_locale): Likewise.
7704 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7705 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7707 * locale/setlocale.c (setlocale): Likewise.
7708 * login/programs/pt_chown.c (main): Likewise.
7709 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7710 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7711 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7712 (mmap, mmap64, mremap, munmap): Likewise.
7713 * math/e_exp2l.c: Likewise.
7714 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7715 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7716 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7717 * math/s_catan.c (__catan): Likewise.
7718 * math/s_catanf.c (__catanf): Likewise.
7719 * math/s_catanh.c (__catanh): Likewise.
7720 * math/s_catanhf.c (__catanhf): Likewise.
7721 * math/s_catanhl.c (__catanhl): Likewise.
7722 * math/s_catanl.c (__catanl): Likewise.
7723 * math/s_ccosh.c (__ccosh): Likewise.
7724 * math/s_ccoshf.c (__ccoshf): Likewise.
7725 * math/s_ccoshl.c (__ccoshl): Likewise.
7726 * math/s_cexp.c (__cexp): Likewise.
7727 * math/s_cexpf.c (__cexpf): Likewise.
7728 * math/s_cexpl.c (__cexpl): Likewise.
7729 * math/s_clog10.c (__clog10): Likewise.
7730 * math/s_clog10f.c (__clog10f): Likewise.
7731 * math/s_clog10l.c (__clog10l): Likewise.
7732 * math/s_clog.c (__clog): Likewise.
7733 * math/s_clogf.c (__clogf): Likewise.
7734 * math/s_clogl.c (__clogl): Likewise.
7735 * math/s_csin.c (__csin): Likewise.
7736 * math/s_csinf.c (__csinf): Likewise.
7737 * math/s_csinh.c (__csinh): Likewise.
7738 * math/s_csinhf.c (__csinhf): Likewise.
7739 * math/s_csinhl.c (__csinhl): Likewise.
7740 * math/s_csinl.c (__csinl): Likewise.
7741 * math/s_csqrt.c (__csqrt): Likewise.
7742 * math/s_csqrtf.c (__csqrtf): Likewise.
7743 * math/s_csqrtl.c (__csqrtl): Likewise.
7744 * math/s_ctan.c (__ctan): Likewise.
7745 * math/s_ctanf.c (__ctanf): Likewise.
7746 * math/s_ctanh.c (__ctanh): Likewise.
7747 * math/s_ctanhf.c (__ctanhf): Likewise.
7748 * math/s_ctanhl.c (__ctanhl): Likewise.
7749 * math/s_ctanl.c (__ctanl): Likewise.
7750 * math/w_pow.c: Likewise.
7751 * math/w_powf.c: Likewise.
7752 * math/w_powl.c: Likewise.
7753 * math/w_scalb.c (sysv_scalb): Likewise.
7754 * math/w_scalbf.c (sysv_scalbf): Likewise.
7755 * math/w_scalbl.c (sysv_scalbl): Likewise.
7756 * misc/error.c (error_tail): Likewise.
7757 * misc/pselect.c (__pselect): Likewise.
7758 * nis/nis_callback.c (__nis_create_callback): Likewise.
7759 * nis/nis_call.c (__nisfind_server): Likewise.
7760 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7761 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7762 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7763 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7764 * nis/nis_lookup.c (nis_lookup): Likewise.
7765 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7766 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7767 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7768 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7769 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7770 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7771 * nis/nss_compat/compat-initgroups.c (add_group)
7772 (internal_getgrent_r): Likewise.
7773 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7774 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7775 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7776 (internal_getspnam_r): Likewise.
7777 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7778 (_nss_nis_getaliasbyname_r): Likewise.
7779 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7780 (_nss_nis_getntohost_r): Likewise.
7781 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7782 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7783 (_nss_nis_getgrgid_r): Likewise.
7784 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7785 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7786 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7787 (_nss_nis_gethostbyname4_r): Likewise.
7788 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7789 (initgroups_netid): Likewise.
7790 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7791 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7792 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7793 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7794 (_nss_nis_getprotobynumber_r): Likewise.
7795 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7796 (_nss_nis_getsecretkey): Likewise.
7797 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7798 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7799 (_nss_nis_getpwuid_r): Likewise.
7800 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7801 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7802 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7803 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7804 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7805 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7806 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7808 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7809 (_nss_nisplus_getntohost_r): Likewise.
7810 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7811 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7812 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7813 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7815 * nis/nss_nisplus/nisplus-initgroups.c
7816 (_nss_nisplus_initgroups_dyn): Likewise.
7817 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7818 (_nss_nisplus_getnetbyaddr_r): Likewise.
7819 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7820 (_nss_nisplus_getprotobynumber_r): Likewise.
7821 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7822 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7823 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7825 * nis/nss_nisplus/nisplus-service.c
7826 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7827 (_nss_nisplus_getservbyport_r): Likewise.
7828 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7829 (_nss_nisplus_getspnam_r): Likewise.
7830 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7832 * nscd/aicache.c (addhstaiX): Likewise.
7833 * nscd/cache.c (cache_search, prune_cache): Likewise.
7834 * nscd/connections.c (register_traced_file, send_ro_fd)
7835 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7836 (main_loop_epoll): Likewise.
7837 * nscd/grpcache.c (addgrbyX): Likewise.
7838 * nscd/hstcache.c (addhstbyX): Likewise.
7839 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7840 * nscd/mem.c (gc, mempool_alloc): Likewise.
7841 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7842 (addinnetgrX): Likewise.
7843 * nscd/nscd-client.h (__nscd_acquire_maplock)
7844 (__nscd_drop_map_ref): Likewise.
7845 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7846 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7847 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7849 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7850 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7851 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7852 (__nscd_get_map_ref): Likewise.
7853 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7854 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7856 * nscd/pwdcache.c (addpwbyX): Likewise.
7857 * nscd/selinux.c (preserve_capabilities): Likewise.
7858 * nscd/servicescache.c (addservbyX): Likewise.
7859 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7860 * posix/fnmatch.c (fnmatch): Likewise.
7861 * posix/getopt.c (_getopt_internal_r): Likewise.
7862 * posix/glob.c (glob, glob_in_dir): Likewise.
7863 * posix/wordexp.c (exec_comm_child): Likewise.
7864 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7865 (getanswer_r, gaih_getanswer_slice): Likewise.
7866 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7867 * resolv/res_init.c: Likewise.
7868 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7869 * resolv/res_query.c (__libc_res_nquery): Likewise.
7870 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7872 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7873 * stdio-common/perror.c (perror): Likewise.
7874 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7875 * stdio-common/tmpnam.c (tmpnam): Likewise.
7876 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7877 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7878 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7880 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7881 * stdlib/putenv.c (putenv): Likewise.
7882 * stdlib/setenv.c (__add_to_environ): Likewise.
7883 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7884 * stdlib/strtol_l.c (INTERNAL): Likewise.
7885 * string/memmem.c (memmem): Likewise.
7886 * string/strerror.c (strerror): Likewise.
7887 * string/strnlen.c (__strnlen): Likewise.
7888 * string/test-memmem.c (simple_memmem): Likewise.
7889 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7890 * sunrpc/pm_getport.c (__get_socket): Likewise.
7891 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7892 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7893 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7894 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7896 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7897 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7898 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7899 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7900 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7901 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7903 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7905 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7906 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7907 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7908 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7909 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7911 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7912 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7913 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7914 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7915 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7916 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7918 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7920 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7922 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7923 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7924 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7925 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7926 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7927 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7928 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7930 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7931 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7932 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7933 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7934 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7935 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7937 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7939 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7941 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7943 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7945 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7946 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7947 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7949 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7950 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7951 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7952 * sysdeps/posix/sleep.c: Likewise.
7953 * sysdeps/posix/tempname.c: Likewise.
7954 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7955 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7957 * sysdeps/powerpc/powerpc32/dl-machine.h
7958 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7959 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7960 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7961 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7962 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7964 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7965 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7966 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7967 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7968 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7969 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7970 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7971 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7972 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7973 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7974 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7975 (elf_machine_lazy_rel): Likewise.
7976 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7977 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7978 (elf_machine_lazy_rel): Likewise.
7979 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7980 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7981 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7982 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7983 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7984 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7985 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7986 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7988 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7989 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7990 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7991 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7992 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7993 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7994 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7995 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7996 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7997 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7998 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8000 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8001 (__posix_fallocate64_l64): Likewise.
8002 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8003 (posix_fallocate): Likewise.
8004 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8006 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8007 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8008 (getifaddrs_internal): Likewise.
8009 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8010 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8011 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8012 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8013 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8014 (__posix_fallocate64_l64): Likewise.
8015 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8017 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8018 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8019 (__get_clockfreq): Likewise.
8020 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8021 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8022 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8023 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8024 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8025 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8026 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8027 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8029 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8030 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8031 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8032 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8033 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8034 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8035 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8037 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8038 (posix_fallocate): Likewise.
8039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8040 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8041 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8042 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8043 (elf_machine_rela, elf_machine_rela_relative)
8044 (elf_machine_lazy_rel): Likewise.
8045 * time/asctime.c (asctime_internal): Likewise.
8046 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8047 * time/tzset.c (__tzset_parse_tz): Likewise.
8048 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8049 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8050 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8051 * wcsmbs/wcsmbsload.h: Likewise.
8054 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8056 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8057 (arena_get2): Remove THREAD_STATS conditionals.
8058 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8059 (__malloc_stats, int): Likewise.
8061 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8063 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8064 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8066 * manual/setjmp.texi: Fix typos/grammar errors.
8068 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8069 Only return early when n is <= 0. Delete unused return statement.
8071 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8072 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8073 * debug/tst-longjmp_chk3.c: New file.
8075 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8076 (test_main): Replace code with set_fortify_handler call.
8077 * debug/test-strcpy_chk.c: Likewise.
8078 * debug/tst-chk1.c: Likewise.
8079 * debug/tst-longjmp_chk.c: Likewise.
8080 * test-skeleton.c: Include fcntl.h & paths.h
8081 (set_fortify_handler): Define.
8083 * debug/tst-longjmp_chk.c: Add header comment and include
8085 (do_test): Mark static.
8086 (TEST_FUNCTION): Define.
8088 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8089 (IP_PMTUDISC_INTERFACE): Likewise.
8090 (IP_MULTICAST_IF): Likewise.
8091 (IP_MULTICAST_TTL): Likewise.
8092 (IP_MULTICAST_LOOP): Likewise.
8093 (IP_ADD_MEMBERSHIP): Likewise.
8094 (IP_DROP_MEMBERSHIP): Likewise.
8095 (IP_UNBLOCK_SOURCE): Likewise.
8096 (IP_BLOCK_SOURCE): Likewise.
8097 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8098 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8099 (IP_MSFILTER): Likewise.
8100 (MCAST_JOIN_GROUP): Likewise.
8101 (MCAST_BLOCK_SOURCE): Likewise.
8102 (MCAST_UNBLOCK_SOURCE): Likewise.
8103 (MCAST_LEAVE_GROUP): Likewise.
8104 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8105 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8106 (MCAST_MSFILTER): Likewise.
8107 (IP_MULTICAST_ALL): Likewise.
8108 (IP_UNICAST_IF): Likewise.
8110 * timezone/Makefile: Delete $(have-ksh) check.
8111 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8112 * timezone/tzselect.ksh: Add +x mode bits.
8114 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8115 (ANON_INODE_FS_MAGIC): Likewise.
8116 (BDEVFS_MAGIC): Likewise.
8117 (BINFMTFS_MAGIC): Likewise.
8118 (BTRFS_TEST_MAGIC): Likewise.
8119 (CRAMFS_MAGIC_WEND): Likewise.
8120 (DEBUGFS_MAGIC): Likewise.
8121 (ECRYPTFS_SUPER_MAGIC): Likewise.
8122 (EXT3_SUPER_MAGIC): Likewise.
8123 (EXT4_SUPER_MAGIC): Likewise.
8124 (FUTEXFS_SUPER_MAGIC): Likewise.
8125 (HOSTFS_SUPER_MAGIC): Likewise.
8126 (HUGETLBFS_MAGIC): Likewise.
8127 (MINIX3_SUPER_MAGIC): Likewise.
8128 (MTD_INODE_FS_MAGIC): Likewise.
8129 (NILFS_SUPER_MAGIC): Likewise.
8130 (OPENPROM_SUPER_MAGIC): Likewise.
8131 (PIPEFS_MAGIC): Likewise.
8132 (PSTOREFS_MAGIC): Likewise.
8133 (QNX6_SUPER_MAGIC): Likewise.
8134 (RAMFS_MAGIC): Likewise.
8135 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8136 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8137 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8138 (SECURITYFS_MAGIC): Likewise.
8139 (SELINUX_MAGIC): Likewise.
8140 (SMACK_MAGIC): Likewise.
8141 (SOCKFS_MAGIC): Likewise.
8142 (SQUASHFS_MAGIC): Likewise.
8143 (STACK_END_MAGIC): Likewise.
8144 (TMPFS_MAGIC): Likewise.
8145 (USBDEVICE_SUPER_MAGIC): Likewise.
8146 (V9FS_MAGIC): Likewise.
8147 (XENFS_SUPER_MAGIC): Likewise.
8148 (CRAMFS_MAGIC): Fix typo in comment.
8149 (EXT2_SUPER_MAGIC): Update comment.
8150 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8152 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8154 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8155 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8156 * sysdeps/unix/sysv/linux/arm: Move directory from
8157 ports/sysdeps/unix/sysv/linux/arm.
8158 * README: Update listing for arm-*-linux-gnueabi.
8160 * README: Remove mention of am33.
8162 2014-02-07 Roland McGrath <roland@hack.frob.com>
8164 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8165 than the comma operator, to avoid "rhs of comma has no effect"
8167 (__sigfillset, __sigandset, __sigorset): Likewise.
8168 * include/signal.h (__sigemptyset): Likewise.
8169 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8171 2014-02-07 Allan McRae <allan@archlinux.org>
8173 * version.h (RELEASE): Set to "development".
8174 (VERSION): Set to "2.19.90"
8175 * NEWS: Add 2.20 section.
8177 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8180 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8182 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8184 * manual/contrib.texi: Update entry for Carlos O'Donell,
8185 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8187 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8189 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8191 * sysdeps/unix/sysv/linux/kernel-features.h
8192 [__LINUX_KERNEL_VERSION >= 0x020621]
8193 (__ASSUME_PROC_PID_TASK_COMM): Define.
8195 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8198 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8199 conversion when destination buffer does not have enough space.
8200 * libio/tst-ftell-partial-wide.c: New test case.
8201 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8203 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8204 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8205 Leonard and Allan McRae.
8207 2014-02-04 David S. Miller <davem@davemloft.net>
8209 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8212 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8241 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8243 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8244 * shlib-versions: Likewise.
8246 2014-02-04 Roland McGrath <roland@hack.frob.com>
8247 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8249 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8250 (abilist-pattern): New variable, set to %-le.abilist.
8252 * Makerules (abilist-pattern): New variable.
8253 (vpath): Use $(abilist-pattern) in place of %.abilist.
8254 (check-abi-% pattern rule): Likewise.
8255 (check-abi, update-abi): Likewise.
8257 2014-02-04 Eric Wong <normalperson@yhbt.net>
8259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8261 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8263 * manual/startup.texi: Add next, previous, and top entries for
8264 the `Program Arguments' and `Environment Variables' nodes.
8266 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8268 * manual/macros.texi: Add comments before MTASC-safety macros.
8270 * manual/users.texi: Document MTASC-safety properties.
8272 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8273 (pthread_getspecific, pthread_setspecific): Format with
8274 @deftypefun, and add @safety note.
8275 * manual/signal.texi: Move comments that analyze the above
8276 functions to their home place.
8278 2014-02-03 Allan McRae <allan@archlinux.org>
8280 * po/sl.po: Update Slovenian translation from translation project.
8282 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8284 * manual/time.texi (timegm): Add missing blank after @c.
8285 Reported by Joseph Myers <joseph@codesourcery.com>.
8287 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8289 * manual/check-safety.sh: New.
8290 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8292 * manual/terminal.texi: Document MTASC-safety properties.
8294 * manual/filesys.texi: Document MTASC-safety properties.
8296 * manual/errno.texi: Document MTASC-safety properties.
8298 * manual/intro.texi: Document safety identifiers and
8301 * manual/string.texi (wcstok): Fix prototype.
8302 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8304 * manual/time.texi: Document MTASC-safety properties.
8306 * manual/string.texi: Document MTASC-safety properties.
8308 * manual/threads.texi: Document MTASC-safety properties.
8310 * manual/stdio.texi: Document MTASC-safety properties.
8312 * manual/syslog.texi: Document MTASC-safety properties.
8314 * manual/sysinfo.texi: Document MTASC-safety properties.
8316 * manual/startup.texi: Document MTASC-safety properties.
8318 * manual/socket.texi: Document MTASC-safety properties.
8320 * manual/signal.texi: Document MTASC-safety properties.
8322 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8324 * manual/setjmp.texi: Document MTASC-safety properties.
8326 * manual/search.texi: Document MTASC-safety properties.
8328 * manual/resource.texi: Document MTASC-safety properties.
8330 * manual/process.texi: Document MTASC-safety properties.
8332 * manual/platform.texi: Document MTASC-safety properties.
8334 * manual/pipe.texi: Document MTASC-safety properties.
8336 * manual/pattern.texi: Document MTASC-safety properties.
8338 * manual/message.texi: Document MTASC-safety properties.
8341 * manual/memory.texi: Document MTASC-safety properties.
8343 * manual/math.texi: Document MTASC-safety properties.
8345 * manual/locale.texi: Document MTASC-safety properties.
8347 * manual/llio.texi: Document MTASC-safety properties.
8349 * manual/libdl.texi: New.
8351 * manual/lang.texi: Document MTASC-safety properties.
8353 * manual/job.texi: Document MTASC-safety properties.
8355 * manual/getopt.texi: Document MTASC-safety properties.
8357 * manual/ctype.texi: Document MTASC-safety properties.
8359 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8362 * csu/libc-tls.c (static_map): Remove variable.
8363 (__libc_setup_tls): Use main executable's link map for TLS data.
8364 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8365 casing for LM_ID_BASE and GL(dl_nns).
8366 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8367 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8368 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8369 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8370 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8372 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8375 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8377 * manual/debug.texi: Document MTASC-safety properties.
8379 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8382 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8383 of __x86_64__ when disabling x87 inline functions.
8385 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8387 * manual/charset.texi: Document MTASC-safety properties.
8389 * manual/crypt.texi: Document MTASC-safety properties.
8391 * manual/conf.texi: Document MTASC-safety properties.
8393 * manual/arith.texi: Document MTASC-safety properties.
8395 * manual/argp.texi: Document MTASC-safety properties.
8397 * manual/macros.texi: Introduce macros to document multi
8398 thread, asynchronous signal and asynchronous cancellation
8400 * manual/intro.texi: Introduce the properties themselves.
8402 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8404 * sysdeps/sh/sh4/Makefile: New file.
8406 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8408 * math/gen-libm-test.pl ($srcdir): New variable.
8409 ($auto_input): Use it.
8411 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8414 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8415 access beyond array bounds when parsing netgroups file.
8417 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8418 the old buffer before realloc.
8420 2014-01-27 Allan McRae <allan@archlinux.org>
8422 * po/fr.po: Update French translation from translation project.
8424 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8426 * sysdeps/sh/libm-test-ulps: Regenerate.
8428 2014-01-24 David S. Miller <davem@davemloft.net>
8430 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8432 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8434 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8435 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8437 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8440 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8441 string pointers after reallocation.
8443 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8445 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8446 __SH4A__ instead of __SH_FPU_ANY__.
8448 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8450 * sysdeps/sh/fpu_control.h: New file.
8451 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8452 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8453 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8454 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8455 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8456 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8457 * sysdeps/sh/sys/ucontext.h: Remove.
8458 * sysdeps/sh/sys: Remove directory.
8460 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8462 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8463 s390/sys/ucontext.h.
8464 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8465 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8467 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8470 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8472 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8475 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8476 Adjust the vDSO correctly for internal calls.
8477 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8479 2014-01-20 Allan McRae <allan@archlinux.org>
8481 * po/ca.po: Update Catalan translation from translation project.
8483 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8485 * sysdeps/s390/sotruss-lib.c: New file.
8487 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8490 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8491 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8492 local calls issues by not having a PLT stub required for IFUNC calls.
8493 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8495 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8497 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8498 * math/test-fpucw-static.c: Likewise.
8500 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8503 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8505 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8507 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8508 implementation for powerpc.
8510 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8513 * sysdeps/posix/system.c (__libc_system): Do not enable
8514 asynchronous cancellation.
8516 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8519 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8520 handling only for numbers special also in the IEEE case.
8522 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8524 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8526 2014-01-11 Allan McRae <allan@archlinux.org>
8528 * po/bg.po: Update Bulgarian translation from translation project.
8530 * po/de.po: Update German translation from translation project.
8532 2014-01-10 Roland McGrath <roland@hack.frob.com>
8534 * sysdeps/generic/gcc-compat.h: New file.
8536 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8538 * benchtests/asin-inputs: Correct slow inputs.
8539 * benchtests/acos-inputs: Likewise.
8541 2014-01-10 Allan McRae <allan@archlinux.org>
8543 * po:sv.po: Update Swedish translation from translation project.
8545 * po/vi.po: Update Vietnamese translation from translation project.
8547 * po/eo.po: Update Esperanto translation from translation project.
8549 * po/cs.po: Update Czech translation from translation project.
8551 * po/nl.po: Update Dutch translation from translation project.
8553 * po/pl.po: Update Polish translation from translation project.
8555 * po/ru.po: Update Russian translation from translation project.
8557 * po/uk.po: Update Ukrainian translation from translation project.
8559 2014-01-08 Brooks Moses <bmoses@google.com>
8561 * elf/dl-load.c: Fix comment typo.
8563 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8565 * po/header.pot: Rename to...
8566 * po/pot.header: ... this.
8567 * po/Makefile: Use pot.header.
8569 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8570 Maxim Kuvyrkov <maxim@kugelworks.com>
8573 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8574 SRC and DEST against LEN.
8576 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8579 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8581 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8583 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8587 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8590 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8591 for large positive arguments.
8593 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8595 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8597 * math/auto-libm-test-in: Mark various tests with
8598 xfail-rounding:ldbl-128ibm.
8599 * math/auto-libm-test-out: Regenerated.
8602 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8603 Increase overflow threshold.
8605 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8608 * stdio-common/vfprintf.c: Check for integer overflow.
8610 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8612 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8613 the first argument and return value of __tls_get_addr_internal.
8615 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8617 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8618 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8620 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8622 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8623 * sysdeps/s390/rtld-global-offsets.sym: New file.
8624 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8626 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8627 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8628 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8630 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8631 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8637 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8638 halfs of GPRs for high_gprs contexts.
8639 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8640 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8642 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8644 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8646 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8647 for high GPRs (uc_high_gprs) and for future extensions
8649 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8650 for future extensions (__reserved).
8651 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8653 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8654 SC_HIGHGPRS offset definition.
8655 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8656 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8658 * Versions.def: Add GLIBC_2.19 for libpthread.
8659 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8660 siglongjmp for libpthread with GLIBC_2.19 symver.
8661 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8662 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8663 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8664 * sysdeps/s390/__longjmp.c: New file.
8665 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8666 * sysdeps/s390/longjmp.c: New file.
8667 * sysdeps/s390/setjmp.S: New file.
8668 * sysdeps/s390/sigjmp.S: New file.
8669 * sysdeps/s390/v1-longjmp.c: New file.
8670 * sysdeps/s390/v1-setjmp.h: New file.
8671 * sysdeps/s390/v1-sigjmp.c: New file.
8672 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8673 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8675 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8676 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8677 versioned symbols for ____longjmp_chk.
8678 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8688 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8689 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8690 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8691 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8692 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8693 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8694 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8695 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8696 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8697 * sysdeps/s390/rtld-__longjmp.c: New file.
8698 * sysdeps/s390/rtld-setjmp.S: New file.
8700 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8703 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8704 Return -__logl (x) for small positive arguments without evaluating
8707 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8709 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8711 (__ptrace_peeksiginfo_args): ... this.
8712 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8713 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8714 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8716 2014-01-06 Allan McRae <allan@archlinux.org>
8718 * inet/netinet/in.h: Fix typo in comment.
8720 2014-01-05 Andreas Jaeger <aj@suse.de>
8722 * sysdeps/i386/fpu/libm-test-ulps: Update.
8724 2014-01-05 Allan McRae <allan@archlinux.org>
8726 * po/libc.pot: Regenerated.
8728 * malloc/memusagestat.c: Fix gettext call formatting.
8730 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8732 * nscd/nscd.c: Improve usage() output.
8734 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8736 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8737 * sysdeps/unix/sysv/linux/configure: Regenerated.
8738 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8739 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8741 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8744 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8745 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8747 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8749 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8750 extra tokens at end of #undef directive.
8751 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8752 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8753 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8755 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8757 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8759 * math/auto-libm-test-in: Mark various tests with
8760 xfail-rounding:ldbl-128ibm.
8761 * math/auto-libm-test-out: Regenerated.
8763 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8766 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8767 numbers with subnormal high part when calculating exponent.
8770 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8774 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8776 (__ieee754_acoshl): Use __log1pl not __log1p.
8778 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8780 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8781 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8782 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8783 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8784 (reused_arena, arena_get2): Convert to GNU style.
8785 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8786 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8787 (memalign_check, __malloc_set_state): Likewise.
8788 * malloc/mallocbug.c (main): Likewise.
8789 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8790 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8791 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8792 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8793 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8794 (__posix_memalign, malloc_info): Likewise.
8795 * malloc/malloc.h: Likewise.
8796 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8797 (mallochook, memalignhook, reallochook, mabort): Likewise.
8798 * malloc/mcheck.h: Likewise.
8799 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8800 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8801 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8802 * malloc/morecore.c (__default_morecore): Likewise.
8803 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8804 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8805 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8806 (print_and_abort): Likewise.
8807 * malloc/obstack.h: Likewise.
8808 * malloc/set-freeres.c (__libc_freeres): Likewise.
8809 * malloc/tst-mallocstate.c (main): Likewise.
8810 * malloc/tst-mtrace.c (main): Likewise.
8811 * malloc/tst-realloc.c (do_test): Likewise.
8813 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8816 * nscd/netgroupcache.c (do_notfound): New function.
8817 (addgetnetgrentX): Use it.
8820 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8821 NSS_STATUS_NOTFOUND.
8823 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8825 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8828 2014-01-01 Allan McRae <allan@archlinux.org>
8830 * scripts/update-copyrights: Update configure input file suffix.
8832 * NEWS: Update copyright year.
8833 * catgets/gencat.c: Likewise.
8834 * csu/version.c: Likewise.
8835 * debug/catchsegv.sh: Likewise.
8836 * debug/pcprofiledump.c: Likewise.
8837 * debug/xtrace.sh: Likewise.
8838 * elf/ldconfig.c: Likewise.
8839 * elf/ldd.bash.in: Likewise.
8840 * elf/pldd.c: Likewise.
8841 * elf/sotruss.ksh: Likewise.
8842 * elf/sprof.c: Likewise.
8843 * iconv/iconv_prog.c: Likewise.
8844 * iconv/iconvconfig.c: Likewise.
8845 * locale/programs/locale.c: Likewise.
8846 * locale/programs/localedef.c: Likewise.
8847 * login/programs/pt_chown.c: Likewise.
8848 * malloc/memusage.sh: Likewise.
8849 * malloc/memusagestat.c: Likewise.
8850 * malloc/mtrace.pl: Likewise.
8851 * manual/libc.texinfo: Likewise.
8852 * nscd/nscd.c: Likewise.
8853 * nss/getent.c: Likewise.
8854 * nss/makedb.c: Likewise.
8855 * posix/getconf.c: Likewise.
8856 * scripts/test-installation.pl: Likewise.
8858 * All files with FSF copyright notices: Update copyright dates
8859 using scripts/update-copyrights.
8860 * intl/plural.c: Regenerated.
8861 * locale/programs/charmap-kw.h: Likewise.
8862 * locale/programs/locfile-kw.h: Likewise.
8864 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8866 * sysdeps/unix/sysv/linux/configure: Regenerated.
8867 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8868 the linux/fanotify.h header.
8869 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8870 HAVE_LINUX_FANOTIFY_H is defined.
8872 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8874 * benchtests/cos-inputs: New inputs.
8875 * benchtests/sin-inputs: Likewise.
8877 * benchtests/atan-inputs: New inputs. Fix name of multiple
8878 precision fallback inputs.
8880 * benchtests/atanh-inputs: New inputs.
8881 * benchtests/tanh-inputs: Likewise.
8883 * benchtests/acosh-inputs: New inputs.
8884 * benchtests/asinh-inputs: Likewise.
8886 * benchtests/cosh-inputs: New inputs.
8887 * benchtests/sinh-inputs: Likewise.
8889 * benchtests/acos-inputs: Add more inputs.
8890 * benchtests/asin-inputs: Likewise.
8892 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8895 * manual/arith.texi: Fix spelling.
8896 * manual/charset.texi: Likewise.
8897 * manual/errno.texi: Likewise.
8898 * manual/filesys.texi: Likewise.
8899 * manual/lang.texi: Likewise.
8900 * manual/llio.texi: Likewise.
8901 * manual/locale.texi: Likewise.
8902 * manual/message.texi: Likewise.
8903 * manual/resource.texi: Likewise.
8904 * manual/search.texi: Likewise.
8905 * manual/setjmp.texi: Likewise.
8906 * manual/stdio.texi: Likewise.
8907 * manual/string.texi: Likewise.
8908 * manual/sysinfo.texi: Likewise.
8909 * manual/time.texi: Likewise.
8911 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8913 * po/sl.po: New file.
8915 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8917 * .gitignore: Add core/.gdbinit/.gdb_history.
8919 2013-12-27 Allan McRae <allan@archlinux.org>
8922 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8923 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8925 2013-12-24 Brooks Moses <bmoses@google.com>
8927 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8928 all compilers that claim C++98 compliance, not just GCC.
8929 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8932 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8934 * NEWS: Restore accidentally deleted bug-fix entries.
8936 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8937 Ondřej Bílka <neleai@seznam.cz>
8940 * malloc/malloc.c (_int_free): Perform sanity check only if we
8943 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8946 * manual/stdio.texi (String Input Conversions): Clarify that character
8947 classes are not supported.
8949 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8953 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8956 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8957 Calculate results for small negative arguments directly rather
8958 than using reflection formula with special underflow handling.
8960 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8961 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8962 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8963 (fchflags): Likewise.
8965 (setlogin): Likewise.
8966 (sigaltstack): Likewise.
8969 (sigsetmask): Likewise.
8971 (waitpid): Likewise.
8972 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8973 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8975 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8976 * sysdeps/unix/bsd/Makefile: ... here.
8977 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8978 * sysdeps/unix/bsd/Versions: ... here.
8979 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8980 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8981 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8982 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8983 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8984 * sysdeps/unix/bsd/sigblock.c: ... here.
8985 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8986 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8987 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8988 * sysdeps/unix/bsd/sigvec.c: ... here.
8989 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8990 * sysdeps/unix/bsd/tcdrain.c: ... here.
8991 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8992 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8993 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8994 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8995 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8996 * sysdeps/unix/bsd/wait.c: ... here.
8997 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8998 * sysdeps/unix/bsd/wait3.c: ... here.
8999 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9000 * sysdeps/unix/bsd/waitpid.c: ... here.
9002 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9005 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9006 round-to-nearest for [!USE_AS_EXPM1L].
9007 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9008 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9009 more tests of exp and exp10. Expect some exp10 tests to miss
9010 exceptions or fail in directed rounding modes.
9011 * math/auto-libm-test-out: Regenerated.
9012 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9013 (exp10_test_tonearest): New function.
9014 (exp10_towardzero_test_data): New array.
9015 (exp10_test_towardzero): New function.
9016 (exp10_downward_test_data): New array.
9017 (exp10_test_downward): New function.
9018 (exp10_upward_test_data): New array.
9019 (exp10_test_upward): New function.
9020 (main): Call the new functions.
9021 * sysdeps/i386/fpu/libm-test-ulps: Update.
9022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9024 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9026 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9027 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9028 * math/auto-libm-test-out: Regenerated.
9029 * math/libm-test.inc (acosh_test_data): Add more tests.
9030 (atanh_test_data): Likewise.
9031 (ceil_test_data): Likewise.
9032 (copysign_test_data): Likewise.
9033 * sysdeps/i386/fpu/libm-test-ulps: Update.
9034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9036 * timezone/checktab.awk: Update from tzcode 2013i.
9037 * timezone/private.h: Likewise.
9038 * timezone/scheck.c: Likewise.
9039 * timezone/tzfile.h: Likewise.
9040 * timezone/tzselect.ksh: Likewise.
9041 * timezone/zdump.c: Likewise.
9042 * timezone/zic.c: Likewise.
9044 * math/auto-libm-test-in: Add tests of cpow.
9045 * math/auto-libm-test-out: Regenerated.
9046 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9047 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9049 (func_calc_desc): Add mpc_cc_c union field.
9050 (test_functions): Add cpow.
9051 (special_fill_2pi): New function.
9052 (special_real_inputs): Add 2pi.
9053 (calc_generic_results): Handle mpc_cc_c.
9054 * sysdeps/i386/fpu/libm-test-ulps: Update.
9055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9057 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9058 csqrt, ctan and ctanh.
9059 * math/auto-libm-test-out: Regenerated.
9060 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9061 (TEST_COND_x86): Likewise.
9062 (ccos_test_data): Use AUTO_TESTS_c_c.
9063 (ccosh_test_data): Likewise.
9064 (cexp_test_data): Likewise.
9065 (clog_test_data): Likewise.
9066 (csqrt_test_data): Likewise.
9067 (ctan_test_data): Likewise.
9068 (ctan_tonearest_test_data): Likewise.
9069 (ctan_towardzero_test_data): Likewise.
9070 (ctan_downward_test_data): Likewise.
9071 (ctan_upward_test_data): Likewise.
9072 (ctanh_test_data): Likewise.
9073 (ctanh_tonearest_test_data): Likewise.
9074 (ctanh_towardzero_test_data): Likewise.
9075 (ctanh_downward_test_data): Likewise.
9076 (ctanh_upward_test_data): Likewise.
9077 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9079 (func_calc_desc): Add mpc_c_c union field.
9080 (FUNC_mpc_c_c): New macro.
9081 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9082 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9084 (special_fill_min_subnorm_p120): New function.
9085 (special_real_inputs): Add min_subnorm_p120.
9086 (calc_generic_results): Handle mpc_c_c.
9087 * sysdeps/i386/fpu/libm-test-ulps: Update.
9088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9090 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9092 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9093 (do_sin_slow): New functions.
9094 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9095 (cslow2, csloww1, csloww2): Use the new functions.
9097 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9098 Use M to change sign of result instead of X. Assume X is
9100 (csloww1): Likewise.
9104 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9109 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9111 (sloww1): Don't adjust sign of DX.
9112 (csloww1): Likewise.
9113 (sloww2): Use X directly and don't adjust sign of DX.
9114 (csloww2): Likewise.
9116 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9118 * math/auto-libm-test-in: Add tests of cabs and carg.
9119 * math/auto-libm-test-out: Regenerated.
9120 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9121 (carg_test_data): Likewise.
9122 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9124 (func_calc_desc): Add mpc_c_f union field.
9125 (test_functions): Add cabs and carg.
9126 (calc_generic_results): Handle mpc_c_f.
9128 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9129 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9130 as a macro and a compat symbol.
9131 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9132 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9133 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9134 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9135 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9136 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9138 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9140 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9142 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9144 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9146 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9148 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9149 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9152 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9156 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9158 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9159 trailing whitespace removed.
9160 * scripts/config.guess: Update to version 2013-11-29.
9161 * scripts/config.sub: Update to version 2013-10-01.
9163 * math/auto-libm-test-in: Add tests of sincos.
9164 * math/auto-libm-test-out: Regenerated.
9165 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9166 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9168 (func_calc_desc): Add mpfr_f_11 union field.
9169 (test_functions): Add sincos.
9170 (calc_generic_results): Handle mpfr_f_11.
9171 * sysdeps/i386/fpu/libm-test-ulps: Update.
9172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9174 2013-12-19 Andreas Schwab <schwab@suse.de>
9176 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9178 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9179 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9180 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9182 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9184 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9185 * sysdeps/i386/fpu/libm-test-ulps: Update.
9186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9189 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9190 round-to-nearest mode when using frndint.
9191 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9192 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9193 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9195 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9197 * math/auto-libm-test-out: Regenerated.
9198 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9199 (TEST_COND_x86): Likewise.
9200 (expm1_tonearest_test_data): New array.
9201 (expm1_test_tonearest): New function.
9202 (expm1_towardzero_test_data): New array.
9203 (expm1_test_towardzero): New function.
9204 (expm1_downward_test_data): New array.
9205 (expm1_test_downward): New function.
9206 (expm1_upward_test_data): New array.
9207 (expm1_test_upward): New function.
9208 (main): Run the new test functions.
9209 * sysdeps/i386/fpu/libm-test-ulps: Update.
9210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9212 * include/features.h: Update comment documenting feature test
9213 macros. Mention _DEFAULT_SOURCE in comment.
9214 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9215 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9216 _BSD_SOURCE and _SVID_SOURCE.
9217 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9218 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9219 !_SVID_SOURCE]: Likewise.
9220 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9221 (__USE_POSIX_IMPLICITLY): Define.
9222 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9223 (_POSIX_SOURCE): Undefine and redefine.
9224 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9225 (_POSIX_C_SOURCE): Likewise.
9226 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9227 (Feature Test Macros): Update documentation of default features.
9229 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9231 * benchtests/Makefile: Add bench-strtok.
9232 * benchtests/bench-strtok.c: New file: strtok benchtest.
9234 2013-12-19 Allan McRae <allan@archlinux.org>
9236 * manual/install.texi: Suppress menu for plain text output.
9237 * INSTALL: Regenerated.
9239 2013-12-18 Brooks Moses <bmoses@google.com>
9242 * misc/getauxval.c: Include errno.h.
9243 (__getauxval): Set errno to ENOENT if the requested type is not
9245 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9246 don't declare with __attribute_const__.
9247 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9248 * manual/startup.texi: Document that getauxval sets errno.
9250 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9252 * math/auto-libm-test-in: Add tests of jn and yn.
9253 * math/auto-libm-test-out: Regenerated.
9254 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9255 (yn_test_data): Likewise.
9256 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9258 (func_calc_desc): Add mpfr_if_f union field.
9259 (FUNC_mpfr_if_f): New macro.
9260 (test_functions): Add jn and yn.
9261 (calc_generic_results): Assert type of second input for
9262 mpfr_ff_f. Handle mpfr_if_f.
9263 (output_for_one_input_case): Disable all checking for arguments
9264 fitting floating-point types in case of an integer argument.
9265 * sysdeps/i386/fpu/libm-test-ulps: Update.
9266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9269 Don't expect fegetround reference in libm.so.
9271 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9273 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9274 $(config-cflags-nofma).
9276 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9278 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9279 * math/auto-libm-test-out: Regenerated.
9282 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9283 to determine exponent and adjust argument to have exponent of -1.
9284 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9286 * math/auto-libm-test-out: Regenerated.
9287 * sysdeps/i386/fpu/libm-test-ulps: Update.
9288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9290 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9292 * manual/probes.texi: Remove cases when per-thread arenas are
9295 2013-12-18 Andreas Schwab <schwab@suse.de>
9297 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9298 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9299 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9300 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9301 * sysdeps/i386/i686/multiarch/Makefile: Update.
9302 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9304 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9306 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9307 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9309 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9312 Support TZ transition times < 00:00:00.
9313 This is needed for version-3 tz-format files; it supports time
9314 stamps past 2037 for America/Godthab (the only entry in the tz
9315 database for which this change is relevant).
9316 * manual/time.texi (TZ Variable): Document transition times
9317 from -167:59:59 through -00:00:01.
9318 * time/tzset.c (tz_rule): Time of day is now signed.
9319 (__tzset_parse_tz): Parse negative time of day.
9321 Document TZ transition times >= 25:00:00.
9322 * manual/time.texi (TZ Variable): Document transition times from
9323 25:00:00 through 167:59:59. These are already supported, and this
9324 support will help with version-3 tz-format files.
9326 * manual/time.texi (TZ Variable): Modernize North America example
9327 to reflect current (i.e., 2007-and-later) daylight saving rules.
9329 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9331 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9333 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9334 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9335 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9336 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9337 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9338 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9339 * sysdeps/unix/bsd/clock.c: Likewise.
9340 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9341 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9342 * sysdeps/unix/bsd/init-posix.c: Likewise.
9343 * sysdeps/unix/bsd/poll.c: Likewise.
9344 * sysdeps/unix/bsd/ptsname.c: Likewise.
9345 * sysdeps/unix/bsd/seekdir.c: Likewise.
9346 * sysdeps/unix/bsd/setegid.c: Likewise.
9347 * sysdeps/unix/bsd/seteuid.c: Likewise.
9348 * sysdeps/unix/bsd/setgid.c: Likewise.
9349 * sysdeps/unix/bsd/setrgid.c: Likewise.
9350 * sysdeps/unix/bsd/setruid.c: Likewise.
9351 * sysdeps/unix/bsd/setsid.c: Likewise.
9352 * sysdeps/unix/bsd/setuid.c: Likewise.
9353 * sysdeps/unix/bsd/sigaction.c: Likewise.
9354 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9355 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9356 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9357 * sysdeps/unix/bsd/telldir.c: Likewise.
9358 * sysdeps/unix/bsd/times.c: Likewise.
9359 * sysdeps/unix/bsd/usleep.c: Likewise.
9361 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9362 ($(objpfx)libbsd-compat.a): Remove rule.
9364 * include/features.h (__FAVOR_BSD): Do not define.
9365 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9366 features conflicting with POSIX.
9367 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9368 (_BSD_SOURCE): Remove description of not being a subset of other
9369 feature test macros.
9370 * manual/job.texi (getpgrp): Do not document BSD version.
9371 (getpgid): Do not document by reference to BSD getpgrp.
9372 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9373 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9374 * signal/signal.h [__FAVOR_BSD]: Likewise.
9375 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9376 instead of making contents conditional on [__FAVOR_BSD].
9377 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9379 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9383 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9386 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9387 values below 2**-450, not 2**-500.
9388 * math/auto-libm-test-in: Don't allow spurious underflow from
9390 * math/auto-libm-test-out: Regenerated.
9394 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9395 values of ha and hb and sort them after adjusting subnormal
9397 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9399 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9400 values of ea and eb and sort them after adjusting subnormal
9402 * math/auto-libm-test-in: Do not expect some hypot tests of
9403 subnormals to fail. Add more hypot tests.
9404 * math/auto-libm-test-out: Regenerated.
9406 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9409 * sysdeps/sh/s_fma.c: New file.
9410 * sysdeps/sh/s_fmaf.c: New file.
9411 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9413 * sysdeps/sh/Implies: Add sh/soft-fp.
9415 2013-12-16 Roland McGrath <roland@hack.frob.com>
9417 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9418 level of indirection to members `objname', `errstring', `malloced'.
9419 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9420 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9421 it as the __longjmp argument (just pass 1 instead).
9422 (_dl_catch_error): Initialize C with argument pointers and address of
9423 volatile local ERRCODE rather than copying values out of C at return.
9425 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9427 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9428 * math/auto-libm-test-out: Regenerated.
9429 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9430 (hypot_test_data): Likewise.
9431 (pow_test_data): Likewise.
9432 (pow_tonearest_test_data): Likewise.
9433 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9435 (func_calc_desc): Add mpfr_ff_f union field.
9436 (FUNC_mpfr_ff_f): New macro.
9437 (test_functions): Add atan2, hypot and pow.
9438 (special_fill_min): New function.
9439 (special_fill_minus_min): Likewise.
9440 (special_fill_min_subnorm): Likewise.
9441 (special_fill_minus_min_subnorm): Likewise.
9442 (special_real_inputs): Add min, -min, min_subnorm and
9444 (calc_generic_results): Handle mpfr_ff_f.
9445 * sysdeps/i386/fpu/libm-test-ulps: Update.
9446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9448 2013-12-16 Will Newton <will.newton@linaro.org>
9450 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9451 (Aligned Memory Blocks): Add documentation for aligned_alloc
9452 and suggest it as an alternative to posix_memalign.
9453 (Hooks for Malloc): Document __memalign_hook is also called
9454 for aligned_alloc. (Summary of Malloc): Add summary for
9455 aligned alloc. Document __memalign_hook is also called
9458 2013-12-16 Will Newton <will.newton@linaro.org>
9460 * manual/memory.texi (Malloc Examples): Clarify default
9461 alignment documentation. Suggest posix_memalign rather
9462 than memalign or valloc.
9463 (Aligned Memory Blocks): Remove suggestion to use memalign
9464 or valloc. Remove obsolete comment about BSD.
9465 Document memalign errno values and mark the function obsolete.
9466 Document posix_memalign returned error codes. Mark valloc
9467 as obsolete. (Hooks for Malloc): __memalign_hook is also
9468 called for posix_memalign and valloc.
9469 (Summary of Malloc): Add posix_memalign to function summary.
9470 __memalign_hook is also called for posix_memalign and valloc.
9472 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9474 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9478 (sloww): Use mynumber union. Expand ternary operator into
9480 (cslow): use mynumber union.
9482 2013-12-16 Allan McRae <allan@archlinux.org>
9484 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9485 * configure: Regenerated.
9487 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9490 * configure.ac: Added --enable-maintainer-mode. Check for
9491 autoconf when enabled.
9492 * configure: Regenerated.
9494 * nscd/nscd.service: New file.
9495 * nscd/nscd.tmpfiles: New file.
9497 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9500 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9501 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9502 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9503 (strstr): Add __strstr_sse2_unaligned ifunc.
9504 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9505 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9506 (strcasestr): Remove __strcasestr_sse42 ifunc.
9507 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9508 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9511 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9513 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9514 * sysdeps/sh/bits/fenv.h: ... here.
9515 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9517 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9519 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9522 hypotf multiarch implementations.
9523 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9524 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9525 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9526 multiarch hypot for PPC64.
9527 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9528 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9529 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9530 multiarch hypotf for PPC64.
9532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9533 modff multiarch implementations.
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9537 multiarch modf for PPC64.
9538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9541 multiarch modff for PPC64.
9543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9544 and logl multiarch implementations.
9545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9548 multiarch logb for PPC64.
9549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9552 multiarch logb for PPC64.
9553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9556 multiarch logb for PPC64.
9558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9559 isinff multiarch implementation.
9560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9564 multiarch isinf for PPC64.
9565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9568 multiarch isinff for PPC64.
9570 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9571 finitef multiarch implementation.
9572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9576 multiarch finite for PPC64.
9577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9580 multiarch finitef for PPC64.
9582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9583 lrint multiarch implementation.
9584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9588 multiarch llrint for PPC64.
9589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9590 multiarch lrint for PPC64.
9592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9593 copysignf multiarch implementation.
9594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9599 multiarch copysign for PPC64.
9600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9601 multiarch copysignf for PPC64.
9603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9604 multiarch implementation.
9605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9613 multiarch llround for PPC64.
9614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9615 multiarch trunc for PPC64.
9616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9617 multiarch truncf for PPC64.
9619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9620 multiarch implementation.
9621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9629 multiarch llround for PPC64.
9630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9631 multiarch round for PPC64.
9632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9633 multiarch roundf for PPC64.
9635 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9636 multiarch implementation.
9637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9645 multiarch llround for PPC64.
9646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9647 multiarch floor for PPC64.
9648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9649 multiarch floorf for PPC64.
9651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9652 multiarch implementation.
9653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9661 multiarch llround for PPC64.
9662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9663 multiarch ceil for PPC64.
9664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9665 multiarch ceilf for PPC64.
9667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9668 multiarch implementation.
9669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9676 multiarch llround for PPC64.
9677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9678 multiarch lround for PPC64.
9680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9681 multiarch implementation.
9682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9689 multiarch isnan for PPC64.
9690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9691 multiarch isnanf for PPC64.
9693 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9694 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9695 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9696 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9697 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9700 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9701 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9702 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9703 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9706 multiarch implementations.
9707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9708 (__libc_ifunc_impl_list): Likewise.
9709 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9710 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9711 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9712 multiarch stpcpy for PPC64.
9714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9715 multiarch implementations.
9716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9717 (__libc_ifunc_impl_list): Likewise.
9718 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9719 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9720 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9721 multiarch strcpy for PPC64.
9723 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9724 redefine function name.
9725 (_wordcopy_fwd_dest_aligned): Likewise.
9726 (_wordcopy_bwd_aligned): Likewise.
9727 (_wordcopy_bwd_dest_aligned): Likewise.
9728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9729 multiarch implementations.
9730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9731 (__libc_ifunc_impl_list): Likewise.
9732 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9733 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9734 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9735 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9736 multiarch wcscpy for PPC64.
9738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9739 multiarch implementations.
9740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9741 (__libc_ifunc_impl_list): Likewise.
9742 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9743 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9744 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9745 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9746 multiarch wcscpy for PPC64.
9748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9749 multiarch implementations.
9750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9751 (__libc_ifunc_impl_list): Likewise.
9752 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9753 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9754 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9755 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9756 multiarch wcsrchr for PPC64.
9758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9759 multiarch implementations.
9760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9761 (__libc_ifunc_impl_list): Likewise.
9762 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9763 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9764 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9765 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9766 multiarch wcschr for PPC64.
9768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9769 multiarch implementations.
9770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9771 (__libc_ifunc_impl_list): Likewise.
9772 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9773 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9774 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9775 multiarch strchrnul for PPC64.
9777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9780 (__libc_ifunc_impl_list): Likewise.
9781 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9782 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9783 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9784 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9790 (__libc_ifunc_impl_list): Likewise.
9791 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9792 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9793 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9794 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9798 multiarch implementations.
9799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9800 (__libc_ifunc_impl_list): Likewise.
9801 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9802 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9803 strncasecmp for PPC64.
9804 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9805 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9806 multiarch strncasecmp_l for PPC64.
9808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9809 multiarch implementations.
9810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9811 (__libc_ifunc_impl_list): Likewise.
9812 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9813 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9814 multiarch strcasecmp for PPC64.
9815 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9817 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9818 multiarch strcasecmp_l for PPC64.
9820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9823 (__libc_ifunc_impl_list): Likewise.
9824 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9825 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9826 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9832 (__libc_ifunc_impl_list): Likewise.
9833 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9834 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9835 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9841 (__libc_ifunc_impl_list): Likewise.
9842 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9843 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9844 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9845 rawmemrchr for PPC64.
9847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9850 (__libc_ifunc_impl_list): Likewise.
9851 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9852 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9853 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9859 (__libc_ifunc_impl_list): Likewise.
9860 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9861 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9862 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9868 (__libc_ifunc_impl_list): Likewise.
9869 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9870 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9871 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9874 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9875 avoid cretion of __bzero symbol.
9876 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9878 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9880 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9883 multiarch implementations.
9884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9885 (__libc_ifunc_impl_list): Likewise.
9886 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9887 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9888 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9889 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9891 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9892 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9893 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9894 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9895 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9897 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9899 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9903 (__libc_ifunc_impl_list): Likewise.
9904 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9905 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9906 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9907 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9911 multiarch for POWER/PPC64.
9912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9913 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9914 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9915 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9916 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9917 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9918 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9919 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9920 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9923 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9924 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9925 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9926 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9927 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9928 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9929 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9930 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9931 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9932 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9933 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9934 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9935 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9936 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9937 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9946 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9948 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9950 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9952 * benchtests/Makefile (bench): Add exp2 and log2.
9953 (LDLIBS-bench-exp2): Add -lm.
9954 (LDLIBS-bench-log2): Likewise.
9955 * benchtests/exp2-inputs: New inputs file.
9956 * benchtests/log2-inputs: New inputs file.
9957 * benchtests/log-inputs: Add new inputs.
9958 * benchtests/tan-inputs: Likewise.
9960 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9962 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9964 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9965 (csloww2): ... from here.
9967 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9968 instead of structures.
9969 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9970 (POLYNOMIAL): Likewise.
9971 (TAYLOR_SLOW): Likewise.
9979 (bsloww1): Likewise.
9980 (bsloww2): Likewise.
9983 (csloww1): Likewise.
9984 (csloww2): Likewise.
9986 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9988 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9989 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9990 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9991 * malloc/hooks.c (realloc_check): Likewise.
9993 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9994 * malloc/arena.c: Remove PER_THREAD conditional.
9995 [!PER_THREAD]: Remove code.
9996 (ptmalloc_unlock_all2): Likewise.
9997 (ptmalloc_init): Likewise.
9998 (_int_new_arena): Likewise.
9999 (arena_get2): Likewise.
10000 * malloc/hooks.c (__malloc_get_state): Likewise.
10001 (__malloc_set_state): Likewise.
10002 * malloc/malloc.c: Likewise.
10003 (struct malloc_state): Likewise.
10004 (struct malloc_par): Likewise.
10005 (__libc_realloc): Likewise.
10006 (__libc_mallopt): Likewise.
10008 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10010 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10012 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10014 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10015 macro to a function. Check for zero perturb_byte.
10016 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10018 * malloc/malloc.c: (force_reg): Remove.
10019 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10020 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10021 force_reg by atomic_forced_read.
10022 * malloc/arena.c (ptmalloc_init): Likewise.
10023 * malloc/hooks.c (top_check): Likewise.
10025 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10029 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10033 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10035 * math/auto-libm-test-in: Add tests of lgamma.
10036 * math/auto-libm-test-out: Regenerated.
10037 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10038 (M_LOG_2_SQRT_PIl): Likewise.
10039 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10040 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10042 (func_calc_desc): Add mpfr_f_f1 union field.
10043 (ARGS1): New macro.
10051 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10052 (test_functions): Add lgamma.
10053 (calc_generic_results): Handle mpfr_f_f1.
10054 * sysdeps/i386/fpu/libm-test-ulps: Update.
10055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10057 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10059 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10060 __mpn_add_n for PowerPC64/POWER7.
10061 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10062 __mpn_sub_n for PowerPC64/POWER7.
10064 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10065 __mpn_addmul_1 for PowerPC64.
10066 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10067 __mpn_submul_1 for PowerPC64.
10068 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10070 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10073 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10076 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10078 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10080 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10082 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10083 add multiarch folders.
10084 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10085 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10086 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10087 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10088 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10089 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10090 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10091 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10092 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10093 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10094 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10103 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10109 multiarch __ieee754_hypot for PowerPC32.
10110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10115 multiarch __ieee754_hypotf for PowerPC32.
10117 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10118 long_double_symbol only if __logbl is defined.
10119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10120 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10121 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10122 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10123 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10124 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10125 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10126 path for implementation.
10127 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10128 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10130 logb, and logbl multiarch implementations for PowerPC32.
10131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10136 multiarch logb for PowerPC32.
10137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10142 multiarch logbf for PowerPC32.
10143 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10147 multiarch logbl implementation for PowerPC32.
10149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10150 and modff multiarch implementations.
10151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10156 multiarch modf for PowerPC32.
10157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10162 multiarch modff for PowerPC32.
10164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10165 and lrintf multiarch implementations.
10166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10171 multiarch lrint for PowerPC32.
10172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10173 file: multiarch lrintf for PowerPC32.
10175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10176 and lroundf multiarch implementations.
10177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10184 multiarch lround for PowerPC32.
10185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10186 file: multiarch lroundf for PowerPC32.
10188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10189 copysign and copysignf multiarch implementations.
10190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10195 file: multiarch copysign for PowerPC32.
10196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10197 file: multiarch copysignf for PowerPC32.
10199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10200 and truncf multiarch implementations.
10201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10206 multiarch trunc for PowerPC32.
10207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10212 multiarch truncf for PowerPC32.
10214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10215 and roundf multiarch implementations.
10216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10221 multiarch round for PowerPC32.
10222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10227 multiarch roundf for PowerPC32.
10229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10230 and floorf multiarch implementations.
10231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10236 multiarch floor for PowerPC32.
10237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10242 multiarch floorf for PowerPC32.
10244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10245 and ceilf multiarch implementations.
10246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10251 multiarch ceil for PowerPC32.
10252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10257 multiarch ceilf for PowerPC32.
10259 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10261 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10262 FINITEF is defined.
10263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10264 and finitef multiarch implementations.
10265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10270 multiarch finite for PowerPC32.
10271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10274 file: multiarch finitef for PowerPC32.
10276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10277 and isinff multiarch implementations.
10278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10283 multiarch isinf for PowerPC32.
10284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10287 multiarch isinff for PowerPC32.
10289 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10290 alias when __isnan is defined.
10291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10292 and isnanf multiarch implementations.
10293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10302 multiarch isnan for PowerPC32.
10303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10308 multiarch isnanf for PowerPC32.
10310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10311 and sqrtf multiarch implementations.
10312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10317 multiarch sqrt for PowerPC32.
10318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10323 multiarch sqrtf for PowerPC32.
10325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10326 and llroundf multiarch implementations.
10327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10334 file: multiarch llround for PowerPC32.
10335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10336 file: multiarch llroundf for PowerPC32.
10338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10339 multiarch PowerPC32 fpu implementations.
10340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10345 multiarch llrint for PowerPC32.
10346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10355 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10357 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10359 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10361 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10362 multiarch wordcopy for PPC32.
10363 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10365 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10366 (__libc_ifunc_impl_list): Likewise.
10367 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10368 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10369 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10370 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10371 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10372 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10374 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10375 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10377 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10379 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10382 multiarch wcscpy for PPC32.
10383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10386 (__libc_ifunc_impl_list): Likewise.
10387 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10388 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10389 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10390 sysdeps/powerpc/power6/wcscpy.c.
10392 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10393 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10395 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10399 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10400 multiarch wcsrchr for PPC32.
10401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10404 (__libc_ifunc_impl_list): Likewise.
10405 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10406 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10407 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10408 sysdeps/powerpc/power6/wcsrchr.c.
10410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10415 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10416 multiarch wcschr for PPc32.
10417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10420 (__libc_ifunc_impl_list): Likewise.
10421 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10422 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10423 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10424 sysdeps/powerpc/power6/wcschr.c.
10426 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10427 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10429 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10430 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10431 file: multiarch strchr for PPC32.
10432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10435 (__libc_ifunc_impl_list): Likewise.
10437 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10439 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10441 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10443 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10444 multiarch strchrnul for PPC32.
10445 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10448 (__libc_ifunc_impl_list): Likewise.
10450 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10452 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10453 multiarch strncasecmp for PPC32.
10454 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10456 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10457 multiarch strncasecmp_l for PPC32.
10458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10459 strncasecmp multiarch objects.
10460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10461 (__libc_ifunc_impl_list): Likewise.
10463 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10465 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10466 multiarch strncasecmp for PPC32.
10467 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10469 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10470 multiarch strcasecmp_l for PPC32.
10471 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10473 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10474 (__libc_ifunc_impl_list): Likewise.
10476 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10478 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10480 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10481 multiarch strncmp for PPC32.
10482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10485 (__libc_ifunc_impl_list): Likewise.
10487 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10488 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10490 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10491 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10495 (__libc_ifunc_impl_list): Likewise.
10497 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10499 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10501 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10502 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10504 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10505 (__libc_ifunc_impl_list): Likewise.
10507 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10509 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10511 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10512 multiarch rawmemchr for PPC32.
10513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10516 (__libc_ifunc_impl_list): Likewise.
10518 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10520 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10522 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10523 file: memrchr multiarch for PPC32.
10524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10527 (__libc_ifunc_impl_list): Likewise.
10529 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10530 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10532 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10533 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10534 multiarch memchr for PPC32.
10535 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10537 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10538 (__libc_ifunc_impl_list): Likewise.
10540 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10541 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10543 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10545 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10546 file: multiarch mempcpy for PPC32.
10547 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10549 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10550 (__libc_ifunc_impl_list): Likewise.
10552 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10553 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10554 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10555 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10556 multiarch bzero for PPC32.
10557 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10559 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10561 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10562 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10563 file: multiarch memset for PPC32.
10564 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10565 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10566 memset multiarch objects.
10567 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10568 (__libc_ifunc_impl_list): Likewise.
10570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10572 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10573 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10575 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10579 (__libc_ifunc_impl_list): Likewise.
10581 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10582 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10583 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10585 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10587 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10590 multiarch memcpy for PPC32.
10591 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10593 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10594 (__libc_ifunc_impl_list): Likewise.
10596 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10597 support multiarch for POWER/PPC32.
10598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10600 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10602 Implies file to make multiarch folder appers before the fpu and
10603 default folder for power4 configuration.
10605 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10607 * scripts/bench.pl: Append volatile keyword to type.
10609 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10611 * sysdeps/sh/sotruss-lib.c: New file.
10612 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10614 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10618 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10621 * math/w_tgamma.c: Include <errno.h>.
10622 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10623 * math/w_tgammaf.c: Include <errno.h>.
10624 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10625 * math/w_tgammal.c: Include <errno.h>.
10626 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10627 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10628 underflow. Add more tgamma tests.
10629 * math/auto-libm-test-out: Regenerated.
10630 * sysdeps/i386/fpu/libm-test-ulps: Update.
10631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10633 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10634 sin, sinh, tan, tanh, tgamma, y0 and y1.
10635 * math/auto-libm-test-out: Regenerated.
10636 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10637 (TEST_COND_x86): Likewise.
10638 (M_E2l): Remove macro.
10640 (M_2_SQRT_PIl): Likewise.
10641 (M_SQRT_PIl): Likewise.
10642 (M_1_DIV_El): Likewise.
10643 (log_test_data): Use AUTO_TESTS_f_f.
10644 (log10_test_data): Likewise.
10645 (log1p_test_data): Likewise.
10646 (log2_test_data): Likewise.
10647 (sin_test_data): Likewise.
10648 (sin_tonearest_test_data): Likewise.
10649 (sin_towardzero_test_data): Likewise.
10650 (sin_downward_test_data): Likewise.
10651 (sin_upward_test_data): Likewise.
10652 (sinh_test_data): Likewise.
10653 (sinh_tonearest_test_data): Likewise.
10654 (sinh_towardzero_test_data): Likewise.
10655 (sinh_downward_test_data): Likewise.
10656 (sinh_upward_test_data): Likewise.
10657 (tan_test_data): Likewise.
10658 (tan_tonearest_test_data): Likewise.
10659 (tan_towardzero_test_data): Likewise.
10660 (tan_downward_test_data): Likewise.
10661 (tan_upward_test_data): Likewise.
10662 (tanh_test_data): Likewise.
10663 (tgamma_test_data): Likewise.
10664 (y0_test_data): Likewise.
10665 (y1_test_data): Likewise.
10666 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10667 (special_real_inputs): Add pi/4.
10668 * sysdeps/i386/fpu/libm-test-ulps: Update.
10669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10671 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10673 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10674 "longjmp_target" static probes.
10675 (__longjmp): Rename to __longjmp_symbol.
10676 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10677 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10678 on which longjmp to generate.
10679 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10680 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10682 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10683 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10684 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10685 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10686 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10687 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10689 __longjmp_symbol based on which __longjmp to generate.
10690 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10692 (setjmp): Rename to setjmp_symbol.
10693 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10694 (_setjmp): Rename to _setjmp_symbol.
10695 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10696 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10697 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10698 which setjmp to generate.
10699 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10700 "longjmp_target" static probes.
10702 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10704 * benchtests/README: Add note about output arguments.
10705 * benchtests/bench-sincos.c: Remove file.
10706 * benchtests/sincos-inputs: New file.
10707 * scripts/bench.pl: Identify output arguments and define
10708 static variables for them.
10710 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10713 * Makefile (INSTALL): Add install-plain.texi as the primary
10715 * manual/install-plain.texi: New file.
10716 * manual/install.texi: Include node directive only for
10717 non-plaintext output.
10719 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10721 * stdlib/longlong.h: Update from GCC.
10725 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10726 * math/w_j0f.c (y0f): Likewise.
10727 * math/w_j0l.c (__y0l): Likewise.
10728 * math/w_j1.c (y1): Likewise.
10729 * math/w_j1f.c (y1f): Likewise.
10730 * math/w_j1l.c (__y1l): Likewise
10731 * math/w_jn.c (yn): Likewise.
10732 * math/w_jnf.c (ynf): Likewise.
10733 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10734 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10735 value for Bessel function domain errors outside _SVID_ mode.
10736 Adjust sign of return value for yn (negative integer, 0).
10737 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10738 by zero in return for negative x and set sign appropriately for
10740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10741 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10742 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10743 expectations in error cases.
10744 (y1_test_data): Likewise.
10745 (yn_test_data): Likewise.
10746 * sysdeps/i386/fpu/libm-test-ulps: Update.
10747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10749 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10751 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10752 "64" to "64-v1". Add "64-v2".
10753 (abi-64-options): Rename to ...
10754 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10755 (abi-64-condition): Rename to ...
10756 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10757 (abi-64-ld-soname): Rename to ...
10758 (abi-64-v1-ld-soname): ... this.
10759 (abi-64-v2-options): Define.
10760 (abi-64-v2-condition): Likewise.
10761 (abi-64-v2-ld-soname): Likewise.
10762 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10763 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10768 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10769 Alan Modra <amodra@gmail.com>
10771 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10772 New versions for use with the ELFv2 ABI.
10773 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10774 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10776 (struct La_ppc64v2_retval): Likewise.
10777 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10778 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10779 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10780 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10781 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10782 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10783 Do not save or restore CR.
10784 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10785 (_dl_profile_resolve): Do no save or restore CR. Support extended
10786 return values for ELFv2 ABI. Fix location of FPR return registers.
10787 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10788 updated values for _CALL_ELF == 2.
10789 (La_regs, La_retval, int_retval): Likewise.
10791 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10793 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10794 (FRAME_MIN_SIZE_PARM): Likewise.
10795 (FRAME_BACKCHAIN): Likewise.
10796 (FRAME_CR_SAVE): Likewise.
10797 (FRAME_LR_SAVE): Likewise.
10798 (FRAME_TOC_SAVE): Likewise.
10799 (FRAME_PARM_SAVE): Likewise.
10800 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10801 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10802 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10803 (call_mcount_parm_offset): New macro.
10804 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10805 (PROF): Use symbolic stack frame offsets.
10806 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10807 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10808 Redefine in terms of FRAME_MIN_SIZE.
10809 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10810 (_dl_profile_resolve): Likewise. Update comment.
10811 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10812 symbols stack frame offsets.
10813 (__sigsetjmp): Likewise.
10814 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10815 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10816 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10817 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10820 (FRAME_BACKCHAIN): Remove.
10821 (FRAME_CR_SAVE): Likewise.
10822 (FRAME_LR_SAVE): Likewise.
10823 (FRAME_COMPILER_DW): Likewise.
10824 (FRAME_LINKER_DW): Likewise.
10825 (FRAME_TOC_SAVE): Likewise.
10826 (FRAME_PARM_SAVE): Likewise.
10827 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10828 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10829 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10831 (CHECK_SP): Use symbolic stack frame offsets.
10832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10833 zone" instead of caller's parameter save area for temp storage.
10834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10835 Likewise. Also, use symbolic stack frame offsets.
10836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10837 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10838 our own stack frame instead of the caller's.
10839 (__socket): Use symbolic stack frame offsets.
10841 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10842 Alan Modra <amodra@gmail.com>
10844 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10846 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10847 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10848 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10850 (elf_machine_fixup_plt): Call it.
10851 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10853 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10854 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10855 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10856 r2 before calling target.
10858 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10859 Alan Modra <amodra@gmail.com>
10861 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10862 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10863 versions of macros to support ELFv2 ABI.
10864 (LOCALENTRY): New macro.
10865 (ENTRY, EALIGN): Use it.
10866 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10867 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10868 fall through into ENTRY entry point.
10869 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10870 Only define if _CALL_ELF != 2.
10872 (elf_machine_matches_host): Verify ABI version matches.
10873 (RTLD_START): Use LOCALENTRY.
10874 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10875 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10876 (PLT_ENTRY_WORDS): New macro.
10877 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10878 (elf_machine_runtime_setup): Support ELFv2 ABI.
10879 (elf_machine_fixup_plt): Likewise.
10880 (elf_machine_plt_conflict): Likewise.
10881 (resolve_ifunc): Likewise.
10882 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10883 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10886 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10888 (makecontext): Support ELFv2 ABI.
10889 * elf/elf.h (EF_PPC64_ABI): Define.
10891 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10893 * sysdeps/powerpc/powerpc64/sysdep.h
10894 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10895 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10896 (ENTRY) [ASSEMBLER]: ... but instead here ...
10897 (EALIGN) [ASSEMBLER]: ... and here.
10898 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10899 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10900 (ENTRY_2) [!ASSEMBLER]: Use it.
10901 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10902 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10903 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10904 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10905 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10907 Use PPC64_LOAD_FUNCPTR.
10909 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10911 2013-12-04 Alan Modra <amodra@gmail.com>
10913 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10914 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10915 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10916 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10918 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10919 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10920 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10921 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10922 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10923 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10925 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10928 (__makecontext): Fix incorrect CFI when backtracing out of
10929 context created via makecontext.
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10931 (__setcontext): Fix incorrect CFI during switch to new context.
10932 (__novec_setcontext): Likewise.
10934 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10937 * time/strptime_l.c (__strptime_internal): Allow modifiers
10939 * time/tst-strptime.c (day_tests): Add testcase.
10941 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10943 * scripts/bench.pl: Skip over blank lines.
10945 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10948 * manual/time.texi (Calendar Time): Clarify what timezone functions
10951 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10955 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10957 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10959 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10960 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10961 * debug/memset_chk.c (__memset_chk): Likewise.
10962 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10963 * debug/strncpy_chk.c: Likewise.
10965 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10969 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10970 (__ieee754_exp): For possibly underflowing results, check size of
10971 result and force underflow exception if required.
10972 * math/auto-libm-test-in: Add more tests of exp.
10973 * math/auto-libm-test-out: Regenerated.
10974 * sysdeps/i386/fpu/libm-test-ulps: Update.
10975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10978 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10979 * math/w_exp2f.c (__exp2f): Likewise.
10980 * math/w_exp2l.c (__exp2l): Likewise.
10981 * math/auto-libm-test-in: Do not allow missing errno on exp2
10983 * math/auto-libm-test-out: Regenerated.
10985 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10988 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10989 handle filename validation.
10990 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10993 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10996 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10997 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10998 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11000 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11002 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11003 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11004 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11005 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11006 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11007 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11008 Add more erfc tests.
11009 * math/auto-libm-test-out: Regenerated.
11010 * sysdeps/i386/fpu/libm-test-ulps: Update.
11011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11013 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11014 exp2, expm1, j0 and j1.
11015 * math/auto-libm-test-out: Regenerated.
11016 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11017 (erfc_test_data): Likewise.
11018 (exp_test_data): Likewise.
11019 (exp_tonearest_test_data): Likewise.
11020 (exp_towardzero_test_data): Likewise.
11021 (exp_downward_test_data): Likewise.
11022 (exp_upward_test_data): Likewise.
11023 (exp10_test_data): Likewise.
11024 (exp2_test_data): Likewise.
11025 (expm1_test_data): Likewise.
11026 (j0_test_data): Likewise.
11027 (j1_test_data): Likewise.
11028 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11029 (input_flag_type): Add flag_xfail_rounding.
11030 (input_flags): Add xfail-rounding.
11031 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11032 (output_for_one_input_case): Handle flag_xfail_rounding.
11033 * sysdeps/i386/fpu/libm-test-ulps: Update.
11034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11036 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11039 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11042 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11045 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11046 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11047 (STAP_PROBE0): New macro.
11048 (STAP_PROBE1): Likewise.
11049 (STAP_PROBE2): Likewise.
11050 (STAP_PROBE3): Likewise.
11051 (STAP_PROBE4): Likewise.
11053 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11055 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11057 2013-12-02 Steve Ellcey <sellcey@mips.com>
11059 * benchtests/Makefile (bench): Add sqrt.
11060 (LDLIBS-bench-sqrt): New.
11061 * benchtests/sqrt-input: New.
11063 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11065 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11066 (GAIH_EAI): Likewise.
11067 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11068 (gaih_inet): Likewise.
11069 (getaddrinfo): Don't use GAIH_EAI.
11071 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11072 (struct gaih): Remove definition.
11074 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11076 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11077 Use HERRNOP directly.
11079 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11083 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11085 * math/gen-auto-libm-tests.c (test_functions): Add more
11086 single-argument functions.
11087 (special_fill_pi_2): New function.
11088 (special_fill_minus_pi_2): Likewise.
11089 (special_fill_pi_6): Likewise.
11090 (special_fill_minus_pi_6): Likewise.
11091 (special_fill_pi_3): Likewise.
11092 (special_fill_2pi_3): Likewise.
11093 (special_fill_e): Likewise.
11094 (special_fill_1_e): Likewise.
11095 (special_fill_e_minus_1): Likewise.
11096 (special_real_inputs): Add more special inputs.
11097 (output_for_one_input_case): Do not require ERANGE on underflow to
11098 zero if round-to-nearest result does not underflow to zero, unless
11099 exact results required.
11100 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11101 atan, atanh, cbrt, cos and cosh.
11102 * math/auto-libm-test-out: Regenerated.
11103 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11104 (acos_tonearest_test_data): Likewise.
11105 (acos_towardzero_test_data): Likewise.
11106 (acos_downward_test_data): Likewise.
11107 (acos_upward_test_data): Likewise.
11108 (acosh_test_data): Likewise.
11109 (asin_test_data): Likewise.
11110 (asin_tonearest_test_data): Likewise.
11111 (asin_towardzero_test_data): Likewise.
11112 (asin_upward_test_data): Likewise.
11113 (asinh_test_data): Likewise.
11114 (atan_test_data): Likewise.
11115 (atanh_test_data): Likewise.
11116 (cbrt_test_data): Likewise.
11117 (cos_test_data): Likewise.
11118 (cos_tonearest_test_data): Likewise.
11119 (cos_towardzero_test_data): Likewise.
11120 (cos_downward_test_data): Likewise.
11121 (cos_upward_test_data): Likewise.
11122 (cosh_test_data): Likewise.
11123 (cosh_tonearest_test_data): Likewise.
11124 (cosh_towardzero_test_data): Likewise.
11125 (cosh_downward_test_data): Likewise.
11126 (cosh_upward_test_data): Likewise.
11127 * sysdeps/i386/fpu/libm-test-ulps: Update.
11128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11130 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11133 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11134 * math/w_exp10f.c (__exp10f): Likewise.
11135 * math/w_exp10l.c (__exp10l): Likewise.
11136 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11137 errno settings in existing tests.
11140 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11141 precision control set to double precision.
11142 * sysdeps/i386/fpu/w_sqrt.c: New file.
11143 * math/auto-libm-test-in: Add more tests.
11144 * math/auto-libm-test-out: Update.
11146 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11147 (sqrt_test_tonearest): New function.
11148 (sqrt_towardzero_test_data): New variable.
11149 (sqrt_test_towardzero): New function.
11150 (sqrt_downward_test_data): New variable.
11151 (sqrt_test_downward): New function.
11152 (sqrt_upward_test_data): New variable.
11153 (sqrt_test_upward): New function.
11154 (main): Call the new functions.
11156 * math/gen-auto-libm-tests.c: New file.
11157 * math/auto-libm-test-in: Likewise.
11158 * math/auto-libm-test-out: New generated file.
11159 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11161 (%beautify): Add generated representations of zero.
11162 (top level): Set $auto_input and call parse_auto_input.
11163 (beautify): Remove trailing "f" from hex float constants.
11164 (parse_args): Handle XFAIL_TEST.
11165 (convert_condition): New function.
11166 (or_value): Likewise.
11167 (or_cond_value): Likewise.
11168 (generate_testfile): Handle AUTO_TESTS_* lines.
11169 (parse_auto_input): New function.
11170 * math/libm-test.inc (XFAIL_TEST): New macro.
11171 (ERRNO_UNCHANGED): Update value.
11172 (ERRNO_EDOM): Likewise.
11173 (ERRNO_ERANGE): Likewise.
11174 (IGNORE_RESULT): Likewise.
11175 (TEST_COND_flt_32): New macro.
11176 (TEST_COND_dbl_64): Likewise.
11177 (TEST_COND_ldbl_96_intel): Likewise.
11178 (TEST_COND_ldbl_96_m68k): Likewise.
11179 (TEST_COND_ldbl_128): Likewise.
11180 (TEST_COND_ldbl_128ibm): Likewise.
11181 (TEST_COND_long32): Likewise.
11182 (TEST_COND_long64): Likewise.
11183 (TEST_COND_before_rounding): Likewise.
11184 (TEST_COND_after_rounding): Likewise.
11185 (enable_test): Handle XFAIL_TEST flag.
11186 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11187 with finite results.
11188 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11189 auto-libm-test-out.
11191 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11192 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11195 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11196 __tls_get_addr_internal instead of __tls_get_offset in order to
11197 avoid GOT pointer dependency. Make rtld export
11198 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11199 __tls_get_addr since we are a __tls_get_offset platform.
11200 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11201 GOT pointer being set up before.
11202 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11204 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11206 * manual/math.texi (Errors in Math Functions): Document accuracy
11210 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11211 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11213 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11214 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11215 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11216 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11219 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11221 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11227 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11228 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11229 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11230 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11231 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11233 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11235 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11237 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11238 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11239 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11240 atomic-feupdateenv and flt-rounds.
11241 * sysdeps/powerpc/nofpu/Versions (libc): Add
11242 __atomic_feholdexcept, __atomic_feclearexcept,
11243 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11244 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11245 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11246 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11247 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11252 * manual/arith.texi (FP Exceptions): Document that exceptions may
11253 not be raised when matherr is used.
11254 (Math Error Reporting): Document overflow in directed rounding
11255 modes. Document that errno may not be set when finite values are
11256 returned on overflow. Document intent to set errno on underflow
11257 only for underflow to zero.
11260 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11261 round-to-nearest then adjust result for other rounding modes.
11262 * include/fenv.h (fegetround): Use libm_hidden_proto.
11263 * math/fegetround.c (fegetround): Use libm_hidden_def.
11264 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11265 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11266 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11267 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11269 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11270 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11271 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11272 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11274 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11277 * nss/Versions (libnss_files): Add
11278 _nss_files_gethostbyname3_r.
11279 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11281 (HOST_DB_LOOKUP): Remove macro.
11282 (_nss_files_gethostbyname_r): Implement function without the
11283 HOST_DB_LOOKUP macro.
11284 (_nss_files_gethostbyname2_r): Likewise.
11286 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11288 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11290 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11292 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11293 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11296 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11298 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11299 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11300 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11301 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11302 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11303 __fe_nomask_env_priv and attribute_hidden.
11304 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11305 (libc_feupdateenv_test_ppc): Likewise.
11306 (libc_feresetround_ppc): Likewise.
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11308 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11309 compat_symbol macro.
11310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11311 (__fe_nomask_env): Likewise.
11312 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11314 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11316 * string/Makefile: Remove ifunc tests.
11317 * string/test-string.h: Define TEST_IFUNC.
11318 * string/test-bcopy-ifunc.c: Remove.
11319 * string/test-bzero-ifunc.c: Likewise.
11320 * string/test-memccpy-ifunc.c: Likewise.
11321 * string/test-memchr-ifunc.c: Likewise.
11322 * string/test-memcmp-ifunc.c: Likewise.
11323 * string/test-memcpy-ifunc.c: Likewise.
11324 * string/test-memmem-ifunc.c: Likewise.
11325 * string/test-memmove-ifunc.c: Likewise.
11326 * string/test-mempcpy-ifunc.c: Likewise.
11327 * string/test-memrchr-ifunc.c: Likewise.
11328 * string/test-memset-ifunc.c: Likewise.
11329 * string/test-rawmemchr-ifunc.c: Likewise.
11330 * string/test-stpcpy-ifunc.c: Likewise.
11331 * string/test-stpncpy-ifunc.c: Likewise.
11332 * string/test-strcasecmp-ifunc.c: Likewise.
11333 * string/test-strcasestr-ifunc.c: Likewise.
11334 * string/test-strcat-ifunc.c: Likewise.
11335 * string/test-strchr-ifunc.c: Likewise.
11336 * string/test-strchrnul-ifunc.c: Likewise.
11337 * string/test-strcmp-ifunc.c: Likewise.
11338 * string/test-strcpy-ifunc.c: Likewise.
11339 * string/test-strcspn-ifunc.c: Likewise.
11340 * string/test-strlen-ifunc.c: Likewise.
11341 * string/test-strncasecmp-ifunc.c: Likewise.
11342 * string/test-strncat-ifunc.c: Likewise.
11343 * string/test-strncmp-ifunc.c: Likewise.
11344 * string/test-strncpy-ifunc.c: Likewise.
11345 * string/test-strnlen-ifunc.c: Likewise.
11346 * string/test-strpbrk-ifunc.c: Likewise.
11347 * string/test-strrchr-ifunc.c: Likewise.
11348 * string/test-strspn-ifunc.c: Likewise.
11349 * string/test-strstr-ifunc.c: Likewise.
11351 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11353 * benchtests/Makefile: Remove ifunc tests.
11354 * benchtests/bench-string.h: Define TEST_IFUNC.
11355 * benchtests/bench-bcopy-ifunc.c: Remove.
11356 * benchtests/bench-bzero-ifunc.c: Likewise.
11357 * benchtests/bench-memccpy-ifunc.c: Likewise.
11358 * benchtests/bench-memchr-ifunc.c: Likewise.
11359 * benchtests/bench-memcmp-ifunc.c: Likewise.
11360 * benchtests/bench-memcpy-ifunc.c: Likewise.
11361 * benchtests/bench-memmem-ifunc.c: Likewise.
11362 * benchtests/bench-memmove-ifunc.c: Likewise.
11363 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11364 * benchtests/bench-memrchr-ifunc.c: Likewise.
11365 * benchtests/bench-memset-ifunc.c: Likewise.
11366 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11367 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11368 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11369 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11370 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11371 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11372 * benchtests/bench-strcat-ifunc.c: Likewise.
11373 * benchtests/bench-strchr-ifunc.c: Likewise.
11374 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11375 * benchtests/bench-strcmp-ifunc.c: Likewise.
11376 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11377 * benchtests/bench-strcpy-ifunc.c: Likewise.
11378 * benchtests/bench-strcspn-ifunc.c: Likewise.
11379 * benchtests/bench-strlen-ifunc.c: Likewise.
11380 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11381 * benchtests/bench-strncat-ifunc.c: Likewise.
11382 * benchtests/bench-strncmp-ifunc.c: Likewise.
11383 * benchtests/bench-strncpy-ifunc.c: Likewise.
11384 * benchtests/bench-strnlen-ifunc.c: Likewise.
11385 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11386 * benchtests/bench-strrchr-ifunc.c: Likewise.
11387 * benchtests/bench-strsep-ifunc.c: Likewise.
11388 * benchtests/bench-strspn-ifunc.c: Likewise.
11389 * benchtests/bench-strstr-ifunc.c: Likewise.
11391 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11393 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11395 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11397 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11398 * rt/aio.h: Likewise.
11399 * sysdeps/gnu/bits/utmp.h: Likewise.
11400 * sysdeps/gnu/bits/utmpx.h: Likewise.
11401 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11402 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11403 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11404 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11405 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11406 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11407 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11408 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11409 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11410 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11411 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11412 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11413 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11415 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11416 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11417 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11418 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11419 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11420 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11421 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11422 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11423 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11424 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11425 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11427 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11428 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11429 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11430 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11431 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11432 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11433 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11435 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11436 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11437 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11438 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11439 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11440 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11441 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11442 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11444 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11447 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11448 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11450 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11452 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11453 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11456 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11458 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11459 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11460 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11461 (__fesetround): Remove define.
11462 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11463 rounding and exceptions handling.
11464 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11465 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11466 (__fe_nomask_env): Likewise.
11467 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11468 __fegetround instead of fegetround.
11469 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11470 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11472 2013-11-21 Roland McGrath <roland@hack.frob.com>
11474 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11477 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11479 2013-11-21 Meador Inge <meadori@codesourcery.com>
11482 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11483 (encrypt_r): Likewise.
11484 * malloc/obstack.h (obstack_free): Likewise.
11485 * posix/unistd.h (encrypt): Likewise.
11487 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11489 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11490 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11491 DL_CALL_DT_FINI() that call the functions directly.
11492 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11493 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11494 * elf/dl-fini.c: Likewise.
11496 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11498 * malloc/hooks.c (memalign_check): Add alignment rounding.
11499 * malloc/malloc.c (_mid_memalign): New function.
11500 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11501 Implement by calling _mid_memalign.
11502 * manual/probes.texi (Memory Allocation Probes): Remove
11503 memory_valloc_retry and memory_pvalloc_retry.
11505 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11507 * locale/programs/locarchive.c (open_archive): Add const
11508 qualifier to ARCHIVEFNAME and copy default fname to
11512 * libio/tst-widetext.input: Rename Oriya to Odia.
11513 * locale/iso-639.def: Likewise.
11515 * manual/probes.texi (Mathematical Function Probes): Add
11516 documentation for sin, cos, asin and acos probes.
11517 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11518 (__sin32): Add slowasin probe.
11519 (__cos32): Add slowacos probe.
11520 (__mpsin): Add slowsin probe.
11521 (__mpcos): Add slowcos probe.
11523 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11526 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11527 thread-local __sim_exceptions_thread and global
11528 __sim_exceptions_global.
11529 (__sim_disabled_exceptions): Change to thread-local
11530 __sim_disabled_exceptions_thread and global
11531 __sim_disabled_exceptions_global.
11532 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11533 and global __sim_round_mode_global.
11534 (__simulate_exceptions): Use thread-local floating-point state and
11535 set global state from it as needed.
11536 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11537 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11538 __sim_round_mode_thread.
11539 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11540 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11541 and global __sim_exceptions_global.
11542 (__sim_disabled_exceptions): Change to thread-local
11543 __sim_disabled_exceptions_thread and global
11544 __sim_disabled_exceptions_global.
11545 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11546 and global __sim_round_mode_global.
11547 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11548 (SIM_SET_GLOBAL): Likewise.
11549 * sysdeps/powerpc/soft-fp/sfp-machine.h
11550 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11551 __sim_round_mode_thread.
11552 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11553 __sim_disabled_exceptions_thread.
11554 (__sim_exceptions): Change to __sim_exceptions_thread.
11555 (__sim_disabled_exceptions): Change to
11556 __sim_disabled_exceptions_thread.
11557 (__sim_round_mode): Change to __sim_round_mode_thread.
11558 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11559 thread-local floating-point state and set global state from it as
11561 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11562 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11563 (__sim_disabled_exceptions): Remove extern declaration.
11564 (feenableexcept): Use thread-local floating-point state and set
11565 global state from it as needed.
11566 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11567 extern declaration.
11568 (__sim_disabled_exceptions): Likewise.
11569 (__sim_round_mode): Likewise.
11570 (__fegetenv): Use thread-local floating-point state.
11571 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11572 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11573 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11574 floating-point state and set global state from it as needed.
11575 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11576 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11577 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11579 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11580 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11582 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11583 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11584 Use __sim_round_mode_thread.
11585 * math/test-fenv-tls.c: New file.
11586 * math/Makefile (tests): Add test-fenv-tls.
11587 ($(objpfx)test-fenv-tls): Depend on
11588 $(common-objpfx)nptl/libpthread.so.
11590 2013-11-19 Andreas Schwab <schwab@suse.de>
11592 * locale/programs/locale.c (show_info): Decode wordarray elements.
11593 * locale/categories.def (LC_MONETARY): Add element for
11594 _NL_MONETARY_CRNCYSTR.
11595 * locale/C-monetary.c (conversion_rate): New variable.
11596 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11599 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11601 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11602 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11604 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11606 * elf/Makefile (tst-auxv): New test.
11607 * elf/tst-auxv.c: New
11608 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11610 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11612 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11613 (hidden_proto): Caller changed.
11614 (hidden_tls_proto): New macro.
11615 (libc_hidden_tls_proto): Likewise.
11616 (rtld_hidden_tls_proto): Likewise.
11617 (libm_hidden_tls_proto): Likewise.
11618 (libresolv_hidden_tls_proto): Likewise.
11619 (librt_hidden_tls_proto): Likewise.
11620 (libdl_hidden_tls_proto): Likewise.
11621 (libnss_files_hidden_tls_proto): Likewise.
11622 (libnsl_hidden_tls_proto): Likewise.
11623 (libnss_nisplus_hidden_tls_proto): Likewise.
11624 (libutil_hidden_tls_proto): Likewise.
11626 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11629 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11630 (decompose_rpath): Defer expansion to fillin_rpath.
11631 (_dl_init_paths): Pass linkmap to fillin_rpath.
11633 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11635 * benchtests/Makefile: Add strsep.
11636 * benchtests/bench-strsep.c: New file: strsep benchtest.
11637 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11639 2013-11-18 Andreas Schwab <schwab@suse.de>
11641 * locale/programs/locale.c (show_info) [case byte]: Check for
11642 '\377' instead of '\177'.
11643 * locale/C-monetary.c (not_available): Always use "\377".
11644 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11645 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11646 detect unavailable sign_posn locale elements.
11647 * locale/localeconv.c (__localeconv): For grouping and
11648 mon_grouping handle "\177" and "\377" like no grouping.
11649 (INT_ELEM): New macro. Use it to set all numeric members.
11650 * locale/programs/ld-monetary.c (monetary_read)
11651 <tok_mon_grouping>: Normalize single -1 to the empty string.
11652 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11655 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11658 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11659 when we match (nil).
11660 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11662 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11664 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11665 (NO_TEST_INLINE): Update value.
11666 (ERRNO_UNCHANGED): Likewise.
11667 (ERRNO_EDOM): Likewise.
11668 (ERRNO_ERANGE): Likewise.
11669 (IGNORE_RESULT): Likewise.
11670 (check_float_internal): Check signs of NaN results if
11671 TEST_NAN_SIGN used.
11672 (check_complex): Pass TEST_NAN_SIGN flag through to second
11673 check_float_internal call.
11674 (copysign_test_data): Add tests with quiet NaNs as second
11675 argument. Use TEST_NAN_SIGN.
11676 (fabs_test_data): Add test of negative quiet NaN argument. Use
11678 (signbit_test_data): Add tests of quiet NaN argument.
11679 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11681 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11683 (parse_args): Handle function results specified as IGNORE.
11684 * math/libm-test.inc (IGNORE_RESULT): New macro.
11685 (check_float_internal): Do not check numerical result if flag
11687 (check_complex): Pass through IGNORE_RESULT to second
11688 check_float_internal call.
11689 (check_int): Do not check numerical result if flag IGNORE_RESULT
11691 (check_long): Likewise.
11692 (check_bool): Likewise.
11693 (check_longlong): Likewise.
11694 (lrint_test_data): Add tests of infinite and NaN arguments.
11695 (lrint_tonearest_test_data): Likewise.
11696 (lrint_towardzero_test_data): Likewise.
11697 (lrint_downward_test_data): Likewise.
11698 (lrint_upward_test_data): Likewise.
11699 (llrint_test_data): Likewise.
11700 (llrint_tonearest_test_data): Likewise.
11701 (llrint_towardzero_test_data): Likewise.
11702 (llrint_downward_test_data): Likewise.
11703 (llrint_upward_test_data): Likewise.
11704 (lround_test_data): Likewise.
11705 (llround_test_data): Likewise.
11707 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11708 (ERRNO_UNCHANGED): Update value.
11709 (ERRNO_EDOM): Likewise.
11710 (ERRNO_ERANGE): Likewise.
11711 (NO_TEST_INLINE_FLOAT): New macro.
11712 (NO_TEST_INLINE_DOUBLE): Likewise.
11713 (enable_test): New function.
11714 (RUN_TEST_f_f): Check enable_test before running test.
11715 (RUN_TEST_2_f): Likewise.
11716 (RUN_TEST_fff_f): Likewise.
11717 (RUN_TEST_c_f): Likewise.
11718 (RUN_TEST_f_f1): Likewise.
11719 (RUN_TEST_fF_f1): Likewise.
11720 (RUN_TEST_fI_f1): Likewise.
11721 (RUN_TEST_ffI_f1): Likewise.
11722 (RUN_TEST_c_c): Likewise.
11723 (RUN_TEST_cc_c): Likewise.
11724 (RUN_TEST_f_i): Likewise.
11725 (RUN_TEST_f_i_tg): Likewise.
11726 (RUN_TEST_ff_i_tg): Likewise.
11727 (RUN_TEST_f_b): Likewise.
11728 (RUN_TEST_f_b_tg): Likewise.
11729 (RUN_TEST_f_l): Likewise.
11730 (RUN_TEST_f_L): Likewise.
11731 (RUN_TEST_fFF_11): Likewise.
11732 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11734 (cosh_test_data): Likewise.
11735 (exp_test_data): Likewise.
11736 (expm1_test_data): Likewise.
11737 (hypot_test_data): Likewise.
11738 (pow_test_data): Likewise.
11739 (sinh_test_data): Likewise.
11740 (tanh_test_data): Likewise.
11741 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11744 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11745 tests with quiet NaN input and output.
11746 (acosh_test_data): Likewise.
11747 (asin_test_data): Likewise.
11748 (asinh_test_data): Likewise.
11749 (atan_test_data): Likewise.
11750 (atanh_test_data): Likewise.
11751 (atan2_test_data): Likewise.
11752 (cbrt_test_data): Likewise.
11753 (cos_test_data): Likewise.
11754 (cosh_test_data): Likewise.
11755 (erf_test_data): Likewise.
11756 (erfc_test_data): Likewise.
11757 (exp_test_data): Likewise.
11758 (exp10_test_data): Likewise.
11759 (exp2_test_data): Likewise.
11760 (expm1_test_data): Likewise.
11761 (hypot_test_data): Likewise.
11762 (j0_test_data): Likewise.
11763 (j1_test_data): Likewise.
11764 (jn_test_data): Likewise.
11765 (lgamma_test_data): Likewise.
11766 (log_test_data): Likewise.
11767 (log10_test_data): Likewise.
11768 (log1p_test_data): Likewise.
11769 (log2_test_data): Likewise.
11770 (pow_test_data): Likewise.
11771 (scalb_test_data): Likewise.
11772 (sin_test_data): Likewise.
11773 (sincos_test_data): Likewise.
11774 (sinh_test_data): Likewise.
11775 (tan_test_data): Likewise.
11776 (tanh_test_data): Likewise.
11777 (tgamma_test_data): Likewise.
11778 (y0_test_data): Likewise.
11779 (y1_test_data): Likewise.
11780 (yn_test_data): Likewise.
11783 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11784 argument being NaN and avoid computations with second argument in
11786 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11787 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11788 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11790 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11792 * locale/iso-639.def: Add Chitwani Tharu (the).
11794 2013-11-14 Andreas Schwab <schwab@suse.de>
11796 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11797 word instead of empty string.
11799 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11802 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11804 (__fe_nomask_env): Likewise.
11806 2013-11-13 Steve Ellcey <sellcey@mips.com>
11808 * benchtests/bench-timing.h: Include time.h.
11810 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11813 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11815 * sysdeps/unix/sysv/linux/configure: Regenerated.
11817 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11820 * stdlib/strtod_l.c (round_and_return): Do not consider
11821 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11822 exponent one less than half the least subnormal exponent.
11823 * stdlib/test-strtod-round-data: Add more tests.
11824 * stdlib/tst-strtod-round.c (tests): Regenerated.
11826 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11829 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11830 (__fe_mask_env): Likewise.
11831 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11832 libm_hidden_proto and add function prototype.
11833 (__fe_mask_env): Add function prototype.
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11835 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11837 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11839 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11841 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11843 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11844 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11846 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11848 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11849 of htab_find_slot().
11851 2013-11-11 David S. Miller <davem@davemloft.net>
11854 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11855 symbol in the non-vis3 case in static builds.
11856 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11857 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11858 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11859 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11861 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11864 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11867 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11869 * benchtests/Makefile: Add bench-strtod.
11870 * benchtests/bench-strtod.c: New file: strtod benchtest
11872 2013-11-11 Andreas Schwab <schwab@suse.de>
11875 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11876 terminating NUL in key length.
11878 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11880 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11881 Add artificial ODP entry for vDSO symbol for PPC64.
11882 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11883 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11885 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11888 * nss/getent.c (services_keys): Recognize services starting with digit.
11890 2013-11-06 David S. Miller <davem@davemloft.net>
11893 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11894 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11896 2013-11-06 Will Newton <will.newton@linaro.org>
11898 * manual/memory.texi (Malloc Examples): Remove register
11899 keyword from examples.
11901 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11903 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11905 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11908 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11909 depending on [__GCC_IEC_559 > 0].
11910 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11911 depending on [__GCC_IEC_559_COMPLEX > 0].
11913 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11915 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11918 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11920 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11922 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11925 * malloc/malloc (malloc_info): Do not handle first bin as
11928 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11930 * locale/iso-639.def: Add Central Nahuatl (nhn).
11932 2013-11-01 Bruno Haible <bruno@clisp.org>
11935 * manual/math.texi (BSD Random): Specify range upper bound as
11938 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11940 * locale/iso-639.def: Add Meadow Mari (mhr).
11942 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11944 [BZ #14752], [BZ #15763]
11945 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11947 * rt/tst_shm.c: Add test for escaping directory.
11949 2013-10-31 Andreas Schwab <schwab@suse.de>
11952 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11953 followed by 'x' as part of digit sequence.
11954 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11956 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11959 * configure.ac: allow GNU Make 4.0 and greater.
11960 * configure: Regenerated.
11962 2013-10-30 Will Newton <will.newton@linaro.org>
11965 * malloc/hooks.c (memalign_check): Limit alignment to the
11966 maximum representable power of two.
11967 * malloc/malloc.c (__libc_memalign): Likewise.
11968 * malloc/tst-memalign.c (do_test): Add test for very
11969 large alignment values.
11970 * malloc/tst-posix_memalign.c (do_test): Likewise.
11972 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11975 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11976 (munmap_chunk): Likewise.
11977 (mremap_chunk): Likewise.
11979 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11982 * stdlib/div.c (div): Remove obsolete code.
11983 * stdlib/ldiv.c (ldiv): Likewise.
11984 * stdlib/lldiv.c (lldiv): Likewise.
11986 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11989 * nss/nss_files/files-XXX.c (get_contents_ret): New
11991 (get_contents): New function.
11992 (internal_getent): Use it. Expand size of LINEBUFLEN.
11994 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11996 * configure.in: Moved to ...
11997 * configure.ac: ... here. Change reference to configure.in
11999 * sysdeps/arm/preconfigure.ac: ... here.
12000 configure.in to configure.ac.
12001 * sysdeps/gnu/configure.in: Moved to ...
12002 * sysdeps/gnu/configure.ac: ... here.
12003 * sysdeps/i386/configure.in: Moved to ...
12004 * sysdeps/i386/configure.ac: ... here.
12005 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12006 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12007 * sysdeps/mach/configure.in: Moved to ...
12008 * sysdeps/mach/configure.ac: ... here.
12009 * sysdeps/mach/hurd/configure.in: Moved to ...
12010 * sysdeps/mach/hurd/configure.ac: ... here.
12011 * sysdeps/powerpc/configure.in: Moved to ...
12012 * sysdeps/powerpc/configure.ac: ... here.
12013 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12014 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12015 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12016 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12017 * sysdeps/s390/s390-32/configure.in: Moved to ...
12018 * sysdeps/s390/s390-32/configure.ac: ... here.
12019 * sysdeps/s390/s390-64/configure.in: Moved to ...
12020 * sysdeps/s390/s390-64/configure.ac: ... here.
12021 * sysdeps/sh/configure.in: Moved to ...
12022 * sysdeps/sh/configure.ac: ... here.
12023 * sysdeps/sparc/configure.in: Moved to ...
12024 * sysdeps/sparc/configure.ac: ... here.
12025 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12026 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12027 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12028 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12029 * sysdeps/x86_64/configure.in: Moved to ...
12030 * sysdeps/x86_64/configure.ac: ... here.
12031 * sysdeps/x86_64/preconfigure.in: Moved to ...
12032 * sysdeps/x86_64/preconfigure.ac: ... here.
12033 * aclocal.m4: Change reference to configure.in to configure.ac.
12034 * config.h.in: Likewise.
12035 * manual/install.texi: Likewise.
12036 * manual/maint.texi: Likewise.
12037 * Makefile: Likewise.
12038 * malloc/Makefile: Likewise.
12039 * nscd/Makefile: Likewise.
12040 * Makeconfig: Change reference to configure.in and
12041 preconfigure.in to configure.ac and preconfigure.ac
12043 * INSTALL: Regenerated.
12044 * configure: Likewise.
12045 * sysdeps/gnu/configure: Likewise.
12046 * sysdeps/i386/configure: Likewise.
12047 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12048 * sysdeps/mach/configure: Likewise.
12049 * sysdeps/mach/hurd/configure: Likewise.
12050 * sysdeps/powerpc/configure: Likewise.
12051 * sysdeps/powerpc/powerpc32/configure: Likewise.
12052 * sysdeps/powerpc/powerpc64/configure: Likewise.
12053 * sysdeps/s390/s390-32/configure: Likewise.
12054 * sysdeps/s390/s390-64/configure: Likewise.
12055 * sysdeps/sh/configure: Likewise.
12056 * sysdeps/sparc/configure: Likewise.
12057 * sysdeps/unix/sysv/linux/configure: Likewise.
12058 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12059 * sysdeps/x86_64/configure: Likewise.
12060 * sysdeps/x86_64/preconfigure: Likewise.
12062 2013-10-29 Andreas Schwab <schwab@suse.de>
12064 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12066 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12068 * benchtests/pow-inputs: Add new inputs.
12070 * benchtests/exp-inputs: Add new inputs.
12072 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12073 conditional check for return value.
12074 (__cos32): Likewise.
12076 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12078 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12079 to provide a boost for large inputs with word alignment.
12080 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12081 implementation based on optimized PPC64 strcpy.
12082 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12083 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12084 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12085 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12087 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12090 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12092 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12095 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12096 * time/tst-strptime.c (day_tests): Add testcase.
12098 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12101 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12103 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12106 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12107 MAP_FAILED on error.
12109 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12112 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12113 heap for large requests.
12115 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12118 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12119 result if the result has no associated interface.
12120 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12121 interface for all 127.X.Y.Z addresses.
12123 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12125 * locale/iso-639.def: Add Ligurian (lij)
12127 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12130 * sunrpc/rpc_main.c: Document rpcgen -5.
12132 2013-10-19 Michael Stahl <mstahl@redhat.com>
12134 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12136 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12139 * posix/glob.c: Match only directories when trailing slash is present.
12140 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12141 (main): Add testcase.
12143 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12146 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12148 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12150 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12151 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12152 AUTH_DES and cindex for FIPS 140-2.
12153 (DES Encryption): Add cindex FIPS 46-3.
12155 * locale/locarchive.h (struct locarhandle): Add fname.
12156 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12157 if an optional argument was specified to --list-archive,
12159 * locale/programs/locarchive.c (show_archive_content): Take new
12160 argument fname and pass it via ah.fname to open_archive.
12161 * locale/programs/localedef.h: Update decl.
12162 (open_archive): If AH->fname is non-null, open that file
12163 rather than the default file name, and don't ignore ENOENT.
12164 (create_archive): Set AH.fname to NULL.
12165 (delete_locales_from_archive): Likewise.
12166 (add_locales_to_archive): Likewise.
12167 * locale/programs/locfile.c (write_all_categories): Likewise.
12169 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12170 Aldy Hernandez <aldyh@redhat.com>
12172 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12173 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12174 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12175 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12176 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12177 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12178 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12179 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12180 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12181 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12182 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12183 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12184 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12185 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12186 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12188 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12190 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12192 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12194 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12195 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12197 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12198 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12199 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12200 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12202 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12203 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12204 * sysdeps/powerpc/preconfigure: Likewise.
12205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12207 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12208 Replace contents of file by #include of <fenv_libc.h>.
12209 * sysdeps/powerpc/soft-fp/sfp-machine.h
12210 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12212 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12213 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12214 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12215 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12216 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12217 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12219 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12220 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12221 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12222 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12223 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12225 Allow copysignl PLT reference to be missing.
12227 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12228 Joseph Myers <joseph@codesourcery.com
12231 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12233 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12235 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12237 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12238 * elf/tst-tls1.c: Likewise.
12239 * elf/tst-tls10.h: Likewise.
12240 * elf/tst-tls14.c: Likewise.
12241 * elf/tst-tls2.c: Likewise.
12242 * elf/tst-tls3.c: Likewise.
12243 * elf/tst-tls4.c: Likewise.
12244 * elf/tst-tls5.c: Likewise.
12245 * elf/tst-tls6.c: Likewise.
12246 * elf/tst-tls7.c: Likewise.
12247 * elf/tst-tls8.c: Likewise.
12248 * elf/tst-tls9.c: Likewise.
12249 * elf/tst-tlsmod1.c: Likewise.
12250 * elf/tst-tlsmod13.c: Likewise.
12251 * elf/tst-tlsmod13a.c: Likewise.
12252 * elf/tst-tlsmod14a.c: Likewise.
12253 * elf/tst-tlsmod16a.c: Likewise.
12254 * elf/tst-tlsmod16b.c: Likewise.
12255 * elf/tst-tlsmod2.c: Likewise.
12256 * elf/tst-tlsmod3.c: Likewise.
12257 * elf/tst-tlsmod4.c: Likewise.
12258 * elf/tst-tlsmod5.c: Likewise.
12259 * elf/tst-tlsmod6.c: Likewise.
12261 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12264 * malloc/malloc.c: remove checks for statistics.
12266 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12269 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12270 * inet/tst-network.c: Add testcase.
12272 2013-10-17 Andreas Schwab <schwab@suse.de>
12275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12276 to determine canonical name.
12278 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12280 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12281 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12293 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12294 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12295 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12304 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12305 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12310 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12311 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12312 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12314 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12315 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12317 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12318 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12319 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12320 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12321 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12322 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12323 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12324 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12325 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12326 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12327 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12328 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12329 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12330 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12331 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12332 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12333 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12334 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12335 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12336 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12337 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12339 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12342 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12343 make result into a quiet NaN.
12345 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12347 * soft-fp/adddf3.c: Fix horizontal whitespace.
12348 * soft-fp/addsf3.c: Likewise.
12349 * soft-fp/addtf3.c: Likewise.
12350 * soft-fp/divdf3.c: Likewise.
12351 * soft-fp/divsf3.c: Likewise.
12352 * soft-fp/divtf3.c: Likewise.
12353 * soft-fp/double.h: Likewise.
12354 * soft-fp/eqdf2.c: Likewise.
12355 * soft-fp/eqsf2.c: Likewise.
12356 * soft-fp/eqtf2.c: Likewise.
12357 * soft-fp/extenddftf2.c: Likewise.
12358 * soft-fp/extended.h: Likewise.
12359 * soft-fp/extendsfdf2.c: Likewise.
12360 * soft-fp/extendsftf2.c: Likewise.
12361 * soft-fp/extendxftf2.c: Likewise.
12362 * soft-fp/fixdfdi.c: Likewise.
12363 * soft-fp/fixdfsi.c: Likewise.
12364 * soft-fp/fixdfti.c: Likewise.
12365 * soft-fp/fixsfdi.c: Likewise.
12366 * soft-fp/fixsfsi.c: Likewise.
12367 * soft-fp/fixsfti.c: Likewise.
12368 * soft-fp/fixtfdi.c: Likewise.
12369 * soft-fp/fixtfsi.c: Likewise.
12370 * soft-fp/fixtfti.c: Likewise.
12371 * soft-fp/fixunsdfdi.c: Likewise.
12372 * soft-fp/fixunsdfsi.c: Likewise.
12373 * soft-fp/fixunsdfti.c: Likewise.
12374 * soft-fp/fixunssfdi.c: Likewise.
12375 * soft-fp/fixunssfsi.c: Likewise.
12376 * soft-fp/fixunssfti.c: Likewise.
12377 * soft-fp/fixunstfdi.c: Likewise.
12378 * soft-fp/fixunstfsi.c: Likewise.
12379 * soft-fp/fixunstfti.c: Likewise.
12380 * soft-fp/floatdidf.c: Likewise.
12381 * soft-fp/floatdisf.c: Likewise.
12382 * soft-fp/floatditf.c: Likewise.
12383 * soft-fp/floatsidf.c: Likewise.
12384 * soft-fp/floatsisf.c: Likewise.
12385 * soft-fp/floatsitf.c: Likewise.
12386 * soft-fp/floattidf.c: Likewise.
12387 * soft-fp/floattisf.c: Likewise.
12388 * soft-fp/floattitf.c: Likewise.
12389 * soft-fp/floatundidf.c: Likewise.
12390 * soft-fp/floatundisf.c: Likewise.
12391 * soft-fp/floatunditf.c: Likewise.
12392 * soft-fp/floatunsidf.c: Likewise.
12393 * soft-fp/floatunsisf.c: Likewise.
12394 * soft-fp/floatunsitf.c: Likewise.
12395 * soft-fp/floatuntidf.c: Likewise.
12396 * soft-fp/floatuntisf.c: Likewise.
12397 * soft-fp/floatuntitf.c: Likewise.
12398 * soft-fp/fmadf4.c: Likewise.
12399 * soft-fp/fmasf4.c: Likewise.
12400 * soft-fp/fmatf4.c: Likewise.
12401 * soft-fp/gedf2.c: Likewise.
12402 * soft-fp/gesf2.c: Likewise.
12403 * soft-fp/getf2.c: Likewise.
12404 * soft-fp/ledf2.c: Likewise.
12405 * soft-fp/lesf2.c: Likewise.
12406 * soft-fp/letf2.c: Likewise.
12407 * soft-fp/muldf3.c: Likewise.
12408 * soft-fp/mulsf3.c: Likewise.
12409 * soft-fp/multf3.c: Likewise.
12410 * soft-fp/negdf2.c: Likewise.
12411 * soft-fp/negsf2.c: Likewise.
12412 * soft-fp/negtf2.c: Likewise.
12413 * soft-fp/op-1.h: Likewise.
12414 * soft-fp/op-2.h: Likewise.
12415 * soft-fp/op-4.h: Likewise.
12416 * soft-fp/op-8.h: Likewise.
12417 * soft-fp/op-common.h: Likewise.
12418 * soft-fp/quad.h: Likewise.
12419 * soft-fp/single.h: Likewise.
12420 * soft-fp/soft-fp.h: Likewise.
12421 * soft-fp/sqrtdf2.c: Likewise.
12422 * soft-fp/sqrtsf2.c: Likewise.
12423 * soft-fp/sqrttf2.c: Likewise.
12424 * soft-fp/subdf3.c: Likewise.
12425 * soft-fp/subsf3.c: Likewise.
12426 * soft-fp/subtf3.c: Likewise.
12427 * soft-fp/truncdfsf2.c: Likewise.
12428 * soft-fp/trunctfdf2.c: Likewise.
12429 * soft-fp/trunctfsf2.c: Likewise.
12430 * soft-fp/trunctfxf2.c: Likewise.
12431 * soft-fp/unorddf2.c: Likewise.
12432 * soft-fp/unordsf2.c: Likewise.
12433 * soft-fp/unordtf2.c: Likewise.
12435 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12437 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12438 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12440 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12442 * elf/dl-libc.c: Clear initfini list after freeing.
12444 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12446 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12447 * soft-fp/addsf3.c: Likewise.
12448 * soft-fp/addtf3.c: Likewise.
12449 * soft-fp/divdf3.c: Likewise.
12450 * soft-fp/divsf3.c: Likewise.
12451 * soft-fp/divtf3.c: Likewise.
12452 * soft-fp/double.h: Likewise.
12453 * soft-fp/eqdf2.c: Likewise.
12454 * soft-fp/eqsf2.c: Likewise.
12455 * soft-fp/eqtf2.c: Likewise.
12456 * soft-fp/extenddftf2.c: Likewise.
12457 * soft-fp/extended.h: Likewise.
12458 * soft-fp/extendsfdf2.c: Likewise.
12459 * soft-fp/extendsftf2.c: Likewise.
12460 * soft-fp/extendxftf2.c: Likewise.
12461 * soft-fp/fixdfdi.c: Likewise.
12462 * soft-fp/fixdfsi.c: Likewise.
12463 * soft-fp/fixdfti.c: Likewise.
12464 * soft-fp/fixsfdi.c: Likewise.
12465 * soft-fp/fixsfsi.c: Likewise.
12466 * soft-fp/fixsfti.c: Likewise.
12467 * soft-fp/fixtfdi.c: Likewise.
12468 * soft-fp/fixtfsi.c: Likewise.
12469 * soft-fp/fixtfti.c: Likewise.
12470 * soft-fp/fixunsdfdi.c: Likewise.
12471 * soft-fp/fixunsdfsi.c: Likewise.
12472 * soft-fp/fixunsdfti.c: Likewise.
12473 * soft-fp/fixunssfdi.c: Likewise.
12474 * soft-fp/fixunssfsi.c: Likewise.
12475 * soft-fp/fixunssfti.c: Likewise.
12476 * soft-fp/fixunstfdi.c: Likewise.
12477 * soft-fp/fixunstfsi.c: Likewise.
12478 * soft-fp/fixunstfti.c: Likewise.
12479 * soft-fp/floatdidf.c: Likewise.
12480 * soft-fp/floatdisf.c: Likewise.
12481 * soft-fp/floatditf.c: Likewise.
12482 * soft-fp/floatsidf.c: Likewise.
12483 * soft-fp/floatsisf.c: Likewise.
12484 * soft-fp/floatsitf.c: Likewise.
12485 * soft-fp/floattidf.c: Likewise.
12486 * soft-fp/floattisf.c: Likewise.
12487 * soft-fp/floattitf.c: Likewise.
12488 * soft-fp/floatundidf.c: Likewise.
12489 * soft-fp/floatundisf.c: Likewise.
12490 * soft-fp/floatunsidf.c: Likewise.
12491 * soft-fp/floatunsisf.c: Likewise.
12492 * soft-fp/floatuntidf.c: Likewise.
12493 * soft-fp/floatuntisf.c: Likewise.
12494 * soft-fp/floatuntitf.c: Likewise.
12495 * soft-fp/fmadf4.c: Likewise.
12496 * soft-fp/fmasf4.c: Likewise.
12497 * soft-fp/fmatf4.c: Likewise.
12498 * soft-fp/gedf2.c: Likewise.
12499 * soft-fp/gesf2.c: Likewise.
12500 * soft-fp/getf2.c: Likewise.
12501 * soft-fp/ledf2.c: Likewise.
12502 * soft-fp/lesf2.c: Likewise.
12503 * soft-fp/letf2.c: Likewise.
12504 * soft-fp/muldf3.c: Likewise.
12505 * soft-fp/mulsf3.c: Likewise.
12506 * soft-fp/multf3.c: Likewise.
12507 * soft-fp/negdf2.c: Likewise.
12508 * soft-fp/negsf2.c: Likewise.
12509 * soft-fp/negtf2.c: Likewise.
12510 * soft-fp/op-1.h: Likewise.
12511 * soft-fp/op-2.h: Likewise.
12512 * soft-fp/op-4.h: Likewise.
12513 * soft-fp/op-8.h: Likewise.
12514 * soft-fp/op-common.h: Likewise.
12515 * soft-fp/quad.h: Likewise.
12516 * soft-fp/single.h: Likewise.
12517 * soft-fp/soft-fp.h: Likewise.
12518 * soft-fp/sqrtdf2.c: Likewise.
12519 * soft-fp/sqrtsf2.c: Likewise.
12520 * soft-fp/sqrttf2.c: Likewise.
12521 * soft-fp/subdf3.c: Likewise.
12522 * soft-fp/subsf3.c: Likewise.
12523 * soft-fp/subtf3.c: Likewise.
12524 * soft-fp/truncdfsf2.c: Likewise.
12525 * soft-fp/trunctfdf2.c: Likewise.
12526 * soft-fp/trunctfsf2.c: Likewise.
12527 * soft-fp/trunctfxf2.c: Likewise.
12528 * soft-fp/unorddf2.c: Likewise.
12529 * soft-fp/unordsf2.c: Likewise.
12530 * soft-fp/unordtf2.c: Likewise.
12532 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12535 * misc/error.c (error_tail): Fix possible buffer overflow.
12537 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12540 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12543 2013-10-14 P. J. McDermott <pj@pehjota.net>
12546 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12547 testing pipefail option.
12549 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12551 * soft-fp/double.h: Indent preprocessor directives inside #if.
12552 * soft-fp/extended.h: Likewise.
12553 * soft-fp/op-2.h: Likewise.
12554 * soft-fp/op-4.h: Likewise.
12555 * soft-fp/op-common.h: Likewise.
12556 * soft-fp/quad.h: Likewise.
12557 * soft-fp/single.h: Likewise.
12558 * soft-fp/soft-fp.h: Likewise.
12560 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12562 * iconv/iconv_prog.c: Fix typos.
12563 * stdio-common/psiginfo-data.h: Likewise.
12565 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12568 * locale/setlocale.c: Fix typo.
12570 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12573 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12574 signaling NaN arguments.
12575 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12576 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12579 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12580 unordered operands.
12581 * soft-fp/gesf2.c (__gesf2): Likewise.
12582 * soft-fp/getf2.c (__getf2): Likewise.
12583 * soft-fp/ledf2.c (__ledf2): Likewise.
12584 * soft-fp/lesf2.c (__lesf2): Likewise.
12585 * soft-fp/letf2.c (__letf2): Likewise.
12587 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12588 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12589 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12590 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12591 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12592 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12593 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12594 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12595 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12596 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12597 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12598 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12599 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12600 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12601 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12602 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12603 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12604 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12605 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12606 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12607 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12608 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12609 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12610 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12611 * soft-fp/floattidf.c (__floattidf): Likewise.
12612 * soft-fp/floattisf.c (__floattisf): Likewise.
12613 * soft-fp/floattitf.c (__floattitf): Likewise.
12614 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12615 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12616 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12617 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12618 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12619 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12620 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12621 * soft-fp/gesf2.c (__gesf2): Likewise.
12622 * soft-fp/getf2.c (__getf2): Likewise.
12623 * soft-fp/ledf2.c (__ledf2): Likewise.
12624 * soft-fp/lesf2.c (__lesf2): Likewise.
12625 * soft-fp/letf2.c (__letf2): Likewise.
12627 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12628 Undefine and redefine.
12629 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12630 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12631 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12632 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12633 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12634 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12635 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12636 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12637 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12638 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12639 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12640 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12641 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12642 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12643 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12646 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12647 without decrementing exponent if mantissa >= that for the
12648 denominator, not >.
12649 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12650 denominator, not >. Decrement exponent in < case instead of
12651 incrementing in >= case.
12652 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12653 without decrementing exponent if mantissa >= that for the
12654 denominator, not >.
12656 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12657 computing saturated result for unsigned overflow.
12659 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12660 Jeff Law <law@redhat.com>
12662 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12663 (atan2Mp): Add systemtap probe marker.
12664 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12665 (__ieee754_log): Add systemtap probe marker.
12666 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12667 (atanMp): Add systemtap probe marker.
12668 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12669 (tanMp): Add systemtap probe marker.
12670 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12671 (__slowexp): Add systemtap probe marker.
12672 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12673 (__slowpow): Add systemtap probe marker.
12674 * manual/probes.texi: Document probes.
12676 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12679 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12681 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12683 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12684 written to buffer but not flushed.
12685 * libio/iofwrite_u.c: Likewise.
12686 * libio/iopadn.c: Return bytes returned even if EOF was
12688 * libio/iowpadn.c: Likewise.
12689 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12690 if _IO_padn does not write the whole buffer.
12691 [!COMPILE_WPRINTF] (PAD): Likewise.
12693 2013-10-10 David S. Miller <davem@davemloft.net>
12695 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12698 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12700 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12701 instead of FSF address.
12702 * soft-fp/fixdfti.c: Likewise.
12703 * soft-fp/fixsfti.c: Likewise.
12704 * soft-fp/fixtfti.c: Likewise.
12705 * soft-fp/fixunsdfti.c: Likewise.
12706 * soft-fp/fixunssfti.c: Likewise.
12707 * soft-fp/fixunstfti.c: Likewise.
12708 * soft-fp/floattidf.c: Likewise.
12709 * soft-fp/floattisf.c: Likewise.
12710 * soft-fp/floattitf.c: Likewise.
12711 * soft-fp/floatuntidf.c: Likewise.
12712 * soft-fp/floatuntisf.c: Likewise.
12713 * soft-fp/floatuntitf.c: Likewise.
12714 * soft-fp/trunctfxf2.c: Likewise.
12716 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12717 * soft-fp/fixdfti.c: Likewise.
12718 * soft-fp/fixsfti.c: Likewise.
12719 * soft-fp/fixtfti.c: Likewise.
12720 * soft-fp/fixunsdfti.c: Likewise.
12721 * soft-fp/fixunssfti.c: Likewise.
12722 * soft-fp/fixunstfti.c: Likewise.
12723 * soft-fp/floattidf.c: Likewise.
12724 * soft-fp/floattisf.c: Likewise.
12725 * soft-fp/floattitf.c: Likewise.
12726 * soft-fp/floatuntidf.c: Likewise.
12727 * soft-fp/floatuntisf.c: Likewise.
12728 * soft-fp/floatuntitf.c: Likewise.
12729 * soft-fp/trunctfxf2.c: Likewise.
12731 2013-10-10 David S. Miller <davem@davemloft.net>
12733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12735 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12737 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12738 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12739 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12740 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12741 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12742 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12743 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12746 for NaNs before doing comparisons on argument.
12747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12750 2013-10-10 Will Newton <will.newton@linaro.org>
12752 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12753 passed to _int_memalign does not overflow.
12755 2013-10-10 Torvald Riegel <triegel@redhat.com>
12757 * scripts/bench.pl: Add include-sources directive.
12758 * benchtests/README: Update documentation.
12760 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12762 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12763 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12764 instead of FP_INIT_ROUNDMODE.
12765 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12766 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12769 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12770 copy class of input value.
12771 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12772 not handle exceptions.
12773 * soft-fp/negsf2.c (__negsf2): Likewise.
12774 * soft-fp/negtf2.c (__negtf2): Likewise.
12775 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12777 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12779 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12780 semicolon. From Linux kernel.
12782 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12784 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12786 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12789 * manual/socket.texi: Added statement about buffer
12790 for gethostbyname2_r.
12792 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12794 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12795 Use .p2align directive instead, throughout.
12796 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12797 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12798 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12799 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12800 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12801 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12802 * sysdeps/x86_64/strchr.S: Likewise.
12803 * sysdeps/x86_64/strrchr.S: Likewise.
12805 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12807 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12809 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12811 * sysdeps/generic/math_private.h (__mpsin1): Remove
12813 (__mpcos1): Likewise.
12814 (__mpsin): New argument __range_reduce.
12815 (__mpcos): Likewise.
12816 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12817 (slow): Use __mpsin and __mpcos.
12821 (sloww1): Likewise.
12822 (sloww2): Likewise.
12823 (bsloww): Likewise.
12824 (bsloww1): Likewise.
12825 (bsloww2): Likewise.
12826 (cslow2): Likewise.
12827 (csloww): Likewise.
12828 (csloww1): Likewise.
12829 (csloww2): Likewise.
12830 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12831 range_reduce. Merge in __mpsin1.
12832 (__mpcos): Likewise.
12833 (__mpsin1): Remove.
12834 (__mpcos1): Likewise.
12836 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12838 * locale/loadlocale.c (_nl_intern_locale_data): Use
12840 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12841 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12842 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12843 obstack data is appropriately aligned.
12844 (obstack_int32_grow_fast): Likewise.
12845 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12846 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12847 (add_locale_uint32_array): Likewise.
12849 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12851 * benchtests/Makefile: Remove ARGLIST and RET variables.
12852 ($(objpfx)bench-%.c): Pass only function name to the script.
12853 * benchtests/README: Update documentation.
12854 * benchtests/acos-inputs: Add new directives.
12855 * benchtests/acosh-inputs: Likewise.
12856 * benchtests/asin-inputs: Likewise.
12857 * benchtests/asinh-inputs: Likewise.
12858 * benchtests/atan-inputs: Likewise.
12859 * benchtests/atanh-inputs: Likewise.
12860 * benchtests/cos-inputs: Likewise.
12861 * benchtests/cosh-inputs: Likewise.
12862 * benchtests/exp-inputs: Likewise.
12863 * benchtests/log-inputs: Likewise.
12864 * benchtests/pow-inputs: Likewise.
12865 * benchtests/rint-inputs: Likewise.
12866 * benchtests/sin-inputs: Likewise.
12867 * benchtests/sinh-inputs: Likewise.
12868 * benchtests/tan-inputs: Likewise.
12869 * benchtests/tanh-inputs: Likewise.
12870 * scripts/bench.pl: Add support for new directives.
12872 2013-10-07 Alan Modra <amodra@gmail.com>
12874 * README: Fix careless merge.
12876 2013-10-05 Alan Modra <amodra@gmail.com>
12878 * NEWS: Mention powerpc64le support and bugs fixed.
12879 * README: Both big-endian and little-endian powerpc64 supported.
12881 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12883 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12884 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12885 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12886 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12888 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12890 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12893 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12895 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12896 Move -mhard-float appending from
12897 ports/sysdeps/powerpc/powerpc32/Makefile.
12898 [$(with-fp) = yes] (ASFLAGS): Likewise.
12899 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12900 * sysdeps/powerpc/nofpu: Move directory from
12901 ports/sysdeps/powerpc/nofpu.
12902 * sysdeps/powerpc/soft-fp: Move directory from
12903 ports/sysdeps/powerpc/soft-fp.
12904 * sysdeps/powerpc/powerpc32/405: Move directory from
12905 ports/sysdeps/powerpc/powerpc32/405.
12906 * sysdeps/powerpc/powerpc32/440: Move directory from
12907 ports/sysdeps/powerpc/powerpc32/440.
12908 * sysdeps/powerpc/powerpc32/464: Move directory from
12909 ports/sysdeps/powerpc/powerpc32/464.
12910 * sysdeps/powerpc/powerpc32/476: Move directory from
12911 ports/sysdeps/powerpc/powerpc32/476.
12912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12913 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12915 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12917 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12919 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12921 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12922 * README: Update for powerpc-*-linux-gnu software floating point
12925 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12926 case to powerpc/powerpc32*.
12927 * sysdeps/unix/sysv/linux/configure: Regenerated.
12929 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12930 (_FPU_MASK_OM): Define as 0x04.
12931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12932 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12934 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12939 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12942 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12945 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12946 and setcontext_e500.
12948 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12950 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12952 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12954 * manual/threads.texi (Default Thread Attributes): Fix typo.
12956 2013-10-04 Will Newton <will.newton@linaro.org>
12958 * malloc/Makefile: Add tst-memalign.
12959 * malloc/tst-memalign.c: New file.
12961 * malloc/tst-posix_memalign.c: Add comments.
12962 (do_test): Add comments and call free on all potentially
12963 allocated pointers. Add space after cast.
12965 * malloc/tst-pvalloc.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 * malloc/tst-valloc.c: Add comments.
12971 (do_test): Add comments and call free on all potentially
12972 allocated pointers. Remove duplicate check for NULL pointer.
12973 Add space after cast.
12975 2013-10-04 Alan Modra <amodra@gmail.com>
12977 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12978 Use stdint types in rather than __attribute__((mode())).
12979 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12981 2013-10-04 Alan Modra <amodra@gmail.com>
12983 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12984 Correct handling of unaligned relocs for little-endian.
12985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12987 2013-10-04 Alan Modra <amodra@gmail.com>
12989 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12990 * configure: Regenerate.
12991 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12992 * shlib-versions: Likewise.
12994 2013-10-04 Alan Modra <amodra@gmail.com>
12996 * string/tester.c (test_memrchr): Increment reported test cycle.
12998 2013-10-04 Alan Modra <amodra@gmail.com>
13000 * string/test-memcpy.c (do_one_test): When reporting errors, print
13001 string address and don't overrun end of string.
13003 2013-10-04 Alan Modra <amodra@gmail.com>
13005 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13006 insrdi. Make better use of reg selection to speed exit slightly.
13007 Schedule entry path a little better. Remove useless "are we done"
13008 checks on entry to main loop. Handle wrapping around zero address.
13009 Correct main loop count. Handle single left-over word from main
13010 loop inline rather than by using loop_small. Remove extra word
13011 case in loop_small caused by wrong loop count. Add little-endian
13013 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13014 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13016 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13017 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13018 support. Avoid rlwimi.
13019 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13021 2013-10-04 Alan Modra <amodra@gmail.com>
13023 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13024 insrdi. Formatting.
13025 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13026 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13027 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13028 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13029 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13030 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13032 2013-10-04 Alan Modra <amodra@gmail.com>
13034 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13035 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13036 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13037 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13038 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13039 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13040 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13041 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13042 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13043 use of regs. Use power7 mtocrf. Tidy function tails.
13045 2013-10-04 Alan Modra <amodra@gmail.com>
13047 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13048 Formatting. Consistently use rXXX register defines or rN defines.
13049 Use early exit labels that avoid restoring unused non-volatile regs.
13050 Make cr field use more consistent with rWORDn compares. Rename
13051 regs used as shift registers for unaligned loop, using rN defines
13052 for short lifetime/multiple use regs.
13053 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13054 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13055 addi 1,1,64 to pop stack frame. Simplify return value code.
13056 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13058 2013-10-04 Alan Modra <amodra@gmail.com>
13060 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13061 support. Correct typos, formatting. Optimize tail. Use insrdi
13062 rather than rlwimi.
13063 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13064 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13065 little-endian support. Correct typos.
13066 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13067 rather than rlwimi.
13068 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13069 in loop and entry code to keep "and." results.
13070 (strchr): Add little-endian support. Comment. Move cntlzd
13072 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13074 2013-10-04 Alan Modra <amodra@gmail.com>
13076 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13077 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13078 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13079 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13081 2013-10-04 Alan Modra <amodra@gmail.com>
13083 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13084 (rTMP): Define as r11.
13085 (strcmp): Add little-endian support. Optimise tail.
13086 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13087 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13088 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13089 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13090 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13091 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13092 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13094 2013-10-04 Alan Modra <amodra@gmail.com>
13096 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13097 little-endian support. Remove unnecessary "are we done" tests.
13098 Handle "s" wrapping around zero and extremely large "size".
13099 Correct main loop count. Handle single left-over word from main
13100 loop inline rather than by using small_loop. Correct comments.
13101 Delete "zero" tail, use "end_max" instead.
13102 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13104 2013-10-04 Alan Modra <amodra@gmail.com>
13106 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13107 support. Don't branch over align.
13108 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13109 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13110 support. Rearrange tmp reg use to suit. Comment.
13111 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13113 2013-10-04 Alan Modra <amodra@gmail.com>
13115 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13117 2013-10-04 Alan Modra <amodra@gmail.com>
13119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13120 conditional form of branch and link when obtaining pc.
13121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13123 2013-10-04 Alan Modra <amodra@gmail.com>
13125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13130 2013-10-04 Alan Modra <amodra@gmail.com>
13132 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13133 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13134 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13135 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13136 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13137 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13138 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13139 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13140 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13141 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13143 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13144 Alistair Popple <alistair@ozlabs.au.ibm.com>
13145 Alan Modra <amodra@gmail.com>
13148 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13149 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13150 _dl_hwcap access for little-endian.
13151 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13152 destroy vmx regs when saving unaligned.
13153 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13154 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13155 destroy vmx regs when saving unaligned.
13157 2013-10-04 Alan Modra <amodra@gmail.com>
13159 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13160 Don't use a union to pack hi/low value.
13162 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13164 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13166 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13167 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13168 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13169 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13170 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13172 2013-10-04 Alan Modra <amodra@gmail.com>
13174 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13175 constants to usual value for .cst8 section, and remove redundant
13177 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13178 constant for 0x1p52. Load little-endian words of double from
13179 correct stack offsets.
13181 2013-10-04 Alan Modra <amodra@gmail.com>
13183 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13184 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13185 words of double from correct stack offsets.
13186 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13187 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13188 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13189 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13190 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13191 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13192 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13193 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13194 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13195 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13196 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13197 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13198 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13199 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13200 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13201 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13202 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13204 2013-10-04 Alan Modra <amodra@gmail.com>
13206 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13207 64-bit int/double union.
13208 (_FPU_SETCW): Likewise.
13209 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13210 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13212 2013-10-04 Alan Modra <amodra@gmail.com>
13214 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13215 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13217 2013-10-04 Alan Modra <amodra@gmail.com>
13219 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13220 use vector int constants.
13221 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13223 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13225 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13226 array with long long.
13227 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13228 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13229 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13230 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13231 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13232 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13233 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13234 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13235 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13236 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13237 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13238 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13239 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13241 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13243 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13244 (__signbit): Likewise. Correct for little-endian.
13245 (__signbitl): Call __signbit.
13246 (lrint): Correct for little-endian.
13247 (lrintf): Call lrint.
13249 2013-10-04 Alan Modra <amodra@gmail.com>
13251 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13252 union 32-bit int array member with 64-bit int array.
13253 (t515, tm256): Double rather than long double.
13254 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13256 2013-10-04 Alan Modra <amodra@gmail.com>
13258 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13260 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13262 version of math_ldbl.h.
13264 2013-10-04 Alan Modra <amodra@gmail.com>
13266 [BZ #15734], [BZ #15735]
13267 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13268 all uses of ieee875 long double macros and unions. Simplify test
13269 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13270 ldbl_extract_mantissa value for ix,iy exponents. Properly
13271 normalize after ldbl_extract_mantissa, and don't add hidden bit
13272 already handled. Don't treat low word of ieee854 mantissa like
13273 low word of IBM long double and mask off bit when testing for
13275 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13276 all uses of ieee875 long double macros and unions. Simplify tests
13277 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13278 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13279 two1022, instead use their values. Recognise that tests for large
13280 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13281 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13282 Rewrite all uses of ieee875 long double macros and unions. Simplify
13283 test for 0.0L and nan. Correct negation.
13284 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13285 ieee875 long double macros and unions. Correct output for large
13286 magnitude x. Correct absolute value calculation.
13287 (__erfcl): Likewise.
13288 * math/libm-test.inc: Add tests for errors discovered in IBM long
13289 double versions of fmodl, remainderl, erfl and erfcl.
13291 2013-10-04 Alan Modra <amodra@gmail.com>
13293 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13294 all uses of ieee854 long double macros and unions. Simplify tests
13295 for long doubles that are fully specified by the high double.
13296 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13298 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13299 Remove dead code too.
13300 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13301 (__ieee754_ynl): Likewise.
13302 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13303 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13304 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13305 Remove dead code too.
13306 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13307 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13308 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13309 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13311 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13313 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13314 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13315 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13316 Comment on variable precision.
13317 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13318 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13320 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13321 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13322 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13323 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13324 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13326 2013-10-04 Alan Modra <amodra@gmail.com>
13328 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13329 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13330 all uses of ieee854 long double macros and unions.
13331 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13332 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13333 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13335 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13336 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13338 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13339 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13340 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13341 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13342 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13343 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13344 Simplify sign and nan test too.
13345 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13346 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13347 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13348 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13350 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13351 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13354 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13355 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13356 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13357 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13358 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13360 2013-10-04 Alan Modra <amodra@gmail.com>
13362 * stdio-common/printf_size.c (__printf_size): Don't use
13363 union ieee854_long_double in fpnum union.
13364 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13365 signbit macro to retrieve sign from long double.
13366 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13367 retrieve sign from long double.
13368 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13369 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13370 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13371 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13372 * math/test-misc.c (main): Don't use union ieee854_long_double.
13374 2013-10-04 Alan Modra <amodra@gmail.com>
13377 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13378 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13379 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13380 calculation. Remove unnecessary test for denormal exponent.
13381 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13382 Correct handling of denormals. Avoid undefined shift behaviour.
13383 Correct normalisation of low mantissa when low double is denormal.
13384 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13385 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13386 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13387 Correct normalisation of low mantissa. Test for overflow of high
13388 mantissa and normalise.
13389 (ldbl_nearbyint): Use more readable constant for two52.
13390 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13391 (__mpn_construct_long_double): Fix test for overflow of high
13392 mantissa and correct normalisation. Avoid undefined shift.
13394 2013-10-04 Alan Modra <amodra@gmail.com>
13396 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13397 (union ibm_extended_long_double): Define as an array of ieee754_double.
13398 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13399 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13400 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13401 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13402 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13403 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13404 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13405 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13407 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13408 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13410 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13412 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13413 page size instead of calling getpagesize.
13415 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13416 (LOCFILE_ALIGN_MASK): Likewise.
13417 (LOCFILE_ALIGN_UP): Likewise.
13418 (LOCFILE_ALIGNED_P): Likewise.
13419 * locale/programs/ld-collate.c (collate_output): Use the new
13420 macros instead of __alignof__ (int32_t).
13421 * locale/weight.h (findidx): Likewise.
13423 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13426 * manual/string.texi: Fix strncat and wcsncat.
13428 2013-10-03 Brooks Moses <bmoses@google.com>
13431 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13432 * Makerules: ...here, and adjust associated comments.
13434 2013-10-02 Will Newton <will.newton@linaro.org>
13436 * malloc/Makefile: Add tst-pvalloc.
13437 * malloc/tst-pvalloc.c: New file.
13439 2013-10-02 Will Newton <will.newton@linaro.org>
13441 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13442 improve test coverage.
13444 2013-10-02 Will Newton <will.newton@linaro.org>
13446 * malloc/Makefile: Add tst-posix_memalign.
13447 * malloc/tst-posix_memalign.c: New file.
13449 2013-10-01 Eric Blake <eblake@redhat.com>
13451 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13452 Use __THROWNL rather than __THROW on static functions.
13454 2013-09-30 Petr Machata <pmachata@redhat.com>
13456 * elf/elf.h (R_AARCH64_ABS16): New macro.
13457 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13458 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13459 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13460 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13461 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13462 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13463 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13464 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13465 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13466 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13467 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13468 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13469 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13470 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13471 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13472 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13473 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13474 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13475 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13476 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13477 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13478 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13479 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13480 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13481 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13482 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13483 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13484 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13485 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13486 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13487 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13488 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13489 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13490 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13491 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13492 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13493 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13494 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13495 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13496 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13497 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13498 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13499 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13500 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13501 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13502 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13503 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13504 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13505 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13506 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13507 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13508 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13509 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13510 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13511 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13512 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13513 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13514 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13515 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13516 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13517 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13518 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13519 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13520 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13521 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13522 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13523 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13524 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13525 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13526 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13527 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13528 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13529 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13530 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13531 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13532 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13533 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13534 (R_AARCH64_TLSDESC_LDR): Likewise.
13535 (R_AARCH64_TLSDESC_ADD): Likewise.
13536 (R_AARCH64_TLSDESC_CALL): Likewise.
13538 2013-09-30 Andreas Schwab <schwab@suse.de>
13541 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13542 the nss database lookup.
13543 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13546 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13548 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13550 2013-09-28 P. J. McDermott <pj@pehjota.net>
13552 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13553 ${Bash-specific parameter/pattern/string} parameter expansion.
13554 * sysdeps/unix/make-syscalls.sh: Likewise.
13556 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13558 * sysdeps/sh/stackguard-macros.h: New file.
13560 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13563 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13564 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13565 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13566 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13567 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13569 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13571 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13572 Fix thread ID register.
13574 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13576 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13577 [POSIX || UNIX98]: Require rather than permitting all symbols from
13579 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13580 element of struct sched_param.
13581 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13582 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13583 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13584 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13587 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13589 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13590 argument calculation.
13592 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13594 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13596 [POSIX] (pthread_attr_t): Do not require type.
13597 [POSIX] (pthread_cond_t): Likewise.
13598 [POSIX] (pthread_condattr_t): Likewise.
13599 [POSIX] (pthread_key_t): Likewise.
13600 [POSIX] (pthread_mutex_t): Likewise.
13601 [POSIX] (pthread_mutexattr_t): Likewise.
13602 [POSIX] (pthread_once_t): Likewise.
13603 [POSIX] (pthread_t): Likewise.
13604 [POSIX-based standards] (pthread_atfork): Expect function.
13606 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13607 Richard Sandiford <richard@codesourcery.com>
13609 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13610 (swap_endianness_p): New extern variable.
13611 (set_big_endian): New inline function.
13612 (maybe_swap_uint32): Likewise.
13613 (maybe_swap_uint32_array): Likewise.
13614 (maybe_swap_uint32_obstack): Likewise.
13615 * locale/programs/locfile.c: Include <stdbool.h>.
13616 (swap_endianness_p): New variable.
13617 (add_locale_uint32): Call maybe_swap_uint32.
13618 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13619 (write_locale_data): Call maybe_swap_uint32_array.
13620 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13622 (obstack_int32_grow_fast): Likewise.
13623 (output_weightwc): Call maybe_swap_uint32_obstack.
13624 (collate_output): Likewise.
13625 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13626 (OPT_LITTLE_ENDIAN): Likewise.
13627 (options): Add --little-endian and --big-endian options.
13628 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13629 * locale/programs/locarchive.c: Include "locfile.h".
13633 (create_archive): Use the new macros to access fields of
13634 structures directly mapped from or written to locale archives.
13635 (oldlocrecentcmp): Likewise.
13636 (enlarge_archive): Likewise.
13637 (insert_name): Likewise.
13638 (add_alias): Likewise.
13639 (add_locale): Likewise.
13640 (delete_locales_from_archive): Likewise.
13641 (show_archive_content): Likewise.
13642 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13645 2013-09-24 Roland McGrath <roland@hack.frob.com>
13647 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13648 http://www.gnu.org/doc/freemanuals.texi.
13649 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13651 2013-09-24 Will Newton <will.newton@linaro.org>
13653 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13656 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13658 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13661 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13663 * manual/threads.texi (POSIX Threads): Fix a typo.
13665 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13668 * string/tst-strcoll-overflow.c: New test case.
13669 * string/Makefile (xtests): Add tst-strcoll-overflow.
13670 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13671 cache if string sizes may cause integer overflow.
13674 * string/strcoll_l.c (coll_seq): New members rule, idx,
13675 save_idx and back_us.
13676 (get_next_seq_nocache): New function.
13677 (do_compare_nocache): New function.
13678 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13681 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13684 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13685 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13686 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13689 * elf/Makefile (tests): Add tst-ptrguard1.
13690 (tests-static): Add tst-ptrguard1-static.
13691 (tst-ptrguard1-ARGS): Define.
13692 (tst-ptrguard1-static-ARGS): Define.
13693 * elf/tst-ptrguard1.c: New file.
13694 * elf/tst-ptrguard1-static.c: New file.
13695 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13696 * sysdeps/i386/stackguard-macros.h: Likewise.
13697 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13698 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13699 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13700 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13701 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13702 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13704 2013-09-23 Hector Marco <hecmargi@upv.es>
13705 Ismael Ripoll <iripoll@disca.upv.es>
13706 Carlos O'Donell <carlos@redhat.com>
13709 * sysdeps/generic/stackguard-macros.h: Define
13710 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13711 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13712 Define __pointer_chk_guard_local.
13713 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13714 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13716 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13719 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13721 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13723 * include/string.h (__ffs): Declare as hidden.
13724 * string/ffs.c (__ffs): Define as hidden.
13725 * sysdeps/i386/ffs.c (__ffs): Likewise.
13726 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13727 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13728 * sysdeps/s390/ffs.c (__ffs): Likewise.
13729 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13731 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13733 * NEWS: Mention malloc probes.
13735 * malloc/arena.c (new_heap): New memory_heap_new probe.
13736 (grow_heap): New memory_heap_more probe.
13737 (shrink_heap): New memory_heap_less probe.
13738 (heap_trim): New memory_heap_free probe.
13739 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13740 (systrim): New memory_sbrk_less probe.
13741 * manual/probes.texi: Document them.
13743 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13744 * manual/probes.texi: Document it.
13746 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13747 (__libc_realloc): Add memory_realloc_retry probe.
13748 (__libc_memalign): Add memory_memalign_retry probe.
13749 (__libc_valloc): Add memory_valloc_retry probe.
13750 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13751 (__libc_calloc): Add memory_calloc_retry probe.
13752 * manual/probes.texi: Document them.
13754 * malloc/arena.c (get_free_list): Add probe
13755 memory_arena_reuse_free_list.
13756 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13757 and memory_arena_reuse.
13758 (arena_get2) [!PER_THREAD]: Likewise.
13759 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13760 memory_arena_reuse_realloc.
13761 * manual/probes.texi: Document them.
13763 * malloc/malloc.c (__libc_free): Add
13764 memory_mallopt_free_dyn_thresholds probe.
13765 (__libc_mallopt): Add multiple memory_mallopt probes.
13766 * manual/probes.texi: Document them.
13768 * malloc/malloc.c: Include stap-probe.h.
13769 (__libc_mallopt): Add memory_mallopt probe.
13770 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13771 * manual/probes.texi: New.
13772 * manual/Makefile (chapters): Add probes.
13773 * manual/threads.texi: Set next node.
13775 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13777 [BZ #15963, #13985]
13778 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13779 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13780 Add `Chinese' to `nan' entry name.
13782 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13784 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13785 (POLYNOMIAL): Likewise.
13786 (TAYLOR_SINCOS): Likewise.
13787 (TAYLOR_SLOW): Likewise.
13788 (__sin): Use TAYLOR_SINCOS.
13790 (slow): Use TAYLOR_SLOW.
13792 (bsloww): Likewise.
13793 (csloww): Likewise.
13795 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13797 * stdlib/strtod_l.c: Fix buffer overrun.
13799 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13801 * benchtests/Makefile (bench): Add sincos.
13802 * benchtests/bench-sincos.c: New file.
13804 * math/libm-test.inc (cos_test_data): New test inputs.
13805 (sin_test_data): Likewise.
13807 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13813 (sloww1): Likewise.
13814 (sloww2): Likewise.
13815 (bsloww1): Likewise.
13816 (bsloww2): Likewise.
13817 (cslow2): Likewise.
13818 (csloww1): Likewise.
13819 (csloww2): Likewise.
13821 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13826 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13830 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13832 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13833 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13834 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13835 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13836 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13837 * elf/cache.c (print_entry): Handle the new cache flags.
13839 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13840 Aldy Hernandez <aldyh@redhat.com>
13842 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13843 Change condition to [_SOFT_FLOAT].
13844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13846 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13856 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13859 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13862 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13864 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13865 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13866 (__longjmp): Use LOAD_GP to load saved GPRs.
13867 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13868 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13869 (__sigsetjmp): Use SAVE_GP to save GPRs.
13871 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13872 Do not append -msoft-float.
13873 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13875 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13877 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13879 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13882 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13883 (_FPU_GETCW): Use initial "__" on variable and field names but not
13884 on macro parameter name.
13885 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13886 parentheses around reference to macro parameter.
13888 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13890 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13892 (ctype_startup): Use uint32_t in cast and sizeof for
13895 2013-09-11 Jia Liu <proljc@gmail.com>
13897 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13899 [__FreeBSD__]: Likewise.
13901 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13904 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13905 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13906 (strchr): Remove __strchr_sse42 ifunc selection.
13907 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13908 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13910 2013-09-11 Will Newton <will.newton@linaro.org>
13912 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13913 parameter to RES. Remove hardcoded 1000 value.
13914 * benchtests/bench-skeleton.c (main): Pass RES parameter
13915 to TIMING_INIT and multiply result by 1000.
13917 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13921 2013-09-11 Andreas Schwab <schwab@suse.de>
13923 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13925 (O_TMPFILE) [__USE_GNU]: Define.
13926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13929 2013-09-11 Will Newton <will.newton@linaro.org>
13932 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13935 2013-09-11 Will Newton <will.newton@linaro.org>
13938 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13941 2013-09-11 Will Newton <will.newton@linaro.org>
13944 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13947 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13949 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13950 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13951 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13952 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13955 2013-09-10 Allan McRae <allan@archlinux.org>
13958 * manual/arith.texi (Parsing of Floats): Clarify
13962 * manual/install.texi (Running make install): Mention
13964 * INSTALL: Regenerated.
13966 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13968 * csu/init-first.c (_init): Remove the !SHARED condition around
13969 FPU control word initialization.
13970 * elf/dl-support.c (_dl_fpu_control): New variable.
13971 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13972 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13973 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13974 * math/test-fpucw-static.c: New file.
13975 * math/test-fpucw-ieee.c: New file.
13976 * math/test-fpucw-ieee-static.c: New file.
13977 * math/Makefile (tests): Add `test-fpucw-ieee' and
13979 (tests-static): New variable.
13980 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13982 [($(build-shared),yes)]
13983 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13985 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13988 2013-09-09 Allan McRae <allan@archlinux.org>
13991 * manual/string.texi (Collation Functions): Fix typo in
13993 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13996 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13999 * libio/memstream.c (open_memstream): Fix memory leak.
14000 * libio/wmemstream.c (open_wmemstream): Likewise.
14003 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14005 2013-09-09 Will Newton <will.newton@linaro.org>
14007 * malloc/Makefile: Add tst-realloc to tests.
14008 * malloc/tst-realloc.c: New file.
14010 2013-09-09 Allan McRae <allan@archlinux.org>
14013 * COPYING: Update from GNU website to fix FSF address.
14014 * COPYING.LIB: Likewise.
14016 2013-09-06 David S. Miller <davem@davemloft.net>
14018 * po/zh_TW.po: Update Chinese (traditional) translation from
14019 translation project.
14021 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14022 Joseph Myers <joseph@codesourcery.com>
14024 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14026 (obstack_chunk_alloc): New macro.
14027 (obstack_chunk_free): Likewise.
14028 (record_offset): New function.
14029 (init_locale_data): Likewise.
14030 (align_locale_data): Likewise.
14031 (add_locale_empty): Likewise.
14032 (add_locale_raw_data): Likewise.
14033 (add_locale_raw_obstack): Likewise.
14034 (add_locale_string): Likewise.
14035 (add_locale_wstring): Likewise.
14036 (add_locale_uint32): Likewise.
14037 (add_locale_uint32_array): Likewise.
14038 (add_locale_char): Likewise.
14039 (start_locale_structure): Likewise.
14040 (end_locale_structure): Likewise.
14041 (start_locale_prelude): Likewise.
14042 (end_locale_prelude): Likewise.
14043 (write_locale_data): Take locale_file structure rather than an
14045 * locale/programs/locfile.h: Include "obstack.h".
14046 (struct locale_file): Change to store locale file contents instead
14048 (init_locale_data): New prototype.
14049 (align_locale_data): Likewise.
14050 (add_locale_empty): Likewise.
14051 (add_locale_raw_data): Likewise.
14052 (add_locale_raw_obstack): Likewise.
14053 (add_locale_string): Likewise.
14054 (add_locale_wstring): Likewise.
14055 (add_locale_uint32): Likewise.
14056 (add_locale_uint32_array): Likewise.
14057 (add_locale_char): Likewise.
14058 (start_locale_structure): Likewise.
14059 (end_locale_structure): Likewise.
14060 (start_locale_prelude): Likewise.
14061 (end_locale_prelude): Likewise.
14062 (write_locale_data): Update prototype.
14063 * locale/programs/3level.h (struct TABLE): Remove result field.
14064 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14065 Use new locale_file interface.
14066 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14067 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14068 * locale/programs/ld-address.c (address_output): Use new
14069 locale_file interface.
14070 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14072 (collate_finish): Don't call collseq_table_finalize.
14073 (collate_output): Use new locale_file interface.
14074 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14076 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14077 (TABLE): Move defines earlier in file.
14078 (ELEMENT): Likewise.
14079 (DEFAULT): Likewise.
14080 (wctrans_table_add): Move macro and inline function earlier in
14082 (struct wctype_table): Move type earlier in file.
14083 (add_locale_wctype_table): New static prototype.
14084 (struct locale_ctype_t): Use logical types instead of struct iovec
14085 pointers for members.
14086 (ctype_output): Use new locale_file interface.
14087 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14088 new locale_file interface.
14089 (allocate_arrays): Update for use of new locale_file interface.
14090 * locale/programs/ld-identification.c (identification_output): Use
14091 new locale_file interface.
14092 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14093 * locale/programs/ld-messages.c (messages_output): Likewise.
14094 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14095 * locale/programs/ld-name.c (name_output): Likewise.
14096 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14097 * locale/programs/ld-paper.c (paper_output): Likewise.
14098 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14099 * locale/programs/ld-time.c (time_output): Likewise.
14101 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14103 * benchtests/Makefile: Add memrchr benchmark.
14104 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14105 benchmark as memrchr.
14106 * benchtests/bench-memrchr-ifunc.c: New file.
14107 * benchtests/bench-memrchr.c: New file.
14109 2013-09-06 Will Newton <will.newton@linaro.org>
14111 * benchtests/Makefile (string-bench): Add memcpy.
14113 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14114 Cong Wang <amwang@redhat.com>
14117 * sysdeps/unix/sysv/linux/bits/in.h
14118 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14119 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14120 before __USE_KERNEL_IPV6_DEFS uses.
14121 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14123 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14124 sockaddr_in6, or ipv6_mreq.
14126 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14128 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14129 memory access for final bytes in some large inputs.
14130 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14132 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14134 * string/test-memrchr.c: New file.
14135 * string/test-memrchr-ifunc.c: New file.
14136 * string/Makefile: Add new memrchr testcase.
14138 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14140 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14141 fanotify_init returns EPERM.
14143 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14145 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14147 (top level): Treat second token from macro or constant entries for
14148 allowed headers as allowed.
14149 * include/complex.h: Condition internal declarations on
14151 * include/fenv.h: Condition include of <stdbool.h> and internal
14152 declarations on [!_ISOMAC].
14154 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14157 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14159 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14161 * configure.in (--enable-versioning): Remove configure option.
14162 (libc_cv_asm_symver_directive): Remove configure test.
14163 (libc_cv_ld_version_script_option): Likewise.
14164 (VERSIONING): Remove variable and AC_SUBST.
14165 (DO_VERSIONING): Remove AC_DEFINE.
14166 * configure: Regenerated.
14167 * config.h.in (DO_VERSIONING): Remove macro.
14168 * Makerules [$(versioning) = yes]: Change conditionals to
14169 [$(build-shared) = yes].
14170 * config.make.in (versioning): Remove variable.
14171 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14172 [$(build-shared) = yes].
14173 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14174 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14175 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14176 [$(build-shared) = yes].
14177 * extra-lib.mk [$(versioning) = yes]: Likewise.
14178 * hurd/Makefile [$(versioning) = yes]: Likewise.
14179 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14181 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14183 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14184 [SHARED && !NO_HIDDEN].
14185 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14187 [SHARED && DO_VERSIONING]: Likewise..
14188 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14189 [$(build-shared) = yes].
14190 * manual/install.texi (--disable-versioning): Remove
14192 * INSTALL: Regenerated.
14193 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14195 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14196 [$(build-shared) = yes].
14197 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14198 * sysdeps/i386/i686/multiarch/strstr-c.c
14199 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14200 [SHARED && !NO_HIDDEN].
14201 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14202 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14203 * sysdeps/powerpc/powerpc32/dl-machine.c
14204 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14205 * sysdeps/powerpc/powerpc32/sysdep.h
14206 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14207 to [SHARED && PIC && !NO_HIDDEN].
14208 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14209 conditional to [SHARED].
14211 2013-09-04 Will Newton <will.newton@linaro.org>
14213 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14214 * benchtests/bench-string.h: Include bench-timing.h instead
14215 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14216 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14217 call to HP_TIMING_DIFF_INIT.
14218 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14219 instead of hp-timing.h macros.
14220 * benchtests/bench-memchr.c: Likewise.
14221 * benchtests/bench-memcmp.c: Likewise.
14222 * benchtests/bench-memcpy.c: Likewise.
14223 * benchtests/bench-memmem.c: Likewise.
14224 * benchtests/bench-memmove.c: Likewise.
14225 * benchtests/bench-memset.c: Likewise.
14226 * benchtests/bench-rawmemchr.c: Likewise.
14227 * benchtests/bench-strcasecmp.c: Likewise.
14228 * benchtests/bench-strcasestr.c: Likewise.
14229 * benchtests/bench-strcat.c: Likewise.
14230 * benchtests/bench-strchr.c: Likewise.
14231 * benchtests/bench-strcmp.c: Likewise.
14232 * benchtests/bench-strcpy.c: Likewise.
14233 * benchtests/bench-strcpy_chk.c: Likewise.
14234 * benchtests/bench-strlen.c: Likewise.
14235 * benchtests/bench-strncasecmp.c: Likewise.
14236 * benchtests/bench-strncat.c: Likewise.
14237 * benchtests/bench-strncmp.c: Likewise.
14238 * benchtests/bench-strncpy.c: Likewise.
14239 * benchtests/bench-strnlen.c: Likewise.
14240 * benchtests/bench-strpbrk.c: Likewise.
14241 * benchtests/bench-strrchr.c: Likewise.
14242 * benchtests/bench-strspn.c: Likewise.
14243 * benchtests/bench-strstr.c: Likewise.
14245 2013-09-04 Will Newton <will.newton@linaro.org>
14247 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14249 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14252 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14253 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14254 * math/libm-test.inc (lgamma_test_data): Add more tests.
14255 * sysdeps/i386/fpu/libm-test-ulps: Update.
14256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14258 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14260 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14264 Add strcmp-sse2-unaligned
14265 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14267 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14269 * Versions.def (libc): Add GLIBC_2.19.
14271 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14273 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14274 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14276 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14279 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14280 intermediate calculations in recurrence.
14281 (__ieee754_ynf): Likewise.
14282 * math/libm-test.inc (jn_test_data): Do not allow spurious
14283 underflow exception. Add more tests.
14284 (yn_test_data): Add more tests.
14285 * sysdeps/i386/fpu/libm-test-ulps: Update.
14286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14288 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14292 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14294 * csu/init-first.c: Fix then/than typos.
14295 * locale/programs/ld-collate.c: Likewise.
14296 * locale/programs/linereader.h: Likewise.
14297 * manual/charset.texi: Likewise.
14298 * manual/filesys.texi: Likewise.
14299 * manual/stdio.texi: Likewise.
14300 * manual/string.texi: Likewise.
14301 * stdlib/fmtmsg.c: Likewise.
14302 * sysdeps/i386/stpncpy.S: Likewise.
14303 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14304 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14305 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14306 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14308 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14310 * elf/dl-open.c: Fix typos.
14311 * iconvdata/gbbig5.c: Likewise.
14312 * iconvdata/iso-2022-jp.c: Likewise.
14313 * iconv/gconv_int.h: Likewise.
14314 * iconv/loop.c: Likewise.
14315 * nis/rpcsvc/nis.h: Likewise.
14316 * resolv/ns_name.c: Likewise.
14317 * stdio-common/vfscanf.c: Likewise.
14318 * streams/stropts.h: Likewise.
14319 * sunrpc/rpc_thread.c: Likewise.
14320 * sysdeps/i386/strpbrk.S: Likewise.
14321 * sysdeps/ieee754/k_standard.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14324 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14325 * sysdeps/mach/hurd/profil.c: Likewise.
14326 * sysdeps/s390/dl-procinfo.h: Likewise.
14327 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14328 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14329 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14330 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14331 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14333 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14335 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14338 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14340 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14341 aix specific files.
14342 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14343 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14344 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14345 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14346 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14347 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14348 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14349 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14351 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14352 Roland McGrath <roland@hack.frob.com>
14354 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14355 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14357 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14359 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14360 __executable_start symbol instead of _start.
14362 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14364 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14365 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14367 * sysdeps/gnu/ldsodefs.h: ... this new file.
14369 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14370 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14371 instead of ELFOSABI_LINUX.
14373 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14374 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14375 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14376 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14378 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14379 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14380 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14382 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14383 (ibm_extended_long_double): Add ieee_nan member.
14384 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14385 (do_test): New function.
14387 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14389 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14390 functions, renamed from truncdfsf_test, trunctfsf_test,
14392 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14394 (do_test): Run all these.
14396 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14398 * argp/argp-help.c: Fix typos.
14399 * argp/argp-parse.c: Likewise.
14400 * debug/backtracesyms.c: Likewise.
14401 * elf/elf.h: Likewise.
14402 * malloc/malloc.c: Likewise.
14403 * nis/nis_print.c: Likewise.
14404 * resolv/res_comp.c: Likewise.
14405 * stdlib/stdlib.h: Likewise.
14406 * sunrpc/clnt_tcp.c: Likewise.
14407 * sunrpc/clnt_udp.c: Likewise.
14408 * sunrpc/clnt_unix.c: Likewise.
14409 * sysdeps/unix/bsd/ptsname.c: Likewise.
14410 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14411 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14418 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14420 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14422 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14425 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14428 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14429 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14430 ($(objpfx)bug-dl-leaf): New rule.
14431 ($(objpfx)bug-dl-leaf.so): Likewise.
14432 ($(objpfx)bug-dl-leaf.out): Likewise.
14433 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14434 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14435 * dlfcn/bug-dl-leaf.c: New test.
14436 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14437 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14438 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14439 (dlclose): Likewise.
14440 (dlmopen): Likewise.
14442 2013-08-27 Roland McGrath <roland@hack.frob.com>
14444 * include/netdb.h [!_ISOMAC]:
14445 Don't include <tls.h>.
14446 (h_errno, __libc_h_errno): Move declaration and macros out of
14449 * include/resolv.h [_RESOLV_H_]:
14450 Don't include <tls.h>.
14451 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14452 * resolv/res_libc.c: Don't include <tls.h>.
14453 (_res): Use __attribute__ ((nocommon)) in place of
14454 __attribute__ ((section (".bss"))).
14456 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14457 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14459 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14461 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14462 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14464 * resolv/res_mkquery.c: Include <sys/time.h>.
14466 * inet/ifreq.c: Moved to ...
14467 * sysdeps/unix/ifreq.c: ... here.
14468 * inet/ifreq.c: New file, true stub version.
14470 * socket/sa_len.c: New file.
14471 * socket/Makefile (aux): Add it.
14472 * sysdeps/unix/sysv/linux/Makefile
14473 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14474 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14475 and #include <socket/sa_len.c>.
14476 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14477 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14479 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14480 * bits/socket.h: ... here.
14482 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14483 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14484 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14486 2013-08-27 Andreas Schwab <schwab@suse.de>
14489 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14490 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14491 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14492 * string/test-strcasecmp.c (test_main): Run tests in several
14494 * string/test-strncasecmp.c (test_main): Likewise.
14496 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14497 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14498 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14500 (__strncasecmp_ssse3) [PIC]: Likewise.
14502 2013-08-26 Roland McGrath <roland@hack.frob.com>
14504 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14506 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14507 instead of explicitly declaring xdecrypt.
14508 * nis/nss_nis/nis-publickey.c: Likewise.
14510 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14513 * nscd/aicache.c: Include res_hconf.h.
14514 (addhstaiX): Initialize res_hconf.
14516 2013-08-26 Andreas Schwab <schwab@suse.de>
14518 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14519 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14521 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14523 * nscd/aicache.c (addhstaiX): Fix indentation.
14525 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14527 * configure.ac: Quote $build_pt_chown test.
14528 * configure: Regenerated.
14530 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14533 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14534 * math/s_cexpf.c (__cexpf): Likewise.
14535 * math/s_cexpl.c (__cexpl): Likewise.
14536 * math/libm-test.inc (cexp_test_data): Correct expected return
14537 value for NaN + i0. Add another test.
14539 2013-08-22 David S. Miller <davem@davemloft.net>
14541 * po/ca.po: Update Catalan translation from translation project.
14542 * po/uk.po: Add Ukrainian translations from translation project.
14544 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14547 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14548 is infinite, not alongside NaN test.
14549 * math/s_fdimf.c (__fdimf): Likewise.
14550 * math/s_fdiml.c (__fdiml): Likewise.
14551 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14552 errno is unchanged.
14554 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14556 * argp/argp-help.c: Fix typos.
14557 * crypt/speeds.c: Likewise.
14558 * csu/check_fds.c: Likewise.
14559 * elf/dl-load.c: Likewise.
14560 * elf/dl-open.c: Likewise.
14561 * elf/reldep3.c: Likewise.
14562 * elf/reldep.c: Likewise.
14563 * elf/sprof.c: Likewise.
14564 * iconv/iconv_charmap.c: Likewise.
14565 * iconv/skeleton.c: Likewise.
14566 * iconv/strtab.c: Likewise.
14567 * io/lockf64.c: Likewise.
14568 * libio/libioP.h: Likewise.
14569 * resolv/gai_notify.c: Likewise.
14570 * resolv/ns_name.c: Likewise.
14571 * resolv/ns_samedomain.c: Likewise.
14572 * resolv/res_send.c: Likewise.
14573 * stdlib/random.c: Likewise.
14574 * sunrpc/rpc/xdr.h: Likewise.
14575 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14576 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14577 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14578 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14580 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14581 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14582 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14583 * sysdeps/mach/hurd/check_fds.c: Likewise.
14584 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14585 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14586 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14587 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14588 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14589 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14590 * sysdeps/pthread/aio_notify.c: Likewise.
14591 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14592 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14593 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14594 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14595 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14597 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14599 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14600 version if bit_Slow_SSE4_2 is set.
14601 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14602 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14604 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14607 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14608 trampoline stack frame information.
14609 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14610 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14611 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14612 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14613 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14614 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14615 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14616 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14618 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14619 interrupting a syscall and set with option SA_SIGINFO.
14621 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14624 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14625 argument is infinite.
14626 * math/s_cprojf.c (__cprojf): Likewise.
14627 * math/s_cprojl.c (__cprojl): Likewise.
14628 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14629 * math/libm-test.inc (cproj_test_data): Add more tests.
14631 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14633 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14634 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14635 size. Use __ffs to determine corresponding shift.
14637 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14638 Roland McGrath <roland@hack.frob.com>
14640 * Makefile (INSTALL): Remove trailing blank lines from output of
14643 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14645 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14646 Align 32 bit compat elf_greg to 8 bytes.
14648 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14650 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14652 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14654 * string/strcoll_l.c (coll_seq): New structure.
14655 (get_next_seq_cached): New function.
14656 (get_next_seq): New function.
14657 (do_compare): New function.
14658 (STRCOLL): Use GNU style definition. Simplify implementation
14659 by using get_next_seq, get_next_seq_cached and do_compare.
14661 2013-08-16 Florian Weimer <fweimer@redhat.com>
14665 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14667 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14669 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14670 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14671 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14673 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14674 GETDENTS_64BIT_ALIGNED.
14675 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14676 * manual/filesys.texi (Reading/Closing Directory): Document
14677 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14679 * manual/conf.texi (Limits for Files): Add portability note to
14680 NAME_MAX, PATH_MAX.
14681 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14683 2013-08-13 Andreas Schwab <schwab@suse.de>
14686 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14688 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14689 LDBL_MAX_EXP >= 16384]: Add tests for it.
14691 2013-08-12 David S. Miller <davem@davemloft.net>
14693 * version.h (RELEASE): Set to "development".
14694 (VERSION): Set to "2.18.90".
14695 * NEWS: Add 2.19 section.
14697 2013-08-03 David S. Miller <davem@davemloft.net>
14699 * po/ko.po: Update Korean translation from translation project.
14701 2013-08-01 David S. Miller <davem@davemloft.net>
14703 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14704 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14707 2013-07-30 David S. Miller <davem@davemloft.net>
14709 * po/fr.po: Update French translation from translation project.
14711 2013-07-28 David S. Miller <davem@davemloft.net>
14713 * po/cs.po: Update Czech translation from translation project.
14715 * po/sv.po: Update Swedish translation from translation project.
14717 2013-07-27 David S. Miller <davem@davemloft.net>
14719 * po/eo.po: Update Esperanto translation from translation project.
14721 * po/vi.po: Update Vietnamese translation from translation project.
14723 * po/de.po: Update German translation from translation project.
14725 2013-07-26 David S. Miller <davem@davemloft.net>
14727 * po/bg.po: Update Bulgarian translation from translation project.
14729 * po/nl.po: Update Dutch translation from translation project.
14730 * po/pl.po: Update Polish translation from translation project.
14731 * po/ru.po: Update Russian translation from translation project.
14733 2013-07-24 David S. Miller <davem@davemloft.net>
14735 * po/libc.pot: Update.
14737 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14739 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14740 variable page size.
14741 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14742 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14743 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14745 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14747 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14749 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14750 Andreas Schwab <schwab@suse.de>
14751 Roland McGrath <roland@hack.frob.com>
14752 Joseph Myers <joseph@codesourcery.com>
14753 Carlos O'Donell <carlos@redhat.com>
14756 * config.h.in: Define HAVE_PT_CHOWN.
14757 * config.make.in (build-pt-chown): New variable.
14758 * configure.in (--enable-pt_chown): New configure option.
14759 * configure: Regenerate.
14760 * login/Makefile: Include Makeconfig. Build pt_chown only if
14761 build-pt-chown is enabled.
14762 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14763 pt_chown to fix pty ownership.
14764 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14766 * manual/install.texi (Configuring and compiling): Mention
14767 --enable-pt_chown. Add @findex for grantpt.
14768 * INSTALL: Regenerate.
14770 2013-07-20 David S. Miller <davem@davemloft.net>
14772 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14773 difference between 32-bit and 64-bit.
14775 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14778 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14779 Avoid system header dependency with -ffreestanding.
14780 ($(objpfx)bits/syscall%d): Likewise.
14782 2013-07-13 David S. Miller <davem@davemloft.net>
14784 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14785 underflows from atanl/atan2l due to bug 15319.
14786 (casinh_test_data): Likewise.
14788 2013-07-07 David S. Miller <davem@davemloft.net>
14790 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14792 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14794 * sysdeps/i386/fpu/libm-test-ulps: Update.
14795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14797 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14799 * configure.in (--enable-lock-elision): Fix message text.
14800 * INSTALL: Regenerate.
14801 * configure: Regenerate.
14803 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14807 2013-07-03 Andreas Jaeger <aj@suse.de>
14809 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14811 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14812 (ptrace_peeksiginfo_args): Add.
14813 (__ptrace_peeksiginfo_flags): Add.
14814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14815 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14816 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14818 2013-07-03 Allan McRae <allan@archlinux.org>
14820 * sysdeps/i386/fpu/libm-test-ulps: Update.
14822 2013-07-02 David S. Miller <davem@davemloft.net>
14824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14826 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14830 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14832 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14835 2013-07-02 Andi Kleen <ak@linux.intel.com>
14837 * config.h.in (ENABLE_LOCK_ELISION): Add.
14838 * configure.in (--enable-lock-elision): Add option.
14839 * manual/install.texi: Document --enable lock elision.
14840 * configure: Regenerate
14841 * INSTALL: Regenerate.
14843 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14845 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14846 SSE4.2 strcasecmp for libc.a.
14847 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14849 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14852 * soft-fp/op-common.h (_FP_FMA): New macro.
14853 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14854 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14855 (_FP_MUL_MEAT_1_imm): ... here.
14856 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14857 (_FP_MUL_MEAT_1_wide): ... here.
14858 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14859 (_FP_MUL_MEAT_1_hard): ... here.
14860 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14861 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14862 (_FP_MUL_MEAT_2_wide): ... here.
14863 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14864 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14865 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14866 (_FP_MUL_MEAT_2_gmp): ... here.
14867 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14868 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14869 (_FP_MUL_MEAT_4_wide): ... here.
14870 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14871 (_FP_MUL_MEAT_4_gmp): ... here.
14872 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14873 (_FP_WFRACBITS_DW_S): Likewise.
14874 (_FP_WFRACXBITS_DW_S): Likewise.
14875 (_FP_HIGHBIT_DW_S): Likewise.
14876 (FP_FMA_S): Likewise.
14877 (_FP_FRAC_HIGH_DW_S): Likewise.
14878 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14879 (_FP_WFRACBITS_DW_D): Likewise.
14880 (_FP_WFRACXBITS_DW_D): Likewise.
14881 (_FP_HIGHBIT_DW_D): Likewise.
14882 (FP_FMA_D): Likewise.
14883 (_FP_FRAC_HIGH_DW_D): Likewise.
14884 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14885 (_FP_WFRACBITS_DW_E): Likewise.
14886 (_FP_WFRACXBITS_DW_E): Likewise.
14887 (_FP_HIGHBIT_DW_E): Likewise.
14888 (FP_FMA_E): Likewise.
14889 (_FP_FRAC_HIGH_DW_E): Likewise.
14890 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14891 (_FP_WFRACBITS_DW_Q): Likewise.
14892 (_FP_WFRACXBITS_DW_Q): Likewise.
14893 (_FP_HIGHBIT_DW_Q): Likewise.
14894 (FP_FMA_Q): Likewise.
14895 (_FP_FRAC_HIGH_DW_Q): Likewise.
14896 * soft-fp/fmasf4.c: New file.
14897 * soft-fp/fmadf4.c: Likewise.
14898 * soft-fp/fmatf4.c: Likewise.
14900 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14903 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14905 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14907 (index_Slow_SSE4_2): Likewise.
14908 (index_Prefer_PMINUB_for_stringop): Likewise.
14909 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14910 bit_Slow_SSE4_2 is set.
14911 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14912 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14914 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14916 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14917 rtld_global._dl_hwcap2.
14918 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14920 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14921 POWER8 feature descriptions defined in _dl_hwcap2.
14922 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14923 string handling for POWER8 feature bits.
14924 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14925 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14926 _dl_powerpc_cap_flags.
14927 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14928 * sysdeps/powerpc/rtld-global-offsets.sym
14929 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14930 _dl_hwcap2 in the rtld_global_ro structure.
14932 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14934 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14935 hardware capabilities in support of AT_HWCAP2.
14936 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14937 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14939 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14940 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14941 explicitly the unknown a_type display mechanism is used.
14942 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14943 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14945 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14946 to macro prototype for AT_HWCAP2 support.
14947 * sysdeps/i386/dl-procinfo.h: Likewise.
14948 * sysdeps/s390/dl-procinfo.h: Likewise.
14949 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14950 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14951 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14952 return -1 for unknown a_type display fallback.
14953 * sysdeps/sparc/dl-procinfo.h: Likewise.
14954 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14955 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14957 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14959 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14960 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14962 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14965 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14966 mprotect making __stack_prot writable.
14968 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14969 Joseph Myers <joseph@codesourcery.com>
14971 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14972 as being properly aligned.
14974 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14976 * dlfcn/modstatic5.c: New file.
14977 * dlfcn/tststatic5.c: New file.
14978 * dlfcn/Makefile (tests): Add tststatic5.
14979 (tests-static): Likewise.
14980 (modules-names): Add modstatic5.
14981 (tststatic5-ENV): New variable.
14982 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14985 * elf/dl-support.c (_dl_main_map): New variable.
14986 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14987 (_dl_nns, _dl_load_adds): Set to 1.
14988 (_dl_initial_searchlist): Refer to _dl_main_map.
14989 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14990 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14991 call to _dl_get_origin.
14992 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14994 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14995 * dlfcn/modstatic3.c: New file.
14996 * dlfcn/tststatic3.c: New file.
14997 * dlfcn/tststatic4.c: New file.
14998 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14999 (tests-static): Likewise.
15000 (modules-names): Add modstatic3.
15001 (tststatic3-ENV, tststatic4-ENV): New variables.
15002 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15003 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15005 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15007 * configure.in (CC): Require GCC version 4.4 or later.
15008 * configure: Regenerated.
15009 * manual/install.texi (Tools for Compilation): Update GCC version
15011 * INSTALL: Regenerated.
15013 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15016 * string/test-memcmp.c (check2): New.
15017 (main): Call check2.
15019 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15021 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15024 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15026 (dl_open_worker) [!SHARED]: ... here.
15028 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15030 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15032 2013-06-25 Richard Henderson <rth@redhat.com>
15034 * locale/programs/locarchive.c: Include <libc-internal.h>
15036 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15038 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15039 trailing whitespace removed.
15041 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15044 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15045 * locale/programs/locarchive.c: Include libc-mmap.h.
15046 (prepare_address_space): Take two new outputs (the mmap base and len).
15047 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15049 (create_archive): Declare new mmap base and len values for
15050 prepare_address_space, and store the result in ah.
15051 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15052 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15053 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15054 Declare new mmap base and len values for
15055 prepare_address_space, and store the result in new_ah.
15056 (open_archive): Declare new mmap base and len values for
15057 prepare_address_space, and store the result in ah.
15058 (close_archive): If ah->mmap_base is not NULL, use that and
15059 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15060 * sysdeps/generic/libc-mmap.h: New file.
15062 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15064 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15065 (ALIGN_UP): Likewise.
15066 (PTR_ALIGN_DOWN): Likewise.
15067 (PTR_ALIGN_UP): Likewise.
15069 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15071 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15072 entry mapped to PPC_PLATFORM_POWER8.
15073 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15075 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15076 (_dl_string_platform): Add case for exporting platform position for
15078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15079 search path to sysdeps/powerpc/powerpc32/power8 directory.
15080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15081 search path to sysdeps/powerpc/powerpc64/power8 directory.
15082 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15083 power7 directories.
15084 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15085 power7 directories.
15087 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15089 * INSTALL: Regenerate.
15091 * nscd/connections.c (nscd_init): Fix comment.
15093 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15095 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15098 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15099 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15101 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15103 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15105 (DL_DST_REQ_STATIC): Remove macro.
15107 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15110 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15111 with a shift of 0 bits.
15113 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15115 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15118 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15121 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15123 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15125 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15126 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15127 accepts -fno-tree-loop-distribute-patterns.
15128 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15129 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15131 * string/memset.c (memset): Likewise.
15132 * string/test-memmove.c (simple_memmove): Disable loop transformation
15134 * string/test-memset.c (simple_memset): Likewise.
15135 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15136 * benchtests/bench-memset.c (simple_memset): Likewise.
15137 * configure: Regenerated.
15139 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15141 * math/test-misc.c (main): Ignore fesetround failure when failures
15142 of subsequent rounding tests would be ignored.
15145 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15146 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15147 * math/fegetenv.c (__fegetenv): Return 0.
15148 * math/fegetexcept.c (fegetexcept): Return 0.
15149 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15151 * math/feholdexcpt.c (feholdexcept): Return 0.
15152 * math/fesetenv.c (__fesetenv): Return 0.
15153 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15154 argument FE_TONEAREST.
15155 * math/feupdateenv.c (__feupdateenv): Return 0.
15156 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15158 2013-06-18 Roland McGrath <roland@hack.frob.com>
15160 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15161 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15162 ($(objpfx)rtld-%.os rules): Use them.
15164 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15166 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15169 2013-06-17 Roland McGrath <roland@hack.frob.com>
15171 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15172 length of target pattern, then descending length of dependency pattern.
15173 * configure.in (AWK): Require gawk 3.1.2 or newer.
15174 * manual/install.texi (Tools for Compilation): Say that we do.
15175 * configure: Regenerated.
15177 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15178 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15179 * scripts/sysd-rules.awk: ... this new script.
15180 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15181 than a glob-style pattern.
15183 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15185 * math/test-misc.c (main): Do not treat incorrectly rounded
15186 conversions as failure unless ROUNDING_TESTS passes.
15188 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15191 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15192 restore exception state around main square root computation, then
15193 check for inexactness explicitly.
15195 * math/libm-test.inc (fma_test_data): Add another test.
15197 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15199 * manual/threads.texi (Non-POSIX Extensions): New document
15200 node. Document pthread_getattr_default_np and
15201 pthread_setattr_default_np.
15203 * Versions.def (libpthread): Add GLIBC_2.18.
15204 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15213 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15224 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15227 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15229 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15230 H.J. Lu <hjl.tools@gmail.com>
15233 * sysdeps/x86_64/rtld-memset.c: Remove file.
15234 * sysdeps/x86_64/rtld-memset.S: New file.
15236 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15238 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15239 (test_in_one_mode): Take arguments for whether the rounding mode
15240 is supported for each floating-point type.
15241 (do_test): Pass new arguments to test_in_one_mode using
15244 2013-06-13 Roland McGrath <roland@hack.frob.com>
15246 * posix/tst-waitid.c (do_test): Distinguish different instances of
15247 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15248 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15249 before entering the kernel for waitpid.
15251 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15253 * NEWS: Fix note on clock function precision. Text by Roland
15256 2013-06-13 Roland McGrath <roland@hack.frob.com>
15258 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15259 it into place only when and if the sanity check passes.
15261 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15263 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15264 output for whether conversion result is exact. Take argument
15265 indicating whether type is IBM long double.
15266 (round_for_all): Change need_exact field to ibm_ld.
15267 * stdlib/tst-strtod-round.c (struct exactness): New type.
15268 (struct test): Change bool ld_ok field to struct exactness exact.
15269 (TEST): Update all definitions for change to field.
15270 (tests): Regenerate array contents.
15271 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15272 field value. Check for IBM long double here.
15273 (do_test): Update calls to test_in_one_mode.
15275 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15278 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15279 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15281 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15284 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15285 generated by the compiler on loop optimizations.
15286 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15287 general definitions.
15289 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15291 * math/bug-nextafter.c: Include <math-tests.h>.
15292 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15294 * math/bug-nexttoward.c: Include <math-tests.h>.
15295 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15297 * math/test-misc.c: Include <math-tests.h>.
15298 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15301 2013-06-12 Andreas Jaeger <aj@suse.de>
15303 * po/ia.po: Update Interlingua translation from translation
15306 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15308 * include/fenv.h: Include stdbool.h.
15309 (struct rm_ctx): New structure.
15310 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15312 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15313 (SET_RESTORE_ROUNDF): Likewise.
15314 (SET_RESTORE_ROUNDL): Likewise.
15315 (SET_RESTORE_ROUND_NOEX): Likewise.
15316 (SET_RESTORE_ROUND_NOEXF): Likewise.
15317 (SET_RESTORE_ROUND_NOEXL): Likewise.
15318 (SET_RESTORE_ROUND_53BIT): Likewise.
15319 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15320 (libc_feresetround_noexf_ctx): Likewise.
15321 (libc_feresetround_noexl_ctx): Likewise.
15322 (libc_feholdsetround_53bit_ctx): Likewise.
15323 (libc_feresetround_53bit_ctx): Likewise.
15324 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15325 (libc_feholdexcept_setround_sse_ctx): New function.
15326 (libc_fesetenv_sse_ctx): Likewise.
15327 (libc_feupdateenv_sse_ctx): Likewise.
15328 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15329 (libc_feholdexcept_setround_387_ctx): Likewise.
15330 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15331 (libc_feholdsetround_387_prec_ctx): Likewise.
15332 (libc_feholdsetround_387_ctx): Likewise.
15333 (libc_feholdsetround_387_53bit_ctx): Likewise.
15334 (libc_feholdsetround_sse_ctx): Likewise.
15335 (libc_feresetround_sse_ctx): Likewise.
15336 (libc_feresetround_387_ctx): Likewise.
15337 (libc_feupdateenv_387_ctx): Likewise.
15338 (libc_feholdexcept_setroundf_ctx): Define macro.
15339 (libc_fesetenvf_ctx): Likewise.
15340 (libc_feupdateenvf_ctx): Likewise.
15341 (libc_feholdsetroundf_ctx): Likewise.
15342 (libc_feresetroundf_ctx): Likewise.
15343 (libc_feholdexcept_setround_ctx): Likewise.
15344 (libc_fesetenv_ctx): Likewise.
15345 (libc_feupdateenv_ctx): Likewise.
15346 (libc_feholdsetround_ctx): Likewise.
15347 (libc_feresetround_ctx): Likewise.
15348 (libc_feholdexcept_setroundl_ctx): Likewise.
15349 (libc_feupdateenvl_ctx): Likewise.
15350 (libc_feholdsetroundl_ctx): Likewise.
15351 (libc_feresetroundl_ctx): Likewise.
15352 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15353 (libc_feresetround_53bit_ctx): Likewise.
15355 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15357 * locale/iso-639.def: Convert to UTF-8.
15359 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15361 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15362 (EXCEPTION_TESTS_double): Likewise.
15363 (EXCEPTION_TESTS_long_double): Likewise.
15364 (EXCEPTION_TESTS): Likewise.
15365 * math/libm-test.inc (test_exceptions): Only test exceptions if
15366 EXCEPTION_TESTS (FLOAT).
15368 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15370 * benchtests/Makefile (string-bench): Add strcpy_chk and
15372 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15373 * benchtests/bench-stpcpy_chk.c: New file.
15374 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15375 * benchtests/bench-strcpy_chk.c: New file.
15376 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15378 (do_test): Likewise.
15380 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15382 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15383 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15384 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15385 with tabs where appropriate.
15386 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15388 [PPC_PLATFORM_PPC440]: Likewise.
15389 [PPC_PLATFORM_PPC464]: Likewise.
15390 [PPC_PLATFORM_PPC476]: Likewise.
15391 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15392 ppc464, and ppc476 platform strings merging from ports/
15395 2013-06-11 Andreas Schwab <schwab@suse.de>
15398 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15399 (from_ucs4_idx): Regenerate.
15400 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15401 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15402 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15403 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15404 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15405 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15406 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15407 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15408 from FROM_LOOP and TO_LOOP specific macros.
15409 (BODY): Handle combining characters.
15410 * iconvdata/BIG5HKSCS.irreversible: Update.
15411 * iconvdata/BIG5HKSCS.precomposed: New file.
15412 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15414 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15416 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15418 * include/sys/time.h: Fix indentation and add copyright header.
15420 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15421 (do_test): Likewise.
15422 * string/test-memchr.c (do_one_test): Likewise.
15423 (do_test): Likewise.
15424 * string/test-memcmp.c (do_one_test): Likewise.
15425 (do_test): Likewise.
15426 * string/test-memcpy.c (do_one_test): Likewise.
15427 (do_test): Likewise.
15428 * string/test-memmem.c (do_one_test): Likewise.
15429 (do_test): Likewise.
15430 (do_random_tests): Likewise.
15431 * string/test-memmove.c (do_one_test): Likewise.
15432 (do_test): Likewise.
15433 * string/test-memset.c (do_one_test): Likewise.
15434 (do_test): Likewise.
15435 * string/test-rawmemchr.c (do_one_test): Likewise.
15436 (do_test): Likewise.
15437 * string/test-strcasecmp.c (do_one_test): Likewise.
15438 (do_test): Likewise.
15439 * string/test-strcasestr.c (do_one_test): Likewise.
15440 (do_test): Likewise.
15441 * string/test-strcat.c (do_one_test): Likewise.
15442 (do_test): Likewise.
15443 * string/test-strchr.c (do_one_test): Likewise.
15444 (do_test): Likewise.
15445 * string/test-strcmp.c (do_one_test): Likewise.
15446 (do_test): Likewise.
15447 * string/test-strcpy.c (do_one_test): Likewise.
15448 (do_test): Likewise.
15449 * string/test-string.h: Likewise.
15450 (test_init): Likewise.
15451 * string/test-strlen.c (do_one_test): Likewise.
15452 (do_test): Likewise.
15453 * string/test-strncasecmp.c (do_one_test): Likewise.
15454 (do_test): Likewise.
15455 * string/test-strncat.c (do_one_test): Likewise.
15456 (do_test): Likewise.
15457 * string/test-strncmp.c (do_one_test): Likewise.
15458 (do_test_limit): Likewise.
15459 (do_test): Likewise.
15460 * string/test-strncpy.c (do_one_test): Likewise.
15461 (do_test): Likewise.
15462 * string/test-strnlen.c (do_one_test): Likewise.
15463 (do_test): Likewise.
15464 * string/test-strpbrk.c (do_one_test): Likewise.
15465 (do_test): Likewise.
15466 * string/test-strrchr.c (do_one_test): Likewise.
15467 (do_test): Likewise.
15468 * string/test-strspn.c (do_one_test): Likewise.
15469 (do_test): Likewise.
15470 * string/test-strstr.c (do_one_test): Likewise.
15471 (do_test): Likewise.
15473 * benchtests/Makefile (string-bench): Add string benchmarks.
15474 * benchtests/bench-bcopy-ifunc.c: New file.
15475 * benchtests/bench-bcopy.c: New file.
15476 * benchtests/bench-bzero-ifunc.c: New file.
15477 * benchtests/bench-bzero.c: New file.
15478 * benchtests/bench-memccpy-ifunc.c: New file.
15479 * benchtests/bench-memccpy.c: New file.
15480 * benchtests/bench-memchr-ifunc.c: New file.
15481 * benchtests/bench-memchr.c: New file.
15482 * benchtests/bench-memcmp-ifunc.c: New file.
15483 * benchtests/bench-memcmp.c: New file.
15484 * benchtests/bench-memmem-ifunc.c: New file.
15485 * benchtests/bench-memmem.c: New file.
15486 * benchtests/bench-memmove-ifunc.c: New file.
15487 * benchtests/bench-memmove.c: New file.
15488 * benchtests/bench-mempcpy-ifunc.c: New file.
15489 * benchtests/bench-mempcpy.c: New file.
15490 * benchtests/bench-memset-ifunc.c: New file.
15491 * benchtests/bench-memset.c: New file.
15492 * benchtests/bench-rawmemchr-ifunc.c: New file.
15493 * benchtests/bench-rawmemchr.c: New file.
15494 * benchtests/bench-stpcpy-ifunc.c: New file.
15495 * benchtests/bench-stpcpy.c: New file.
15496 * benchtests/bench-stpncpy-ifunc.c: New file.
15497 * benchtests/bench-stpncpy.c: New file.
15498 * benchtests/bench-strcasecmp-ifunc.c: New file.
15499 * benchtests/bench-strcasecmp.c: New file.
15500 * benchtests/bench-strcasestr-ifunc.c: New file.
15501 * benchtests/bench-strcasestr.c: New file.
15502 * benchtests/bench-strcat-ifunc.c: New file.
15503 * benchtests/bench-strcat.c: New file.
15504 * benchtests/bench-strchr-ifunc.c: New file.
15505 * benchtests/bench-strchr.c: New file.
15506 * benchtests/bench-strchrnul-ifunc.c: New file.
15507 * benchtests/bench-strchrnul.c: New file.
15508 * benchtests/bench-strcmp-ifunc.c: New file.
15509 * benchtests/bench-strcmp.c: New file.
15510 * benchtests/bench-strcpy-ifunc.c: New file.
15511 * benchtests/bench-strcpy.c: New file.
15512 * benchtests/bench-strcspn-ifunc.c: New file.
15513 * benchtests/bench-strcspn.c: New file.
15514 * benchtests/bench-strlen-ifunc.c: New file.
15515 * benchtests/bench-strlen.c: New file.
15516 * benchtests/bench-strncasecmp-ifunc.c: New file.
15517 * benchtests/bench-strncasecmp.c: New file.
15518 * benchtests/bench-strncat-ifunc.c: New file.
15519 * benchtests/bench-strncat.c: New file.
15520 * benchtests/bench-strncmp-ifunc.c: New file.
15521 * benchtests/bench-strncmp.c: New file.
15522 * benchtests/bench-strncpy-ifunc.c: New file.
15523 * benchtests/bench-strncpy.c: New file.
15524 * benchtests/bench-strnlen-ifunc.c: New file.
15525 * benchtests/bench-strnlen.c: New file.
15526 * benchtests/bench-strpbrk-ifunc.c: New file.
15527 * benchtests/bench-strpbrk.c: New file.
15528 * benchtests/bench-strrchr-ifunc.c: New file.
15529 * benchtests/bench-strrchr.c: New file.
15530 * benchtests/bench-strspn-ifunc.c: New file.
15531 * benchtests/bench-strspn.c: New file.
15532 * benchtests/bench-strstr-ifunc.c: New file.
15533 * benchtests/bench-strstr.c: New file.
15535 * benchtests/Makefile: Disable parallel execution of targets.
15536 (string-bench): Add memcpy.
15537 (benchset): New variable to store a list of benchmark sets.
15538 (bench-func): Renamed from bench.
15539 (bench-set): New target.
15540 (bench): Depend on bench-func and bench-set.
15541 * benchtests/README: Add section on benchmark sets.
15542 * benchtests/bench-memcpy-ifunc.c: New file.
15543 * benchtests/bench-memcpy.c: New file.
15544 * benchtests/bench-string.h: New file.
15546 2013-06-11 Andreas Schwab <schwab@suse.de>
15549 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15550 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15551 values in the triple.
15552 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15553 terminator in the group key.
15555 2013-06-11 Andreas Jaeger <aj@suse.de>
15557 * po/zh_TW.po: Update Chinese (traditional) translation from
15558 translation project.
15560 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15562 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15563 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15564 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15565 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15566 (clock_getcpuclockid): Likewise.
15567 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15568 Add weak_alias and libc_hidden_def.
15569 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15570 * rt/clock_gettime.c (clock_gettime): Rename to
15571 __clock_gettime. Add weak_alias and libc_hidden_def.
15572 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15573 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15574 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15575 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15576 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15578 * rt/clock_settime.c (clock_settime): Rename to
15579 __clock_settime. Add weak_alias and libc_hidden_def.
15580 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15582 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15584 * mach/err_boot.sub: Remove trailing whitespace.
15585 * mach/err_ipc.sub: Likewise.
15586 * mach/err_mach.sub: Likewise.
15588 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15589 (ROUNDING_TESTS_double): Likewise.
15590 (ROUNDING_TESTS_long_double): Likewise.
15591 (ROUNDING_TESTS): Likewise.
15592 * math/libm-test.inc: Include <math-tests.h>.
15593 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15594 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15595 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15596 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15598 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15600 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15603 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15605 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15606 otherwise empty TRANS lines.
15607 * sysdeps/gnu/errlist.c: Regenerated.
15609 * catgets/gencat.c (error_print): Use (void) in function
15611 * crypt/crypt_util.c (__init_des): Likewise.
15612 * crypt/speeds.c (Stop): Likewise.
15614 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15615 * inet/ruserpass.c (token): Likewise.
15616 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15617 * intl/localealias.c (extend_alias_table): Likewise.
15618 * intl/plural-exp.c (init_germanic_plural): Likewise.
15619 * libio/fcloseall.c (__fcloseall): Likewise.
15620 * libio/genops.c (_IO_flush_all): Likewise.
15621 (_IO_flush_all_linebuffered): Likewise.
15622 (_IO_cleanup): Likewise.
15623 (_IO_iter_begin): Likewise.
15624 (_IO_iter_end): Likewise.
15625 (_IO_list_lock): Likewise.
15626 (_IO_list_unlock): Likewise.
15627 (_IO_list_resetlock): Likewise.
15628 * libio/getchar.c (getchar): Likewise.
15629 * libio/getchar_u.c (getchar_unlocked): Likewise.
15630 * libio/getwchar.c (getwchar): Likewise.
15631 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15632 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15633 * login/getpt.c (__getpt): Likewise.
15634 * login/tst-utmp.c (main): Likewise.
15635 * malloc/hooks.c (__malloc_check_init): Likewise.
15636 * malloc/malloc.c (__malloc_stats): Likewise.
15637 * malloc/mtrace.c (tr_break): Likewise.
15638 (mtrace): Likewise.
15639 (muntrace): Likewise.
15640 * misc/fstab.c (endfsent): Likewise.
15641 * misc/getclktck.c (__getclktck): Likewise.
15642 * misc/getdtsz.c (__getdtablesize): Likewise.
15643 * misc/gethostid.c (gethostid): Likewise.
15644 * misc/getpagesize.c (__getpagesize): Likewise.
15645 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15646 (__get_nprocs): Likewise.
15647 (__get_phys_pages): Likewise.
15648 (__get_avphys_pages): Likewise.
15649 * misc/getttyent.c (getttyent): Likewise.
15650 (setttyent): Likewise.
15651 (endttyent): Likewise.
15652 * misc/getusershell.c (getusershell): Likewise.
15653 (endusershell): Likewise.
15654 (setusershell): Likewise.
15655 (initshells): Likewise.
15656 * misc/hsearch.c (__hdestroy): Likewise.
15657 * misc/sync.c (sync): Likewise.
15658 * misc/syslog.c (closelog_internal): Likewise.
15659 (closelog): Likewise.
15660 * misc/ttyslot.c (ttyslot): Likewise.
15661 * misc/vhangup.c (vhangup): Likewise.
15662 * posix/fork.c (__fork): Likewise.
15663 * posix/getegid.c (__getegid): Likewise.
15664 * posix/geteuid.c (__geteuid): Likewise.
15665 * posix/getgid.c (__getgid): Likewise.
15666 * posix/getpid.c (__getpid): Likewise.
15667 * posix/getppid.c (__getppid): Likewise.
15668 * posix/getuid.c (__getuid): Likewise.
15669 * posix/pause.c (pause): Likewise.
15670 * posix/setpgrp.c (setpgrp): Likewise.
15671 * posix/setsid.c (__setsid): Likewise.
15672 * posix/test-vfork.c (noop): Likewise.
15673 * resolv/gethnamaddr.c (_endhtent): Likewise.
15674 (_gethtent): Likewise.
15675 (ht_endhostent): Likewise.
15676 (gethostent): Likewise.
15677 (dns_service): Likewise.
15678 * stdlib/drand48.c (drand48): Likewise.
15679 * stdlib/lrand48.c (lrand48): Likewise.
15680 * stdlib/mrand48.c (mrand48): Likewise.
15681 * stdlib/rand.c (rand): Likewise.
15682 * stdlib/random.c (__random): Likewise.
15683 * stdlib/setenv.c (clearenv): Likewise.
15684 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15685 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15686 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15687 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15688 (__get_nprocs): Likewise.
15689 (__get_phys_pages): Likewise.
15690 (__get_avphys_pages): Likewise.
15691 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15692 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15693 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15694 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15695 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15696 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15697 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15698 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15699 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15700 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15701 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15702 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15703 * sysdeps/posix/clock.c (clock): Likewise.
15704 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15705 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15706 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15707 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15708 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15709 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15710 (__get_nprocs_conf): Likewise.
15711 (__get_phys_pages): Likewise.
15712 (__get_avphys_pages): Likewise.
15713 * time/clock.c (clock): Likewise.
15714 * time/tzset.c (__tzname_max): Likewise.
15716 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15718 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15719 (__bswap_32): Do not use "register".
15720 * crypt/crypt.c (_ufc_doit_r): Likewise.
15721 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15722 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15723 * gmon/gmon.c (__monstartup): Likewise.
15724 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15725 * hurd/hurdmalloc.c (more_memory): Likewise.
15726 (malloc): Likewise.
15728 (realloc): Likewise.
15729 (malloc_fork_prepare): Likewise.
15730 (malloc_fork_parent): Likewise.
15731 (malloc_fork_child): Likewise.
15732 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15733 (_svcauth_des): Likewise.
15734 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15735 * inet/inet_net.c (inet_network): Likewise.
15736 * inet/inet_netof.c (inet_netof): Likewise.
15737 * inet/rcmd.c (__validuser2_sa): Likewise.
15738 * io/fts.c (fts_open): Likewise.
15739 (fts_load): Likewise.
15740 (fts_close): Likewise.
15741 (fts_read): Likewise.
15742 (fts_children): Likewise.
15743 (fts_build): Likewise.
15744 (fts_stat): Likewise.
15745 (fts_sort): Likewise.
15746 (fts_alloc): Likewise.
15747 (fts_lfree): Likewise.
15748 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15749 (_IO_file_xsgetn): Likewise.
15750 (_IO_file_xsgetn_mmap): Likewise.
15751 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15752 (_IO_cookie_write): Likewise.
15753 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15754 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15755 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15756 * malloc/obstack.c (_obstack_begin): Likewise.
15757 (_obstack_begin_1): Likewise.
15758 (_obstack_newchunk): Likewise.
15759 (_obstack_allocated_p): Likewise.
15760 (obstack_free): Likewise.
15761 (_obstack_memory_used): Likewise.
15762 * misc/getttyent.c (getttynam): Likewise.
15763 (getttyent): Likewise.
15766 * misc/getusershell.c (initshells): Likewise.
15767 * misc/syslog.c (__vsyslog_chk): Likewise.
15768 * misc/ttyslot.c (ttyslot): Likewise.
15769 * nis/nis_hash.c (__nis_hash): Likewise.
15770 * posix/fnmatch_loop.c (FCT): Likewise.
15771 * posix/getconf.c (print_all): Likewise.
15773 * posix/getopt.c (exchange): Likewise.
15774 * posix/glob.c (globfree): Likewise.
15775 (prefix_array): Likewise.
15776 (__glob_pattern_type): Likewise.
15777 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15778 (NS_GET32): Likewise.
15779 (NS_PUT16): Likewise.
15780 (NS_PUT32): Likewise.
15781 * resolv/gethnamaddr.c (getanswer): Likewise.
15782 (gethostbyname2): Likewise.
15783 (gethostbyaddr): Likewise.
15784 (_gethtent): Likewise.
15785 (_gethtbyname2): Likewise.
15786 (_gethtbyaddr): Likewise.
15787 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15788 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15789 * resolv/res_init.c (__res_vinit): Likewise.
15790 (net_mask): Likewise.
15791 * resolv/res_mkquery.c (outchar): Likewise.
15793 * stdio-common/printf_fp.c (outchar): Likewise.
15795 * stdio-common/printf_fphex.c (outchar): Likewise.
15797 * stdio-common/printf_size.c (outchar): Likewise.
15799 * stdio-common/test_rdwr.c (main): Likewise.
15800 * stdio-common/tfformat.c (matches): Likewise.
15801 * stdio-common/vfprintf.c (outchar): Likewise.
15802 (printf_unknown): Likewise.
15803 (buffered_vfprintf): Likewise.
15804 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15805 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15806 (ReadFile): Likewise.
15807 * stdlib/qsort.c (SWAP): Likewise.
15808 (_quicksort): Likewise.
15809 * stdlib/setenv.c (__add_to_environ): Likewise.
15810 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15811 * stdlib/strtol_l.c (__strtol_l): Likewise.
15812 * stdlib/tst-strtod.c (main): Likewise.
15813 * stdlib/tst-strtol.c (main): Likewise.
15814 * stdlib/tst-strtoll.c (main): Likewise.
15815 * string/bits/string2.h (__strcmp_cc): Likewise.
15816 (__strcmp_cg): Likewise.
15817 (__strcspn_c1): Likewise.
15818 (__strcspn_c2): Likewise.
15819 (__strcspn_c3): Likewise.
15820 (__strspn_c1): Likewise.
15821 (__strspn_c2): Likewise.
15822 (__strspn_c3): Likewise.
15823 (__strsep_1c): Likewise.
15824 (__strsep_2c): Likewise.
15825 (__strsep_3c): Likewise.
15826 * string/memccpy.c (__memccpy): Likewise.
15827 * string/stpcpy.c (__stpcpy): Likewise.
15828 * string/strcmp.c (strcmp): Likewise.
15829 * string/strrchr.c (strrchr): Likewise.
15830 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15832 * sysdeps/mach/hurd/getcwd.c
15833 (_hurd_canonicalize_directory_name_internal): Likewise.
15834 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15835 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15836 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15837 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15838 Likewise, in both definitions.
15839 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15841 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15842 64] (__bswap_64): Likewise.
15843 * time/test_time.c (main): Likewise.
15844 * time/tzfile.c (__tzfile_read): Likewise.
15845 (__tzfile_compute): Likewise.
15846 * time/tzset.c (__tzset_parse_tz): Likewise.
15847 (tzset_internal): Likewise.
15848 (compute_change): Likewise.
15849 * wcsmbs/wcscat.c (__wcscat): Likewise.
15850 * wcsmbs/wcschr.c (wcschr): Likewise.
15851 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15852 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15853 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15854 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15855 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15856 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15857 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15858 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15859 * wcsmbs/wmemset.c (wmemset): Likewise.
15861 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15863 * scripts/config.guess: Update to version 2013-05-16.
15864 * scripts/config.sub: Update to version 2013-04-24.
15865 * scripts/install-sh: Update to version 2011-11-20.07.
15866 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15867 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15869 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15871 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15872 * elf/sln.c: Likewise.
15873 * hurd/hurd/ioctl.h: Likewise.
15874 * hurd/hurdmalloc.c: Likewise.
15875 * hurd/xattr.c: Likewise.
15876 * include/shlib-compat.h: Likewise.
15877 * inet/ruserpass.c: Likewise.
15878 * libio/iofgets_u.c: Likewise.
15879 * libio/iofgetws_u.c: Likewise.
15880 * locale/programs/ld-identification.c: Likewise.
15881 * locale/programs/ld-time.c: Likewise.
15882 * mach/msg-destroy.c: Likewise.
15883 * nss/nss_files/files-netgrp.c: Likewise.
15884 * resolv/res_data.c: Likewise.
15885 * soft-fp/op-1.h: Likewise.
15886 * soft-fp/op-2.h: Likewise.
15887 * soft-fp/op-4.h: Likewise.
15888 * soft-fp/op-common.h: Likewise.
15889 * stdio-common/printf_fphex.c: Likewise.
15890 * stdlib/strtod_l.c: Likewise.
15891 * sunrpc/rpc/clnt.h: Likewise.
15892 * sysdeps/generic/framestate.c: Likewise.
15893 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15894 * sysdeps/i386/bsd-setjmp.S: Likewise.
15895 * sysdeps/i386/__longjmp.S: Likewise.
15896 * sysdeps/i386/setjmp.S: Likewise.
15897 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15898 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15899 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15900 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15901 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15902 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15903 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15904 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15905 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15906 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15907 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15908 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15909 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15910 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15911 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15912 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15913 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15914 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15915 * sysdeps/ieee754/support.c: Likewise.
15916 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15917 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15918 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15919 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15920 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15921 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15922 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15923 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15924 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15925 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15926 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15927 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15928 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15929 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15930 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15931 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15932 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15935 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15937 * posix/transbug.c: Remove executable mode.
15939 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15941 * crypt/speeds.c: Remove trailing whitespace.
15942 * dlfcn/default.c: Likewise.
15943 * elf/ifuncdep2.c: Likewise.
15944 * elf/ifuncmain1.c: Likewise.
15945 * elf/ifuncmain1vis.c: Likewise.
15946 * elf/testobj.h: Likewise.
15947 * elf/tst-stackguard1.c: Likewise.
15948 * gmon/sys/gmon.h: Likewise.
15949 * hurd/hurdmsg.c: Likewise.
15950 * hurd/new-fd.c: Likewise.
15951 * hurd/ports-get.c: Likewise.
15952 * iconvdata/ibm1008_420.c: Likewise.
15953 * inet/tst-getni1.c: Likewise.
15954 * inet/tst-getni2.c: Likewise.
15955 * libio/ioungetc.c: Likewise.
15956 * libio/wfiledoalloc.c: Likewise.
15957 * manual/libm-err-tab.pl: Likewise.
15958 * math/w_dremf.c: Likewise.
15959 * misc/ftruncate.c: Likewise.
15960 * posix/bug-glob2.c: Likewise.
15961 * posix/tst-pcre.c: Likewise.
15962 * posix/wait4.c: Likewise.
15963 * resolv/README: Likewise.
15964 * resolv/res_debug.h: Likewise.
15965 * resolv/tst-inet_ntop.c: Likewise.
15966 * setjmp/bug269-setjmp.c: Likewise.
15967 * soft-fp/extended.h: Likewise.
15968 * soft-fp/op-1.h: Likewise.
15969 * soft-fp/op-2.h: Likewise.
15970 * soft-fp/op-4.h: Likewise.
15971 * soft-fp/op-8.h: Likewise.
15972 * soft-fp/testit.c: Likewise.
15973 * stdio-common/bug16.c: Likewise.
15974 * stdlib/random.c: Likewise.
15975 * sunrpc/rpcsvc/rquota.x: Likewise.
15976 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15977 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15978 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15979 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15980 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15981 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15982 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15983 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15984 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15985 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15986 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15998 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16001 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16003 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16004 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16005 * sysdeps/ieee754/s_lib_version.c: Likewise.
16006 * sysdeps/mach/hurd/check_fds.c: Likewise.
16007 * sysdeps/mach/hurd/getsockname.c: Likewise.
16008 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16009 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16010 * sysdeps/powerpc/bits/link.h: Likewise.
16011 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16012 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16013 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16014 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16015 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16016 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16017 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16018 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16019 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16020 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16021 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16022 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16023 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16024 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16025 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16026 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16027 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16028 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16029 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16030 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16031 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16032 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16033 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16034 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16035 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16036 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16037 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16038 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16039 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16040 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16041 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16042 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16043 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16044 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16045 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16046 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16047 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16048 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16049 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16050 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16051 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16052 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16053 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16054 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16055 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16056 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16057 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16058 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16059 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16060 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16061 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16062 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16063 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16064 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16065 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16066 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16067 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16068 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16069 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16070 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16071 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16072 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16073 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16074 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16075 * sysdeps/powerpc/sysdep.h: Likewise.
16076 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16077 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16078 * sysdeps/sh/dl-trampoline.S: Likewise.
16079 * sysdeps/sh/memset.S: Likewise.
16080 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16081 * sysdeps/sh/strlen.S: Likewise.
16082 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16083 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16084 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16085 * sysdeps/sparc/sparc32/rem.S: Likewise.
16086 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16087 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16088 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16089 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16090 * sysdeps/sparc/sparc32/urem.S: Likewise.
16091 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16092 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16093 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16094 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16095 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16096 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16097 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16098 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16099 * sysdeps/unix/bsd/times.c: Likewise.
16100 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16101 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16105 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16106 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16107 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16108 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16109 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16110 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16111 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16112 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16113 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16114 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16115 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16116 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16117 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16118 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16119 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16120 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16121 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16122 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16123 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16124 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16125 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16126 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16127 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16128 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16129 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16130 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16131 * sysdeps/x86_64/strcspn.S: Likewise.
16133 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16135 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16136 generated file. Regenerate properly from gen-translit.pl.
16137 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16138 locale/C-translit.h.
16140 2013-06-05 Andreas Schwab <schwab@suse.de>
16143 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16144 week as 6 instead of -1.
16145 * time/tst-strptime.c (day_tests): Add test case.
16147 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16149 * sysdeps/generic/math_private.h
16150 (libc_feholdexcept_setround_53bit): Replace with
16151 libc_feholdsetround_53bit.
16152 (libc_feupdateenv_53bit): Replace with
16153 libc_feresetround_53bit.
16154 (SET_RESTORE_ROUND_53BIT): Adjust.
16156 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16158 * string/test-strchrnul.c: Add copyright header.
16160 * posix/tst-getaddrinfo4.c: Increase test timeout.
16162 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16165 * math/libm-test.inc (MAX_EXP): Remove
16167 (ulp): Use MIN_EXP - MANT_DIG.
16168 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16170 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16172 * po/be.po: Revert last change.
16173 * po/zh_CN.po: Likewise.
16174 * po/header.pot: Likewise.
16176 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16178 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16179 link-libc-deps to empty as target-specific variable.
16180 * Makerules (link-libc-args): New variable.
16181 (libc-for-link): Likewise.
16182 (link-libc-deps): Likewise.
16183 (lib%.so): Depend on $(link-libc-deps). Link with
16185 (build-module): Link with $(link-libc-args).
16186 (build-module-asneeded): Likewise.
16187 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16189 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16190 target-specific variable.
16191 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16192 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16193 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16195 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16197 ($(objpfx)libpcprofile.so): Likewise.
16198 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16200 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16201 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16202 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16204 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16205 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16206 * login/Makefile ($(objpfx)libutil.so): Likewise.
16207 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16208 * math/Makefile ($(objpfx)libm.so): Likewise.
16209 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16210 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16211 variable instead of depending directly on libc.
16212 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16213 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16215 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16217 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16218 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16219 ($(objpfx)libanl.so): Likewise.
16220 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16222 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16224 * sysdeps/i386/fpu/Makefile: Remove file.
16225 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16226 ($(objpfx)libm.so): Remove dependency on ld.so.
16228 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16231 * nis/yp_xdr.c (XDRMAXNAME): Define.
16232 (XDRMAXRECORD): Define.
16233 (xdr_domainname): Use XDRMAXNAME.
16234 (xdr_mapname): Likewise.
16235 (xdr_peername): Likewise.
16236 (xdr_keydat): Use XDRMAXRECORD.
16237 (xdr_valdat): Likewise.
16239 2013-05-30 Jeff Law <law@redhat.com>
16242 * manual/errno.texi (ESTALE): Update to account for more than
16243 just NFS file systems.
16244 * sysdeps/gnu/errlist.c: Regenerated.
16246 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16249 * elf/Makefile (tests): Add tst-null-argv.
16250 (modules-names): Add tst-null-argv-lib.
16251 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16252 (tst-null-argv-ENV): Set environment for tst-null-argv.
16253 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16254 (RTLD_PROGNAME): New macro.
16255 * elf/tst-null-argv.c: New test case.
16256 * elf/tst-null-argv-lib.c: Library for test case.
16257 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16258 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16259 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16260 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16261 * elf/dl-init.c (call_init): Likewise.
16262 (_dl_init): Likewise.
16263 * elf/dl-load.c (print_search_path): Likewise.
16264 (_dl_map_object): Likewise.
16265 * elf/dl-lookup.c (do_lookup_x): Likewise.
16266 (add_dependency): Likewise.
16267 (_dl_lookup_symbol_x): Likewise.
16268 (_dl_debug_bindings): Likewise.
16269 * elf/dl-open.c (_dl_show_scope): Likewise.
16270 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16271 * elf/dl-version.c (match_symbol): Likewise.
16272 (_dl_check_map_versions): Likewise.
16273 * elf/rtld.c (dl_main): Likewise.
16274 (print_unresolved): Use RTLD_PROGNAME.
16275 (print_missing_version): Likewise.
16276 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16277 (elf_machine_rela): Likewise.
16278 * sysdeps/powerpc/powerpc32/dl-machine.c
16279 (__process_machine_rela): Likewise.
16280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16282 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16284 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16286 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16287 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16289 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16291 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16293 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16295 * po/be.po: Add descriptive title.
16296 * po/zh_CN.po: Likewise.
16297 * po/header.pot: Likewise.
16299 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16301 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16303 (enlarge_archive): Likewise.
16305 2013-05-28 Ben North <ben@redfrontdoor.org>
16307 * manual/arith.texi (frexp): It is the magnitude of the return
16308 value which lies in [0.5, 1), not the return value itself.
16310 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16314 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16316 * stdio-common/bug26.c (main): Correct fscanf template.
16318 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16319 declare _dl_skip_args.
16321 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16324 * manual/platform.texi: Add missing @end deftypefun.
16326 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16329 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16330 bit of mantissa of 2^16382.
16331 * math/libm-test.inc (hypot_test_data): Add more tests.
16333 * math/libm-test.inc: Add drem and pow10 to list of tested
16335 (pow10_test): New function.
16336 (drem_test): Likewise.
16337 (drem_test_tonearest): Likewise.
16338 (drem_test_towardzero): Likewise.
16339 (drem_test_downward): Likewise.
16340 (drem_test_upward): Likewise.
16341 (main): Call the new functions.
16343 * math/libm-test.inc (finite_test_data): Remove.
16344 (finite_test): Run tests from isfinite_test_data.
16345 (gamma_test_data): Remove.
16346 (gamma_test): Run tests from lgamma_test_data.
16347 * sysdeps/i386/fpu/libm-test-ulps: Update.
16348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16350 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16352 * manual/platform.texi: Add PowerPC PPR function set documentation.
16353 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16356 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16358 * math/libm-test.inc (MAX_EXP): Define.
16360 (ulp): New function.
16361 (check_float_internal): Use ULPDIFF.
16362 (cpow_test): Disable failing test.
16363 (check_ulp): Test ulp() implemetnation.
16364 (main): Call check_ulp before starting tests.
16366 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16368 * math/gen-libm-test.pl (generate_testfile): Do not handle
16369 START_DATA and END_DATA.
16370 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16372 (acos_tonearest_test_data): Likewise.
16373 (acos_towardzero_test_data): Likewise.
16374 (acos_downward_test_data): Likewise.
16375 (acos_upward_test_data): Likewise.
16376 (acosh_test_data): Likewise.
16377 (asin_test_data): Likewise.
16378 (asin_tonearest_test_data): Likewise.
16379 (asin_towardzero_test_data): Likewise.
16380 (asin_downward_test_data): Likewise.
16381 (asin_upward_test_data): Likewise.
16382 (asinh_test_data): Likewise.
16383 (atan_test_data): Likewise.
16384 (atanh_test_data): Likewise.
16385 (atan2_test_data): Likewise.
16386 (cabs_test_data): Likewise.
16387 (cacos_test_data): Likewise.
16388 (cacosh_test_data): Likewise.
16389 (carg_test_data): Likewise.
16390 (casin_test_data): Likewise.
16391 (casinh_test_data): Likewise.
16392 (catan_test_data): Likewise.
16393 (catanh_test_data): Likewise.
16394 (cbrt_test_data): Likewise.
16395 (ccos_test_data): Likewise.
16396 (ccosh_test_data): Likewise.
16397 (ceil_test_data): Likewise.
16398 (cexp_test_data): Likewise.
16399 (cimag_test_data): Likewise.
16400 (clog_test_data): Likewise.
16401 (clog10_test_data): Likewise.
16402 (conj_test_data): Likewise.
16403 (copysign_test_data): Likewise.
16404 (cos_test_data): Likewise.
16405 (cos_tonearest_test_data): Likewise.
16406 (cos_towardzero_test_data): Likewise.
16407 (cos_downward_test_data): Likewise.
16408 (cos_upward_test_data): Likewise.
16409 (cosh_test_data): Likewise.
16410 (cosh_tonearest_test_data): Likewise.
16411 (cosh_towardzero_test_data): Likewise.
16412 (cosh_downward_test_data): Likewise.
16413 (cosh_upward_test_data): Likewise.
16414 (cpow_test_data): Likewise.
16415 (cproj_test_data): Likewise.
16416 (creal_test_data): Likewise.
16417 (csin_test_data): Likewise.
16418 (csinh_test_data): Likewise.
16419 (csqrt_test_data): Likewise.
16420 (ctan_test_data): Likewise.
16421 (ctan_tonearest_test_data): Likewise.
16422 (ctan_towardzero_test_data): Likewise.
16423 (ctan_downward_test_data): Likewise.
16424 (ctan_upward_test_data): Likewise.
16425 (ctanh_test_data): Likewise.
16426 (ctanh_tonearest_test_data): Likewise.
16427 (ctanh_towardzero_test_data): Likewise.
16428 (ctanh_downward_test_data): Likewise.
16429 (ctanh_upward_test_data): Likewise.
16430 (erf_test_data): Likewise.
16431 (erfc_test_data): Likewise.
16432 (exp_test_data): Likewise.
16433 (exp_tonearest_test_data): Likewise.
16434 (exp_towardzero_test_data): Likewise.
16435 (exp_downward_test_data): Likewise.
16436 (exp_upward_test_data): Likewise.
16437 (exp10_test_data): Likewise.
16438 (exp2_test_data): Likewise.
16439 (expm1_test_data): Likewise.
16440 (fabs_test_data): Likewise.
16441 (fdim_test_data): Likewise.
16442 (finite_test_data): Likewise.
16443 (floor_test_data): Likewise.
16444 (fma_test_data): Likewise.
16445 (fma_towardzero_test_data): Likewise.
16446 (fma_downward_test_data): Likewise.
16447 (fma_upward_test_data): Likewise.
16448 (fmax_test_data): Likewise.
16449 (fmin_test_data): Likewise.
16450 (fmod_test_data): Likewise.
16451 (fpclassify_test_data): Likewise.
16452 (frexp_test_data): Likewise.
16453 (gamma_test_data): Likewise.
16454 (hypot_test_data): Likewise.
16455 (ilogb_test_data): Likewise.
16456 (isfinite_test_data): Likewise.
16457 (isgreater_test_data): Likewise.
16458 (isgreaterequal_test_data): Likewise.
16459 (isinf_test_data): Likewise.
16460 (isless_test_data): Likewise.
16461 (islessequal_test_data): Likewise.
16462 (islessgreater_test_data): Likewise.
16463 (isnan_test_data): Likewise.
16464 (isnormal_test_data): Likewise.
16465 (issignaling_test_data): Likewise.
16466 (isunordered_test_data): Likewise.
16467 (j0_test_data): Likewise.
16468 (j1_test_data): Likewise.
16469 (jn_test_data): Likewise.
16470 (ldexp_test_data): Likewise.
16471 (lgamma_test_data): Likewise.
16472 (lrint_test_data): Likewise.
16473 (lrint_tonearest_test_data): Likewise.
16474 (lrint_towardzero_test_data): Likewise.
16475 (lrint_downward_test_data): Likewise.
16476 (lrint_upward_test_data): Likewise.
16477 (llrint_test_data): Likewise.
16478 (llrint_tonearest_test_data): Likewise.
16479 (llrint_towardzero_test_data): Likewise.
16480 (llrint_downward_test_data): Likewise.
16481 (llrint_upward_test_data): Likewise.
16482 (log_test_data): Likewise.
16483 (log10_test_data): Likewise.
16484 (log1p_test_data): Likewise.
16485 (log2_test_data): Likewise.
16486 (logb_test_data): Likewise.
16487 (logb_downward_test_data): Likewise.
16488 (lround_test_data): Likewise.
16489 (llround_test_data): Likewise.
16490 (modf_test_data): Likewise.
16491 (nearbyint_test_data): Likewise.
16492 (nextafter_test_data): Likewise.
16493 (nexttoward_test_data): Likewise.
16494 (pow_test_data): Likewise.
16495 (pow_tonearest_test_data): Likewise.
16496 (pow_towardzero_test_data): Likewise.
16497 (pow_downward_test_data): Likewise.
16498 (pow_upward_test_data): Likewise.
16499 (remainder_test_data): Likewise.
16500 (remainder_tonearest_test_data): Likewise.
16501 (remainder_towardzero_test_data): Likewise.
16502 (remainder_downward_test_data): Likewise.
16503 (remainder_upward_test_data): Likewise.
16504 (remquo_test_data): Likewise.
16505 (rint_test_data): Likewise.
16506 (rint_tonearest_test_data): Likewise.
16507 (rint_towardzero_test_data): Likewise.
16508 (rint_downward_test_data): Likewise.
16509 (rint_upward_test_data): Likewise.
16510 (round_test_data): Likewise.
16511 (scalb_test_data): Likewise.
16512 (scalbn_test_data): Likewise.
16513 (scalbln_test_data): Likewise.
16514 (signbit_test_data): Likewise.
16515 (sin_test_data): Likewise.
16516 (sin_tonearest_test_data): Likewise.
16517 (sin_towardzero_test_data): Likewise.
16518 (sin_downward_test_data): Likewise.
16519 (sin_upward_test_data): Likewise.
16520 (sincos_test_data): Likewise.
16521 (sinh_test_data): Likewise.
16522 (sinh_tonearest_test_data): Likewise.
16523 (sinh_towardzero_test_data): Likewise.
16524 (sinh_downward_test_data): Likewise.
16525 (sinh_upward_test_data): Likewise.
16526 (sqrt_test_data): Likewise.
16527 (tan_test_data): Likewise.
16528 (tan_tonearest_test_data): Likewise.
16529 (tan_towardzero_test_data): Likewise.
16530 (tan_downward_test_data): Likewise.
16531 (tan_upward_test_data): Likewise.
16532 (tanh_test_data): Likewise.
16533 (tgamma_test_data): Likewise.
16534 (trunc_test_data): Likewise.
16535 (y0_test_data): Likewise.
16536 (y1_test_data): Likewise.
16537 (yn_test_data): Likewise.
16538 (significand_test_data): Likewise.
16540 * math/gen-libm-test.pl (@functions): Remove variable.
16541 (generate_testfile): Don't handle START and END lines.
16542 * math/libm-test.inc (START): New macro.
16544 (END_COMPLEX): Likewise.
16545 (acos_test): Use END macro without arguments.
16546 (acos_test_tonearest): Likewise.
16547 (acos_test_towardzero): Likewise.
16548 (acos_test_downward): Likewise.
16549 (acos_test_upward): Likewise.
16550 (acosh_test): Likewise.
16551 (asin_test): Likewise.
16552 (asin_test_tonearest): Likewise.
16553 (asin_test_towardzero): Likewise.
16554 (asin_test_downward): Likewise.
16555 (asin_test_upward): Likewise.
16556 (asinh_test): Likewise.
16557 (atan_test): Likewise.
16558 (atanh_test): Likewise.
16559 (atan2_test): Likewise.
16560 (cabs_test): Likewise.
16561 (cacos_test): Use END_COMPLEX macro without arguments.
16562 (cacosh_test): Likewise.
16563 (carg_test): Use END macro without arguments.
16564 (casin_test): Use END_COMPLEX macro without arguments.
16565 (casinh_test): Likewise.
16566 (catan_test): Likewise.
16567 (catanh_test): Likewise.
16568 (cbrt_test): Use END macro without arguments.
16569 (ccos_test): Use END_COMPLEX macro without arguments.
16570 (ccosh_test): Likewise.
16571 (ceil_test): Use END macro without arguments.
16572 (cexp_test): Use END_COMPLEX macro without arguments.
16573 (cimag_test): Use END macro without arguments.
16574 (clog_test): Use END_COMPLEX macro without arguments.
16575 (clog10_test): Likewise.
16576 (conj_test): Likewise.
16577 (copysign_test): Use END macro without arguments.
16578 (cos_test): Likewise.
16579 (cos_test_tonearest): Likewise.
16580 (cos_test_towardzero): Likewise.
16581 (cos_test_downward): Likewise.
16582 (cos_test_upward): Likewise.
16583 (cosh_test): Likewise.
16584 (cosh_test_tonearest): Likewise.
16585 (cosh_test_towardzero): Likewise.
16586 (cosh_test_downward): Likewise.
16587 (cosh_test_upward): Likewise.
16588 (cpow_test): Use END_COMPLEX macro without arguments.
16589 (cproj_test): Likewise.
16590 (creal_test): Use END macro without arguments.
16591 (csin_test): Use END_COMPLEX macro without arguments.
16592 (csinh_test): Likewise.
16593 (csqrt_test): Likewise.
16594 (ctan_test): Likewise.
16595 (ctan_test_tonearest): Likewise.
16596 (ctan_test_towardzero): Likewise.
16597 (ctan_test_downward): Likewise.
16598 (ctan_test_upward): Likewise.
16599 (ctanh_test): Likewise.
16600 (ctanh_test_tonearest): Likewise.
16601 (ctanh_test_towardzero): Likewise.
16602 (ctanh_test_downward): Likewise.
16603 (ctanh_test_upward): Likewise.
16604 (erf_test): Use END macro without arguments.
16605 (erfc_test): Likewise.
16606 (exp_test): Likewise.
16607 (exp_test_tonearest): Likewise.
16608 (exp_test_towardzero): Likewise.
16609 (exp_test_downward): Likewise.
16610 (exp_test_upward): Likewise.
16611 (exp10_test): Likewise.
16612 (exp2_test): Likewise.
16613 (expm1_test): Likewise.
16614 (fabs_test): Likewise.
16615 (fdim_test): Likewise.
16616 (finite_test): Likewise.
16617 (floor_test): Likewise.
16618 (fma_test): Likewise.
16619 (fma_test_towardzero): Likewise.
16620 (fma_test_downward): Likewise.
16621 (fma_test_upward): Likewise.
16622 (fmax_test): Likewise.
16623 (fmin_test): Likewise.
16624 (fmod_test): Likewise.
16625 (fpclassify_test): Likewise.
16626 (frexp_test): Likewise.
16627 (gamma_test): Likewise.
16628 (hypot_test): Likewise.
16629 (ilogb_test): Likewise.
16630 (isfinite_test): Likewise.
16631 (isgreater_test): Likewise.
16632 (isgreaterequal_test): Likewise.
16633 (isinf_test): Likewise.
16634 (isless_test): Likewise.
16635 (islessequal_test): Likewise.
16636 (islessgreater_test): Likewise.
16637 (isnan_test): Likewise.
16638 (isnormal_test): Likewise.
16639 (issignaling_test): Likewise.
16640 (isunordered_test): Likewise.
16641 (j0_test): Likewise.
16642 (j1_test): Likewise.
16643 (jn_test): Likewise.
16644 (ldexp_test): Likewise.
16645 (lgamma_test): Likewise.
16646 (lrint_test): Likewise.
16647 (lrint_test_tonearest): Likewise.
16648 (lrint_test_towardzero): Likewise.
16649 (lrint_test_downward): Likewise.
16650 (lrint_test_upward): Likewise.
16651 (llrint_test): Likewise.
16652 (llrint_test_tonearest): Likewise.
16653 (llrint_test_towardzero): Likewise.
16654 (llrint_test_downward): Likewise.
16655 (llrint_test_upward): Likewise.
16656 (log_test): Likewise.
16657 (log10_test): Likewise.
16658 (log1p_test): Likewise.
16659 (log2_test): Likewise.
16660 (logb_test): Likewise.
16661 (logb_test_downward): Likewise.
16662 (lround_test): Likewise.
16663 (llround_test): Likewise.
16664 (modf_test): Likewise.
16665 (nearbyint_test): Likewise.
16666 (nextafter_test): Likewise.
16667 (nexttoward_test): Likewise.
16668 (pow_test): Likewise.
16669 (pow_test_tonearest): Likewise.
16670 (pow_test_towardzero): Likewise.
16671 (pow_test_downward): Likewise.
16672 (pow_test_upward): Likewise.
16673 (remainder_test): Likewise.
16674 (remainder_test_tonearest): Likewise.
16675 (remainder_test_towardzero): Likewise.
16676 (remainder_test_downward): Likewise.
16677 (remainder_test_upward): Likewise.
16678 (remquo_test): Likewise.
16679 (rint_test): Likewise.
16680 (rint_test_tonearest): Likewise.
16681 (rint_test_towardzero): Likewise.
16682 (rint_test_downward): Likewise.
16683 (rint_test_upward): Likewise.
16684 (round_test): Likewise.
16685 (scalb_test): Likewise.
16686 (scalbn_test): Likewise.
16687 (scalbln_test): Likewise.
16688 (signbit_test): Likewise.
16689 (sin_test): Likewise.
16690 (sin_test_tonearest): Likewise.
16691 (sin_test_towardzero): Likewise.
16692 (sin_test_downward): Likewise.
16693 (sin_test_upward): Likewise.
16694 (sincos_test): Likewise.
16695 (sinh_test): Likewise.
16696 (sinh_test_tonearest): Likewise.
16697 (sinh_test_towardzero): Likewise.
16698 (sinh_test_downward): Likewise.
16699 (sinh_test_upward): Likewise.
16700 (sqrt_test): Likewise.
16701 (tan_test): Likewise.
16702 (tan_test_tonearest): Likewise.
16703 (tan_test_towardzero): Likewise.
16704 (tan_test_downward): Likewise.
16705 (tan_test_upward): Likewise.
16706 (tanh_test): Likewise.
16707 (tgamma_test): Likewise.
16708 (trunc_test): Likewise.
16709 (y0_test): Likewise.
16710 (y1_test): Likewise.
16711 (yn_test): Likewise.
16712 (significand_test): Likewise.
16714 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16717 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16719 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16722 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16723 __ppc_mdoio and __ppc_mdoom.
16724 * manual/platform.texi: Document new functions __ppc_yield,
16725 __ppc_mdoio and __ppc_mdoom.
16727 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16729 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16730 (main): Mention "tls" pseudo-hwcap is legacy.
16731 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16733 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16735 * math/gen-libm-test.pl (parse_args): Output only string of
16736 arguments as text for test name, not full call or descriptions of
16737 tests for extra outputs.
16738 (generate_testfile): Do not pass function name to parse_args.
16739 Generate this_func variable from START.
16740 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16742 (struct test_ff_f_data): Likewise.
16743 (test_ff_f_data_nexttoward): Likewise.
16744 (struct test_fi_f_data): Likewise.
16745 (struct test_fl_f_data): Likewise.
16746 (struct test_if_f_data): Likewise.
16747 (struct test_fff_f_data): Likewise.
16748 (struct test_c_f_data): Likewise.
16749 (struct test_f_f1_data): Likewise. Remove field extra_name.
16750 (struct test_fF_f1_data): Likewise.
16751 (struct test_ffI_f1_data): Likewise.
16752 (struct test_c_c_data): Rename test_name field to arg_str.
16753 (struct test_cc_c_data): Likewise.
16754 (struct test_f_i_data): Likewise.
16755 (struct test_ff_i_data): Likewise.
16756 (struct test_f_l_data): Likewise.
16757 (struct test_f_L_data): Likewise.
16758 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16760 (COMMON_TEST_SETUP): New macro.
16761 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16762 (COMMON_TEST_CLEANUP): Likewise.
16763 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16764 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16766 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16767 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16769 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16770 (RUN_TEST_fff_f): Take argument string. Call new setup and
16772 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16773 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16775 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16776 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16778 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16779 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16781 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16782 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16784 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16785 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16787 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16788 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16790 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16791 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16793 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16794 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16796 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16797 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16799 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16800 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16802 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16803 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16805 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16806 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16808 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16809 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16811 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16812 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16814 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16815 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16817 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16819 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16821 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16822 to _sifields.sigfault.
16823 (si_addr_lsb): Define new macro.
16824 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16825 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16826 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16828 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16831 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16833 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16835 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16836 loading the domain.
16838 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16840 * math/gen-libm-test.pl (parse_args): Do not include expected
16841 result in test name.
16842 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16843 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16844 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16845 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16846 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16849 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16851 * benchtests/Makefile: Sort function entries.
16853 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16854 tanh, asinh, acosh, atanh.
16855 * benchtests/acos-inputs: New file.
16856 * benchtests/acosh-inputs: New file.
16857 * benchtests/asin-inputs: New file.
16858 * benchtests/asinh-inputs: New file.
16859 * benchtests/atanh-inputs: New file.
16860 * benchtests/cosh-inputs: New file.
16861 * benchtests/log-inputs: New file.
16862 * benchtests/sinh-inputs: New file.
16863 * benchtests/tanh-inputs: New file.
16865 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16868 * posix/tst-getaddrinfo4.c: New test.
16869 * posix/Makefile (tests): Add it.
16871 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16874 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16875 when no services were used.
16876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16877 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16879 2013-05-21 Andreas Schwab <schwab@suse.de>
16882 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16883 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16885 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16886 redundant variable declarations and reallocation of buffer when
16887 parsing as IPv6 address. Always set NSS status when called from
16888 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16889 buffer too small. Correct computation of needed size.
16890 * nss/Makefile (tests): Add test-digits-dots.
16891 * nss/test-digits-dots.c: New test.
16893 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16895 * benchtests/Makefile: Remove instructions for adding
16897 * benchtests/README: New file to explain how to execute and
16898 enhance the benchmark tests.
16900 2013-05-21 Andreas Schwab <schwab@suse.de>
16903 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16904 * setjmp/tst-sigsetjmp.c: New test.
16906 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16908 * sysdeps/x86_64/memset.S (memset): New implementation.
16909 (__bzero): Likewise.
16910 (__memset_tail): New function.
16912 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16914 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16915 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16916 __memcpy_sse2_unaligned ifunc selection.
16917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16918 Add memcpy-sse2-unaligned.S.
16919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16920 Add: __memcpy_sse2_unaligned.
16922 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16925 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16926 math_force_eval before restoring floating-point envrionment.
16927 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16928 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16930 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16932 (__nearbyintl): Use math_force_eval before restoring
16933 floating-point environment.
16934 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16936 * math/gen-libm-test.pl (special_functions): Remove.
16937 (parse_args): Don't handle TEST_extra. Handle functions with no
16939 * math/libm-test.inc (struct test_sincos_data): Replace with
16940 struct test_fFF_11_data.
16941 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16942 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16943 (sincos_test_data): Change element type to struct
16944 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16945 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16946 RUN_TEST_LOOP_sincos.
16947 * math/README.libm-test: Don't mention special handling of
16948 individual functions.
16949 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16950 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16951 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16952 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16953 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16956 * math/gen-libm-test.pl (get_variable): Remove function.
16957 (parse_args): Don't show pointer parameters to call in test
16958 names. Use "extra output N" in test names for extra outputs
16959 rather than naming variables.
16961 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16964 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16965 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16966 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16968 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16970 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16973 * math/gen-libm-test.pl (@tests): Remove variable.
16974 ($count): Likewise.
16975 (new_test): Remove function.
16976 (show_exceptions): New function.
16977 (special_functions): Use show_exceptions instead of new_test.
16978 (parse_args): Likewise.
16979 (generate_testfile): Pass only function name in generated call to
16980 print_max_error or print_complex_max_error.
16981 (get_ulps): Do not handle complex tests specially.
16982 (output_test): Rename to ...
16983 (get_all_ulps_for_test): ... this. Return a string rather than
16984 printing to a file. Require ulps to be present.
16985 (output_ulps): Generate arrays rather than #defines.
16986 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16987 (struct ulp_data): New type.
16988 (BUILD_COMPLEX_ULP): Remove macro.
16989 (compare_ulp_data): New function.
16990 (find_ulps): Likewise.
16991 (find_test_ulps): Likewise.
16992 (find_function_ulps): Likewise.
16993 (find_complex_function_ulps): Likewise.
16994 (print_max_error): Determine allowed ulps using
16995 find_function_ulps.
16996 (print_complex_max_error): Determine allowed ulps using
16997 find_complex_function_ulps.
16998 (check_float_internal): Determine max ulps using find_test_ulps.
16999 (check_float): Do not take max_ulp parameter. Update call to
17000 check_float_internal.
17001 (check_complex): Likewise.
17002 (check_int): Do not take max_ulp parameter.
17003 (check_long): Likewise.
17004 (check_bool): Likewise.
17005 (check_longlong): Likewise.
17006 (struct test_f_f_data): Remove max_ulp field.
17007 (struct test_ff_f_data): Likewise.
17008 (struct test_ff_f_data_nexttoward): Likewise.
17009 (struct test_fi_f_data): Likewise.
17010 (struct test_fl_f_data): Likewise.
17011 (struct test_if_f_data): Likewise.
17012 (struct test_fff_f_data): Likewise.
17013 (struct test_c_f_data): Likewise.
17014 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17015 (struct test_fF_f1_data): Likewise.
17016 (struct test_ffI_f1_data): Likewise.
17017 (struct test_c_c_data): Remove max_ulp field.
17018 (struct test_cc_c_data): Likewise.
17019 (struct test_f_i_data): Likewise.
17020 (struct test_ff_i_data): Likewise.
17021 (struct test_f_l_data): Likewise.
17022 (struct test_f_L_data): Likewise.
17023 (struct test_sincos_data): Likewise.
17024 (RUN_TEST_f_f): Do not handle ulps.
17025 (RUN_TEST_LOOP_f_f): Likewise.
17026 (RUN_TEST_2_f): Likewise.
17027 (RUN_TEST_LOOP_2_f): Likewise.
17028 (RUN_TEST_fff_f): Likewise.
17029 (RUN_TEST_LOOP_fff_f): Likewise.
17030 (RUN_TEST_c_f): Likewise.
17031 (RUN_TEST_LOOP_c_f): Likewise.
17032 (RUN_TEST_f_f1): Likewise.
17033 (RUN_TEST_LOOP_f_f1): Likewise.
17034 (RUN_TEST_fF_f1): Likewise.
17035 (RUN_TEST_LOOP_fF_f1): Likewise.
17036 (RUN_TEST_fI_f1): Likewise.
17037 (RUN_TEST_LOOP_fI_f1): Likewise.
17038 (RUN_TEST_ffI_f1): Likewise.
17039 (RUN_TEST_LOOP_ffI_f1): Likewise.
17040 (RUN_TEST_c_c): Likewise.
17041 (RUN_TEST_LOOP_c_c): Likewise.
17042 (RUN_TEST_cc_c): Likewise.
17043 (RUN_TEST_LOOP_cc_c): Likewise.
17044 (RUN_TEST_f_i): Likewise.
17045 (RUN_TEST_LOOP_f_i): Likewise.
17046 (RUN_TEST_f_i_tg): Likewise.
17047 (RUN_TEST_LOOP_f_i_tg): Likewise.
17048 (RUN_TEST_ff_i_tg): Likewise.
17049 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17050 (RUN_TEST_f_b): Likewise.
17051 (RUN_TEST_LOOP_f_b): Likewise.
17052 (RUN_TEST_f_b_tg): Likewise.
17053 (RUN_TEST_LOOP_f_b_tg): Likewise.
17054 (RUN_TEST_f_l): Likewise.
17055 (RUN_TEST_LOOP_f_l): Likewise.
17056 (RUN_TEST_f_L): Likewise.
17057 (RUN_TEST_LOOP_f_L): Likewise.
17058 (RUN_TEST_sincos): Likewise.
17059 (RUN_TEST_LOOP_sincos): Likewise.
17061 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17065 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17066 main case of finite arguments, set rounding mode to FE_TONEAREST
17067 and discard exceptions.
17068 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17070 (remainder_tonearest_test_data): New variable.
17071 (remainder_test_tonearest): New function.
17072 (remainder_towardzero_test_data): New variable.
17073 (remainder_test_towardzero): New function.
17074 (remainder_downward_test_data): New variable.
17075 (remainder_test_downward): New function.
17076 (remainder_upward_test_data): New variable.
17077 (remainder_test_upward): New function.
17078 (main): Call the new test functions.
17080 * math/libm-test.inc (struct test_f_f1_data): Remove field
17082 (struct test_fF_f1_data): Likewise.
17083 (struct test_ffI_f1_data): Likewise.
17084 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17085 based on value of EXTRA_EXPECTED.
17086 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17087 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17088 EXTRA_VAR based on value of EXTRA_EXPECTED.
17089 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17090 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17091 EXTRA_VAR based on value of EXTRA_EXPECTED.
17092 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17093 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17094 EXTRA_VAR based on value of EXTRA_EXPECTED.
17095 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17096 * math/gen-libm-test.pl (parse_args): Don't output initializers
17097 for extra output values.
17099 * math/libm-test.inc (check_int): Expect result to be exactly
17100 equal to expected value and do not handle ulps.
17101 (check_long): Likewise.
17102 (check_longlong): Likewise.
17104 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17106 (cimag_test_data): Likewise.
17107 (conj_test_data): Likewise.
17108 (copysign_test_data): Likewise.
17109 (cproj_test_data): Likewise.
17110 (creal_test_data): Likewise.
17111 (fabs_test_data): Likewise.
17112 (fdim_test_data): Likewise.
17113 (finite_test_data): Likewise.
17114 (floor_test_data): Likewise.
17115 (fmax_test_data): Likewise.
17116 (fmin_test_data): Likewise.
17117 (fmod_test_data): Likewise.
17118 (fpclassify_test_data): Likewise.
17119 (frexp_test_data): Likewise.
17120 (ilogb_test_data): Likewise.
17121 (isfinite_test_data): Likewise.
17122 (isgreater_test_data): Likewise.
17123 (isgreaterequal_test_data): Likewise.
17124 (isinf_test_data): Likewise.
17125 (isless_test_data): Likewise.
17126 (islessequal_test_data): Likewise.
17127 (islessgreater_test_data): Likewise.
17128 (isnan_test_data): Likewise.
17129 (isnormal_test_data): Likewise.
17130 (issignaling_test_data): Likewise.
17131 (isunordered_test_data): Likewise.
17132 (ldexp_test_data): Likewise.
17133 (lrint_test_data): Likewise.
17134 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17135 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17136 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17137 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17138 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17139 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17141 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17142 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17143 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17144 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17146 (lrint_downward_test_data): Test for "inexact" exceptions.
17147 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17148 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17149 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17151 (lrint_upward_test_data): Test for "inexact" exceptions.
17152 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17154 (llrint_test_data): Test for "inexact" exceptions.
17155 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17156 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17157 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17158 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17159 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17160 (llrint_downward_test_data): Test for "inexact" exceptions.
17161 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17162 (llrint_upward_test_data): Test for "inexact" exceptions.
17163 (logb_test_data): Likewise.
17164 (logb_downward_test_data): Likewise.
17165 (nextafter_test_data): Likewise.
17166 (nexttoward_test_data): Likewise.
17167 (remainder_test_data): Likewise.
17168 (remquo_test_data): Likewise.
17169 (scalbn_test_data): Likewise.
17170 (scalbln_test_data): Likewise.
17171 (signbit_test_data): Likewise.
17172 (sqrt_test_data): Likewise.
17173 (significand_test_data): Likewise.
17175 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17178 * benchtests/bench-modf.c (struct args): Mark arg0 as
17180 * scripts/bench.pl: Mark members of struct args as volatile.
17182 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17185 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17186 negative infinity on POWER6 or lower.
17187 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17189 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17192 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17193 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17194 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17195 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17196 (_FP_SETQNAN): New macro.
17197 (_FP_SETQNAN_SEMIRAW): Likewise.
17198 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17199 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17200 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17201 (FP_EXTEND): Use _FP_FRAC_SNANP.
17202 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17203 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17205 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17207 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17210 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17212 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17213 with DIVIDE_BY_ZERO_EXCEPTION.
17214 (gamma_test_data): Likewise.
17215 (lgamma_test_data): Likewise.
17216 (log_test_data): Likewise.
17217 (log10_test_data): Likewise.
17218 (log2_test_data): Likewise.
17219 (tgamma_test_data): Likewise.
17221 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17222 (acos_test_tonearest): Likewise.
17223 (acos_test_towardzero): Likewise.
17224 (acos_test_downward): Likewise.
17225 (acos_test_upward): Likewise.
17226 (acosh_test): Likewise.
17227 (asin_test): Likewise.
17228 (asin_test_tonearest): Likewise.
17229 (asin_test_towardzero): Likewise.
17230 (asin_test_downward): Likewise.
17231 (asin_test_upward): Likewise.
17232 (asinh_test): Likewise.
17233 (atan_test): Likewise.
17234 (atanh_test): Likewise.
17235 (atan2_test): Likewise.
17236 (cabs_test): Likewise.
17237 (cacos_test): Likewise.
17238 (cacosh_test): Likewise.
17239 (casin_test): Likewise.
17240 (casinh_test): Likewise.
17241 (catan_test): Likewise.
17242 (catanh_test): Likewise.
17243 (cbrt_test): Likewise.
17244 (ccos_test): Likewise.
17245 (ccosh_test): Likewise.
17246 (cexp_test): Likewise.
17247 (clog_test): Likewise.
17248 (clog10_test): Likewise.
17249 (cos_test): Likewise.
17250 (cos_test_tonearest): Likewise.
17251 (cos_test_towardzero): Likewise.
17252 (cos_test_downward): Likewise.
17253 (cos_test_upward): Likewise.
17254 (cosh_test): Likewise.
17255 (cosh_test_tonearest): Likewise.
17256 (cosh_test_towardzero): Likewise.
17257 (cosh_test_downward): Likewise.
17258 (cosh_test_upward): Likewise.
17259 (cpow_test): Likewise.
17260 (csin_test): Likewise.
17261 (csinh_test): Likewise.
17262 (csqrt_test): Likewise.
17263 (ctan_test): Likewise.
17264 (ctan_test_tonearest): Likewise.
17265 (ctan_test_towardzero): Likewise.
17266 (ctan_test_downward): Likewise.
17267 (ctan_test_upward): Likewise.
17268 (ctanh_test): Likewise.
17269 (ctanh_test_tonearest): Likewise.
17270 (ctanh_test_towardzero): Likewise.
17271 (ctanh_test_downward): Likewise.
17272 (ctanh_test_upward): Likewise.
17273 (erf_test): Likewise.
17274 (erfc_test): Likewise.
17275 (exp_test): Likewise.
17276 (exp_test_tonearest): Likewise.
17277 (exp_test_towardzero): Likewise.
17278 (exp_test_downward): Likewise.
17279 (exp_test_upward): Likewise.
17280 (exp10_test): Likewise.
17281 (exp2_test): Likewise.
17282 (expm1_test): Likewise.
17283 (fmod_test): Likewise.
17284 (gamma_test): Likewise.
17285 (hypot_test): Likewise.
17286 (j0_test): Likewise.
17287 (j1_test): Likewise.
17288 (jn_test): Likewise.
17289 (lgamma_test): Likewise.
17290 (log_test): Likewise.
17291 (log10_test): Likewise.
17292 (log1p_test): Likewise.
17293 (log2_test): Likewise.
17294 (logb_test_downward): Likewise.
17295 (pow_test): Likewise.
17296 (pow_test_tonearest): Likewise.
17297 (pow_test_towardzero): Likewise.
17298 (pow_test_downward): Likewise.
17299 (pow_test_upward): Likewise.
17300 (remainder_test): Likewise.
17301 (remquo_test): Likewise.
17302 (sin_test): Likewise.
17303 (sin_test_tonearest): Likewise.
17304 (sin_test_towardzero): Likewise.
17305 (sin_test_downward): Likewise.
17306 (sin_test_upward): Likewise.
17307 (sincos_test): Likewise.
17308 (sinh_test): Likewise.
17309 (sinh_test_tonearest): Likewise.
17310 (sinh_test_towardzero): Likewise.
17311 (sinh_test_downward): Likewise.
17312 (sinh_test_upward): Likewise.
17313 (sqrt_test): Likewise.
17314 (tan_test): Likewise.
17315 (tan_test_tonearest): Likewise.
17316 (tan_test_towardzero): Likewise.
17317 (tan_test_downward): Likewise.
17318 (tan_test_upward): Likewise.
17319 (tanh_test): Likewise.
17320 (tgamma_test): Likewise.
17321 (y0_test): Likewise.
17322 (y1_test): Likewise.
17323 (yn_test): Likewise.
17325 * math/gen-libm-test.pl (adjust_arg): Remove function.
17326 (special_function): Remove argument $in_func. Only handle
17327 generating output for tables of tests, not inside functions.
17328 (parse_args): Likewise.
17329 (generate_testfile): Remove variable $in_func. Update call to
17331 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17332 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17333 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17334 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17335 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17336 (MAX_VALUE_INIT): Rename macro to max_value.
17337 (MIN_VALUE_INIT): Rename macro to min_value.
17338 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17339 (plus_zero): Remove variable.
17340 (minus_zero): Likewise.
17341 (plus_infty): Likewise.
17342 (minus_infty): Likewise.
17343 (qnan_value): Likewise.
17344 (max_value): Likewise.
17345 (min_value): Likewise.
17346 (min_subnorm_value): Likewise.
17348 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17350 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17351 uint64_t or uint32_t usage.
17352 * crypt/sha256-block.c: Likewise.
17353 * crypt/sha256-crypt.c: Likewise.
17354 * crypt/sha256.c: Likewise.
17355 * crypt/sha512-block.c: Likewise.
17356 * crypt/sha512-crypt.c: Likewise.
17357 * crypt/sha512.c: Likewise.
17358 * debug/backtrace-tst.c: Likewise.
17359 * debug/pcprofiledump.c: Likewise.
17360 * elf/cache.c: Likewise.
17361 * elf/dl-cache.c: Likewise.
17362 * elf/dl-misc.c: Likewise.
17363 * elf/dl-profile.c: Likewise.
17364 * elf/dl-support.c: Likewise.
17365 * elf/ldconfig.c: Likewise.
17366 * elf/sprof.c: Likewise.
17367 * iconv/dummy-repertoire.c: Likewise.
17368 * iconv/iconv_charmap.c: Likewise.
17369 * iconv/skeleton.c: Likewise.
17370 * iconvdata/8bit-generic.c: Likewise.
17371 * iconvdata/cp737.h: Likewise.
17372 * iconvdata/cp775.h: Likewise.
17373 * iconvdata/ibm1008.h: Likewise.
17374 * iconvdata/ibm1025.h: Likewise.
17375 * iconvdata/ibm1046.h: Likewise.
17376 * iconvdata/ibm1097.h: Likewise.
17377 * iconvdata/ibm1112.h: Likewise.
17378 * iconvdata/ibm1122.h: Likewise.
17379 * iconvdata/ibm1123.h: Likewise.
17380 * iconvdata/ibm1124.h: Likewise.
17381 * iconvdata/ibm1129.h: Likewise.
17382 * iconvdata/ibm1130.h: Likewise.
17383 * iconvdata/ibm1132.h: Likewise.
17384 * iconvdata/ibm1133.h: Likewise.
17385 * iconvdata/ibm1137.h: Likewise.
17386 * iconvdata/ibm1140.h: Likewise.
17387 * iconvdata/ibm1141.h: Likewise.
17388 * iconvdata/ibm1142.h: Likewise.
17389 * iconvdata/ibm1143.h: Likewise.
17390 * iconvdata/ibm1144.h: Likewise.
17391 * iconvdata/ibm1145.h: Likewise.
17392 * iconvdata/ibm1146.h: Likewise.
17393 * iconvdata/ibm1147.h: Likewise.
17394 * iconvdata/ibm1148.h: Likewise.
17395 * iconvdata/ibm1149.h: Likewise.
17396 * iconvdata/ibm1153.h: Likewise.
17397 * iconvdata/ibm1154.h: Likewise.
17398 * iconvdata/ibm1155.h: Likewise.
17399 * iconvdata/ibm1156.h: Likewise.
17400 * iconvdata/ibm1157.h: Likewise.
17401 * iconvdata/ibm1158.h: Likewise.
17402 * iconvdata/ibm1160.h: Likewise.
17403 * iconvdata/ibm1161.h: Likewise.
17404 * iconvdata/ibm1162.h: Likewise.
17405 * iconvdata/ibm1163.h: Likewise.
17406 * iconvdata/ibm1164.h: Likewise.
17407 * iconvdata/ibm1166.h: Likewise.
17408 * iconvdata/ibm1167.h: Likewise.
17409 * iconvdata/ibm12712.h: Likewise.
17410 * iconvdata/ibm1390.h: Likewise.
17411 * iconvdata/ibm1399.h: Likewise.
17412 * iconvdata/ibm16804.h: Likewise.
17413 * iconvdata/ibm4517.h: Likewise.
17414 * iconvdata/ibm4899.h: Likewise.
17415 * iconvdata/ibm4909.h: Likewise.
17416 * iconvdata/ibm4971.h: Likewise.
17417 * iconvdata/ibm5347.h: Likewise.
17418 * iconvdata/ibm803.h: Likewise.
17419 * iconvdata/ibm856.h: Likewise.
17420 * iconvdata/ibm901.h: Likewise.
17421 * iconvdata/ibm902.h: Likewise.
17422 * iconvdata/ibm9030.h: Likewise.
17423 * iconvdata/ibm9066.h: Likewise.
17424 * iconvdata/ibm921.h: Likewise.
17425 * iconvdata/ibm922.h: Likewise.
17426 * iconvdata/ibm9448.h: Likewise.
17427 * iconvdata/isiri-3342.h: Likewise.
17428 * iconvdata/jis0201.h: Likewise.
17429 * include/link.h: Likewise.
17430 * include/netdb.h: Likewise.
17431 * inet/check_native.c: Likewise.
17432 * inet/check_pf.c: Likewise.
17433 * inet/getipv4sourcefilter.c: Likewise.
17434 * inet/getnameinfo.c: Likewise.
17435 * inet/getsourcefilter.c: Likewise.
17436 * inet/htonl.c: Likewise.
17437 * inet/setipv4sourcefilter.c: Likewise.
17438 * inet/setsourcefilter.c: Likewise.
17439 * inet/test-inet6_opt.c: Likewise.
17440 * inet/tst-network.c: Likewise.
17441 * locale/C-collate.c: Likewise.
17442 * locale/C-ctype.c: Likewise.
17443 * locale/C-time.c: Likewise.
17444 * locale/C-translit.h: Likewise.
17445 * locale/loadarchive.c: Likewise.
17446 * locale/programs/3level.h: Likewise.
17447 * locale/programs/charmap.c: Likewise.
17448 * locale/programs/charmap.h: Likewise.
17449 * locale/programs/ld-address.c: Likewise.
17450 * locale/programs/ld-collate.c: Likewise.
17451 * locale/programs/ld-ctype.c: Likewise.
17452 * locale/programs/ld-identification.c: Likewise.
17453 * locale/programs/ld-measurement.c: Likewise.
17454 * locale/programs/ld-messages.c: Likewise.
17455 * locale/programs/ld-monetary.c: Likewise.
17456 * locale/programs/ld-name.c: Likewise.
17457 * locale/programs/ld-numeric.c: Likewise.
17458 * locale/programs/ld-paper.c: Likewise.
17459 * locale/programs/ld-telephone.c: Likewise.
17460 * locale/programs/ld-time.c: Likewise.
17461 * locale/programs/linereader.c: Likewise.
17462 * locale/programs/locale.c: Likewise.
17463 * locale/programs/locarchive.c: Likewise.
17464 * locale/programs/locfile.h: Likewise.
17465 * locale/programs/repertoire.c: Likewise.
17466 * locale/programs/simple-hash.c: Likewise.
17467 * locale/programs/simple-hash.h: Likewise.
17468 * malloc/memusage.c: Likewise.
17469 * malloc/memusagestat.c: Likewise.
17470 * nis/nis_defaults.c: Likewise.
17471 * nis/nis_hash.c: Likewise.
17472 * nis/nis_print.c: Likewise.
17473 * nis/nis_xdr.c: Likewise.
17474 * nscd/connections.c: Likewise.
17475 * nscd/hstcache.c: Likewise.
17476 * nscd/nscd_gethst_r.c: Likewise.
17477 * nscd/nscd_getserv_r.c: Likewise.
17478 * nscd/nscd_helper.c: Likewise.
17479 * nscd/servicescache.c: Likewise.
17480 * nss/makedb.c: Likewise.
17481 * nss/nss_db/db-XXX.c: Likewise.
17482 * nss/nss_db/db-initgroups.c: Likewise.
17483 * nss/nss_db/db-netgrp.c: Likewise.
17484 * nss/nss_files/files-network.c: Likewise.
17485 * nss/nss_files/files-parse.c: Likewise.
17486 * posix/bug-regex5.c: Likewise.
17487 * posix/fnmatch_loop.c: Likewise.
17488 * posix/regcomp.c: Likewise.
17489 * posix/regexec.c: Likewise.
17490 * posix/tst-rfc3484-2.c: Likewise.
17491 * posix/tst-rfc3484-3.c: Likewise.
17492 * posix/tst-rfc3484.c: Likewise.
17493 * resolv/nss_dns/dns-canon.c: Likewise.
17494 * resolv/nss_dns/dns-network.c: Likewise.
17495 * resolv/res_init.c: Likewise.
17496 * resolv/res_mkquery.c: Likewise.
17497 * resolv/tst-aton.c: Likewise.
17498 * stdlib/cxa_atexit.c: Likewise.
17499 * stdlib/cxa_finalize.c: Likewise.
17500 * stdlib/gen-fpioconst.c: Likewise.
17501 * stdlib/strtol_l.c: Likewise.
17502 * string/tst-endian.c: Likewise.
17503 * sunrpc/auth_des.c: Likewise.
17504 * sunrpc/clnt_udp.c: Likewise.
17505 * sunrpc/rtime.c: Likewise.
17506 * sunrpc/svcauth_des.c: Likewise.
17507 * sunrpc/xdr.c: Likewise.
17508 * sunrpc/xdr_intXX_t.c: Likewise.
17509 * sunrpc/xdr_rec.c: Likewise.
17510 * sysdeps/generic/ldconfig.h: Likewise.
17511 * sysdeps/generic/ldsodefs.h: Likewise.
17512 * sysdeps/generic/memusage.h: Likewise.
17513 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17516 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17517 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17518 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17519 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17520 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17521 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17522 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17523 * sysdeps/posix/getaddrinfo.c: Likewise.
17524 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17525 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17526 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17527 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17528 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17529 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17530 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17531 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17532 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17533 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17534 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17535 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17536 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17537 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17538 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17539 * sysdeps/x86_64/dl-tls.h: Likewise.
17540 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17541 * time/alt_digit.c: Likewise.
17542 * time/era.c: Likewise.
17543 * wcsmbs/tst-c16c32-1.c: Likewise.
17545 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17547 * math/libm-test.inc (struct test_sincos_data): New type.
17548 (RUN_TEST_LOOP_sincos): New macro.
17549 (sincos_test_data): New variable.
17550 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17552 2013-05-16 Richard Henderson <rth@redhat.com>
17554 * math/atest-exp2.c (LIMB64): New macro.
17555 (CONSTSZ): New macro.
17556 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17558 (print_mpn_fp): ... to function scope.
17559 (read_mpn_hex): Remove.
17560 (get_log2): Remove.
17561 (exp2_mpn): Use mp_log2.
17562 (main): Use mp_exp1.
17564 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17566 * math/libm-test.inc: Remove comment about not testing "inexact"
17568 (INEXACT_EXCEPTION): New macro.
17569 (NO_INEXACT_EXCEPTION): Likewise.
17570 (INVALID_EXCEPTION_OK): Update value.
17571 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17572 (OVERFLOW_EXCEPTION_OK): Likewise.
17573 (UNDERFLOW_EXCEPTION_OK): Likewise.
17574 (IGNORE_ZERO_INF_SIGN): Likewise.
17575 (ERRNO_UNCHANGED): Likewise.
17576 (ERRNO_EDOM): Likewise.
17577 (ERRNO_ERANGE): Likewise.
17578 (test_exceptions): Handle testing "inexact" exceptions.
17579 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17580 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17581 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17582 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17584 (rint_towardzero_test_data): Likewise.
17585 (rint_downward_test_data): Likewise.
17586 (rint_upward_test_data): Likewise.
17588 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17589 with OVERFLOW_EXCEPTION.
17590 (exp10_test_data): Likewise.
17591 (exp2_test_data): Likewise.
17592 (expm1_test_data): Likewise.
17593 (lgamma_test_data): Likewise.
17594 (pow_test_data): Likewise.
17595 (tgamma_test_data): Likewise.
17596 (yn_test_data): Remove duplicate test of overflow.
17598 * math/libm-test.inc (struct test_cc_c_data): New type.
17599 (RUN_TEST_LOOP_cc_c): New macro.
17600 (cpow_test_data): New variable.
17601 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17603 * math/libm-test.inc (struct test_f_L_data): New type.
17604 (RUN_TEST_LOOP_f_L): New macro.
17605 (llrint_test_data): New variable.
17606 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17607 (llrint_tonearest_test_data): New variable.
17608 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17609 (llrint_towardzero_test_data): New variable.
17610 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17611 (llrint_downward_test_data): New variable.
17612 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17613 (llrint_upward_test_data): New variable.
17614 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17615 (llround_test_data): New variable.
17616 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17618 2013-05-13 Peter Collingbourne <pcc@google.com>
17620 * math/atest-exp2.c (get_log2): Remove const attribute.
17622 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17624 * math/libm-test.inc (struct test_f_l_data): New type.
17625 (RUN_TEST_LOOP_f_l): New macro.
17626 (lrint_test_data): New variable.
17627 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17628 (lrint_tonearest_test_data): New variable.
17629 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17630 (lrint_towardzero_test_data): New variable.
17631 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17632 (lrint_downward_test_data): New variable.
17633 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17634 (lrint_upward_test_data): New variable.
17635 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17636 (lround_test_data): New variable.
17637 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17639 2013-05-15 Peter Collingbourne <pcc@google.com>
17641 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17642 (EXTRACT_WORDS64) Use where appropriate.
17643 (INSERT_WORDS64) Likewise.
17645 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17646 constraints with x constraints.
17647 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17649 * malloc/obstack.c (_obstack_compat): Add initializer.
17651 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17653 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17654 si_trapno and add si_addr_lsb to _sifields.sigfault.
17655 (si_trapno): Remove macro.
17656 (si_addr_lsb): Define new macro.
17657 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17659 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17661 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17662 instead of TEST_f_l.
17663 (llrint_test_tonearest): Likewise.
17664 (llrint_test_towardzero): Likewise.
17665 (llrint_test_downward): Likewise.
17666 (llrint_test_upward): Likewise.
17667 (llround_test): Likewise.
17669 * math/libm-test.inc (struct test_f_i_data): Add comment.
17670 (RUN_TEST_LOOP_f_b): New macro.
17671 (RUN_TEST_LOOP_f_b_tg): Likewise.
17672 (finite_test_data): New variable.
17673 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17674 (isfinite_test_data): New variable.
17675 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17676 (isinf_test_data): New variable.
17677 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17678 (isnan_test_data): New variable.
17679 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17680 (isnormal_test_data): New variable.
17681 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17682 (issignaling_test_data): New variable.
17683 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17684 (signbit_test_data): New variable.
17685 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17687 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17688 with INVALID_EXCEPTION.
17689 (acosh_test_data): Likewise.
17690 (asin_test_data): Likewise.
17691 (atanh_test_data): Likewise.
17692 (fmod_test_data): Likewise.
17693 (log_test_data): Likewise.
17694 (log10_test_data): Likewise.
17695 (log2_test_data): Likewise.
17696 (pow_test_data): Likewise.
17697 (sqrt_test_data): Likewise.
17698 (y0_test_data): Likewise.
17699 (y1_test_data): Likewise.
17700 (yn_test_data): Likewise.
17702 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17705 * math/libm-test.inc (struct test_ff_i_data): New type.
17706 (RUN_TEST_LOOP_ff_i_tg): New macro.
17707 (isgreater_test_data): New variable.
17708 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17709 (isgreaterequal_test_data): New variable.
17710 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17711 (isless_test_data): New variable.
17712 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17713 (islessequal_test_data): New variable.
17714 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17715 (islessgreater_test_data): New variable.
17716 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17717 (isunordered_test_data): New variable.
17718 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17720 2013-05-14 David S. Miller <davem@davemloft.net>
17722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17724 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17726 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17728 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17730 (struct test_f_i_data): Change type of max_ulp to int.
17732 * math/libm-test.inc (test_ffI_f1_data): New type.
17733 (RUN_TEST_LOOP_ffI_f1): New macro.
17734 (remquo_test_data): New variable.
17735 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17737 * setjmp/tst-setjmp-fp.c: New file.
17738 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17739 (link-libm): New variable.
17740 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17742 * math/libm-test.inc (struct test_f_i_data): New type.
17743 (RUN_TEST_LOOP_f_i): New macro.
17744 (RUN_TEST_LOOP_f_i_tg): Likewise.
17745 (fpclassify_test_data): New variable.
17746 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17747 (ilogb_test_data): New variable.
17748 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17750 * math/libm-test.inc (scalbln_test): Correct function name in END
17753 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17754 (RUN_TEST_LOOP_fI_f1): New macro.
17755 (frexp_test_data): New variable.
17756 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17758 * math/libm-test.inc (struct test_fF_f1_data): New type.
17759 (RUN_TEST_LOOP_fF_f1): New macro.
17760 (modf_test_data): New variable.
17761 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17763 * math/libm-test.inc (struct test_f_f1_data): New type.
17764 (RUN_TEST_LOOP_f_f1): New macro.
17765 (gamma_test_data): New variable.
17766 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17767 (lgamma_test_data): New variable.
17768 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17770 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17772 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17773 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17774 (main): Comment "tls" pseudo-hwcap.
17776 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17778 * math/libm-test.inc (struct test_fl_f_data): New type.
17779 (RUN_TEST_LOOP_fl_f): New variable.
17780 (scalbln_test_data): New variable.
17781 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17783 * math/libm-test.inc (struct test_fi_f_data): New type.
17784 (RUN_TEST_LOOP_fi_f): New macro.
17785 (ldexp_test_data): New variable.
17786 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17787 (scalbn_test_data): New variable.
17788 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17790 * math/libm-test.inc (struct test_c_f_data): New type.
17791 (RUN_TEST_LOOP_c_f): New macro.
17792 (cabs_test_data): New variable.
17793 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17794 (carg_test_data): New variable.
17795 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17796 (cimag_test_data): New variable.
17797 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17798 (creal_test_data): New variable.
17799 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17801 * math/libm-test.inc (struct test_if_f_data): New type.
17802 (RUN_TEST_LOOP_if_f): New macro.
17803 (jn_test_data): New variable.
17804 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17805 (yn_test_data): New variable.
17806 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17808 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17810 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17812 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17813 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17815 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17817 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17818 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17819 (bench-deps): Add bench-timing.h.
17820 * benchtests-bench-skeleton.c: Include bench-timing.h.
17821 (main): Use TIMING_* macros instead of clock_gettime.
17822 * benchtests/bench-timing.h: New file.
17825 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17826 Renamed from _LIB_VERSION.
17827 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17829 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17831 * math/libm-test.inc (struct test_fff_f_data): New type.
17832 (RUN_TEST_LOOP_fff_f): New macro.
17833 (fma_test_data): New variable.
17834 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17835 (fma_towardzero_test_data): New variable.
17836 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17837 (fma_downward_test_data): New variable.
17838 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17839 (fma_upward_test_data): New variable.
17840 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17842 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17843 (struct test_c_c_data): New type.
17844 (RUN_TEST_LOOP_c_c): New macro.
17845 (cacos_test_data): New variable.
17846 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17847 (cacosh_test_data): New variable.
17848 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17849 (casin_test_data): New variable.
17850 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17851 (casinh_test_data): New variable.
17852 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17853 (catan_test_data): New variable.
17854 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17855 (catanh_test_data): New variable.
17856 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17857 (ccos_test_data): New variable.
17858 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17859 (ccosh_test_data): New variable.
17860 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17861 (cexp_test_data): New variable.
17862 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17863 (clog_test_data): New variable.
17864 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17865 (clog10_test_data): New variable.
17866 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17867 (conj_test_data): New variable.
17868 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17869 (cproj_test_data): New variable.
17870 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17871 (csin_test_data): New variable.
17872 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17873 (csinh_test_data): New variable.
17874 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17875 (csqrt_test_data): New variable.
17876 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17877 (ctan_test_data): New variable.
17878 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17879 (ctan_tonearest_test_data): New variable.
17880 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17881 (ctan_towardzero_test_data): New variable.
17882 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17883 (ctan_downward_test_data): New variable.
17884 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17885 (ctan_upward_test_data): New variable.
17886 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17887 (ctanh_test_data): New variable.
17888 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17889 (ctanh_tonearest_test_data): New variable.
17890 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17891 (ctanh_towardzero_test_data): New variable.
17892 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17893 (ctanh_downward_test_data): New variable.
17894 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17895 (ctanh_upward_test_data): New variable.
17896 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17897 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17900 * math/libm-test.inc (struct test_ff_f_data): New type.
17901 (struct test_ff_f_data_nexttoward): Likewise.
17902 (RUN_TEST_LOOP_2_f): New macro.
17903 (RUN_TEST_LOOP_ff_f): Likewise.
17904 (atan2_test_data): New variable.
17905 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17906 (copysign_test_data): New variable.
17907 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17908 (fdim_test_data): New variable.
17909 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17910 (fmax_test_data): New variable.
17911 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17912 (fmin_test_data): New variable.
17913 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17914 (fmod_test_data): New variable.
17915 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17916 (hypot_test_data): New variable.
17917 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17918 (nextafter_test_data): New variable.
17919 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17920 (nexttoward_test_data): New variable.
17921 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17922 (pow_test_data): New variable.
17923 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17924 (pow_tonearest_test_data): New variable.
17925 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17926 (pow_towardzero_test_data): New variable.
17927 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17928 (pow_downward_test_data): New variable.
17929 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17930 (pow_upward_test_data): New variable.
17931 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17932 (remainder_test_data): New variable.
17933 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17934 (scalb_test_data): New variable.
17935 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17936 * sysdeps/i386/fpu/libm-test-ulps: Update.
17938 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17940 * math/libm-test.inc (fma_test): Use max_value instead of local
17942 (nextafter_test): Likewise.
17944 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17945 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17946 (acos_downward_test_data): New variable.
17947 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17948 (acos_upward_test_data): New variable.
17949 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17950 (acosh_test_data): New variable.
17951 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17952 (asin_test_data): New variable.
17953 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17954 (asin_tonearest_test_data): New variable.
17955 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17956 (asin_towardzero_test_data): New variable.
17957 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17958 (asin_downward_test_data): New variable.
17959 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17960 (asin_upward_test_data): New variable.
17961 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17962 (asinh_test_data): New variable.
17963 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17964 (atan_test_data): New variable.
17965 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17966 (atanh_test_data): New variable.
17967 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17968 (cbrt_test_data): New variable.
17969 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17970 (ceil_test_data): New variable.
17971 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17972 (cos_test_data): New variable.
17973 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17974 (cos_tonearest_test_data): New variable.
17975 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17976 (cos_towardzero_test_data): New variable.
17977 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17978 (cos_downward_test_data): New variable.
17979 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17980 (cos_upward_test_data): New variable.
17981 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17982 (cosh_test_data): New variable.
17983 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17984 (cosh_tonearest_test_data): New variable.
17985 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17986 (cosh_towardzero_test_data): New variable.
17987 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17988 (cosh_downward_test_data): New variable.
17989 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17990 (cosh_upward_test_data): New variable.
17991 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17992 (erf_test_data): New variable.
17993 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17994 (erfc_test_data): New variable.
17995 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17996 (exp_test_data): New variable.
17997 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17998 (exp_tonearest_test_data): New variable.
17999 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18000 (exp_towardzero_test_data): New variable.
18001 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18002 (exp_downward_test_data): New variable.
18003 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18004 (exp_upward_test_data): New variable.
18005 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18006 (exp10_test_data): New variable.
18007 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18008 (exp2_test_data): New variable.
18009 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18010 (expm1_test_data): New variable.
18011 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18012 (fabs_test_data): New variable.
18013 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18014 (floor_test_data): New variable.
18015 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18016 (j0_test_data): New variable.
18017 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18018 (j1_test_data): New variable.
18019 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18020 (log_test_data): New variable.
18021 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18022 (log10_test_data): New variable.
18023 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18024 (log1p_test_data): New variable.
18025 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18026 (log2_test_data): New variable.
18027 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18028 (logb_test_data): New variable.
18029 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18030 (logb_downward_test_data): New variable.
18031 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18032 (nearbyint_test_data): New variable.
18033 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18034 (rint_test_data): New variable.
18035 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18036 (rint_tonearest_test_data): New variable.
18037 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18038 (rint_towardzero_test_data): New variable.
18039 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18040 (rint_downward_test_data): New variable.
18041 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18042 (rint_upward_test_data): New variable.
18043 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18044 (round_test_data): New variable.
18045 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18046 (sin_test_data): New variable.
18047 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18048 (sin_tonearest_test_data): New variable.
18049 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18050 (sin_towardzero_test_data): New variable.
18051 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18052 (sin_downward_test_data): New variable.
18053 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18054 (sin_upward_test_data): New variable.
18055 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18056 (sinh_test_data): New variable.
18057 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18058 (sinh_tonearest_test_data): New variable.
18059 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18060 (sinh_towardzero_test_data): New variable.
18061 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18062 (sinh_downward_test_data): New variable.
18063 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18064 (sinh_upward_test_data): New variable.
18065 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18066 (sqrt_test_data): New variable.
18067 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18068 (tan_test_data): New variable.
18069 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18070 (tan_tonearest_test_data): New variable.
18071 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18072 (tan_towardzero_test_data): New variable.
18073 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18074 (tan_downward_test_data): New variable.
18075 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18076 (tan_upward_test_data): New variable.
18077 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18078 (tanh_test_data): New variable.
18079 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18080 (tgamma_test_data): New variable.
18081 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18082 (trunc_test_data): New variable.
18083 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18084 (y0_test_data): New variable.
18085 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18086 (y1_test_data): New variable.
18087 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18088 (significand_test_data): New variable.
18089 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18091 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18094 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18096 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18098 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18100 2013-05-10 Andreas Jaeger <aj@suse.de>
18103 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18104 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18106 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18108 * math/gen-libm-test.pl (adjust_arg): New function.
18109 (special_functions): Handle generating output in both functions
18111 (parse_args): Likewise.
18112 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18113 $in_func argument to parse_args.
18114 * math/libm-test.inc (struct test_f_f_data): New type.
18115 (IF_ROUND_INIT_): New macro.
18116 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18117 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18118 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18119 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18120 (ROUND_RESTORE_): Likewise.
18121 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18122 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18123 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18124 (ROUND_RESTORE_FE_UPWARD): Likewise.
18125 (RUN_TEST_LOOP_f_f): New macro.
18126 (acos_test_data): New variable.
18127 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18128 (acos_tonearest_test_data): New variable.
18129 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18131 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18133 * benchtests/bench-skeleton.c (startup): Fix coding style.
18135 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18138 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18139 negative infinity argument.
18140 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18141 negative infinity argument.
18142 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18143 negative infinity argument.
18144 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18147 2013-05-10 Florian Weimer <fweimer@redhat.com>
18149 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18150 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18151 * iconv/iconv_prog.c (main): Likewise.
18152 * locale/programs/charmap-dir.c (charmap_readdir)
18153 (fopen_uncompressed): Likewise.
18154 * locale/programs/locfile.c (siblings_uncached)
18155 (write_locale_data): Use lstat64 instead of lstat.
18156 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18159 2013-05-10 Andreas Jaeger <aj@suse.de>
18162 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18164 Include <locale.h>.
18166 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18168 * elf/dl-close.c (_dl_close_worker): Add comments.
18170 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18173 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18175 (__ieee754_rem_pio2l): Update comments.
18178 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18180 (__ieee754_rem_pio2l): Update comments.
18182 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18183 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18185 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18188 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18189 (M_PI_34_LOG10El): Likewise.
18190 (M_PI2_LOG10El): Likewise.
18191 (M_PI4_LOG10El): Likewise.
18192 (M_PI_LOG10El): Likewise.
18194 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18198 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18200 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18201 (MINUS_ZERO_INIT): Likewise.
18202 (PLUS_INFTY_INIT): Likewise.
18203 (MINUS_INFTY_INIT): Likewise.
18204 (QNAN_VALUE_INIT): Likewise.
18205 (MAX_VALUE_INIT): Likewise.
18206 (MIN_VALUE_INIT): Likewise.
18207 (MIN_SUBNORM_VALUE_INIT): Likewise.
18208 (plus_zero): Initialize with PLUS_ZERO_INIT.
18209 (minus_zero): Initialize with MINUS_ZERO_INIT.
18210 (plus_infty): Initialize with PLUS_INFTY_INIT.
18211 (minus_infty): Initialize with MINUS_INFTY_INIT.
18212 (qnan_value): Initialize with QNAN_VALUE_INIT.
18213 (max_value): Initialize with MAX_VALUE_INIT.
18214 (min_value): Initialize with MIN_VALUE_INIT.
18215 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18217 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18218 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18219 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18220 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18222 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18223 (RUN_TEST_2_f): Likewise.
18224 (RUN_TEST_ff_f): Likewise.
18225 (RUN_TEST_fi_f): Likewise.
18226 (RUN_TEST_fl_f): Likewise.
18227 (RUN_TEST_fff_f): Likewise.
18228 (RUN_TEST_c_f): Likewise.
18229 (RUN_TEST_f_f1): Likewise.
18230 (RUN_TEST_fF_f1): Likewise.
18231 (RUN_TEST_fI_f1): Likewise.
18232 (RUN_TEST_ffI_f1): Likewise.
18233 (RUN_TEST_c_c): Likewise.
18234 (RUN_TEST_cc_c): Likewise.
18235 (RUN_TEST_f_i): Likewise.
18236 (RUN_TEST_f_i_tg): Likewise.
18237 (RUN_TEST_ff_i_tg): Likewise.
18238 (RUN_TEST_f_b): Likewise.
18239 (RUN_TEST_f_b_tg): Likewise.
18240 (RUN_TEST_f_l): Likewise.
18241 (RUN_TEST_f_L): Likewise.
18242 (RUN_TEST_sincos): Likewise.
18243 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18244 whether to show exceptions. Do not include ");\n" in return
18246 (special_functions): Output call to RUN_TEST_sincos instead of
18247 check_float calls. Update calls to new_test.
18248 (parse_args): Output call to single RUN_TEST_* macro instead of
18249 check_* calls and other assignments. Update calls to new_test.
18255 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18256 input to result for tgamma overflow.
18257 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18258 (gamma_coeff): New variable.
18259 (NCOEFF): New macro.
18260 (gamma_positive): New function.
18261 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18262 underflow here. Use gamma_positive instead of exp (lgamma) for
18264 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18265 (gamma_coeff): New variable.
18266 (NCOEFF): New macro.
18267 (gammaf_positive): New function.
18268 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18269 underflow here. Use gamma_positive instead of exp (lgamma) for
18271 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18272 (gamma_coeff): New variable.
18273 (NCOEFF): New macro.
18274 (gammal_positive): New function.
18275 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18276 underflow here. Use gamma_positive instead of exp (lgamma) for
18278 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18279 (gamma_coeff): New variable.
18280 (NCOEFF): New macro.
18281 (gammal_positive): New function.
18282 (__ieee754_gammal_r): Handle positive infinity, overflow and
18283 underflow here. Handle NaN the same as positive infinity. Remove
18284 check x < 0xffffffff for negative integers. Use gamma_positive
18285 instead of exp (lgamma) for other arguments.
18286 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18287 (gamma_coeff): New variable.
18288 (NCOEFF): New macro.
18289 (gammal_positive): New function.
18290 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18291 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18292 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18295 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18296 * sysdeps/generic/math_private.h (__gamma_productf): New
18298 (__gamma_product): Likewise.
18299 (__gamma_productl): Likewise.
18300 * math/Makefile (libm-calls): Add gamma_product.
18301 * math/libm-test.inc (tgamma_test): Add more tests.
18302 * sysdeps/i386/fpu/libm-test-ulps: Update.
18303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18305 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18307 * benchtests/bench-skeleton.c (main): Preheat CPU.
18309 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18311 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18313 2013-05-07 Roland McGrath <roland@hack.frob.com>
18315 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18316 and _dl_skip_args_internal.
18318 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18320 * manual/message.texi (Message Translation): Talk about users.
18321 Message to key mapping impacts design.
18323 2013-05-06 Roland McGrath <roland@hack.frob.com>
18325 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18327 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18329 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18330 * sysdeps/wordsize-64/glob64.c: ... here.
18332 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18333 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18336 * debug/getlogin_r_chk.c: Moved to ...
18337 * login/getlogin_r_chk.c: ... here.
18338 * debug/Makefile (routines): Move getlogin_r_chk to ...
18339 * login/Makefile (routines): ... here.
18340 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18341 * login/Versions (libc: GLIBC_2.4): ... here.
18343 * io/poll.c (__poll): Renamed from poll.
18344 Add libc_hidden_def.
18345 (poll): Define as weak alias.
18347 * debug/ptsname_r_chk.c: Moved to ...
18348 * login/ptsname_r_chk.c: ... here.
18349 * debug/Makefile (routines): Move ptsname_r_chk to ...
18350 * login/Makefile (routines): ... here.
18351 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18352 * login/Versions (libc: GLIBC_2.4): ... here.
18354 * posix/getlogin.c: Moved to ...
18355 * login/getlogin.c: ... here.
18356 * posix/getlogin_r.c: Moved to ...
18357 * login/getlogin_r.c: ... here.
18358 * posix/getlogin_r.c: Moved to ...
18359 * login/getlogin_r.c: ... here.
18360 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18361 * login/Makefile (routines): ... here.
18362 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18363 * login/Versions (libc: GLIBC_2.0): ... here.
18365 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18366 (setrlimit): Define as weak alias.
18368 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18369 Call __ names for open, ftruncate, and close.
18370 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18371 (truncate): Define as weak alias.
18373 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18375 * math/gen-libm-test.pl (parse_args): Initialize x before each
18376 test of frexp, modf and remquo.
18378 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18379 test signgam value.
18381 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18385 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18387 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18389 2013-05-06 Roland McGrath <roland@hack.frob.com>
18391 * elf/dl-writev.h: New file.
18392 * elf/dl-misc.c: Include it.
18393 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18394 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18396 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18398 * math/libm-test.inc (noXFails): Remove variable.
18399 (noXPasses): Likewise.
18400 (BUILD_COMPLEX_INT): Remove macro.
18401 (print_screen): Remove xfail argument.
18402 (print_screen_max_error): Likewise.
18403 (update_stats): Likewise.
18404 (print_max_error): Likewise. Update calls to other affected
18406 (print_complex_max_error): Likewise.
18407 (test_single_exception): Update calls to print_screen.
18408 (test_single_errno): Likewise.
18409 (check_float_internal): Remove xfail argument. Update calls to
18410 other affected functions.
18411 (check_float): Likewise.
18412 (check_complex): Likewise.
18413 (check_int): Likewise.
18414 (check_long): Likewise.
18415 (check_bool): Likewise.
18416 (check_longlong): Likewise.
18417 (main): Don't print noXFails and noXPasses.
18418 * math/gen-libm-test.pl (top level): Don't mention expected
18419 failure handling in comment.
18420 (new_test): Don't handle expected failures.
18421 (parse_args): Don't mention expected failure handling in comment.
18422 (generate_testfile): Don't handle expected failures.
18423 (parse_ulps): Likewise.
18424 (print_ulps_file): Likewise.
18425 (get_failure): Remove function.
18426 (output_test): Don't handle expected failures.
18427 * make/README.libm-test: Don't mention expected failure handling.
18429 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18430 (minus_zero): Likewise.
18431 (plus_infty): Likewise.
18432 (minus_infty): Likewise.
18433 (qnan_value): Likewise.
18434 (max_value): Likewise.
18435 (min_value): Likewise.
18436 (min_subnorm_value): Likewise.
18437 (initialize): Do not initialize those variables dynamically.
18439 2013-05-03 Roland McGrath <roland@hack.frob.com>
18441 * io/open.c (__open_2): Moved to ...
18442 * io/open_2.c: ... this new file.
18443 * io/open64.c (__open64_2): Moved to ...
18444 * io/open64_2.c: ... this new file.
18445 * io/openat.c (__openat_2): Moved to ...
18446 * io/openat_2.c: ... this new file.
18447 * io/openat64.c (__openat64_2): Moved to ...
18448 * io/openat64_2.c: ... this new file.
18449 * io/Makefile (routines): Add them.
18450 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18451 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18452 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18453 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18454 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18455 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18456 (__openat64): Add hidden_ver.
18457 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18458 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18460 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18461 Separately conditionalize setting of GLRO(dl_sysinfo) so
18462 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18463 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18465 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18467 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18468 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18470 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18471 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18472 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18473 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18474 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18476 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18478 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18479 test signgam value.
18481 * math/libm-test.inc (hypot_test): Do not use
18482 IGNORE_ZERO_INF_SIGN.
18484 2013-05-03 Andreas Jaeger <aj@suse.de>
18486 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18488 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18489 (PF_MAX): Adjust for VSOCK change.
18491 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18495 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18498 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18499 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18500 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18502 2013-05-02 David S. Miller <davem@davemloft.net>
18504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18506 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18508 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18510 2013-05-01 Roland McGrath <roland@hack.frob.com>
18512 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18514 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18517 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18518 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18519 Use __attribute__ ((__gnu_inline__)).
18520 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18521 Don't use __attribute__ ((__gnu_inline__)).
18523 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18526 * math/s_catan.c (__catan): Handle small real or imaginary part of
18527 input specially to avoid spurious underflow.
18528 * math/s_catanf.c (__catanf): Likewise.
18529 * math/s_catanh.c (__catanh): Likewise.
18530 * math/s_catanhf.c (__catanhf): Likewise.
18531 * math/s_catanhl.c (__catanhl): Likewise.
18532 * math/s_catanl.c (__catanl): Likewise.
18533 * math/libm-test.inc (catan_test): Add more tests.
18534 (catanh_test): Likewise.
18535 * sysdeps/i386/fpu/libm-test-ulps: Update.
18536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18538 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18542 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18545 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18546 accurately for denominator in atan2.
18547 * math/s_catanf.c (__catanf): Likewise.
18548 * math/s_catanh.c (__catanh): Likewise.
18549 * math/s_catanhf.c (__catanhf): Likewise.
18550 * math/s_catanhl.c (__catanhl): Likewise.
18551 * math/s_catanl.c (__catanl): Likewise.
18552 * math/libm-test.inc (catan_test): Add more tests.
18553 (catanh_test): Likewise.
18554 * sysdeps/i386/fpu/libm-test-ulps: Update.
18555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18557 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18559 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18561 * benchtests/Makefile (bench): Remove slow benchmarks.
18562 * benchtests/atan-inputs: Add slow benchmark inputs.
18563 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18564 (BENCH_FUNC): Accept variant offset.
18566 * benchtests/bench-skeleton.c (main): Run benchmark for each
18568 * benchtests/cos-inputs: Add slow benchmark inputs.
18569 * benchtests/exp-inputs: Likewise.
18570 * benchtests/pow-inputs: Likewise.
18571 * benchtests/sin-inputs: Likewise.
18572 * benchtests/slowatan-inputs: Remove.
18573 * benchtests/slowatan.c: Remove.
18574 * benchtests/slowcos-inputs: Remove.
18575 * benchtests/slowcos.c: Remove.
18576 * benchtests/slowexp-inputs: Remove.
18577 * benchtests/slowexp.c: Remove.
18578 * benchtests/slowpow-inputs: Remove.
18579 * benchtests/slowpow.c: Remove.
18580 * benchtests/slowsin-inputs: Remove.
18581 * benchtests/slowsin.c: Remove.
18582 * benchtests/slowtan-inputs: Remove.
18583 * benchtests/slowtan.c: Remove.
18584 * benchtests/tan-inputs: Add slow benchmark inputs.
18585 * scripts/bench.pl: Parse comments and directives.
18587 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18589 ($(objpfx)bench-%.c): Remove *-ITER.
18590 * benchtests/bench-modf.c: Remove definition of ITER.
18591 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18592 (main): Loop for DURATION seconds instead of fixed number of
18594 * scripts/bench.pl: Don't expect iterations in parameters.
18596 2013-04-29 Roland McGrath <roland@hack.frob.com>
18598 * io/fchdir.c (__fchdir): Renamed from fchdir.
18599 (fchdir): Define as weak alias.
18601 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18603 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18604 (ERRNO_EDOM): Likewise.
18605 (ERRNO_ERANGE): Likewise.
18606 (noErrnoTests): New variable.
18607 (init_max_error): Set errno to 0.
18608 (test_single_errno): New function.
18609 (test_errno): Likewise.
18610 (check_float_internal): Call test_errno. Set errno to 0.
18611 (check_complex): Refer to errno tests in comment.
18612 (check_int): Call test_errno. Set errno to 0.
18613 (check_long): Likewise.
18614 (check_bool): Likewise.
18615 (check_longlong): Likewise.
18616 (cos_test): Use ERRNO_* flags for errno tests instead of
18618 (expm1_test): Likewise.
18619 (fmod_test): Likewise.
18620 (ilogb_test): Likewise.
18621 (lgamma_test): Likewise.
18622 (pow_test): Likewise.
18623 (remainder_test): Likewise.
18624 (sin_test): Likewise.
18625 (tan_test): Likewise.
18626 (yn_test): Likewise.
18627 (initialize): Set errno to 0.
18628 (main): Print number of errno tests.
18629 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18631 2013-04-29 Andreas Jaeger <aj@suse.de>
18634 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18638 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18639 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18643 * stdlib/random.c (__initstate): Return NULL if
18647 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18648 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18651 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18655 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18657 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18658 of individual tests.
18659 (casin_test): Likewise.
18660 (casinh_test): Likewise.
18662 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18665 * math/s_catan.c (__catan): Handle arguments with large real or
18666 imaginary part separately without squaring.
18667 * math/s_catanf.c (__catanf): Likewise.
18668 * math/s_catanh.c (__catanh): Likewise.
18669 * math/s_catanhf.c (__catanhf): Likewise.
18670 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18672 (__catanhl): Handle arguments with large real or imaginary part
18673 separately without squaring.
18674 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18676 (__catanl): Handle arguments with large real or imaginary part
18677 separately without squaring.
18678 * math/libm-test.inc (catan_test): Add more tests.
18679 (catanh_test): Likewise.
18680 * sysdeps/i386/fpu/libm-test-ulps: Update.
18681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18683 2013-04-27 Andreas Jaeger <aj@suse.de>
18686 * stdlib/stdlib.h: Update guards for qecvt.
18687 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18690 2013-04-27 Allan McRae <allan@archlinux.org>
18692 * sysdeps/i386/fpu/libm-test-ulps: Update.
18694 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18697 * math/s_catan.c: Include <float.h>.
18698 (__catan): Ensure underflow exception occurs for underflowed
18700 * math/s_catanf.c: Include <float.h>.
18701 (__catanf): Ensure underflow exception occurs for underflowed
18703 * math/s_catanh.c: Include <float.h>.
18704 (__catanh): Ensure underflow exception occurs for underflowed
18706 * math/s_catanhf.c: Include <float.h>.
18707 (__catanhf): Ensure underflow exception occurs for underflowed
18709 * math/s_catanhl.c: Include <float.h>.
18710 (__catanhl): Ensure underflow exception occurs for underflowed
18712 * math/s_catanl.c: Include <float.h>.
18713 (__catanl): Ensure underflow exception occurs for underflowed
18715 * math/libm-test.inc (catan_test): Add more tests.
18716 (catanh_test): Likewise.
18719 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18720 underflowed result.
18721 * math/s_ccoshf.c (__ccoshf): Likewise.
18722 * math/s_ccoshl.c (__ccoshl): Likewise.
18723 * math/s_csin.c (__csin): Likewise.
18724 * math/s_csinf.c (__csinf): Likewise.
18725 * math/s_csinh.c (__csinh): Likewise.
18726 * math/s_csinhf.c (__csinhf): Likewise.
18727 * math/s_csinhl.c (__csinhl): Likewise.
18728 * math/s_csinl.c (__csinl): Likewise.
18729 * math/libm-test.inc (ccos_test): Add more tests.
18730 (ccosh_test): Likewise.
18731 (csin_test): Likewise.
18732 (csinh_test): Likewise.
18734 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18736 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18737 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18738 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18739 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18740 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18741 powerpc/power5+/fpu folders.
18742 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18745 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18749 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18751 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18752 additions to variable.
18753 [$(config-machine) = x86_64] (modules-names): Likewise.
18754 ($(objpfx)tst-audit3): Remove dependency.
18755 ($(objpfx)tst-audit3.out): Likewise.
18756 ($(objpfx)tst-audit4): Likewise.
18757 ($(objpfx)tst-audit4.out): Likewise.
18758 ($(objpfx)tst-audit5): Likewise.
18759 ($(objpfx)tst-audit5.out): Likewise.
18760 ($(objpfx)tst-audit6): Likewise.
18761 ($(objpfx)tst-audit6.out): Likewise.
18762 ($(objpfx)tst-audit7): Likewise.
18763 ($(objpfx)tst-audit7.out): Likewise.
18764 (tst-audit3-ENV): Remove variable.
18765 (tst-audit4-ENV): Likewise.
18766 (tst-audit5-ENV): Likewise.
18767 (tst-audit6-ENV): Likewise.
18768 (tst-audit7-ENV): Likewise.
18769 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18770 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18771 addition to variable.
18772 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18773 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18774 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18775 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18776 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18777 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18778 tst-audit3, tst-audit4 and tst-audit5.
18779 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18780 tst-audit6 and tst-audit7.
18781 [$(subdir) = elf] (modules-names): Add audit modules for those
18783 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18784 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18785 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18786 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18787 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18788 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18789 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18790 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18791 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18792 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18793 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18794 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18795 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18796 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18797 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18798 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18800 [$(subdir) = elf && $(config-cflags-avx) = yes]
18801 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18802 [$(subdir) = elf && $(config-cflags-avx) = yes]
18803 (CFLAGS-tst-auditmod4a.c): Likewise.
18804 [$(subdir) = elf && $(config-cflags-avx) = yes]
18805 (CFLAGS-tst-auditmod4b.c): Likewise.
18806 [$(subdir) = elf && $(config-cflags-avx) = yes]
18807 (CFLAGS-tst-auditmod6b.c): Likewise.
18808 [$(subdir) = elf && $(config-cflags-avx) = yes]
18809 (CFLAGS-tst-auditmod6c.c): Likewise.
18810 [$(subdir) = elf && $(config-cflags-avx) = yes]
18811 (CFLAGS-tst-auditmod7b.c): Likewise.
18812 * elf/tst-audit3.c: Move to ...
18813 * sysdeps/x86_64/tst-audit3.c: ... here.
18814 * elf/tst-audit4.c: Move to ...
18815 * sysdeps/x86_64/tst-audit4.c: ... here.
18816 * elf/tst-audit5.c: Move to ...
18817 * sysdeps/x86_64/tst-audit5.c: ... here.
18818 * elf/tst-audit6.c: Move to ...
18819 * sysdeps/x86_64/tst-audit6.c: ... here.
18820 * elf/tst-audit7.c: Move to ...
18821 * sysdeps/x86_64/tst-audit7.c: ... here.
18822 * elf/tst-auditmod3a.c: Move to ...
18823 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18824 * elf/tst-auditmod3b.c: Move to ...
18825 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18826 * elf/tst-auditmod4a.c: Move to ...
18827 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18828 * elf/tst-auditmod4b.c: Move to ...
18829 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18830 * elf/tst-auditmod5a.c: Move to ...
18831 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18832 * elf/tst-auditmod5b.c: Move to ...
18833 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18834 * elf/tst-auditmod6a.c: Move to ...
18835 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18836 * elf/tst-auditmod6b.c: Move to ...
18837 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18838 * elf/tst-auditmod6c.c: Move to ...
18839 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18840 * elf/tst-auditmod7a.c: Move to ...
18841 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18842 * elf/tst-auditmod7b.c: Move to ...
18843 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18845 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18848 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18849 define unconditionally.
18850 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18851 define unconditionally.
18852 (INT8_C, INT16_C, etc.): Likewise.
18854 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18856 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18857 __ehdr_start with hidden visibility.
18859 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18861 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18863 * math/libm-test.inc (cos_test): Use accurate hex constants.
18864 (sincost_test): Likewise.
18866 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18868 * math/libm-test.inc (catan_test): Add more tests.
18869 (catanh_test): Likewise.
18871 * math/s_catanf.c (__catanf): Use suffixed floating-point
18873 * math/s_catanhf.c (__catanhf): Likewise.
18874 * math/s_catanhl.c (__catanhl): Likewise.
18875 * math/s_catanl.c (__catanl): Likewise.
18878 * math/s_catan.c (__catan): Calculate imaginary part of result
18879 with log1p not log unless computing log of number close to 0.
18880 * math/s_catanf.c (__catanf): Likewise.
18881 * math/s_catanl.c (__catanl): Likewise.
18882 * math/s_catanh.c (__catanh): Calculate real part of result with
18883 log1p not log unless computing log of number close to 0.
18884 * math/s_catanhf.c (__catanhf): Likewise.
18885 * math/s_catanhl.c (__catanhl): Likewise.
18886 * math/libm-test.inc (catan_test): Add more tests.
18887 (catanh_test): Likewise.
18888 * sysdeps/i386/fpu/libm-test-ulps: Update.
18889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18891 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18893 * benchtests/Makefile: Mention files in which fast and slow
18894 paths of math functions are implemented.
18896 2013-04-23 Roland McGrath <roland@hack.frob.com>
18898 * sysdeps/posix/timespec_get.c: New file.
18900 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18902 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18904 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18906 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18907 powerpc/power5/fpu folders.
18908 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18909 * benchtests/Makefile: Add modf testcase.
18910 * benchtests/bench-modf.c: New file: Benchmark test for mo
18912 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18915 * time/Makefile (tests): Add tst-strptime-whitespace.
18916 * time/strptime_l.c (get_number): Use ISSPACE.
18917 (__strptime_internal): Likewise.
18918 * time/tst-strptime-whitespace.c: New test case.
18920 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18922 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18924 (_nss_files_init): Set it here.
18926 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18928 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18929 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18932 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18934 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18936 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18938 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18941 2013-04-21 David S. Miller <davem@davemloft.net>
18943 * po/ru.po: Update Russion translation from translation project.
18945 2013-04-17 Adam Conrad <adconrad@0c3.net>
18947 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18950 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18952 * configure.in: Remove i386 configure warning. Remove i386 case.
18953 * configure: Regenerate.
18954 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18955 Add example to error message.
18956 * sysdeps/i386/configure: Regenerate.
18958 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18960 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18962 * benchtests/cos-inputs: New file.
18963 * benchtests/slowcos-inputs: New file.
18964 * benchtests/slowcos.c: New file.
18965 * benchtests/slowtan-inputs: New file.
18966 * benchtests/slowtan.c: New file.
18967 * benchtests/tan-inputs: New file.
18969 2013-04-16 Roland McGrath <roland@hack.frob.com>
18971 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18974 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18976 * benchtests/Makefile: Include cppflags-iterator.mk to add
18977 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18979 * Makefile.in (bench-clean): New target.
18980 * benchtests/Makefile (bench-clean): Likewise.
18982 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18984 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18986 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18988 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18990 2013-04-15 Andreas Schwab <schwab@suse.de>
18992 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18994 * nscd/pwdcache.c (cache_addpw): Likewise.
18995 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18998 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19000 * benchtests/Makefile (bench): Write all output to
19001 bench-out.tmp together.
19003 2013-04-15 Andreas Schwab <schwab@suse.de>
19005 * nscd/nscd.c (main): Don't fork again after closing files.
19007 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19009 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19011 * benchtests/Rules (bench-deps): Collect dependencies into a
19012 single variable. Add Makefile to dependencies.
19013 ($(objpfx)bench-%.c): Depend on bench-deps.
19015 2013-04-12 Roland McGrath <roland@hack.frob.com>
19016 Xavier Roche <roche+kml2@exalead.com>
19019 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19020 just that it's a file descriptor.
19021 * manual/llio.texi (Synchronizing AIO Operations): Update description
19022 for EBADF error from aio_fsync.
19024 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19026 * Rules (bench): Move target definition...
19027 * benchtests/Makefile: ... here.
19029 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19031 * math/libm-test.inc (cos_test): Fix PI/2 test.
19032 (sincos_test): Likewise.
19033 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19034 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19036 2013-04-11 Andreas Schwab <schwab@suse.de>
19039 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19040 accept exponent character only when digits were seen.
19041 * stdio-common/Makefile (tests): Add bug26.
19042 * stdio-common/bug26.c: New file.
19045 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19048 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19050 * Makeconfig (rtld-prefix): Define built linker prefix.
19051 * Rules (run-bench): Use it.
19052 * math/Makefile (run-regen-ulps): Likewise.
19054 * Rules (bench): Remove eval.
19056 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19057 Roland McGrath <roland@hack.frob.com>
19058 Ondrej Bilka <neleai@seznam.cz>
19061 * time/getdate.c: Include ctype.h and alloca.h.
19062 (__getdate_r): Trim leading and trailing spaces of input.
19063 * time/tst-getdate.c (tests): Add tests with leading and
19066 2013-04-08 Roland McGrath <roland@hack.frob.com>
19069 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19070 when computing value.
19072 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19074 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19075 Use testrun.sh to run libm tests.
19078 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19080 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19083 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19085 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19087 * Makefile.in (regen-ulps): New target.
19088 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19089 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19090 [ifneq (no,$(PERL)] (regen-ulps): New target.
19091 [ifeq (no,$(PERL)] (regen-ulps): New target.
19092 * math/libm-test.inc (ulps_file_name): Define.
19093 (output_dir): New variable.
19094 (options): Add "output-dir" option.
19095 (parse_opt): Handle 'o' case.
19096 (main): If output_dir is non-NULL use it as a prefix
19098 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19100 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19102 [BZ #10060, #10062]
19103 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19104 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19105 fail configure if __sync_val_compare_and_swap is not inlined.
19106 * sysdeps/i386/configure: Regenerate.
19107 * configure.in: Build for i686 when configured for i386.
19108 * configure: Regenerate.
19109 * README: Remove i386 reference.
19111 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19113 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19114 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19116 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19118 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19119 (lmsnanval): New variables.
19120 (F): Add conversion tests.
19121 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19122 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19124 * stdio-common/tstdiomisc.c (F): Properly collect individual
19127 [BZ #14686, #15336]
19128 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19129 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19130 Instead, use input NaN values or generate a qNaN by arithmetic
19131 operation. Also fix bugs to comply with the standard.
19132 * math/libm-test.inc (remainder_test): Add more tests.
19134 [BZ #15335, #15342]
19135 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19136 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19137 input NaN values or generate a qNaN by arithmetic operation.
19139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19142 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19145 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19148 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19149 underflowed result.
19150 * math/s_cexpf.c (__cexpf): Likewise.
19151 * math/s_cexpl.c (__cexpl): Likewise.
19152 * math/libm-test.inc (cexp_test): Add more tests.
19154 2013-04-03 Andreas Schwab <schwab@suse.de>
19157 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19158 order arrays from heap if bigger than alloca cutoff.
19160 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19162 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19163 (SNAN_TESTS_double): Refer to GCC PR56831.
19164 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19167 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19169 * Rules (bench): Move bench.out after the run is complete.
19171 * Rules (bench): Echo currently running benchmark.
19173 * benchtests/Makefile (bench): Add atan and slowatan.
19174 * benchtests/atan-inputs: New file.
19175 * benchtests/slowatan-inputs: New file.
19176 * benchtests/slowatan.c: New file.
19178 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19179 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19183 * sysdeps/unix/sysv/linux/kernel-features.h
19184 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19185 __ASSUME_XFS_RESTRICTED_CHOWN.
19186 * sysdeps/unix/sysv/linux/pathconf.c
19187 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19188 Save and restore errno.
19190 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19193 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19194 arguments using __kernel_casinh.
19195 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19196 arguments using __kernel_casinhf.
19197 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19198 arguments using __kernel_casinhl.
19199 * math/libm-test.inc (cacosh_test): Add more tests.
19200 * sysdeps/i386/fpu/libm-test-ulps: Update.
19201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19203 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19205 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19208 * bench/Makefile (bench): Add sin and slowsin.
19209 * benchtests/sin-inputs: New file.
19210 * benchtests/slowsin-inputs: New file.
19211 * benchtests/slowsin.c: New file.
19213 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19214 (bench): Add slowexp and slowpow.
19215 (exp-ITER): Increase iterations.
19216 (pow-ITER): Likewise.
19217 * benchtests/exp-inputs: Change input.
19218 * benchtests/pow-inputs: Likewise.
19219 * benchtests/slowexp-inputs: New file.
19220 * benchtests/slowexp.c: New file.
19221 * benchtests/slowpow-inputs: New file.
19222 * benchtests/slowpow.c: New file.
19224 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19226 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19228 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19229 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19230 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19231 * benchtests/Makefile: Add rint benchtest.
19232 * benchtests/rint-inputs: Input for rint benchtest.
19234 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19236 * Versions.def (libm): Add GLIBC_2.18.
19237 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19238 hidden libm prototypes.
19239 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19240 * math/Makefile (libm-calls): Add s_issignaling.
19241 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19242 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19243 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19245 * math/math.h [__USE_GNU] (issignaling): New macro.
19246 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19247 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19248 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19249 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19250 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19251 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19252 * manual/arith.texi (issignaling): New section.
19253 * manual/libm-err-tab.pl (@all_functions): Update comment.
19254 * math/gen-libm-test.pl (parse_args): Apply special handling for
19256 * math/libm-test.inc (print_float, issignaling_test): New
19258 (check_float_internal): Add issignaling checks.
19259 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19260 default definition.
19261 * sysdeps/powerpc/math-tests.h: New file.
19262 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19264 * math/test-snan.c (TEST_FUNC): Likewise.
19266 2013-03-30 David S. Miller <davem@davemloft.net>
19268 * po/de.po: Update from translation team.
19270 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19273 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19274 imaginary part less than 1.0 and real part less than 0.5
19276 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19277 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19278 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19279 (cacos_test): Add more tests.
19280 (casin_test): Likewise.
19281 (casinh_test): Likewise.
19282 * sysdeps/i386/fpu/libm-test-ulps: Update.
19283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19285 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19287 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19288 ONE with its value.
19290 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19291 (__pow_mp): Replace ONE and MONE with their values.
19292 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19293 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19294 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19295 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19296 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19297 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19299 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19301 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19302 (__pow_mp): Replace ZERO and MZERO with their values.
19303 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19304 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19305 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19307 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19308 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19311 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19313 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19315 2013-03-28 Roland McGrath <roland@hack.frob.com>
19317 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19318 Declare with __attribute__ ((weak)).
19319 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19320 Call __call_tls_dtors only if it's not NULL.
19322 2013-03-28 Roland McGrath <roland@hack.frob.com>
19324 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19325 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19326 magic __ehdr_start linker symbol if it's defined.
19327 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19328 them up here if it was already done.
19330 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19331 (_dl_aux_init): Use const in cast when setting it.
19332 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19333 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19334 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19336 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19338 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19339 * csu/libc-tls.c: Nor here.
19340 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19342 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19343 (__libc_message): Never call vsyslog.
19345 2013-03-28 Alan Modra <amodra@gmail.com>
19347 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19349 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19352 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19355 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19359 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19362 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19363 Don't add gid passed as argument.
19365 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19367 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19370 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19371 imaginary part between 1.0 and 1.5 and real part less than 0.5
19373 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19374 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19375 * math/libm-test.inc (cacos_test): Add more tests.
19376 (casin_test): Likewise.
19377 (casinh_test): Likewise.
19378 * sysdeps/i386/fpu/libm-test-ulps: Update.
19379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19381 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19383 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19386 (denorm): Likewise.
19387 (__dbl_mp): Likewise.
19388 (add_magnitudes): Likewise.
19389 (sub_magnitudes): Likewise.
19397 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19399 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19400 (__dubcos): Likewise.
19401 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19402 (__ieee754_acos): Likewise.
19403 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19404 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19405 (__exp1): Likewise.
19406 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19407 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19409 (my_log2): Likewise.
19410 (checkint): Likewise.
19411 * sysdeps/ieee754/dbl-64/e_remainder.c
19412 (__ieee754_remainder): Likewise.
19413 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19414 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19415 (bsloww): Likewise.
19416 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19418 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19419 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19420 MANTISSA_STORE_T to store computations on mantissa. Use
19421 macros for rounding and division.
19422 (denorm): Likewise.
19423 (__dbl_mp): Likewise.
19424 (add_magnitudes): Likewise.
19425 (sub_magnitudes): Likewise.
19428 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19429 powers of two in terms of TWOPOW macro.
19430 (mp_no): Make type of mantissa as MANTISSA_T.
19431 [!RADIXI]: Define RADIXI.
19432 [!TWO52]: Define TWO52.
19433 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19435 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19437 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19438 llroundl symbol when building for PPC32.
19440 2013-03-24 Mark H Weaver <mhw@netris.org>
19442 * manual/arith.texi (Normalization Functions): Fix prototypes for
19443 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19445 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19448 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19449 high value to check if expl overflow.
19450 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19451 to check for underflow and overflow.
19452 * math/libm-test.inc: Add exp test.
19454 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19457 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19460 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19462 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19465 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19467 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19468 wrap blocks consisting of several statements.
19470 * sysdeps/generic/math-tests.h: New file.
19471 * sysdeps/i386/fpu/math-tests.h: Likewise.
19472 * math/test-snan.c: Include it.
19473 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19475 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19478 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19479 (__ieee754_j0l): Do not improve calculations using cos of twice
19480 input for inputs above LDBL_MAX / 2.0L.
19481 (__ieee754_y0l): Likewise.
19482 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19483 (__ieee754_j1l): Do not improve calculations using cos of twice
19484 input for inputs above LDBL_MAX / 2.0L.
19485 (__ieee754_y1l): Likewise.
19486 * math/libm-test.inc (j0_test): Add another test.
19487 (j1_test): Likewise.
19488 (y0_test): Likewise.
19489 (y1_test): Likewise.
19490 * sysdeps/i386/fpu/libm-test-ulps: Update.
19492 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19494 * Rules ($(objpfx)bench-%.c): Include code from a C source
19497 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19500 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19501 imaginary part 1.0 and real part less than 0.5 specially.
19502 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19503 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19504 * math/libm-test.inc (cacos_test): Add more tests.
19505 (casin_test): Likewise.
19506 (casinh_test): Likewise.
19507 * sysdeps/i386/fpu/libm-test-ulps: Update.
19508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19510 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19512 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19513 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19515 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19517 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19518 * config.make.in (config-cflags-sse4): Remove variable.
19519 (config-cflags-avx): Likewise.
19520 (config-cflags-sse2avx): Likewise.
19521 (config-cflags-novzeroupper): Likewise.
19522 (config-asflags-i686): Likewise.
19523 (have-mfma4): Likewise.
19524 (have-as-vis3): Likewise.
19526 * configure.in (MIG): Do not AC_SUBST.
19527 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19528 (libc_cv_cc_sse4): Do not AC_SUBST.
19529 (libc_cv_cc_avx): Likewise.
19530 (libc_cv_cc_sse2avx): Likewise.
19531 (libc_cv_cc_novzeroupper): Likewise.
19532 (libc_cv_cc_fma4): Likewise.
19533 (libc_cv_as_i686): Likewise.
19534 (libc_cv_sparc_as_vis3): Likewise.
19535 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19537 (config-asflags-i686): Likewise.
19538 (config-cflags-avx): Likewise.
19539 (config-cflags-sse2avx): Likewise.
19540 (have-mfma4): Likewise.
19541 (config-cflags-novzeroupper): Likewise.
19542 * sysdeps/mach/configure.in (MIG): Likewise.
19543 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19544 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19546 (config-cflags-avx): Likewise.
19547 (config-cflags-sse2avx): Likewise.
19548 (have-mfma4): Likewise.
19549 (config-cflags-novzeroupper): Likewise.
19550 * configure: Regenerated.
19551 * sysdeps/i386/configure: Likewise.
19552 * sysdeps/mach/configure: Likewise.
19553 * sysdeps/sparc/configure: Likewise.
19554 * sysdeps/x86_64/configure: Likewise.
19556 2013-03-20 Roland McGrath <roland@hack.frob.com>
19559 * locale/programs/localedef.c (options): Put N_ translation marker
19560 on argument names, not just descriptions.
19562 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19564 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19566 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19569 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19571 2013-03-19 Roland McGrath <roland@hack.frob.com>
19573 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19574 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19575 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19576 [!BEFORE_ABORT] (before_abort): New function.
19577 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19578 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19579 (writev_for_fatal): New function.
19580 (WRITEV_FOR_FATAL): New macro; call that.
19581 (backtrace_and_maps): New function.
19582 (BEFORE_ABORT): New macro; call that.
19583 (struct str_list): Type removed.
19584 (__libc_message, __libc_fatal): Functions removed.
19585 Include <sysdeps/posix/libc_fatal.c> instead.
19587 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19589 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19591 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19594 2013-03-19 Andreas Schwab <schwab@suse.de>
19596 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19597 * sysdeps/gnu/configure: Regenerate.
19599 * configure.in: Substitute libc_cv_rtlddir.
19600 * configure: Regenerate.
19601 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19602 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19603 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19604 * elf/Makefile (install-others, CFLAGS-interp.c)
19605 (ldso_install, common-ldd-rewrite): Likewise.
19606 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19607 $(inst_slibdir)/$(rtld-installed-name).
19608 * scripts/rellns-sh: Add -p option.
19609 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19612 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19614 * manual/nptl.texi: Renamed to ...
19615 * manual/threads.texi: ... this.
19616 * manual/Makefile (chapters): Update.
19618 2013-03-18 Roland McGrath <roland@hack.frob.com>
19621 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19622 on argument names, not just descriptions.
19623 * malloc/memusagestat.c (options): Likewise.
19624 * nss/getent.c (options): Likewise.
19626 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19629 * iconv/iconv_prog.c (options): Put N_ translation marker
19630 on argument names, not just descriptions.
19631 * iconv/iconvconfig.c (options): Likewise.
19633 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19635 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19636 implementation which is faster on all x86_64 architectures.
19637 Tested on AMD, Intel Nehalem, SNB, IVB.
19638 * sysdeps/x86_64/strnlen.S: Likewise.
19640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19641 Remove all multiarch strlen and strnlen versions.
19642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19643 Remove strlen and strnlen related parts.
19645 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19646 Inline strlen part.
19647 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19649 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19650 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19651 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19652 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19653 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19654 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19656 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19658 * manual/memory.texi (Malloc Tunable Parameters):
19659 Sort parameters alphabetically. Add comments for missing entries.
19661 2013-03-17 David S. Miller <davem@davemloft.net>
19663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19665 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19668 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19669 for arguments at most half maximum finite value.
19670 * math/libm-test.inc (j0_test): Add more tests.
19671 (j1_test): Likewise.
19672 (y0_test): Likewise.
19673 (y1_test): Likewise.
19674 * sysdeps/i386/fpu/libm-test-ulps: Update.
19675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19678 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19679 1 / x and functions P and Q for arguments above 0x1p256L.
19680 (__ieee754_y0l): Likewise.
19681 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19682 (__ieee754_y1l): Likewise.
19683 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19684 (j1_test): Likewise.
19685 (y0_test): Likewise.
19686 (y1_test): Likewise.
19688 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19690 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19693 2013-03-15 Roland McGrath <roland@hack.frob.com>
19695 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19696 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19697 zero since it's initialized to EXEC_PAGESIZE.
19699 * sysdeps/unix/sysv/linux/ldsodefs.h
19700 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19701 * sysdeps/generic/ldsodefs.h: ... here.
19703 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19705 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19707 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19709 * math/test-snan.c: Renamed from
19710 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19711 * math/Makefile (tests): Add test-snan.
19712 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19715 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19716 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19718 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19719 __builtin_nan family of functions.
19720 * math/libm-test.inc (initialize): Initialize qnan_value with
19721 __builtin_nan family of functions.
19722 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19724 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19726 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19727 storage class. Initialize qNaN_var and sNaN_var with
19728 __builtin_nan and __builtin_nans families of functions,
19731 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19732 (sqrt_test): Remove duplicate test with qNaN input.
19733 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19734 (round_test, signbit_test, significand_test): Note missing +/-Inf
19735 as well as qNaN tests.
19737 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19738 qNaN_var. Fix a few strings, too.
19739 * math/libm-test.inc (nan_value): Rename to qnan_value.
19740 * math/gen-libm-test.pl (%beautify): Adjust to that.
19741 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19742 * math/test-misc.c (main): Likewise.
19743 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19744 to __qnan_bytes, and __qnan_union, respectively.
19745 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19747 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19748 and lqnanval, respectively.
19749 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19750 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19751 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19752 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19754 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19755 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19758 * math/test-misc.c (main): Fix copy'n'pastos.
19759 * misc/tst-efgcvt.c (special): Likewise.
19761 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19762 Remove declarations.
19764 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19766 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19767 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19768 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19769 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19771 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19773 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19774 macro to return vdso values correctly in IFUNC implementations.
19775 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19776 Optimization by using IFUNC.
19778 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19779 Richard Henderson <rth@redhat.com>
19780 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19782 * Makefile.in (bench): New target.
19783 * NEWS: Mention the benchmark framework.
19784 * Rules (bench): Likewise.
19785 (binaries-bench): Generate binaries for functions to
19787 * benchtests/Makefile: New makefile for benchmark tests.
19788 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19790 * benchtests/exp-inputs: New input file for EXP function.
19791 * benchtests/pow-inputs: New input file for POW function.
19792 * scripts/bench.pl: New script to generate source files for
19793 benchmark programs.
19795 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19797 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19798 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19799 computations on mantissa. Use macros for rounding and
19801 (denorm): Likewise.
19802 (__dbl_mp): Likewise.
19803 (add_magnitudes): Likewise.
19804 (sub_magnitudes): Likewise.
19807 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19808 powers of two in terms of TWOPOW macro.
19809 (mp_no): Make type of mantissa as MANTISSA_T.
19810 [!RADIXI]: Define RADIXI.
19811 [!TWO52]: Define TWO52.
19812 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19814 * manual/nptl.texi (cindex): Modify threads to pthreads.
19816 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19818 * sysdeps/x86_64/preconfigure: Regenerated.
19820 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19823 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19825 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19826 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19828 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19829 * math/libm-test.inc (j0_test): Do not allow one spurious
19830 underflow exception.
19831 (y1_test): Likewise.
19833 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19835 * manual/Makefile (chapters): Add nptl.
19836 * manual/debug.texi (Debugging Support): Add link to Threads
19838 * manual/nptl.texi: New file.
19840 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19842 2013-03-14 Petr Baudis <pasky@ucw.cz>
19844 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19845 for non-NULL pointer before the memory validity test. Pointed
19846 out by Holger Brunck <holger.brunck@keymile.com>.
19848 2013-03-13 Andreas Schwab <schwab@suse.de>
19850 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19853 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19855 * timezone/zic.c: Update from tzcode 2013b.
19857 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19859 * manual/install.texi (Configuring and compiling):
19860 Mention i686 and i586.
19861 * INSTALL: Regenerate.
19863 2013-03-12 Roland McGrath <roland@hack.frob.com>
19865 * sysdeps/init_array/elf-init.c: New file.
19867 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19868 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19870 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19871 __gmon_start__ as global, but as static with a .preinit_array pointer.
19872 * sysdeps/init_array/gmon-start.c: New file. Use that.
19873 * sysdeps/init_array/crti.S: New file, empty except for comments.
19874 * sysdeps/init_array/crtn.S: Likewise.
19876 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19878 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19881 Remove Prefer_SSE_for_memop.
19882 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19883 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19884 HAS_PREFER_SSE_FOR_MEMOP.
19885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19888 Remove bzero, memset ifunc support.
19889 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19890 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19891 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19892 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19894 2013-03-11 Andreas Schwab <schwab@suse.de>
19897 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19900 (GLIBC_2.16): Remove pthread_atfork.
19902 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19904 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19905 (ptestcases.h): Likewise.
19907 2013-03-08 Roland McGrath <roland@hack.frob.com>
19909 * Makeconfig ($(common-objpfx)config.status): Depend on
19910 sysdeps/*/preconfigure{,.in} too.
19912 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19914 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19915 (__free_hook): Use void * instead of __malloc_ptr_t.
19916 (__malloc_hook): Likewise.
19917 (__realloc_hook): Likewise.
19918 (__memalign_hook): Likewise.
19919 (__after_morecore_hook): Likewise.
19920 * malloc/arena.c (save_malloc_hook): Likewise.
19921 (save_free_hook): Likewise.
19922 * malloc/hooks.c (malloc_hook_ini): Likewise.
19923 (realloc_hook_ini): Likewise.
19924 (memalign_hook_ini): Likewise.
19925 * malloc/malloc.c (malloc_hook_ini): Likewise.
19926 (realloc_hook_ini): Likewise.
19927 (memalign_hook_ini): Likewise.
19928 (__free_hook): Likewise.
19929 (__malloc_hook): Likewise.
19930 (__realloc_hook): Likewise.
19931 (__memalign_hook): Likewise.
19932 (__libc_malloc): Likewise.
19933 (__libc_free): Likewise.
19934 (__libc_realloc): Likewise.
19935 (__libc_memalign): Likewise.
19936 (__libc_valloc): Likewise.
19937 (__libc_pvalloc): Likewise.
19938 (__libc_calloc): Likewise.
19939 (__posix_memalign): Likewise.
19940 * malloc/morecore.c (__sbrk): Likewise.
19941 (__default_morecore): Likewise.
19943 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19945 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19946 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19947 __malloc_ptrdiff_t.
19949 * malloc/malloc.h (__malloc_size_t): Remove macro.
19950 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19952 (old_memalign_hook): Likewise.
19953 (old_realloc_hook): Likewise.
19954 (struct hdr): Likewise.
19956 (mallochook): Likewise.
19957 (memalignhook): Likewise.
19958 (reallochook): Likewise.
19959 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19960 (tr_old_realloc_hook): Likewise.
19961 (tr_old_memalign_hook): Likewise.
19962 (tr_mallochook): Likewise.
19963 (tr_reallochook): Likewise.
19964 (tr_memalignhook): Likewise.
19966 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19968 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19969 default_ldbl_pack and using as default implementation.
19970 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19972 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19973 redundant definition.
19974 (ldbl_insert_mantissa): Likewise.
19975 (ldbl_canonicalize): Likewise.
19976 (ldbl_nearbyint): Likewise.
19977 (ldbl_pack): Rename to ldbl_pack_ppc.
19978 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19979 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19980 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19982 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19985 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19986 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19987 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19989 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19990 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19991 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19993 2013-03-07 Andreas Jaeger <aj@suse.de>
19995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19998 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20000 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20001 Include mpa.h and declare __MPEXP.
20002 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20003 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20004 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20005 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20006 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20007 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20008 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20010 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20011 (__slowpow): Use long double EXPL and LOGL functions to
20013 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20014 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20015 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20016 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20017 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20018 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20021 intermediate variable to calculate exponent.
20023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20027 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20028 [!NO__SQR]: Define __sqr.
20029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20030 and NO__SQR. Remove all code except __mul and __sqr. Include
20031 sysdeps/ieee754/dbl-64/mpa.c.
20032 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20035 * posix/Makefile (tests): Add tst-pathconf.
20036 * posix/tst-pathconf.c: New test case.
20037 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20039 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20041 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20043 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20045 2013-03-06 Andreas Jaeger <aj@suse.de>
20047 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20048 definition via __MAP_ANONYMOUS.
20050 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20051 it's not part of Linux headers.
20053 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20054 (MAP_HUGE_MASK): Define.
20056 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20058 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20059 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20061 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20062 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20064 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20065 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20067 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20069 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20070 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20071 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20072 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20073 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20074 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20076 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20079 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20080 Handle f2fs and efivarfs.
20082 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20085 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20086 (EFIVARFS_MAGIC): Add.
20087 (F2FS_LINK_MAX): Add.
20089 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20091 * stdio-common/vfprintf.c: Replace __builtin_expect with
20094 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20097 * sysdeps/generic/bp-sym.h: Remove file.
20098 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20099 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20100 <bp-sym.h> and <bp-asm.h>.
20101 (__longjmp): Don't use BP_SYM.
20102 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20104 (memcpy): Don't use BP_SYM.
20105 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20106 <bp-sym.h> and <bp-asm.h>.
20107 (memcpy): Don't use BP_SYM.
20108 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20110 (memcpy): Don't use BP_SYM.
20111 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20113 (memset): Don't use BP_SYM.
20114 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20115 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20116 (__bzero): Don't use BP_SYM.
20117 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20118 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20119 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20120 <bp-sym.h> and <bp-asm.h>.
20121 (memcmp): Don't use BP_SYM. Remove comment about bounded
20123 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20124 <bp-sym.h> and <bp-asm.h>.
20125 (memcpy): Don't use BP_SYM.
20126 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20127 <bp-sym.h> and <bp-asm.h>.
20128 (memset): Don't use BP_SYM.
20129 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20130 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20131 (__bzero): Don't use BP_SYM.
20132 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20133 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20134 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20135 <bp-sym.h> and <bp-asm.h>.
20136 (strncmp): Don't use BP_SYM. Remove comment about bounded
20138 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20139 <bp-sym.h> and <bp-asm.h>.
20140 (memcpy): Don't use BP_SYM.
20141 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20142 <bp-sym.h> and <bp-asm.h>.
20143 (memset): Don't use BP_SYM.
20144 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20145 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20146 (__bzero): Don't use BP_SYM.
20147 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20148 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20149 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20150 <bp-sym.h> and <bp-asm.h>.
20151 (__memchr): Don't use BP_SYM.
20152 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20153 <bp-sym.h> and <bp-asm.h>.
20154 (memcmp): Don't use BP_SYM. Remove comment about bounded
20156 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20157 <bp-sym.h> and <bp-asm.h>.
20158 (memcpy): Don't use BP_SYM.
20159 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20160 <bp-sym.h> and <bp-asm.h>.
20161 (__mempcpy): Don't use BP_SYM.
20162 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20163 <bp-sym.h> and <bp-asm.h>.
20164 (__memrchr): Don't use BP_SYM.
20165 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20166 <bp-sym.h> and <bp-asm.h>.
20167 (memset): Don't use BP_SYM.
20168 (__bzero): Likewise.
20169 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20170 <bp-sym.h> and <bp-asm.h>.
20171 (__rawmemchr): Don't use BP_SYM.
20172 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20173 <bp-sym.h> and <bp-asm.h>.
20174 (__STRCMP): Don't use BP_SYM.
20175 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20176 <bp-sym.h> and <bp-asm.h>.
20177 (strchr): Don't use BP_SYM.
20178 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20179 <bp-sym.h> and <bp-asm.h>.
20180 (__strchrnul): Don't use BP_SYM.
20181 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20182 <bp-sym.h> and <bp-asm.h>.
20183 (strlen): Don't use BP_SYM.
20184 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20185 <bp-sym.h> and <bp-asm.h>.
20186 (strncmp): Don't use BP_SYM. Remove comment about bounded
20188 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20189 <bp-sym.h> and <bp-asm.h>.
20190 (__strnlen): Don't use BP_SYM.
20191 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20192 <bp-sym.h> and <bp-asm.h>.
20193 (__GI__setjmp): Don't use BP_SYM.
20194 (_setjmp): Likewise.
20195 (__sigsetjmp): Likewise.
20196 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20197 (L(start_addresses)): Don't use BP_SYM.
20198 (_start): Likewise.
20199 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20201 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20202 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20203 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20204 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20205 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20207 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20208 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20209 about bounded pointers.
20210 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20211 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20212 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20214 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20215 about bounded pointers. Remove GKM FIXME comments.
20216 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20217 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20219 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20220 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20221 Remove GKM FIXME comments.
20222 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20223 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20224 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20226 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20227 about bounded pointers. Remove GKM FIXME comment.
20228 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20230 (strncmp): Don't use BP_SYM. Remove comment about bounded
20232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20233 <bp-sym.h> and <bp-asm.h>.
20234 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20236 <bp-sym.h> and <bp-asm.h>.
20237 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20240 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20242 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20245 2013-03-05 David S. Miller <davem@davemloft.net>
20247 * po/es.po: Update from translation team.
20249 2013-03-05 Andreas Jaeger <aj@suse.de>
20251 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20252 <bits/mman-linux.h>.
20253 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20255 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20256 <bits/mman-linux.h> to end of file.
20257 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20259 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20260 <bits/mman-linux.h> to end of file.
20261 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20263 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20264 <bits/mman-linux.h> to end of file.
20266 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20267 (MCL_CURRENT, MCL_FUTURE): Define here.
20269 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20272 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20274 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20276 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20278 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20279 fourth parameter needed for rt_sigprocmask syscall.
20280 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20281 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20282 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20283 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20284 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20285 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20287 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20290 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20291 comment about bounded pointers.
20292 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20293 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20295 2013-03-04 Andreas Jaeger <aj@suse.de>
20297 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20298 common definitions.
20300 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20301 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20302 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20303 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20304 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20305 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20307 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20310 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20311 __ieee754_sqrl instead of __sqrl.
20313 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20315 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20316 * sysdeps/powerpc/fpu_control.h: ... here.
20317 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20318 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20319 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20320 * sysdeps/powerpc/bits/mathinline.h: ... here.
20322 2013-03-01 Roland McGrath <roland@hack.frob.com>
20324 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20325 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20326 to just [NEED_DL_SYSINFO_DSO].
20327 * elf/dl-support.c: Likewise.
20328 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20329 * elf/rtld.c (dl_main): Likewise.
20330 * elf/setup-vdso.h (setup_vdso): Likewise.
20331 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20332 * sysdeps/unix/sysv/linux/dl-sysdep.c
20333 (_dl_discover_osversion): Likewise.
20335 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20337 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20338 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20340 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20342 * NEWS: Mention libm performance improvements and non-x86 PI
20345 * csu/libc-start.c (__pthread_initialize_minimal): Change
20346 function arguments.
20347 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20349 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20352 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20353 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20354 <bp-sym.h> and <bp-asm.h>.
20355 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20356 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20358 (memcpy): Don't use BP_SYM.
20359 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20361 (__mpn_add_n): Don't use BP_SYM.
20362 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20363 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20365 (__mpn_addmul_1): Don't use BP_SYM.
20366 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20367 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20369 (_setjmp): Don't use BP_SYM.
20370 (__novmx_setjmp): Likewise.
20371 (__GI__setjmp): Likewise.
20372 (__vmx_setjmp): Likewise.
20373 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20375 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20376 (__bzero): Don't use BP_SYM.
20377 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20378 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20379 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20380 <bp-sym.h> and <bp-asm.h>.
20381 (memcpy): Don't use BP_SYM.
20382 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20383 <bp-sym.h> and <bp-asm.h>.
20384 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20385 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20386 <bp-sym.h> and <bp-asm.h>.
20387 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20388 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20390 (__mpn_lshift): Don't use BP_SYM.
20391 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20392 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20394 (memset): Don't use BP_SYM.
20395 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20396 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20397 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20399 (__mpn_mul_1): Don't use BP_SYM.
20400 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20401 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20402 <bp-sym.h> and <bp-asm.h>.
20403 (memcmp): Don't use BP_SYM.
20404 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20405 <bp-sym.h> and <bp-asm.h>.
20406 (memcpy): Don't use BP_SYM.
20407 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20408 <bp-sym.h> and <bp-asm.h>.
20409 (memset): Don't use BP_SYM.
20410 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20411 <bp-sym.h> and <bp-asm.h>.
20412 (strncmp): Don't use BP_SYM.
20413 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20414 <bp-sym.h> and <bp-asm.h>.
20415 (memcpy): Don't use BP_SYM.
20416 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20417 <bp-sym.h> and <bp-asm.h>.
20418 (memset): Don't use BP_SYM.
20419 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20420 <bp-sym.h> and <bp-asm.h>.
20421 (__memchr): Don't use BP_SYM.
20422 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20423 <bp-sym.h> and <bp-asm.h>.
20424 (memcmp): Don't use BP_SYM.
20425 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20426 <bp-sym.h> and <bp-asm.h>.
20427 (memcpy): Don't use BP_SYM.
20428 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20429 <bp-sym.h> and <bp-asm.h>.
20430 (__mempcpy): Don't use BP_SYM.
20431 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20432 <bp-sym.h> and <bp-asm.h>.
20433 (__memrchr): Don't use BP_SYM.
20434 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20435 <bp-sym.h> and <bp-asm.h>.
20436 (memset): Don't use BP_SYM.
20437 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20438 <bp-sym.h> and <bp-asm.h>.
20439 (__rawmemchr): Don't use BP_SYM.
20440 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20441 <bp-sym.h> and <bp-asm.h>.
20442 (__STRCMP): Don't use BP_SYM.
20443 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20444 <bp-sym.h> and <bp-asm.h>.
20445 (strchr): Don't use BP_SYM.
20446 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20447 <bp-sym.h> and <bp-asm.h>.
20448 (__strchrnul): Don't use BP_SYM.
20449 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20450 <bp-sym.h> and <bp-asm.h>.
20451 (strlen): Don't use BP_SYM.
20452 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20453 <bp-sym.h> and <bp-asm.h>.
20454 (strncmp): Don't use BP_SYM.
20455 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20456 <bp-sym.h> and <bp-asm.h>.
20457 (__strnlen): Don't use BP_SYM.
20458 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20460 (__mpn_rshift): Don't use BP_SYM.
20461 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20462 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20463 <bp-sym.h> and <bp-asm.h>.
20464 (__sigsetjmp): Don't use BP_SYM.
20465 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20466 (L(start_addresses)): Don't use BP_SYM.
20467 (_start): Likewise.
20468 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20470 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20471 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20472 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20473 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20475 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20476 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20477 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20478 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20480 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20482 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20483 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20485 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20487 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20488 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20489 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20491 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20493 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20495 (strncmp): Don't use BP_SYM,
20496 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20498 (__mpn_sub_n): Don't use BP_SYM.
20499 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20500 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20502 (__mpn_submul_1): Don't use BP_SYM.
20503 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20505 <bp-sym.h> and <bp-asm.h>.
20506 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20508 <bp-sym.h> and <bp-asm.h>.
20509 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20512 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20515 Use ZK to minimize writes to Z.
20516 (sub_magnitudes): Simplify code a bit.
20517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20518 Use ZK to minimize writes to Z.
20519 (sub_magnitudes): Simplify code a bit.
20521 2013-02-27 Roland McGrath <roland@hack.frob.com>
20523 * csu/gmon-start.c: Add special exception to license text.
20525 2013-02-27 Richard Henderson <rth@redhat.com>
20527 * scripts/config.guess: Update from config.git.
20528 * scripts/config.sub: Likewise.
20530 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20532 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20534 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20536 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20538 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20540 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20542 2013-02-26 Roland McGrath <roland@hack.frob.com>
20544 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20545 [$(build-shared = yes].
20547 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20549 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20550 (__mul): Reduce iterations for calculating mantissa.
20552 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20554 (__mpranred): Likewise.
20557 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20558 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20560 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20562 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20563 Define __attribute__.
20565 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20567 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20569 * posix/regex_internal.h (__attribute): Remove.
20570 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20571 (re_string_context_at): Likewise.
20572 (bitset_not): Use __attribute__ and mark function as possibly
20574 (bitset_merge): Likewise.
20575 (bitset_mask): Likewise.
20576 (re_string_char_size_at): Likewise.
20577 (re_string_wchar_at): Likewise.
20578 (re_string_elem_size_at): Likewise.
20580 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20582 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20586 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20590 (denorm): Likewise.
20591 (__dbl_mp): Likewise.
20592 (add_magnitudes): Likewise.
20593 (sub_magnitudes): Likewise.
20597 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20600 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20603 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20607 up changes with default code.
20608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20611 2013-02-24 Allan McRae <allan@archlinux.org>
20613 * manual/socket.texi (The Internet Namespace): Order menu items
20614 to match that in the file.
20616 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20617 node listing of the info page menu.
20619 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20622 * sysdeps/i386/bp-asm.h: Remove file.
20623 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20624 (PARMS): Do not use macros from bp-asm.h.
20628 (__mpn_add_n): Do not use BP_SYM
20629 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20631 (PARMS): Do not use macros from bp-asm.h.
20634 (__mpn_addmul_1): 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/bsd-setjmp.S: Do not include "bp-sym.h" and
20642 (PARMS): Do not use macros from bp-asm.h.
20643 (SIGMSK): Likewise.
20644 (setjmp): Likewise. Do not use BP_SYM.
20645 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20647 (PARMS): Do not use macros from bp-asm.h.
20648 (__frexp): Do not use BP_SYM.
20650 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20652 (PARMS): Do not use macros from bp-asm.h.
20653 (__frexpf): Do not use BP_SYM.
20654 (frexpf): Likewise.
20655 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20657 (PARMS): Do not use macros from bp-asm.h.
20658 (__frexpl): Do not use BP_SYM.
20659 (frexpl): Likewise.
20660 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20662 (PARMS): Do not use macros from bp-asm.h.
20663 (__remquo): Do not use BP_SYM.
20664 (remquo): Likewise.
20665 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20667 (PARMS): Do not use macros from bp-asm.h.
20668 (__remquof): Do not use BP_SYM.
20669 (remquof): Likewise.
20670 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20672 (PARMS): Do not use macros from bp-asm.h.
20673 (__remquol): Do not use BP_SYM.
20674 (remquol): Likewise.
20675 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20677 (PARMS): Do not use macros from bp-asm.h.
20680 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20681 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20683 (PARMS): Do not use macros from bp-asm.h.
20684 (strlen): Do not use BP_SYM.
20685 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20687 (PARMS): Do not use macros from bp-asm.h.
20691 (__mpn_add_n): Do not use BP_SYM.
20692 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20694 (PARMS): Do not use macros from bp-asm.h.
20697 (__mpn_addmul_1): Do not use BP_SYM.
20698 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20701 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20703 (PARMS): Do not use macros from bp-asm.h.
20706 (__mpn_lshift): Do not use BP_SYM.
20707 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20709 (PARMS): Do not use macros from bp-asm.h.
20713 (memcpy): Likewise. Do not use BP_SYM.
20714 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20715 libc_hidden_def and weak_alias.
20716 (mempcpy): Do not use BP_SYM in weak_alias.
20717 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20719 (PARMS): Do not use macros from bp-asm.h.
20722 [!BZERO_P] (CHR): Likewise.
20723 (memset): Likewise. Do not use BP_SYM.
20724 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20726 (PARMS): Do not use macros from bp-asm.h.
20729 (__mpn_mul_1): Do not use BP_SYM.
20730 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20732 (PARMS): Do not use macros from bp-asm.h.
20735 (__mpn_rshift): Do not use BP_SYM.
20736 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20738 (PARMS): Do not use macros from bp-asm.h.
20741 (strchr): Likewise. Do not use BP_SYM.
20742 (index): Do not use BP_SYM in weak_alias.
20743 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20745 (PARMS): Do not use macros from bp-asm.h.
20748 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20749 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20751 (PARMS): Do not use macros from bp-asm.h.
20752 (strlen): Do not use BP_SYM.
20753 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20755 (PARMS): Do not use macros from bp-asm.h.
20759 (__mpn_sub_n): Do not use BP_SYM.
20760 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20762 (PARMS): Do not use macros from bp-asm.h.
20765 (__mpn_submul_1): Do not use BP_SYM.
20766 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20768 (PARMS): Do not use macros from bp-asm.h.
20772 (__mpn_add_n): Do not use BP_SYM.
20773 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20776 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20778 (PARMS): Do not use macros from bp-asm.h.
20781 (memcmp): Do not use BP_SYM.
20782 (bcmp): Do not use BP_SYM in weak_alias.
20783 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20785 (PARMS): Do not use macros from bp-asm.h.
20789 (memcpy): Likewise. Do not use BP_SYM.
20790 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20792 (PARMS): Do not use macros from bp-asm.h.
20796 (memmove): Likewise. Do not use BP_SYM.
20797 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20799 (PARMS): Do not use macros from bp-asm.h.
20803 (__mempcpy): Likewise. Do not use BP_SYM.
20804 (mempcpy): Do not use BP_SYM in weak_alias.
20805 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20807 (PARMS): Do not use macros from bp-asm.h.
20810 [!BZERO_P] (CHR): Likewise.
20811 (memset): Likewise. Do not use BP_SYM.
20812 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20814 (PARMS): Do not use macros from bp-asm.h.
20816 (strcmp): Do not use BP_SYM.
20817 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20819 (PARMS): Do not use macros from bp-asm.h.
20822 [USE_AS_STRTOK_R] (SAVE): Likewise.
20823 (FUNCTION): Likewise. Do not use BP_SYM.
20824 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20826 (strtok_r): Likewise.
20827 (__GI___strtok_r): Likewise.
20828 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20829 (PARMS): Do not use macros from bp-asm.h.
20832 (__mpn_lshift): Do not use BP_SYM.
20833 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20834 (PARMS): Do not use macros from bp-asm.h.
20837 (__memchr): Do not use BP_SYM.
20838 (memchr): Do not use BP_SYM in weak_alias.
20839 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20840 (PARMS): Do not use macros from bp-asm.h.
20843 (memcmp): Do not use BP_SYM.
20844 (bcmp): Do not use BP_SYM in weak_alias.
20845 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20846 (PARMS): Do not use macros from bp-asm.h.
20849 (__mpn_mul_1): Do not use BP_SYM.
20850 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20852 (PARMS): Do not use macros from bp-asm.h.
20855 (__rawmemchr): Do not use BP_SYM.
20856 (rawmemchr): Do not use BP_SYM in weak_alias.
20857 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20858 (PARMS): Do not use macros from bp-asm.h.
20861 (__mpn_rshift): Do not use BP_SYM.
20862 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20863 (PARMS): Do not use macros from bp-asm.h.
20864 (SIGMSK): Likewise.
20865 (__sigsetjmp): Likewise. Do not use BP_SYM.
20866 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20867 (_start): Do not use BP_SYM.
20868 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20869 (PARMS): Do not use macros from bp-asm.h.
20872 (__stpcpy): Likewise. Do not use BP_SYM.
20873 (stpcpy): Do not use BP_SYM in weak_alias.
20874 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20876 (PARMS): Do not use macros from bp-asm.h.
20880 (__stpncpy): Likewise. Do not use BP_SYM.
20881 (stpncpy): Do not use BP_SYM in weak_alias.
20882 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20883 (PARMS): Do not use macros from bp-asm.h.
20886 (strchr): Likewise. Do not use BP_SYM.
20887 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20889 (PARMS): Do not use macros from bp-asm.h.
20892 (__strchrnul): Likewise. Do not use BP_SYM.
20893 (strchrnul): Do not use BP_SYM in weak_alias.
20894 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20896 (PARMS): Do not use macros from bp-asm.h.
20898 (strcspn): Do not use BP_SYM.
20899 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20901 (PARMS): Do not use macros from bp-asm.h.
20904 (strpbrk): Likewise. Do not use BP_SYM.
20905 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20907 (PARMS): Do not use macros from bp-asm.h.
20910 (strrchr): Likewise. Do not use BP_SYM.
20911 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20912 (PARMS): Do not use macros from bp-asm.h.
20914 (strspn): Do not use BP_SYM.
20915 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20916 (PARMS): Do not use macros from bp-asm.h.
20920 (FUNCTION): Likewise. Do not use BP_SYM.
20921 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20923 (strtok_r): Likewise.
20924 (__GI___strtok_r): Likewise.
20925 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20926 (PARMS): Do not use macros from bp-asm.h.
20930 (__mpn_sub_n): Do not use BP_SYM.
20931 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20933 (PARMS): Do not use macros from bp-asm.h.
20936 (__mpn_submul_1): Do not use BP_SYM.
20937 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20939 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20941 (PARMS): Do not use macros from bp-asm.h.
20946 (__clone): Do not use BP_SYM.
20947 (clone): Do not use BP_SYM in weak_alias.
20948 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20950 (PARMS): Do not use macros from bp-asm.h.
20952 (__mmap64): Do not use BP_SYM.
20953 (mmap64): Do not use BP_SYM in weak_alias.
20954 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20955 <bp-sym.h> and <bp-asm.h>.
20956 (PARMS): Do not use macros from bp-asm.h.
20957 (__posix_fadvise64_l64): Do not use BP_SYM.
20958 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20959 (PARMS): Do not use macros from bp-asm.h.
20961 (semtimedop): Do not use BP_SYM.
20962 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20965 2013-02-21 Allan McRae <allan@archlinux.org>
20967 * manual/message.texi (Charset conversion in gettext):
20968 Move @end statement to beginning of line.
20970 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20977 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20978 (denorm): Likewise.
20979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20982 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20984 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20985 tail-call to the resolved function if pltexit isn't needed.
20987 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20990 or Y being zero as being unlikely.
20991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20994 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20996 * manual/nss.texi (System Databases and Name Service Switch):
20997 Remove frobnicate @pxref.
20999 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21001 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21002 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21004 2013-02-20 Petr Machata <pmachata@redhat.com>
21006 * elf/elf.h (R_ARM_TARGET1): New macro.
21007 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21008 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21009 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21010 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21011 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21012 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21013 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21014 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21015 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21016 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21017 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21018 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21019 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21020 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21021 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21022 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21023 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21024 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21025 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21026 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21027 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21028 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21029 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21030 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21031 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21032 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21033 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21034 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21035 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21036 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21037 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21038 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21039 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21040 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21041 (R_ARM_THM_GOT_BREL12): Likewise.
21042 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21043 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21044 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21045 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21046 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21047 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21048 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21049 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21050 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21052 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21054 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21055 __attribute_used__ to __attribute__ ((unused)).
21057 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21059 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21062 comment formatting.
21063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21065 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21068 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21070 (ENTER): Remove both macro definitions.
21072 (CHECK_BOUNDS_LOW): Likewise.
21073 (CHECK_BOUNDS_HIGH): Likewise.
21074 (CHECK_BOUNDS_BOTH): Likewise.
21075 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21076 (RETURN_BOUNDED_POINTER): Likewise.
21077 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21078 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21079 (POP_ERRNO_LOCATION_RETURN): Likewise.
21080 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21081 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21082 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21084 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21085 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21086 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21087 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21088 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21089 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21090 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21091 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21092 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21093 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21094 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21095 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21096 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21097 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21099 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21100 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21102 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21103 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21104 * sysdeps/i386/i586/memset.S (memset): Likewise.
21105 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21106 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21107 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21109 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21110 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21111 Change uses of L(2) to L(out).
21112 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21113 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21114 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21115 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21116 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21118 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21119 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21121 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21122 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21123 (RETURN): Do not use macro LEAVE.
21124 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21125 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21126 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21127 * sysdeps/i386/i686/memset.S (memset): Likewise.
21128 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21129 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21130 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21131 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21133 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21134 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21135 L(1_2) and L(1_3) into L(1).
21136 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21137 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21138 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21139 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21140 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21141 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21142 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21143 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21144 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21146 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21147 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21148 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21149 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21150 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21151 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21152 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21153 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21154 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21155 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21156 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21157 * sysdeps/i386/strspn.S (strspn): Likewise.
21158 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21160 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21161 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21162 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21163 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21164 L(1_3) into L(1_1).
21165 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21166 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21167 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21169 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21171 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21173 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21176 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21178 * math/atest-exp.c (exp_mpn): Remove ROUND.
21179 * math/atest-exp2.c (exp_mpn): Likewise.
21180 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21182 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21183 * stdlib/tst-tls-atexit-lib.c: Likewise.
21184 * stdlib/tst-tls-atexit.c: Likewise.
21186 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21188 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21189 and __attribute_alloc_size__.
21191 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21193 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21194 __attribute_alloc_size__.
21195 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21196 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21198 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21200 * include/programs/xmalloc.h: New file.
21201 * catgets/gencat.c: Include it.
21202 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21203 * elf/pldd.c: Likewise.
21204 * iconv/iconv_charmap.c: Likewise.
21205 * iconv/iconvconfig.c: Likewise.
21206 * iconv/strtab.c: Likewise.
21207 * locale/programs/locale.c: Likewise.
21208 * locale/programs/localedef.h: Likewise.
21209 * locale/programs/simple-hash.c: Likewise.
21210 * nscd/nscd.h: Likewise.
21211 * nss/makedb.c: Likewise.
21212 * sysdeps/generic/ldconfig.h: Likewise.
21214 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21216 * Versions.def: Add GLIBC_2.18.
21217 * include/link.h (struct link_map): New member l_tls_dtor_count.
21218 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21219 (__call_tls_dtors): Likewise.
21220 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21221 __cxa_thread_atexit_impl.
21222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21230 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21238 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21239 (tests): Add test case tst-tls-atexit.
21240 (modules-names): Add shared library for tst-tls-atexit.
21241 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21242 (GLIBC_PRIVATE): Add __call_tls_dtors.
21243 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21245 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21246 * stdlib/tst-tls-atexit.c: New test case.
21247 * stdlib/tst-tls-atexit-lib.c: New test case.
21249 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21251 * elf/Versions (ld): Add _dl_find_dso_for_object.
21252 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21253 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21254 (dl_open_worker): Use _dl_find_dso_for_object.
21255 * elf/dl-sym.c (do_sym): Likewise.
21256 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21258 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21260 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21261 Syntactic changes only.
21262 (_dl_runtime_profile): Do a tail-call to the resolved function.
21264 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21267 * sysdeps/x86_64/bp-asm.h: Remove file.
21268 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21269 <bp-sym.h> and <bp-asm.h>.
21270 (__clone): Do not use BP_SYM.
21271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21272 <bp-sym.h> and <bp-asm.h>.
21273 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21274 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21276 (_setjmp): Do not use BP_SYM.
21277 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21279 (setjmp): Do not use BP_SYM.
21280 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21282 (mempcpy): Do not use BP_SYM in weak_alias.
21283 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21285 (strchr): Do not use BP_SYM.
21286 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21288 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21289 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21290 (_start): Do not use BP_SYM.
21291 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21293 (strcat): Do not use BP_SYM.
21294 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21296 (STRCMP): Do not use BP_SYM.
21297 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21299 (STRCPY): Do not use BP_SYM.
21300 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21302 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21304 (FUNCTION): Do not use BP_SYM.
21305 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21307 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21309 2013-02-17 Andreas Jaeger <aj@suse.de>
21311 * time/Versions: Sort entries.
21312 * string/Versions: Likewise.
21313 * resolv/Versions: Likewise.
21314 * posix/Versions: Likewise.
21315 * iconv/Versions: Likewise.
21316 * elf/Versions: Likewise.
21317 * wcsmbs/Versions: Likewise.
21319 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21321 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21322 loop termination condition.
21324 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21325 variable to calculate EZ.
21328 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21329 the lower precision input.
21331 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21334 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21335 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21336 (run-via-rtld-prefix): Do not handle %-bp tests.
21337 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21338 (all-object-suffixes): Remove .ob.
21339 (bppfx): Remove variable.
21340 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21341 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21342 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21343 [$(build-bounded) = yes] (libtype.ob): Likewise.
21344 * Makerules (elide-routines.ob): Remove variable.
21345 (do-tests-clean): Do not handle *-bp.out.
21346 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21347 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21348 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21349 (tests): Do not include $(tests-bp.out).
21350 (xtests): Do not include $(xtests-bp.out).
21351 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21352 [$(build-bounded) = yes] ($(addprefix
21353 $(objpfx),$(binaries-bounded))): Remove rule.
21354 ($(objpfx)%-bp.out): Remove rule.
21355 * config.make.in (build-bounded): Remove variable.
21356 * crypt/Makefile [$(build-bounded) = yes]
21357 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21358 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21359 append to variable.
21360 [$(build-bounded) = yes] (install-lib): Likewise.
21361 [$(build-bounded) = yes] (generated): Likewise.
21362 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21364 * intl/Makefile [$(build-bounded) = yes]
21365 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21366 * math/Makefile [$(build-bounded) = yes]
21367 ($(tests:%=$(objpfx)%-bp): Likewise.
21368 * misc/Makefile [$(build-bounded) = yes]
21369 ($(objpfx)tst-tsearch-bp): Likewise.
21370 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21371 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21373 * string/Makefile (o-objects.ob): Remove variable.
21374 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21375 (CFLAGS-.ob): Remove variable.
21376 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21377 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21378 both definitions of variable.
21379 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21380 (ASFLAGS-.ob): Remove variable.
21382 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21385 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21386 Remove __BOUNDED_POINTERS__ from condition.
21387 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21388 * string/bits/string2.h [!__NO_STRING_INLINES &&
21389 !__BOUNDED_POINTERS__]: Likewise.
21390 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21392 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21393 Remove conditional code.
21394 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21395 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21396 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21400 * csu/libc-start.c: Do not include <bp-sym.h>.
21401 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21402 * elf/dl-open.c: Do not include <bp-sym.h>.
21403 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21404 * math/fegetenv.c: Do not include <bp-sym.h>.
21405 (fegetenv): Do not use BP_SYM in versioned symbols.
21406 * nptl/sysdeps/pthread/bits/libc-lockP.h
21407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21410 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21412 (__pthread_mutex_destroy): Likewise.
21413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21414 (__pthread_mutex_lock): Likewise.
21415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21416 (__pthread_mutex_trylock): Likewise.
21417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21418 (__pthread_mutex_unlock): Likewise.
21419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21420 (__pthread_mutexattr_init): Likewise.
21421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21422 (__pthread_mutexattr_destroy): Likewise.
21423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21424 (__pthread_mutexattr_settype): Likewise.
21425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21426 (__pthread_rwlock_init): Likewise.
21427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21428 (__pthread_rwlock_destroy): Likewise.
21429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21430 (__pthread_rwlock_rdlock): Likewise.
21431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21432 (__pthread_rwlock_tryrdlock): Likewise.
21433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21434 (__pthread_rwlock_wrlock): Likewise.
21435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21436 (__pthread_rwlock_trywrlock): Likewise.
21437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21438 (__pthread_rwlock_unlock): Likewise.
21439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21440 (__pthread_key_create): Likewise.
21441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21442 (__pthread_setspecific): Likewise.
21443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21444 (__pthread_getspecific): Likewise.
21445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21448 (_pthread_cleanup_push_defer): Likewise.
21449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21450 (_pthread_cleanup_pop_restore): Likewise.
21451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21452 (pthread_setcancelstate): Likewise.
21453 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21455 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21456 (memchr): Do not use BP_SYM in weak_alias.
21457 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21458 (fegetenv): Do not use BP_SYM in versioned symbols.
21459 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21460 (fesetenv): Do not use BP_SYM in versioned symbols.
21461 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21462 (feupdateenv): Do not use BP_SYM in versioned symbols.
21463 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21464 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21465 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21466 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21467 (open64): Do not use BP_SYM in weak_alias.
21468 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21469 (fegetenv): Do not use BP_SYM in versioned symbols.
21470 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21471 (fesetenv): Do not use BP_SYM in versioned symbols.
21472 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21473 (feupdateenv): Do not use BP_SYM in versioned symbols.
21474 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21475 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21476 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21477 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21478 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21479 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21480 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21482 (__libc_start_main): Do not use BP_SYM.
21484 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21487 redundant return line.
21489 (denorm): Likewise.
21490 (dbl_mp): Likewise.
21491 (sub_magnitudes): Likewise.
21497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21499 (denorm): Likewise.
21500 (dbl_mp): Likewise.
21501 (sub_magnitudes): Likewise.
21508 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21510 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21511 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21514 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21515 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21517 of __mul for squares.
21518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21522 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21523 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21525 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21528 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21530 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21531 prototype or function definition. Rename ubp_* variables and
21532 parameters. Remove argv definitions conditional on
21533 [__BOUNDED_POINTERS__].
21534 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21535 * elf/dl-runtime.c (_dl_fixup): Likewise.
21536 * include/set-hooks.h (RUN_HOOK): Likewise.
21537 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21539 * string/strcpy.c (strcpy): Do not use __unbounded.
21540 * sysdeps/generic/frame.h (struct layout): Likewise.
21541 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21542 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21543 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21544 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21545 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21546 (__backtrace): Likewise.
21547 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21549 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21550 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21551 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21553 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21554 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21555 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21556 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21557 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21558 Do not use __unbounded.
21559 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21560 Rename __unboundedrlimits parameter to rlimits in prototype.
21561 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21562 Do not use __unbounded.
21563 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21564 not use __ptrvalue.
21565 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21566 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21567 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21568 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21569 __ptrvalue or __unbounded.
21570 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21571 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21573 (__new_msgctl): Do not use __ptrvalue.
21574 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21576 (__libc_msgrcv): Do not use __ptrvalue.
21577 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21578 startup_info): Do not use __unbounded.
21579 (__libc_start_main): Likewise. Rename ubp_* variables and
21580 parameters. Remove argv definitions conditional on
21581 [__BOUNDED_POINTERS__].
21582 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21584 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21586 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21588 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21590 (__new_shmctl): Do not use __ptrvalue.
21591 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21592 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21594 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21595 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21596 (__libc_sigaction): Likewise.
21597 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21598 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21600 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21602 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21604 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21606 * string/mempcpy.c: Implement by calling memcpy.
21608 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21610 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21612 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21615 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21616 values in the mantissa.
21618 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21619 minimize writes to Z.
21620 (sub_magnitudes): Simplify code a bit.
21622 2013-02-12 Roland McGrath <roland@hack.frob.com>
21624 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21625 from the message. The linker prefixes all warnings with that already.
21627 2013-02-12 Andreas Schwab <schwab@suse.de>
21630 * posix/regexec.c (extend_buffers): Add parameter min_len.
21631 (check_matching): Pass minimum needed length.
21632 (clean_state_log_if_needed): Likewise.
21633 (get_subexp): Likewise.
21634 * posix/Makefile (tests): Add bug-regex34.
21635 (bug-regex34-ENV): Define.
21636 * posix/bug-regex34.c: New file.
21639 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21640 elements compare against the byte sequence of it, not its name.
21641 * posix/Makefile (tests): Add bug-regex35.
21642 (bug-regex35-ENV): Define.
21643 * posix/bug-regex35.c: New file.
21645 2013-02-11 Tom de Vries <tom@codesourcery.com>
21647 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21649 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21650 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21651 (CHECK_EOL): Add undef.
21653 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21655 * bits/stdlib-bsearch.h: New file.
21656 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21657 * stdlib/stdlib.h: Likewise.
21659 2013-02-11 Roland McGrath <roland@hack.frob.com>
21661 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21662 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21664 * manual/search.texi (Array Search Function): Add missing const in
21666 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21667 declaration to use rlim_t.
21668 (Basic Scheduling Functions): Remove erroneous const from
21669 sched_getparam prototype. Remove erroneous * from
21670 sched_get_priority_max and sched_get_priority_min prototypes.
21671 (Resource Usage): Fix summary @comment on vtimes to refer to
21672 sys/vtimes.h rather than vtimes.h.
21673 Add missing *s in vtimes prototype.
21674 (Limits on Resources): Fix ulimit prototype to return long int.
21675 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21676 prototypes to use long int rather than double.
21677 (BSD Random): Fix initstate and setstate to use char *, not void *.
21678 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21679 prototype to make second argument 'struct aiocb64 *const[]'.
21680 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21681 (Status of AIO Operations): Remove erroneous const in aio_return and
21682 aio_return64 prototypes.
21683 (Synchronizing I/O): Fix sync prototype to return void.
21684 * manual/startup.texi (Suboptions): Remove an erroneous const in
21685 getsubopt prototype.
21686 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21687 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21688 use size_t rather than int.
21689 (Scanning All Users): Likewise for getpwent_r.
21690 (Setting Groups): Add missing const to setgroups prototype.
21691 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21692 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21693 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21694 'const void *' rather than 'const char *'.
21695 (Host Address Functions): Likewise for inet_ntop.
21696 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21697 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21698 ssize_t for return value.
21699 (Sending Data): Likewise for send, sendto, sendmsg.
21700 (Socket Option Functions): Add a missing const in setsockopt prototype.
21701 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21702 use wchar_t for the argument.
21703 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21704 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21706 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21707 double/float/long double for second argument.
21708 Fix return types of significand, significandf, significandl.
21709 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21710 argument in fchmod prototype.
21711 (File Owner): Use uid_t and gid_t in fchown prototype.
21712 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21713 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21714 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21715 use 'const struct dirent **' as argument types to CMP function pointer
21717 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21718 (File Times): Fix summary magic @comment for struct utimbuf and utime
21719 to refer to utime.h, not time.h.
21720 * manual/string.texi (Argz Functions): Add missing const in
21721 argz_extract and argz_next prototypes.
21722 (Finding Tokens in a String): Likewise for basename.
21723 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21724 (Copying and Concatenation): Fix typo in wmemmove prototype.
21725 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21726 (Signal Stack): Remove erroneous const in sigstack prototype.
21727 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21729 (Simple Calendar Time): Likewise for stime.
21730 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21732 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21733 say sys/sysctl.h instead.
21734 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21735 and vsyslog prototypes.
21737 2013-02-11 Tom de Vries <tom@codesourcery.com>
21739 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21742 2013-02-11 Roland McGrath <roland@hack.frob.com>
21744 * misc/sys/mman.h: Fix typo in mremap comment.
21746 2013-02-08 Roland McGrath <roland@hack.frob.com>
21748 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21749 the '\0' terminator.
21751 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21754 * debug/segfault.c: Don't include <bp-checks.h>.
21755 * sysdeps/generic/bp-checks.h: Remove file.
21756 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21757 (__GETDENTS): Don't use CHECK_N.
21758 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21759 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21760 (__getgroups): Don't use CHECK_N.
21761 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21762 (setgroups): Don't use CHECK_N.
21763 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21764 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21765 (__libc_msgrcv): Don't use CHECK_N.
21766 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21767 (__libc_msgsnd): Don't use CHECK_N.
21768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21770 (__libc_pread): Don't use CHECK_N.
21771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21772 include <bp-checks.h>.
21773 (__libc_pread64): Don't use CHECK_N.
21774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21775 include <bp-checks.h>.
21776 (__libc_pwrite): Don't use CHECK_N.
21777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21778 include <bp-checks.h>.
21779 (__libc_pwrite64): Don't use CHECK_N.
21780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21782 (__libc_pread): Don't use CHECK_N.
21783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21784 include <bp-checks.h>.
21785 (__libc_pread64): Don't use CHECK_N.
21786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21787 include <bp-checks.h>.
21788 (__libc_pwrite): Don't use CHECK_N.
21789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21790 include <bp-checks.h>.
21791 (__libc_pwrite64): Don't use CHECK_N.
21792 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21793 (do_pread): Don't use CHECK_N.
21794 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21795 (do_pread64): Don't use CHECK_N.
21796 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21797 (do_pwrite): Don't use CHECK_N.
21798 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21799 (do_pwrite64): Don't use CHECK_N.
21800 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21801 (__libc_readv): Don't use CHECK_N.
21802 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21803 (semop): Don't use CHECK_N.
21804 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21806 (semtimedop): Don't use CHECK_N.
21807 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21808 (__libc_pread): Don't use CHECK_N.
21809 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21811 (__libc_pread64): Don't use CHECK_N.
21812 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21814 (__libc_pwrite): Don't use CHECK_N.
21815 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21817 (__libc_pwrite64): Don't use CHECK_N.
21818 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21820 (__libc_msgrcv): Don't use CHECK_N.
21821 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21822 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21823 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21824 (__libc_writev): Don't use CHECK_N.
21826 2013-02-08 Roland McGrath <roland@hack.frob.com>
21828 * string/strcpy.c: Removed unused variable.
21830 * Makeconfig (+sysdep-includes): Define with := rather than =.
21831 Use an existing include/ subdir of each sysdeps dir before it.
21833 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21835 * nscd/connection.c (register_traced_file): Comment function.
21836 [HAVE_INOTIFY] (union __inev): Define.
21837 [HAVE_INOTIFY] (inotify_check_files): New function.
21838 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21839 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21841 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21843 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21845 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21846 loaded if not already and that a failure is permanent.
21848 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21851 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21852 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21854 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21857 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21858 (CHECK_1_NULL_OK): Likewise.
21859 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21860 (__fxstat): Do not use CHECK_1.
21861 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21863 (___fxstat64): Do not use CHECK_1.
21864 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21866 (__fxstatat): Do not use CHECK_1.
21867 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21869 (__fxstatat64): Do not use CHECK_1.
21870 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21872 (__fxstat): Do not use CHECK_1.
21873 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21875 (__fxstatat): Do not use CHECK_1.
21876 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21878 (__getresgid): Do not use CHECK_1.
21879 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21881 (__getresuid): Do not use CHECK_1.
21882 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21884 (__lxstat): Do not use CHECK_1.
21885 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21887 (__old_msgctl): Do not use CHECK_1.
21888 (__new_msgctl): Likewise.
21889 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21891 (__new_setrlimit): Do not use CHECK_1.
21892 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21894 (__old_shmctl): Do not use CHECK_1.
21895 (__new_shmctl): Likewise.
21896 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21898 (__xstat): Do not use CHECK_1.
21899 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21900 (__lxstat): Do not use CHECK_1.
21901 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21903 (___lxstat64): Do not use CHECK_1.
21904 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21905 (__old_msgctl): Do not use CHECK_1.
21906 (__new_msgctl): Likewise.
21907 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21909 (__gettimeofday): Do not use CHECK_1.
21910 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21911 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21912 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21914 (__gettimeofday): Do not use CHECK_1.
21915 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21916 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21917 (__new_shmctl): Do not use CHECK_1.
21918 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21920 (do_sigtimedwait): Do not use CHECK_1.
21921 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21923 (do_sigwaitinfo): Do not use CHECK_1.
21924 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21926 (msgctl): Do not use CHECK_1.
21927 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21929 (shmctl): Do not use CHECK_1.
21930 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21931 (ustat): Do not use CHECK_1.
21932 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21934 (__fxstat): Do not use CHECK_1.
21935 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21937 (__fxstatat): Do not use CHECK_1.
21938 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21940 (__lxstat): Do not use CHECK_1.
21941 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21943 (__xstat): Do not use CHECK_1.
21944 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21945 (__xstat): Do not use CHECK_1.
21946 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21947 (___xstat64): Do not use CHECK_1.
21950 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21952 (CHECK_BOUNDS_HIGH): Likewise.
21953 * string/strcpy.c: Do not include <bp-checks.h>.
21954 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21956 2013-02-07 Roland McGrath <roland@hack.frob.com>
21958 * nscd/nscd-client.h (__nscd_drop_map_ref):
21959 Add __attribute__ ((unused)).
21960 * nis/nss-nisplus.h (niserr2nss): Likewise.
21962 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21963 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21965 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21966 Remove inline keyword.
21967 * include/rounding-mode.h (round_away): Likewise.
21968 * libio/wfileops.c (adjust_wide_data): Likewise.
21969 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21970 (__m128i_strloadu_tolower): Likewise.
21971 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21972 (__m128i_strloadu_tolower): Likewise.
21973 * time/mktime.c (ydhms_diff): Likewise.
21974 * locale/elem-hash.h (elem_hash): Likewise.
21975 * locale/setlocale.c (setdata): Likewise.
21976 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21977 (re_string_wchar_at): Likewise.
21978 (bitset_not, bitset_merge, bitset_mask): Likewise.
21979 [!(__GNUC__ > 3)] (inline): Remove macro.
21980 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21981 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21982 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21983 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21984 * string/memcmp.c (memcmp_bytes): Likewise.
21985 * locale/programs/locarchive.c (compute_hashval): Likewise.
21986 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21987 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21988 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21989 * nss/getent.c (print_rpc, print_protocols): Likewise.
21990 (print_passwd, print_group, print_aliases): Likewise.
21991 * nis/nss-nisplus.h (niserr2nss): Likewise.
21992 * nscd/connections.c (restart_p): Likewise.
21993 Change return type to bool.
21995 2013-02-05 Roland McGrath <roland@hack.frob.com>
21997 * Makeconfig (all-Depend-files): Add existing
21998 $(sorted-subdirs:=/Depend) files.
21999 (all-subdirs): Remove nss.
22000 * sysdeps/unix/inet/Subdirs: Add it here instead.
22001 * hesiod/Depend: New file.
22003 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22004 instead of calling alloca.
22006 * io/lseek.c (__lseek): Rename to __libc_lseek.
22007 Define __lseek as an alias.
22009 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22011 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22013 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22014 else clause and remove check for non-standard endianness.
22016 2013-02-04 David S. Miller <davem@davemloft.net>
22018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22020 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22023 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22024 (__ubp_memchr): Remove prototype.
22025 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22026 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22027 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22028 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22029 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22031 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22032 (__ubp_memchr): Likewise.
22033 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22034 (__ubp_memchr): Likewise.
22035 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22036 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22037 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22038 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22040 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22041 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22042 (__getcwd): Do not use CHECK_STRING.
22043 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22045 (__real_chown): Do not use CHECK_STRING.
22046 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22048 (fchownat): Do not use CHECK_STRING.
22049 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22051 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22053 (__lchown): Do not use CHECK_STRING.
22054 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22055 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22056 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22057 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22059 include <bp-checks.h>.
22060 (truncate64): Do not use CHECK_STRING.
22061 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22063 (__real_chown): Do not use CHECK_STRING.
22064 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22066 (__lchown): Do not use CHECK_STRING.
22067 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22069 (__chown): Do not use CHECK_STRING.
22070 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22072 (truncate64): Do not use CHECK_STRING.
22073 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22075 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22076 (__xmknod): Do not use CHECK_STRING.
22077 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22079 (__xmknodat): Do not use CHECK_STRING.
22080 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22081 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22083 2013-02-04 Andreas Schwab <schwab@suse.de>
22086 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22087 * include/netdb.h: Likewise for h_errno.
22088 * elf/tst-stackguard1.c: Include <tls.h>.
22090 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22092 * elf/link.h (struct link_map): Extend the l_addr comment.
22093 * include/link.h (struct link_map): Likewise.
22095 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22098 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22099 (BOUNDED_1): Remove macro.
22100 * debug/backtrace.c: Don't include <bp-checks.h>.
22101 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22102 (__backtrace): Likewise.
22103 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22105 (__backtrace): Don't use BOUNDED_1.
22106 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22108 (__backtrace): Don't use BOUNDED_1.
22109 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22110 (__backtrace): Don't use BOUNDED_1.
22111 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22112 (shmat): Don't use BOUNDED_N.
22114 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22117 * sysdeps/generic/bp-start.h: Remove file.
22118 * csu/libc-start.c: Don't include <bp-start.h>.
22119 (LIBC_START_MAIN): Set up __environ directly instead of using
22120 INIT_ARGV_and_ENVIRON.
22121 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22125 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22127 (CHECK_FCNTL): Likewise.
22128 (CHECK_N_PAGES): Likewise.
22131 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22133 (CHECK_SIGSET_NULL_OK): Likewise.
22134 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22136 (sigpending): Don't use CHECK_SIGSET.
22137 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22139 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22140 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22142 (do_sigsuspend): Don't use CHECK_SIGSET.
22143 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22145 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22146 (do_sigwait): Don't use CHECK_SIGSET.
22147 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22149 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22150 include <bp-checks.h>.
22151 (sigpending): Don't use CHECK_SIGSET.
22152 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22153 include <bp-checks.h>.
22154 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22155 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22157 (sigpending): Don't use CHECK_SIGSET.
22158 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22160 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22163 * sysdeps/generic/bp-semctl.h: Remove file.
22164 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22165 <bp-checks.h> and <bp-semctl.h>.
22166 (__old_semctl): Don't use CHECK_SEMCTL.
22167 (__new_semctl): Likewise.
22168 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22170 (__old_semctl): Don't use CHECK_SEMCTL.
22171 (__new_semctl): Likewise.
22172 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22173 <bp-checks.h> and <bp-semctl.h>.
22174 (__old_semctl): Don't use CHECK_SEMCTL.
22175 (__new_semctl): Likewise.
22176 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22177 <bp-checks.h> and <bp-semctl.h>.
22178 (semctl): Don't use CHECK_SEMCTL.
22181 * Makerules (elide-bp-thunks): Remove variable.
22182 (elide-routines.oS): Don't use $(elide-bp-thunks).
22183 (elide-routines.os): Likewise.
22184 (elide-routines.o): Likewise.
22185 (elide-routines.op): Likewise.
22186 (elide-routines.og): Likewise.
22187 (objects): Don't use $(bp-thunks).
22188 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22190 (common-generated): Do not add s-proto-bp.d.
22191 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22194 Do not generate makefile rules for bounded-pointer thunks.
22195 * sysdeps/generic/bp-thunks.h: Remove file.
22196 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22197 * sysdeps/unix/s-proto-bp.S: Likewise.
22200 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22201 parts of result separately when argument is not close to line from
22202 -i to i and one part of argument is small.
22203 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22204 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22205 * math/libm-test.inc (cacos_test): Add more tests.
22206 (casin_test): Likewise.
22207 (casinh_test): Likewise.
22208 * sysdeps/i386/fpu/libm-test-ulps: Update.
22209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22211 2013-01-31 David S. Miller <davem@davemloft.net>
22213 * po/de.po: Update from translation team.
22215 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22217 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22219 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22221 * configure.in (_AC_PROG_CC_C89): New definition.
22222 * configure: Regenerate.
22224 * configure.in (AC_PROG_CPP): New definition.
22225 * configure: Regenerate.
22227 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22229 * debug/tst-backtrace.h: New file.
22230 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22231 (ret): Remove variable.
22233 (FAIL): Remove macro.
22234 (NO_INLINE): Likewise.
22235 (fn1): Use match function instead of strstr.
22236 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22237 (ret): Remove variable.
22239 (FAIL): Remove macro.
22240 (NO_INLINE): Likewise.
22241 (fn): Use match function instead of strstr.
22242 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22243 (ret): Remove variable.
22245 (FAIL): Remove macro.
22246 (NO_INLINE): Likewise.
22247 (handle_signal): Use match function instead of strstr.
22248 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22249 (ret): Remove variable.
22251 (FAIL): Remove macro.
22252 (NO_INLINE): Likewise.
22253 (handle_signal): Use match function instead of strstr.
22255 2013-01-23 Roland McGrath <roland@hack.frob.com>
22257 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22259 2013-01-23 David S. Miller <davem@davemloft.net>
22261 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22262 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22263 argument of CAS if possible.
22264 * sysdeps/sparc/sparc64/bits/atomic.h
22265 (__arch_compare_and_exchange_val_32_acq): Likewise.
22266 (__arch_compare_and_exchange_val_64_acq): Likewise.
22268 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22270 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22271 * sysdeps/posix/ulimit.c: ... this.
22272 Include <limits.h>.
22273 * sysdeps/unix/bsd/ulimit.c: Remove file.
22275 2013-01-23 Adam Conrad <adconrad@0c3.net>
22277 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22278 (LDFLAGS-tst-array5): Likewise.
22280 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22283 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22284 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22285 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22286 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22288 2013-01-21 David S. Miller <davem@davemloft.net>
22290 * sysdeps/sparc/backtrace.c: New file.
22291 * sysdeps/sparc/sparc32/backtrace.h: New file.
22292 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22293 * sysdeps/sparc/sparc64/backtrace.h: New file.
22294 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22295 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22298 2013-01-21 Andreas Schwab <schwab@suse.de>
22301 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22304 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22310 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22311 Mark Mitchell <mark@codesourcery.com>
22312 Tom de Vries <tom@codesourcery.com>
22313 Paul Pluzhnikov <ppluzhnikov@google.com>
22315 * debug/tst-backtrace2.c: New file.
22316 * debug/tst-backtrace3.c: Likewise.
22317 * debug/tst-backtrace4.c: Likewise.
22318 * debug/tst-backtrace5.c: Likewise.
22319 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22320 (CFLAGS-tst-backtrace3.c): Likewise.
22321 (CFLAGS-tst-backtrace4.c): Likewise.
22322 (CFLAGS-tst-backtrace5.c): Likewise.
22323 (LDFLAGS-tst-backtrace2): Likewise.
22324 (LDFLAGS-tst-backtrace3): Likewise.
22325 (LDFLAGS-tst-backtrace4): Likewise.
22326 (LDFLAGS-tst-backtrace5): Likewise.
22327 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22328 tst-backtrace4 and tst-backtrace5.
22330 2013-01-18 Anton Blanchard <anton@samba.org>
22331 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22333 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22334 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22335 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22336 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22338 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22339 "+r" and remove output regs list as redundant. Add explicit inline
22340 asm to specify register of return val to work around compiler codegen
22341 bug. Remove (int) cast on return value. Add return type parameter to
22342 use in macro so that this macro does not truncate return value for
22344 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22345 pass to INTERNAL_VSYSCALL_NCS.
22346 (INLINE_VSYSCALL): Add 'long int' as return type to
22347 INTERNAL_VSYSCALL_NCS macro invocation.
22348 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22349 INTERNAL_VSYSCALL_NCS macro invocation.
22350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22352 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22355 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22356 Fix application of SIMD FP exception mask.
22358 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22359 mp_no from a power of two.
22360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22361 __mpexp_twomm1. Use __pow_mp.
22363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22366 2013-01-17 David S. Miller <davem@davemloft.net>
22368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22370 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22373 * include/complex.h: Condition contents on [!_COMPLEX_H].
22374 (__kernel_casinhf): New prototype.
22375 (__kernel_casinh): Likewise.
22376 (__kernel_casinhl): Likewise.
22377 * math/Makefile (libm_calls): Add k_casinh.
22378 * math/k_casinh.c: New file.
22379 * math/k_casinhf.c: Likewise.
22380 * math/k_casinhl.c: Likewise.
22381 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22382 finite nonzero arguments.
22383 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22384 finite nonzero arguments.
22385 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22386 finite nonzero arguments.
22387 * math/s_casinh.c: Do not include <float.h>.
22388 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22389 * math/s_casinhf.c: Do not include <float.h>.
22390 (__casinhf): Move code for finite nonzero arguments to
22392 * math/s_casinhl.c: Do not include <float.h>.
22393 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22395 (__casinhl): Move code for finite nonzero arguments to
22397 * math/libm-test.inc (cacos_test): Add more tests.
22398 * sysdeps/i386/fpu/libm-test-ulps: Update.
22399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22401 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22403 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22404 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22405 [!HAVE_MREMAP]: Remove [defined linux] case.
22406 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22408 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22410 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22412 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22414 * elf/elf.h (R_386_SIZE32): New relocation.
22415 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22417 (elf_machine_rela): Likewise.
22418 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22419 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22421 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22423 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22424 (FP_FAST_FMA): Do not define.
22425 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22426 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22427 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22428 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22429 !_SOFT_FLOAT]: Likewise.
22430 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22431 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22433 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22434 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22435 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22436 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22437 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22438 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22441 2013-01-16 Andreas Schwab <schwab@suse.de>
22444 * include/stdlib.h (__mktemp): Add declaration.
22445 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22446 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22448 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22450 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22452 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22453 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22454 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22456 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22457 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22459 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22461 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22462 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22463 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22465 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22466 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22468 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22470 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22472 2013-01-15 David S. Miller <davem@davemloft.net>
22474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22475 trunc{,f} to libm-sysdep_routes.
22476 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22486 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22487 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22488 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22489 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22490 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22491 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22494 nearbyint{,f} to libm-sysdep_routes.
22495 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22506 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22508 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22509 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22511 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22512 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22513 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22515 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22516 libc_feholdexcept and libc_fesetenv.
22518 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22520 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22522 2013-01-14 David S. Miller <davem@davemloft.net>
22524 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22525 (SPARC_ASM_VIS2_IFUNC): Likewise.
22526 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22528 use of 'siam' instruction.
22529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22557 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22562 routines to libm-sysdep_routines.
22563 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22566 fdim/fdimf to libm-sysdep_routines.
22567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22575 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22576 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22577 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22578 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22580 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22582 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22583 to optimize copies.
22585 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22590 local variable MPTWO.
22591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22594 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22596 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22599 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22601 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22603 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22605 * manual/pattern.texi (glob_t): Document gl_flags.
22606 (glob64_t): Likewise.
22608 2013-01-11 David S. Miller <davem@davemloft.net>
22610 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22611 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22612 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22613 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22614 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22615 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22616 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22617 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22618 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22619 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22620 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22621 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22622 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22624 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22625 sparc V9 rather than using V8 code.
22626 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22627 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22629 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22631 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22634 2013-01-11 Roland McGrath <roland@hack.frob.com>
22636 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22637 not in the main loop.
22638 * configure: Regenerated.
22640 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22642 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22643 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22645 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22646 [!__GLIBC_HAVE_LONG_LONG] case.
22647 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22648 condition to just #else.
22649 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22650 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22651 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22652 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22654 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22655 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22656 #elif condition to just #else.
22657 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22658 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22659 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22660 #elif condition to just #else.
22662 2013-01-11 Steve Ellcey <sellcey@mips.com>
22664 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22665 (EF_MIPS_ARCH_64): Fix value.
22666 (EF_MIPS_ARCH_32R2): New.
22667 (EF_MIPS_ARCH_64R2): New.
22669 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22671 * Makeconfig (+link-pie-before-libc): New.
22672 (+link-pie-after-libc): Likewise.
22673 (+link-pie-tests): Likewise.
22674 (+link-pie): Rewritten.
22675 (link-before-libc): Remove $(config-LDFLAGS).
22676 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22677 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22678 (config-LDFLAGS): Renamed to ...
22679 (rtld-LDFLAGS): This.
22680 (rtld-tests-LDFLAGS): New macro.
22681 (link-libc-rpath-link): Likewise.
22682 (link-libc-tests-rpath-link): Likewise.
22683 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22684 (link-libc): Prepand $(link-libc-rpath-link).
22685 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22686 (test-program-prefix): New macro.
22687 (test-via-rtld-prefix): Likewise.
22688 (test-program-cmd): Likewise.
22689 (host-test-program-cmd): Likewise.
22690 * Makefile ($(common-objpfx)testrun.sh): Replace
22691 $(run-program-prefix) with $(test-program-prefix).
22692 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22694 ($(common-objpfx)shlib.lds): Likewise.
22695 (build-module-helper): Likewise.
22696 ($(common-objpfx)format.lds): Likewise.
22697 * Rules (binaries-pie-tests): New.
22698 (binaries-pie-notests): Likewise.
22699 (binaries-pie): Rewritten.
22700 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22701 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22702 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22703 (make-test-out): Replace $(host-built-program-cmd) with
22704 $(host-test-program-cmd).
22705 * config.make.in (build-hardcoded-path-in-tests): New variable.
22706 * configure.in (--enable-hardcoded-path-in-tests): New configure
22708 (hardcoded_path_in_tests): New AC_SUBST.
22709 * configure: Regenerated.
22710 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22711 $(built-program-cmd) with $(test-program-cmd).
22712 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22713 (test_program_cmd): This.
22714 * elf/Makefile ($(objpfx)order.out): Run test with
22715 $(test-program-prefix).
22716 ($(objpfx)order2.out): Likewise.
22717 ($(objpfx)tst-initorder.out): Likewise.
22718 ($(objpfx)tst-initorder2.out): Likewise.
22719 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22720 $(test-program-cmd).
22721 ($(objpfx)tst-array1-static.out): Likewise.
22722 ($(objpfx)tst-array2.out): Likewise.
22723 ($(objpfx)tst-array3.out): Likewise.
22724 ($(objpfx)tst-array4.out): Likewise.
22725 ($(objpfx)tst-array5.out): Likewise.
22726 ($(objpfx)tst-array5-static.out): Likewise.
22727 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22728 $(test-program-cmd).
22729 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22730 $(run-program-prefix) with $(test-program-prefix).
22731 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22732 (test_program_prefix): This.
22733 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22734 $(run-program-prefix) with $(test-program-prefix).
22735 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22736 (test_program_prefix): This.
22737 * iconvdata/tst-tables.sh: Likewise.
22738 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22739 $(run-program-prefix) with $(test-program-prefix).
22740 ($(objpfx)tst-translit.out): Likewise.
22741 ($(objpfx)tst-gettext2.out): Likewise.
22742 ($(objpfx)tst-gettext4.out): Likewise.
22743 ($(objpfx)tst-gettext6.out): Likewise.
22744 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22745 (test_program_prefix): This.
22746 * intl/tst-gettext2.sh: Likewise.
22747 * intl/tst-gettext4.sh Likewise.
22748 * intl/tst-gettext6.sh: Likewise.
22749 * intl/tst-translit.sh: Likewise.
22750 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22751 with $(test-program-cmd).
22752 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22753 $(run-program-prefix) with $(test-program-prefix).
22754 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22755 (test_program_prefix): This.
22756 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22757 $(run-program-prefix) with $(test-program-prefix).
22758 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22759 (test_program_prefix): This.
22760 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22761 * posix/Makefile ($(objpfx)globtest.out): Replace
22762 $(run-via-rtld-prefix) and $(test-wrapper) with
22763 $(test-program-prefix) and $(test-via-rtld-prefix).
22764 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22765 $(test-program-prefix).
22766 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22767 $(host-test-program-cmd).
22768 (tst-spawn-ARGS): Likewise.
22769 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22770 $(test-program-prefix).
22771 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22772 (test_via_rtld_prefix): This.
22773 (test_wrapper): Renamed to ...
22774 (test_program_prefix): This.
22775 (run_program_prefix): Replaced by test_program_prefix.
22776 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22777 (test_program_prefix): This.
22778 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22779 with $(host-test-program-cmd).
22780 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22781 $(run-program-prefix) with $(test-program-prefix).
22782 ($(objpfx)tst-printf.out): Likewise.
22783 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22784 $(test-program-cmd).
22785 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22786 (test_program_prefix): This.
22787 * stdio-common/tst-unbputc.sh: Likewise.
22788 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22789 $(run-program-prefix) with $(test-program-prefix).
22790 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22791 (test_program_prefix): This.
22792 * string/Makefile ($(objpfx)tst-svc.out): Replace
22793 $(built-program-cmd) with $(test-program-cmd).
22795 2013-01-11 Andreas Jaeger <aj@suse.de>
22798 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22799 value. Sync with Linux 3.7.
22801 2013-01-10 David S. Miller <davem@davemloft.net>
22803 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22804 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22805 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22807 2013-01-10 Roland McGrath <roland@hack.frob.com>
22809 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22811 * configure: Regenerated.
22813 2013-01-10 David S. Miller <davem@davemloft.net>
22815 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22816 sparc V9 rather than using V8 code.
22817 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22818 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22820 2013-01-10 Roland McGrath <roland@hack.frob.com>
22822 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22823 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22824 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22825 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22826 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22827 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22828 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22829 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22830 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22831 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22832 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22833 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22834 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22835 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22836 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22837 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22838 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22839 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22840 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22841 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22842 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22843 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22844 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22845 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22846 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22847 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22848 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22850 2013-01-10 David S. Miller <davem@davemloft.net>
22852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22854 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22856 * posix/Makefile (tests-static): New variable.
22857 (tests): Add $(tests-static).
22858 (tst-exec-static-ARGS): New variable.
22859 (tst-spawn-static-ARGS): Likewise.
22860 * posix/tst-exec-static.c: New file.
22861 * posix/tst-spawn-static.c: Likewise.
22862 * posix/tst-exec.c: Support run directly.
22863 * posix/tst-spawn.c: Likewise.
22865 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22867 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22869 * math/bits/mathcalls.h (llrint): Likewise.
22870 (llround): Likewise.
22871 * stdlib/stdlib.h (struct drand48_data): Likewise.
22872 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22873 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22874 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22876 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22878 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22879 (elf_greg_t): Likewise.
22880 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22881 (__jmp_buf): Likewise.
22882 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22884 (llrint): Likewise, for all definitions.
22885 (llrintl): Likewise.
22887 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22888 Remove [__GNUC__] condition.
22889 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22890 condition to just [__USE_ISOC99].
22891 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22893 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22896 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22897 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22899 (_POSIX_V6_ILP32_OFF32): Likewise.
22900 (_XBS5_ILP32_OFF32): Likewise.
22901 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22902 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22904 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22906 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22909 doubles __mpexp_twomm1. Adjust usage.
22910 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22913 2013-01-10 Andreas Schwab <schwab@suse.de>
22916 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22917 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22919 2013-01-09 David S. Miller <davem@davemloft.net>
22922 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22923 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22924 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22925 (TCP_FASTOPEN): Define.
22926 (tcp_repair_opt): New structure.
22927 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22929 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22930 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22931 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22932 (tcp_cookie_transactions): New structure.
22934 2013-01-09 Anton Blanchard <anton@samba.org>
22936 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22937 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22938 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22939 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22941 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22943 * include/features.h (__USE_ANSI): Remove.
22945 2013-01-09 Roland McGrath <roland@hack.frob.com>
22947 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22949 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22951 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22953 * sysdeps/s390/fpu/libm-test-ulps: Update.
22955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22957 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22961 (denorm): Likewise.
22962 (__mp_dbl): Likewise.
22963 (__dbl_mp): Likewise.
22964 (add_magnitudes): Likewise.
22965 (sub_magnitudes): Likewise.
22971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22975 (denorm): Likewise.
22976 (__mp_dbl): Likewise.
22977 (__dbl_mp): Likewise.
22978 (add_magnitudes): Likewise.
22979 (sub_magnitudes): Likewise.
22985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22989 (denorm): Likewise.
22990 (__mp_dbl): Likewise.
22991 (__dbl_mp): Likewise.
22992 (add_magnitudes): Likewise.
22993 (sub_magnitudes): Likewise.
23000 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23002 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23003 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23004 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23005 2 && __USE_EXTERN_INLINES]: Likewise.
23007 2013-01-08 Andreas Jaeger <aj@suse.de>
23010 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23012 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23013 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23015 2013-01-07 Anton Blanchard <anton@samba.org>
23017 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23018 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23019 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23020 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23021 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23022 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23023 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23024 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23026 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23027 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23028 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23029 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23031 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23032 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23033 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23034 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23035 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23036 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23037 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23038 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23039 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23040 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23041 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23042 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23043 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23044 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23045 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23046 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23047 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23049 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23050 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23051 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23052 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23053 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23054 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23055 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23056 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23057 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23058 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23059 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23061 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23063 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23064 (__MALLOC_PMT): Likewise.
23065 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23066 [__GNUC__], only on [_LIBC].
23067 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23068 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23069 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23070 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23071 forward declaration.
23072 (realloc_hook_ini): Likewise.
23073 (memalign_hook_ini): Likewise.
23074 (__libc_memalign): Do not use __MALLOC_PMT in variable
23076 (__libc_valloc): Likewise.
23077 (__libc_pvalloc): Likewise.
23078 (__libc_calloc): Likewise.
23079 (__posix_memalign): Likewise.
23082 * math/s_casinh.c: Include <float.h>.
23083 (__casinh): Do not do computation with squaring and square root
23084 for large arguments.
23085 * math/s_casinhf.c: Include <float.h>.
23086 (__casinhf): Do not do computation with squaring and square root
23087 for large arguments.
23088 * math/s_casinhl.c: Include <float.h>.
23089 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23090 (__casinhl): Do not do computation with squaring and square root
23091 for large arguments.
23092 * math/libm-test.inc (casin_test): Add more tests.
23093 (casinh_test): Likewise.
23094 * sysdeps/i386/fpu/libm-test-ulps: Update.
23095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23097 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23099 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23100 (__x86_64_raw_data_cache_size): Likewise.
23101 (__x86_64_data_cache_size_half): Likewise.
23102 (__x86_64_raw_data_cache_size_half): Likewise.
23103 (__x86_64_shared_cache_size): Likewise.
23104 (__x86_64_raw_shared_cache_size): Likewise.
23105 (__x86_64_shared_cache_size_half): Likewise.
23106 (__x86_64_raw_shared_cache_size_half): Likewise.
23107 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23109 (__x86_data_cache_size): This.
23110 (__x86_64_raw_data_cache_size): Renamed to ...
23111 (__x86_raw_data_cache_size): This.
23112 (__x86_64_data_cache_size_half): Renamed to ...
23113 (__x86_data_cache_size_half): This.
23114 (__x86_64_raw_data_cache_size_half): Renamed to ...
23115 (__x86_raw_data_cache_size_half): This.
23116 (__x86_64_shared_cache_size): Renamed to ...
23117 (__x86_shared_cache_size): This.
23118 (__x86_64_raw_shared_cache_size): Renamed to ...
23119 (__x86_raw_shared_cache_size): This.
23120 (__x86_64_shared_cache_size_half): Renamed to ...
23121 (__x86_shared_cache_size_half): This.
23122 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23123 (__x86_raw_shared_cache_size_half): This.
23124 * sysdeps/x86_64/memcpy.S: Updated.
23125 * sysdeps/x86_64/memset.S: Likewise.
23126 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23130 2013-01-04 David S. Miller <davem@davemloft.net>
23132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23134 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23136 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23137 1 to avoid redefinition warning.
23138 (__USE_GNU): Don't define.
23139 (init_signaling_nan): Protoize.
23141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23143 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23145 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23147 (__cpymn): Likewise.
23148 (norm): Remove commented code.
23149 (denorm): Likewise.
23150 (__mp_dbl): Likewise.
23152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23153 (__cpymn): Likewise.
23154 (norm): Remove commented code.
23155 (denorm): Likewise.
23156 (__mp_dbl): Likewise.
23159 * sysdeps/powerpc/powerpc32/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.
23164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23165 mp_no value for 1.0 and 2.0.
23166 (norm): Use RADIXI instead of radixi.d.
23167 (denorm): Likewise.
23168 (__mul): Use 0.0 instead of zero.d.
23170 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23173 * math/s_casinh.c (__casinh): Reduce finite argument to first
23174 quadrant then set signs of results at the end.
23175 * math/s_casinhf.c (__casinhf): Likewise.
23176 * math/s_casinhl.c (__casinhl): Likewise.
23177 * math/libm-test.inc (casin_test): Add more tests.
23178 (casinh_test): Likewise.
23179 * sysdeps/i386/fpu/libm-test-ulps: Update.
23180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23182 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23184 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23186 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23188 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23190 (denorm): Likewise.
23191 (__mp_dbl): Likewise.
23194 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23195 and adjust the header comment.
23197 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23198 variable name from declaration.
23200 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23203 Initialize COMMON_CPUID_INDEX_7 element.
23204 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23205 (CPUID_RTM): Likewise.
23206 (HAS_RTM): Likewise.
23207 (COMMON_CPUID_INDEX_7): New enum.
23209 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23212 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23213 size is zero, record memory as freed.
23215 2013-01-03 Andreas Jaeger <aj@suse.de>
23217 * po/ia.po: Add new Interlingua translation.
23219 2012-01-03 Allan McRae <allan@archlinux.org>
23221 * locale/programs/localedef.c: Fix description of '--posix' flag.
23223 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23225 * NEWS: Update dates in second copyright notice.
23226 * README: Update copyright dates in example.
23227 * manual/libc.texinfo: Update copyright dates.
23228 * scripts/test-installation.pl: Update copyright date in --version
23231 * hurd/ctty-input.c: Fix copyright notice formatting.
23232 * hurd/ctty-output.c: Likewise.
23233 * hurd/dtable.c: Likewise.
23234 * hurd/hurd-raise.c: Likewise.
23235 * hurd/hurdprio.c: Likewise.
23236 * hurd/msgportdemux.c: Likewise.
23237 * misc/sys/file.h: Likewise.
23238 * misc/sys/ioctl.h: Likewise.
23239 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23240 * sysdeps/mach/hurd/chdir.c: Likewise.
23241 * sysdeps/mach/hurd/fchdir.c: Likewise.
23242 * sysdeps/mach/hurd/rename.c: Likewise.
23243 * sysdeps/mach/hurd/rmdir.c: Likewise.
23244 * sysdeps/mach/hurd/seekdir.c: Likewise.
23245 * sysdeps/mach/hurd/setsid.c: Likewise.
23246 * sysdeps/posix/wait3.c: Likewise.
23248 * All files with FSF copyright notices: Update copyright dates
23249 using scripts/update-copyrights.
23250 * intl/plural.c: Regenerated.
23251 * locale/programs/charmap-kw.h: Likewise.
23252 * locale/programs/locfile-kw.h: Likewise.
23254 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23256 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23259 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23260 calculation loop and add branch prediction.
23262 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23263 check access beyond bounds of m1np.
23265 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23267 (__inv): Remove local variable MPTWO to use the global
23269 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23270 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23272 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23273 MP3HALFS static const.
23275 2013-01-01 David S. Miller <davem@davemloft.net>
23277 * po/ca.po: Update from translation team.
23279 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23281 * scripts/update-copyrights: New file.
23282 * Makeconfig: Reformat copyright notice.
23283 * ctype/ctype.h: Likewise.
23284 * debug/swprintf_chk.c: Likewise.
23285 * elf/dl-cache.c: Likewise.
23286 * elf/dl-debug.c: Likewise.
23287 * elf/dl-object.c: Likewise.
23288 * grp/initgroups.c: Likewise.
23289 * hurd/Makefile: Likewise.
23290 * hurd/hurd/signal.h: Likewise.
23291 * hurd/hurdfault.c: Likewise.
23292 * hurd/hurdioctl.c: Likewise.
23293 * hurd/hurdlookup.c: Likewise.
23294 * hurd/intr-msg.c: Likewise.
23295 * iconv/gconv_open.c: Likewise.
23296 * libio/swprintf.c: Likewise.
23297 * locale/lc-ctype.c: Likewise.
23298 * locale/nl_langinfo.c: Likewise.
23299 * mach/Machrules: Likewise.
23300 * mach/Makefile: Likewise.
23301 * malloc/obstack.h: Likewise.
23302 * manual/Makefile: Likewise.
23303 * manual/tsort.awk: Likewise.
23304 * misc/bits/stab.def: Likewise.
23305 * nis/nis_print_group_entry.c: Likewise.
23306 * nis/nis_table.c: Likewise.
23307 * nis/nss_compat/compat-pwd.c: Likewise.
23308 * nis/nss_compat/compat-spwd.c: Likewise.
23309 * po/Makefile: Likewise.
23310 * posix/fnmatch.c: Likewise.
23311 * posix/regex.h: Likewise.
23312 * resolv/Makefile: Likewise.
23313 * resolv/nss_dns/dns-network.c: Likewise.
23314 * resolv/res_hconf.c: Likewise.
23315 * scripts/gen-sorted.awk: Likewise.
23316 * soft-fp/soft-fp.h: Likewise.
23317 * stdio-common/printf.h: Likewise.
23318 * stdlib/monetary.h: Likewise.
23319 * stdlib/random.c: Likewise.
23320 * stdlib/random_r.c: Likewise.
23321 * sysdeps/generic/Makefile: Likewise.
23322 * sysdeps/gnu/Makefile: Likewise.
23323 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23346 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23347 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23348 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23351 * sysdeps/mach/hurd/errnos.awk: Likewise.
23352 * sysdeps/mach/hurd/fork.c: Likewise.
23353 * sysdeps/mach/hurd/getcwd.c: Likewise.
23354 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23355 * sysdeps/mach/hurd/mmap.c: Likewise.
23356 * sysdeps/mach/hurd/utimes.c: Likewise.
23357 * sysdeps/mach/hurd/xmknod.c: Likewise.
23358 * sysdeps/posix/profil.c: Likewise.
23359 * sysdeps/posix/readdir_r.c: Likewise.
23360 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23361 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23362 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23363 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23365 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23366 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23367 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23369 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23370 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23371 * sysdeps/pthread/lio_listio.c: Likewise.
23372 * sysdeps/sparc/dl-procinfo.h: Likewise.
23373 * sysdeps/unix/i386/sysdep.S: Likewise.
23374 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23375 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23376 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23377 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23379 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23380 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23381 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23382 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23383 * sysdeps/wordsize-32/divdi3.c: Likewise.
23384 * time/sys/time.h: Likewise.
23385 * wcsmbs/Makefile: Likewise.
23387 2013-01-01 David S. Miller <davem@davemloft.net>
23389 * po/fr.po: Update from translation team.
23391 * catgets/gencat.c: Update copyright year.
23392 * csu/version.c: Likewise.
23393 * debug/catchsegv.sh: Likewise.
23394 * debug/pcprofiledump.c: Likewise.
23395 * debug/xtrace.sh: Likewise.
23396 * elf/ldconfig.c: Likewise.
23397 * elf/ldd.bash.in: Likewise.
23398 * elf/pldd.c: Likewise.
23399 * elf/sotruss.ksh: Likewise.
23400 * elf/sprof.c: Likewise.
23401 * iconv/iconv_prog.c: Likewise.
23402 * iconv/iconvconfig.c: Likewise.
23403 * locale/programs/locale.c: Likewise.
23404 * locale/programs/localedef.c: Likewise.
23405 * login/programs/pt_chown.c: Likewise.
23406 * malloc/memusage.sh: Likewise.
23407 * malloc/memusagestat.c: Likewise.
23408 * malloc/mtrace.pl: Likewise.
23409 * nscd/nscd.c: Likewise.
23410 * nss/getent.c: Likewise.
23411 * nss/makedb.c: Likewise.
23412 * posix/getconf.c: Likewise.
23414 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23416 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23419 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23421 * math/bits/mathcalls.h (modf): Use __nonnull.
23423 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23425 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23426 (split): Use macro CN instead of the bare value.
23427 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23429 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23430 instead of the bare value.
23431 (power1): Likewise.
23433 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23435 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23437 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23439 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23441 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23442 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23443 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23444 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23446 2012-12-28 Andreas Jaeger <aj@suse.de>
23448 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23449 values are from Linux 3.7.
23451 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23452 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23454 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23456 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23459 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23461 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23462 variables with preprocessor constants.
23463 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23464 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23465 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23467 2012-12-27 Bruno Haible <bruno@clisp.org>
23470 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23473 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23476 and use variable directly.
23477 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23479 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23481 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23482 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23484 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23485 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23486 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23487 include directive. Remove local variable MPONE.
23488 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23489 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23490 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23492 2012-12-25 David S. Miller <davem@davemloft.net>
23494 * version.h (RELEASE): Set to "development".
23495 (VERSION): Set to "2.17.90".
23496 * NEWS: Add 2.18 section.
23498 2012-12-21 David S. Miller <davem@davemloft.net>
23500 * po/hr.po: Update from translation team.
23502 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23504 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23506 2012-12-19 Steve Ellcey <sellcey@mips.com>
23508 * NEWS: Mention new memcpy for MIPS.
23510 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23512 * manual/contrib.texi (Contributors): Spelling correction.
23514 2012-12-15 David S. Miller <davem@davemloft.net>
23516 * po/ru.po: Update from translation team.
23518 2012-12-13 David S. Miller <davem@davemloft.net>
23520 * NEWS: Mention IFUNC testsuite enhancements.
23522 * po/pl.po: Update from translation team.
23523 * po/bg.po: Likewise.
23525 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23526 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23528 2012-12-11 David S. Miller <davem@davemloft.net>
23530 * po/sv.po: Update from translation team.
23532 * po/vi.po: Update from translation team.
23534 * po/cs.po: Update from translation team.
23536 * po/de.po: Update from translation team.
23537 * po/eo.po: Likewise.
23538 * po/nl.po: Likewise.
23540 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23543 * manual/argp.texi (Argp Helper Functions): Move node to follow
23544 Argp Parsing State.
23547 * manual/conf.texi (Limits on File System Capacity): Mention if
23548 terminating null is included in the max size.
23550 2012-12-10 Andreas Jaeger <aj@suse.de>
23552 * po/cs.po: Update from translation team.
23554 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23556 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23557 void pointer and cast to uintptr_t.
23558 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23560 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23561 * sysdeps/s390/s390-64/memset.S: Likewise.
23563 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23566 * menual/message.texi (Message Translation): Fix typos.
23567 (Helper programs for gettext): Likewise.
23569 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23572 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23575 2012-12-07 David S. Miller <davem@davemloft.net>
23577 * po/libc.pot: Update.
23579 2012-12-07 Richard Henderson <rth@redhat.com>
23582 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23583 normal/normal case to before the switch.
23584 (_FP_DIV): Likewise.
23586 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23587 Mike Frysinger <vapier@gentoo.org>
23589 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23590 check for __NR_fadvise64_64.
23592 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23594 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23595 0, not just to plain "0" as a statement.
23596 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23599 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23601 * NEWS: Use sourceware.org in Bugzilla URL.
23603 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23606 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23608 * stdio-common/tst-put-error.c (do_test): Add newline to the
23609 padded test to ensure flush.
23611 2012-12-05 Jeff Law <law@redhat.com>
23613 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23615 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23617 * README: Don't refer to ports add-on as distributed separately.
23618 Mention AArch64 in list of systems supported in the ports add-on.
23620 * LICENSES: Add more non-FSF copyright and license notices.
23622 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23625 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23627 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23628 10000 as width of padded output.
23630 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23632 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23634 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23635 variable LX with __attribute__ ((unused)).
23636 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23638 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23640 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23641 with __attribute__ ((unused)).
23643 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23645 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23647 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23649 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23650 (CFLAGS-nldbl-acos.c): New variable.
23651 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23655 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23656 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23657 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23658 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23659 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23660 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23661 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23662 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23663 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23664 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23665 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23666 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23667 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23668 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23669 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23670 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23671 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23672 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23673 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23674 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23675 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23676 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23677 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23678 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23679 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23680 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23681 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23682 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23683 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23684 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23685 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23686 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23687 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23688 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23689 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23690 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23691 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23692 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23693 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23694 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23695 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23696 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23697 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23698 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23699 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23700 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23701 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23702 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23703 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23704 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23705 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23706 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23707 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23708 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23709 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23710 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23711 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23712 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23713 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23714 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23715 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23716 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23717 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23718 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23719 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23720 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23721 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23722 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23723 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23724 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23725 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23726 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23727 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23728 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23729 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23730 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23731 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23732 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23733 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23734 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23735 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23736 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23737 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23738 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23739 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23740 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23741 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23742 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23743 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23744 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23745 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23746 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23747 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23750 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23753 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23754 whole low double instead of just low 47 bits when splitting values
23757 2012-12-03 Allan McRae <allan@archlinux.org>
23759 * manual/stdio.texi (Predefined Printf Handlers): Remove
23760 @hsep and @vsep usage.
23762 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23764 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23765 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23767 2012-12-03 Jeff Law <law@redhat.com>
23769 * time/sys/time.h (settimeofday): Do not mark TV argument
23772 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23774 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23775 when currently writing and seek to current position when not.
23776 * libio/Makefile (tests): Remove bug-fclose1.
23777 * libio/bug-fclose1.c: Delete.
23779 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23781 * manual/arith.texi (feenableexcept): Fix typo.
23782 (fedisableexcept): Likewise.
23784 2012-11-30 Roland McGrath <roland@hack.frob.com>
23786 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23787 second, differently-typed declaration, rather than a cast.
23789 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23791 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23792 * include/rpc/svc.h: ... here.
23794 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23797 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23798 depending n and resplen2 to catch cases where answer
23801 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23803 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23804 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23806 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23808 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23810 2012-11-29 Roland McGrath <roland@hack.frob.com>
23812 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23814 2012-11-28 Jeff Law <law@redhat.com>
23817 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23818 dataset_temporary. Track alloca usage into alloca_used.
23819 If dataset is large allocate and release it via malloc/free.
23821 2012-06-04 Florian Weimer <fweimer@redhat.com>
23824 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23826 2012-11-28 David S. Miller <davem@davemloft.net>
23828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23830 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23833 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23834 of pi/2 rounded to nearest to 64 bits.
23835 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23836 nearest to 64 bits.
23837 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23840 2012-11-28 Jeff Law <law@redhat.com>
23841 Martin Osvald <mosvald@redhat.com>
23844 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23845 * sunrpc/svc.c: Include time.h.
23846 (__svc_accept_failed): New function.
23847 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23848 any reason other than EINTR, call __svc_accept_failed.
23849 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23850 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23852 2012-11-28 Andreas Schwab <schwab@suse.de>
23854 * scripts/abilist.awk: Also handle indirect functions in .opd
23857 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23860 * sysdeps/x86/fpu/powl_helper.c: New file.
23861 * sysdeps/x86/fpu/Makefile: Likewise.
23862 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23864 (__ieee754_powl): Use __powl_helper for finite arguments except
23865 integer exponents below 8.
23866 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23868 (__ieee754_powl): Use __powl_helper for finite arguments except
23869 integer exponents below 8.
23870 * math/libm-test.inc (pow_test): Add more tests and enable some
23871 previously disabled tests.
23872 * sysdeps/i386/fpu/libm-test-ulps: Update.
23873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23875 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23876 Carlos O'Donell <carlos_odonell@mentor.com>
23878 * nss/makedb.c (is_prime): Assert that input is odd and greater
23879 than 4. Note that fact in a comment too.
23880 (next_prime): Add 4 to input.
23882 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23885 * libio/Makefile (tests): Add test case tst-fwrite-error.
23886 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23887 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23888 * libio/tst-fwrite-error.c: New test case.
23890 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23892 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23893 before casting to void *.
23894 * include/libc-internal.h (__pointer_type): New macro.
23895 (__integer_if_pointer_type_sub): Likewise.
23896 (__integer_if_pointer_type): Likewise.
23897 (cast_to_integer): Likewise.
23898 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23899 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23900 before casting to atomic64_t.
23901 (atomic_exchange_acq): Likewise.
23902 (__arch_exchange_and_add_body): Likewise.
23903 (__arch_add_body): Likewise.
23904 (atomic_add_negative): Likewise.
23905 (atomic_add_zero): Likewise.
23907 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23909 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23910 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23911 (add_fdes): Likewise.
23912 (linear_search_fdes): Likewise.
23913 (binary_search_unencoded_fdes): Likewise.
23915 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23917 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23919 2012-11-24 Adam Conrad <adconrad@0c3.net>
23921 * configure.in: Autodetect C++ header directories.
23922 * configure: Regenerated.
23924 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23926 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23928 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23932 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23934 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23935 LDBL_MANT_DIG == 106]: Disable some tests.
23936 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23938 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23942 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23943 input for small inputs. Return +/- pi/2 for large inputs.
23944 * math/libm-test.inc (atan_test): Add more tests.
23946 * sysdeps/generic/unwind-dw2-fde-glibc.c
23947 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23948 __attribute__ ((unused)).
23951 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23952 x * y if x and y are nonzero and z is zero.
23955 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23956 nonzero exponents with absolute value below 0x1p-117 to +/-
23960 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23961 up arguments below 2**-450, not just those below 2**-500.
23962 * math/libm-test.inc (hypot_test): Add another test.
23965 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23966 Return a+b for ratio over 2**120, not 2**60.
23967 * math/libm-test.inc (hypot_test): Add another test.
23969 * math/libm-test.inc (clog_test): Use
23970 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23971 (clog10_test): Likewise.
23974 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23976 2012-11-22 Andreas Schwab <schwab@suse.de>
23978 * sysdeps/i386/fpu/libm-test-ulps: Update.
23980 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23982 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23983 printf output with newline.
23985 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23988 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23989 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23990 -z nodlopen, -z initfirst and -z execstack support.
23991 * configure: Regenerated.
23993 * elf/elf.h (DF_1_NODIRECT): New macro.
23994 (DF_1_IGNMULDEF): Likewise.
23995 (DF_1_NOKSYMS): Likewise.
23996 (DF_1_NOHDR): Likewise.
23997 (DF_1_EDITED): Likewise.
23998 (DF_1_NORELOC): Likewise.
23999 (DF_1_SYMINTPOSE): Likewise.
24000 (DF_1_GLOBAUDIT): Likewise.
24001 (DF_1_SINGLETON): Likewise.
24002 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24003 DT_1_SUPPORTED_MASK bits.
24004 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24006 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24008 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24010 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24012 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24015 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24016 (sendmmsg): Move declarations...
24017 * socket/sys/socket.h: ... here.
24018 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24019 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24021 * socket/recvmmsg.c: ... this new file.
24022 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24023 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24024 definition of __sendmmsg hidden.
24025 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24026 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24027 Move ENOSYS stub into and include it from...
24028 * socket/sendmmsg.c: ... this new file.
24029 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24030 (sysdep_routines): Move recvmmsg and sendmmsg...
24031 * socket/Makefile (routines): ... here.
24032 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24033 (GLIBC_PRIVATE): Add __sendmmsg.
24034 * include/sys/socket.h (__sendmmsg): Add declarations.
24035 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24038 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24040 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24041 variable I1 with __attribute__ ((unused)).
24042 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24044 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24046 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24047 DUMMY variables with __attribute__ ((unused)).
24049 * bits/byteswap.h: Include <bits/types.h>.
24050 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24052 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24054 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24055 string_t. Do not manually set errno.
24056 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24057 length with __strnlen. Make sure to both set errno and return it on
24060 2012-11-19 David S. Miller <davem@davemloft.net>
24062 With help from Joseph Myers.
24063 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24064 very large arguments properly.
24065 * math/libm-test.inc (atan_test): New tests.
24066 (atan2_test): New tests.
24067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24070 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24073 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24076 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24077 [POSIX] (EADDRNOTAVAIL): Likewise.
24078 [POSIX] (EAFNOSUPPORT): Likewise.
24079 [POSIX] (EALREADY): Likewise.
24080 [POSIX] (ECONNABORTED): Likewise.
24081 [POSIX] (ECONNREFUSED): Likewise.
24082 [POSIX] (ECONNRESET): Likewise.
24083 [POSIX] (EDESTADDRREQ): Likewise.
24084 [POSIX] (EDQUOT): Likewise.
24085 [POSIX] (EHOSTUNREACH): Likewise.
24086 [POSIX] (EIDRM): Likewise.
24087 [POSIX] (EISCONN): Likewise.
24088 [POSIX] (ELOOP): Likewise.
24089 [POSIX] (EMULTIHOP): Likewise.
24090 [POSIX] (ENETDOWN): Likewise.
24091 [POSIX] (ENETUNREACH): Likewise.
24092 [POSIX] (ENOBUFS): Likewise.
24093 [POSIX] (ENODATA): Likewise.
24094 [POSIX] (ENOLINK): Likewise.
24095 [POSIX] (ENOMSG): Likewise.
24096 [POSIX] (ENOPROTOOPT): Likewise.
24097 [POSIX] (ENOSR): Likewise.
24098 [POSIX] (ENOSTR): Likewise.
24099 [POSIX] (ENOTCONN): Likewise.
24100 [POSIX] (ENOTSOCK): Likewise.
24101 [POSIX] (EOPNOTSUPP): Likewise.
24102 [POSIX] (EOVERFLOW): Likewise.
24103 [POSIX] (EPROTO): Likewise.
24104 [POSIX] (EPROTONOSUPPORT): Likewise.
24105 [POSIX] (EPROTOTYPE): Likewise.
24106 [POSIX] (ESTALE): Likewise.
24107 [POSIX] (ETIME): Likewise.
24108 [POSIX] (ETXTBSY): Likewise.
24109 [POSIX] (EWOULDBLOCK): Likewise.
24110 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24111 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24112 [POSIX] (SEEK_CUR): Likewise.
24113 [POSIX] (SEEK_END): Likewise.
24114 [POSIX || UNIX98] (mode_t): Do not require.
24115 [POSIX] (off_t): Likewise.
24116 [POSIX] (pid_t): Likewise.
24117 [POSIX] (sys/stat.h): Do not allow header.
24118 [POSIX] (unistd.h): Likewise.
24119 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24120 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24121 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24122 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24124 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24125 sigevent): Specify elements.
24126 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24128 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24129 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24131 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24132 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24133 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24134 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24135 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24136 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24137 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24138 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24139 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24140 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24141 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24142 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24143 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24144 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24146 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24148 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24150 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24152 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24153 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24154 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24155 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24156 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24157 Specify lower bound on value.
24158 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24159 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24160 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24161 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24162 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24163 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24164 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24165 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24167 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24169 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24170 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24171 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24172 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24173 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24174 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24175 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24176 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24177 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24178 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24179 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24180 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24181 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24182 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24183 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24184 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24186 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24188 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24189 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24190 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24191 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24192 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24193 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24195 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24196 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24197 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24198 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24199 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24200 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24201 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24203 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24204 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24205 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24206 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24207 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24208 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24209 specify as optional.
24210 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24211 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24212 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24213 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24214 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24215 [XPG3] (NL_LANGMAX): Likewise.
24216 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24217 [POSIX || XPG3] (NL_NMAX): Likewise.
24218 [POSIX || XPG3] (NL_SETMAX): Likewise.
24219 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24220 [XPG3] (NZERO): Likewise.
24221 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24222 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24223 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24224 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24225 (REG_ERANGE): Expect.
24226 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24228 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24229 Use (void) in prototype.
24230 [POSIX] (*_t): Allow.
24231 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24232 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24233 (WRDE_BADVAL): Expect.
24235 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24237 [XPG3 || XPG4] (O_RSYNC): Likewise.
24238 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24240 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24241 [XPG3 || XPG4] (sigqueue): Likewise.
24242 [XPG3 || XPG4] (sigtimedwait): Likewise.
24243 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24244 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24245 [XPG3 || XPG4] (vsnprintf): Likewise.
24246 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24248 [XPG3 || XPG4] (blksize_t): Likewise.
24249 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24251 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24252 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24253 [XPG3 || XPG4] (struct itimerspec): Likewise.
24254 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24255 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24256 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24257 [XPG3 || XPG4] (clockid_t): Likewise.
24258 [XPG3 || XPG4] (timer_t): Likewise.
24259 [XPG3 || XPG4] (clock_getres): Likewise.
24260 [XPG3 || XPG4] (clock_gettime): Likewise.
24261 [XPG3 || XPG4] (clock_settime): Likewise.
24262 [XPG3 || XPG4] (nanosleep): Likewise.
24263 [XPG3 || XPG4] (timer_create): Likewise.
24264 [XPG3 || XPG4] (timer_delete): Likewise.
24265 [XPG3 || XPG4] (timer_gettime): Likewise.
24266 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24267 [XPG3 || XPG4] (timer_settime): Likewise.
24268 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24269 [XPG3 || XPG4] (getlogin_r): Likewise.
24270 [XPG3 || XPG4] (pread): Likewise.
24271 [XPG3 || XPG4] (pthread_atfork): Likewise.
24272 [XPG3 || XPG4] (pwrite): Likewise.
24275 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24278 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24280 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24281 finalizing MALLSTREAM.
24283 * sysdeps/mach/hurd/syncfs.c: New file.
24285 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24288 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24289 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24290 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24291 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24292 (_nss_dns_gethostbyname4_r): Likewise.
24293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24294 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24296 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24299 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24301 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24303 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24304 * elf/cache.c (print_entry): Print ",AArch64" for
24307 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24308 * elf/cache.c (print_entry): Print ",hard-float" for
24311 2012-11-18 David S. Miller <davem@davemloft.net>
24313 With help from Joseph Myers.
24314 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24316 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24318 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24319 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24321 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24322 * math/libm-test.inc (y0_test): New tests.
24323 (y1_test): New tests.
24324 * sysdeps/i386/fpu/libm-test-ulps: Update.
24325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24328 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24330 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24332 * configure: Regenerated.
24334 2012-11-17 David S. Miller <davem@davemloft.net>
24337 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24338 nonzero exponents with absolute value below 0x1p-128 to +/-
24341 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24343 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24345 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24347 * posix/getconf-speclist.c: New file.
24348 * posix/posix-envs.def: Likewise.
24349 * posix/confstr.c (START_ENV_GROUP): New macro.
24350 (END_ENV_GROUP): Likewise.
24351 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24352 (KNOWN_PRESENT_ENV_STRING): Likewise.
24353 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24354 (UNKNOWN_ENVIRONMENT): Likewise.
24355 (confstr): Include posix-envs.def instead of handling
24356 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24357 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24358 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24359 (END_ENV_GROUP): Likewise.
24360 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24361 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24362 (UNKNOWN_ENVIRONMENT): Likewise.
24363 (__sysconf): Include posix-envs.def instead of handling associated
24364 cases directly here.
24365 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24366 preprocessing getconf-speclist.c rather than running getconf or
24367 generating empty file.
24369 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24371 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24373 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24376 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24378 2012-11-16 David S. Miller <davem@davemloft.net>
24380 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24381 smaller than LDBL_EPSILON/2.0L, just return xm1.
24383 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24385 * elf/tst-array1.c (init): Set constructor priority to 1000.
24386 (fini): Set destructor priority to 1000.
24387 * elf/tst-array2dep.c: Likewise.
24389 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24392 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24393 (_IO_new_file_xsputn): Also return EOF if none of the input
24394 data was written when overflow failed.
24395 * libio/iopadn.c (_IO_padn): Likewise.
24396 * libio/iowpadn.c (_IO_wpadn): Likewise.
24397 * stdio-common/tst-put-error.c: Add copyright notice.
24398 (do_test): Add case for printing padded string.
24399 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24400 _IO_padn returned error.
24401 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24402 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24405 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24407 * libio/libioP.h: Add comment note that the references to C++
24408 bits are now obsolete.
24410 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24412 * math/libm-test.inc (check_complex): Use asprintf.
24414 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24416 * debug/pcprofiledump.c (print_version): Update copyright year.
24417 * malloc/memusagestat.c (print_version): Likewise.
24419 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24422 * elf/Makefile (tests): Add tst-audit8.
24423 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24424 ($(objpfx)tst-audit8.out): New target.
24425 (tst-audit8-ENV): New variable.
24426 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24427 audit if l_reloc_result is NULL.
24428 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24429 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24430 * elf/tst-audit8.c: New file.
24432 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24434 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24435 * misc/Makefile (CFLAGS-select.c): Define.
24436 * posix/Makefile (CFLAGS-pause.c): Define.
24438 2012-11-13 David S. Miller <davem@davemloft.net>
24440 * crypt/Makefile: Move test targets after toplevel Rules
24441 inclusion. Grab any necessary sysdep routines when linking.
24442 * crypt/md5.c (md5_process_block): Remove define, we will always
24443 name it __md5_process_block.
24444 (md5_finish_ctx): Update md5_process_block call.
24445 (md5_stream): Likewise.
24446 (md5_process_bytes): Likewise.
24447 (md5_process_block): Rename to __md5_process_block and move to ...
24448 * crypt/md5-block.c: ... here.
24449 * crypt/sha256.c (sha256_process_block): Move to ...
24450 * crypt/sha256-block.c: ... here.
24451 * crypt/sha512.c (sha512_process_block): Move to ...
24452 * crypt/sha512-block.c: ... here.
24453 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24455 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24456 * sysdeps/sparc/sparc64/multiarch/Makefile
24457 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24459 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24460 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24462 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24463 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24464 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24465 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24466 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24467 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24468 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24469 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24470 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24472 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24473 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24475 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24477 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24479 * timezone/tzselect.ksh: Update from tzcode git revision
24480 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24481 * timezone/zdump.c: Likewise.
24482 * timezone/zic.c: Likewise.
24483 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24484 in TZVERSION setting, not $(PKGVERSION).
24485 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24486 REPORT_BUGS_TO settings.
24489 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24492 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24494 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24495 detection to immediately after _FP_ROUND().
24496 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24499 2012-11-11 David S. Miller <davem@davemloft.net>
24501 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24503 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24504 __close rather than their public counterparts.
24506 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24508 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24510 [UNIX98] (sem_timedwait): Do not expect.
24511 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24512 [XPG4 || UNIX98] (sockatmark): Do not expect.
24513 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24514 (clock_getcpuclockid): Do not expect.
24515 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24516 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24518 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24519 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24520 [UNIX98] (vwscanf): Likewise.
24521 [UNIX98] (vswscanf): Likewise.
24523 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24525 * timezone/version.h: Remove file.
24526 * timezone/README: Do not refer to version.h.
24527 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24528 $(objpfx)version.h.
24529 ($(objpfx)zdump.o): Likewise.
24530 ($(objpfx)version.h): New target.
24532 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24534 * timezone/README: Don't mention modification to tzselect.ksh.
24535 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24536 work on unmodified tzselect.ksh. Substitute version numbers in
24539 * Makefile (format-me): Remove.
24540 (INSTALL): Adjust indentation. Use commands directly instead of
24541 using $(format-me).
24543 * aclocal.m4 (ACX_PKGVERSION): New macro.
24544 (ACX_BUGURL): Likewise.
24545 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24546 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24547 (REPORT_BUGS_TO): Likewise.
24548 * configure: Regenerated.
24549 * config.h.in (PKGVERSION): New macro.
24550 (REPORT_BUGS_TO): Likewise.
24551 * config.make.in (PKGVERSION): New variable.
24552 (PKGVERSION_TEXI): Likewise.
24553 (REPORT_BUGS_TO): Likewise.
24554 (REPORT_BUGS_TEXI): Likewise.
24555 * Makefile (format-me): Use -I$(common-objpfx)manual.
24556 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24557 ($(common-objpfx)manual/%): New target.
24558 (manual/%): Remove target.
24559 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24560 (print_version): Use PKGVERSION.
24561 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24562 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24563 and REPORT_BUGS_TO.
24564 ($(objpfx)xtrace): Likewise.
24565 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24566 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24567 (print_version): Use PKGVERSION.
24568 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24569 (do_version): Use PKGVERSION.
24570 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24572 (common-ldd-rewrite): Likewise.
24573 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24574 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24575 (print_version): Use PKGVERSION.
24576 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24577 * elf/pldd.c (argp_program_bug_address): Remove variable.
24578 (more_help): New function.
24579 (argp): Use more_help.
24580 (print_version): Use PKGVERSION.
24581 * elf/sln.c (main): Use PKGVERSION.
24582 (usage): Use REPORT_BUGS_TO.
24583 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24584 (top level): Use PKGVERSION.
24585 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24586 (print_version): Use PKGVERSION.
24587 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24588 (print_version): Use PKGVERSION.
24589 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24590 (print_version): Use PKGVERSION.
24591 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24592 (print_version): Use PKGVERSION.
24593 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24594 (print_version): Use PKGVERSION.
24595 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24596 (print_version): Use PKGVERSION.
24597 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24599 ($(objpfx)memusage): Likewise.
24600 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24601 (do_version): Use PKGVERSION.
24602 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24603 (print_version): Use PKGVERSION.
24604 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24605 ($PKGVERSION): New variable.
24606 ($REPORT_BUGS_TO): Likewise.
24607 (usage): Use $REPORT_BUGS_TO.
24608 (top level): Use $PKGVERSION.
24609 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24610 ($(objpfx)pkgvers.texi): New rule.
24611 ($(objpfx)stamp-pkgvers): Likewise.
24612 * manual/install.texi: Include pkgvers.texi.
24613 (--with-pkgversion): Document new configure option.
24614 (--with-bugurl): Likewise.
24615 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24616 than necessarily for this particular distribution. Use
24617 REPORT_BUGS_TO for where to report bugs.
24618 * INSTALL: Regenerated.
24619 * manual/libc.texinfo: Include pkgvers.texi.
24620 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24621 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24622 (print_version): Use PKGVERSION.
24623 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24624 (print_version): Use PKGVERSION.
24625 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24626 (print_version): Use PKGVERSION.
24627 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24628 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24630 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24631 (print_version): Use PKGVERSION.
24632 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24633 (print_version): Use PKGVERSION.
24634 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24637 * timezone/checktab.awk: Update from tzcode 2012i.
24638 * timezone/ialloc.c: Likewise.
24639 * timezone/private.h: Likewise.
24640 * timezone/scheck.c: Likewise.
24641 * timezone/tzfile.h: Likewise.
24642 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24643 (TZVERSION): Hardcode tzcode version number.
24644 * timezone/zdump.c: Update from tzcode 2012i.
24645 * timezone/zic.c: Likewise.
24646 * timezone/version.h: New file.
24647 * timezone/README: Describe version.h. Update upstream location.
24650 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24651 (mktemp): Enable declaration.
24652 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24653 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24654 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24655 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24657 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24669 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24670 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24671 for copies of such integer values.
24672 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24673 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24675 2012-11-09 Andreas Jaeger <aj@suse.de>
24677 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24678 definitions and declarations that are provided by
24679 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24681 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24683 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24684 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24685 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24688 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24690 * elf/elf.h: Update comment before AArch64 relocations.
24692 2012-11-07 David S. Miller <davem@davemloft.net>
24694 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24695 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24696 (__start_context): Declare.
24697 (__makecontext_ret): Delete.
24698 (__makecontext): Hook up __start_context instead of
24700 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24701 (sysdep_routines): Add __start_context when in stdlib.
24703 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24705 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24706 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24707 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24709 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24710 (READELF): New variable. Use it instead of hardcoded "readelf".
24712 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24714 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24715 * sysdeps/x86/Makefile: Here.
24716 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24717 * sysdeps/x86/tst-xmmymm.sh: This.
24719 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24721 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24723 [UNIX98] (pthread_barrier_t): Do not expect.
24724 [UNIX98] (pthread_barrierattr_t): Likewise.
24725 [UNIX98] (pthread_spinlock_t): Likewise.
24726 [UNIX98] (pthread_barrier_destroy): Likewise.
24727 [UNIX98] (pthread_barrier_init): Likewise.
24728 [UNIX98] (pthread_barrier_wait): Likewise.
24729 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24730 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24731 [UNIX98] (pthread_barrierattr_init): Likewise.
24732 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24733 [UNIX98] (pthread_getcpuclockid): Likewise.
24734 [UNIX98] (pthread_mutex_timedlock): Likewise.
24735 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24736 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24737 [UNIX98] (pthread_sigmask): Likewise.
24738 [UNIX98] (pthread_spin_destroy): Likewise.
24739 [UNIX98] (pthread_spin_init): Likewise.
24740 [UNIX98] (pthread_spin_lock): Likewise.
24741 [UNIX98] (pthread_spin_trylock): Likewise.
24742 [UNIX98] (pthread_spin_unlock): Likewise.
24743 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24745 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24746 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24747 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24748 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24749 [XPG3 || XPG4] (pthread_key_t): Likewise.
24750 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24751 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24752 [XPG3 || XPG4] (pthread_once_t): Likewise.
24753 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24754 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24755 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24756 [XPG3 || XPG4] (pthread_t): Likewise.
24758 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24760 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24762 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24763 Change function return type to int.
24765 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24766 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24767 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24768 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24769 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24770 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24771 [!POSIX] (posix_madvise): Likewise.
24772 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24774 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24775 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24776 (mode_t): Likewise.
24777 (posix_mem_offset): Likewise.
24778 (posix_typed_mem_get_info): Likewise.
24779 (posix_typed_mem_open): Likewise.
24781 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24782 Change condition to [XOPEN2K8].
24784 * conform/conformtest.pl: Preprocess allow-header data with -x c
24785 instead of from stdin.
24786 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24787 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24788 [C99-based standards] (cerfc): Likewise.
24789 [C99-based standards] (cexp2): Likewise.
24790 [C99-based standards] (cexpm1): Likewise.
24791 [C99-based standards] (clog10): Likewise.
24792 [C99-based standards] (clog1p): Likewise.
24793 [C99-based standards] (clog2): Likewise.
24794 [C99-based standards] (clgamma): Likewise.
24795 [C99-based standards] (ctgamma): Likewise.
24796 [C99-based standards] (cerff): Likewise.
24797 [C99-based standards] (cerfcf): Likewise.
24798 [C99-based standards] (cexp2f): Likewise.
24799 [C99-based standards] (cexpm1f): Likewise.
24800 [C99-based standards] (clog10f): Likewise.
24801 [C99-based standards] (clog1pf): Likewise.
24802 [C99-based standards] (clog2f): Likewise.
24803 [C99-based standards] (clgammaf): Likewise.
24804 [C99-based standards] (ctgammaf): Likewise.
24805 [C99-based standards] (cerfl): Likewise.
24806 [C99-based standards] (cerfcl): Likewise.
24807 [C99-based standards] (cexp2l): Likewise.
24808 [C99-based standards] (cexpm1l): Likewise.
24809 [C99-based standards] (clog10l): Likewise.
24810 [C99-based standards] (clog1pl): Likewise.
24811 [C99-based standards] (clog2l): Likewise.
24812 [C99-based standards] (clgammal): Likewise.
24813 [C99-based standards] (ctgammal): Likewise.
24814 * conform/data/inttypes.h-data [C99-based standards]: Include
24815 stdint.h-data. Remove all expectations for stdint.h contents.
24816 [C99-based standards] (PRI*): Do not allow.
24817 [C99-based standards] (SCN*): Likewise.
24818 [C99-based standards] (*_t): Likewise.
24819 [C99-based-standards] (PRId8): Expect macro.
24820 [C99-based-standards] (PRIi8): Likewise.
24821 [C99-based-standards] (PRIo8): Likewise.
24822 [C99-based-standards] (PRIu8): Likewise.
24823 [C99-based-standards] (PRIx8): Likewise.
24824 [C99-based-standards] (PRIX8): Likewise.
24825 [C99-based-standards] (SCNd8): Likewise.
24826 [C99-based-standards] (SCNi8): Likewise.
24827 [C99-based-standards] (SCNo8): Likewise.
24828 [C99-based-standards] (SCNu8): Likewise.
24829 [C99-based-standards] (SCNx8): Likewise.
24830 [C99-based-standards] (PRIdLEAST8): Likewise.
24831 [C99-based-standards] (PRIiLEAST8): Likewise.
24832 [C99-based-standards] (PRIoLEAST8): Likewise.
24833 [C99-based-standards] (PRIuLEAST8): Likewise.
24834 [C99-based-standards] (PRIxLEAST8): Likewise.
24835 [C99-based-standards] (PRIXLEAST8): Likewise.
24836 [C99-based-standards] (SCNdLEAST8): Likewise.
24837 [C99-based-standards] (SCNiLEAST8): Likewise.
24838 [C99-based-standards] (SCNoLEAST8): Likewise.
24839 [C99-based-standards] (SCNuLEAST8): Likewise.
24840 [C99-based-standards] (SCNxLEAST8): Likewise.
24841 [C99-based-standards] (PRIdFAST8): Likewise.
24842 [C99-based-standards] (PRIiFAST8): Likewise.
24843 [C99-based-standards] (PRIoFAST8): Likewise.
24844 [C99-based-standards] (PRIuFAST8): Likewise.
24845 [C99-based-standards] (PRIxFAST8): Likewise.
24846 [C99-based-standards] (PRIXFAST8): Likewise.
24847 [C99-based-standards] (SCNdFAST8): Likewise.
24848 [C99-based-standards] (SCNiFAST8): Likewise.
24849 [C99-based-standards] (SCNoFAST8): Likewise.
24850 [C99-based-standards] (SCNuFAST8): Likewise.
24851 [C99-based-standards] (SCNxFAST8): Likewise.
24852 [C99-based-standards] (PRId16): Likewise.
24853 [C99-based-standards] (PRIi16): Likewise.
24854 [C99-based-standards] (PRIo16): Likewise.
24855 [C99-based-standards] (PRIu16): Likewise.
24856 [C99-based-standards] (PRIx16): Likewise.
24857 [C99-based-standards] (PRIX16): Likewise.
24858 [C99-based-standards] (SCNd16): Likewise.
24859 [C99-based-standards] (SCNi16): Likewise.
24860 [C99-based-standards] (SCNo16): Likewise.
24861 [C99-based-standards] (SCNu16): Likewise.
24862 [C99-based-standards] (SCNx16): Likewise.
24863 [C99-based-standards] (PRIdLEAST16): Likewise.
24864 [C99-based-standards] (PRIiLEAST16): Likewise.
24865 [C99-based-standards] (PRIoLEAST16): Likewise.
24866 [C99-based-standards] (PRIuLEAST16): Likewise.
24867 [C99-based-standards] (PRIxLEAST16): Likewise.
24868 [C99-based-standards] (PRIXLEAST16): Likewise.
24869 [C99-based-standards] (SCNdLEAST16): Likewise.
24870 [C99-based-standards] (SCNiLEAST16): Likewise.
24871 [C99-based-standards] (SCNoLEAST16): Likewise.
24872 [C99-based-standards] (SCNuLEAST16): Likewise.
24873 [C99-based-standards] (SCNxLEAST16): Likewise.
24874 [C99-based-standards] (PRIdFAST16): Likewise.
24875 [C99-based-standards] (PRIiFAST16): Likewise.
24876 [C99-based-standards] (PRIoFAST16): Likewise.
24877 [C99-based-standards] (PRIuFAST16): Likewise.
24878 [C99-based-standards] (PRIxFAST16): Likewise.
24879 [C99-based-standards] (PRIXFAST16): Likewise.
24880 [C99-based-standards] (SCNdFAST16): Likewise.
24881 [C99-based-standards] (SCNiFAST16): Likewise.
24882 [C99-based-standards] (SCNoFAST16): Likewise.
24883 [C99-based-standards] (SCNuFAST16): Likewise.
24884 [C99-based-standards] (SCNxFAST16): Likewise.
24885 [C99-based-standards] (PRId32): Likewise.
24886 [C99-based-standards] (PRIi32): Likewise.
24887 [C99-based-standards] (PRIo32): Likewise.
24888 [C99-based-standards] (PRIu32): Likewise.
24889 [C99-based-standards] (PRIx32): Likewise.
24890 [C99-based-standards] (PRIX32): Likewise.
24891 [C99-based-standards] (SCNd32): Likewise.
24892 [C99-based-standards] (SCNi32): Likewise.
24893 [C99-based-standards] (SCNo32): Likewise.
24894 [C99-based-standards] (SCNu32): Likewise.
24895 [C99-based-standards] (SCNx32): Likewise.
24896 [C99-based-standards] (PRIdLEAST32): Likewise.
24897 [C99-based-standards] (PRIiLEAST32): Likewise.
24898 [C99-based-standards] (PRIoLEAST32): Likewise.
24899 [C99-based-standards] (PRIuLEAST32): Likewise.
24900 [C99-based-standards] (PRIxLEAST32): Likewise.
24901 [C99-based-standards] (PRIXLEAST32): Likewise.
24902 [C99-based-standards] (SCNdLEAST32): Likewise.
24903 [C99-based-standards] (SCNiLEAST32): Likewise.
24904 [C99-based-standards] (SCNoLEAST32): Likewise.
24905 [C99-based-standards] (SCNuLEAST32): Likewise.
24906 [C99-based-standards] (SCNxLEAST32): Likewise.
24907 [C99-based-standards] (PRIdFAST32): Likewise.
24908 [C99-based-standards] (PRIiFAST32): Likewise.
24909 [C99-based-standards] (PRIoFAST32): Likewise.
24910 [C99-based-standards] (PRIuFAST32): Likewise.
24911 [C99-based-standards] (PRIxFAST32): Likewise.
24912 [C99-based-standards] (PRIXFAST32): Likewise.
24913 [C99-based-standards] (SCNdFAST32): Likewise.
24914 [C99-based-standards] (SCNiFAST32): Likewise.
24915 [C99-based-standards] (SCNoFAST32): Likewise.
24916 [C99-based-standards] (SCNuFAST32): Likewise.
24917 [C99-based-standards] (SCNxFAST32): Likewise.
24918 [C99-based-standards] (PRId64): Likewise.
24919 [C99-based-standards] (PRIi64): Likewise.
24920 [C99-based-standards] (PRIo64): Likewise.
24921 [C99-based-standards] (PRIu64): Likewise.
24922 [C99-based-standards] (PRIx64): Likewise.
24923 [C99-based-standards] (PRIX64): Likewise.
24924 [C99-based-standards] (SCNd64): Likewise.
24925 [C99-based-standards] (SCNi64): Likewise.
24926 [C99-based-standards] (SCNo64): Likewise.
24927 [C99-based-standards] (SCNu64): Likewise.
24928 [C99-based-standards] (SCNx64): Likewise.
24929 [C99-based-standards] (PRIdLEAST64): Likewise.
24930 [C99-based-standards] (PRIiLEAST64): Likewise.
24931 [C99-based-standards] (PRIoLEAST64): Likewise.
24932 [C99-based-standards] (PRIuLEAST64): Likewise.
24933 [C99-based-standards] (PRIxLEAST64): Likewise.
24934 [C99-based-standards] (PRIXLEAST64): Likewise.
24935 [C99-based-standards] (SCNdLEAST64): Likewise.
24936 [C99-based-standards] (SCNiLEAST64): Likewise.
24937 [C99-based-standards] (SCNoLEAST64): Likewise.
24938 [C99-based-standards] (SCNuLEAST64): Likewise.
24939 [C99-based-standards] (SCNxLEAST64): Likewise.
24940 [C99-based-standards] (PRIdFAST64): Likewise.
24941 [C99-based-standards] (PRIiFAST64): Likewise.
24942 [C99-based-standards] (PRIoFAST64): Likewise.
24943 [C99-based-standards] (PRIuFAST64): Likewise.
24944 [C99-based-standards] (PRIxFAST64): Likewise.
24945 [C99-based-standards] (PRIXFAST64): Likewise.
24946 [C99-based-standards] (SCNdFAST64): Likewise.
24947 [C99-based-standards] (SCNiFAST64): Likewise.
24948 [C99-based-standards] (SCNoFAST64): Likewise.
24949 [C99-based-standards] (SCNuFAST64): Likewise.
24950 [C99-based-standards] (SCNxFAST64): Likewise.
24951 [C99-based-standards] (PRIdMAX): Likewise.
24952 [C99-based-standards] (PRIiMAX): Likewise.
24953 [C99-based-standards] (PRIoMAX): Likewise.
24954 [C99-based-standards] (PRIuMAX): Likewise.
24955 [C99-based-standards] (PRIxMAX): Likewise.
24956 [C99-based-standards] (PRIXMAX): Likewise.
24957 [C99-based-standards] (SCNdMAX): Likewise.
24958 [C99-based-standards] (SCNiMAX): Likewise.
24959 [C99-based-standards] (SCNoMAX): Likewise.
24960 [C99-based-standards] (SCNuMAX): Likewise.
24961 [C99-based-standards] (SCNxMAX): Likewise.
24962 [C99-based-standards] (PRIdPTR): Likewise.
24963 [C99-based-standards] (PRIiPTR): Likewise.
24964 [C99-based-standards] (PRIoPTR): Likewise.
24965 [C99-based-standards] (PRIuPTR): Likewise.
24966 [C99-based-standards] (PRIxPTR): Likewise.
24967 [C99-based-standards] (PRIXPTR): Likewise.
24968 [C99-based-standards] (SCNdPTR): Likewise.
24969 [C99-based-standards] (SCNiPTR): Likewise.
24970 [C99-based-standards] (SCNoPTR): Likewise.
24971 [C99-based-standards] (SCNuPTR): Likewise.
24972 [C99-based-standards] (SCNxPTR): Likewise.
24973 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24975 * conform/data/stdint.h-data: Update comments to clarify
24977 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24979 [C99-based standards] (INT8_MAX): Likewise.
24980 [C99-based standards] (INT16_MIN): Likewise.
24981 [C99-based standards] (INT16_MAX): Likewise.
24982 [C99-based standards] (INT32_MIN): Likewise.
24983 [C99-based standards] (INT32_MAX): Likewise.
24984 [C99-based standards] (INT64_MIN): Likewise.
24985 [C99-based standards] (INT64_MAX): Likewise.
24986 [C99-based standards] (UINT8_MAX): Likewise.
24987 [C99-based standards] (UINT16_MAX): Likewise.
24988 [C99-based standards] (UINT32_MAX): Likewise.
24989 [C99-based standards] (UINT64_MAX): Likewise.
24990 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24991 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24992 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24993 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24994 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24995 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24996 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24997 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24998 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24999 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25000 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25001 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25002 [C99-based standards] (INT_FAST8_MIN): Likewise.
25003 [C99-based standards] (INT_FAST8_MAX): Likewise.
25004 [C99-based standards] (INT_FAST16_MIN): Likewise.
25005 [C99-based standards] (INT_FAST16_MAX): Likewise.
25006 [C99-based standards] (INT_FAST32_MIN): Likewise.
25007 [C99-based standards] (INT_FAST32_MAX): Likewise.
25008 [C99-based standards] (INT_FAST64_MIN): Likewise.
25009 [C99-based standards] (INT_FAST64_MAX): Likewise.
25010 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25011 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25012 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25013 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25014 [C99-based standards] (INTPTR_MIN): Likewise.
25015 [C99-based standards] (INTPTR_MAX): Likewise.
25016 [C99-based standards] (UINTPTR_MAX): Likewise.
25017 [C99-based standards] (INTMAX_MIN): Likewise.
25018 [C99-based standards] (INTMAX_MAX): Likewise.
25019 [C99-based standards] (UINTMAX_MAX): Likewise.
25020 [C99-based standards] (PTRDIFF_MIN): Likewise.
25021 [C99-based standards] (PTRDIFF_MAX): Likewise.
25022 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25023 [C99-based standards] (SIZE_MAX): Likewise.
25024 [C99-based standards] (WCHAR_MAX): Likewise.
25025 [C99-based standards] (WINT_MAX): Likewise.
25026 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25027 constraint on value.
25028 [C99-based standards] (WCHAR_MIN): Likewise.
25029 [C99-based standards] (WINT_MIN): Likewise.
25030 [C99-based standards] (*_t): Allow.
25031 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25032 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25033 Include math.h-data and complex.h-data. Remove all expectations
25034 of math.h and complex.h contents.
25035 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25037 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25038 (struct tm): Expect tag.
25039 [C99-based-standards] (wcstof): Expect function.
25040 [C99-based-standards] (wcstold): Likewise.
25041 [C99-based-standards] (wcstoll): Likewise.
25042 [C99-based-standards] (wcstoull): Likewise.
25043 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25044 macro-int-constant. Specify type.
25045 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25046 constraint on value.
25047 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25049 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25051 [ISO C standards]: Do not allow headers.
25052 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25053 wcs[abcdefghijklmnopqrstuvwxyz]*.
25054 [ISO C standards] (*_t): Do not allow.
25055 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25057 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25058 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25060 [ISO C standards]: Do not allow headers.
25061 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25062 is[abcdefghijklmnopqrstuvwxyz]*.
25063 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25064 to[abcdefghijklmnopqrstuvwxyz]*.
25065 [ISO C standards] (*_t): Do not allow.
25066 * conform/data/stdalign.h-data: New file.
25067 * conform/data/stdbool.h-data: Likewise.
25068 * conform/data/stdnoreturn.h-data: Likewise.
25070 2012-11-07 Roland McGrath <roland@hack.frob.com>
25073 * manual/filesys.texi (Directory Entries): Typo fix.
25074 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25076 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25078 * elf/elf.h (EM_AARCH64): New macro.
25079 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25080 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25081 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25082 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25083 (R_AARCH64_TLSDESC): Likewise.
25084 (NT_ARM_TLS): Likewise.
25085 (NT_ARM_HW_BREAK): Likewise.
25086 (NT_ARM_HW_WATCH): Likewise.
25088 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25091 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25092 (__ieee754_powl): Saturate nonzero exponents with absolute value
25093 below 0x1p-79 to +/- 0x1p-79.
25094 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25095 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25096 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25097 nonzero exponents with absolute value below 0x1p-32 to +/-
25099 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25100 (__ieee754_powl): Saturate nonzero exponents with absolute value
25101 below 0x1p-79 to +/- 0x1p-79.
25102 * math/libm-test.inc (pow_test): Add more tests.
25104 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25106 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25107 _dl_s390_cap_flags with kernel. Increase string length.
25108 (_dl_s390_platforms): Add z196 and zEC12.
25110 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25112 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25113 Change XOPEN21K to XOPEN2K.
25115 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25117 * string/memmove.c: Use memcpy when possible.
25119 2012-11-06 Andreas Jaeger <aj@suse.de>
25121 * po/eo.po: Update from translation team.
25123 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25127 exponent and small x and y exponents, scale x or y up. Increase
25128 by 2 the exponent used in scaling up.
25129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25130 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25131 * math/libm-test.inc (fma_test): Add more tests.
25132 (fma_test_towardzero): Likewise.
25133 (fma_test_downward): Likewise.
25134 (fma_test_upward): Likewise.
25136 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25139 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25143 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25144 namespace for names of struct fields.
25145 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25147 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25148 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25150 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25153 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25155 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25157 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25161 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25164 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25168 definitely overflow as x * y not x * y + z.
25169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25170 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25171 * math/libm-test.inc (fma_test): Add more tests.
25172 (fma_test_towardzero): Likewise.
25173 (fma_test_downward): Likewise.
25174 (fma_test_upward): Likewise.
25176 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25180 * include/stub-tag.h: Remove file.
25181 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25183 * manual/maint.texi (Porting): Don't reference it.
25184 * Makerules ($(objpfx)stubs): Likewise.
25185 * dirent/closedir.c: Don't include <stub-tag.h>.
25186 * dirent/dirfd.c: Likewise.
25187 * dirent/fdopendir.c: Likewise.
25188 * dirent/getdents.c: Likewise.
25189 * dirent/getdents64.c: Likewise.
25190 * dirent/opendir.c: Likewise.
25191 * dirent/readdir.c: Likewise.
25192 * dirent/readdir64.c: Likewise.
25193 * dirent/readdir64_r.c: Likewise.
25194 * dirent/readdir_r.c: Likewise.
25195 * dirent/rewinddir.c: Likewise.
25196 * dirent/seekdir.c: Likewise.
25197 * dirent/telldir.c: Likewise.
25198 * gmon/profil.c: Likewise.
25199 * grp/setgroups.c: Likewise.
25200 * inet/if_index.c: Likewise.
25201 * io/access.c: Likewise.
25202 * io/chdir.c: Likewise.
25203 * io/chmod.c: Likewise.
25204 * io/chown.c: Likewise.
25205 * io/close.c: Likewise.
25206 * io/dup.c: Likewise.
25207 * io/dup2.c: Likewise.
25208 * io/dup3.c: Likewise.
25209 * io/euidaccess.c: Likewise.
25210 * io/faccessat.c: Likewise.
25211 * io/fchdir.c: Likewise.
25212 * io/fchmod.c: Likewise.
25213 * io/fchmodat.c: Likewise.
25214 * io/fchown.c: Likewise.
25215 * io/fchownat.c: Likewise.
25216 * io/fcntl.c: Likewise.
25217 * io/flock.c: Likewise.
25218 * io/fstatfs.c: Likewise.
25219 * io/fstatfs64.c: Likewise.
25220 * io/fstatvfs.c: Likewise.
25221 * io/fstatvfs64.c: Likewise.
25222 * io/futimens.c: Likewise.
25223 * io/fxstat.c: Likewise.
25224 * io/fxstat64.c: Likewise.
25225 * io/fxstatat.c: Likewise.
25226 * io/fxstatat64.c: Likewise.
25227 * io/getcwd.c: Likewise.
25228 * io/isatty.c: Likewise.
25229 * io/lchmod.c: Likewise.
25230 * io/lchown.c: Likewise.
25231 * io/link.c: Likewise.
25232 * io/linkat.c: Likewise.
25233 * io/lseek.c: Likewise.
25234 * io/lseek64.c: Likewise.
25235 * io/lxstat64.c: Likewise.
25236 * io/mkdir.c: Likewise.
25237 * io/mkdirat.c: Likewise.
25238 * io/mkfifo.c: Likewise.
25239 * io/mkfifoat.c: Likewise.
25240 * io/open.c: Likewise.
25241 * io/open64.c: Likewise.
25242 * io/openat.c: Likewise.
25243 * io/openat64.c: Likewise.
25244 * io/pipe.c: Likewise.
25245 * io/pipe2.c: Likewise.
25246 * io/poll.c: Likewise.
25247 * io/posix_fadvise.c: Likewise.
25248 * io/posix_fadvise64.c: Likewise.
25249 * io/posix_fallocate.c: Likewise.
25250 * io/posix_fallocate64.c: Likewise.
25251 * io/read.c: Likewise.
25252 * io/readlink.c: Likewise.
25253 * io/readlinkat.c: Likewise.
25254 * io/rmdir.c: Likewise.
25255 * io/sendfile.c: Likewise.
25256 * io/sendfile64.c: Likewise.
25257 * io/statfs.c: Likewise.
25258 * io/statfs64.c: Likewise.
25259 * io/statvfs.c: Likewise.
25260 * io/statvfs64.c: Likewise.
25261 * io/symlink.c: Likewise.
25262 * io/symlinkat.c: Likewise.
25263 * io/ttyname.c: Likewise.
25264 * io/ttyname_r.c: Likewise.
25265 * io/umask.c: Likewise.
25266 * io/unlink.c: Likewise.
25267 * io/unlinkat.c: Likewise.
25268 * io/utime.c: Likewise.
25269 * io/utimensat.c: Likewise.
25270 * io/write.c: Likewise.
25271 * io/xmknod.c: Likewise.
25272 * io/xmknodat.c: Likewise.
25273 * io/xstat.c: Likewise.
25274 * io/xstat64.c: Likewise.
25275 * login/getpt.c: Likewise.
25276 * login/grantpt.c: Likewise.
25277 * login/unlockpt.c: Likewise.
25278 * math/e_acoshl.c: Likewise.
25279 * math/e_acosl.c: Likewise.
25280 * math/e_asinl.c: Likewise.
25281 * math/e_atan2l.c: Likewise.
25282 * math/e_atanhl.c: Likewise.
25283 * math/e_coshl.c: Likewise.
25284 * math/e_expl.c: Likewise.
25285 * math/e_fmodl.c: Likewise.
25286 * math/e_gammal_r.c: Likewise.
25287 * math/e_hypotl.c: Likewise.
25288 * math/e_j0l.c: Likewise.
25289 * math/e_j1l.c: Likewise.
25290 * math/e_jnl.c: Likewise.
25291 * math/e_lgammal_r.c: Likewise.
25292 * math/e_log10l.c: Likewise.
25293 * math/e_log2l.c: Likewise.
25294 * math/e_logl.c: Likewise.
25295 * math/e_powl.c: Likewise.
25296 * math/e_rem_pio2l.c: Likewise.
25297 * math/e_sinhl.c: Likewise.
25298 * math/e_sqrtl.c: Likewise.
25299 * math/fclrexcpt.c: Likewise.
25300 * math/fedisblxcpt.c: Likewise.
25301 * math/feenablxcpt.c: Likewise.
25302 * math/fegetenv.c: Likewise.
25303 * math/fegetexcept.c: Likewise.
25304 * math/fegetround.c: Likewise.
25305 * math/feholdexcpt.c: Likewise.
25306 * math/fesetenv.c: Likewise.
25307 * math/fesetround.c: Likewise.
25308 * math/feupdateenv.c: Likewise.
25309 * math/fgetexcptflg.c: Likewise.
25310 * math/fraiseexcpt.c: Likewise.
25311 * math/fsetexcptflg.c: Likewise.
25312 * math/ftestexcept.c: Likewise.
25313 * math/k_cosl.c: Likewise.
25314 * math/k_rem_pio2l.c: Likewise.
25315 * math/k_sinl.c: Likewise.
25316 * math/k_tanl.c: Likewise.
25317 * math/s_asinhl.c: Likewise.
25318 * math/s_atanl.c: Likewise.
25319 * math/s_cbrtl.c: Likewise.
25320 * math/s_erfl.c: Likewise.
25321 * math/s_expm1l.c: Likewise.
25322 * math/s_log1pl.c: Likewise.
25323 * math/s_tanhl.c: Likewise.
25324 * misc/acct.c: Likewise.
25325 * misc/brk.c: Likewise.
25326 * misc/chflags.c: Likewise.
25327 * misc/chroot.c: Likewise.
25328 * misc/fchflags.c: Likewise.
25329 * misc/fgetxattr.c: Likewise.
25330 * misc/flistxattr.c: Likewise.
25331 * misc/fremovexattr.c: Likewise.
25332 * misc/fsetxattr.c: Likewise.
25333 * misc/fsync.c: Likewise.
25334 * misc/ftruncate.c: Likewise.
25335 * misc/futimes.c: Likewise.
25336 * misc/futimesat.c: Likewise.
25337 * misc/getdomain.c: Likewise.
25338 * misc/getdtsz.c: Likewise.
25339 * misc/gethostid.c: Likewise.
25340 * misc/gethostname.c: Likewise.
25341 * misc/getloadavg.c: Likewise.
25342 * misc/getpagesize.c: Likewise.
25343 * misc/getsysstats.c: Likewise.
25344 * misc/getxattr.c: Likewise.
25345 * misc/gtty.c: Likewise.
25346 * misc/ioctl.c: Likewise.
25347 * misc/lgetxattr.c: Likewise.
25348 * misc/listxattr.c: Likewise.
25349 * misc/llistxattr.c: Likewise.
25350 * misc/lremovexattr.c: Likewise.
25351 * misc/lsetxattr.c: Likewise.
25352 * misc/lutimes.c: Likewise.
25353 * misc/madvise.c: Likewise.
25354 * misc/mincore.c: Likewise.
25355 * misc/mlock.c: Likewise.
25356 * misc/mlockall.c: Likewise.
25357 * misc/mmap.c: Likewise.
25358 * misc/mprotect.c: Likewise.
25359 * misc/msync.c: Likewise.
25360 * misc/munlock.c: Likewise.
25361 * misc/munlockall.c: Likewise.
25362 * misc/munmap.c: Likewise.
25363 * misc/preadv.c: Likewise.
25364 * misc/preadv64.c: Likewise.
25365 * misc/ptrace.c: Likewise.
25366 * misc/pwritev.c: Likewise.
25367 * misc/pwritev64.c: Likewise.
25368 * misc/readv.c: Likewise.
25369 * misc/reboot.c: Likewise.
25370 * misc/remap_file_pages.c: Likewise.
25371 * misc/removexattr.c: Likewise.
25372 * misc/revoke.c: Likewise.
25373 * misc/select.c: Likewise.
25374 * misc/setdomain.c: Likewise.
25375 * misc/setegid.c: Likewise.
25376 * misc/seteuid.c: Likewise.
25377 * misc/sethostid.c: Likewise.
25378 * misc/sethostname.c: Likewise.
25379 * misc/setregid.c: Likewise.
25380 * misc/setreuid.c: Likewise.
25381 * misc/setxattr.c: Likewise.
25382 * misc/sstk.c: Likewise.
25383 * misc/stty.c: Likewise.
25384 * misc/swapoff.c: Likewise.
25385 * misc/swapon.c: Likewise.
25386 * misc/sync.c: Likewise.
25387 * misc/syncfs.c: Likewise.
25388 * misc/syscall.c: Likewise.
25389 * misc/truncate.c: Likewise.
25390 * misc/ualarm.c: Likewise.
25391 * misc/usleep.c: Likewise.
25392 * misc/ustat.c: Likewise.
25393 * misc/utimes.c: Likewise.
25394 * misc/vhangup.c: Likewise.
25395 * misc/writev.c: Likewise.
25396 * posix/_exit.c: Likewise.
25397 * posix/alarm.c: Likewise.
25398 * posix/execve.c: Likewise.
25399 * posix/fexecve.c: Likewise.
25400 * posix/fork.c: Likewise.
25401 * posix/fpathconf.c: Likewise.
25402 * posix/getaddrinfo.c: Likewise.
25403 * posix/getegid.c: Likewise.
25404 * posix/geteuid.c: Likewise.
25405 * posix/getgid.c: Likewise.
25406 * posix/getgroups.c: Likewise.
25407 * posix/getlogin.c: Likewise.
25408 * posix/getlogin_r.c: Likewise.
25409 * posix/getpgid.c: Likewise.
25410 * posix/getpid.c: Likewise.
25411 * posix/getppid.c: Likewise.
25412 * posix/getresgid.c: Likewise.
25413 * posix/getresuid.c: Likewise.
25414 * posix/getsid.c: Likewise.
25415 * posix/getuid.c: Likewise.
25416 * posix/glob64.c: Likewise.
25417 * posix/nanosleep.c: Likewise.
25418 * posix/pathconf.c: Likewise.
25419 * posix/pause.c: Likewise.
25420 * posix/posix_madvise.c: Likewise.
25421 * posix/pread.c: Likewise.
25422 * posix/pread64.c: Likewise.
25423 * posix/pwrite.c: Likewise.
25424 * posix/pwrite64.c: Likewise.
25425 * posix/sched_getaffinity.c: Likewise.
25426 * posix/sched_getp.c: Likewise.
25427 * posix/sched_gets.c: Likewise.
25428 * posix/sched_primax.c: Likewise.
25429 * posix/sched_primin.c: Likewise.
25430 * posix/sched_rr_gi.c: Likewise.
25431 * posix/sched_setaffinity.c: Likewise.
25432 * posix/sched_setp.c: Likewise.
25433 * posix/sched_sets.c: Likewise.
25434 * posix/sched_yield.c: Likewise.
25435 * posix/setgid.c: Likewise.
25436 * posix/setlogin.c: Likewise.
25437 * posix/setpgid.c: Likewise.
25438 * posix/setresgid.c: Likewise.
25439 * posix/setresuid.c: Likewise.
25440 * posix/setsid.c: Likewise.
25441 * posix/setuid.c: Likewise.
25442 * posix/sleep.c: Likewise.
25443 * posix/spawni.c: Likewise.
25444 * posix/sysconf.c: Likewise.
25445 * posix/times.c: Likewise.
25446 * posix/wait.c: Likewise.
25447 * posix/wait3.c: Likewise.
25448 * posix/wait4.c: Likewise.
25449 * posix/waitpid.c: Likewise.
25450 * resolv/gai_sigqueue.c: Likewise.
25451 * resource/getpriority.c: Likewise.
25452 * resource/getrlimit.c: Likewise.
25453 * resource/getrusage.c: Likewise.
25454 * resource/nice.c: Likewise.
25455 * resource/setpriority.c: Likewise.
25456 * resource/setrlimit.c: Likewise.
25457 * resource/ulimit.c: Likewise.
25458 * rt/aio_cancel.c: Likewise.
25459 * rt/aio_fsync.c: Likewise.
25460 * rt/aio_read.c: Likewise.
25461 * rt/aio_sigqueue.c: Likewise.
25462 * rt/aio_suspend.c: Likewise.
25463 * rt/aio_write.c: Likewise.
25464 * rt/clock_getres.c: Likewise.
25465 * rt/clock_gettime.c: Likewise.
25466 * rt/clock_nanosleep.c: Likewise.
25467 * rt/clock_settime.c: Likewise.
25468 * rt/lio_listio.c: Likewise.
25469 * rt/mq_close.c: Likewise.
25470 * rt/mq_getattr.c: Likewise.
25471 * rt/mq_notify.c: Likewise.
25472 * rt/mq_open.c: Likewise.
25473 * rt/mq_receive.c: Likewise.
25474 * rt/mq_send.c: Likewise.
25475 * rt/mq_setattr.c: Likewise.
25476 * rt/mq_timedreceive.c: Likewise.
25477 * rt/mq_timedsend.c: Likewise.
25478 * rt/mq_unlink.c: Likewise.
25479 * rt/shm_open.c: Likewise.
25480 * rt/shm_unlink.c: Likewise.
25481 * rt/timer_create.c: Likewise.
25482 * rt/timer_delete.c: Likewise.
25483 * rt/timer_getoverr.c: Likewise.
25484 * rt/timer_gettime.c: Likewise.
25485 * rt/timer_settime.c: Likewise.
25486 * setjmp/__longjmp.c: Likewise.
25487 * setjmp/setjmp.c: Likewise.
25488 * signal/kill.c: Likewise.
25489 * signal/killpg.c: Likewise.
25490 * signal/raise.c: Likewise.
25491 * signal/sigaction.c: Likewise.
25492 * signal/sigaltstack.c: Likewise.
25493 * signal/sigblock.c: Likewise.
25494 * signal/sigignore.c: Likewise.
25495 * signal/sigintr.c: Likewise.
25496 * signal/signal.c: Likewise.
25497 * signal/sigpause.c: Likewise.
25498 * signal/sigpending.c: Likewise.
25499 * signal/sigqueue.c: Likewise.
25500 * signal/sigreturn.c: Likewise.
25501 * signal/sigset.c: Likewise.
25502 * signal/sigsetmask.c: Likewise.
25503 * signal/sigstack.c: Likewise.
25504 * signal/sigsuspend.c: Likewise.
25505 * signal/sigtimedwait.c: Likewise.
25506 * signal/sigvec.c: Likewise.
25507 * signal/sigwait.c: Likewise.
25508 * signal/sigwaitinfo.c: Likewise.
25509 * signal/sysv_signal.c: Likewise.
25510 * socket/accept.c: Likewise.
25511 * socket/accept4.c: Likewise.
25512 * socket/bind.c: Likewise.
25513 * socket/connect.c: Likewise.
25514 * socket/getpeername.c: Likewise.
25515 * socket/getsockname.c: Likewise.
25516 * socket/getsockopt.c: Likewise.
25517 * socket/isfdtype.c: Likewise.
25518 * socket/listen.c: Likewise.
25519 * socket/recv.c: Likewise.
25520 * socket/recvfrom.c: Likewise.
25521 * socket/recvmsg.c: Likewise.
25522 * socket/send.c: Likewise.
25523 * socket/sendmsg.c: Likewise.
25524 * socket/sendto.c: Likewise.
25525 * socket/setsockopt.c: Likewise.
25526 * socket/shutdown.c: Likewise.
25527 * socket/sockatmark.c: Likewise.
25528 * socket/socket.c: Likewise.
25529 * socket/socketpair.c: Likewise.
25530 * stdio-common/ctermid.c: Likewise.
25531 * stdio-common/cuserid.c: Likewise.
25532 * stdio-common/remove.c: Likewise.
25533 * stdio-common/rename.c: Likewise.
25534 * stdio-common/renameat.c: Likewise.
25535 * stdio-common/tempname.c: Likewise.
25536 * stdlib/getcontext.c: Likewise.
25537 * stdlib/makecontext.c: Likewise.
25538 * stdlib/setcontext.c: Likewise.
25539 * stdlib/swapcontext.c: Likewise.
25540 * stdlib/system.c: Likewise.
25541 * streams/fattach.c: Likewise.
25542 * streams/fdetach.c: Likewise.
25543 * streams/getmsg.c: Likewise.
25544 * streams/getpmsg.c: Likewise.
25545 * streams/putmsg.c: Likewise.
25546 * streams/putpmsg.c: Likewise.
25547 * sysdeps/unix/bsd/getpt.c: Likewise.
25548 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25549 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25550 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25553 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25554 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25555 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25556 * sysvipc/msgctl.c: Likewise.
25557 * sysvipc/msgget.c: Likewise.
25558 * sysvipc/msgrcv.c: Likewise.
25559 * sysvipc/msgsnd.c: Likewise.
25560 * sysvipc/semctl.c: Likewise.
25561 * sysvipc/semget.c: Likewise.
25562 * sysvipc/semop.c: Likewise.
25563 * sysvipc/semtimedop.c: Likewise.
25564 * sysvipc/shmat.c: Likewise.
25565 * sysvipc/shmctl.c: Likewise.
25566 * sysvipc/shmdt.c: Likewise.
25567 * sysvipc/shmget.c: Likewise.
25568 * termios/tcdrain.c: Likewise.
25569 * termios/tcflow.c: Likewise.
25570 * termios/tcflush.c: Likewise.
25571 * termios/tcgetattr.c: Likewise.
25572 * termios/tcgetpgrp.c: Likewise.
25573 * termios/tcsendbrk.c: Likewise.
25574 * termios/tcsetattr.c: Likewise.
25575 * termios/tcsetpgrp.c: Likewise.
25576 * time/adjtime.c: Likewise.
25577 * time/clock.c: Likewise.
25578 * time/getitimer.c: Likewise.
25579 * time/gettimeofday.c: Likewise.
25580 * time/setitimer.c: Likewise.
25581 * time/settimeofday.c: Likewise.
25582 * time/stime.c: Likewise.
25583 * time/time.c: Likewise.
25585 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25587 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25590 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25592 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25594 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25598 FE_TONEAREST before applying Dekker multiplication and Knuth
25599 addition. Clear inexact exceptions and check for exact zero
25600 results afterwards.
25601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25602 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25603 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25604 * math/libm-test.inc (fma_test): Add more tests.
25605 (fma_test_towardzero): Likewise.
25606 (fma_test_downward): Likewise.
25607 (fma_test_upward): Likewise.
25608 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25610 (libc_fesetround): New macro.
25611 (libc_fesetroundf): Likewise.
25612 (libc_fesetroundl): Likewise.
25613 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25615 (libc_fesetround_387): Likewise.
25616 (libc_fesetroundf): New macro.
25617 (libc_fesetround): Likewise.
25618 (libc_fesetroundl): Likewise.
25619 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25621 (libc_fesetroundf): New macro.
25622 (libc_fesetround): Likewise.
25623 (libc_fesetroundl): Likewise.
25624 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25625 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25626 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25628 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25629 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25631 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25632 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25634 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25638 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25639 integer constant usable in #if and use that to give value to enum
25641 (FE_DIVBYZERO): Likewise.
25642 (FE_UNDERFLOW): Likewise.
25643 (FE_OVERFLOW): Likewise.
25644 (FE_INVALID): Likewise.
25645 (FE_INVALID_SNAN): Likewise.
25646 (FE_INVALID_ISI): Likewise.
25647 (FE_INVALID_IDI): Likewise.
25648 (FE_INVALID_ZDZ): Likewise.
25649 (FE_INVALID_IMZ): Likewise.
25650 (FE_INVALID_COMPARE): Likewise.
25651 (FE_INVALID_SOFTWARE): Likewise.
25652 (FE_INVALID_SQRT): Likewise.
25653 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25654 (FE_TONEAREST): Likewise.
25655 (FE_TOWARDZERO): Likewise.
25656 (FE_UPWARD): Likewise.
25657 (FE_DOWNWARD): Likewise.
25658 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25659 (FE_DIVBYZERO): Likewise.
25660 (FE_OVERFLOW): Likewise.
25661 (FE_UNDERFLOW): Likewise.
25662 (FE_INEXACT): Likewise.
25663 (FE_TONEAREST): Likewise.
25664 (FE_DOWNWARD): Likewise.
25665 (FE_UPWARD): Likewise.
25666 (FE_TOWARDZERO): Likewise.
25667 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25668 (FE_UNDERFLOW): Likewise.
25669 (FE_OVERFLOW): Likewise.
25670 (FE_DIVBYZERO): Likewise.
25671 (FE_INVALID): Likewise.
25672 (FE_TONEAREST): Likewise.
25673 (FE_TOWARDZERO): Likewise.
25674 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25675 (FE_OVERFLOW): Likewise.
25676 (FE_UNDERFLOW): Likewise.
25677 (FE_DIVBYZERO): Likewise.
25678 (FE_INEXACT): Likewise.
25679 (FE_TONEAREST): Likewise.
25680 (FE_TOWARDZERO): Likewise.
25681 (FE_UPWARD): Likewise.
25682 (FE_DOWNWARD): Likewise.
25683 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25684 (FE_DIVBYZERO): Likewise.
25685 (FE_OVERFLOW): Likewise.
25686 (FE_UNDERFLOW): Likewise.
25687 (FE_INEXACT): Likewise.
25688 (FE_TONEAREST): Likewise.
25689 (FE_DOWNWARD): Likewise.
25690 (FE_UPWARD): Likewise.
25691 (FE_TOWARDZERO): Likewise.
25693 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25695 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25697 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25699 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25700 commands. Quote $PWD.
25701 (blacklist_exports): Don't use remove_newlines. Replace "declare
25703 (remove_newlines): Remove.
25705 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25707 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25708 * stdlib/stdlib.h (atof): Moved to ...
25709 * include/bits/stdlib-float.h: Here. New file.
25710 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25711 * stdlib/bits/stdlib-float.h: New file.
25712 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25714 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25717 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25719 * conform/conformtest.pl (@headers): Add fenv.h.
25720 * conform/data/fenv.h-data: New file.
25721 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25722 include of <math/fenv.h>.
25724 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25725 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25726 && !UNIX98]. Enables tests for XOPEN2K8.
25727 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25728 POSIX2008]: Likewise.
25730 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25731 (struct rusage): Do not expect type or its members.
25734 * math/math.h (FP_NAN): Define macro to integer constant usable in
25735 #if and use that to give value to enum constant.
25736 (FP_INFINITE): Likewise.
25737 (FP_ZERO): Likewise.
25738 (FP_SUBNORMAL): Likewise.
25739 (FP_NORMAL): Likewise.
25741 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25743 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25744 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25747 2012-11-02 Roland McGrath <roland@hack.frob.com>
25749 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25750 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25751 autoconf-time if not.
25752 * configure.in: Remove AC_PREREQ.
25754 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25756 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25757 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25758 of the internal implementation.
25760 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25762 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25763 except include of <misc/sys/syslog.h>.
25765 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25768 function returns with a NULL context exit with zero.
25770 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25772 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25774 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25776 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25777 (run_program_cmd): This.
25778 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25779 (tst_langinfo): New variable. Use it.
25781 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25783 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25784 floating point opcodes.
25786 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25788 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25791 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25793 * sysdeps/mach/hurd/powerpc: Remove directory.
25794 * sysdeps/mach/powerpc: Likewise.
25796 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25798 * scripts/check-local-headers.sh: Ignore c++ headers.
25800 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25802 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25803 __libc_cleanup_region_start argument.
25805 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25810 x * y using scaling, not as x * y + z.
25811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25813 * math/libm-test.inc (fma_test): Add more tests.
25814 (fma_test_towardzero): Likewise.
25815 (fma_test_downward): Likewise.
25816 (fma_test_upward): Likewise.
25818 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25820 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25822 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25824 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25827 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25829 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25831 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25838 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25841 Fix the order of the list for glibc 2.17.
25842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25845 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25849 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25852 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25853 for low part of x being zero before using __atanl (y).
25854 * math/libm-test.inc (atan2_test): Add another test.
25856 * manual/install.texi (Configuring and compiling): Document
25857 general use of test-wrapper and test-wrapper-env.
25858 * INSTALL: Regenerated.
25860 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25861 (__fma): Do not extract and scale down low bits on after-rounding
25862 systems when result rounded to normal precision would have normal
25864 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25865 (__fmal): Do not extract and scale down low bits on after-rounding
25866 systems when result rounded to normal precision would have normal
25868 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25869 (__fmal): Do not extract and scale down low bits on after-rounding
25870 systems when result rounded to normal precision would have normal
25872 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25874 (fma_test): Add more tests.
25875 (fma_test_towardzero): Likewise.
25876 (fma_test_downward): Likewise.
25877 (fma_test_upward): Likewise.
25879 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25881 * sysdeps/i386/tininess.h: Renamed to ...
25882 * sysdeps/x86/tininess.h: This.
25883 * sysdeps/x86_64/tininess.h: Removed.
25885 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25887 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25888 input. Use $(build-program-cmd).
25889 ($(objpfx)tst-array1-static.out): Likewise.
25890 ($(objpfx)tst-array2.out): Likewise.
25891 ($(objpfx)tst-array3.out): Likewise.
25892 ($(objpfx)tst-array4.out): Likewise.
25893 ($(objpfx)tst-array5.out): Likewise.
25894 ($(objpfx)tst-array5-static.out): Likewise.
25896 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25898 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25901 * nss/nsswitch.h (nss_interface_function): Provide new
25902 macro for use with NSS functions.
25903 * grp/initgroups.c: Use new macro.
25904 * nss/getXXbyYY.c: Likewise.
25905 * nss/getXXbyYY_r.c: Likewise.
25906 * nss/getXXent.c: Likewise.
25907 * nss/getXXent_r.c: Likewise.
25908 * sysdeps/posix/getaddrinfo.c: Likewise.
25910 2012-10-30 Andreas Jaeger <aj@suse.de>
25912 * po/ru.po: Update Russion translation from translation project.
25914 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25919 result and shift together with sticky bit instead of replicating
25920 round-to-nearest rounding.
25921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25922 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25923 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25924 missing underflow exceptions.
25925 (fma_test_towardzero): Add more tests.
25926 (fma_test_downward): Likewise.
25927 (fma_test_upward): Likewise.
25930 * sysdeps/generic/tininess.h: New file.
25931 * sysdeps/i386/tininess.h: Likewise.
25932 * sysdeps/sh/tininess.h: Likewise.
25933 * sysdeps/x86_64/tininess.h: Likewise.
25934 * stdlib/tst-strtod-underflow.c: Likewise.
25935 * stdlib/tst-tininess.c: Likewise.
25936 * stdlib/strtod_l.c: Include <tininess.h>.
25937 (round_and_return): Do not set errno for exact underflow cases.
25938 Force an underflow exception when setting errno for underflow.
25939 Determine underflow based on rounding to normal precision if
25940 TININESS_AFTER_ROUNDING.
25941 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25942 ERANGE for exact underflow cases.
25943 * stdlib/Makefile (tests): Add tst-tininess and
25944 tst-strtod-underflow.
25945 ($(objpfx)tst-tininess): Use $(link-libm).
25946 ($(objpfx)tst-strtod-underflow): Likewise.
25948 2012-10-30 Andreas Jaeger <aj@suse.de>
25951 * elf/Makefile (tests): Remove conditional for have-initfini-array
25952 since this is now always required and the variable does not exist
25954 (tests-static): Likewise.
25955 (modules-names): Likewise.
25957 * po/eo.po: Add Esperanto translation from translation project.
25959 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25960 merged with constructor/destructor.
25961 (init_array): Likewise.
25962 * elf/tst-array2dep.c (fini_array): Likewise.
25963 (init_array): Likewise.
25965 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25967 * manual/message.texi: Delete @cartouche tags.
25969 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25971 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25973 * sysdeps/mach/hurd/fsync.c: Likewise.
25975 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25976 [_POSIX_REALTIME_SIGNALS]: Change condition to
25977 [_POSIX_REALTIME_SIGNALS > 0].
25979 2012-10-27 Andreas Jaeger <aj@suse.de>
25981 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25982 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25983 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25984 [__WORDSIZE != 64]: Likewise.
25986 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25988 * iconvdata/tst-table.sh: Remove ${SHELL}.
25989 * iconvdata/tst-tables.sh: Likewise.
25991 2012-10-25 David S. Miller <davem@davemloft.net>
25993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25994 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25997 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25999 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26000 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26001 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26004 2012-10-25 Roland McGrath <roland@hack.frob.com>
26006 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26007 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26010 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26011 Jim Blandy <jimb@codesourcery.com>
26013 * scripts/cross-test-ssh.sh: New file.
26014 * manual/install.texi (Configuring and compiling): Document use of
26016 * INSTALL: Regenerated.
26018 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26020 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26023 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26025 * Makeconfig (run-program-prefix): Fix comment.
26027 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26028 Jim Blandy <jimb@codesourcery.com>
26030 * Makeconfig (test-wrapper): New variable,
26031 (test-wrapper-env): Likewise.
26032 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26033 (run-built-tests): Define to yes.
26034 (run-program-prefix): Use $(test-wrapper).
26035 (built-program-cmd): Likewise.
26036 * Rules (make-test-out): Use $(test-wrapper-env) and
26037 $(host-built-program-cmd).
26038 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26039 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26041 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26042 $(test-wrapper-env) to tst-rtld-load-self.sh.
26043 ($(objpfx)order2.out): Use $(test-wrapper).
26044 ($(objpfx)tst-initorder.out): Likewise.
26045 ($(objpfx)tst-initorder2.out): Likewise.
26046 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26047 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26048 (test_wrapper_env): New variable. Use it to run ld.so.
26049 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26050 Use it to run ld.so.
26051 (test_wrapper_env): Likewise.
26052 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26053 $(test-wrapper) to run-iconv-test.sh.
26054 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26055 (ICONV): Use $test_wrapper.
26056 * posix/Makefile ($(objpfx)globtest.out): Pass
26057 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26058 globtest.sh, not $(run-program-prefix).
26059 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26060 (test_wrapper): Likewise.
26061 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26062 set together with run_via_rtld_prefix.
26063 (run_program_prefix): Define in terms of test_wrapper and
26064 run_via_rtld_prefix.
26066 2012-10-24 Roland McGrath <roland@hack.frob.com>
26068 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26069 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26073 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26074 Declare __clock_getres, __clock_gettime, __clock_settime,
26075 __clock_nanosleep, and __clock_getcpuclockid.
26076 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26077 Remove librt_hidden_def (clock_gettime).
26078 * sysdeps/unix/clock_gettime.c: Likewise.
26079 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26080 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26081 * rt/clock_getres.c: Define __clock_getres as an alias.
26082 * sysdeps/posix/clock_getres.c: Likewise.
26083 * rt/clock_settime.c: Define __clock_settime as an alias.
26084 * sysdeps/unix/clock_settime.c: Likewise.
26085 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26086 * sysdeps/unix/clock_nanosleep.c: Likewise.
26087 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26088 * rt/clock-compat.c: New file.
26089 * rt/Makefile (librt-routines): Add clock-compat and move
26090 $(clock-routines) to ...
26091 (routines): ... here, new variable.
26092 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26093 Don't add get_clockfreq here.
26094 * rt/Versions (libc: GLIBC_2.17): New version set.
26095 Add clock_* symbols here.
26096 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26097 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26098 (GLIBC_2.17): Add clock_* symbols.
26099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26110 * NEWS: Mention the move.
26112 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26113 Use __open, __read, __close rather than their public counterparts.
26114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26115 (__get_clockfreq_via_cpuinfo): Likewise.
26116 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26117 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26119 * config.h.in (HAVE_IFUNC): New #undef.
26120 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26122 * configure: Regenerated.
26124 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26126 * configure.in: Move READELF check to start of file.
26127 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26128 libc_cv_asm_gnu_indirect_function in the process.
26129 * configure: Regenerated.
26131 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26133 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26134 send the output to /dev/null.
26135 (libc_cv_cc_with_libunwind): Likewise.
26136 (libc_cv_as_noexecstack): Likewise.
26137 * configure: Regenerate.
26139 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26141 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26143 * posix/globtest.sh (TMPDIR): Do not set.
26144 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26145 (testout): Likewise.
26147 2012-10-24 Andreas Jaeger <aj@suse.de>
26149 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26150 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26151 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26152 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26153 posix_fadvise64, posix_fallocate64.
26155 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26156 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26157 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26159 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26161 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26164 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26165 <bits/fcntl-linux.h>.
26166 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26169 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26170 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26171 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26172 [__WORDSIZE != 64]: Likewise.
26174 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26176 * Makeconfig (run-built-tests): New variable.
26177 * Rules [$(cross-compiling) = yes]: Change condition to
26178 [$(run-built-tests) = no].
26179 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26180 to [$(run-built-tests) = yes].
26181 * elf/Makefile [$(cross-compiling) = no]: Likewise
26182 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26183 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26184 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26185 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26186 * io/Makefile [$(cross-compiling) = no]: Likewise.
26187 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26188 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26189 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26190 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26191 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26192 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26193 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26194 * string/Makefile [$(cross-compiling) = no]: Likewise.
26196 * posix/Makefile ($(objpfx)globtest.out): Pass
26197 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26198 $(rtld-installed-name).
26199 * posix/globtest.sh (elf_objpfx): Remove variable.
26200 (rtld_installed_name): Likewise.
26201 (library_path): Likewise.
26202 (run_program_prefix): New variable. Use for running globtest
26205 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26206 Joseph Myers <joseph@codesourcery.com>
26208 * Makeconfig (host-built-program-cmd): New variable.
26209 * elf/Makefile (tst-stackguard1-ARGS): Use
26210 $(host-built-program-cmd).
26211 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26212 (tst-spawn-ARGS): Likewise.
26213 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26215 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26216 Jim Blandy <jimb@codesourcery.com>
26218 * Makeconfig (run-via-rtld-prefix): New variable.
26219 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26220 (built-program-cmd): Likewise.
26222 2012-10-22 Andreas Jaeger <aj@suse.de>
26224 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26225 __O_RSYNC if it exists, otherwise to O_SYNC.
26227 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26228 Joseph Myers <joseph@codesourcery.com>
26230 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26232 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26234 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26237 2012-10-22 Andreas Jaeger <aj@suse.de>
26239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26241 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26244 bits/fcntl-linux.h.
26246 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26247 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26254 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26255 Joseph Myers <joseph@codesourcery.com>
26257 * config.make.in (NM): New variable.
26259 2012-10-21 Andreas Jaeger <aj@suse.de>
26261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26262 definitions and declarations that are provided by
26263 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26265 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26268 * elf/Makefile (tests-static): Add tst-leaks1-static.
26269 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26270 ($(objpfx)tst-leaks1-static): New rule.
26271 ($(objpfx)tst-leaks1-static-mem): Likewise.
26272 (tst-leaks1-static-ENV): New macro.
26273 * elf/dl-open.c (dl_open_worker): Check the main application
26274 only if SHARED is defined.
26275 * elf/tst-leaks1-static.c: New file.
26277 2012-10-20 Andreas Jaeger <aj@suse.de>
26279 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26280 generic values for Linux.
26281 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26282 and declarations that are provided by <bits/fcntl-linux.h> and
26283 include <bits/fcntl-linux.h>.
26284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26287 2012-10-20 Roland McGrath <roland@hack.frob.com>
26289 * io/fcntl.h: Move include of <bits/types.h> to the top and
26290 include it unconditionally.
26292 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26294 * wcsmbs/Makefile (tests-ifunc): New variable.
26295 (tests): Add $(tests-ifunc).
26296 * wcsmbs/test-wcschr-ifunc.c: New file.
26297 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26298 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26299 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26300 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26301 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26303 * string/Makefile (tests-ifunc): New variable.
26304 (tests): Add $(tests-ifunc).
26305 * string/test-memccpy.c (TEST_NAME): New macro.
26306 * string/test-memchr.c (TEST_NAME): Likewise.
26307 * string/test-memcmp.c (TEST_NAME): Likewise.
26308 * string/test-memcpy.c (TEST_NAME): Likewise.
26309 * string/test-memmem.c (TEST_NAME): Likewise.
26310 * string/test-memmove.c (TEST_NAME): Likewise.
26311 * string/test-memset.c (TEST_NAME): Likewise.
26312 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26313 * string/test-stpcpy.c (TEST_NAME): Likewise.
26314 * string/test-stpncpy.c (TEST_NAME): Likewise.
26315 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26316 * string/test-strcasestr.c (TEST_NAME): Likewise.
26317 * string/test-strcat.c (TEST_NAME): Likewise.
26318 * string/test-strchr.c (TEST_NAME): Likewise.
26319 * string/test-strcmp.c(TEST_NAME): Likewise.
26320 * string/test-strcpy.c (TEST_NAME): Likewise.
26321 * string/test-strcspn.c (TEST_NAME): Likewise.
26322 * string/test-strlen.c (TEST_NAME): Likewise.
26323 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26324 * string/test-strncmp.c (TEST_NAME): Likewise.
26325 * string/test-strncpy.c (TEST_NAME): Likewise.
26326 * string/test-strnlen.c (TEST_NAME): Likewise.
26327 * string/test-strpbrk.c (TEST_NAME): Likewise.
26328 * string/test-strrchr.c (TEST_NAME): Likewise.
26329 * string/test-strspn.c (TEST_NAME): Likewise.
26330 * string/test-strstr.c (TEST_NAME): Likewise.
26331 * string/test-bcopy-ifunc.c: New file.
26332 * string/test-bzero-ifunc.c: Likewise.
26333 * string/test-memccpy-ifunc.c: Likewise.
26334 * string/test-memchr-ifunc.c: Likewise.
26335 * string/test-memcmp-ifunc.c: Likewise.
26336 * string/test-memcpy-ifunc.c: Likewise.
26337 * string/test-memmem-ifunc.c: Likewise.
26338 * string/test-memmove-ifunc.c: Likewise.
26339 * string/test-mempcpy-ifunc.c: Likewise.
26340 * string/test-memset-ifunc.c: Likewise.
26341 * string/test-rawmemchr-ifunc.c: Likewise.
26342 * string/test-stpcpy-ifunc.c: Likewise.
26343 * string/test-stpncpy-ifunc.c: Likewise.
26344 * string/test-strcasecmp-ifunc.c: Likewise.
26345 * string/test-strcasestr-ifunc.c: Likewise.
26346 * string/test-strcat-ifunc.c: Likewise.
26347 * string/test-strchr-ifunc.c: Likewise.
26348 * string/test-strchrnul-ifunc.c: Likewise.
26349 * string/test-strcmp-ifunc.c: Likewise.
26350 * string/test-strcpy-ifunc.c: Likewise.
26351 * string/test-strcspn-ifunc.c: Likewise.
26352 * string/test-strlen-ifunc.c: Likewise.
26353 * string/test-strncasecmp-ifunc.c: Likewise.
26354 * string/test-strncat-ifunc.c: Likewise.
26355 * string/test-strncmp-ifunc.c: Likewise.
26356 * string/test-strncpy-ifunc.c: Likewise.
26357 * string/test-strnlen-ifunc.c: Likewise.
26358 * string/test-strpbrk-ifunc.c: Likewise.
26359 * string/test-strrchr-ifunc.c: Likewise.
26360 * string/test-strspn-ifunc.c: Likewise.
26361 * string/test-strstr-ifunc.c: Likewise.
26363 * debug/Makefile (tests-ifunc): New variable.
26364 (tests): Add $(tests-ifunc).
26365 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26366 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26367 * debug/test-stpcpy_chk-ifunc.c: New file.
26368 * debug/test-strcpy_chk-ifunc.c: Likewise.
26370 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26373 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26374 header is not read in.
26376 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26378 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26379 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26380 directly. Pass built executable to script as
26381 $(built-program-cmd).
26382 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26383 $testprogram without using LD_LIBRARY_PATH and $ldso.
26385 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26386 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26387 $(rtld-installed-name).
26388 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26389 (rtld_installed_name): Likewise.
26390 (library_path): Likewise.
26391 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26392 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26393 $(run-program-prefix) to tst-tables.sh.
26394 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26395 it to run tst-table-from and tst-table-to.
26396 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26397 Pass it to tst-table.sh.
26398 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26399 $(run-program-prefix) to tst-gettext.sh.
26400 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26402 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26404 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26405 to run tst-gettext.
26406 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26407 to run tst-gettext2.
26408 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26409 to run tst-translit.
26410 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26411 $(run-program-prefix) to tst-mtrace.sh.
26412 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26414 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26415 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26416 $(rtld-installed-name).
26417 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26418 (rtld_installed_name): Likewise.
26419 (run_program_prefix): New variable. Use it to run wordexp-test.
26421 * Makeconfig (ARCH): Remove all definitions.
26422 (machine): Likewise.
26423 [ARCH]: Remove conditional code.
26424 [!objdir]: Give error.
26425 [!objdir] (objpfx): Remove.
26426 [!objdir] (common-objpfx): Likewise.
26427 [!objdir] (common-objdir): Likewise.
26428 * configure.in (config_makefile): Remove. Hardcode Makefile in
26429 AC_CONFIG_FILES call.
26430 * configure: Regenerated.
26433 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26435 (testout): Likewise.
26437 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26438 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26439 $(rtld-installed-name).
26440 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26441 (rtld_installed_name): Likwise.
26442 (runit): Remove function.
26443 (run_getconf): New variable, Use it for running getconf binary.
26445 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26448 * string/test-memmem.c (check_result): New function.
26449 (do_one_test): Use it.
26450 (check1): New function.
26451 (test_main): Use it.
26453 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26455 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26457 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26459 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26460 (_G_LSEEK64): Likewise.
26461 (_G_MMAP64): Likewise.
26462 (_G_FSTAT64): Likewise.
26463 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26464 (_G_LSEEK64): Likewise.
26465 (_G_MMAP64): Likewise.
26466 (_G_FSTAT64): Likewise.
26467 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26468 unconditional. Call __mmap64 directly.
26469 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26470 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26471 __lseek64 directly.
26472 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26473 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26475 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26476 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26477 __lseek64 directly.
26478 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26479 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26480 __lseek64 directly.
26481 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26482 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26483 __lseek64 directly.
26484 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26485 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26486 __fxstat64 directly.
26487 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26488 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26490 (freopen64) [!_G_OPEN64]: Remove conditional code.
26491 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26493 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26494 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26496 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26497 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26499 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26500 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26502 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26503 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26505 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26506 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26508 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26509 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26511 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26513 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26516 * manual/memory.texi (Malloc Tunable Parameters): Add note
26517 about free list pointers overwriting some perturb bytes.
26518 Wording suggested by Roland McGrath.
26520 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26522 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26523 (lgamma_test): Likewise.
26524 (tgamma_test): Likewise.
26526 2012-10-16 Florian Weimer <fweimer@redhat.com>
26529 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26530 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26532 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26534 * NEWS: Mention BZ #14716.
26535 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26536 when removing AVAILABLE1_USES_J macro.
26538 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26540 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26541 (__bswap_64): __uint64_t for unsigned 64-bit int.
26543 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26545 * include/string.h (memmem): Declare libc hidden alias.
26546 * string/memmem.c (memmem): Define libc hidden alias.
26547 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26548 __read, __close instead of open, read, close.
26550 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26552 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26553 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26555 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26556 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26557 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26559 (__rawmemchr_sse2): Likewise.
26560 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26561 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26562 (__strchr_sse2): Likewise.
26563 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26564 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26565 (__strcasecmp_sse2): Likewise.
26566 (__strncasecmp_sse2): Likewise.
26567 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26568 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26569 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26570 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26571 (__strrchr_sse2): Likewise.
26572 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26574 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26575 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26576 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26577 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26578 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26579 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26580 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26581 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26582 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26583 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26584 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26585 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26586 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26587 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26588 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26589 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26590 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26591 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26592 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26593 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26594 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26595 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26596 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26597 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26598 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26599 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26600 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26601 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26602 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26603 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26605 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26607 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26608 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26609 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26610 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26612 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26614 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26615 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26616 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26617 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26619 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26620 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26621 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26622 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26623 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26624 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26625 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26626 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26627 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26628 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26629 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26630 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26631 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26632 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26633 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26634 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26635 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26636 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26637 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26638 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26639 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26640 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26641 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26642 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26643 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26644 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26645 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26646 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26647 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26648 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26649 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26650 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26651 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26652 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26653 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26654 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26655 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26656 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26657 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26658 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26659 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26661 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26662 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26663 * include/ifunc-impl-list.h: New file.
26664 * misc/ifunc-impl-list.c: Likewise.
26665 * misc/Makefile (routines): Add ifunc-impl-list.
26666 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26667 * string/test-string.h: Include <ifunc-impl-list.h>.
26668 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26669 TEST_NAME]: New variables.
26670 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26672 (test_init): Call __libc_ifunc_impl_list to initialize
26673 func_list if TEST_IFUNC and TEST_NAME are defined.
26675 * string/Makefile (strop-tests): Add bcopy and bzero.
26676 * string/test-bcopy.c: New file.
26677 * string/test-bzero.c: Likewise.
26678 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26680 * string/test-memset.c: Support bzero test if TEST_BZERO is
26682 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26684 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26686 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26689 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26691 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26692 * configure: Regenerated.
26694 * Makeconfig (+link-static-before-libc): Don't include
26695 $(link-static-libc).
26697 * libio/libio.h (_IO_pos_t): Remove.
26699 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26701 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26704 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26706 * crypt/crypt-entry.c: Include fips-private.h.
26707 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26708 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26709 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26710 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26712 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26714 * crypt/crypt-private.h: Include stdbool.h.
26715 (_ufc_setup_salt_r): Return bool.
26716 * crypt/crypt-entry.c: Include errno.h.
26717 (__crypt_r): Return NULL with EINVAL for bad salt.
26718 * crypt/crypt_util.c (bad_for_salt): New.
26719 (_ufc_setup_salt_r): Check that salt is long enough and within
26720 the specified alphabet.
26721 * crypt/badsalttest.c: New file.
26722 * crypt/Makefile (tests): Add it.
26723 ($(objpfx)badsalttest): New.
26725 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26727 * NEWS: Add entry for BZ #14602.
26729 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26731 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26733 * math/libm-test.inc: Update comment listing what functions and
26735 (isgreater_test): New function.
26736 (isgreaterequal_test): Likewise.
26737 (isless_test): Likewise.
26738 (islessequal_test): Likewise.
26739 (islessgreater_test): Likewise.
26740 (isunordered_test): Likewise.
26741 (main): Call the new functions.
26743 2012-10-09 Roland McGrath <roland@hack.frob.com>
26745 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26746 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26747 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26748 * sysdeps/i386/configure: Regenerated.
26749 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26750 * sysdeps/mach/configure: Regenerated.
26751 * sysdeps/mach/hurd/configure: Regenerated.
26752 * sysdeps/powerpc/configure: Regenerated.
26753 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26754 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26755 * sysdeps/s390/s390-32/configure: Regenerated.
26756 * sysdeps/s390/s390-64/configure: Regenerated.
26757 * sysdeps/sh/configure: Regenerated.
26758 * sysdeps/sparc/configure: Regenerated.
26759 * sysdeps/unix/sysv/linux/configure: Regenerated.
26760 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26761 * sysdeps/x86_64/configure: Regenerated.
26763 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26764 defined. Don't check if MAP is NULL.
26766 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26768 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26769 (_G_stat64): Likewise.
26770 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26771 (_G_stat64): Likewise.
26772 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26773 instead of struct _G_stat64.
26774 * libio/fileops.c (mmap_remap_check): Likewise.
26775 (decide_maybe_mmap): Likewise.
26776 (_IO_new_file_seekoff): Likewise.
26777 (_IO_file_stat): Likewise.
26778 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26780 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26781 instead of struct _G_stat64.
26782 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26784 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26787 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26789 (CHECK_EOL): New macro.
26790 (two_way_short_needle): Check beginning of haystack for EOL. Use
26792 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26793 Replace with CHECK_EOL.
26794 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26795 Replace with CHECK_EOL.
26797 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26799 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26801 * math/libm-test.inc: Update comment listing what functions and
26803 (finite_test): New function.
26804 (isinf_test): Likewise.
26805 (isnan_test): Likewise.
26806 (fpclassify_test): Test subnormal input.
26807 (isfinite_test): Likewise.
26808 (isnormal_test): Likewise.
26809 (main): Call the new functions.
26811 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26814 * Makerules (%.dynsym): Force C locale when running
26815 $(OBJDUMP) --dynamic-syms.
26817 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26819 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26822 2012-10-06 David S. Miller <davem@davemloft.net>
26824 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26825 upper 32-bits of the length value in %o2 since we use branch-on-register
26826 tests which consider the entire 64-bit register.
26828 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26830 * string/test-strstr.c (check2): Add a test for page boundary.
26832 2012-10-05 David S. Miller <davem@davemloft.net>
26834 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26835 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26837 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26839 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26840 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26841 and bzero when HWCAP_SPARC_CRYPTO is present.
26843 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26846 * string/test-strstr.c (check2): New function.
26847 (test_main): Call check2.
26849 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26851 * string/bug-strcasestr1.c (do_test): Moved to ...
26852 * string/test-strcasestr.c (check1): Here. New function.
26853 (do_one_test): Break out result checking code into ...
26854 (check_result): This. New function.
26855 (do_one_test): Call check_result.
26856 (test_main): Call check1.
26857 * string/bug-strchr1.c (do_test): Moved to ...
26858 * string/test-strchr.c (check1): Here. New function.
26859 (do_one_test): Break out result checking code into ...
26860 (check_result): This. New function.
26861 (do_one_test): Call check_result.
26862 (test_main): Call check1.
26863 * string/bug-strstr1.c (main): Moved to ...
26864 * string/test-strstr.c (check1): Here. New function.
26865 (do_one_test): Break out result checking code into ...
26866 (check_result): This. New function.
26867 (do_one_test): Call check_result.
26868 (test_main): Call check1.
26869 * string/bug-strcasestr1.c: Removed.
26870 * string/bug-strchr1.c: Likewise.
26871 * string/bug-strstr1.c: Likewise.
26873 * elf/Makefile (dl-routines): Add hwcaps.
26874 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26875 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26876 (_dl_important_hwcaps): Moved to ...
26877 * elf/dl-hwcaps.c: Here. New file.
26878 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26881 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26882 if IS_IN_rtld isn't defined.
26884 * elf/dl-support.c (_dl_sysinfo_map): New.
26885 Include "get-dynamic-info.h" and "setup-vdso.h".
26886 (_dl_non_dynamic_init): Call setup_vdso.
26887 * elf/dynamic-link.h: Don't include <assert.h>.
26888 (elf_get_dynamic_info): Moved to ...
26889 * elf/get-dynamic-info.h: Here. New file.
26890 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26891 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26892 * elf/setup-vdso.h: Here. New file.
26893 * elf/rtld.c: Include "setup-vdso.h".
26894 (dl_main): Call setup_vdso.
26896 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26898 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26899 creal in comment listing functions tested. List finite, isinf,
26900 isnan, isless, islessequal, isgreater, isgreaterequal,
26901 islessgreater, isunordered, lgamma_r and pow10 as functions and
26902 macros not tested. Mention which functions not tested are aliases
26903 for other functions. Fix typo. Note that signs of NaNs are not
26906 * scripts/config.guess: Update from config.git.
26907 * scripts/config.sub: Likewise.
26909 2012-10-04 Roland McGrath <roland@hack.frob.com>
26911 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26912 * misc/madvise.c (madvise): Renamed to __madvise.
26913 Make madvise a weak alias.
26914 * include/sys/mman.h: Declare __madvise.
26915 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26916 * sysdeps/unix/syscalls.list
26917 (madvise): Make __madvise the strong name, and madvise a weak alias.
26918 * sysdeps/unix/sysv/linux/syscalls.list
26919 (madvise, mmap): Remove redundant entries.
26920 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26921 * malloc/malloc.c (mtrim): Likewise.
26922 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26924 2012-10-03 Roland McGrath <roland@hack.frob.com>
26926 * sysdeps/mach/hurd/dl-cache.c: File removed.
26927 * config.h.in (USE_LDCONFIG): New #undef.
26928 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26929 * configure: Regenerated.
26930 * elf/Makefile (dl-routines): Add dl-cache only under
26931 [$(use-ldconfig) = yes].
26932 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26933 cache on [USE_LDCONFIG].
26934 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26936 * elf/rtld.c (dl_main): Likewise.
26938 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26940 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26941 _SC_LEVEL4_CACHE_LINESIZE.
26943 2012-10-03 Roland McGrath <roland@hack.frob.com>
26945 * sysdeps/unix/bsd/confstr.h: File removed.
26947 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26949 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26952 2012-10-02 Roland McGrath <roland@hack.frob.com>
26954 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26955 Make 'mapoff' field ElfW(Off) rather than off_t.
26957 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26959 * nscd/Makefile: Remove nscd-cflags and all its users.
26960 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26961 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26964 * malloc.c (malloc_printerr): Clarify error message.
26966 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26970 Set bit_FMA_Usable if FMA is supported.
26971 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26973 (bit_FMA4_Usable): Updated.
26974 (index_FMA_Usable): New macro.
26975 (CPUID_FMA): Likewise
26976 (HAS_FMA): Defined with bit_FMA_Usable.
26978 2012-10-01 Roland McGrath <roland@hack.frob.com>
26980 * bits/types.h (__swblk_t): Type removed.
26981 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26982 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26983 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26984 (__SWBLK_T_TYPE): Likewise.
26985 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26986 (__SWBLK_T_TYPE): Likewise.
26987 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26988 (__SWBLK_T_TYPE): Likewise.
26989 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26990 (__SWBLK_T_TYPE): Likewise.
26992 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26993 Honza Horak <hhorak@redhat.com>
26995 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26996 (xdr_mapname): Use YPMAXMAP as maxsize.
26997 (xdr_peername): Use YPMAXPEER as maxsize.
26998 (xdr_keydat): Use YPAXRECORD as maxsize.
26999 (xdr_valdat): Use YPMAXRECORD as maxsize.
27001 2012-10-01 Roland McGrath <roland@hack.frob.com>
27003 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27005 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27006 * csu/init-first.c: ... here.
27007 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27008 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27009 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27010 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27011 * sysdeps/i386/init-first.c: File removed.
27012 * sysdeps/sh/init-first.c: File removed.
27014 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27018 if x * y might underflow to zero and z is zero.
27019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27020 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27021 * math/libm-test.inc (min_subnorm_value): New variable.
27022 (fma_test): Add more tests.
27023 (fma_test_towardzero): Likewise.
27024 (fma_test_downward): Likewise
27025 (fma_test_upward): Likewise.
27026 (initialize): Set min_subnorm_value.
27028 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27033 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27034 mode for addition resulting in exact zero.
27035 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27036 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27038 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27040 * math/libm-test.inc (fma_test): Add more tests.
27041 (fma_test_towardzero): New function.
27042 (fma_test_downward): Likewise.
27043 (fma_test_upward): Likewise.
27044 (main): Call the new functions.
27046 2012-09-28 David S. Miller <davem@davemloft.net>
27048 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27050 2012-09-28 Roland McGrath <roland@hack.frob.com>
27052 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27053 instead of SIGALRM.
27055 * sysdeps/gnu/_G_config.h: Moved to ...
27056 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27057 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27058 * sysdeps/generic/_G_config.h: ... here.
27060 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27062 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27064 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27065 Conditionalize target on [libnss_test1.so-version].
27067 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27069 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27070 (elfobjdir): Move out of conditionals.
27072 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27073 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27074 (__nss_lookup_function): Conditionalize label remove_from_tree on
27075 [!DO_STATIC_NSS || SHARED], matching its only use.
27077 2012-09-28 David S. Miller <davem@davemloft.net>
27079 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27080 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27082 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27084 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27086 when HWCAP_SPARC_CRYPTO is present.
27088 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27090 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27092 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27095 * stdio-common/vfprintf.c (process_string_arg): Revert
27098 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27100 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27102 * stdio-common/tst-sprintf.c: Include <locale.h>
27103 (main): Test sprintf's handling of incomplete multibyte
27106 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27108 * elf/dl-runtime.c (VERSYMIDX): Removed.
27109 * elf/dl-version.c (VERSYMIDX): Likewise.
27110 * elf/do-rel.h (VERSYMIDX): Likewise.
27111 (VALIDX): Likewise.
27112 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27113 * elf/rtld.c (VALIDX): Likewise.
27114 (ADDRIDX): Likewise.
27115 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27116 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27117 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27118 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27119 (VALIDX): Likewise.
27120 (ADDRIDX): Likewise.
27122 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27124 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27126 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27129 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27131 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27132 addresses are in the same scope as 192.0.2/24.
27133 * posix/gai.conf: Document new scope table defaults.
27135 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27138 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27139 for ftell. Compute offsets from write pointers instead.
27140 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27142 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27145 * libio/Makefile (tests): New test case tst-fseek.
27146 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27147 combination works in wide mode.
27148 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27149 state when the external buffer state changes.
27151 2012-09-27 David S. Miller <davem@davemloft.net>
27154 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27155 pass reloc->r_addend in as the 'high' argument to
27156 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27160 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27162 * rt/tst-aio2.c: Include <pthread.h>.
27163 * rt/tst-aio3.c: Likewise.
27165 2012-09-27 Steve Ellcey <sellcey@mips.com>
27167 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27169 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27171 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27172 contents on [SHARED].
27174 2012-09-26 Marek Polacek <polacek@redhat.com>
27178 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27179 for C++ and GCC <4.3 as well as for non GCC compilers.
27181 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27185 2012-09-25 Roland McGrath <roland@hack.frob.com>
27187 * Makefile.in (all, install): Declare with .PHONY.
27188 Reported by Michael Hope <michael.hope@linaro.org>.
27190 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27192 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27193 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27195 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27197 (sydep_routines): Add the new and the internal functions.
27198 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27199 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27201 (GLIBC_2.17): Add the new function.
27202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27203 (GLIBC_2.17): Likewise.
27204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27205 (GLIBC_2.17): Likewise.
27206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27207 (GLIBC_2.17): Likewise.
27208 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27210 2012-09-25 Alan Modra <amodra@gmail.com>
27212 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27213 Add release barrier before setting once_control to say
27214 initialisation is done. Add hints on lwarx. Use macro in
27216 (clear_once_control): Add release barrier.
27218 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27221 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27223 * math/s_clog10.c (__clog10): Likewise.
27224 * math/s_clog10f.c (__clog10f): Likewise.
27225 * math/s_clog10l.c (__clog10l): Likewise.
27226 * math/s_clogf.c (__clogf): Likewise.
27227 * math/s_clogl.c (__clogl): Likewise.
27228 * math/Makefile (libm-calls): Add x2y2m1.
27229 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27230 (__x2y2m1): Likewise.
27231 (__x2y2m1l): Likewise.
27232 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27233 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27234 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27235 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27236 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27237 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27238 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27239 * sysdeps/i386/fpu/libm-test-ulps: Update.
27240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27243 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27244 int as type of variable DEPTH.
27245 (glob): Use size_t instead of int as type of variables NEWCOUNT
27248 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27250 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27251 Add s_sincosf-sse2.
27252 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27253 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27254 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27255 macros for using routine as __sincosf_ia32.
27256 Use macro for function declaration and weak_alias.
27257 * sysdeps/i386/fpu/libm-test-ulps: Update.
27259 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27262 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27263 subnormal argument.
27264 * math/s_cexpf.c (__cexpf): Likewise.
27265 * math/s_csinf.c (__csinf): Likewise.
27266 * math/s_csinhf.c (__csinhf): Likewise.
27267 * math/s_ctanf.c (__ctanf): Likewise.
27268 * math/s_ctanhf.c (__ctanhf): Likewise.
27269 * math/s_ccosh.c (__ccoshf): Likewise.
27270 * math/s_cexp.c (__cexpl): Likewise.
27271 * math/s_csin.c (__csin): Likewise.
27272 * math/s_csinh.c (__csinh): Likewise.
27273 * math/s_ctan.c (__ctan): Likewise.
27274 * math/s_ctanh.c (ctanh): Likewise.
27275 * math/s_ccoshl.c (__ccoshl): Likewise.
27276 * math/s_cexpl.c (__cexpl): Likewise.
27277 * math/s_csinl.c (__csinl): Likewise.
27278 * math/s_csinhl.c (__csinhl): Likewise.
27279 * math/s_ctanl.c (__ctanl): Likewise.
27280 * math/s_ctanhl.c (__ctanhl): Likewise.
27282 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27284 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27285 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27286 (_IO_off_t): Define to __off_t, not _G_off_t.
27287 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27288 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27289 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27290 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27291 type of __dummy and __dummy2 fields.
27292 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27293 (_G_ssize_t): Likewise.
27294 (_G_off_t): Likewise.
27295 (_G_pid_t): Likewise.
27296 (_G_uid_t): Likewise.
27297 (_G_wchar_t): Likewise.
27298 (_G_wint_t): Likewise.
27299 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27300 (_G_ssize_t): Likewise.
27301 (_G_off_t): Likewise.
27302 (_G_pid_t): Likewise.
27303 (_G_uid_t): Likewise.
27304 (_G_wchar_t): Likewise.
27305 (_G_wint_t): Likewise.
27306 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27307 (_G_ssize_t): Likewise.
27308 (_G_off_t): Likewise.
27309 (_G_pid_t): Likewise.
27310 (_G_uid_t): Likewise.
27311 (_G_wchar_t): Likewise.
27312 (_G_wint_t): Likewise.
27314 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27316 * malloc/arena.c: Include malloc-sysdep.h.
27317 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27318 is sufficient to shrink the heap or an unmap is needed.
27319 * sysdeps/generic/malloc-sysdep.h: New file. Define
27320 new function check_may_shrink_heap.
27321 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27322 new function check_may_shrink_heap.
27324 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27326 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27329 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27331 * catgets/test-gencat.sh: Add "set -e".
27332 * elf/tst-pathopt.sh: Likewise.
27333 * grp/tst_fgetgrent.sh: Likewise.
27334 * iconvdata/run-iconv-test.sh: Likewise.
27335 * intl/tst-gettext.sh: Likewise.
27336 * intl/tst-gettext2.sh: Likewise.
27337 * intl/tst-gettext4.sh: Likewise.
27338 * intl/tst-gettext6.sh: Likewise.
27339 * intl/tst-translit.sh: Likewise.
27340 * io/ftwtest-sh: Likewise.
27341 * libio/test-freopen.sh: Likewise.
27342 * malloc/tst-mtrace.sh: Likewise.
27343 * posix/globtest.sh: Likewise.
27344 * posix/tst-getconf.sh: Likewise.
27345 * posix/wordexp-tst.sh: Likewise.
27346 * stdio-common/tst-printf.sh: Likewise.
27347 * stdio-common/tst-unbputc.sh: Likewise.
27348 * stdlib/tst-fmtmsg.sh: Likewise.
27349 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27350 * catgets/Makefile: Do not specify -e option when running
27351 testsuite shell scripts.
27352 * elf/Makefile: Likewise.
27353 * grp/Makefile: Likewise.
27354 * iconvdata/Makefile: Likewise.
27355 * intl/Makefile: Likewise.
27356 * io/Makefile: Likewise.
27357 * libio/Makefile: Likewise.
27358 * malloc/Makefile: Likewise.
27359 * posix/Makefile: Likewise.
27360 * stdio-common/Makefile: Likewise.
27361 * stdlib/Makefile: Likewise.
27362 * sysdeps/x86_64/Makefile: Likewise.
27364 * io/ftwtest-sh: Add copyright header.
27365 * posix/globtest.sh: Likewise.
27366 * posix/tst-getconf.sh: Likewise.
27367 * posix/wordexp-tst.sh: Likewise.
27368 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27370 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27373 * Makeconfig (+link): Defined as $(+link-static) if
27374 $(build-shared) isn't yes.
27375 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27377 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27379 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27382 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27383 new chunk size with MALLOC_ALIGN_MASK.
27385 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27388 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27390 (__printf_fphex): Determine rounding using get_rounding_mode and
27392 * stdio-common/tst-printf-round.c (struct hex_test): New
27394 (hex_tests): New variable.
27395 (test_hex_in_one_mode): New function.
27396 (do_test): Also run tests for hex float output.
27398 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27400 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27401 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27402 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27403 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27404 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27405 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27406 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27407 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27409 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27411 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27412 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27413 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27414 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27416 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27419 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27421 * elf/tst-rtld-load-self.sh: New test.
27422 * elf/Makefile: Run it.
27424 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27426 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27427 (tst-writev-ENV): Remove.
27428 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27430 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27432 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27434 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27436 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27438 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27440 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27441 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27442 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27445 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27448 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27449 * config.make.in (have-cpp-asm-debuginfo): Removed.
27450 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27451 * configure: Regenerated.
27453 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27456 * stdio-common/printf_fp.c: Include <stdbool.h> and
27458 (___printf_fp): Determine rounding using get_rounding_mode and
27460 * stdio-common/tst-printf-round.c: New file.
27461 * stdio-common/Makefile (tests): Add tst-printf-round.
27462 (link-libm): New variable.
27463 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27465 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27468 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27469 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27471 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27474 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27476 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27477 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27478 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27479 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27481 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27484 * include/rounding-mode.h: New file.
27485 * sysdeps/generic/get-rounding-mode.h: Likewise.
27486 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27487 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27488 (MAX_VALUE): New macro.
27489 (MIN_VALUE): Likewise.
27490 (overflow_value): New function.
27491 (underflow_value): Likewise.
27492 (round_and_return): Use overflow_value and underflow_value to
27493 determine return values in overflow and underflow cases. Use
27494 round_away to determine rounding depending on rounding mode.
27495 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27496 determine return values in overflow and underflow cases.
27497 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27498 (struct test_results): New structure.
27499 (struct test): Use struct test_results to store expected results
27500 for all rounding modes.
27501 (TEST): Include expected results for all rounding modes.
27502 (test_in_one_mode): New function.
27503 (do_test): Use test_in_one_mode to compute and check results.
27504 Check results for all rounding modes.
27505 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27508 2012-12-09 Allan McRae <allan@archlinux.org>
27510 * sysdeps/i386/fpu/libm-test-ulps: Update
27512 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27514 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27515 (_G_int32_t): Likewise.
27516 (_G_uint16_t): Likewise.
27517 (_G_uint32_t): Likewise.
27518 (_G_HAVE_BOOL): Likewise.
27519 (_G_HAVE_ATEXIT): Likewise.
27520 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27521 (_G_HAVE_IO_FILE_OPEN): Likewise.
27522 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27523 (_G_int32_t): Likewise.
27524 (_G_uint16_t): Likewise.
27525 (_G_uint32_t): Likewise.
27526 (_G_HAVE_BOOL): Likewise.
27527 (_G_HAVE_ATEXIT): Likewise.
27528 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27529 (_G_HAVE_IO_FILE_OPEN): Likewise.
27530 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27531 (_G_int32_t): Likewise.
27532 (_G_uint16_t): Likewise.
27533 (_G_uint32_t): Likewise.
27534 (_G_HAVE_BOOL): Likewise.
27535 (_G_HAVE_ATEXIT): Likewise.
27536 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27537 (_G_HAVE_IO_FILE_OPEN): Likewise.
27539 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27541 * csu/libc-tls.c: Update copyright years.
27543 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27545 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27546 [!_G_USING_THUNKS]: Remove conditional code.
27547 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27548 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27550 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27551 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27552 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27553 (_G_VTABLE_LABEL_PREFIX): Likewise.
27554 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27555 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27556 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27557 (_G_VTABLE_LABEL_PREFIX): Likewise.
27558 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27559 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27560 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27561 (_G_VTABLE_LABEL_PREFIX): Likewise.
27562 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27564 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27566 * libio/Makefile: Include ../Makeconfig before tests.
27567 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27568 only if $(build-shared) is yes.
27570 * iconv/gconv_db.c: Update copyright years.
27572 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27574 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27575 unwind info if defined PIC. Fix special cases description.
27576 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27578 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27580 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27582 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27584 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27586 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27589 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27590 (LDLIBS-tst-chk4): This.
27591 (LDFLAGS-tst-chk5): Renamed to ...
27592 (LDLIBS-tst-chk5): This.
27593 (LDFLAGS-tst-chk6): Renamed to ...
27594 (LDLIBS-tst-chk6): This.
27595 (LDFLAGS-tst-lfschk4): Renamed to ...
27596 (LDLIBS-tst-lfschk4): This.
27597 (LDFLAGS-tst-lfschk5): Renamed to ...
27598 (LDLIBS-tst-lfschk5): This.
27599 (LDFLAGS-tst-lfschk6): Renamed to ...
27600 (LDLIBS-tst-lfschk6): This.
27602 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27603 on $(common-objpfx)soversions.mk.
27605 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27608 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27611 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27613 * malloc/arena.c (arena_get_retry): New function that gets
27614 another arena for the caller to try its request on.
27615 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27616 current arena cannot fulfill the request.
27617 (__libc_memalign): Likewise.
27618 (__libc_memalign): Likewise.
27619 (__libc_pvalloc): Likewise.
27620 (__libc_calloc): Likewise.
27622 2012-09-05 John Tobey <john.tobey@gmail.com>
27625 * manual/arith.texi (Operations on Complex): Fix description
27626 of carg branch cut.
27628 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27631 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27635 * manual/memory.texi (Memory): Make order of menu items match
27638 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27640 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27641 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27642 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27644 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27646 * csu/libc-tls.c (static_dtv): Renamed to ...
27647 (_dl_static_dtv): This. Make it global.
27648 (_dl_initial_dtv): Removed.
27649 (__libc_setup_tls): Updated.
27650 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27651 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27654 2012-09-06 Petr Machata <pmachata@redhat.com>
27656 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27657 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27658 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27659 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27661 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27664 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27665 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27668 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27671 * Makeconfig (link-static-before-libc): Replace $(+prector)
27673 (link-static-after-libc): Replace $(+postctor) with
27675 (link-bounded): Replace $(+prector)/$(+postctor) with
27676 $(+prectorT)/$(+postctorT).
27677 (+prectorT): New macro.
27678 (+postctorT): Likewise.
27680 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27682 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27683 (round_str): Handle values above the maximum for IBM long double
27685 * stdlib/tst-strtod-round.c (tests): Regenerated.
27687 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27689 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27691 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27692 zarch_nohighgprs around the zarch optimized routines.
27693 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27694 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27695 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27698 2012-09-05 David S. Miller <davem@davemloft.net>
27700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27702 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27703 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27704 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27705 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27708 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27710 * malloc/arena.c: Fold copyright years.
27711 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27713 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27715 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27717 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27719 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27721 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27723 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27724 change internal state upon failure.
27726 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27728 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27729 * malloc/memusage.c (mmap): Likewise.
27730 (mmap64, mremap): Likewise. Adjust name in comment.
27732 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27734 * libio/fileops.c: Fix typos in comments.
27735 * libio/oldfileops.c: Likewise.
27736 * libio/wfileops.c: Likewise.
27738 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27741 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27742 (tst-malloc-usable-ENV): Set environment for test case.
27743 * malloc/hooks.c (malloc_check_get_size): New function to get
27745 * malloc/malloc.c (musable): Use malloc_check_get_size.
27746 * malloc/tst-malloc-usable.c: New test case.
27748 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27750 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27752 2012-09-05 Allan McRae <allan@archlinux.org>
27755 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27756 determine header location.
27757 * configure: Regenerated.
27759 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27761 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27763 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27764 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27766 (test): Regenerate.
27768 2012-09-04 David S. Miller <davem@davemloft.net>
27770 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27771 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27772 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27774 2012-09-04 Florian Weimer <fweimer@redhat.com>
27776 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27779 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27781 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27784 * libio/iogetdelim.c: Include <limits.h>.
27785 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27786 + len + 1 would overflow.
27788 2012-09-03 Andreas Jaeger <aj@suse.de>
27790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27791 * sysdeps/i386/fpu/libm-test-ulps: Update.
27793 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27795 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27796 Add s_sinf-sse2, s_conf-sse2.
27798 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27799 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27800 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27801 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27803 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27804 for using routine as __sinf_ia32.
27805 Use macro for function declaration and weak_alias.
27806 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27807 for using routine as __cosf_ia32.
27808 Use macro for function declaration and weak_alias.
27810 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27811 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27813 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27814 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27817 * math/libm-test.inc (cos_test): Add more test cases.
27818 (sin_test): Likewise.
27819 (sincos_test): Likewise.
27821 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27823 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27824 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27826 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27828 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27831 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27832 first element of the GOT.
27833 (elf_machine_load_address): Return the difference between
27834 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27836 2012-09-01 Allan McRae <allan@archlinux.org>
27839 * configure.in (AWK): Require gawk version 3.0 or later.
27840 * configure: Regenerated.
27842 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27844 * sysdeps/unix/sysv/linux/kernel-features.h
27845 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27846 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27847 [__NR_clock_getres]: Make code unconditional.
27848 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27849 (clock_getcpuclockid): Remove code left unreachable by removal of
27851 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27852 code unconditional.
27853 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27854 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27855 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27856 Make code unconditional.
27857 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27858 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27859 * sysdeps/unix/sysv/linux/clock_settime.c
27860 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27862 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27863 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27865 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27868 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27869 scripts/test-installation.pl.
27871 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27872 and $ld_so_version if it is set.
27874 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27877 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27878 failure if reading from procfs failed.
27879 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27881 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27883 * sysdeps/unix/sysv/linux/kernel-features.h
27884 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27885 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27886 Remove conditional code.
27887 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27888 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27889 Remove conditional code.
27890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27891 * sysdeps/unix/sysv/linux/i386/fxstat.c
27892 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27894 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27895 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27897 * sysdeps/unix/sysv/linux/i386/lxstat.c
27898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27900 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27901 Remove conditional code.
27902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27903 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27904 Remove conditional code.
27905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27906 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27907 <kernel-features.h>.
27908 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27910 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27911 Remove conditional code.
27912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27913 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27914 Remove conditional.
27916 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27919 * NEWS: Add fixed bug number.
27921 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27924 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27925 underflowing exponent in case of negative sign.
27926 * stdlib/tst-strtod-round-data: Add more tests.
27927 * stdlib/tst-strtod-round.c (tests): Regenerated.
27930 * stdlib/strtod_l.c (NDIG): Remove.
27931 (HEXNDIG): Likewise.
27932 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27933 smallest representable value.
27934 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27935 lie within an exact representation of 1/2 ulp of the result.
27936 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27938 (TENS_P9_IDX): Define unconditionally.
27939 (TENS_P9_SIZE): Likewise.
27940 (TENS_P10_IDX): Likewise.
27941 (TENS_P10_SIZE): Likewise.
27942 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27943 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27944 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27945 entries for 10^2^13 and 10^2^14.
27946 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27947 (TENS_P13_IDX): Define.
27948 (TENS_P13_SIZE): Likewise.
27949 (TENS_P14_IDX): Likewise.
27950 (TENS_P14_SIZE): Likewise.
27951 (_fpioconst_pow10): Change array size to
27952 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27954 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27955 1024]: Add entries for 10^2^13 and 10^2^14.
27956 [LAST_POW10 > _LAST_POW10]: Remove #error.
27957 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27958 (_fpioconst_pow10): Change array size to
27959 FPIOCONST_POW10_ARRAY_SIZE.
27960 * stdlib/gen-fpioconst.c: New file.
27961 * stdlib/gen-tst-strtod-round.c: Likewise.
27962 * stdlib/tst-strtod-round-data: Likewise.
27963 * stdlib/tst-strtod-round.c: Likewise.
27964 * stdlib/Makefile (tests): Add tst-strtod-round.
27967 * stdlib/strtod_l.c: Include <stdint.h>.
27968 (NDEBUG): Do not define.
27969 (round_and_return): Change EXPONENT parameter to type intmax_t.
27970 Rearrange calculations to avoid internal overflow possibilities.
27971 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27972 Rearrange calculations to avoid internal overflow possibilities.
27973 Assert that number fits inside MPNSIZE limbs.
27974 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27975 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27976 calculations and add assertions to avoid internal overflow
27977 possibilities. Add casts to avoid signed/unsigned operations.
27978 * stdlib/tst-strtod-overflow.c: New file.
27979 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27981 2012-08-25 Marek Polacek <polacek@redhat.com>
27983 * time/time.h: Fix some typos in comments.
27985 2012-08-23 Roland McGrath <roland@hack.frob.com>
27987 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27988 * posix/tst-rfc3484-2.c: Likewise.
27989 * posix/tst-rfc3484-3.c: Likewise.
27991 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27993 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27994 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27996 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27998 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27999 #include of fxstatat64.c.
28001 2012-08-22 Roland McGrath <roland@hack.frob.com>
28003 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28004 * shadow/getspent_r.c: Likewise.
28005 * shadow/getspnam.c: Likewise.
28006 * shadow/getspnam_r.c: Likewise.
28007 * gshadow/getsgent.c: Likewise.
28008 * gshadow/getsgent_r.c: Likewise.
28009 * gshadow/getsgnam.c: Likewise.
28010 * gshadow/getsgnam_r.c: Likewise.
28011 * inet/getnetbyad.c: Likewise.
28012 * inet/getnetbyad_r.c: Likewise.
28013 * inet/getnetbynm.c: Likewise.
28014 * inet/getnetbynm_r.c: Likewise.
28015 * inet/getnetent.c: Likewise.
28016 * inet/getnetent_r.c: Likewise.
28017 * inet/getproto.c: Likewise.
28018 * inet/getproto_r.c: Likewise.
28019 * inet/getprtent.c: Likewise.
28020 * inet/getprtent_r.c: Likewise.
28021 * inet/getprtname.c: Likewise.
28022 * inet/getprtname_r.c: Likewise.
28023 * inet/getrpcbyname.c: Likewise.
28024 * inet/getrpcbyname_r.c: Likewise.
28025 * inet/getrpcbynumber.c: Likewise.
28026 * inet/getrpcbynumber_r.c: Likewise.
28027 * inet/getrpcent.c: Likewise.
28028 * inet/getrpcent_r.c: Likewise.
28029 * inet/getaliasent.c: Likewise.
28030 * inet/getaliasent_r.c: Likewise.
28031 * inet/getaliasname.c: Likewise.
28032 * inet/getaliasname_r.c: Likewise.
28033 * nscd/getgrgid_r.c: Likewise.
28034 * nscd/getgrnam_r.c: Likewise.
28035 * nscd/gethstbyad_r.c: Likewise.
28036 * nscd/gethstbynm3_r.c: Likewise.
28037 * nscd/getpwnam_r.c: Likewise.
28038 * nscd/getpwuid_r.c: Likewise.
28039 * nscd/getsrvbynm_r.c: Likewise.
28040 * nscd/getsrvbypt_r.c: Likewise.
28041 * nscd/gai.c: Likewise.
28043 * configure.in (build_nscd): New substituted variable, set
28044 by --disable-build-nscd and defaults to $use_nscd.
28045 * configure: Regenerated.
28046 * config.make.in (build-nscd): New substituted variable.
28047 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28048 Change conditional to require [$(build-nscd) = yes] as well.
28049 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28052 * configure.in (use_nscd): New substituted variable, set by
28053 --disable-nscd. If enabled, define USE_NSCD.
28054 * configure: Regenerated.
28055 * config.h.in: Add USE_NSCD.
28056 * config.make.in (use-nscd): New substituted variable.
28057 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28058 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28059 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28060 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28061 (CFLAGS-getgrnam_r.c): Likewise.
28062 (CFLAGS-initgroups.c): Likewise.
28063 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28064 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28066 * inet/getnetgrent_r.c
28067 (nscd_setnetgrent): New function, broken out of ...
28068 (setnetgrent): ... here. Call it.
28069 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28070 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28071 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28072 * nscd/Makefile (routines, aux): Move definitions after include of
28073 Makeconfig. Conditionalize on [$(use-nscd) != no].
28074 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28075 Conditionalize on [USE_NSCD].
28076 (is_nscd, nscd_init_cb): Likewise.
28077 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28078 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28079 * nss/nss_db/db-init.c: Likewise.
28080 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28082 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28083 (make_request): Use it.
28084 (cache_valid_p): New function.
28085 (__check_pf): Use it.
28086 * NEWS: Add item for --disable-nscd.
28088 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28090 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28091 to support sed >= 4.2.1-20-ga9bf076.
28092 * configure: Regenerated.
28094 2012-08-22 Roland McGrath <roland@hack.frob.com>
28096 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28097 Conditionalize whole body on [IREL].
28099 2012-08-22 Jeff Law <law@redhat.com>
28102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28103 if the family is PF_UNSPEC.
28105 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28107 * Makerules (lib-version): Rename from V.
28108 (install-lib-nosubdir): Change V to lib-version.
28110 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28113 * powerpc32/power6/wcschr.c: New file.
28114 * powerpc32/power6/wcscpy.c: New file.
28115 * powerpc32/power6/wcsrchr.c: New file.
28116 * powerpc64/power6/wcschr.c: New file.
28117 * powerpc64/power6/wcscpy.c: New file.
28118 * powerpc64/power6/wcsrchr.c: New file.
28120 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28122 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28123 (two_way_short_needle): Use it.
28124 * string/strstr.c (AVAILABLE1_USES_J): Define.
28125 * string/strcasestr.c: Likewise.
28127 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28129 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28132 * NEWS: Add an entry.
28133 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28134 define their defaults.
28135 (two_way_short_needle): Detect end-of-string on-the-fly.
28136 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28137 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28138 * string/bug-strcasestr1.c: New test.
28139 * string/Makefile: Run it.
28141 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28144 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28145 the first character.
28147 2012-08-21 Roland McGrath <roland@hack.frob.com>
28149 * csu/elf-init.c (__libc_csu_irel): Function removed.
28150 * csu/libc-start.c (apply_irel): New function.
28151 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28153 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28155 * sysdeps/unix/sysv/linux/kernel-features.h
28156 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28157 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28158 <kernel-features.h>.
28159 [__NR_fadvise64_64]: Make code unconditional.
28160 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28161 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28162 !__NR_fadvise64_64)]: Likewise.
28163 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28164 !__NR_fadvise64_64))]: Likewise.
28165 [__NR_fadvise64]: Make code unconditional.
28166 [!__NR_fadvise64]: Remove conditional code.
28167 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28168 <kernel-features.h>.
28169 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28171 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28174 not include <kernel-features.h>.
28175 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28177 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28179 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28180 include <kernel-features.h>.
28181 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28183 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28186 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28188 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28189 slight instruction rearrangements per scrollpipe analysis.
28190 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28192 2012-08-20 Roland McGrath <roland@hack.frob.com>
28194 * manual/syslog.texi (syslog; vsyslog, closelog):
28195 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28196 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28198 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28199 DSOCAPS to match condition on defining it.
28201 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28203 * sysdeps/unix/sysv/linux/kernel-features.h
28204 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28206 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28207 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28209 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28210 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28215 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28216 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28218 * sysdeps/unix/sysv/linux/kernel-features.h
28219 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28220 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28222 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28223 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28224 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28225 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28226 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28227 Make code unconditional.
28228 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28229 (__mmap64) [!__NR_mmap2]: Likewise.
28230 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28231 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28232 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28233 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28234 [__NR_mmap2]: Make code unconditional.
28235 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28236 (__mmap64) [!__NR_mmap2]: Likewise.
28238 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28240 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28242 2012-08-18 Andreas Jaeger <aj@suse.de>
28244 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28246 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28248 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28249 * include/unistd.h (__have_sock_cloexec): Likewise.
28250 (__have_pipe2): Likewise.
28251 (__have_dup3): Likewise.
28253 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28256 * include/unistd.h (__have_pipe2): Change define into an extern int.
28257 (__have_dup3): Likewise.
28258 * socket/have_sock_cloexec.c: Include fcntl.h.
28259 (__have_pipe2): New variable.
28260 (__have_dup3): Likewise.
28262 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28264 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28266 2012-08-17 Marek Polacek <polacek@redhat.com>
28268 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28269 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28271 2012-08-17 Roland McGrath <roland@hack.frob.com>
28273 * configure.in: Add AC_SUBST for sysheaders.
28274 * configure: Regenerated.
28275 * config.make.in (sysheaders): New substituted variable.
28277 * sysdeps/unix/mkfifo.c: Moved ...
28278 * sysdeps/posix/mkfifo.c: ... here.
28279 * sysdeps/unix/mkfifoat.c: Moved ...
28280 * sysdeps/posix/mkfifoat.c: ... here.
28282 * sysdeps/unix/utime.c: Moved ...
28283 * sysdeps/posix/utime.c: ... here.
28285 * sysdeps/unix/time.c: Moved ...
28286 * sysdeps/posix/time.c: ... here.
28287 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28288 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28290 * sysdeps/unix/nice.c: Moved ...
28291 * sysdeps/posix/nice.c: ... here.
28293 * sysdeps/unix/alarm.c: Moved ...
28294 * sysdeps/posix/alarm.c: ... here.
28296 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28298 2012-08-17 Jeff Law <law@redhat.com>
28300 * intl/Makefile (codeset_mo): New variable.
28301 ($(codeset_mo)): New target.
28302 (tst-codeset.out): Depend on that. Remove explicit rule.
28303 (tst-gettext3.out, tst-gettext5.out): Likewise.
28304 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28305 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28306 * intl/tst-codeset.sh: Remove.
28307 * intl/tst-gettext3.sh: Likewise.
28308 * intl/tst-gettext5.sh: Likewise.
28310 2012-08-17 Roland McGrath <roland@hack.frob.com>
28312 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28313 * sysdeps/unix/syscalls.list: ... here.
28315 * sysdeps/posix/getaddrinfo.c
28316 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28317 (gaiconf_init, gaiconf_reload): Use them.
28318 [!_STATBUF_ST_NSEC]
28319 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28320 Define using time_t rather than struct timespec.
28322 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28323 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28325 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28327 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28328 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28331 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28332 __libc_cleanup_push argument.
28334 * bits/param.h: New file.
28335 * misc/sys/param.h: New file.
28336 * include/sys/param.h: New file.
28337 * misc/Makefile (headers): Add bits/param.h.
28338 * sysdeps/generic/sys/param.h: File removed.
28339 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28340 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28341 * sysdeps/mach/hurd/bits/param.h: New file.
28342 * sysdeps/mach/hurd/sys/param.h: File removed.
28344 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28347 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28349 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28350 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28353 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28354 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28355 rather than -D_IO_MTSAFE_IO conditionally.
28356 * stdio-common/Makefile (CPPFLAGS): Likewise.
28357 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28358 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28359 Use $(libio-mtsafe).
28360 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28361 of -D_IO_MTSAFE_IO.
28362 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28363 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28364 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28365 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28366 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28367 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28368 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28369 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28370 (CFLAGS-fread_u_chk.c): Likewise.
28371 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28372 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28373 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28374 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28375 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28376 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28377 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28378 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28379 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28381 * libio/Makefile: Test [$(libc-reentrant) = yes]
28382 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28385 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28386 * sysdeps/pthread/configure: File removed.
28387 * sysdeps/pthread/Makeconfig: New file.
28388 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28389 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28391 2012-08-16 Gary Benson <gbenson@redhat.com>
28393 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28394 unmapping the first object in a namespace.
28396 2012-08-16 Roland McGrath <roland@hack.frob.com>
28398 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28399 (__internal_setnetgrent): ... this. Add internal_function to
28400 definition. Add libc_hidden_def.
28401 (setnetgrent): Update caller.
28402 (internal_endnetgrent): Renamed to ...
28403 (__internal_endnetgrent): ... this. Add internal_function to
28404 definition. Add libc_hidden_def.
28405 (endnetgrent): Update caller.
28406 (internal_getnetgrent_r): Renamed to ...
28407 (__internal_getnetgrent_r): ... this. Add internal_function to
28408 definition. Add libc_hidden_def.
28409 (__getnetgrent_r): Update caller.
28410 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28412 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28414 * stdlib/longlong.h: Update from GCC.
28416 2012-08-16 Roland McGrath <roland@hack.frob.com>
28418 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28419 on _QL, which is set by umul_ppmm but never used.
28420 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28421 variables, which are set by GMP macros but never used.
28422 * stdio-common/_itowa.c (_itowa): Likewise.
28423 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28424 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28426 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28428 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28429 struct La_sh_regs is not constant.
28430 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28431 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28432 and struct La_sparc64_regs are not constant.
28434 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28436 * sysdeps/unix/sysv/linux/kernel-features.h
28437 (__ASSUME_POSIX_TIMERS): Remove.
28438 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28439 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28440 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28441 Make code unconditional.
28442 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28443 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28444 Make code unconditional.
28445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28446 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28447 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28449 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28450 Make code unconditional.
28451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28452 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28453 (__libc_missing_posix_timers): Remove.
28455 2012-08-15 Roland McGrath <roland@hack.frob.com>
28457 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28458 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28460 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28462 * elf/dl-sym.c: Include <stdlib.h>.
28464 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28465 constants, which avoids warnings in 32-bit builds.
28467 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28468 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28470 * misc/lseek.c: File moved to ...
28471 * io/lseek.c: ... here.
28473 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28475 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28476 shifting LEN more than 31 bits at once.
28478 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28481 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28482 segmentation fault for a case of two empty input strings.
28483 * string/test-strncasecmp.c (check1): Renamed to...
28484 (bz12205): ...this.
28485 (bz14195): Add new testcase for two empty input strings and N > 0.
28486 (test_main): Call new testcase, adapt for renamed function.
28488 2012-08-15 Andreas Jaeger <aj@suse.de>
28491 * crypt/md5test2.c: New test, based on test supplied by Serge
28492 Belyshev <belyshev@depni.sinp.msu.ru>.
28493 * crypt/Makefile (xtests): Add md5test-giant..
28494 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28496 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28499 * crypt/md5.c (md5_process_block): Don't assume the buffer
28500 length is less than 2**32.
28501 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28502 length is less than 2**64.
28504 2012-08-15 Roland McGrath <roland@hack.frob.com>
28506 * string/str-two-way.h: Include <sys/param.h>.
28507 (MAX): Macro removed.
28509 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28510 Move #define and #undef of memmove to just before and after
28511 including <string.h>.
28513 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28514 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28515 and after including <string.h>. Move declarations of
28516 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28517 to before #include "string/memmove.c".
28519 * include/dirent.h: Declare __getdirentries.
28521 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28522 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28524 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28526 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28527 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28528 * sysdeps/i386/configure: Regenerated.
28529 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28530 STABS_CURRENT_FILE, and STABS_FUN.
28531 (END): Remove call to STABS_FUN_END.
28532 (STABS_CURRENT_FILE1): Delete.
28533 (STABS_CURRENT_FILE): Likewise.
28534 (STABS_FUN): Likewise.
28535 (STABS_FUN_END): Likewise.
28536 (STABS_FUN2): Likewise.
28537 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28538 * sysdeps/x86_64/configure: Regenerated.
28540 2012-08-14 Roland McGrath <roland@hack.frob.com>
28542 * elf/dl-open.c: Include <atomic.h>.
28543 * elf/dl-lookup.c: Likewise.
28545 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28547 * sysdeps/unix/sysv/linux/kernel-features.h
28548 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28549 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28551 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28553 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28554 condition on __ASSUME_CLONE_THREAD_FLAGS.
28556 2012-08-14 Andreas Jaeger <aj@suse.de>
28558 * sysdeps/i386/fpu/libm-test-ulps: Update.
28560 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28562 * include/atomic.h (atomic_exchange_and_add): Split into ...
28563 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28566 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28570 2012-08-13 Jeff Law <law@redhat.com>
28572 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28573 null byte in the output string.
28575 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28577 * sysdeps/unix/sysv/linux/kernel-features.h
28578 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28579 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28580 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28581 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28582 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28583 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28584 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28586 2012-08-09 Jeff Law <law@redhat.com>
28589 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28590 When avoid_arena is set, don't retry in the that arena. Pick the
28591 next one, whatever it might be.
28592 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28593 (arena_lock): Pass in new parameter to arena_get2.
28594 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28596 (__libc_malloc): Unify retrying after main arena failure with
28597 __libc_memalign version.
28598 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28600 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28603 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28604 to __redirect_strstr.
28605 (__strstr_sse42): Use typeof __redirect_strstr.
28606 (__strstr_ia32): Likewise.
28607 (__libc_strstr): New prototype.
28608 (strstr): Renamed to ...
28609 (__libc_strstr): This.
28610 (strstr): New strong alias of __libc_strstr.
28611 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28612 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28615 (__libc_time): New prototype.
28616 (time_ifunc): Replace time with __libc_time.
28617 (time): New strong alias and hidden definition of __libc_time.
28618 (__GI_time): Remove strong alias.
28619 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28620 Include <stddef.h>.
28621 (memmove): Redefined to __redirect_memmove.
28622 (__memmove_sse2): Use typeof __redirect_memmove.
28623 (__memmove_ssse3): Likewise.
28624 (__memmove_ssse3_back): Likewise.
28625 (__libc_memmove): New prototype.
28626 (memmove): Renamed to ...
28627 (__libc_memmove): This.
28628 (memmove): New strong alias of __libc_memmove.
28630 2012-08-08 Mark Salter <msalter@redhat.com>
28633 (R_MN10300_TLS_GD): Define.
28634 (R_MN10300_TLS_LD): Likewise.
28635 (R_MN10300_TLS_LDO): Likewise.
28636 (R_MN10300_TLS_GOTIE): Likewise.
28637 (R_MN10300_TLS_IE): Likewise.
28638 (R_MN10300_TLS_LE): Likewise.
28639 (R_MN10300_TLS_DTPMOD): Likewise.
28640 (R_MN10300_TLS_DTPOFF): Likewise.
28641 (R_MN10300_TLS_TPOFF): Likewise.
28642 (R_MN10300_SYM_DIFF): Likewise.
28643 (R_MN10300_ALIGN): Likewise.
28644 (R_MN10300_NUM): Update.
28646 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28648 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28651 2012-08-08 Roland McGrath <roland@hack.frob.com>
28653 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28655 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28656 sysdeps/unix -> sysdeps/posix move.
28657 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28659 2012-08-07 Allan McRae <allan@archlinux.org>
28662 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28663 (SUNOS_CPP): Likewise.
28664 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28666 (open_input): Call CPP using execvp.
28668 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28670 * sysdeps/unix/sysv/linux/kernel-features.h
28671 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28672 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28673 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28674 (__ASSUME_WAITID_SYSCALL): Likewise.
28675 * sysdeps/unix/sysv/linux/dl-execstack.c
28676 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28677 code unconditional.
28678 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28680 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28681 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28682 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28684 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28686 [__ASSUME_WAITID_SYSCALL]: Likewise.
28687 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28689 2012-08-07 Roland McGrath <roland@hack.frob.com>
28691 * sysdeps/unix/closedir.c: Renamed to ...
28692 * sysdeps/posix/closedir.c: ... here.
28693 * sysdeps/unix/dirfd.c: Renamed to ...
28694 * sysdeps/posix/dirfd.c: ... here.
28695 * sysdeps/unix/dirstream.h: Renamed to ...
28696 * sysdeps/posix/dirstream.h: ... here.
28697 * sysdeps/unix/fdopendir.c: Renamed to ...
28698 * sysdeps/posix/fdopendir.c: ... here.
28699 * sysdeps/unix/opendir.c: Renamed to ...
28700 * sysdeps/posix/opendir.c: ... here.
28701 * sysdeps/unix/readdir.c: Renamed to ...
28702 * sysdeps/posix/readdir.c: ... here.
28703 * sysdeps/unix/readdir_r.c: Renamed to ...
28704 * sysdeps/posix/readdir_r.c: ... here.
28705 * sysdeps/unix/rewinddir.c: Renamed to ...
28706 * sysdeps/posix/rewinddir.c: ... here.
28707 * sysdeps/unix/seekdir.c: Renamed to ...
28708 * sysdeps/posix/seekdir.c: ... here.
28709 * sysdeps/unix/telldir.c: Renamed to ...
28710 * sysdeps/posix/telldir.c: ... here.
28711 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28712 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28713 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28714 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28716 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28717 * bits/fcntl.h: ... here.
28719 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28721 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28722 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28723 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28724 (struct flock): Move l_start, l_len to the beginning.
28725 Use __pid_t for l_pid.
28726 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28727 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28728 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28729 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28730 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28731 [__USE_LARGEFILE64] (struct flock64): New type.
28732 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28734 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28735 * bits/dirent.h: ... here.
28737 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28738 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28740 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28742 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28743 Change from 2.6.0 to 2.6.16.
28744 * sysdeps/unix/sysv/linux/configure: Regenerated.
28745 * sysdeps/unix/sysv/linux/kernel-features.h
28746 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28747 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28749 (__ASSUME_UTIMES): Likewise.
28750 (__ASSUME_CLONE_STOPPED): Remove.
28751 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28752 architectures, not kernel version.
28753 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28754 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28755 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28756 (__ASSUME_WAITID_SYSCALL): Likewise.
28757 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28758 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28759 * README: State 2.6.16 as minimum Linux kernel version. Do not
28760 refer to older versions.
28762 2012-08-06 Roland McGrath <roland@hack.frob.com>
28764 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28765 Define alphasort64 as an alias.
28766 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28767 Define versionsort64 as an alias.
28768 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28769 Define scandir64 as an alias.
28770 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28771 Define scandirat64 as an alias.
28772 * dirent/alphasort64.c (alphasort64):
28773 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28774 * dirent/versionsort64.c: Likewise.
28775 * dirent/scandir64.c: Likewise.
28776 * dirent/scandirat64.c: Likewise.
28777 * sysdeps/wordsize-64/alphasort.c: File removed.
28778 * sysdeps/wordsize-64/alphasort64.c: File removed.
28779 * sysdeps/wordsize-64/scandir.c: File removed.
28780 * sysdeps/wordsize-64/scandir64.c: File removed.
28781 * sysdeps/wordsize-64/scandirat.c: File removed.
28782 * sysdeps/wordsize-64/scandirat64.c: File removed.
28783 * sysdeps/wordsize-64/versionsort.c: File removed.
28784 * sysdeps/wordsize-64/versionsort64.c: File removed.
28785 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28786 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28787 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28788 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28789 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28790 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28791 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28792 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28794 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28796 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28798 [defined __arch64__ || defined __sparcv9]
28799 (__INO_T_MATCHES_INO64_T): New macro.
28800 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28801 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28802 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28803 * sysdeps/unix/sysv/linux/bits/dirent.h
28804 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28805 (_DIRENT_MATCHES_DIRENT64): New macro.
28807 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28808 Define lockf64 as an alias.
28809 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28810 Define fseeko64 as an alias.
28811 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28812 Define ftello64 as an alias.
28813 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28814 Define _IO_fgetpos64 and fgetpos64 as aliases.
28815 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28816 Define _IO_fsetpos64 and fsetpos64 as aliases.
28817 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28818 Conditionalize body on this.
28819 * libio/fseeko64.c: Likewise.
28820 * libio/ftello64.c: Likewise.
28821 * libio/iofgetpos64.c: Likewise.
28822 * libio/iofsetpos64.c: Likewise.
28823 * sysdeps/wordsize-64/lockf.c: File removed.
28824 * sysdeps/wordsize-64/lockf64.c: File removed.
28825 * sysdeps/wordsize-64/fseeko.c: File removed.
28826 * sysdeps/wordsize-64/fseeko64.c: File removed.
28827 * sysdeps/wordsize-64/ftello.c: File removed.
28828 * sysdeps/wordsize-64/ftello64.c: File removed.
28829 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28830 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28831 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28832 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28833 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28834 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28835 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28836 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28837 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28838 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28839 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28840 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28841 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28842 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28844 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28845 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28846 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28848 [defined __arch64__ || defined __sparcv9]
28849 (__OFF_T_MATCHES_OFF64_T): New macro.
28850 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28851 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28853 (__OFF_T_MATCHES_OFF64_T): New macro.
28855 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28857 * stdlib/secure-getenv.c (__secure_getenv): Replace
28858 GLIBC_2_16 with GLIBC_2_17.
28860 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28862 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28863 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28865 2012-08-03 David S. Miller <davem@davemloft.net>
28867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28869 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28873 (__ASSUME_CORRECT_SI_PID): Likewise.
28874 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28875 (__ASSUME_TMPFS_NAME): Likewise.
28876 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28877 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28878 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28879 (HAVE_AUX_SECURE): Make definition unconditional.
28880 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28881 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28883 2012-08-03 Roland McGrath <roland@hack.frob.com>
28885 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28886 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28887 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28888 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28889 __eloop_threshold instead of SYMLOOP_MAX.
28891 * sysdeps/generic/eloop-threshold.h: New file.
28892 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28894 * elf/chroot_canon.c (chroot_canon): Likewise.
28896 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28899 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28900 Change to 2.6.0 everywhere.
28901 * sysdeps/unix/sysv/linux/configure: Regenerated.
28902 * sysdeps/unix/sysv/linux/kernel-features.h
28903 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28904 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28906 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28907 (__ASSUME_FUTEX_REQUEUE): Remove.
28908 (__ASSUME_STATFS64): Define unconditionally.
28909 (__ASSUME_AT_SECURE): Likewise.
28910 (__ASSUME_CORRECT_SI_PID): Likewise.
28911 (__ASSUME_TGKILL): Define without depending on kernel version for
28913 (__ASSUME_UTIMES): Likewise.
28914 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28916 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28917 (__ASSUME_TMPFS_NAME): Likewise.
28918 * README: Update reference to Linux kernel versions.
28920 2012-08-02 Marek Polacek <polacek@redhat.com>
28923 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28924 libc_cv_asm_type_prefix with %.
28925 * configure: Regenerated.
28926 * include/libc-symbols.h: Remove comment about
28927 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28928 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28929 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28930 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28931 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28932 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28933 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28934 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28935 * elf/tst-unique2mod1.c: Likewise.
28936 * elf/tst-unique1mod2.c: Likewise.
28937 * elf/tst-unique1mod1.c: Likewise.
28938 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28939 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28940 Replace ASM_TYPE_DIRECTIVE with .type.
28941 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28942 * sysdeps/i386/sysdep.h: Likewise.
28943 * sysdeps/x86_64/sysdep.h: Likewise.
28944 * sysdeps/sh/sysdep.h: Likewise.
28945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28946 Do not define ASM_TYPE_DIRECTIVE.
28947 * sysdeps/powerpc/sysdep.h: Likewise.
28948 * sysdeps/powerpc/powerpc32/sysdep.h:
28949 Replace ASM_TYPE_DIRECTIVE with .type.
28950 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28951 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28952 * sysdeps/i386/fpu/e_powf.S: Likewise.
28953 * sysdeps/i386/fpu/e_expl.S: Likewise.
28954 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28955 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28956 * sysdeps/i386/fpu/e_pow.S: Likewise.
28957 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28958 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28959 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28960 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28961 * sysdeps/i386/fpu/e_log2.S: Likewise.
28962 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28963 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28964 * sysdeps/i386/fpu/e_powl.S: Likewise.
28965 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28966 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28967 * sysdeps/i386/fpu/e_logl.S: Likewise.
28968 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28969 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28970 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28971 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28972 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28973 * sysdeps/i386/fpu/e_log.S: Likewise.
28974 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28975 * sysdeps/i386/fpu/e_logf.S: Likewise.
28976 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28977 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28978 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28979 * sysdeps/i386/fpu/e_log10.S: Likewise.
28980 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28981 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28982 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28983 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28984 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28985 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28986 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28987 * sysdeps/i386/i686/strtok.S: Likewise.
28988 * sysdeps/i386/i386-mcount.S: Likewise.
28989 * sysdeps/i386/strtok.S: Likewise.
28990 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28991 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28992 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28993 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28994 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28995 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28996 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28997 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28998 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28999 * sysdeps/x86_64/_mcount.S: Likewise.
29000 * sysdeps/x86_64/strtok.S: Likewise.
29001 * sysdeps/sh/_mcount.S: Likewise.
29003 2012-08-01 Roland McGrath <roland@hack.frob.com>
29005 * libio/iofopen.c: Include <fcntl.h>.
29006 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29007 (_IO_fopen64, fopen64): Define as aliases.
29008 * libio/iofopen64.c: Include <fcntl.h>.
29009 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29010 Conditionalize body on this.
29011 * sysdeps/wordsize-64/iofopen.c: File removed.
29012 * sysdeps/wordsize-64/iofopen64.c: File removed.
29014 2012-08-01 Marek Polacek <polacek@redhat.com>
29016 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29017 Use dlfcn directly instead of a variable.
29018 (binfmt-subdir): Do not define.
29021 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29023 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29024 Remove all definitions.
29025 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29026 <kernel-features.h>.
29027 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29028 (miss_F_GETOWN_EX): Remove all definitions.
29029 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29031 [!__ASSUME_FCNTL64]: Remove conditional code.
29032 [__ASSUME_FCNTL64]: Make code unconditional.
29033 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29034 <kernel-features.h>.
29035 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29036 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29037 (lockf64) [__NR_fcntl64]: Make code unconditional.
29038 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29040 * sysdeps/unix/sysv/linux/kernel-features.h
29041 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29042 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29043 Make code unconditional.
29044 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29045 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29047 [__NR_vfork]: Make code unconditional.
29048 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29049 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29051 [__NR_vfork]: Make code unconditional.
29052 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29053 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29055 2012-08-01 Roland McGrath <roland@hack.frob.com>
29057 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29058 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29060 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29061 Define mkstemp64 as an alias.
29062 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29063 Define mkstemps64 as an alias.
29064 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29065 Define mkostemp64 as an alias.
29066 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29067 Define mkostemps64 as an alias.
29068 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29069 Conditionalize body on this.
29070 * misc/mkostemp64.c: Likewise.
29071 * misc/mkostemps64.c: Likewise.
29072 * misc/mkstemps64.c: Likewise.
29073 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29074 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29075 * sysdeps/wordsize-64/mkostemp.c: File removed.
29076 * sysdeps/wordsize-64/mkstemp.c: File removed.
29077 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29078 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29079 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29080 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29083 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29084 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29085 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29086 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29088 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29089 compat_symbol macros from <shlib-compat.h> rather than the underlying
29090 default_symbol_version and symbol_version macros, so that DEFAULT
29091 lines in shlib-versions are respected.
29092 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29094 2012-08-01 Florian Weimer <fweimer@redhat.com>
29096 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29097 Declare with warn_unused_result.
29098 (setgid, setregid, setegid, setresgid): Likewise.
29099 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29101 * WUR-REPORT: Remove set*id functions.
29103 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29105 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29107 2012-07-31 Roland McGrath <roland@hack.frob.com>
29110 * include/sys/socket.h (__libc_accept, __libc_accept4):
29111 Add attribute_hidden.
29112 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29114 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29116 * inet/getnetgrent_r.c (setup): Likewise.
29118 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29120 2012-07-31 David S. Miller <davem@davemloft.net>
29122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29124 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29127 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29128 value between 1.0 and 2.0 and smaller part has absolute value less
29130 * math/s_clog10.c (__clog10): Likewise.
29131 * math/s_clog10f.c (__clog10f): Likewise.
29132 * math/s_clog10l.c (__clog10l): Likewise.
29133 * math/s_clogf.c (__clogf): Likewise.
29134 * math/s_clogl.c (__clogl): Likewise.
29135 * math/libm-test.inc (clog_test): Add more tests.
29136 (clog10_test): Likewise.
29137 * sysdeps/i386/fpu/libm-test-ulps: Update.
29138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29140 2012-07-31 Florian Weimer <fweimer@redhat.com>
29142 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29143 Exit with zero in case no suitable GID is found, and write a
29144 message to standard error.
29146 2012-07-30 Roland McGrath <roland@hack.frob.com>
29148 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29150 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29151 (MAXPATHLEN): Removed.
29152 (NOGROUP, NODEV): New macros.
29153 (setbit, clrbit, isset, isclr): New macros.
29154 (howmany, roundup, powerof2): New macros.
29155 (DEV_BSIZE): New macro.
29157 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29158 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29160 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29161 definition on [!__NO_LONG_DOUBLE_MATH].
29163 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29164 PTR_MANGLE and PTR_DEMANGLE.
29166 * socket/accept4.c (accept4): Rename to __libc_accept4.
29167 Define accept4 as a weak alias.
29169 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29170 on [_DIRENT_HAVE_D_TYPE].
29171 * io/ftw.c (ftw_dir): Likewise.
29173 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29175 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29177 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29178 Use the BSD numbers rather than the arbitrary ones we had.
29179 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29180 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29181 (SIGXCPU, SIGXFSZ): New macros.
29184 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29185 initializer on [_LIBC_REENTRANT].
29187 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29188 definitions inside [_POSIX_MAPPED_FILES].
29190 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29192 * dirent/opendir.c: Include <fcntl.h>.
29194 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29195 (__libc_getspecific): Likewise.
29196 (__libc_key_create): Likewise.
29198 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29199 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29200 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29201 (tmpfile64): Define as alias.
29202 * sysdeps/wordsize-64/tmpfile.c: File removed.
29203 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29204 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29205 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29207 * stdio-common/vfscanf.c: Include <stdbool.h>.
29208 * nss/makedb.c: Likewise.
29209 * stdio-common/_i18n_number.h: Likewise.
29210 * argp/argp-help.c: Likewise.
29211 * posix/wordexp.c: Likewise.
29212 * sysdeps/posix/spawni.c: Likewise.
29213 * nss/nss_files/files-initgroups.c: Likewise.
29214 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29215 * nss/nss_files/files-initgroups.c: Likewise.
29216 * nss/nss_db/db-netgrp.c: Likewise.
29217 * nss/nss_db/db-initgroups.c: Likewise.
29218 * io/fchmodat.c: Include <sys/stat.h>.
29220 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29221 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29223 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29226 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29227 Add multiple inclusion protection.
29229 2012-07-27 David S. Miller <davem@davemloft.net>
29231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29233 2012-07-27 Gary Benson <gbenson@redhat.com>
29236 * elf/rtld.c: Include <stap-probe.h>.
29237 (dl_main): Added static probes "init_start" and "init_complete".
29238 * elf/dl-load.c: Include <stap-probe.h>.
29239 (lose): Take new parameter "nsid".
29240 Added static probe "map_failed".
29241 (_dl_map_object_from_fd): Pass namespace id to lose.
29242 Added static probe "map_start".
29243 (open_verify): Pass namespace id to lose.
29244 * elf/dl-open.c: Include <stap-probe.h>.
29245 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29246 and "reloc_complete".
29247 * elf/dl-close.c: Include <stap-probe.h>.
29248 (_dl_close_worker): Added static probes "unmap_start" and
29250 * elf/rtld-debugger-interface.txt: New file documenting the above.
29252 2012-07-26 Roland McGrath <roland@hack.frob.com>
29254 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29255 rather than a string variable.
29256 * sunrpc/rpc_main.c (h_output): Likewise.
29257 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29259 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29261 * inet/check_native.c: New file.
29263 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29266 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29267 if larger part has absolute value 1.0.
29268 * math/s_clog10.c (__clog10): Likewise.
29269 * math/s_clog10f.c (__clog10f): Likewise.
29270 * math/s_clog10l.c (__clog10l): Likewise.
29271 * math/s_clogf.c (__clogf): Likewise.
29272 * math/s_clogl.c (__clogl): Likewise.
29273 * math/libm-test.inc (clog_test): Add more tests.
29274 (clog10_test): Likewise.
29275 * sysdeps/i386/fpu/libm-test-ulps: Update.
29276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29278 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29279 (pltexit): Likewise.
29280 (La_regs): Likewise.
29281 (La_retval): Likewise.
29282 (int_retval): Likewise.
29283 Update #error for removed macros to refer only to definitions in
29285 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29287 (pltexit): Likewise.
29288 (La_regs): Likewise.
29289 (La_retval): Likewise.
29290 (int_retval): Likewise.
29291 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29293 (pltexit): Likewise.
29294 (La_regs): Likewise.
29295 (La_retval): Likewise.
29296 (int_retval): Likewise.
29297 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29299 (pltexit): Likewise.
29300 (La_regs): Likewise.
29301 (La_retval): Likewise.
29302 (int_retval): Likewise.
29303 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29305 (pltexit): Likewise.
29306 (La_regs): Likewise.
29307 (La_retval): Likewise.
29308 (int_retval): Likewise.
29309 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29311 (pltexit): Likewise.
29312 (La_regs): Likewise.
29313 (La_retval): Likewise.
29314 (int_retval): Likewise.
29315 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29317 (pltexit): Likewise.
29318 (La_regs): Likewise.
29319 (La_retval): Likewise.
29320 (int_retval): Likewise.
29321 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29322 macro definitions in tst-audit.h.
29323 * sysdeps/i386/tst-audit.h: New file.
29324 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29325 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29326 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29327 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29328 * sysdeps/sh/tst-audit.h: Likewise.
29329 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29330 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29331 * sysdeps/x86_64/tst-audit.h: Likewise.
29333 2012-07-26 Andreas Jaeger <aj@suse.de>
29335 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29338 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29339 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29340 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29342 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29343 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29344 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29346 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29349 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29351 (si_call_addr, si_syscall, si_arch): Define new macro.
29352 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29354 (si_call_addr, si_syscall, si_arch): Define new marcro.
29355 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29357 (si_call_addr, si_syscall, si_arch): Define new macro.
29358 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29360 (si_call_addr, si_syscall, si_arch): Define new macro.
29362 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29365 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29366 Change to 2.4.21 where previously 2.4.1.
29367 * sysdeps/unix/sysv/linux/configure: Regenerated.
29368 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29369 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29370 Linux kernel version.
29371 (__ASSUME_STD_AUXV): Remove.
29372 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29374 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29375 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29376 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29377 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29378 (__ASSUME_NETLINK_SUPPORT): Likewise.
29379 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29380 (__no_netlink_support): Remove conditional definition.
29381 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29383 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29384 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29385 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29386 (if_nameindex_ioctl): Remove.
29387 (if_nameindex_netlink): Do not handle __no_netlink_support.
29388 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29390 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29391 Remove conditional code.
29392 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29394 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29396 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29397 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29398 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29400 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29401 [!__ASSUME_STD_AUXV]: Remove conditional code.
29402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29403 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29404 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29406 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29407 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29409 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29411 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29412 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29414 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29416 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29419 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29422 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29423 code unconditional.
29424 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29426 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29428 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29431 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29433 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29436 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29437 code unconditional.
29438 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29440 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29442 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29445 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29446 code unconditional.
29447 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29449 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29451 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29454 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29456 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29457 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29458 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29459 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29460 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29461 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29462 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29463 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29464 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29465 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29466 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29467 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29468 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29469 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29470 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29471 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29472 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29473 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29474 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29476 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29477 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29478 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29480 2012-07-25 Florian Weimer <fweimer@redhat.com>
29482 * Versions.def: Add GLIBC_2.17.
29483 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29484 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29485 Introduce __libc_secure_getenv.
29486 * stdlib/Versions (2.17): Add secure_getenv
29487 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29488 * stdlib/secure-getenv.c: Rename __secure_getenv to
29489 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29490 symbol __secure_getenv for GLIBC_2.0.
29491 * stdlib/tst-secure-getenv.c: New.
29492 * stdlib/Makefile (tests): Add testcase.
29493 * manual/startup.texi (Environment Access): Document
29495 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29496 __libc_secure_getenv.
29497 * inet/ruserpass.c (ruserpass): Likewise.
29498 * malloc/mtrace.c (mtrace): Likewise.
29499 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29500 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29501 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29502 * sysdeps/posix/tempname.c: Likewise. Evaluate
29503 HAVE_SECURE_GETENV.
29504 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29505 __secure_getenv to __libc_secure_getenv.
29506 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29513 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29519 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29521 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29522 (struct La_i86_retval): Likewise.
29523 (struct La_x86_64_regs): Likewise.
29524 (struct La_x86_64_retval): Likewise.
29525 (struct La_x32_regs): Likewise.
29526 (struct La_x32_retval): Likewise.
29527 (struct La_ppc32_regs): Likewise.
29528 (struct La_ppc32_retval): Likewise.
29529 (struct La_ppc64_regs): Likewise.
29530 (struct La_ppc64_retval): Likewise.
29531 (struct La_sh_regs): Likewise.
29532 (struct La_sh_retval): Likewise.
29533 (struct La_s390_32_regs): Likewise.
29534 (struct La_s390_32_retval): Likewise.
29535 (struct La_s390_64_regs): Likewise.
29536 (struct La_s390_64_retval): Likewise.
29537 (struct La_sparc32_regs): Likewise.
29538 (struct La_sparc32_retval): Likewise.
29539 (struct La_sparc64_regs): Likewise.
29540 (struct La_sparc64_retval): Likewise.
29541 (struct audit_ifaces): Remove architecture-specific pltenter and
29543 * sysdeps/i386/ldsodefs.h: New file.
29544 * sysdeps/powerpc/ldsodefs.h: Likewise.
29545 * sysdeps/s390/ldsodefs.h: Likewise.
29546 * sysdeps/sh/ldsodefs.h: Likewise.
29547 * sysdeps/sparc/ldsodefs.h: Likewise.
29548 * sysdeps/x86_64/ldsodefs.h: Likewise.
29550 2012-07-25 Marek Polacek <polacek@redhat.com>
29553 * math/libm-test.inc (yn_test): Add another test.
29554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29555 to ERANGE when the result is +-Inf.
29556 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29557 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29558 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29559 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29561 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29563 * conform/data/time.h-data (NULL): Use macro-constant. Require
29565 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29567 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29569 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29571 * configure.in <sysdeps resolving>: Correct printing
29573 * configure: Regenerate.
29575 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29577 * math/w_ilogb.c: Include <limits.h>.
29578 * math/w_ilogbl.c: Likewise.
29580 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29582 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29583 va_copy. Document allowing for unavailable va_copy only as
29584 pre-C99 compatibility.
29585 * manual/string.texi (Copying and Concatenation): Use va_copy
29586 instead of __va_copy in concat example.
29588 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29590 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29591 (__sendto): Use create_address_port. Initialize APORT and deallocate
29594 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29595 with O_NOLINK passed to __file_name_lookup.
29597 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29598 with O_NOLINK passed to __file_name_lookup.
29600 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29601 negative N or less than NGIDS.
29603 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29604 type to string_t. Set ERANGE as errno and return it if NAME is not big
29605 enough. Use memcpy instead of strncpy.
29607 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29609 * elf/Makefile (check-data): Remove.
29610 (localplt.data): New vpath directive.
29611 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29612 instead of $(check-data).
29613 * scripts/data/localplt-generic.data: Move to ...
29614 * sysdeps/generic/localplt.data: ... here.
29615 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29616 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29617 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29620 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29623 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29626 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29629 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29632 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29636 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29638 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29639 PPC32 and PPC64 files.
29640 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29641 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29643 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29645 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29646 __makecontext_ret to ...
29647 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29648 ... here and call exit if uc_link is NULL. New file.
29649 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29650 __makecontext_ret.S.
29651 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29652 __makecontext_ret to ...
29653 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29654 ... here and call exit if uc_link is NULL. New file.
29655 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29656 __makecontext_ret.S.
29658 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29660 * elf/elf.h (R_390_IRELATIVE): New definition.
29661 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29662 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29663 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29664 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29665 (elf_machine_lazy_rel): Likewise.
29666 * sysdeps/s390/dl-irel.h: New file.
29667 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29668 * sysdeps/s390/s390-64/memset.S: New asm code.
29669 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29670 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29671 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29672 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29673 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29674 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29675 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29676 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29677 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29678 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29679 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29680 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29681 * sysdeps/s390/s390-32/memset.S: New asm code.
29682 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29684 2012-07-17 Marek Polacek <polacek@redhat.com>
29687 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29688 * sysdeps/s390/s390-64/configure.in: Likewise.
29689 * sysdeps/sparc/configure.in: Likewise.
29690 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29691 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29692 * sysdeps/i386/configure.in: Likewise.
29693 * sysdeps/x86_64/configure.in: Likewise.
29694 * sysdeps/sh/configure.in: Likewise.
29695 * sysdeps/s390/s390-32/configure: Regenerated.
29696 * sysdeps/s390/s390-64/configure: Likewise.
29697 * sysdeps/x86_64/configure: Likewise.
29698 * sysdeps/sh/configure: Likewise.
29699 * sysdeps/powerpc/powerpc64/configure: Likewise.
29700 * sysdeps/powerpc/powerpc32/configure: Likewise.
29701 * sysdeps/sparc/configure: Likwise.
29702 * sysdeps/i386/configure: Likewise.
29704 * elf/dl-open.c: Comment fixes.
29706 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29708 * Makefile [CXX] (check-data): Remove.
29709 [CXX] (c++-types.data): New vpath directive.
29710 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29711 vpath. Do not allow for C++ type data being missing.
29712 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29713 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29714 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29715 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29716 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29717 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29718 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29721 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29724 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29727 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29730 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29733 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29736 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29739 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29742 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29743 definitions to architecture-specific files.
29744 (TLS_IE): Likewise.
29745 (TLS_LD): Likewise.
29746 (TLS_GD): Likewise.
29747 * sysdeps/i386/tls-macros.h: New file.
29748 * sysdeps/powerpc/tls-macros.h: Likewise.
29749 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29750 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29751 * sysdeps/sh/tls-macros.h: Likewise.
29752 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29753 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29754 * sysdeps/x86_64/tls-macros.h: Likewise.
29756 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29758 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29759 zero value for regular exit case.
29761 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29762 (__start_context): Preserve zero value for regular exit case.
29764 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29765 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29767 * manual/setjmp.texi (setcontext): Clarify normal process
29768 termination when uc_link is the null pointer.
29769 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29772 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29774 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29775 preprocessor. Test for each exception mask separately.
29777 2012-07-16 Andreas Jaeger <aj@suse.de>
29779 * po/ru.po: Update from translation team.
29781 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29783 * conform/data/string.h-data (NULL): Use macro-constant. Require
29785 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29786 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29787 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29788 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29789 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29791 2012-07-13 Andreas Jaeger <aj@suse.de>
29793 * po/fr.po: Update from translation team.
29795 2012-07-12 Marek Polacek <polacek@redhat.com>
29798 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29799 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29802 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29806 Change to 2.4.1 where previously 2.4.0.
29807 * sysdeps/unix/sysv/linux/configure: Regenerated.
29808 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29809 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29811 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29812 (__ASSUME_AT_CLKTCK): Remove.
29813 (__ASSUME_AT_PAGESIZE): Likewise.
29814 (__ASSUME_AT_XID): Likewise.
29815 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29816 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29817 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29819 (HAVE_AUX_PAGESIZE): Likewise.
29820 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29821 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29822 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29824 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29828 the temporary buffer used to invoke __gethostbyname2_r,
29829 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29830 host_data / struct gaih_addrtuple.
29831 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29832 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29833 header file nss/nsswitch.h.
29834 * nss/nsswitch.h (global scope): Add definition of implementation
29835 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29836 resolv/nss_dns/dns-host.c).
29838 2012-07-11 Andreas Jaeger <aj@suse.de>
29840 * po/fr.po: Update from translation team.
29842 * po/sv.po: Update from translation team
29843 * po/fr.po: Another update from translation team.
29845 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29847 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29848 for subnormals or multiply small sinh result by itself.
29849 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29852 2012-07-11 David S. Miller <davem@davemloft.net>
29854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29856 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29859 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29860 (INTERNAL_MARK): Shift it here.
29862 2012-07-10 Marek Polacek <polacek@redhat.com>
29865 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29866 libc_cv_asm_global_directive with .globl.
29867 * configure: Regenerated.
29868 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29870 * sysdeps/i386/configure: Regenerated.
29871 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29873 * sysdeps/x86_64/configure: Regenerated.
29874 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29875 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29876 * elf/tst-unique2mod2.c: Likewise.
29877 * elf/tst-unique2mod1.c: Likewise.
29878 * elf/tst-unique1mod2.c: Likewise.
29879 * elf/tst-unique1mod1.c: Likewise.
29880 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29881 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29882 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29883 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29884 * sysdeps/mach/sysdep.h: Likewise.
29885 * sysdeps/i386/sysdep.h: Likewise.
29886 * sysdeps/i386/i386-mcount.S: Likewise.
29887 * sysdeps/x86_64/_mcount.S: Likewise.
29888 * sysdeps/x86_64/sysdep.h: Likewise.
29889 * sysdeps/sh/_mcount.S: Likewise.
29890 * sysdeps/sh/sysdep.h: Likewise.
29891 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29892 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29893 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29894 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29895 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29896 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29897 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29898 * locale/localeinfo.h: Likewise.
29899 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29900 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29902 2012-07-09 Roland McGrath <roland@hack.frob.com>
29905 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29907 * manual/message.texi (The Uniforum approach): Likewise.
29908 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29909 (glibc iconv Implementation): Likewise.
29911 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29914 * math/s_clog.c (__clog): Avoid scaling a value down where that
29915 could result in underflow.
29916 * math/s_clog10.c (__clog10): Likewise.
29917 * math/s_clog10f.c (__clog10f): Likewise.
29918 * math/s_clog10l.c (__clog10l): Likewise.
29919 * math/s_clogf.c (__clogf): Likewise.
29920 * math/s_clogl.c (__clogl): Likewise.
29921 * math/libm-test.inc (clog_test): Add more tests.
29922 (clog10_test): Likewise.
29923 * sysdeps/i386/fpu/libm-test-ulps: Update.
29924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29926 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29929 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29930 by 7 not 8 to examine high bit of fractional part.
29933 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29934 for call to __mcount_internal.
29935 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29936 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29937 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29939 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29942 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29943 approximation for values within 0x1p-13f of an odd multiple of
29945 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29946 exception. Add more tests.
29947 * sysdeps/i386/fpu/libm-test-ulps: Update.
29950 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29951 inputs and return -1 for them. Do not check for +Inf in case not
29952 reachable for +Inf.
29953 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29954 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
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 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29960 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29961 and return -1 for them. Do not check for +Inf in case not
29962 reachable for +Inf.
29963 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29964 spurious underflow.
29965 * sysdeps/i386/fpu/libm-test-ulps: Update.
29966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29968 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29970 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29972 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29976 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29977 could result in spurious underflow. Scale down values above
29978 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29979 * math/s_csqrtf.c (__csqrtf): Likewise.
29980 * math/s_csqrtl.c (__csqrtl): Likewise.
29981 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29982 spurious underflow.
29983 * sysdeps/i386/fpu/libm-test-ulps: Update.
29984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29986 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29988 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29990 * catgets/xopen-msg.awk: New file.
29991 * catgets/xopen-msg.sed: Removed.
29993 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29995 * intl/po2test.awk: New file.
29996 * intl/po2test.sed: Removed.
29998 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30001 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30002 or multiply small sinh result by itself.
30003 * math/s_ctanf.c (__ctanf): Likewise.
30004 * math/s_ctanh.c (__ctanh): Likewise.
30005 * math/s_ctanhf.c (__ctanhf): Likewise.
30006 * math/s_ctanhl.c (__ctanhl): Likewise.
30007 * math/s_ctanl.c (__ctanl): Likewise.
30008 * math/libm-test.inc (ctan_test_tonearest): New function.
30009 (ctan_test_towardzero): Likewise.
30010 (ctan_test_downward): Likewise.
30011 (ctan_test_upward): Likewise.
30012 (ctanh_test_tonearest): Likewise.
30013 (ctanh_test_towardzero): Likewise.
30014 (ctanh_test_downward): Likewise.
30015 (ctanh_test_upward): Likewise.
30016 (main): Call these new functions.
30017 * sysdeps/i386/fpu/libm-test-ulps: Update.
30018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30020 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30022 * .gitignore: Delete /ports entry.
30024 2012-07-03 Andreas Jaeger <aj@suse.de>
30026 * po/bg.po: Update from translation team.
30027 * po/cs.po: Likewise.
30028 * po/de.po: Likewise.
30029 * po/hr.po: Likewise.
30030 * po/nl.pl: Likewise.
30031 * po/pl.po: Likewise.
30032 * po/vi.po: Likewise.
30034 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30036 * Makeconfig [!+link] (+link-before-libc): New variable.
30037 [!+link] (+link-after-libc): Likewise.
30038 [!+link] (+link-tests): Likewise.
30039 [!+link] (+link): Define in terms of $(+link-before-libc) and
30040 $(+link-after-libc).
30041 [!+link-static] (+link-static-before-libc): New variable.
30042 [!+link-static] (+link-static-after-libc): Likewise.
30043 [!+link-static] (+link-static-tests): Likewise.
30044 [!+link-static] (+link-static): Define in terms of
30045 $(+link-static-before-libc) and $(+link-static-after-libc).
30046 [build-shared] (link-libc-before-gnulib): New variable.
30047 [build-shared] (link-libc-tests): Likewise.
30048 [build-shared] (link-libc): Define in terms of
30049 $(link-libc-before-gnulib).
30050 [!build-shared] (link-libc-tests): New variable.
30051 (link-libc-static-tests): New variable.
30052 [!gnulib] (gnulib-arch): New variable.
30053 [!gnulib] (gnulib-tests): Likewise.
30054 [!gnulib] (static-gnulib-arch): Likewise.
30055 [!gnulib] (static-gnulib-tests): Likewise.
30056 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30057 Define with "=" instead of ":=".
30058 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30059 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30060 * Rules (binaries-all-notests): New variable.
30061 (binaries-all-tests): Likewise.
30062 (binaries-static-notests): Likewise.
30063 (binaries-static-tests): Likewise.
30064 (binaries-all): Define using $(binaries-all-notests) and
30065 $(binaries-all-tests).
30066 (binaries-static): Define using $(binaries-static-notests) and
30067 $(binaries-static-tests).
30068 (binaries-shared-tests): New variable.
30069 (binaries-shared-notests): Likewise.
30070 (binaries-shared): Remove variable.
30071 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30072 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30073 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30074 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30075 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30076 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30077 * elf/Makefile (sln-modules): New variable.
30078 (extra-objs): Add $(sln-modules:=.o).
30079 (ldconfig-modules): Add static-stubs.
30080 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30081 * elf/static-stubs.c: New file.
30084 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30085 by 7 not 8 to examine high bit of fractional part. Use volatile
30086 variables when splitting into final array of floats if
30087 __FLT_EVAL_METHOD__ != 0.
30088 * math/libm-test.inc (cos_test): Add another test.
30089 (sin_test): Likewise.
30090 * sysdeps/i386/fpu/libm-test-ulps: Update.
30093 * math/libm-test.inc (cosh_test): Add more tests.
30095 * version.h (RELEASE): Set to "development".
30096 (VERSION): Set to "2.16.90".
30098 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30100 * NEWS: Update copyright. Remove last-updated date.
30101 Mention math library bug fixes and timezone data changes.
30102 * README: Mention GNU/Hurd, x32, and HPPA support status.
30104 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30106 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30108 2012-06-27 Andreas Jaeger <aj@suse.de>
30110 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30112 2012-06-25 Andreas Jaeger <aj@suse.de>
30114 * sysdeps/s390/fpu/libm-test-ulps: Update.
30116 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30117 Thomas Schwinge <thomas@codesourcery.com>
30119 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30120 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30121 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30124 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30126 * sysdeps/mach/start.c: Remove file.
30127 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30128 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30129 * sysdeps/sh/init-first.c: Likewise.
30131 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30132 registers for frame unwinding purposes, add CFI directives.
30133 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30134 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30135 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30138 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30139 __fortify_fail returning.
30140 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30142 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30143 sysdeps/sh/____longjmp_chk.S.
30144 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30145 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30146 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30147 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30149 * sysdeps/sh/abort-instr.h: New file.
30150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30151 process in case exit returns.
30153 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30154 initialize the GOT register before use.
30156 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30157 calculation of ARGC > 4.
30159 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30160 meaningful names to some local labels.
30162 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30163 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30165 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30166 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30167 (__arch_compare_and_exchange_val_16_acq): Likewise.
30168 (__arch_compare_and_exchange_val_32_acq): Likewise.
30169 (atomic_exchange_and_add): Fix gUSA sequence.
30170 (atomic_add): Likewise.
30171 (atomic_add_negative): Likewise.
30172 (atomic_add_zero): Likewise.
30173 (atomic_bit_test_set): Likewise.
30175 2012-06-22 Andreas Schwab <schwab@redhat.com>
30178 * include/link.h (struct link_map): Add l_free_initfini.
30179 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30181 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30182 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30183 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30186 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30188 * configure.in: Use AC_LANG_SOURCE.
30189 * configure: Regenerate.
30191 2012-06-22 Roland McGrath <roland@hack.frob.com>
30193 * configure.in (libc_cv_localstatedir): New substituted variable.
30194 * configure: Regenerated.
30195 * config.make.in (localstatedir): New variable, substituted from
30196 libc_cv_localstatedir.
30197 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30198 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30199 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30200 * sysdeps/gnu/configure: Regenerated.
30202 2012-06-21 Jeff Law <law@redhat.com>
30205 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30206 free. Simplify list management for _LIBC case.
30208 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30211 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30212 Clear sign bit of 64-bit integer value before comparing against
30215 * sysdeps/mach/configure: Regenerated.
30217 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30220 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30222 2012-06-21 Jeff Law <law@redhat.com>
30225 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30226 uint16_t for elements in the "seen" array to avoid char overflows.
30227 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30228 * elf/dl-open.c (dl_open_worker): Likewise.
30230 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30232 * scripts/list-sources.sh: Scan PORTS for translations.
30233 * po/libc.pot: Regenerated.
30235 2012-06-21 Andreas Jaeger <aj@suse.de>
30238 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30240 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30241 * bits/byteswap-16.h (__bswap_16): Likewise.
30242 * bits/byteswap.h (__bswap_constant_16): Likewise.
30244 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30247 * sysdeps/i386/fpu_control.h: Removed.
30248 * sysdeps/x86_64/fpu_control.h: Moved to ...
30249 * sysdeps/x86/fpu_control.h: Here.
30251 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30252 (_FPU_SETCW): Likewise.
30254 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30257 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30258 * sysdeps/x86/fpu/bits/mathinline.h: This.
30259 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30263 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30264 functions if __x86_64__ is defined.
30266 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30268 * string/endian.h: Add !__ASSEMBLER__ condition for including
30269 conversion interfaces.
30271 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30274 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30275 of ABS(x) in calculating zero to negative powers other than odd
30277 * math/libm-test.inc (pow_test): Add more tests.
30279 2012-06-15 Andreas Jaeger <aj@suse.de>
30281 * manual/contrib.texi (Contributors): Update entry of Liubov
30282 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30285 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30287 * string/string.h: Add __wur to GNU version of strerror_r.
30289 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30292 * string/Makefile (tests): Add tst-strtok_r.
30293 * string/tst-strtok_r.c: New file.
30294 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30295 RAX_LP/RDX_LP on SAVE_PTR.
30297 2012-06-14 Roland McGrath <roland@hack.frob.com>
30299 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30301 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30303 * libm_test.inc (csqrt_test): Allow more spurious underflow
30305 (j0_test): Likewise.
30306 (j1_test): Likewise.
30307 (y0_test): Likewise.
30308 (y1_test): Likewise.
30310 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30312 * po/Makefile (libc.pot): Use UTF-8 charset.
30314 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30317 Suppress sign-conversion warning from FD_SET.
30318 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30319 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30320 not unsigned long int.
30321 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30323 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30327 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30328 __extern_always_inline instead of __extern_inline.
30329 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30330 (__signbit): Likewise.
30331 (__signbitl): Support C++ namespace.
30332 (lrintf): New inline function.
30334 (llrintf): Likewise.
30335 (llrint): Likewise.
30345 (floorf): Likewise.
30346 (nearbyint): Likewise.
30347 (nearbyintf): Likewise.
30349 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30351 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30352 non-default versions.
30354 2012-06-11 Roland McGrath <roland@hack.frob.com>
30357 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30359 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30361 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30362 (FE_UPWARD, FE_DOWNWARD): Don't define.
30363 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30364 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30366 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30368 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30369 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30371 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30373 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30375 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30376 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30378 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30381 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30382 * sysdeps/i386/fpu/Implies: New file.
30383 * sysdeps/x86_64/fpu/Implies: Likewise.
30384 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30385 * sysdeps/x86/fpu/bits/fenv.h: This.
30387 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30390 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30393 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30394 character 0xffff that matches the last element of the
30397 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30399 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30402 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30404 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30405 values higher than 25.6283.
30407 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30409 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30410 subnormal exponent extraction and add some __builtin_expect.
30411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30412 Fix for subnormal mantissa calculation.
30414 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30416 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30417 cpu2 is -1 and errno is not ENOSYS.
30419 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30422 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30423 * sysdeps/x86/bits/string.h: This.
30424 * sysdeps/x86_64/bits/string.h: Removed.
30426 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30427 if not compiling for x86-64, but compiling for >= i486.
30429 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30430 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30432 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30433 New macro from Linux kernel 3.4.0.
30434 (FP_XSTATE_MAGIC2): Likewise.
30435 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30436 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30437 (struct _fpx_sw_bytes): New struct.
30438 (struct _xsave_hdr): Likewise.
30439 (struct _ymmh_state): Likewise.
30440 (struct _xstate): Likewise.
30442 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30443 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30444 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30445 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30446 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30447 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30449 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30450 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30451 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30452 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30453 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30454 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30456 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30459 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30460 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30461 (sysdep_headers): Include sys/platform/ppc.h.
30462 * sysdeps/powerpc/test-gettimebase.c: Test for
30463 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30464 * manual/Makefile (appendices): Include platform.texi.
30465 * manual/contrib.texi (Contributors): Update @node pointers.
30466 * manual/maint.texi (Maintenance): Likewise.
30467 (Platform): New node.
30468 * manual/platform.texi: New file. Document the new features.
30470 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30471 Jakub Jelinek <jakub@redhat.com>
30474 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30475 where __builtin_expect is unavailable.
30477 2012-06-03 David S. Miller <davem@davemloft.net>
30479 * stdlib/longlong.h: Updated from GCC.
30481 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30484 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30485 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30488 (GLIBC_2.16): Likewise.
30490 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30492 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30494 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30497 (default-abi): New variable.
30498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30499 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30501 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30503 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30505 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30508 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30509 definition. Document in comment.
30511 2012-06-01 David S. Miller <davem@davemloft.net>
30513 * stdlib/longlong.h: Updated from GCC.
30515 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30518 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30519 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30520 sys/debugreg.h sys/io.h here.
30521 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30522 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30524 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30525 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30526 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30527 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30528 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30529 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30531 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30532 Define only if __x86_64__ is defined.
30534 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30537 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30538 Use int64_t for variable i.
30539 * math/libm-test.inc (fmod_test): Add more tests.
30541 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30542 z computation is not scheduled after fetestexcept.
30543 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30544 Use math_force_eval instead of asm to ensure calculation scheduled
30545 before exception test.
30546 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30547 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30549 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30552 computation is not scheduled after fetestexcept.
30554 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30557 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30558 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30560 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30562 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30563 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30565 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30568 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30570 (__WCHAR_MIN): Support __WORDSIZE == 64.
30571 (__WCHAR_MAX): Likewise.
30573 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30574 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30577 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30578 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30581 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30582 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30584 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30585 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30587 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30588 Defined to 1 if __x86_64__ isn't defined.
30589 (_STAT_VER_LINUX_OLD): New.
30590 (st_atime): Remove duplicate.
30591 (st_mtime): Likewise.
30592 (st_ctime): Likewise.
30594 2012-05-31 David S. Miller <davem@davemloft.net>
30596 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30599 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30601 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30605 * elf/dl-reloc.c: Include <_itoa.h>.
30606 (_dl_reloc_bad_type): Remove use of INTUSE.
30607 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30608 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30609 * stdio-common/psiginfo.c (psiginfo): Likewise.
30610 * stdio-common/psignal.c (psignal): Likewise.
30611 * string/strsignal.c (strsignal): Likewise.
30612 * include/signal.h (_sys_siglist): Declare hidden proto.
30613 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30614 INTVARDEF with libc_hidden_data_def.
30615 * stdio-common/itoa-udigits.c: Likewise.
30616 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30617 (_itoa_lower_digits_internal): Remove declaration.
30618 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30619 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30620 (_sys_sigabbrev_internal): Remove aliases.
30621 (_sys_siglist): Define hidden alias.
30623 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30628 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30631 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30632 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30634 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30635 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30636 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30637 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30638 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30639 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30641 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30642 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30643 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30645 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30653 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30654 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30655 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30657 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30658 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30659 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30660 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30661 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30662 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30664 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30665 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30667 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30668 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30671 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30672 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30674 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30675 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30677 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30679 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30680 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30681 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30683 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30685 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30687 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30689 * math/math.h (M_El): Use two more decimal places.
30690 (M_LOG2El): Likewise.
30691 (M_LOG10El): Likewise.
30692 (M_LN2l): Likewise.
30693 (M_LN10l): Likewise.
30695 (M_PI_2l): Likewise.
30696 (M_PI_4l): Likewise.
30697 (M_1_PIl): Likewise.
30698 (M_2_PIl): Likewise.
30699 (M_2_SQRTPIl): Likewise.
30700 (M_SQRT2l): Likewise.
30701 (M_SQRT1_2l): Likewise.
30703 2012-05-31 David S. Miller <davem@davemloft.net>
30705 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30706 values between float registers.
30707 * sysdeps/sparc/sparc64/memset.S: Likewise.
30708 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30710 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30712 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30713 -D_FORTIFY_SOURCE=1.
30714 (CPPFLAGS-tst-longjmp_chk.c): Define.
30715 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30716 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30717 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30718 CFLAGS-tst-wchar-h.c.
30720 2012-05-31 Marek Polacek <polacek@redhat.com>
30723 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30724 __endmntent_internal): Remove declaration.
30725 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30726 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30727 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30729 2012-05-30 David S. Miller <davem@davemloft.net>
30731 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30732 (___Q_simulate_exceptions): Use real FP ops rather than writing
30734 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30737 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30740 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30741 * sysdeps/x86/bits/xtitypes.h: This.
30743 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30744 * sysdeps/x86/bits/wordsize.h: This.
30746 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30747 * sysdeps/x86/bits/huge_vall.h: This.
30749 * sysdeps/i386/bits/select.h: Removed.
30750 * sysdeps/x86_64/bits/select.h: Renamed to ...
30751 * sysdeps/x86/bits/select.h: This.
30753 * sysdeps/i386/bits/setjmp.h: Removed.
30754 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30755 * sysdeps/x86/bits/setjmp.h: This.
30757 * sysdeps/i386/bits/mathdef.h: Removed.
30758 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30759 * sysdeps/x86/bits/mathdef.h: This.
30761 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30764 * include/sys/socket.h (__connect_internal)
30765 (__libc_sa_len_internal): Remove declaration.
30766 (__connect, __libc_sa_len): Declare hidden_proto.
30767 (SA_LEN): Remove use of INTUSE.
30768 * socket/connect.c: Add libc_hidden_def.
30769 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30770 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30771 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30773 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30774 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30775 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30776 of adding _internal alias.
30778 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30781 * sysdeps/i386/bits/link.h: Removed.
30782 * sysdeps/i386/bits/linkmap.h: Likewise.
30783 * sysdeps/x86_64/bits/link.h: Renamed to ...
30784 * sysdeps/x86/bits/link.h: This.
30785 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30786 * sysdeps/x86/bits/linkmap.h: This.
30788 * sysdeps/i386/bits/endian.h: Removed.
30789 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30790 * sysdeps/x86/bits/endian.h: This.
30792 * sysdeps/i386/bits/byteswap.h: Removed.
30793 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30794 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30795 * sysdeps/x86/bits/byteswap.h: This.
30796 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30797 * sysdeps/x86/bits/byteswap-16.h: This.
30798 * sysdeps/i386/Implies: Add x86.
30799 * sysdeps/x86_64/Implies: Likewise.
30801 2012-05-30 David S. Miller <davem@davemloft.net>
30803 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30804 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30805 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30806 (FP_TRAPPING_EXCEPTIONS): Define.
30807 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30808 (FP_TRAPPING_EXCEPTIONS): Define.
30809 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30810 subnormals only when inexact has been signalled or underflow
30811 exceptions are enabled.
30812 (_FP_PACK_CANONICAL): Likewise.
30814 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30817 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30818 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30820 2012-05-30 Richard Henderson <rth@twiddle.net>
30822 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30823 with #ifndef NOT_IN_libc.
30825 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30826 marked to avoid plt entry.
30828 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30831 * Makeconfig (default-abi): New macro.
30832 (abi-includes): Likewise.
30833 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30834 $(abi-$(default-abi)-lib-soname) for soname if defined.
30835 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30837 * Makefile (installed-stubs): Likewise.
30838 * include/stubs-biarch.h: Removed.
30839 * scripts/lib-names.awk: Only handle one library at a time.
30840 * scripts/soversions.awk: Remove WORDSIZE support.
30841 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30843 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30845 (syscall-list-default-condition): Likewise.
30846 (syscall-list-default-condition): Likewise.
30847 (syscall-list-includes): Likewise.
30848 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30849 syscall-list-* with abi-*. Handle undefined abi-variants.
30850 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30851 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30852 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30853 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30854 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30855 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30857 (syscall-list-32-options): Likewise.
30858 (syscall-list-32-condition): Likewise.
30859 (syscall-list-64-options): Likewise.
30860 (syscall-list-64-condition): Likewise.
30861 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30863 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30866 (abi-64-ld-soname): New macro.
30867 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30868 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30871 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30872 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30874 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30876 * sysdeps/unix/sysv/linux/kernel-features.h
30877 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30878 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30879 include <kernel-features.h>.
30880 [!__NR_ftruncate64]: Remove conditional code.
30881 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30882 [__NR_ftruncate64]: Make code unconditional.
30883 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30884 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30885 include <kernel-features.h>.
30886 [!__NR_ftruncate64]: Remove conditional code.
30887 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30888 [__NR_ftruncate64]: Make code unconditional.
30889 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30891 include <kernel-features.h>.
30892 [!__NR_ftruncate64]: Remove conditional code.
30893 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30894 [__NR_ftruncate64]: Make code unconditional.
30895 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30897 include <kernel-features.h>.
30898 [!__NR_ftruncate64]: Remove conditional code.
30899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30900 [__NR_ftruncate64]: Make code unconditional.
30901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30903 * configure.in (libc_cv_fpie): Weaken to a compile test using
30904 LIBC_TRY_CC_OPTION.
30905 * configure: Regenerated.
30907 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30922 2012-05-27 David S. Miller <davem@davemloft.net>
30924 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30926 (__Q_simulate_exceptions): Return void. Change to simulate
30927 exceptions by writing into the %fsr.
30928 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30929 (__Qp_handle_exceptions): Likewise.
30931 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30932 __Qp_handle_exceptions.
30933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30934 __Qp_handle_exceptions.
30935 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30936 as unused and give dummy FP_RND_NEAREST initializer.
30937 (FP_INHIBIT_RESULTS): Define.
30938 (___Q_simulate_exceptions): Update declaration.
30939 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30941 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30942 as unused and give dummy FP_RND_NEAREST initializer.
30943 (__Qp_handle_exceptions): Update declaration.
30944 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30947 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30949 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30950 the temporary FPU control word.
30951 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30952 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30953 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30954 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30955 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30956 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30957 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30958 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30959 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30960 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30961 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30963 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30965 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30968 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30970 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30971 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30972 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30973 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30975 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30976 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30979 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30981 * po/h.po: Update from translation team.
30983 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30985 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30987 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30988 handling of denormals.
30989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30990 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30991 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30992 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30993 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30998 2012-05-26 Marek Polacek <polacek@redhat.com>
31001 * math/libm-test.inc (fma_test): Don't always expect underflow
31004 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31007 * elf/tst-execstack.c: Include stackinfo.h.
31008 (do_test): Adjust test case to ensure that pthread_getattr_np
31009 behaviour remains the same after marking stack executable.
31011 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31013 * sysdeps/unix/sysv/linux/kernel-features.h
31014 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31015 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31017 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31018 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31019 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31021 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31022 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31024 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31026 * configure.in: Define the default includes to being none.
31027 * configure: Regenerated.
31029 2012-05-25 Roland McGrath <roland@hack.frob.com>
31031 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31032 * sysdeps/x86_64/setjmp.S: Likewise.
31033 * sysdeps/i386/bsd-setjmp.S: Likewise.
31034 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31035 * sysdeps/i386/setjmp.S: Likewise.
31036 * sysdeps/i386/__longjmp.S: Likewise.
31037 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31038 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31040 * include/stap-probe.h: New file.
31041 * configure.in: Handle --enable-systemtap.
31042 * configure: Regenerated.
31043 * config.h.in (USE_STAP_PROBE): New #undef.
31044 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31045 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31046 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31048 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31051 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31052 to 2.4.0 where earlier.
31053 * sysdeps/unix/sysv/linux/configure: Regenerated.
31054 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31055 <kernel-features.h>.
31056 [__ASSUME_32BITUIDS]: Make code unconditional.
31057 [!__ASSUME_32BITUIDS]: Remove conditional code.
31058 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31059 <kernel-features.h>.
31060 [__ASSUME_32BITUIDS]: Make code unconditional.
31061 [!__ASSUME_32BITUIDS]: Remove conditional code.
31062 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31063 [__ASSUME_32BITUIDS]: Make code unconditional.
31064 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31065 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31066 <kernel-features.h>.
31067 [__ASSUME_32BITUIDS]: Make code unconditional.
31068 [!__ASSUME_32BITUIDS]: Remove conditional code.
31069 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31070 <kernel-features.h>.
31071 [__ASSUME_32BITUIDS]: Make code unconditional.
31072 [!__ASSUME_32BITUIDS]: Remove conditional code.
31073 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31074 <kernel-features.h>.
31075 [__ASSUME_32BITUIDS]: Make code unconditional.
31076 [!__ASSUME_32BITUIDS]: Remove conditional code.
31077 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31078 <kernel-features.h>.
31079 [__ASSUME_32BITUIDS]: Make code unconditional.
31080 [!__ASSUME_32BITUIDS]: Remove conditional code.
31081 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31082 <kernel-features.h>.
31083 [__ASSUME_32BITUIDS]: Make code unconditional.
31084 [!__ASSUME_32BITUIDS]: Remove conditional code.
31085 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31086 <kernel-features.h>.
31087 [__ASSUME_32BITUIDS]: Make code unconditional.
31088 [!__ASSUME_32BITUIDS]: Remove conditional code.
31089 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31090 <kernel-features.h>.
31091 [__ASSUME_32BITUIDS]: Make code unconditional.
31092 [!__ASSUME_32BITUIDS]: Remove conditional code.
31093 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31094 <kernel-features.h>.
31095 [__ASSUME_32BITUIDS]: Make code unconditional.
31096 [!__ASSUME_32BITUIDS]: Remove conditional code.
31097 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31098 <kernel-features.h>.
31099 [__ASSUME_32BITUIDS]: Make code unconditional.
31100 [!__ASSUME_32BITUIDS]: Remove conditional code.
31101 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31102 <kernel-features.h>.
31103 [__ASSUME_32BITUIDS]: Make code unconditional.
31104 [!__ASSUME_32BITUIDS]: Remove conditional code.
31105 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31106 <kernel-features.h>.
31107 [__NR_setresgid] (__setresgid): Do not declare.
31108 [__ASSUME_32BITUIDS]: Make code unconditional.
31109 [!__ASSUME_32BITUIDS]: Remove conditional code.
31110 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31111 <kernel-features.h>.
31112 [__NR_setresuid] (__setresuid): Do not declare.
31113 [__ASSUME_32BITUIDS]: Make code unconditional.
31114 [!__ASSUME_32BITUIDS]: Remove conditional code.
31115 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31116 <kernel-features.h>.
31117 [__ASSUME_32BITUIDS]: Make code unconditional.
31118 [!__ASSUME_32BITUIDS]: Remove conditional code.
31119 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31120 <kernel-features.h>.
31121 [__ASSUME_32BITUIDS]: Make code unconditional.
31122 [!__ASSUME_32BITUIDS]: Remove conditional code.
31123 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31124 <kernel-features.h>.
31125 [__ASSUME_32BITUIDS]: Make code unconditional.
31126 [!__ASSUME_32BITUIDS]: Remove conditional code.
31127 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31128 <kernel-features.h>.
31129 [__ASSUME_32BITUIDS]: Make code unconditional.
31130 [!__ASSUME_32BITUIDS]: Remove conditional code.
31131 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31132 <kernel-features.h>.
31133 [__ASSUME_32BITUIDS]: Make code unconditional.
31134 [!__ASSUME_32BITUIDS]: Remove conditional code.
31135 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31136 <kernel-features.h>.
31137 [__ASSUME_32BITUIDS]: Make code unconditional.
31138 [!__ASSUME_32BITUIDS]: Remove conditional code.
31139 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31140 <kernel-features.h>.
31141 [__ASSUME_32BITUIDS]: Make code unconditional.
31142 [!__ASSUME_32BITUIDS]: Remove conditional code.
31143 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31144 <kernel-features.h>.
31145 [__ASSUME_32BITUIDS]: Make code unconditional.
31146 [!__ASSUME_32BITUIDS]: Remove conditional code.
31147 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31148 <kernel-features.h>.
31149 [__ASSUME_32BITUIDS]: Make code unconditional.
31150 [!__ASSUME_32BITUIDS]: Remove conditional code.
31151 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31152 <kernel-features.h>.
31153 [__ASSUME_32BITUIDS]: Make code unconditional.
31154 [!__ASSUME_32BITUIDS]: Remove conditional code.
31155 * sysdeps/unix/sysv/linux/kernel-features.h
31156 (__ASSUME_SETRESUID_SYSCALL): Remove.
31157 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31158 (__ASSUME_32BITUIDS): Likewise.
31159 (__ASSUME_LDT_WORKS): Likewise.
31160 (__ASSUME_O_DIRECTORY): Likewise.
31161 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31162 architecture but not kernel version.
31163 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31164 (__ASSUME_MMAP2_SYSCALL): Likewise.
31165 (__ASSUME_STAT64_SYSCALL): Likewise.
31166 (__ASSUME_IPC64): Likewise.
31167 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31168 <kernel-features.h>.
31169 [__ASSUME_32BITUIDS]: Make code unconditional.
31170 [!__ASSUME_32BITUIDS]: Remove conditional code.
31171 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31172 <kernel-features.h>.
31173 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31174 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31175 132096]: Remove conditional code.
31176 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31177 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31178 <kernel-features.h>.
31179 [__ASSUME_32BITUIDS]: Make code unconditional.
31180 [!__ASSUME_32BITUIDS]: Remove conditional code.
31181 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31182 <kernel-features.h>.
31183 [__ASSUME_32BITUIDS]: Make code unconditional.
31184 [!__ASSUME_32BITUIDS]: Remove conditional code.
31185 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31186 <kernel-features.h>.
31187 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31189 (__setresgid): Do not declare.
31190 [__ASSUME_32BITUIDS]: Make code unconditional.
31191 [!__ASSUME_32BITUIDS]: Remove conditional code.
31192 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31193 <kernel-features.h>.
31194 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31196 (__setresuid): Do not declare.
31197 [__ASSUME_32BITUIDS]: Make code unconditional.
31198 [!__ASSUME_32BITUIDS]: Remove conditional code.
31199 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31200 <kernel-features.h>.
31201 [__ASSUME_32BITUIDS]: Make code unconditional.
31202 [!__ASSUME_32BITUIDS]: Remove conditional code.
31203 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31204 <kernel-features.h>.
31205 [__ASSUME_32BITUIDS]: Make code unconditional.
31206 [!__ASSUME_32BITUIDS]: Remove conditional code.
31208 2012-05-25 Richard Henderson <rth@twiddle.net>
31210 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31211 dl_hwcap to ifunc resolver.
31212 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31214 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31215 dl_hwcap to ifunc resolver.
31216 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31218 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31221 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31222 for |x| <= 2**-26, not 2**-57.
31223 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31226 2012-05-24 Jeff Law <law@redhat.com>
31228 * stdio-common/Makefile (tests): Add bug25.
31229 * stdio-common/bug25.c: New test.
31231 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31234 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31235 multiple of MALLOC_ALIGNMENT in size.
31236 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31238 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31240 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31242 (FILENAME_MAX): Use macro-int-constant.
31243 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31244 (_IOFBF): Use macro-int-constant.
31245 (_IOLBF): Likewise.
31246 (_IONBF): Likewise.
31247 (SEEK_CUR): Likewise.
31248 (SEEK_END): Likewise.
31249 (SEEK_SET): Likewise.
31250 (TMP_MAX): Likewise.
31251 (EOF): Use macro-int-constant. Require < 0.
31252 (NULL): Use macro-constant. Require == 0.
31253 (stdin): Require type to be FILE *.
31254 (stdout): Likewise.
31255 (stderr): Likewise.
31256 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31257 macro-int-constant.
31258 (EXIT_SUCCESS): Likewise.
31259 (NULL): Use macro-constant. Require == 0.
31260 (RAND_MAX): Use macro-int-constant.
31261 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31262 [C99-based standards] (strtof): Require function.
31263 [C99-based standards] (strtold): Likewise.
31264 [C99-based standards] (strtoll): Likewise.
31265 [C99-based standards] (strtoull): Likewise.
31266 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31267 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31268 [ISO || ISO99 || ISO11] (math.h): Likewise.
31269 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31270 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31271 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31273 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31276 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31277 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31278 * intl/dgettext.c (DCGETTEXT): Likewise.
31279 * intl/gettext.c (DCGETTEXT): Likewise.
31280 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31281 * posix/regex_internal.h (gettext): Likewise.
31282 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31283 Remove declaration.
31284 * include/argz.h (__argz_count_internal)
31285 (__argz_stringify_internal): Remove declaration.
31286 (__argz_count, __argz_stringify): Declare hidden proto.
31287 * intl/dcgettext.c: Remove use of INTDEF.
31288 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31289 * string/argz-stringify.c: Likewise.
31290 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31291 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31292 Declare hidden proto.
31293 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31294 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31295 Declare hidden proto.
31296 * include/stdio.h (__asprintf_internal): Don't declare.
31297 (__asprintf): Don't define as macro. Declare hidden proto.
31298 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31299 (__fsetlocking): Declare hidden proto.
31300 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31301 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31303 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31304 (_IO_setlinebuf): Remove use of INTUSE.
31305 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31306 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31307 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31308 Remove declaration.
31309 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31310 (_IO_do_flush): Remove use of INTUSE.
31311 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31312 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31313 (_IO_adjust_column, _IO_least_wmarker)
31314 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31315 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31316 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31317 (_IO_default_doallocate, _IO_wdefault_doallocate)
31318 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31319 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31320 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31321 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31322 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31323 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31324 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31325 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31326 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31327 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31328 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31329 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31330 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31332 (_IO_flush_all_internal, _IO_adjust_column_internal)
31333 (_IO_default_uflow_internal, _IO_default_finish_internal)
31334 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31335 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31336 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31337 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31338 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31339 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31340 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31341 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31342 (_IO_file_close_internal, _IO_file_close_it_internal)
31343 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31344 (_IO_file_init_internal, _IO_file_attach_internal)
31345 (_IO_file_fopen_internal, _IO_file_read_internal)
31346 (_IO_file_sync_internal, _IO_file_seek_internal)
31347 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31348 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31349 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31350 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31351 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31352 (_IO_list_all_internal, _IO_link_in_internal)
31353 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31354 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31355 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31356 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31357 (_IO_do_write_internal, _IO_padn_internal)
31358 (_IO_getline_info_internal, _IO_getline_internal)
31359 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31360 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31361 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31362 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31363 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31364 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31365 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31366 with libc_hidden_ver, remove use of INTUSE.
31367 * libio/genops.c: Likewise.
31368 * libio/freopen.c: Likewise.
31369 * libio/freopen64.c: Likewise.
31370 * libio/iofclose.c: Likewise.
31371 * libio/iofdopen.c: Likewise.
31372 * libio/iofflush.c: Likewise.
31373 * libio/iofflush_u.c: Likewise.
31374 * libio/iofgets.c: Likewise.
31375 * libio/iofgets_u.c: Likewise.
31376 * libio/iofopen.c: Likewise.
31377 * libio/iofopncook.c: Likewise.
31378 * libio/iofread.c: Likewise.
31379 * libio/iofread_u.c: Likewise.
31380 * libio/ioftell.c: Likewise.
31381 * libio/iofwrite.c: Likewise.
31382 * libio/iogetline.c: Likewise.
31383 * libio/iogets.c: Likewise.
31384 * libio/iogetwline.c: Likewise.
31385 * libio/iopadn.c: Likewise.
31386 * libio/iopopen.c: Likewise.
31387 * libio/ioseekoff.c: Likewise.
31388 * libio/ioseekpos.c: Likewise.
31389 * libio/iosetbuffer.c: Likewise.
31390 * libio/iosetvbuf.c: Likewise.
31391 * libio/ioungetc.c: Likewise.
31392 * libio/ioungetwc.c: Likewise.
31393 * libio/iovdprintf.c: Likewise.
31394 * libio/iovsprintf.c: Likewise.
31395 * libio/iovsscanf.c: Likewise.
31396 * libio/memstream.c: Likewise.
31397 * libio/obprintf.c: Likewise.
31398 * libio/oldfileops.c: Likewise.
31399 * libio/oldiofclose.c: Likewise.
31400 * libio/oldiofdopen.c: Likewise.
31401 * libio/oldiofopen.c: Likewise.
31402 * libio/oldiopopen.c: Likewise.
31403 * libio/oldstdfiles.c: Likewise.
31404 * libio/putc.c: Likewise.
31405 * libio/setbuf.c: Likewise.
31406 * libio/setlinebuf.c: Likewise.
31407 * libio/stdfiles.c: Likewise.
31408 * libio/strops.c: Likewise.
31409 * libio/vasprintf.c: Likewise.
31410 * libio/vscanf.c: Likewise.
31411 * libio/vsnprintf.c: Likewise.
31412 * libio/vswprintf.c: Likewise.
31413 * libio/wfiledoalloc.c: Likewise.
31414 * libio/wfileops.c: Likewise.
31415 * libio/wgenops.c: Likewise.
31416 * libio/wmemstream.c: Likewise.
31417 * libio/wstrops.c: Likewise.
31418 * libio/__fpurge.c: Likewise.
31419 * libio/__fsetlocking.c: Likewise.
31420 * assert/assert.c: Likewise.
31421 * debug/fgets_chk.c: Likewise.
31422 * debug/fgets_u_chk.c: Likewise.
31423 * debug/fread_chk.c: Likewise.
31424 * debug/fread_u_chk.c: Likewise.
31425 * debug/gets_chk.c: Likewise.
31426 * debug/obprintf_chk.c: Likewise.
31427 * debug/vasprintf_chk.c: Likewise.
31428 * debug/vdprintf_chk.c: Likewise.
31429 * debug/vsnprintf_chk.c: Likewise.
31430 * debug/vsprintf_chk.c: Likewise.
31431 * malloc/mtrace.c: Likewise.
31432 * misc/error.c: Likewise.
31433 * misc/syslog.c: Likewise.
31434 * stdio-common/asprintf.c: Likewise.
31435 * stdio-common/fxprintf.c: Likewise.
31436 * stdio-common/getw.c: Likewise.
31437 * stdio-common/isoc99_fscanf.c: Likewise.
31438 * stdio-common/isoc99_scanf.c: Likewise.
31439 * stdio-common/isoc99_vfscanf.c: Likewise.
31440 * stdio-common/isoc99_vscanf.c: Likewise.
31441 * stdio-common/isoc99_vsscanf.c: Likewise.
31442 * stdio-common/printf-prs.c: Likewise.
31443 * stdio-common/printf_fp.c: Likewise.
31444 * stdio-common/printf_fphex.c: Likewise.
31445 * stdio-common/printf_size.c: Likewise.
31446 * stdio-common/putw.c: Likewise.
31447 * stdio-common/scanf.c: Likewise.
31448 * stdio-common/sprintf.c: Likewise.
31449 * stdio-common/tmpfile.c: Likewise.
31450 * stdio-common/vfprintf.c: Likewise.
31451 * stdio-common/vfscanf.c: Likewise.
31452 * stdlib/strfmon_l.c: Likewise.
31453 * sunrpc/openchild.c: Likewise.
31454 * sunrpc/xdr_stdio.c: Likewise.
31455 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31456 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31458 2012-05-24 Roland McGrath <roland@hack.frob.com>
31460 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31462 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31463 in the third column, to generate for the shared library an IFUNC
31464 that uses _dl_vdso_vsym.
31465 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31466 * Makeconfig (object-suffixes-noshared): New variable.
31468 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31469 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31470 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31471 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31474 * include/sys/time.h (__gettimeofday): Remove macro.
31475 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31476 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31478 (__gettimeofday): Add libc_hidden_def.
31479 (gettimeofday): Add libc_hidden_weak.
31480 * sysdeps/mach/gettimeofday.c: Likewise.
31481 * sysdeps/posix/gettimeofday.c: Likewise.
31482 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31483 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31484 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31485 (__gettimeofday_internal): Remove strong_alias.
31486 (__gettimeofday): Add libc_hidden_def.
31487 (gettimeofday): Add libc_hidden_weak.
31488 * sysdeps/unix/syscalls.list (gettimeofday):
31489 Remove __gettimeofday_internal alias.
31491 2012-05-24 Daniel Jacobowitz <drow@false.org>
31492 H.J. Lu <hongjiu.lu@intel.com>
31495 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31496 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31497 (largebin_index_32_big): New.
31498 (largebin_index): Use it for 16-byte alignment.
31499 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31500 correction with front_misalign.
31502 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31530 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31531 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31533 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31537 * math/libm-test.inc (exp_test): Add test from bug 14036.
31538 (pow_test): Add test from bug 10846.
31540 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31542 (special_function): Do not include flags in test name.
31543 (parse_args): Likewise.
31544 * sysdeps/i386/fpu/libm-test-ulps: Update.
31545 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31546 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31547 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31550 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31552 * math/libm-test.inc ("Philosophy"): Update comment about
31554 (UNDERFLOW_EXCEPTION): New macro.
31555 (UNDERFLOW_EXCEPTION_OK): Likewise.
31556 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31557 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31558 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31559 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31560 (INVALID_EXCEPTION_OK): Update value.
31561 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31562 (OVERFLOW_EXCEPTION_OK): Likewise.
31563 (IGNORE_ZERO_INF_SIGN): Likewise.
31564 (test_exceptions): Handle underflow exceptions.
31565 (acos_test): Update for underflow exception expectations.
31566 (cexp_test): Likewise.
31567 (clog_test): Likewise.
31568 (clog10_test): Likewise.
31569 (csqrt_test): Likewise.
31570 (ctan_test): Likewise.
31571 (ctanh_test): Likewise.
31572 (exp_test): Likewise.
31573 (exp10_test): Likewise.
31574 (exp2_test): Likewise.
31575 (expm1_test): Likewise.
31576 (fma_test): Likewise.
31577 (j0_test): Likewise.
31578 (jn_test): Likewise.
31579 (nexttoward_test): Likewise.
31580 (pow_test): Likewise.
31581 (scalbn_test): Likewise.
31582 (scalbln_test): Likewise.
31583 (tan_test): Likewise.
31584 (y1_test): Likewise.
31585 * sysdeps/i386/fpu/libm-test-ulps: Update.
31586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31588 2012-05-23 David S. Miller <davem@davemloft.net>
31590 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31591 (__libc_sigaction): Remove unused local variables.
31593 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31595 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31597 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31599 mktime: avoid signed integer overflow
31600 * time/mktime.c (__mktime_internal): Do not mishandle the case
31601 where diff == INT_MIN.
31603 mktime: simplify computation of average
31604 * time/mktime.c (ranged_convert): Use new time_t_avg function
31605 instead of rolling our own (probably-slower) code.
31607 mktime: do not assume signed right shift propagates sign bit
31608 * time/mktime.c (isdst_differ): New static function.
31609 (__mktime_internal): No need to normalize tm_isdst now.
31610 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31613 mktime: merge another wrapv change from gnulib
31614 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31615 from some compilers.
31617 mktime: remove incorrect attempt at unusual arithmetics
31618 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31619 The code didn't really work on such machines anyway.
31620 (TYPE_MINIMUM): Assume two's complement.
31621 (twos_complement_arithmetic): Verify that long_int and time_t
31622 are two's complement (or unsigned, in the latter case).
31624 mktime: check signed shifts on long_int and time_t, too
31625 * time/mktime.c (SHR): Check that shifts work as desired
31626 on the types long_int and time_t too, as SHR is used on
31629 mktime: do not assume 'long' is wide enough
31630 * time/mktime.c (verify): Move decl up.
31631 (long_int): New type.
31632 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31633 to remove assumption in the code that 'long' is wide enough to
31634 store year values. This assumption is not true on x32 and on
31635 some non-glibc platforms.
31637 mktime: merge wrapv change from gnulib
31638 * time/mktime.c (WRAPV): New macro.
31639 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31640 (guess_time_tm, __mktime_internal): Do not assume that signed
31641 integer overflow wraps around; modern compilers generate code
31642 where this assumption is no longer valid.
31644 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31646 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31647 Replace "jmp L(pseudo_end)" with "ret".
31648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31651 2012-05-23 Andreas Jaeger <aj@suse.de>
31653 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31654 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31656 2012-05-23 Andreas Jaeger <aj@suse.de>
31657 Maximilian Attems <max@stro.at>
31659 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31662 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31664 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31665 code so that pseudo_end is just ret and the stack pointer is
31666 correct also for static library in error case.
31668 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31670 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31671 move to syscalls.list.
31672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31677 * manual/install.texi (Running make install): Do not mention Linux
31678 kernel version for which pt_chown is not needed.
31679 (Linux): Do not mention problems with nscd with 2.0 kernels.
31680 * INSTALL: Regenerated.
31682 2012-05-23 Andreas Jaeger <aj@suse.de>
31684 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31685 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31687 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31688 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31689 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31690 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31691 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31692 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31695 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31697 * sysdeps/unix/sysv/linux/bits/in.h
31698 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31700 2012-05-22 Roland McGrath <roland@hack.frob.com>
31702 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31703 (PREPARE_VERSION): Just use assert instead, it will be elided
31704 under [NDEBUG] anyway.
31706 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31708 * sysdeps/unix/sysv/linux/Makefile: Include
31709 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31710 (sysdep_routines): Remove sysctl.
31711 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31712 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31713 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31714 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31715 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31717 2012-05-22 Andreas Jaeger <aj@suse.de>
31719 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31720 that pseudo_end is just ret and the stack pointer is correct also
31721 for static library in error case.
31723 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31726 * nss/nsswitch.c (defconfig_entries): New variable.
31727 (__nss_database_lookup): Don't leak defconfig entries.
31728 (nss_parse_service_list): Don't leak on error paths.
31729 (free_database_entries): New function.
31730 (free_defconfig): New function.
31731 (free_mem): Move common code to free_database_entries.
31733 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31735 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31737 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31739 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31740 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31743 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31744 (INTERNAL_SYSCALL_TYPES): Likewise.
31745 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31746 (LOAD_REGS_TYPES_[1-6]): Likewise.
31747 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31748 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31750 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31752 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31753 copysignl for GLIBC_2_0.
31754 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31755 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31757 logbl for GLIBC_2_0.
31758 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31759 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31761 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31764 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31766 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31769 * time/mktime.c: Update copyright years.
31771 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31773 mktime: merge comment-quoting-style change from gnulib
31774 * time/mktime.c: Quote 'like this' in comments.
31775 The GNU coding standards suggest that we no longer quote `like this',
31776 as "`" and "'" are typically rendered asymmetrically nowadays.
31777 The typical gnulib style is to quote 'like this' when quoting
31778 code, and "like this" when quoting English.
31780 * time/mktime.c (compile-command): Add "-I.".
31782 mktime: merge mktime-internal.h change from gnulib
31783 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31785 mktime: merge time_r change from gnulib
31786 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31788 mktime: merge DEBUG change from gnulib
31789 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31790 case system <time.h> has a #define.
31792 mktime: merge <sys/types.h> change from gnulib
31793 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31794 since <time.t> is now guaranteed to define time_t.
31796 mktime: merge HAVE_CONFIG_H change from gnulib
31797 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31799 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31804 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31806 (struct rusage): Use anonymous union to pad each field to
31809 2012-05-21 David S. Miller <davem@davemloft.net>
31811 * Makefules (o-iterator): Remove .s cases.
31812 (compile-command.s): Delete.
31813 (COMPILE.s): Delete.
31814 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31816 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31818 * configure.in (libc_cv_predef_stack_protector): Only consider
31819 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31820 * configure: Regenerated.
31822 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31825 New macro. Use R*LP on int and pointer.
31826 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31827 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31828 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31829 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31831 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31832 [__WORDSIZE_TIME64_COMPAT32] instead of
31833 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31834 (struct utmp): Likewise.
31835 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31836 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31838 (__WORDSIZE_TIME64_COMPAT32): This.
31839 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31840 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31841 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31842 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31843 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31844 (__WORDSIZE_TIME64_COMPAT32): New macro.
31846 2012-05-21 Andreas Jaeger <aj@suse.de>
31848 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31849 only if [SHARED]. Add prototype for __wcschr_ia32.
31851 2012-05-21 Roland McGrath <roland@hack.frob.com>
31853 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31854 of %rbp unmolested in the jmp_buf while mangling the low bits.
31855 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31856 unmolested high bits of %rbp while demangling the low bits.
31857 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31859 2012-05-21 Andreas Jaeger <aj@suse.de>
31861 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31862 * sunrpc/svc_simple.c: Use it for registerrpc.
31863 * sunrpc/xcrypt.c: Use it for passwd2des.
31865 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31867 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31869 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31870 Don't define if [__SYSCALL_WORDSIZE != 32].
31871 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31874 2012-05-21 Bruno Haible <bruno@clisp.org>
31875 Andreas Jaeger <aj@suse.de>
31877 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31878 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31879 inptr and inend for must_buffer_ch.
31880 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31881 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31882 * stdio-common/Makefile (tests): Remove bug15.
31883 (bug15-ENV): Remove macro.
31884 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31887 2012-05-19 Andreas Jaeger <aj@suse.de>
31888 Roland McGrath <roland@hack.frob.com>
31890 * manual/contrib.texi: Completely rewritten. It contains now an
31891 alphabetical list of contributors and their contributions.
31893 2012-05-21 Richard Henderson <rth@twiddle.net>
31895 * misc/getauxval.c (__getauxval): Use unsigned long int.
31896 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31897 (getauxval): Use unsigned long int.
31899 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31901 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31903 2012-05-21 Roland McGrath <roland@hack.frob.com>
31905 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31906 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31907 __alignof__ (long double).
31909 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31913 2012-05-20 Richard Henderson <rth@twiddle.net>
31915 * misc/getauxval.c: New file.
31916 * misc/sys/auxv.h: New file.
31917 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31918 (routines): Add getauxval.
31919 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31920 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31921 * elf/dl-sysdep.c (_dl_auxv): Remove.
31922 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31923 * elf/dl-support.c (_dl_auxv): New variable.
31924 (_dl_aux_init): Initialize it.
31925 * manual/startup.texi (Auxiliary Vector): New node.
31926 * sysdeps/generic/bits/hwcap.h: New file.
31927 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31928 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31929 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31930 * sysdeps/sparc/sysdep.h: ... here. Include it.
31931 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31932 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31938 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31944 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31948 2012-05-19 David S. Miller <davem@davemloft.net>
31950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31952 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31955 * math/s_ccosh.c: Include <float.h>
31956 (__ccosh): Avoid internal overflow calculating sinh and cosh
31957 values before multiplying by sin and cos values.
31958 * math/s_ccoshf.c: Likewise.
31959 * math/s_ccoshl.c: Likewise.
31960 * math/s_csin.c: Likewise.
31961 * math/s_csinf.c: Likewise.
31962 * math/s_csinl.c: Likewise.
31963 * math/s_csinh.c: Likewise.
31964 * math/s_csinhf.c: Likewise.
31965 * math/s_csinhl.c: Likewise.
31966 * math/libm-test.inc (ccos_test): Add more tests.
31967 (ccosh_test): Likewise.
31968 (csin_test): Likewise.
31969 (csinh_test): Likewise.
31970 * sysdeps/i386/fpu/libm-test-ulps: Update.
31971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31973 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31975 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31976 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31978 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31980 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31982 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31983 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31984 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31985 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31986 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31987 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31988 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31989 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31990 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31991 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31992 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31993 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31994 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31995 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31996 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31997 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31998 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31999 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32000 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32001 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32002 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32003 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32004 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32005 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32006 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32007 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32008 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32009 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32010 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32011 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32012 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32014 2012-05-18 Andreas Jaeger <aj@suse.de>
32016 * csu/.gitignore: Delete.
32018 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32020 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32021 (timex): Use __syscall_slong_t.
32023 2012-05-18 Andreas Jaeger <aj@suse.de>
32024 Carlos O'Donell <carlos_odonell@mentor.com>
32026 * manual/install.texi (Configuring and compiling): Update
32027 description about files modified in the source directory.
32028 * INSTALL: Regenerated.
32030 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32032 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32033 value. Use "or" to set return value to -1.
32034 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32035 negate return value.
32037 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32039 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32040 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32041 failure if the compiler has Graphite support disabled.
32042 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32044 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32045 (CFLAGS-memmove.c): Likewise.
32046 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32049 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32051 * sysdeps/x86_64/x32/_itoa.h: New file.
32053 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32054 getdents system call only if kernel and user dirents have the
32055 same d_ino and d_off.
32057 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32058 LLONG_MAX != LONG_MAX.
32059 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32060 (_fitoa_word): Likewise.
32062 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32064 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32065 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32066 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32068 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32069 include <bits/wordsize.h>. Check __x86_64__ instead of
32071 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32072 if __x86_64__ is defined. Use anonymous union on fpstate.
32074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32077 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32079 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32080 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32081 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32082 Refer to _rtld_local_ro instead of _rtld_global_ro.
32083 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32085 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32087 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32089 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32090 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32091 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32093 * sysdeps/powerpc/powerpc32/dl-machine.c
32094 (__elf_machine_runtime_setup) [PROF]: Don't reference
32097 2012-05-18 Andreas Jaeger <aj@suse.de>
32099 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32100 function only available for GCCs before 3.4 since GCC 3.4
32101 introduced a builtin.
32103 (llrintf): Likewise.
32104 (llrint): Likewise.
32111 (nearbyint): Likewise.
32112 (nearbyintf): Likewise.
32116 (floorf): Likewise.
32118 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32120 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32121 on both fields and cast pointer to __syscall_ulong_t.
32123 * bits/types.h (__fsword_t): New type.
32124 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32125 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32126 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32127 (__FSWORD_T_TYPE): Likewise.
32128 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32129 (__FSWORD_T_TYPE): Likewise.
32130 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32131 (__FSWORD_T_TYPE): Likewise.
32132 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32133 (__FSWORD_T_TYPE): Likewise.
32134 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32135 __SWORD_TYPE with __fsword_t.
32136 (statfs64): Likewise.
32138 2012-05-17 David S. Miller <davem@davemloft.net>
32140 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32142 2012-05-17 Andreas Jaeger <aj@suse.de>
32144 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32147 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32149 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32151 2012-05-17 Andreas Jaeger <aj@suse.de>
32153 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32156 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32158 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32160 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32162 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32163 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32165 2012-05-17 Andreas Jaeger <aj@suse.de>
32166 Carlos O'Donell <carlos_odonell@mentor.com>
32169 * sysdeps/x86_64/multiarch/init-arch.h
32170 (bit_YMM_Usable): Rename to...
32171 (bit_AVX_Usable): ... this.
32172 (bit_FMA4_Usable): New macro.
32173 (bit_XMM_state): New macro.
32174 (bit_YMM_state): New macro.
32175 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32176 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32177 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32178 (CPUID_OSXSAVE): New macro.
32179 (CPUID_AVX): New macro.
32180 (CPUID_FMA4): New macro.
32181 (index_YMM_Usable): Rename to...
32182 (index_AVX_Usable): ... this.
32183 (HAS_AVX): Use HAS_ARCH_FEATURE.
32184 (HAS_FMA4): Likewise.
32185 (HAS_YMM_USABLE): Remove.
32186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32187 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32189 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32190 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32191 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32192 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32193 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32195 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32197 * math/libm-test.c: Support platforms without multiple rounding modes.
32198 * math/bug-nextafter.c: Support platforms without FP exceptions.
32199 * math/bug-nexttoward.c: Likewise.
32200 * math/test-fenv.c: Likewise.
32201 * math/test-misc.c: Likewise.
32202 * stdlib/bug-getcontext.c: Likewise.
32204 2012-05-17 Andreas Jaeger <aj@suse.de>
32206 * manual/examples/search.c (critter_cmp): Change signature to
32208 * manual/string.texi (Collation Functions): Likewise.
32210 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32212 * bits/types.h: Fold copyright years.
32213 * bits/typesizes.h: Likewise.
32214 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32215 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32217 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32218 * time/time.h: Likewise.
32220 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32223 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32224 in instead of returning them. Return void.
32225 (__libc_mallinfo): Accumulate over all arenas.
32226 (__malloc_stats): Adjust for change in int_mallinfo interface.
32228 2012-05-16 Roland McGrath <roland@hack.frob.com>
32231 * configure.in (NM): Add AC_CHECK_TOOL for it.
32232 (libc_extra_cflags): New substituted variable.
32233 Check for -fstack-protector being used implicitly.
32234 * configure: Regenerated.
32235 * config.make.in (config-extra-cflags): New variable,
32236 gets @libc_extra_cflags@.
32237 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32240 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32241 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32242 * configure: Regenerated.
32243 * config.make.in (CPPUNDEFS): New substituted variable.
32244 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32245 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32246 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32248 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32250 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32251 (mq_attr): Use __syscall_slong_t.
32253 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32255 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32256 Check __x86_64__ instead of __WORDSIZE.
32257 (_STAT_VER_LINUX): Likewise.
32258 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32259 __syscall_ulong_t and __syscall_slong_t.
32260 (stat64): Likewise.
32262 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32266 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32268 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32270 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32272 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32275 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32276 include <bits/wordsize.h>. Check __x86_64__ instead of
32278 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32280 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32282 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32283 include <bits/wordsize.h>. Check __x86_64__ instead of
32285 (user_regs_struct): Use "__extension__ unsigned long long"
32286 instead of "unsigned long" if __x86_64__ is defined.
32287 (user): Likewise. Pad after pointer field if __ILP32__ is
32290 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32292 * configure.in (makeinfo): Require version 4.5 or later. Allow
32294 * configure: Regenerated.
32295 * manual/install.texi (texinfo): Increase version requirement to
32297 * INSTALL: Regenerated.
32299 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32301 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32303 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32305 * sysdeps/x86_64/x32/ffs.c: New file.
32307 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32309 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32310 defined. Use __syscall_ulong_t.
32311 (shminfo): Use __syscall_ulong_t.
32312 (shm_info): Likewise.
32314 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32317 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32319 (msgqnum_t): Use __syscall_ulong_t.
32320 (msglen_t): Likewise.
32321 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32324 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32325 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32327 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32329 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32330 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32332 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32335 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32336 include <bits/wordsize.h>. Check __x86_64__ instead of
32339 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32340 "unsigned long long int" if __x86_64__ is defined.
32341 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32343 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32344 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32345 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32347 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32349 (GET_PC): Cast to uintptr_t first.
32350 (GET_FRAME): Likewise.
32351 (GET_STACK): Likewise.
32353 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32354 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32355 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32356 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32357 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32358 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32359 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32360 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32361 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32362 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32363 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32364 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32365 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32366 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32367 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32368 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32369 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32370 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32371 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32372 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32373 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32374 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32375 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32376 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32377 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32378 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32379 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32380 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32381 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32383 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32385 * Makerules (+depfiles): Also collect depfiles from .oS in
32387 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32388 .oS, $(libnldbl-routines)).
32390 * Makerules (native-compile-mkdep-flags): Define.
32391 * sunrpc/Makefile (extra-objs): Add $(addprefix
32392 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32393 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32394 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32395 calling $(make-target-directory).
32397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32399 * bits/types.h (__snseconds_t): Removed.
32400 * time/time.h (struct timespec): Replace __snseconds_t with
32402 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32403 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32405 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32406 (__SNSECONDS_T_TYPE): Likewise.
32407 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32408 (__SNSECONDS_T_TYPE): Likewise.
32409 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32410 (__SNSECONDS_T_TYPE): Likewise.
32412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32414 * sysdeps/mach/hurd/bits/typesizes.h
32415 (__SYSCALL_SLONG_TYPE): New macro.
32416 (__SYSCALL_ULONG_TYPE): Likewise.
32418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32420 * bits/types.h (__syscall_slong_t): New type.
32421 (__syscall_ulong_t): Likewise.
32423 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32424 (__SYSCALL_ULONG_TYPE): Likewise.
32425 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32426 (__SYSCALL_SLONG_TYPE): Likewise.
32427 (__SYSCALL_ULONG_TYPE): Likewise.
32428 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32429 (__SYSCALL_SLONG_TYPE): Likewise.
32430 (__SYSCALL_ULONG_TYPE): Likewise.
32431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32432 (__SYSCALL_SLONG_TYPE): Likewise.
32433 (__SYSCALL_ULONG_TYPE): Likewise.
32435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32437 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32438 Add sigaltstack-offsets.sym.
32439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32440 <sigaltstack-offsets.h>.
32441 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32442 longjmp_msg pointer.
32443 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32444 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32446 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32448 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32450 * elf/stackguard-macros.h: Remove file.
32451 * sysdeps/generic/stackguard-macros.h: New file.
32452 * sysdeps/i386/stackguard-macros.h: Likewise.
32453 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32454 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32455 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32456 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32457 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32458 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32459 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32460 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32461 <elf/stackguard-macros.h>.
32464 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32465 __aligned__ in attribute.
32466 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32467 (gregset_t): Likewise.
32469 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32471 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32472 * sysdeps/x86_64/64/Implies-after: Here. New file.
32473 * sysdeps/x86_64/x32/Implies-after: New file.
32475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32477 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32478 and access return value for _dl_profile_fixup. Use R10_LP to
32481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32483 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32485 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32487 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32488 * sysdeps/x86_64/x32/sysdep.h: New file.
32490 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32492 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32493 * sysdeps/x86_64/setjmp.S: Likewise.
32495 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32497 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32498 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32499 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32500 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32501 remove unused global constant.
32503 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32505 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32506 include of <not-cancel.h>.
32508 2012-05-15 Roland McGrath <roland@hack.frob.com>
32510 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32512 2012-05-15 Jeff Law <law@redhat.com>
32513 Andreas Jaeger <aj@suse.de>
32516 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32518 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32519 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32520 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32521 code changing __hst_map_handle.map.
32523 2012-05-15 Roland McGrath <roland@hack.frob.com>
32525 * configure.in (sysnames): Look for Implies-before and Implies-after
32527 * configure: Regenerated.
32529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32531 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32532 8-byte data alignment with LP_SIZE alignment.
32534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32536 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32539 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32541 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32543 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32545 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32546 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32547 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32549 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32553 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32554 (stackinfo_sub_sp): Likewise.
32556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32558 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32563 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32568 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32573 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32575 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32577 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32578 into R11_LP and load __x86_64_shared_cache_size_half into
32581 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32583 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32586 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32590 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32592 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32594 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32595 powerpc32/power7/fpu/s_logb.c via #include.
32596 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32597 powerpc32/power7/fpu/s_logbf.c via #include.
32598 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32599 powerpc32/power7/fpu/s_logbl.c via #include.
32601 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32603 * README.libm: Remove file.
32605 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32607 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32608 count for x32. Use R*_LP and omit operand-size suffix.
32610 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32612 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32613 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32614 * sysdeps/x86_64/x32/shlib-versions: New file.
32616 2012-05-14 Roland McGrath <roland@hack.frob.com>
32618 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32619 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32620 Use _dl_fatal_printf instead.
32622 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32624 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32625 set if not set by the user. Do not allow for being unset.
32626 * sysdeps/unix/sysv/linux/configure: Regenerated.
32628 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32630 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32631 the `q' suffix from lea and replace .quad with ASM_ADDR.
32633 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32636 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32638 (PTR_DEMANGLE): Likewise.
32640 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32642 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32644 (ASM_ADDR): Likewise.
32645 (RAX_LP): Likewise.
32646 (RBP_LP): Likewise.
32647 (RBX_LP): Likewise.
32648 (RCX_LP): Likewise.
32649 (RDI_LP): Likewise.
32650 (RSI_LP): Likewise.
32651 (RSP_LP): Likewise.
32654 (R10_LP): Likewise.
32655 (R10_LP): Likewise.
32656 (R11_LP): Likewise.
32657 (R12_LP): Likewise.
32658 (R13_LP): Likewise.
32659 (R14_LP): Likewise.
32660 (R15_LP): Likewise.
32662 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32664 * sysdeps/x86_64/x32/dl-machine.h: New file.
32666 2012-05-14 Andreas Jaeger <aj@suse.de>
32668 * manual/Makefile (subdir): Remove export of subdir.
32669 (all): Remove target.
32670 (.PHONY): Remove all from list.
32671 (mkinstalldirs): Remove.
32672 (.PHONY): Remove installdirs from list.
32673 ($(inst_infodir)/libc.info): Use make-target-directory.
32674 (installdirs): Remove.
32675 (subdir_%): Remove.
32676 (glibc-targets): Remove.
32679 ($(objpfx)stubs ../po/manual.pot): Remove.
32680 ($(objpfx)stamp%): Remove.
32681 (make-target-directory): Remove.
32682 (subdir_install): Remove.
32683 (routines): Remove.
32690 * manual/.gitignore: Remove, it's not needed anymore.
32691 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32693 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32695 (texis): Renamed to $(objpfx)texis.
32696 (texis-path): New, contains path to generated files.
32697 (chapters.%): Use texis-path for complete path, add extra argument
32699 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32700 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32701 (summary,texi, stamp-summary): Use complete path of
32702 files. Generate files in build dir.
32703 (dir-add.texi): Build in build dir.
32704 (libm-err.texi,stamp-libm-err): Likewise.
32705 (version.texi, stamp-version): Likewise.
32706 (.%c.texi): Likewise.
32707 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32708 (mostlyclean): Remove target.
32709 (realclean): Remove target.
32710 (generated): Add new variable with contents from mostlyclean and
32711 realclean, remove entries duplicated in common-mostlyclean, add
32712 stamp-libm-err and stamp-version.
32713 (generated-dirs): Add libc directory.
32714 ($(inst_infodir)/libc.info): Install files from build dir.
32716 * manual/install.texi (Configuring and compiling): Adjust since
32717 the info files are not part of the tar ball anymore.
32719 2012-05-14 Andreas Jaeger <aj@suse.de>
32721 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32724 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32727 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32728 to 2.2.0 where earlier.
32729 * sysdeps/unix/sysv/linux/configure: Regenerated.
32730 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32731 Remove conditional code.
32732 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32733 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32734 Remove conditional code.
32735 [!__NR_lchown]: Likewise.
32736 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32737 [__NR_lchown]: Likewise.
32738 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32739 comment referencing __ASSUME_LCHOWN_SYSCALL.
32740 * sysdeps/unix/sysv/linux/i386/sigaction.c
32741 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32742 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32743 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32744 Remove conditional code.
32745 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32746 (__protocol_available): Remove #if 0 code.
32747 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32749 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32750 * sysdeps/unix/sysv/linux/kernel-features.h
32751 (__ASSUME_GETCWD_SYSCALL): Don't define.
32752 (__ASSUME_REALTIME_SIGNALS): Likewise.
32753 (__ASSUME_PREAD_SYSCALL): Likewise.
32754 (__ASSUME_PWRITE_SYSCALL): Likewise.
32755 (__ASSUME_POLL_SYSCALL): Likewise.
32756 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32757 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32759 (__ASSUME_SIOCGIFNAME): Don't define.
32760 (__ASSUME_MSG_NOSIGNAL): Likewise.
32761 (__ASSUME_SENDFILE): Define unconditionally.
32762 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32763 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32765 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32766 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32767 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32768 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32769 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32770 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32771 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32773 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32776 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32777 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32782 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32785 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32788 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32791 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32794 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32796 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32797 Remove conditional code.
32798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32799 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32800 Remove conditional code.
32801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32802 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32803 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32804 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32805 Remove conditional code.
32806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32807 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32808 Remove conditional code.
32809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32810 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32811 Remove conditional code.
32812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32813 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32814 Remove conditional code.
32815 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32816 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32817 Remove conditional code.
32818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32819 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32820 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32821 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32822 * sysdeps/unix/sysv/linux/sigaction.c
32823 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32824 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32825 * sysdeps/unix/sysv/linux/sigpending.c
32826 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32827 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32828 * sysdeps/unix/sysv/linux/sigprocmask.c
32829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32831 * sysdeps/unix/sysv/linux/sigsuspend.c
32832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32834 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32835 (__libc_missing_rt_sigs): Remove.
32836 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32837 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32838 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32839 Remove conditional code.
32840 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32841 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32843 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32844 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32845 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32846 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32848 2012-05-14 Andreas Jaeger <aj@suse.de>
32850 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32851 it's not used in glibc.
32852 (__coshm1): Likewise.
32853 (__acosh1p): Likewise.
32856 * manual/string.texi (Copying and Concatenation): Add missing
32857 variable in concat example.
32858 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32860 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32863 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32864 __builtin_clzl with __builtin_clzll.
32866 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32869 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32872 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32874 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32875 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32876 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32877 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32879 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32881 * NEWS: Update ia64 info.
32883 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32885 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32888 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32890 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32891 * sysdeps/unix/syscalls.list (dup3): Likewise.
32892 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32893 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32895 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32897 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32898 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32900 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32902 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32904 (TLS_IE): Use mov/add instead of movq/addq to load thread
32906 (TLS_GD_PREFIX): New.
32909 2012-05-11 David S. Miller <davem@davemloft.net>
32911 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32912 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32913 (_FPU_SETCW): Likewise.
32915 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32917 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32918 is 32-byte aligned.
32920 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32923 * iconvdata/gb18030.c: Update tables.
32924 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32925 characters specially.
32926 (BODY for TO_LOOP): Add encoding of missing ranges.
32928 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32931 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32932 * sysdeps/mach/hurd/dup3.c: Likewise.
32933 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32934 * sysdeps/powerpc/memmove.c:: Likewise.
32936 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32939 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32941 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32943 * elf/elf.h (R_X86_64_RELATIVE64): New.
32944 (R_X86_64_NUM): Updated.
32945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32946 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32947 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32948 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32949 tst-quad1pie tst-quad2pie
32950 (modules-names): Add tst-quadmod1 tst-quadmod2.
32951 ($(objpfx)tst-quad1): New dependency.
32952 ($(objpfx)tst-quad2): Likewise.
32953 ($(objpfx)tst-quad1pie): Likewise.
32954 ($(objpfx)tst-quad2pie): Likewise.
32955 * sysdeps/x86_64/tst-quad1.c: New file.
32956 * sysdeps/x86_64/tst-quad1pie.c: New file.
32957 * sysdeps/x86_64/tst-quad2.c: Likewise.
32958 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32959 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32960 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32961 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32962 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32964 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32966 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32967 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32968 * streams/stropts.h (t_scalar_t): Define type.
32970 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32971 (_PATH_PRESERVE): Set to "/var/lib".
32972 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32974 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32977 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32978 if __dir_mkfile succeeded.
32980 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32981 checking for _hurd_dtablesize. Unlock it right after having
32982 finished _hurd_dtable allocation.
32984 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32986 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32987 * sysdeps/mach/hurd/configure: Regenerated.
32988 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32989 special-casing to...
32990 * sysdeps/gnu/configure.in: ... this new file.
32991 * sysdeps/unix/sysv/linux/configure: Regenerated.
32992 * sysdeps/gnu/configure: New generated file.
32994 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32995 for Linux: use nsec instead of usec, as well as:
32996 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32997 members of type struct timespec.
32998 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33000 (struct stat64): Likewise.
33001 (_STATBUF_ST_NSEC): New macro.
33002 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33004 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33005 __strtoul_internal rather than strtoul.
33007 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33009 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33012 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33014 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33015 which preserves existing values.
33016 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33018 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33020 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33021 TIMEOUT values. Return EINVAL for NFDS values either negative or
33022 greater than FD_SETSIZE.
33024 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33026 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33027 allocated, call __vm_protect to finish enabling the existing space, and
33028 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33029 allocate the remainder.
33031 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33033 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33034 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33036 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33038 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33039 sysdeps/mach/hurd/readlink.c.
33041 * posix/tst-sysconf.c (posix_options): Only use
33042 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33043 _POSIX_SYNCHRONIZED_IO when they are defined
33044 * sysdeps/mach/hurd/bits/posix_opt.h:
33045 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33046 (_XOPEN_REALTIME): Undefine macro.
33047 (_XOPEN_REALTIME_THREADS): Undefine macro.
33048 (_XOPEN_SHM): Undefine macro.
33049 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33051 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33053 (_POSIX_ASYNC_IO): Undefine macro.
33054 (_POSIX_PRIORITIZED_IO): Undefine macro.
33055 (_POSIX_SPIN_LOCKS): Define macro to -1.
33057 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33058 SA_NODEFER, SA_RESETHAND.
33059 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33060 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33063 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33065 * elf/Makefile (pldd-modules): Define unconditionally.
33067 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33069 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33071 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33073 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33074 Return ENOENT when name is empty.
33075 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33077 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33079 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33081 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33083 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33085 Fix mlock in all cases except non-readable pages.
33086 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33087 instead of VM_PROT_ALL as parameter to __vm_wire function.
33089 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33090 (__mkdir): When path is `/', just fail with EEXIST.
33091 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33093 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33095 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33096 <sys/uio.h> (for writev).
33097 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33098 and <sys/param.h> (for MIN).
33100 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33102 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33103 REQUESTED_TIME. Properly set the remaining time and return EINTR
33106 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33108 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33109 Depend on against $(link-rpcuserlibs).
33111 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33113 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33114 (__libc_stack_end): Do not use attribute_relro.
33115 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33116 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33117 to libthread-provided value.
33118 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33121 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33124 * bits/libc-lock.h (__libc_once_get): New macro.
33125 * sysdeps/mach/bits/libc-lock.h: Likewise.
33126 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33127 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33128 instead of using implementation details.
33130 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33131 * libio/freopen.c: Likewise.
33132 * libio/freopen64.c: Likewise.
33133 * misc/syslog.c: Likewise.
33134 * nscd/connections.c: Likewise.
33135 * nscd/netgroupcache.c: Likewise.
33136 * sysdeps/posix/getcwd.c: Likewise.
33138 2012-05-10 Roland McGrath <roland@hack.frob.com>
33140 * math/w_ilogbf.c: Add #include <limits.h>.
33142 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33144 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33145 path instead of returning without unlocking.
33147 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33148 immediate-write ioctls.
33149 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33151 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33153 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33154 __builtin_frame_address instead of making assumptions about the
33155 location of the return address relative to DATA. Force early load of
33156 the return address.
33157 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33158 __builtin_frame_address.
33161 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33162 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33163 implement dup3 and do some further code clean-ups.
33164 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33165 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33167 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33169 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33171 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33172 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33173 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33174 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33175 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33178 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33179 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33180 when handler == SIG_ERR, not when handler != SIG_ERR.
33182 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33184 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33185 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33188 accept4 for GNU Hurd.
33189 * include/sys/socket.h (__libc_accept4): New prototype.
33190 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33191 to implement __libc_accept4.
33192 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33194 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33196 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33197 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33198 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33199 signal-defines.sym.
33201 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33203 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33205 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33207 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33208 assertion on O_CLOEXEC flag.
33209 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33210 * hurd/intern-fd.c: Likewise.
33211 * hurd/port2fd.c: Likewise.
33213 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33216 * bits/in.h (IPV6_PKTINFO): Define new macro.
33217 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33219 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33224 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33225 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33226 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33227 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33229 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33230 * math/libm-test.inc (logb_test) : Additional logb tests.
33232 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33233 Andreas Jaeger <aj@suse.de>
33235 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33236 * configure: Regenerated.
33237 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33238 * config.make.in (link-obsolete-rpc): New substituted variable.
33239 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33240 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33241 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33242 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33243 so that libc.a contains the symbols.
33244 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33245 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33246 * sunrpc/auth_none.c: Likewise.
33247 * sunrpc/auth_unix.c: Likewise.
33248 * sunrpc/authdes_prot.c: Likewise.
33249 * sunrpc/authuxprot.c: Likewise.
33250 * sunrpc/clnt_gen.c: Likewise.
33251 * sunrpc/clnt_perr.c: Likewise.
33252 * sunrpc/clnt_raw.c: Likewise.
33253 * sunrpc/clnt_simp.c: Likewise.
33254 * sunrpc/clnt_tcp.c: Likewise.
33255 * sunrpc/clnt_udp.c: Likewise.
33256 * sunrpc/clnt_unix.c: Likewise.
33257 * sunrpc/des_crypt.c: Likewise.
33258 * sunrpc/des_soft.c: Likewise.
33259 * sunrpc/get_myaddr.c: Likewise.
33260 * sunrpc/key_call.c: Likewise.
33261 * sunrpc/key_prot.c: Likewise.
33262 * sunrpc/netname.c: Likewise.
33263 * sunrpc/pm_getmaps.c: Likewise.
33264 * sunrpc/pm_getport.c: Likewise.
33265 * sunrpc/pmap_clnt.c: Likewise.
33266 * sunrpc/pmap_prot.c: Likewise.
33267 * sunrpc/pmap_prot2.c: Likewise.
33268 * sunrpc/pmap_rmt.c: Likewise.
33269 * sunrpc/publickey.c: Likewise.
33270 * sunrpc/rpc_cmsg.c: Likewise.
33271 * sunrpc/rpc_common.c: Likewise.
33272 * sunrpc/rpc_dtable.c: Likewise.
33273 * sunrpc/rpc_prot.c: Likewise.
33274 * sunrpc/rpc_thread.c: Likewise.
33275 * sunrpc/rtime.c: Likewise.
33276 * sunrpc/svc.c: Likewise.
33277 * sunrpc/svc_auth.c: Likewise.
33278 * sunrpc/svc_raw.c: Likewise.
33279 * sunrpc/svc_run.c: Likewise.
33280 * sunrpc/svc_tcp.c: Likewise.
33281 * sunrpc/svc_udp.c: Likewise.
33282 * sunrpc/svc_unix.c: Likewise.
33283 * sunrpc/svcauth_des.c: Likewise.
33284 * sunrpc/xcrypt.c: Likewise.
33285 * sunrpc/xdr.c: Likewise.
33286 * sunrpc/xdr_array.c: Likewise.
33287 * sunrpc/xdr_float.c: Likewise.
33288 * sunrpc/xdr_intXX_t.c: Likewise.
33289 * sunrpc/xdr_mem.c: Likewise.
33290 * sunrpc/xdr_rec.c: Likewise.
33291 * sunrpc/xdr_ref.c: Likewise.
33292 * sunrpc/xdr_sizeof.c: Likewise.
33293 * sunrpc/xdr_stdio.c: Likewise.
33295 2012-05-10 Roland McGrath <roland@hack.frob.com>
33297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33298 change. Update copyright years.
33300 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33302 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33304 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33305 Joseph Myers <joseph@codesourcery.com>
33306 Paul Pluzhnikov <ppluzhnikov@google.com>
33309 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33311 [cross-compiling] (extra-libs): Likewise.
33312 [cross-compiling] (extra-libs-others): Likewise.
33313 [cross-compiling] (librpcsvc-routines): Likewise.
33314 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33315 [cross-compiling] (omit-deps): Likewise.
33316 (sunrpc-CPPFLAGS): New variable.
33317 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33318 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33319 (cross-rpcgen-objs): New variable.
33320 (extra-objs): Append $(cross-rpcgen-objs).
33321 ($(cross-rpcgen-objs)): New rule.
33322 ($(objpfx)cross-rpcgen): Likewise.
33323 (rpcgen-cmd): Define to use $(built-program-file). Expand
33325 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33326 ($(objpfx)x%.stmp): Likewise.
33327 * sunrpc/proto.h [IS_IN_build] (_): Define.
33328 [IS_IN_build] (_libc_intl_domainname): Likewise.
33330 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33332 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33333 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33334 and R_X86_64_TPOFF64.
33336 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33338 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33339 sysdeps/unix/sysv/syscalls.list.
33342 * sysdeps/unix/sysv/syscalls.list: Remove file.
33344 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33347 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33348 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33349 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33350 (__LC_IDENTIFICATION): Make these macros useful in #if
33351 expressions, as required by C99.
33353 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33355 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33356 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33359 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33361 * stdlib/longlong.h: Updated from GCC.
33363 2012-05-09 Andreas Jaeger <aj@suse.de>
33365 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33366 default is first entry.
33367 (run_mode): Set type.
33368 (main): Remove informal message about syslog.
33369 (options): Fix typo.
33372 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33375 (llrintf): Likewise.
33376 (llrint): Likewise.
33379 (nearbyint): Likewise.
33380 (nearbyintf): Likewise.
33382 2012-05-09 Andreas Jaeger <aj@suse.de>
33383 Pedro Alves <palves@redhat.com>
33385 * nscd/nscd.c (run_mode): Use enum.
33386 (main): Cleanup coding style issue.
33388 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33389 Andreas Jaeger <aj@suse.de>
33391 * nscd/nscd.c (go_background): Replaced with...
33392 (run_mode): ... this.
33393 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33394 (options): Add -F --foreground.
33395 (main): Implement it.
33396 (parse_opt): Parse it.
33398 2012-05-09 Andreas Jaeger <aj@suse.de>
33401 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33402 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33403 -Wconversion warning.
33404 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33407 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33409 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33411 (LC_ALL): Use macro-int-constant.
33412 (LC_COLLATE): Likewise.
33413 (LC_CTYPE): Likewise.
33414 (LC_MESSAGES): Likewise.
33415 (LC_MONETARY): Likewise.
33416 (LC_NUMERIC): Likewise.
33417 (LC_TIME): Likewise.
33418 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33419 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33420 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33421 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33423 [C99-based standards] (float_t): Expect type.
33424 [C99-based standards] (double_t): Expect type.
33425 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33427 [C99-based standards] (HUGE_VALL): Likewise.
33428 [C99-based standards] (INFINITY): Likewise.
33429 [C99-based standards] (NAN): Likewise.
33430 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33431 [C99-based standards] (FP_NAN): Likewise.
33432 [C99-based standards] (FP_NORMAL): Likewise.
33433 [C99-based standards] (FP_SUBNORMAL): Likewise.
33434 [C99-based standards] (FP_ZERO): Likewise.
33435 [C99-based standards] (FP_FAST_FMA): Use
33436 optional-macro-int-constant. Specify type. Require == 1.
33437 [C99-based standards] (FP_FAST_FMAF): Likewise.
33438 [C99-based standards] (FP_FAST_FMAL): Likewise.
33439 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33440 [C99-based standards] (FP_ILOGBNAN): Likewise.
33441 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33443 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33444 [C99-based standards] (math_errhandling): Specify type.
33445 [ISO99 || ISO11] (signgam): Do not allow.
33446 [non-C99-based standards] (copysignf): Do not allow.
33447 [non-C99-based standards] (exp2f): Likewise.
33448 [non-C99-based standards] (log2f): Likewise.
33449 [non-C99-based standards] (modff): Allow.
33450 [non-C99-based standards] (erff): Do not allow.
33451 [non-C99-based standards] (erfcf): Likewise.
33452 [non-C99-based standards] (gammaf): Likewise.
33453 [non-C99-based standards] (hypotf): Likewise.
33454 [non-C99-based standards] (j0f): Likewise.
33455 [non-C99-based standards] (j1f): Likewise.
33456 [non-C99-based standards] (jnf): Likewise.
33457 [non-C99-based standards] (lgammaf): Likewise.
33458 [non-C99-based standards] (tgammaf): Likewise.
33459 [non-C99-based standards] (y0f): Likewise.
33460 [non-C99-based standards] (y1f): Likewise.
33461 [non-C99-based standards] (ynf): Likewise.
33462 [non-C99-based standards] (isnanf): Likewise.
33463 [non-C99-based standards] (acoshf): Likewise.
33464 [non-C99-based standards] (asinhf): Likewise.
33465 [non-C99-based standards] (atanhf): Likewise.
33466 [non-C99-based standards] (cbrtf): Likewise.
33467 [non-C99-based standards] (expm1f): Likewise.
33468 [non-C99-based standards] (ilogbf): Likewise.
33469 [non-C99-based standards] (log1pf): Likewise.
33470 [non-C99-based standards] (logbf): Likewise.
33471 [non-C99-based standards] (nextafterf): Likewise.
33472 [non-C99-based standards] (remainderf): Likewise.
33473 [non-C99-based standards] (rintf): Likewise.
33474 [non-C99-based standards] (scalbf): Likewise.
33475 [non-C99-based standards] (copysignl): Likewise.
33476 [non-C99-based standards] (exp2l): Likewise.
33477 [non-C99-based standards] (log2l): Likewise.
33478 [non-C99-based standards] (modfl): Allow.
33479 [non-C99-based standards] (erfl): Do not allow.
33480 [non-C99-based standards] (erfcl): Likewise.
33481 [non-C99-based standards] (gammal): Likewise.
33482 [non-C99-based standards] (hypotl): Likewise.
33483 [non-C99-based standards] (j0l): Likewise.
33484 [non-C99-based standards] (j1l): Likewise.
33485 [non-C99-based standards] (jnl): Likewise.
33486 [non-C99-based standards] (lgammal): Likewise.
33487 [non-C99-based standards] (tgammal): Likewise.
33488 [non-C99-based standards] (y0l): Likewise.
33489 [non-C99-based standards] (y1l): Likewise.
33490 [non-C99-based standards] (ynl): Likewise.
33491 [non-C99-based standards] (isnanl): Likewise.
33492 [non-C99-based standards] (acoshl): Likewise.
33493 [non-C99-based standards] (asinhl): Likewise.
33494 [non-C99-based standards] (atanhl): Likewise.
33495 [non-C99-based standards] (cbrtl): Likewise.
33496 [non-C99-based standards] (expm1l): Likewise.
33497 [non-C99-based standards] (ilogbl): Likewise.
33498 [non-C99-based standards] (log1pl): Likewise.
33499 [non-C99-based standards] (logbl): Likewise.
33500 [non-C99-based standards] (nextafterl): Likewise.
33501 [non-C99-based standards] (remainderl): Likewise.
33502 [non-C99-based standards] (rintl): Likewise.
33503 [non-C99-based standards] (scalbl): Likewise.
33504 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33505 [non-C99-based standards] (FP_*): Do not allow.
33506 [C99-based standards] (FP_*): Change to
33507 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33508 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33510 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33511 (SIG_ERR): Likewise.
33512 [X/Open-based standards] (SIG_HOLD): Likewise.
33513 (SIG_IGN): Likewise.
33514 (SIGABRT): Use macro-int-constant. Specify type. Require
33516 (SIGFPE): Likewise.
33517 (SIGILL): Likewise.
33518 (SIGINT): Likewise.
33519 (SIGSEGV): Likewise.
33520 (SIGTER): Likewise.
33521 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33522 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33523 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33524 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33525 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33526 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33527 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33528 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33529 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33530 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33531 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33532 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33533 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33534 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33535 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33536 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33537 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33538 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33539 [X/Open-based standards] (SIGTRAP): Likewise.
33540 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33541 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33542 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33543 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33544 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33547 2012-05-08 Ian Wienand <ianw@vmware.com>
33550 * time/tzset.c (__tzset_parse_tz): Update default rules for
33551 daylight time changes in the Energy Policy Act of 2005.
33553 2012-05-09 Andreas Jaeger <aj@suse.de>
33556 * elf/ldconfig.c (parse_conf): Change string to make clear that
33557 ldconfig only issued a warning if ld.so.conf does not exist.
33559 2012-05-08 David S. Miller <davem@davemloft.net>
33561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33562 movxtod instead of popping the value on the stack.
33564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33566 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33568 * config.h.in: Add HAVE_ARM_PCS_VFP.
33570 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33573 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33574 checking but the checks are disabled for any reason.
33576 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33578 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33579 and ELF64_R_TYPE with ELFW(R_TYPE).
33581 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33583 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33584 (ulimit): Likewise.
33586 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33587 (settimeofday): Likewise.
33589 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33591 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33592 a struct th_u2 inside the union, and move tu_block/tu_code into
33593 a new th_u3 union of tu_block/tu_code inside of that. Move
33594 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33595 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33596 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33597 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33598 (th_stuff): Change to th_u1.tu_stuff.
33600 (th_msg): Change to th_u1.th_u2.tu_data.
33602 2012-05-07 David S. Miller <davem@davemloft.net>
33604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33607 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33608 (SETUP_PIC_REG): Use it.
33609 (SETUP_PIC_REG_LEAF): Use it.
33611 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33615 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33617 (EXPL_FINITE): Likewise.
33618 (FLDLOG): Likewise.
33619 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33620 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33622 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33624 (EXPL_FINITE): Likewise.
33625 (FLDLOG): Likewise.
33626 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33627 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33629 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33630 test of -max_value argument for long double.
33631 * sysdeps/i386/fpu/libm-test-ulps: Update.
33632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33634 2012-05-06 David S. Miller <davem@davemloft.net>
33636 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33637 quad soft-float symbols whose references which are compiler
33639 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33641 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33645 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33647 (EXPL_FINITE): Likewise.
33648 (FLDLOG): Likewise.
33651 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33652 Adjust comments for base varying.
33653 (__expl_finite): Change alias to EXPL_FINITE.
33654 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33656 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33657 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33658 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33659 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33660 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33662 (EXPL_FINITE): Likewise.
33663 (FLDLOG): Likewise.
33666 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33667 Adjust comments for base varying.
33668 (__expl_finite): Change alias to EXPL_FINITE.
33669 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33674 * math/libm-test.inc (check_float_internal): Correct ulp
33675 calculation for subnormal expected results.
33677 2012-05-06 Andreas Jaeger <aj@suse.de>
33679 * Makeconfig (+math-flags): New, set to -frounding-math.
33680 (+cflags): Add +math-flags so that all of glibc gets compiled with
33683 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33685 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33687 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33693 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33694 (__ieee754_expl): Allow for and saturate large arguments.
33695 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33696 (u_threshold): Likewise.
33697 (__exp): Call __ieee754_exp before checking for overflow and
33699 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33700 (u_threshold): Likewise.
33701 (__expf): Call __ieee754_expf before checking for overflow and
33703 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33704 (u_threshold): Likewise.
33705 (__expl): Call __ieee754_expl before checking for overflow and
33707 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33708 (__ieee754_expl): Allow for and saturate large arguments.
33709 * math/libm-test.inc (exp_test): Add another test. Do not allow
33710 missing overflow exception on overflow.
33711 (expm1_test): Do not allow missing overflow exception on overflow.
33713 * sysdeps/i386/fpu/e_expl.c: Move to ...
33714 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33715 rather than using inline asm.
33716 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33717 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33718 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33720 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33723 (signal): Likewise.
33727 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33729 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33730 sysdeps/unix/common/syscalls.list.
33731 (fchmod): Likewise.
33732 (fchown): Likewise.
33733 (ftruncate): Likewise.
33734 (getrusage): Likewise.
33735 (gettimeofday): Likewise.
33736 (setpgid): Likewise.
33737 (setregid): Likewise.
33738 (setreuid): Likewise.
33739 (sigaction): Likewise.
33740 (truncate): Likewise.
33741 (vhangup): Likewise.
33742 * sysdeps/unix/common/syscalls.list: Remove file.
33743 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33744 * sysdeps/unix/sysv/linux/Implies: Likewise.
33746 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33748 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33750 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33754 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33757 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33760 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33763 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33766 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33769 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33772 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33776 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33780 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33783 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33787 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33791 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33793 * sysdeps/unix/common/bits/dirent.h: Remove file.
33794 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33796 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33797 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33798 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33799 * sysdeps/unix/bsd/isatty.c: Likewise.
33800 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33801 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33802 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33804 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33807 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33808 long double comparison inaccuracies.
33809 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33812 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33814 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33815 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33817 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33820 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33821 nonzero digits before rounding a hex value.
33822 * stdlib/tst-strtod.c (tests): Add another test.
33824 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33826 * sysdeps/s390/fpu/libm-test-ulps: Update.
33828 2012-05-03 Andreas Jaeger <aj@suse.de>
33830 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33831 does not get optimized out.
33832 (malloc_opt_barrier): New.
33834 2012-05-03 Andreas Jaeger <aj@suse.de>
33835 Roland McGrath <roland@hack.frob.com>
33837 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33838 intermediate file deletion.
33839 (generated): Add .symlist files.
33841 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33844 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33845 Redirect under this condition.
33846 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33847 [__USE_GNU] (__dprintf_chk): Not under this condition.
33848 [__USE_GNU] (__vdprintf_chk): Likewise.
33849 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33850 under this condition.
33851 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33852 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33853 [__USE_XOPEN2K8] (vdprintf): Likewise.
33854 [__USE_GNU] (__dprintf_chk): Not under this condition.
33855 [__USE_GNU] (__vdprintf_chk): Likewise.
33856 [__USE_GNU] (dprintf): Likewise.
33857 [__USE_GNU] (vdprintf): Likewise.
33859 2012-05-03 Roland McGrath <roland@hack.frob.com>
33861 * elf/Makefile (common-generated): Set this instead of generated for
33862 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33863 $(all-built-dso)-derived lists.
33865 2012-05-03 Andreas Jaeger <aj@suse.de>
33867 * sysdeps/i386/fpu/libm-test-ulps: Update.
33870 * FAQ.in: Likewise.
33871 * scripts/gen-FAQ.pl: Likewise.
33872 * manual/install.texi (Installation): Point to online location of
33874 * Makefile (files-for-dist): Remove FAQ.
33877 2012-05-02 Allan McRae <allan@archlinux.org>
33879 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33880 (LDFLAGS-reldepmod5.so): Likewise.
33881 (LDFLAGS-reldep6mod1.so): Likewise.
33882 (LDFLAGS-reldep6mod4.so): Likewise.
33883 (LDFLAGS-reldep8mod3.so): Likewise.
33884 (LDFLAGS-unload4mod1.so): Likewise.
33885 (LDFLAGS-unload4mod2.so): Likewise.
33886 (LDFLAGS-tst-initorder): Likewise.
33887 (LDFLAGS-tst-initordera2.so): Likewise.
33888 (LDFLAGS-tst-initordera3.so): Likewise.
33889 (LDFLAGS-tst-initordera4.so): Likewise.
33890 (LDFLAGS-tst-initorderb2.so): Likewise.
33891 (LDFLAGS-noload): Likewise.
33892 (LDFLAGS-next): Likewise.
33893 (LDFLAGS-order2mod1.so): Likewise.
33894 (LDFLAGS-order2mod2.so): Likewise.
33895 (LDFLAGS-tst-initorder2): Likewise.
33896 (LDFLAGS-tst-initorder2a.so): Likewise.
33897 (LDFLAGS-tst-initorder2b.so): Likewise.
33898 (LDFLAGS-tst-initorder2c.so): Likewise.
33899 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33901 2012-05-02 David S. Miller <davem@davemloft.net>
33903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33905 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33908 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33910 2012-05-02 Andreas Jaeger <aj@suse.de>
33912 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33913 since we manipulate rounding mode.
33914 (CPPFLAGS-test-idouble.c): Likewise.
33915 (CPPFLAGS-test-ifloat.c): Likewise.
33916 (CFLAGS-test-ldouble.c): Likewise.
33917 (CFLAGS-test-double.c): Likewise.
33918 (CFLAGS-test-float.c): Likewise.
33919 (CFLAGS-test-misc.c): Likewise.
33920 (CFLAGS-test-test-fenv.c): Likewise.
33922 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33926 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33927 comparisons to determine direction to adjust input.
33929 2012-05-01 Roland McGrath <roland@hack.frob.com>
33931 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33932 output to the target.
33934 * scripts/localplt.awk: New file.
33935 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33936 (check-localplt-CFLAGS): Variable removed.
33937 ($(all-built-dso:=.jmprel)): New static pattern rule.
33938 (generated): Add those targets.
33939 (localplt-built-dso): New variable.
33940 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33942 * elf/check-localplt.c: File removed.
33944 * scripts/check-execstack.awk: New file.
33945 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33946 (check-execstack-CFLAGS): Variable removed.
33947 ($(objpfx)check-execstack.h): Target removed.
33948 ($(objpfx)execstack-default): New target.
33949 (generated): Add that instead of check-execstack.h.
33950 ($(all-built-dso:=.phdr)): New static pattern rule.
33951 (generated): Add those targets.
33952 * elf/check-execstack.c: File removed.
33954 * scripts/check-textrel.awk: New file.
33955 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33956 (check-textrel-CFLAGS): Variable removed.
33957 (all-built-dso): Use := to define.o
33958 ($(all-built-dso:=.dyn)): New static pattern rule.
33959 (generated): Add those targets.
33960 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33961 * config.make.in (READELF): New substituted variable.
33962 * elf/check-textrel.c: File removed.
33964 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33966 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33968 * conform/data/ctype.h-data [C99-based standards] (isblank):
33970 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33971 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33973 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33974 Specify type. Require positive value.
33975 (EILSEQ): Likewise.
33976 (ERANGE): Likewise.
33977 [ISO || POSIX] (EILSEQ): Do not expect.
33978 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33979 Specify type. Require positive value.
33980 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33984 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33985 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33986 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33991 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33993 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33994 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34000 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34001 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34006 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34007 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34008 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34009 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34010 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34011 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34012 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34013 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34014 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34015 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34016 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34017 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34018 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34019 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34020 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34021 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34022 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34023 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34024 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34025 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34026 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34027 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34028 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34029 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34030 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34031 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34032 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34033 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34034 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34035 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34036 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34037 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34038 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34039 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34040 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34041 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34042 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34043 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34044 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34045 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34046 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34047 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34048 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34049 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34050 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34051 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34052 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34053 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34054 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34055 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34056 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34058 (FLT_ROUNDS): Expect as macro, not constant.
34059 (FLT_MANT_DIG): Use macro-int-constant.
34060 (DBL_MANT_DIG): Likewise.
34061 (LDBL_MANT_DIG): Likewise.
34062 (FLT_DIG): Likewise.
34063 (DBL_DIG): Likewise.
34064 (LDBL_DIG): Likewise.
34065 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34066 (DBL_MIN_EXP): Likewise.
34067 (LDBL_MIN_EXP): Likewise.
34068 (FLT_MAX_EXP): Use macro-int-constant.
34069 (DBL_MAX_EXP): Likewise.
34070 (LDBL_MAX_EXP): Likewise.
34071 (FLT_MAX_10_EXP): Likewise.
34072 (DBL_MAX_10_EXP): Likewise.
34073 (LDBL_MAX_10_EXP): Likewise.
34074 (FLT_MAX): Use macro-constant.
34075 (DBL_MAX): Likewise.
34076 (LDBL_MAX): Likewise.
34077 (FLT_EPSILON): Use macro-constant. Give upper bound.
34078 (DBL_EPSILON): Likewise.
34079 (LDBL_EPSILON): Likewise.
34080 (FLT_MIN): Likewise.
34081 (DBL_MIN): Likewise.
34082 (LDBL_MIN): Likewise.
34083 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34084 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34085 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34086 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34087 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34088 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34089 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34090 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34091 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34092 [ISO11] (FLT_TRUE_MIN): Likewise.
34093 [ISO11] (LDBL_TRUE_MIN): Likewise.
34094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34095 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34096 (SCHAR_MIN): Use macro-int-constant. Specify type.
34097 (SCHAR_MAX): Likewise.
34098 (UCHAR_MAX): Likewise.
34099 (CHAR_MIN): Likewise.
34100 (CHAR_MAX): Likewise.
34101 (MB_LEN_MAX): Use macro-int-constant.
34102 (SHRT_MIN): Use macro-int-constant. Specify type.
34103 (SHRT_MAX): Likewise.
34104 (USHRT_MAX): Likewise.
34105 (INT_MAX): Likewise.
34106 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34108 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34110 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34112 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34113 bound negative. Suffix upper bound with "L".
34114 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34116 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34118 [C99-based standards] (LLONG_MAX): Likewise.
34119 [C99-based standards] (ULLONG_MAX): Likewise.
34120 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34122 [ISO11] (max_align_t): Require type.
34123 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34125 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34126 from $CFLAGS, without defining away __attribute__ calls.
34127 (checknamespace): Use $CFLAGS_namespace.
34129 * conform/conformtest.pl (@keywords): Only include C99 keywords
34130 for standards based on C99 or C11.
34132 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34134 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34137 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34138 usability of symbols in #if.
34140 * conform/conformtest.pl: If macro or constant types start
34141 "promoted:", expect the symbol to be of the following type
34142 promoted by the integer promotions.
34144 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34145 in one place. Also handle "macro-constant".
34147 * conform/conformtest.pl: Only accept expected macro values with
34148 "==". Parse all "macro" lines in one place.
34149 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34151 * conform/conformtest.pl: Handle braced types on "constant" lines
34152 instead of handling "typed-constant".
34153 * conform/data/signal.h-data: Use "constant" instead of
34156 * conform/conformtest.pl: Handle "optional-" at start of lines in
34157 one place rather than duplicating several cases. Handle each
34158 format of "macro" line with initial "optional-".
34160 * conform/conformtest.pl: Only accept expected constant or
34161 optional-constant values with "==". Parse all "constant" lines in
34162 one place. Parse all "optional-constant" lines in one place.
34163 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34164 * conform/data/fmtmsg.h-data: Likewise.
34165 * conform/data/netinet/in.h-data: Likewise.
34166 * conform/data/tar.h-data: Likewise.
34167 * conform/data/limits.h-data: Use "==" form on "constant" and
34168 "optional-constant" lines.
34170 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34171 Use -std=c99 for XOPEN2K.
34172 (@knownproblems): Remove.
34173 (newtoken): Don't check %isknown.
34175 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34176 Do not expect macro.
34177 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34178 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34179 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34180 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34181 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34182 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34183 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34184 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34185 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34186 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34187 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34188 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34189 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34190 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34191 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34192 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34193 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34194 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34195 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34196 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34197 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34198 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34199 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34200 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34201 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34202 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34203 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34204 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34205 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34206 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34207 [XPG3] (acosh): Likewise.
34208 [XPG3] (asinh): Likewise.
34209 [XPG3] (atanh): Likewise.
34210 [XPG3] (cbrt): Likewise.
34211 [XPG3] (expm1): Likewise.
34212 [XPG3] (ilogb): Likewise.
34213 [XPG3] (log1p): Likewise.
34214 [XPG3] (logb): Likewise.
34215 [XPG3] (nextafter): Likewise.
34216 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34217 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34218 [XPG3] (remainder): Likewise.
34219 [XPG3] (rint): Likewise.
34220 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34222 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34223 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34224 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34225 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34226 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34227 [UNIX98 || XOPEN2K] (scalb): Expect.
34228 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34229 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34230 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34231 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34232 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34233 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34234 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34235 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34236 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34237 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34238 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34239 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34241 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34242 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34243 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34244 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34245 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34246 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34247 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34248 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34250 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34251 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34252 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34253 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34254 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34255 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34256 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34257 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34258 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34259 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34260 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34261 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34262 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34263 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34264 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34265 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34266 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34267 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34268 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34269 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34270 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34271 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34272 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34273 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34274 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34275 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34276 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34277 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34278 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34279 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34280 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34281 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34282 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34283 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34284 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34285 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34286 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34287 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34288 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34289 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34290 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34291 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34292 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34293 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34294 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34295 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34296 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34297 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34298 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34299 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34300 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34301 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34302 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34303 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34304 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34305 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34306 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34307 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34308 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34309 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34310 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34311 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34312 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34313 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34314 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34315 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34316 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34317 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34318 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34319 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34320 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34321 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34322 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34323 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34324 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34325 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34326 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34327 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34328 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34329 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34330 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34331 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34332 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34333 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34334 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34335 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34336 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34337 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34338 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34339 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34340 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34341 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34342 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34343 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34344 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34345 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34346 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34347 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34348 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34349 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34350 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34351 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34352 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34353 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34354 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34355 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34356 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34357 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34358 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34359 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34360 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34361 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34362 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34363 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34364 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34366 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34367 _XOPEN_SOURCE_EXTENDED for XPG4.
34369 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34371 * Makeconfig (localtime): Remove variable.
34372 (inst_localtime-file): Likewise.
34374 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34395 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34399 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34400 comparisons to determine direction to adjust input.
34401 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34402 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34403 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34405 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34407 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34409 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34410 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34412 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34414 * math/libm-test.inc (nexttoward_test): Add more tests.
34416 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34419 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34420 in version GLIBC_2.1, not GLIBC_2.0.
34421 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34424 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34427 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34429 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34430 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34431 * math/libm-test.inc (acos_test): Add more tests.
34432 (asin_test): Likewise.
34433 * sysdeps/i386/fpu/libm-test-ulps: Update.
34434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34437 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34439 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34440 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34441 * math/libm-test.inc (acos_test_tonearest): New function.
34442 (acos_test_towardzero): Likewise.
34443 (acos_test_downward): Likewise.
34444 (acos_test_upward): Likewise.
34445 (asin_test_tonearest): Likewise.
34446 (asin_test_towardzero): Likewise.
34447 (asin_test_downward): Likewise.
34448 (asin_test_upward): Likewise.
34449 (main): Call the new functions.
34450 * sysdeps/i386/fpu/libm-test-ulps: Update.
34451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34455 * math/e_exp10.c: Include <float.h>.
34456 (__ieee754_exp10): Handle underflow here rather than multiplying
34457 large negative argument by M_LN10.
34458 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34460 * math/e_exp10l.c: Include <float.h>.
34461 (__ieee754_exp10l): Handle underflow here rather than multiplying
34462 large negative argument by M_LN10l.
34463 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34464 spurious overflow exception on underflow.
34466 2012-04-29 Marek Polacek <polacek@redhat.com>
34468 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34469 (__fortify_function): New macro.
34470 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34471 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34472 __extern_always_inline.
34473 * libio/bits/stdio2.h: Likewise.
34474 * libio/bits/stdio.h: Likewise.
34475 * string/string.h: Likewise.
34476 * string/bits/string3.h: Likewise.
34477 * include/stdio.h: Likewise.
34478 * stdlib/bits/stdlib.h: Likewise.
34479 * stdlib/stdlib.h: Likewise.
34480 * rt/bits/mqueue2.h: Likewise.
34481 * rt/mqueue.h: Likewise.
34482 * posix/bits/unistd.h: Likewise.
34483 * posix/unistd.h: Likewise.
34484 * io/bits/poll2.h: Likewise.
34485 * io/bits/fcntl2.h: Likewise.
34486 * io/fcntl.h: Likewise.
34487 * io/sys/poll.h: Likewise.
34488 * misc/bits/syslog.h: Likewise.
34489 * misc/bits/syslog-ldbl.h: Likewise.
34490 * misc/sys/syslog.h: Likewise.
34491 * socket/bits/socket2.h: Likewise.
34492 * socket/sys/socket.h: Likewise.
34493 * debug/tst-chk1.c: Likewise.
34494 * wcsmbs/bits/wchar2.h: Likewise.
34495 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34496 * wcsmbs/wchar.h: Likewise.
34498 2012-04-29 Andreas Jaeger <aj@suse.de>
34500 * Makerules (tests): Remove enable-check-abi protection.
34501 (check-abi-warn): Remove.
34502 (check-abi-%): Remove check-abi-warn usage.
34504 * configure.in: Remove check-abi configure option.
34505 * configure: Regenerated.
34506 * config.make.in (enable-check-abi): Remove.
34508 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34511 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34512 double functions to double *_finite functions.
34515 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34516 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34518 * stdio-common/Makefile (tests): Add tst-sprintf3.
34519 * stdio-common/tst-sprintf3.c: New file.
34521 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34522 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34524 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34526 * conform/conformtest.pl: Remove duplicate typed-constant
34529 2012-04-28 David S. Miller <davem@davemloft.net>
34531 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34532 (check-abi-%): Remove AWK script prerequisite and explicit
34534 (check-abi): Rewrite to just diff the symlist with the abilist.
34535 (config-tls, config-abi-config): Delete, no longer used.
34536 (update-abi-%): Remove AWK script and explicit abilist directory.
34537 (update-abi): Rewrite to simply compare and conditionally copy the
34538 symlist and the sysdep abilist file. Remove update-abi-config
34540 * abilist/ld.abilist: Remove.
34541 * abilist/libBrokenLocale.abilist: Remove.
34542 * abilist/libanl.abilist: Remove.
34543 * abilist/libcrypt.abilist: Remove.
34544 * abilist/libdl.abilist: Remove.
34545 * abilist/librt.abilist: Remove.
34546 * abilist/libthread_db.abilist: Remove.
34547 * abilist/libutil.abilist: Remove.
34548 * scripts/extract-abilist.awk: Remove.
34549 * scripts/merge-abilist.awk: Remove.
34550 * sysdeps/generic/libcidn.abilist: New file.
34551 * sysdeps/generic/libnss_compat.abilist: New file.
34552 * sysdeps/generic/libnss_db.abilist: New file.
34553 * sysdeps/generic/libnss_dns.abilist: New file.
34554 * sysdeps/generic/libnss_files.abilist: New file.
34555 * sysdeps/generic/libnss_hesiod.abilist: New file.
34556 * sysdeps/generic/libnss_nis.abilist: New file.
34557 * sysdeps/generic/libnss_nisplus.abilist: New file.
34558 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34559 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34560 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34562 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34563 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34564 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34565 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34566 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34567 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34568 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34569 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34570 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34572 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34573 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34574 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34575 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34577 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34578 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34579 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34580 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34581 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34582 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34584 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34585 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34586 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34588 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34691 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34692 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34693 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34696 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34697 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34698 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34699 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34700 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34701 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34702 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34703 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34704 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34756 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34758 * conform/conformtest.pl: Fix typo in handling typed-constant from
34761 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34763 * README: Cut down references to pre-2.6 Linux kernels and
34764 Linuxthreads. Update lists of configurations in libc and ports
34765 and sort alphabetically. Say "or newer" with Linux kernel version
34768 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34770 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34773 * math/libm-test.inc (logb_test_downward): New test to expose
34774 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34777 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34780 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34782 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34783 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34785 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34787 * sysdeps/unix/i386/brk.S: Remove file.
34788 * sysdeps/unix/i386/dl-brk.S: Likewise.
34789 * sysdeps/unix/i386/pipe.S: Likewise.
34790 * sysdeps/unix/i386/sigreturn.S: Likewise.
34791 * sysdeps/unix/i386/syscall.S: Likewise.
34792 * sysdeps/unix/i386/vfork.S: Likewise.
34793 * sysdeps/unix/i386/wait.S: Likewise.
34795 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34796 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34798 * configure.in (arm*-none*): Do not allow without
34799 --enable-hacker-mode.
34800 (netbsd*): Remove case setting base_os.
34801 (386bsd*): Likewise.
34802 (freebsd*): Likewise.
34805 (sunos*): Likewise.
34806 (ultrix*): Likewise.
34807 (newsos*): Likewise.
34808 (dynix*): Likewise.
34814 (minix*): Likewise.
34815 (irix4*): Likewise.
34816 (irix6*): Likewise.
34817 (solaris[2-9]*): Likewise.
34819 * configure: Regenerated.
34821 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34824 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34825 overflow or cancellation in calculating denominator.
34826 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34828 down expression to avoid unexpected rounding in newer GCCs.
34829 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34831 2012-04-26 David S. Miller <davem@davemloft.net>
34833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34834 long-double compat symbols.
34835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34849 2012-04-25 David S. Miller <davem@davemloft.net>
34851 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34852 HWCAP_* values only after the memory barriers have been defined.
34853 (atomic_full_barrier): Define.
34854 (atomic_read_barrier): Define.
34855 (atomic_write_barrier): Define.
34857 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34859 * shlib-versions: Add libgcc_s version information.
34860 * sysdeps/generic/libgcc_s.h: Remove.
34861 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34863 * sysdeps/gnu/unwind-resume.c: Likewise.
34864 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34866 2012-04-25 David S. Miller <davem@davemloft.net>
34868 * sysdeps/unix/sparc/brk.S: Delete.
34869 * sysdeps/unix/sparc/dl-brk.S: Delete.
34870 * sysdeps/unix/sparc/pipe.S: Delete.
34871 * sysdeps/unix/sparc/sysdep.S: Delete.
34872 * sysdeps/unix/sparc/sysdep.h: Delete.
34873 * sysdeps/unix/sparc/vfork.S: Delete.
34874 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34875 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34877 (ret_ERRVAL, r0, r1, MOVE): Define.
34878 (JUMPTARGET): Remove.
34879 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34880 sysdeps/unix/sparc/sysdep.h
34881 (ENTRY, END): Remove.
34882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34884 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34886 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34887 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34890 * timezone/README: Update upstream location and email address for
34892 * timezone/zdump.c: Update from tzcode 2012b.
34893 * timezone/zic.c: Likewise.
34895 * configure.in (libc_cv_as_needed): Remove test.
34896 * configure: Regenerated.
34897 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34898 conditional definition.
34899 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34900 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34901 * config.make.in (have-as-needed): Remove variable.
34903 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34904 Paul Pluzhnikov <ppluzhnikov@google.com>
34906 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34909 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34911 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34912 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34913 * sysdeps/sh/strlen.S: Likewise.
34915 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34917 * sysdeps/unix/fork.S: Remove file.
34918 * sysdeps/unix/i386/fork.S: Likewise.
34919 * sysdeps/unix/sparc/fork.S: Likewise.
34921 * sysdeps/unix/system.c: Remove file.
34922 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34924 * sysdeps/unix/getegid.S: Remove file.
34925 * sysdeps/unix/geteuid.S: Likewise.
34927 2012-04-24 Roland McGrath <roland@hack.frob.com>
34929 * scripts/check-localplt.awk: New file.
34930 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34932 * scripts/data/localplt-generic.data: Add a comment.
34934 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34935 NODE when __dir_mkfile failed.
34936 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34937 Reported by Ludovic Courtès <ludo@gnu.org>.
34939 2012-04-24 Andreas Jaeger <aj@suse.de>
34941 * Makerules (common-clean): Also remove gen-as-const-headers
34944 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34946 * Makerules (native-compile): Do not change working directory for
34947 build. Use $(OUTPUT_OPTION) in command.
34948 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34950 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34953 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34954 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34955 * math/libm-test.inc (floor_test): Add more tests.
34956 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34958 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34960 * sysdeps/unix/getdents.c: Remove file.
34961 * sysdeps/unix/sysv/getdents.c: Likewise.
34962 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34964 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34965 sysdeps/unix/mman/syscalls.list.
34967 (mprotect): Likewise.
34969 (munmap): Likewise.
34970 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34971 * sysdeps/unix/mman/syscalls.list: Remove.
34972 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34974 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34975 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34976 * configure: Regenerated.
34977 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34978 $(libgcc_s_suffix).
34979 * config.make.in (libgcc_s_suffix): Remove variable.
34981 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34983 * sysdeps/unix/sysv/gethostname.c: Move to ...
34984 * sysdeps/posix/gethostname.c: ... here.
34986 * sysdeps/unix/execve.S: Remove file.
34988 * sysdeps/unix/_exit.S: Remove file.
34990 2012-04-23 Andreas Jaeger <aj@suse.de>
34993 * manual/Makefile: Remove make dist support, there's no
34994 need for a stand-alone documentation tar ball.
34995 (TEXI2DVI): Define always, it's not in Makeconfig.
34998 (edition): Removed.
34999 (glibc-doc-$(edition).tar): Removed
35003 (ETAGS): Remove, it's in Makeconfig.
35004 (move-if-change): Remove, it's in Makeconfig.
35006 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35009 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35010 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35011 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35012 (strtod_l, strtof_l, strtold_l): Remove __wur.
35013 It is not necessarily an error to ignore strtol's return value.
35014 One can reliably look at the stored endptr to decide whether
35015 the number had valid syntax.
35017 2012-04-21 Andreas Jaeger <aj@suse.de>
35020 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35022 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35024 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35025 * sysdeps/unix/sysv/Versions: Remove file.
35027 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35032 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35035 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35036 version from __vm86.
35038 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35040 * sysdeps/unix/common/lxstat.c: Remove file.
35041 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35043 * sysdeps/unix/sysv/Makefile: Remove file.
35045 * sysdeps/unix/sysv/direct.h: Remove file.
35047 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35048 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35049 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35050 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35051 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35052 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35053 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35055 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35057 * sysdeps/unix/xmknod.c: Remove file.
35058 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35060 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35062 * sysdeps/unix/sysv/i386/time.S: Remove file.
35064 * sysdeps/unix/fxstat.c: Remove file.
35065 * sysdeps/unix/xstat.c: Likewise.
35066 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35068 * sysdeps/unix/sysv/sigaction.c: Remove file.
35070 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35071 (sysdep_headers): Remove variable.
35072 [termio.h not in sysdep_headers] (generated): Likewise.
35073 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35074 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35075 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35076 * sysdeps/unix/sysv/tcflow.c: Likewise.
35077 * sysdeps/unix/sysv/tcflush.c: Likewise.
35078 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35079 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35080 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35081 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35082 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35084 * sysdeps/unix/siglist.c: Remove file.
35086 * sysdeps/unix/getppid.S: Remove file.
35088 * sysdeps/unix/mkdir.c: Remove file.
35089 * sysdeps/unix/rmdir.c: Likewise.
35091 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35093 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35095 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35096 errlist-compat value.
35098 2012-04-18 David S. Miller <davem@davemloft.net>
35100 * sysdeps/generic/memcopy.h (reg_char): Delete.
35101 * debug/strcat_chk.c: Use char, not reg_char.
35102 * debug/strcpy_chk.c: Likewise.
35103 * debug/strncat_chk.c: Likewise.
35104 * debug/strncpy_chk.c: Likewise.
35105 * string/memchr.c: Likewise.
35106 * string/memrchr.c: Likewise.
35107 * string/rawmemchr.c: Likewise.
35108 * string/strcat.c: Likewise.
35109 * string/strchr.c: Likewise.
35110 * string/strchrnul.c: Likewise.
35111 * string/strcmp.c: Likewise.
35112 * string/strcpy.c: Likewise.
35113 * string/strncat.c: Likewise.
35114 * string/strncmp.c: Likewise.
35115 * string/strncpy.c: Likewise.
35117 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35119 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35120 __builtin_memcopy is called when src and dest ranges are known to not
35123 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35125 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35126 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35127 fwd_align_merge macro call.
35128 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35129 bwd_align_merge macro call.
35130 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35132 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35134 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35135 bwd_align_merge macros.
35136 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35137 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35138 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35140 2012-04-18 David S. Miller <davem@davemloft.net>
35142 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35144 2012-04-18 Andreas Jaeger <aj@suse.de>
35147 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35148 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35149 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35151 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35152 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35153 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35155 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35156 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35157 Adjust for changed ldbl-128 files.
35159 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35160 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35161 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35163 2012-04-17 David S. Miller <davem@davemloft.net>
35165 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35167 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35169 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35170 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35171 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35172 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35173 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35174 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35176 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35179 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35180 * math/libm-test.inc: Add ilogb errno and exception tests.
35181 * math/w_ilogb.c: New file: ilogb wrapper.
35182 * math/w_ilogbf.c: New file: ilogbf wrapper.
35183 * math/w_ilogbl.c: New file: ilogbl wrapper.
35184 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35185 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35186 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35187 exception being thrown with 0.0 as argument.
35188 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35189 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35190 exception being thrown with 0.0 as argument.
35191 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35192 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35193 exception being thrown with 0.0 as argument.
35194 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35195 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35196 exception being thrown with 0.0 as argument.
35197 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35198 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35199 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35200 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35201 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35202 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35203 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35204 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35205 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35207 2012-04-17 Petr Baudis <pasky@ucw.cz>
35209 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35212 2012-04-16 Marek Polacek <polacek@redhat.com>
35214 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35216 2012-04-16 Marek Polacek <polacek@redhat.com>
35218 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35219 operands of fdivp instruction.
35221 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35223 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35224 * elf/tst-auditmod3b.c: Likewise.
35225 * elf/tst-auditmod4b.c: Likewise.
35226 * elf/tst-auditmod5b.c: Likewise.
35227 * elf/tst-auditmod6b.c: Likewise.
35228 * elf/tst-auditmod6c.c: Likewise.
35229 * elf/tst-auditmod7b.c: Likewise.
35230 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35231 * sysdeps/x86_64/preconfigure.in: Likewise.
35232 * sysdeps/x86_64/preconfigure: Regenerated.
35234 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35236 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35239 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35241 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35242 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35244 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35247 * locale/iso-639.def: Fix gl language name. Spotted by
35250 2012-04-12 Roland McGrath <roland@hack.frob.com>
35253 * libio/libio.h (__io_write_fn): Update comment.
35255 2012-04-12 Petr Baudis <pasky@ucw.cz>
35258 * stdio.texi (Hook Functions): The user provided writer function
35259 is not allowed to return -1.
35261 2012-04-11 David S. Miller <davem@davemloft.net>
35263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35265 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35267 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35268 Add a leading slash to rtkaio.
35270 2012-04-11 Jim Meyering <meyering@redhat.com>
35273 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35274 It is not necessarily an error to ignore fwrite's return
35275 value. One can reliably use ferror to test for errors after
35278 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35280 * bits/types.h (__snseconds_t): New type.
35281 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35283 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35285 (__SNSECONDS_T_TYPE): Likewise.
35286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35287 (__SNSECONDS_T_TYPE): Likewise.
35288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35289 (__SNSECONDS_T_TYPE): Likewise.
35291 2012-04-10 Andreas Jaeger <aj@suse.de>
35294 * manual/time.texi (Processor Time): Return type of times is
35295 elapsed real time since an arbitrary point in the past.
35296 (CPU Time): Move CLK_TCK from here...
35297 (Processor Time): ...to here. Correct description.
35298 * manual/conf.texi (Constants for Sysconf): Correct description of
35301 2012-04-10 David S. Miller <davem@davemloft.net>
35304 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35305 where the is a gap between DT_REL(A) and DT_JMPREL.
35307 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35309 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35310 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35311 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35313 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35315 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35316 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35317 (dl_main): Handle --inhibit-cache.
35318 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35320 * elf/dl-load.c (_dl_map_object): Use it.
35321 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35323 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35326 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35327 (__ieee754_powl): Saturate large exponents rather than testing for
35328 overflow of y*log2(x).
35329 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35330 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35334 * math/s_ctan.c: Include <float.h>.
35335 (__ctan): Avoid internal overflow or cancellation in calculating
35337 * math/s_ctanf.c: Likewise.
35338 * math/s_ctanl.c: Likewise.
35339 * math/s_ctanh.c: Likewise.
35340 * math/s_ctanhf.c: Likewise.
35341 * math/s_ctanhl.c: Likewise.
35342 * math/libm-test.inc (ctan_test): Add more tests.
35343 (ctanh_test): Likewise.
35344 * sysdeps/i386/fpu/libm-test-ulps: Update.
35345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35347 2012-04-09 Andreas Jaeger <aj@suse.de>
35350 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35351 is an optional BSD extension.
35354 * manual/stdio.texi (Opening Streams): Document additional fopen
35357 2012-04-09 Roland McGrath <roland@hack.frob.com>
35359 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35360 %eax without telling the compiler.
35362 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35365 * manual/install.texi: Use sourceware.org.
35367 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35370 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35371 (__ieee754_pow): Generate overflow and underflow using huge*huge
35372 and tiny*tiny rather than just returning constant infinity or zero
35373 for large exponents.
35374 * math/libm-test.inc (pow_test): Require overflow exceptions for
35375 applicable cases of large exponents.
35378 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35379 (__ieee754_pow): Use iterative multiplication algorithm only for
35380 integer exponents with absolute value below 1024. Check for odd
35381 integer exponents when using algorithm for real exponents.
35382 * math/libm-test.inc (pow_test): Add more tests.
35383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35385 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35388 * math/libm-test.inc (exp_test): Do not allow overflow exception
35391 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35394 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35395 instead of __kernel_standard_f.
35397 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35399 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35400 * sysdeps/x86_64/memset_chk.S: Likewise.
35402 2012-04-08 Andreas Jaeger <aj@suse.de>
35405 * manual/startup.texi (Environment Access): Describe return value
35406 for putenv and setenv.
35409 * manual/filesys.texi (Directory Entries): Add description for
35413 * manual/filesys.texi (Directory Entries): Clarify that it's file
35414 system not operating system in the description of DT_UNKNOWN.
35417 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35419 2012-04-08 Stephen Compall <s11@member.fsf.org>
35422 * manual/llio.texi (Opening and Closing Files): Add cross
35423 reference to explain mode argument.
35425 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35427 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35428 * sysdeps/x86_64/memset_chk.S: Likewise.
35430 2012-04-07 David S. Miller <davem@davemloft.net>
35432 * elf/elf.h (R_SPARC_WDISP10): Define.
35433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35435 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35436 R_SPARC_SIZE64 and R_SPARC_H34.
35438 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35440 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35441 conditions and remove no longer applicable assertion.
35443 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35445 * bits/byteswap.h: Include <features.h>.
35446 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35447 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35449 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35451 * bits/byteswap.h (__bswap_16): Removed.
35452 Include <bits/byteswap-16.h> to get __bswap_16.
35453 * sysdeps/i386/bits/byteswap.h: Likewise.
35454 * sysdeps/s390/bits/byteswap.h: Likewise.
35455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35456 * bits/byteswap-16.h: New file.
35457 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35458 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35459 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35460 * string/Makefile (headers): Add bits/byteswap-16.h.
35462 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35465 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35467 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35468 * nss/tst-nss-static.c: New.
35470 2012-04-06 Robert Millan <rmh@gnu.org>
35473 * manual/llio.texi (File Position Primitive): lseek
35474 refers to WHENCE when it really means OFFSET.
35476 2012-04-06 Andreas Jaeger <aj@suse.de>
35478 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35479 strncmp declarations.
35481 * abilist/libc.abilist: Add __poll and __ppoll.
35483 2012-04-05 David S. Miller <davem@davemloft.net>
35485 * scripts/check-local-headers.sh: Accept a host triplet in the
35486 path matched by the exclude regexp.
35488 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35490 * sysdeps/powerpc/powerpc32/dl-machine.h
35491 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35492 * sysdeps/s390/s390-32/dl-machine.h
35493 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35494 * sysdeps/sparc/sparc32/dl-machine.h
35495 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35496 * sysdeps/sparc/sparc64/dl-machine.h
35497 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35499 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35501 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35502 undefined symbol errors.
35504 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35507 2012-04-05 Michael Matz <matz@suse.de>
35510 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35512 2012-04-05 Andreas Jaeger <aj@suse.de>
35515 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35518 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35520 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35521 which ROUND is no valid rounding mode.
35523 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35525 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35527 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35529 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35531 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35532 an exception using FPU order intentionally.
35534 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35536 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35537 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35538 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35539 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35541 2012-04-05 Simon Josefsson <simon@josefsson.org>
35544 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35545 EINVAL when BUFLEN is too smal.
35547 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35550 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35551 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35553 2012-04-03 Andreas Jaeger <aj@suse.de>
35556 * manual/setjmp.texi (System V contexts): Fix sentence.
35559 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35560 New macro for this case.
35561 [!__GNUC__] (__bswap_64): New inline function for this case.
35562 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35563 * bits/byteswap.h: Likewise.
35564 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35565 ull, guard with __GLIBC_HAVE_LONG_LONG.
35567 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35568 __GLIBC_HAVE_LONG_LONG.
35570 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35571 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35573 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35576 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35577 inptr and inend, rather than using last_ch.
35579 2012-04-02 David S. Miller <davem@davemloft.net>
35581 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35582 * stdio-common/printf-parse.h (read_int): Change return type to
35583 'int', return -1 on INT_MAX overflow.
35584 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35585 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35586 overflows INT_MAX. Check for overflow of in-format-string precision
35587 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35588 SIZE_MAX not INT_MAX for integer overflow test.
35589 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35590 skip the construct in the format string but do not record anything.
35591 * stdio-common/bug22.c: Adjust to test both width/prevision
35592 INT_MAX overflow as well as total length INT_MAX overflow. Check
35593 explicitly for proper errno values.
35595 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35597 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35599 * string/test-strcmp.c [! WIDE]: Likewise.
35600 * time/tst-mktime2.c: Likewise for INT_MAX.
35601 * string/test-string.h: #include <sys/param.h> for MIN.
35603 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35604 * sysdeps/i386/init-first.c (init): Likewise.
35605 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35606 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35607 * sysdeps/sh/init-first.c (init): Likewise.
35609 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35611 * po/ru.po: Update from translation team.
35612 * po/vi.po: Likewise.
35614 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35616 * resolv/nss_dns/dns-host.c: Merge copyright years.
35618 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35620 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35621 Optimize memcpy with prefetch if
35622 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35623 src, dst pointers have unequal 16 byte alignments.
35625 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35628 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35629 from a CNAME entry and return the minimum ttl for the query.
35630 (gaih_getanswer_slice): Likewise.
35632 2012-03-30 Jeff Law <law@redhat.com>
35634 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35636 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35637 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35639 * resolv/nss_dns/dns-host.c: Update copyright year.
35641 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35643 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35644 requests to save a system call. Fix check that all bytes are sent.
35646 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35647 comments for sendmmsg.
35649 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35652 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35653 with only 1 character between 0x0041 and 0x01b0.
35654 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35655 * wcsmbs/tst-mbsnrtowcs.c: New file.
35657 2012-03-29 David S. Miller <davem@davemloft.net>
35659 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35660 small copies by hand.
35662 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35665 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35666 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35669 2012-03-28 David S. Miller <davem@davemloft.net>
35671 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35672 that branches into memcpy.
35673 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35674 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35675 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35676 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35677 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35679 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35680 implementation too.
35681 * sysdeps/sparc/mempcpy.S: New file.
35683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35684 the IFUNC routine in the libc case.
35685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35687 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35688 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35689 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35690 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35691 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35692 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35693 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35694 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35696 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35697 loop to 256 bytes instead of 64 bytes and fix test signedness.
35699 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35700 * sysdeps/sparc/sparc32/Makefile: rather than here...
35701 * sysdeps/sparc/sparc64/Makefile: and here.
35703 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35705 * malloc/mallocbug.c: Avoid warnings about unused variables.
35707 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35710 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35711 in the right place. Discard and retry query if response is
35712 larger than input buffer size.
35714 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35719 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35720 x for large integer exponent.
35721 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35722 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35723 sign of result as needed afterwards.
35724 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35725 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35726 result for underflowing pow the same as for overflow.
35727 (__kernel_standard_l): Handle powl overflow and underflow here
35728 rather than calling __kernel_standard.
35729 * math/libm-test.inc (pow_test): Add more tests.
35744 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35745 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35746 (__kernel_standard_l): New function.
35747 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35749 * math/w_acosl.c (__acosl): Likewise.
35750 * math/w_asinl.c (__asinl): Likewise.
35751 * math/w_atan2l.c (__atan2l): Likewise.
35752 * math/w_atanhl.c (__atanhl): Likewise.
35753 * math/w_coshl.c (__coshl): Likewise.
35754 * math/w_exp10l.c (__exp10l): Likewise.
35755 * math/w_exp2l.c (__exp2l): Likewise.
35756 * math/w_fmodl.c (__fmodl): Likewise.
35757 * math/w_hypotl.c (__hypotl): Likewise.
35758 * math/w_j0l.c (__j0l, __y0l): Likewise.
35759 * math/w_j1l.c (__j1l, __y1l): Likewise.
35760 * math/w_jnl.c (__jnl, __ynl): Likewise.
35761 * math/w_lgammal.c (__lgammal): Likewise.
35762 * math/w_log10l.c (__log10l): Likewise.
35763 * math/w_log2l.c (__log2l): Likewise.
35764 * math/w_logl.c (__logl): Likewise.
35765 * math/w_powl.c (__powl): Likewise.
35766 * math/w_remainderl.c (__remainderl): Likewise.
35767 * math/w_scalbl.c (sysv_scalbl): Likewise.
35768 * math/w_sinhl.c (__sinhl): Likewise.
35769 * math/w_sqrtl.c (__sqrtl): Likewise.
35770 * math/w_tgammal.c (__tgammal): Likewise.
35771 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35772 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35773 * math/libm-test.inc (acos_test): Add more tests.
35774 (acosh_test): Likewise.
35775 (asin_test): Likewise.
35776 (atanh_test): Likewise.
35777 (exp_test): Likewise.
35778 (exp10_test): Likewise.
35779 (exp2_test): Likewise.
35780 (expm1_test): Likewise.
35781 (lgamma_test): Likewise.
35782 (log_test): Likewise.
35783 (log10_test): Likewise.
35784 (log1p_test): Likewise.
35785 (log2_test): Likewise.
35786 (pow_test): Do not allow some spurious overflow exceptions.
35787 (sqrt_test): Add more tests.
35788 (tgamma_test): Likewise.
35789 (y0_test): Likewise.
35790 (y1_test): Likewise.
35791 (yn_test): Likewise.
35793 2012-03-27 Anton Blanchard <anton@samba.org>
35795 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35797 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35798 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35799 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35801 2012-03-27 David S. Miller <davem@davemloft.net>
35803 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35805 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35806 have-as-vis3 check.
35808 2012-03-27 Andreas Jaeger <aj@suse.de>
35810 * sysdeps/x86_64/elf/configure.in: Moved to ...
35811 * sysdeps/x86_64/configure.in: ... here.
35812 * sysdeps/x86_64/elf/start.S: Moved to ...
35813 * sysdeps/x86_64/start.S: ... here.
35814 * sysdeps/x86_64/elf/configure: Delete.
35816 * sysdeps/x86_64/configure.in: Merge contents from
35817 sysdeps/i386/configure.in (without i686 check).
35819 * sysdeps/i386/elf/Versions: Merge into ...
35820 * sysdeps/i386/Versions: ... this.
35821 * sysdeps/i386/elf/Versions: Delete file.
35822 * sysdeps/i386/elf/start.S: Moved to ...
35823 * sysdeps/i386/start.S: ...here.
35824 * sysdeps/i386/elf/configure.in: Merge into...
35825 * sysdeps/i386/configure.in: ...here.
35826 * sysdeps/i386/elf/configure.in: Delete file.
35827 * sysdeps/i386/elf/configure: Delete file.
35829 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35830 * debug/backtracesyms.c: ... here.
35831 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35832 * debug/backtracesymsfd.c: ... here.
35833 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35834 * sysdeps/generic/ifunc-sel.h: ... here.
35836 * sysdeps/unix/i386/start.c: Delete file.
35837 * sysdeps/unix/sparc/start.c: Delete file.
35838 * sysdeps/unix/start.c: Delete file.
35840 * sysdeps/sh/elf/configure.in: Moved to ...
35841 * sysdeps/sh/configure.in: ... here.
35842 * sysdeps/sh/elf/start.S: Moved to ...
35843 * sysdeps/sh/start.S: ... here.
35844 * sysdeps/sh/elf/configure: Delete file.
35846 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35847 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35848 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35849 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35850 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35851 * sysdeps/powerpc/powerpc64/start.S: here.
35852 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35853 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35854 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35855 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35856 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35858 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35859 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35860 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35861 * sysdeps/powerpc/powerpc32/start.S: ... here.
35862 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35863 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35864 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35866 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35867 * sysdeps/powerpc/ifunc-sel.h: ... here.
35868 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35869 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35871 * sysdeps/sparc/elf/configure.in: Moved to ...
35872 * sysdeps/sparc/configure.in: ... here.
35873 * sysdeps/sparc/elf/configure: Delete file.
35874 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35875 * sysdeps/sparc/sparc32/start.S: ... here.
35876 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35877 * sysdeps/sparc/sparc64/start.S: ... here.
35878 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35879 * sysdeps/sparc/sparc32/Makefile: ... this.
35880 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35881 * sysdeps/sparc/sparc64/Makefile: ... this.
35883 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35884 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35885 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35886 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35887 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35888 * sysdeps/s390/s390-32/setjmp.S: ... here.
35889 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35890 * sysdeps/s390/s390-32/configure.in: ... here.
35891 * sysdeps/s390/s390-32/elf/configure: Delete file.
35892 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35893 * sysdeps/s390/s390-32/start.S: ... here.
35895 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35896 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35897 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35898 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35899 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35900 * sysdeps/s390/s390-64/setjmp.S: ... here.
35901 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35902 * sysdeps/s390/s390-64/configure.in: ... here
35903 * sysdeps/s390/s390-64/elf/configure: Delete file.
35904 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35905 * sysdeps/s390/s390-64/start.S: ... here.
35906 * sysdeps/s390/s390-64/elf/configure: Delete.
35908 * configure.in: Remove support for elf directories in sysdeps.
35910 * configure: Regenerated.
35911 * sysdeps/i386/configure: Regenerated.
35912 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35913 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35914 * sysdeps/s390/s390-32/configure: Regenerated.
35915 * sysdeps/s390/s390-64/configure: Regenerated.
35916 * sysdeps/sh/configure: Regenerated.
35917 * sysdeps/sparc/configure: Regenerated.
35918 * sysdeps/x86_64/configure: Regenerated.
35920 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35924 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35925 denormal result into account.
35927 2012-03-25 Roland McGrath <roland@hack.frob.com>
35929 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35930 Reported by Allan McRae <allan@archlinux.org>.
35932 2012-03-23 Jeff Law <law@redhat.com>
35934 * nss/getnssent.c (__nss_getent): Fix typo.
35936 2012-03-23 David S. Miller <davem@davemloft.net>
35938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35940 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35942 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35943 to pad to uint64_t for each field.
35944 (dl_tls_index): Replace unsigned long with uint64_t.
35946 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35947 Paul Pluzhnikov <ppluzhnikov@google.com>
35950 * grp/Makefile (otherlibs): Don't set it.
35951 * inet/Makefile (otherlibs): Likewise.
35952 * login/Makefile (otherlibs): Likewise.
35953 * nscd/Makefile (otherlibs): Likewise.
35954 * posix/Makefile (otherlibs): Likewise.
35955 * pwd/Makefile (otherlibs): Likewise.
35956 * rt/Makefile (otherlibs): Likewise.
35957 * sunrpc/Makefile (otherlibs): Likewise.
35958 * nss/Makefile (otherlibs): Likewise.
35959 Add libnss_files to routines and static-only-routines.
35960 ($(objpfx)getent): Remove rule.
35961 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35962 static-only-routines.
35964 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35967 * math/s_cexp.c: Include <float.h>.
35968 (__cexp): Handle exp result overflowing not necessarily
35969 overflowing both real and imaginary parts of result.
35970 * math/s_cexpf.c: Likewise.
35971 * math/s_cexpl.c: Likewise.
35972 * math/libm-test.inc (cexp_test): Add more tests.
35973 * sysdeps/i386/fpu/libm-test-ulps: Update.
35974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35976 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35978 * include/link.h (ELFW): New macro.
35979 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35980 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35982 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35984 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35987 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35989 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35991 (struct La_x32_retval): Likewise.
35993 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35995 * sysdeps/x86_64/preconfigure.in: New file.
35996 * sysdeps/x86_64/preconfigure: New generated file.
35998 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36001 * math/e_exp2l.c: Include <float.h>.
36002 (__ieee754_exp2l): Handle overflow and underflow cases
36003 separately. Only pass fractional part of argument to
36005 * math/libm-test.inc (exp2_test): Add more tests.
36007 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36008 negating x to take absolute value.
36009 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36011 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36012 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36014 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36015 computing low part if x was negated.
36016 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36018 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36020 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36021 la_x32_gnu_pltexit.
36022 (pltexit): Cast int_retval to ptrdiff_t.
36023 * elf/tst-auditmod3b.c: Likewise.
36024 * elf/tst-auditmod4b.c: Likewise.
36025 * elf/tst-auditmod5b.c: Likewise.
36026 * elf/tst-auditmod6b.c: Likewise.
36027 * elf/tst-auditmod6c.c: Likewise.
36028 * elf/tst-auditmod7b.c: Likewise.
36030 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36031 and x32_gnu_pltexit.
36033 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36034 __ELF_NATIVE_CLASS.
36035 (La_x32_regs): New macro.
36036 (La_x32_retval): Likewise.
36037 (la_x32_gnu_pltenter): New function prototype.
36038 (la_x32_gnu_pltexit): Likewise.
36040 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36042 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36047 * configure.in (libc_cv_cc_nofma): Check for option to disable
36048 generation of FMA instructions.
36049 * configure: Regenerate.
36050 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36051 * sysdeps/ieee754/dbl-64/Makefile: New file.
36052 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36053 Remove brandred-fma4.
36054 (CFLAGS-brandred-fma4.c): Remove.
36055 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36056 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36058 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36061 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36063 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36064 LLONG_MAX != LONG_MAX.
36065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36066 (_fitoa_word): Likewise.
36067 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36068 LLONG_MAX != LONG_MAX.
36069 * stdio-common/_itowa.h: Include <_itoa.h>.
36070 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36071 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36072 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36073 only if not defined.
36074 (_ITOA_WORD_TYPE): Likewise.
36075 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36076 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36078 2012-03-21 David S. Miller <davem@davemloft.net>
36080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36082 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36084 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36085 of x86_64 when setting libc_cv_slibdir, libdir and
36087 * sysdeps/unix/sysv/linux/configure: Regenerated.
36089 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36091 * manual/lang.texi (Old Varargs): Remove section.
36092 (How Variadic): Update menu.
36093 (va_start): Do not mention varargs.h.
36095 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36096 Joseph Myers <joseph@codesourcery.com>
36098 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36100 * configure: Regenerated.
36102 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36104 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36105 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36108 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36111 * Makefile (files-for-dist): Remove NOTES.
36112 (NOTES): Remove rule.
36113 * README: Don't refer to NOTES.
36114 * manual/creature.texi: Don't include macros.texi.
36115 * manual/intro.texi (creature.texi): Remove comment referring to
36118 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36119 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36120 * configure: Regenerated.
36121 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36122 LIBC_TRY_CC_OPTION.
36123 (libc_cv_as_i686): Likewise.
36124 (libc_cv_cc_avx): Likewise.
36125 (libc_cv_cc_sse2avx): Likewise.
36126 (libc_cv_cc_fma4): Likewise.
36127 (libc_cv_cc_novzeroupper): Likewise.
36128 * sysdeps/i386/configure: Regenerated.
36131 * sysdeps/i386/fpu/s_cexp.S: Remove.
36132 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36133 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36134 * math/libm-test.inc (cexp_test): Add more tests.
36135 * sysdeps/i386/fpu/libm-test-ulps: Update.
36136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36138 2012-03-21 Allan McRae <allan@archlinux.org>
36140 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36142 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36145 * math/w_exp2.c: Do not include <float.h>.
36146 (o_threshold, u_threshold): Remove.
36147 (__exp2): Calculate result before checking finiteness and calling
36149 * math/w_exp2f.c: Likewise.
36150 * math/w_exp2l.c: Likewise.
36151 * math/libm-test.inc (exp2_test): Require overflow exception for
36155 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36156 range of signed 64-bit integers before using fistpll. Remove
36157 checks for whether integers fit in mantissa bits.
36158 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36159 the range of signed 32-bit integers before using fistpl. Remove
36160 checks for whether integers fit in mantissa bits.
36161 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36162 (__ieee754_powl): Test for y outside the range of signed 64-bit
36163 integers before using fistpll. Reduce 64-bit values to 63-bit
36165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36166 divide-by-zero is raised for zero to large negative powers.
36167 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36168 (__ieee754_powl): Test for y outside the range of signed 64-bit
36169 integers before using fistpll. Reduce 64-bit values to 63-bit
36171 * math/libm-test.inc (pow_test): Add more tests.
36173 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36175 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36176 <stdio-common/_itoa.h>.
36177 * debug/segfault.c: Likewise.
36178 * elf/dl-cache.c: Likewise.
36179 * elf/dl-minimal.c: Likewise.
36180 * elf/dl-misc.c: Likewise.
36181 * elf/dl-sysdep.c: Likewise.
36182 * elf/dl-version.c: Likewise.
36183 * elf/rtld.c: Likewise.
36184 * hurd/hurdsock.c: Likewise.
36185 * hurd/lookup-retry.c: Likewise.
36186 * malloc/malloc.c: Likewise.
36187 * malloc/mtrace.c: Likewise.
36188 * nscd/nscd_getgr_r.c: Likewise.
36189 * nscd/nscd_getpw_r.c: Likewise.
36190 * nscd/nscd_getserv_r.c: Likewise.
36191 * posix/getopt_init.c: Likewise.
36192 * posix/wordexp.c: Likewise.
36193 * stdio-common/_itoa.c: Likewise.
36194 * stdio-common/printf_fphex.c: Likewise.
36195 * stdio-common/vfprintf.c: Likewise.
36196 * string/_strerror.c: Likewise.
36197 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36198 * sysdeps/i386/i686/hp-timing.h: Likewise.
36199 * sysdeps/mach/_strerror.c: Likewise.
36200 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36201 * sysdeps/mach/hurd/sethostid.c: Likewise.
36202 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36203 * sysdeps/mach/xpg-strerror.c: Likewise.
36204 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36205 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36206 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36207 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36208 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36209 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36210 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36211 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36212 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36213 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36214 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36215 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36216 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36217 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36218 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36219 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36220 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36221 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36222 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36223 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36224 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36226 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36228 * stdio-common/_itoa.h: Moved to ...
36229 * sysdeps/generic/_itoa.h: Here.
36231 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36233 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36234 instead of "_itoa.h" and "_itowa.h".
36235 * stdio-common/vfprintf.: Likewise.
36237 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36239 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36241 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36242 (__signbit): Likwise.
36243 (llrintf): Likwise.
36246 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36248 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36251 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36253 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36254 OVERFLOW_EXCEPTION_OK.
36255 * math/libm-test.inc ("Philosophy"): Update comment about
36257 (OVERFLOW_EXCEPTION): Define.
36258 (OVERFLOW_EXCEPTION_OK): Likewise.
36259 (INVALID_EXCEPTION_OK): Renumber.
36260 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36261 (IGNORE_ZERO_INF_SIGN): Likewise.
36262 (test_exceptions): Handle FE_OVERFLOW.
36263 (exp10_test): Expect overflow exceptions.
36264 (exp2_test): Likewise.
36265 (expm1_test): Likewise.
36266 (nextafter_test): Likewise.
36267 (pow_test): Likewise.
36268 (scalbn_test): Likewise.
36269 (scalbln_test): Likewise.
36271 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36273 * sysdeps/x86_64/bits/atomic.h
36274 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36276 (atomic_exchange_acq): Likewise.
36277 (__arch_exchange_and_add_body): Likewise.
36278 (__arch_add_body): Likewise.
36279 (atomic_add_negative): Likewise.
36280 (atomic_add_zero): Likewise.
36282 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36284 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36285 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36287 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36289 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36290 Check __x86_64__ instead of __WORDSIZE.
36292 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36294 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36296 2012-03-19 David S. Miller <davem@davemloft.net>
36298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36300 * sysdeps/sparc/fpu/fenv_private.h: New file.
36301 * sysdeps/sparc/fpu/math_private.h: Use it.
36302 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36304 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36305 (libc_feholdexcept_setroundl): Remove.
36306 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36308 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36309 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36311 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36313 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36314 int64_t instead of long int.
36315 (INSERT_WORDS64): Likwise.
36317 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36319 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36320 _Unwind_GetCFA return to _Unwind_Ptr first.
36322 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36325 * math/s_clog.c: Include <float.h>.
36326 (__clog): Scale large or subnormal inputs.
36327 * math/s_clogf.c: Likewise.
36328 * math/s_clogl.c: Likewise.
36329 * math/s_clog10.c: Include <float.h>.
36330 (M_LOG10_2): Define.
36331 (__clog10): Scale large or subnormal inputs.
36332 * math/s_clog10f.c: Likewise.
36333 * math/s_clog10l.c: Likewise.
36334 * math/libm-test.inc (clog_test): Add more tests.
36335 (clog10_test): Likewise.
36336 * sysdeps/i386/fpu/libm-test-ulps: Update.
36337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36340 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36342 * math/libm-test.inc (atan2_test): Add another test.
36344 * Makerules (common-objdir-compile): Remove.
36345 * sysdeps/unix/Makefile (config-generated): Do not add
36346 $(unix-generated) to variable.
36347 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36348 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36350 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36352 [generic bits/local_lim.h] (before-compile): Do not append to
36354 [generic bits/local_lim.h] (common-generated): Likewise.
36355 [generic sys/param.h] (before-compile): Do not append to variable.
36356 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36357 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36358 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36359 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36361 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36362 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36363 [generic sys/param.h] ($(addprefix
36364 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36365 [generic sys/param.h] (common-generated): Do not append to
36367 [generic sys/param.h] (sysdep_headers): Likewise.
36368 [generic bits/errno.h] (before-compile): Do not append to
36370 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36372 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36373 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36374 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36375 [generic bits/errno.h] (common-generated): Do not append to
36377 [generic bits/ioctls.h] (before-compile): Do not append to
36379 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36381 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36382 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36383 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36385 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36386 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36387 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36388 [generic bits/ioctls.h] (common-generated): Do not append to
36390 [generic sys/syscall.h] (syscall.h): Remove variable.
36391 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36393 [generic sys/syscall.h] (before-compile): Do not append to
36395 [generic sys/syscall.h] (common-generated): Likewise.
36396 * sysdeps/unix/errnos-tmpl.c: Remove file.
36397 * sysdeps/unix/errnos.awk: Likewise.
36398 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36399 * sysdeps/unix/ioctls.awk: Likewise.
36400 * sysdeps/unix/mk-local_lim.c: Likewise.
36401 * sysdeps/unix/snarf-ioctls: Likewise.
36403 2012-03-19 Richard Henderson <rth@twiddle.net>
36405 * sysdeps/i386/fpu/fenv_private.h: New file.
36406 * sysdeps/i386/fpu/math_private.h: Use it.
36407 (math_opt_barrier, math_force_eval): Remove.
36408 (libc_feholdexcept_setround_53bit): Remove.
36409 (libc_feupdateenv_53bit): Remove.
36410 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36411 (math_opt_barrier, math_force_eval): Remove.
36412 (libc_feholdexcept): Remove.
36413 (libc_feholdexcept_setround): Remove.
36414 (libc_fetestexcept, libc_fesetenv): Remove.
36415 (libc_feupdateenv_test): Remove.
36416 (libc_feupdateenv, libc_feholdsetround): Remove.
36417 (libc_feresetround): Remove.
36419 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36420 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36422 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36423 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36424 (libc_feupdateenv_testl): New.
36425 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36426 (libc_feupdateenv_testf): New.
36427 (libc_feupdateenv): Use libc_feupdateenv_test.
36428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36429 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36431 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36432 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36433 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36434 (libc_feresetround_noex): New.
36435 (libc_feresetround_noexf): New.
36436 (libc_feresetround_noexl): New.
36437 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36438 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36439 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36440 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36442 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36445 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36446 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36447 SET_RESTORE_ROUND_NOEX.
36448 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36449 SET_RESTORE_ROUND_NOEXF.
36450 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36451 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36452 (libc_feholdsetroundf): New.
36453 (libc_feresetround, libc_feresetroundf): New.
36455 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36456 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36457 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36459 * sysdeps/generic/math_private.h: Include <fenv.h>.
36460 (default_libc_feholdexcept): New.
36461 (default_libc_feholdexcept_setround): New.
36462 (default_libc_fesetenv, default_libc_feupdateenv): New.
36463 (libc_feholdexcept): Only define if undefined.
36464 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36465 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36466 (libc_feholdexcept_setroundl): Likewise.
36467 (libc_feholdexcept_setround_53bit): Likewise.
36468 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36469 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36470 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36471 (libc_feupdateenv_53bit): Likewise.
36472 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36473 (libc_feholdexcept): Convert from macro to inline function.
36474 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36475 (libc_fesetenv, libc_feupdateenv): Likewise.
36477 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36478 not previously defined.
36479 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36480 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36481 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36482 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36483 * sysdeps/ieee754/flt-32/math_private.h: New file.
36484 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36485 math_private.h below SET_FLOAT_WORD.
36486 (__isnan, __isinf_ns, __finite): Remove.
36487 (__isnanf, __isinf_nsf, __finitef): Remove.
36489 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36493 2012-03-17 David S. Miller <davem@davemloft.net>
36496 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36499 2012-03-16 David S. Miller <davem@davemloft.net>
36501 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36505 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36507 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36508 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36509 sysdep_routines when subdir is sysvipc.
36510 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36511 __getshmlba helper.
36513 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36515 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36517 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36520 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36522 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36523 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36524 (__lround): Renamed to ...
36525 (__llround): This. Replace long int with long long int.
36526 Define lround functions as aliases of llround functions.
36527 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36529 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36531 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36532 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36533 adresses to uintptr_t. Replace "long int" and "unsigned long
36534 int" with "greg_t" on va_arg.
36536 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36538 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36539 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36541 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36542 Move e_machine check before EI_CLASS check. Handle x32
36543 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36544 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36545 SKIP_EM_IA_64 and include
36546 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36548 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36549 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36550 (add_system_dir): New macro.
36552 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36553 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36555 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36566 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36568 * math/w_j0f.c (j0f): Likewise.
36570 * math/w_j0l.c (__j0l): Likewise.
36572 * math/w_j1.c (j1): Likewise.
36574 * math/w_j1f.c (j1f): Likewise.
36576 * math/w_j1l.c (__j1l): Likewise.
36578 * math/w_jn.c (jn): Likewise.
36580 * math/w_jnf.c (jnf): Likewise.
36582 * math/w_jnl.c (__jnl): Likewise.
36584 * math/libm-test.inc (j0_test): Add more tests.
36585 (j1_test): Likewise.
36586 (jn_test): Likewise. Add trailing semicolon to existing test.
36587 (y0_test): Likewise.
36588 (y1_test): Likewise.
36589 * sysdeps/i386/fpu/libm-test-ulps: Update.
36590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36594 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36595 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36596 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36597 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36598 (__tanl): Set errno for infinite argument.
36599 * sysdeps/i386/fpu/mptan.c: Remove.
36600 * sysdeps/i386/fpu/s_tan.S: Likewise.
36601 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36602 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36603 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36604 * math/libm-test.inc (tan_test): Add more tests and enable more
36605 tests for double and long double.
36606 * sysdeps/i386/fpu/libm-test-ulps: Update.
36607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36609 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36611 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36612 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36614 2012-03-16 Roland McGrath <roland@hack.frob.com>
36616 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36617 * configure.in: Use it for both main tree and add-ons.
36618 * configure: Regenerated.
36620 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36622 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36624 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36626 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36630 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36631 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36632 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36633 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36634 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36636 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36637 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36638 != 0 for prec == 2.
36639 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36640 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36641 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36642 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36643 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36644 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36645 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36646 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36647 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36648 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36649 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36650 * math/libm-test.inc (cos_test): Add more tests and enable more
36651 tests for long double.
36652 (sin_test): Likewise.
36653 (sincos_test): Likewise.
36654 * sysdeps/i386/fpu/libm-test-ulps: Update.
36655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36657 2012-03-16 David S. Miller <davem@davemloft.net>
36659 * sysdeps/sparc/fpu/math_private.h: New file.
36661 2012-03-15 David S. Miller <davem@davemloft.net>
36663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36677 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36678 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36680 * sysdeps/sparc/sparc-ifunc.h: New file.
36681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36720 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36724 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36726 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36728 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36732 2012-03-15 Andreas Jaeger <aj@suse.de>
36735 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36736 ieee754/flt-32 implementation for sin, cos and sincos.
36737 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36738 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36739 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36740 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36741 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36742 ieee754/flt-32 implementation for tan.
36744 * math/libm-test.inc (cos_test): Enable some large input tests for
36746 (sin_test): Likewise.
36747 (sincos_test): Likewise.
36748 (tan_test): Add tests for large input.
36750 * sysdeps/i386/fpu/libm-test-ulps: Update.
36752 2012-03-15 Andreas Jaeger <aj@suse.de>
36755 * math/libm-test.inc (cos_test): Add more test cases.
36756 (sin_test): Likewise.
36757 (sincos_test): Likewise.
36759 2012-03-15 Andreas Jaeger <aj@suse.de>
36762 * math/libm-test.inc (cos_test): Add a test case for large input
36764 (sin_test): Likewise.
36765 (sincos_test): Likewise.
36767 2012-03-15 Andreas Jaeger <aj@suse.de>
36768 Joseph Myers <joseph@codesourcery.com>
36771 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36772 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36773 * sysdeps/i386/fpu/branred.c: Likewise.
36774 * sysdeps/i386/fpu/dosincos.c: Likewise.
36775 * sysdeps/i386/fpu/mpa.c: Likewise.
36776 * sysdeps/i386/fpu/s_cos.S: Likewise.
36777 * sysdeps/i386/fpu/s_sin.S: Likewise.
36778 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36779 * sysdeps/i386/fpu/sincos32.c: Likewise.
36781 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36783 (libc_feupdateenv_53bit): Define.
36784 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36786 (libc_feupdateenv_53bit): Define.
36788 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36789 53 bit (without extend i386 double precision).
36791 * math/libm-test.inc (sincos_test): Add tests for large input.
36795 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36797 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36801 2012-03-15 David S. Miller <davem@davemloft.net>
36803 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36804 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36805 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36806 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36830 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36831 fmin/fmax sysdep routines.
36832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36834 2012-03-14 David S. Miller <davem@davemloft.net>
36836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36841 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36843 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36857 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36858 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36863 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36864 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36908 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36913 * sysdeps/sparc/configure.in: New file.
36914 * sysdeps/sparc/configure: Generate.
36915 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36916 * configure: Regenerate.
36917 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36918 * config.make.in (have-as-vis3): New.
36919 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36920 available use -Av9d instead of -Av9a.
36921 * sysdeps/sparc/sparc64/Makefile: Likewise.
36922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36933 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36937 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36938 fzeros/fnegs to load 0x80000000 into a float register instead of
36940 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36942 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36946 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36947 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36948 ($(inst_includedir)/bits/syscall.h): Remove rule.
36949 ($(objpfx)bits/syscall.d): Include instead of
36950 $(objpfx)syscall-list.d.
36951 (generated): Change syscall-list.h and syscall-list.d to
36952 bits/syscall.h and bits/syscall.d.
36954 2012-03-14 Roland McGrath <roland@hack.frob.com>
36957 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36959 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36962 * math/s_csqrt.c: Include <float.h>.
36963 (__csqrt): Scale large or subnormal inputs.
36964 * math/s_csqrtf.c: Likewise.
36965 * math/s_csqrtl.c: Likewise.
36966 * math/libm-test.inc (csqrt_test): Add more tests.
36967 * sysdeps/i386/fpu/libm-test-ulps: Update.
36968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36971 * math/libm-test.inc (hypot_test): Add more tests.
36973 2012-03-13 David S. Miller <davem@davemloft.net>
36976 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36977 double-precision for the calculation instead of scaling.
36979 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36981 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36982 manipulate bits before adding and subtracting TWO52[sx].
36983 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36984 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36986 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36988 2012-03-13 David S. Miller <davem@davemloft.net>
36990 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36991 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36993 rtld-global-offsets.h
36994 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36996 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36999 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37001 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37002 'err' in the ifdef scope in which it is actually used.
37004 * nss/nss_db/db-init.c: Include string.h
37006 2012-03-12 David S. Miller <davem@davemloft.net>
37008 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37009 masking out of the most significant byte of random value used.
37010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37011 Fix coding style in previous change.
37013 * sysdeps/unix/sysv/linux/kernel-features.h
37014 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37015 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37017 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37020 2012-03-11 David S. Miller <davem@davemloft.net>
37022 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37023 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37024 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37025 for 'resultvar' otherwise things get truncated on 64-bit.
37027 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37028 Fix masking out of the most significant byte of random value used.
37030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37032 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37036 2012-03-09 David S. Miller <davem@davemloft.net>
37038 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37039 variables with appropriate CPP guards.
37040 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37041 from the frame pointer, not the stack pointer. Correct layout
37042 comments. Fix test on resulting framesize and the management of
37043 the outregs buffer for pltexit. Preserve floating point return
37044 values across _dl_call_pltexit call.
37045 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37046 framesize and the management of the outregs buffer for pltexit.
37047 Preserve floating point return values across _dl_call_pltexit
37049 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37050 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37051 (la_sparc64_gnu_pltexit): New functions.
37052 (print_exit): Fix format string for return register value.
37054 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37056 * sunrpc/Makefile (others): Add rpcgen.
37057 ($(objpfx)rpcgen): Remove special build rule and dependency on
37059 * sunrpc/rpcgen.c: New file.
37061 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37064 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37065 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37066 * sysdeps/i386/crti.S: Likewise.
37067 * sysdeps/i386/crtn.S: Likewise.
37068 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37069 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37070 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37071 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37072 * sysdeps/sh/crti.S: Likewise.
37073 * sysdeps/sh/crtn.S: Likewise.
37074 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37077 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37079 * locale/programs/locfile-kw.gperf: Likewise.
37080 * locale/programs/charmap-kw.h: Regenerated.
37081 * locale/programs/locfile-kw.h: Likewise.
37084 * intl/plural.y: Replace FSF snail mail address with URL.
37085 * intl/plural.c: Regenerated.
37087 2012-03-09 Richard Henderson <rth@twiddle.net>
37089 * include/math_private.h: Remove file.
37090 * math/math_private.h: Move file ...
37091 * sysdeps/generic/math_private.h: ... here.
37093 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37094 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37095 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37097 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37098 and <math_private.h>.
37099 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37100 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37101 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37102 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37103 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37104 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37111 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37112 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37113 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37114 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37115 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37116 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37117 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37118 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37120 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37138 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37139 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37140 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37141 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37142 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37143 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37144 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37145 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37146 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37147 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37148 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37149 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37150 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37151 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37152 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37153 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37154 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37155 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37156 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37157 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37158 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37159 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37160 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37162 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37163 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37164 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37165 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37166 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37167 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37168 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37169 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37170 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37171 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37172 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37173 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37177 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37178 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37179 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37180 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37181 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37182 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37183 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37184 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37186 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37187 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37188 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37189 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37190 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37191 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37192 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37193 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37194 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37195 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37196 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37197 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37198 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37199 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37200 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37201 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37202 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37203 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37204 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37205 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37206 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37207 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37208 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37209 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37210 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37211 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37212 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37213 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37214 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37215 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37216 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37217 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37218 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37219 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37220 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37221 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37222 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37223 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37224 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37225 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37226 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37227 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37228 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37229 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37230 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37231 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37232 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37233 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37234 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37235 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37236 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37237 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37238 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37239 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37240 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37241 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37242 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37243 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37244 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37245 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37246 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37247 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37248 * sysdeps/ieee754/k_standard.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37271 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37272 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37273 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37275 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37276 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37277 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37278 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37280 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37282 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37285 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37286 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37288 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37290 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37291 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37292 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37293 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37294 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37295 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37296 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37297 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37299 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37300 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37301 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37302 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37303 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37305 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37306 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37307 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37308 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37309 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37310 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37311 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37312 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37313 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37314 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37315 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37316 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37317 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37318 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37319 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37320 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37321 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37322 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37323 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37324 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37325 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37326 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37327 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37328 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37329 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37330 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37331 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37332 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37333 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37334 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37335 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37336 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37337 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37338 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37339 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37340 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37341 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37342 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37344 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37345 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37346 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37347 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37348 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37350 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37351 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37352 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37353 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37354 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37356 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37357 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37358 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37359 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37360 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37361 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37362 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37363 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37364 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37365 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37366 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37367 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37368 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37369 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37370 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37371 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37372 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37373 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37374 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37375 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37376 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37377 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37378 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37379 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37380 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37381 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37382 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37383 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37384 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37385 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37386 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37387 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37388 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37389 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37390 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37391 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37392 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37393 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37394 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37395 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37396 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37397 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37398 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37399 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37400 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37401 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37402 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37403 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37404 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37405 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37406 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37407 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37408 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37409 * sysdeps/ieee754/s_lib_version.c: Likewise.
37410 * sysdeps/ieee754/s_matherr.c: Likewise.
37411 * sysdeps/ieee754/s_signgam.c: Likewise.
37412 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37413 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37414 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37415 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37416 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37417 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37418 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37419 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37420 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37421 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37422 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37423 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37424 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37425 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37426 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37427 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37428 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37429 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37430 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37432 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37434 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37436 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37437 * sunrpc/rpc_main.c: Likewise.
37438 * sunrpc/rpc_svcout.c: Likewise.
37440 2012-03-09 David S. Miller <davem@davemloft.net>
37442 * include/math_private.h: New file.
37444 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37446 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37447 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37448 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37449 from <bits/socket_type.h>.
37450 (enum __socket_type): Don't define here.
37451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37453 bits/socket_type.h.
37456 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37457 checking __USE_GNU.
37459 * Makerules ($(inst_includedir)/%.h): New rule.
37460 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37461 (install-others): Remove variable setting.
37462 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37464 2012-03-08 Richard Henderson <rth@twiddle.net>
37466 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37467 from macro to inline function; merge with the
37468 !__LIBC_INTERNAL_MATH_INLINES version.
37469 (__ieee754_sqrtf): Likewise.
37471 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37472 to inline function.
37473 (__rintf, __floor, __floorf): Likewise.
37475 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37476 macro to inline function.
37477 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37479 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37480 not <math/math_private.h>.
37482 2012-03-08 David S. Miller <davem@davemloft.net>
37484 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37486 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37488 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37490 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37492 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37493 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37495 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37497 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37498 be defined individually, they must be defined as a block. Define
37499 S for printing a string instead of hidint the different by using a
37500 macro for adding the 'l'.
37501 * stdio-common/tst-fphex-wide.c: Adjust.
37503 2012-03-07 Marek Polacek <polacek@redhat.com>
37505 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37507 2012-03-08 Marek Polacek <polacek@redhat.com>
37510 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37511 * stdio-common/tst-fphex.c: Define a few macros to make the
37512 test reusable. Use them.
37513 * stdio-common/tst-fphex-wide.c: New file.
37515 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37518 * manual/macros.texi (gnusystems): New macro.
37519 (nongnusystems): Likewise.
37520 (gnulinuxhurdsystems): Likewise.
37521 (gnuhurdsystems): Likewise..
37522 (gnulinuxsystems): Likewise.
37523 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37524 variants of the GNU system, not "GNU system".
37525 * manual/conf.texi: Likewise.
37526 * manual/errno.texi: Likewise. Update example of errno macro
37528 * manual/filesys.texi: Likewise.
37529 (getumask): Document as specific to GNU/Hurd.
37530 * manual/install.texi: Likewise. Reword some references to
37532 * manual/intro.texi: Likewise.
37533 * manual/io.texi: Likewise.
37534 (File Name Portability): Detail which constraints are inapplicable
37535 to all GNU systems and which are only inapplicable to GNU/Hurd.
37536 * manual/job.texi: Likewise.
37537 * manual/llio.texi: Likewise.
37538 (O_NOCTTY): Document as present on GNU/Linux.
37539 * manual/maint.texi: Likewise.
37540 * manual/memory.texi: Likewise.
37541 * manual/pattern.texi: Likewise.
37542 * manual/pipe.texi: Likewise.
37543 * manual/process.texi: Likewise.
37544 * manual/resource.texi: Likewise.
37545 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37547 * manual/setjmp.texi: Likewise.
37548 * manual/signal.texi: Likewise.
37549 * manual/startup.texi: Likewise.
37550 * manual/stdio.texi: Likewise.
37551 * manual/terminal.texi: Likewise.
37552 (ONLCR): Document as POSIX.
37553 (OXTABS): Document availability on GNU/Linux as XTABS.
37554 (ONOEOT): Document availability separately from other bits.
37555 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37556 * manual/time.texi: Likewise.
37557 * manual/users.texi: Likewise.
37558 * INSTALL: Regenerated.
37559 * sysdeps/gnu/errlist.c: Regenerated.
37561 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37562 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37563 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37565 * configure: Regenerated.
37567 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37569 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37570 default includes instead of AC_HEADER_CHECK.
37571 * sysdeps/i386/configure: Regenerated.
37574 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37575 * math/s_cacoshf.c (__cacoshf): Likewise.
37576 * math/s_cacoshl.c (__cacoshl): Likewise.
37577 * math/s_casinh.c (__casinh): Set signs of result from argument.
37578 * math/s_casinhf.c (__casinhf): Likewise.
37579 * math/s_casinhl.c (__casinhl): Likewise.
37580 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37581 (casinh_test): Add more tests.
37582 * sysdeps/i386/fpu/libm-test-ulps: Update.
37583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37585 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37587 * po/zh_TW.po: Update from translation team.
37589 * login/Makefile (distribute): Remove variable.
37590 * catgets/Makefile: Likewise.
37591 * mach/Makefile: Likewise.
37592 * malloc/Makefile: Likewise.
37593 * misc/Makefile: Likewise.
37594 * iconv/Makefile: Likewise.
37595 * nscd/Makefile: Likewise.
37596 * hurd/Makefile: Likewise.
37597 * manual/Makefile: Likewise.
37598 * locale/Makefile: Likewise.
37599 * intl/Makefile: Likewise.
37600 * conform/Makefile: Likewise.
37601 * nss/Makefile: Likewise.
37602 * time/Makefile: Likewise.
37603 * soft-fp/Makefile: Likewise.
37604 * dirent/Makefile: Likewise.
37605 * gmon/Makefile: Likewise.
37606 * po/Makefile: Likewise.
37607 * rt/Makefile: Likewise.
37608 * socket/Makefile: Likewise.
37609 * math/Makefile: Likewise.
37610 * signal/Makefile: Likewise.
37611 * debug/Makefile: Likewise.
37612 * elf/Makefile: Likewise.
37613 * timezone/Makefile: Likewise.
37614 * stdlib/Makefile: Likewise.
37615 * iconvdata/Makefile: Likewise.
37616 * sunrpc/Makefile: Likewise.
37617 * io/Makefile: Likewise.
37618 * argp/Makefile: Likewise.
37619 * inet/Makefile: Likewise.
37620 * hesiod/Makefile: Likewise.
37621 * grp/Makefile: Likewise.
37622 * csu/Makefile: Likewise.
37623 * wctype/Makefile: Likewise.
37624 * crypt/Makefile: Likewise.
37625 * libio/Makefile: Likewise.
37626 * string/Makefile: Likewise.
37627 * nis/Makefile: Likewise.
37628 * resolv/Makefile: Likewise.
37629 * stdio-common/Makefile: Likewise.
37630 * wcsmbs/Makefile: Likewise.
37631 * dlfcn/Makefile: Likewise.
37632 * posix/Makefile: Likewise.
37635 * timezone/Makefile: Don't install timezone files, just the programs
37638 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37640 * nss/databases.def: Add missing gshadow entry.
37642 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37644 2012-03-06 Marek Polacek <polacek@redhat.com>
37647 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37648 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37649 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37650 * stdio-common/tst-long-dbl-fphex.c: New file.
37652 2012-03-06 David S. Miller <davem@davemloft.net>
37654 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37655 (set_obp_int): New function.
37656 (get_obp_int): New function.
37657 (__get_clockfreq_via_dev_openprom): Likewise.
37658 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37659 Avoid unused variable warnings on 'val' and use builtin_expect.
37660 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37662 (INLINE_CLONE_SYSCALL): Likewise.
37664 2012-03-05 David S. Miller <davem@davemloft.net>
37666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37668 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37672 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37673 only for |x| >= 40.
37674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37676 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37678 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37679 Replace gettimeofday with __vdso_gettimeofday.
37681 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37682 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37683 __vdso_clock_gettime and __vdso_getcpu.
37685 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37686 time with __vdso_time.
37688 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37690 * manual/lang.texi (size_t): Note types to which size_t may be
37691 equivalent with the GNU C Library, but do not describe when
37692 differences between them are significant.
37694 2012-03-05 Andreas Jaeger <aj@suse.de>
37696 * sysdeps/i386/fpu/libm-test-ulps: Update.
37698 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37701 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37702 (__ieee754_pow): Save and restore rounding mode and use
37703 round-to-nearest for main computations.
37704 * math/libm-test.inc (pow_test_tonearest): New function.
37705 (pow_test_towardzero): Likewise.
37706 (pow_test_downward): Likewise.
37707 (pow_test_upward): Likewise.
37708 (main): Call the new functions.
37709 * sysdeps/i386/fpu/libm-test-ulps: Update.
37710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37713 * math/libm-test.inc (cosh_test_tonearest): New function.
37714 (cosh_test_towardzero): Likewise.
37715 (cosh_test_downward): Likewise.
37716 (cosh_test_upward): Likewise.
37717 (sinh_test_tonearest): Likewise.
37718 (sinh_test_towardzero): Likewise.
37719 (sinh_test_downward): Likewise.
37720 (sinh_test_upward): Likewise.
37721 (main): Call the new functions.
37722 * sysdeps/i386/fpu/libm-test-ulps: Update.
37723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37725 2012-03-05 Tom de Vries <tom@codesourcery.com>
37727 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37728 default stack guard is set in last bytes.
37729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37731 2012-03-05 Kees Cook <keescook@chromium.org>
37733 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37736 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37737 possibly allocate from heap instead of stack.
37738 * stdio-common/bug-vfprintf-nargs.c: New file.
37739 * stdio-common/Makefile (tests): Add nargs overflow test.
37741 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37745 2012-03-03 Marek Polacek <polacek@redhat.com>
37747 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37748 * math/math_private.h: Likewise.
37749 * stdlib/tst-strtod.c: Likewise.
37750 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37751 * sysdeps/x86_64/bits/atomic.h: Likewise.
37753 2012-03-02 David S. Miller <davem@davemloft.net>
37755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37759 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37760 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37761 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37762 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37764 2012-03-02 Roland McGrath <roland@hack.frob.com>
37767 * manual/examples/README: New file, says the example source files
37768 can be used under GPL>=2.
37769 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37770 line containing just "*/".
37771 * manual/examples/add.c: Add copyright header (GPL>=2).
37772 * manual/examples/argp-ex1.c: Likewise.
37773 * manual/examples/argp-ex2.c: Likewise.
37774 * manual/examples/argp-ex3.c: Likewise.
37775 * manual/examples/argp-ex4.c: Likewise.
37776 * manual/examples/atexit.c: Likewise.
37777 * manual/examples/db.c: Likewise.
37778 * manual/examples/dir.c: Likewise.
37779 * manual/examples/dir2.c: Likewise.
37780 * manual/examples/execinfo.c: Likewise.
37781 * manual/examples/filecli.c: Likewise.
37782 * manual/examples/filesrv.c: Likewise.
37783 * manual/examples/fmtmsgexpl.c: Likewise.
37784 * manual/examples/genpass.c: Likewise.
37785 * manual/examples/inetcli.c: Likewise.
37786 * manual/examples/inetsrv.c: Likewise.
37787 * manual/examples/isockad.c: Likewise.
37788 * manual/examples/longopt.c: Likewise.
37789 * manual/examples/memopen.c: Likewise.
37790 * manual/examples/memstrm.c: Likewise.
37791 * manual/examples/mkfsock.c: Likewise.
37792 * manual/examples/mkisock.c: Likewise.
37793 * manual/examples/mygetpass.c: Likewise.
37794 * manual/examples/pipe.c: Likewise.
37795 * manual/examples/popen.c: Likewise.
37796 * manual/examples/rprintf.c: Likewise.
37797 * manual/examples/search.c: Likewise.
37798 * manual/examples/select.c: Likewise.
37799 * manual/examples/setjmp.c: Likewise.
37800 * manual/examples/sigh1.c: Likewise.
37801 * manual/examples/sigusr.c: Likewise.
37802 * manual/examples/stpcpy.c: Likewise.
37803 * manual/examples/strdupa.c: Likewise.
37804 * manual/examples/strftim.c: Likewise.
37805 * manual/examples/strncat.c: Likewise.
37806 * manual/examples/subopt.c: Likewise.
37807 * manual/examples/swapcontext.c: Likewise.
37808 * manual/examples/termios.c: Likewise.
37809 * manual/examples/testopt.c: Likewise.
37810 * manual/examples/testpass.c: Likewise.
37811 * manual/examples/timeval_subtract.c: Likewise.
37814 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37816 * manual/timeval_subtract.c.texi: ... here, new file.
37818 2012-03-02 David S. Miller <davem@davemloft.net>
37820 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37822 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37825 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37826 (__sin): Save and restore rounding mode and use round-to-nearest
37827 for all computations.
37828 (__cos): Save and restore rounding mode and use round-to-nearest
37829 for all computations.
37830 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37832 (tan): Save and restore rounding mode and use round-to-nearest for
37834 * math/libm-test.inc (cos_test_tonearest): New function.
37835 (cos_test_towardzero): Likewise.
37836 (cos_test_downward): Likewise.
37837 (cos_test_upward): Likewise.
37838 (sin_test_tonearest): Likewise.
37839 (sin_test_towardzero): Likewise.
37840 (sin_test_downward): Likewise.
37841 (sin_test_upward): Likewise.
37842 (tan_test_tonearest): Likewise.
37843 (tan_test_towardzero): Likewise.
37844 (tan_test_downward): Likewise.
37845 (tan_test_upward): Likewise.
37846 (main): Call the new functions.
37847 * sysdeps/i386/fpu/libm-test-ulps: Update.
37848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37851 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37852 small n, then large n, before computing and testing k+n.
37853 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37854 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37856 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37858 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37859 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37860 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37861 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37862 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37863 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37865 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37866 * math/libm-test.inc (scalbn_test): Add more tests.
37867 (scalbln_test): Likewise.
37869 * manual/filesys.texi (mode_t): Describe constraints on size and
37870 signedness, not exact equivalence to a particular type.
37872 (ino64_t): Likewise.
37874 (nlink_t): Likewise.
37875 (blkcnt_t): Likewise.
37876 (blkcnt64_t): Likewise.
37877 * manual/llio.texi (off_t): Likewise.
37880 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37881 (__ieee754_exp): Save and restore rounding mode and use
37882 round-to-nearest for all computations.
37883 * math/libm-test.inc (exp_test_tonearest): New function.
37884 (exp_test_towardzero): Likewise.
37885 (exp_test_downward): Likewise.
37886 (exp_test_upward): Likewise.
37887 (main): Call the new functions.
37888 * sysdeps/i386/fpu/libm-test-ulps: Update.
37889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37891 2012-03-01 Chris Demetriou <cgd@google.com>
37893 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37894 have predictable order.
37896 2012-03-01 David S. Miller <davem@davemloft.net>
37898 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37900 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37901 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37902 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37903 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37905 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37906 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37907 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37909 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37910 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37911 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37912 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37913 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37917 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37918 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37919 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37921 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37922 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37923 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37924 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37925 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37926 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37927 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37928 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37929 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37930 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37931 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37932 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37934 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37935 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37936 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37937 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37938 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37939 * sysdeps/sparc/elf/configure: Regenerated.
37941 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37943 * configure.in (AS, LD): Require binutils 2.20 or later.
37944 * configure: Regenerated.
37945 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37946 as required minimum version.
37947 * INSTALL: Regenerated.
37951 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37952 before squaring exponent.
37953 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37954 bottom long double and 27 bits of top long double before squaring
37956 * math/libm-test.inc (erfc_test): Add more tests.
37957 * sysdeps/i386/fpu/libm-test-ulps: Update.
37958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37961 2012-03-01 Kai Tietz <ktietz@redhat.com>
37963 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37964 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37965 containing bit-fields.
37966 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37967 * soft-fp/single.h (_FP_UNION_S): Likewise.
37968 * soft-fp/double.h (_FP_UNION_D): Likewise.
37970 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37973 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37974 not include ../strcmp.S.
37975 [USE_AS_STRNCASECMP_L]: Likewise.
37976 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37977 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37978 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37979 (__strncasecmp_l_ia32): Define as alias to
37980 __strncasecmp_l_nonascii.
37983 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37984 * sysdeps/i386/fpu/libm-test-ulps: Update.
37985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37987 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37990 2012-02-29 Jeff Law <law@redhat.com>
37992 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37993 out of bounds read.
37995 2012-02-29 Marek Polacek <polacek@redhat.com>
37998 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37999 * elf/Makefile: Add rules to run tst-unused-dep.out.
38001 2012-02-28 David S. Miller <davem@davemloft.net>
38003 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38004 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38005 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38006 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38007 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38008 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38010 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38012 * math/libm-test.inc (llround_test): Move one test from
38013 lround_test. Use TEST_f_L in moved test.
38014 (lround_test): Move misplaced test to llround_test. Add testcase
38017 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38019 * sysdeps/x86_64/fpu/e_expf.S: New file.
38020 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38022 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38025 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38026 of remain_len that may cause incomplete multi-byte character and
38028 * posix/bug-regex33.c: New file.
38029 * posix/Makefile (tests): Add bug-regex33.
38031 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38033 * manual/macros.texi: New file.
38034 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38035 * manual/libc.texinfo: Include macros.texi.
38036 * manual/creatute.texi: Likewise.
38037 * manual/install.texi: Likewise.
38038 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38039 @glibcadj{} in references to the GNU C Library.
38040 * manual/charset.texi: Likewise.
38041 * manual/conf.texi: Likewise.
38042 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38043 when not using those macros.
38044 * manual/creature.texi: Likewise.
38045 * manual/crypt.texi: Likewise.
38046 * manual/errno.texi: Likewise.
38047 * manual/filesys.texi: Likewise.
38048 * manual/header.texi: Likewise.
38049 * manual/install.texi: Likewise.
38050 * manual/intro.texi: Likewise.
38051 * manual/io.texi: Likewise.
38052 * manual/job.texi: Likewise.
38053 * manual/lang.texi: Likewise.
38054 * manual/libc.texiinfo: Likewise.
38055 * manual/llio.texi: Likewise.
38056 * manual/locale.texi: Likewise.
38057 * manual/maint.texi: Likewise.
38058 * manual/math.texi: Likewise.
38059 * manual/memory.texi: Likewise.
38060 * manual/message.texi: Likewise.
38061 * manual/nss.texi: Likewise.
38062 * manual/pattern.texi: Likewise.
38063 * manual/process.texi: Likewise.
38064 * manual/resource.texi: Likewise.
38065 * manual/search.texi: Likewise.
38066 * manual/setjmp.texi: Likewise.
38067 * manual/signal.texi: Likewise.
38068 * manual/socket.texi: Likewise.
38069 * manual/startup.texi: Likewise.
38070 * manual/stdio.texi: Likewise.
38071 * manual/string.texi: Likewise.
38072 * manual/sysinfo.texi: Likewise.
38073 * manual/syslog.texi: Likewise.
38074 * manual/terminal.texi: Likewise.
38075 * manual/time.texi: Likewise.
38076 * manual/users.texi: Likewise.
38077 * INSTALL: Regenerated.
38078 * NOTES: Regenerated.
38079 * sysdeps/gnu/errlist.c: Regenerated.
38081 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38083 * include/dirent.h: Include <dirstream.h> before
38086 2012-02-28 David S. Miller <davem@davemloft.net>
38088 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38089 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38090 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38091 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38093 2012-02-27 David S. Miller <davem@davemloft.net>
38095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38097 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38098 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38101 frame pointer instead of stack pointer relative arg slot.
38102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38103 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38104 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38106 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38109 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38111 2012-02-27 David S. Miller <davem@davemloft.net>
38113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38117 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38118 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38119 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38120 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38122 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38124 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38125 later. Allow versions 5-9.
38126 * configure: Regenerated.
38127 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38128 required minimum version and 4.6 as recommended version. Do not
38129 mention bugs in GCC 2.7 and 2.8.
38130 * INSTALL: Regenerated.
38132 2012-02-27 David S. Miller <davem@davemloft.net>
38134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38138 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38139 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38140 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38141 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38143 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38144 manipulate bits before adding and subtracting TWO112[sx].
38145 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38147 2012-02-27 Roland McGrath <roland@hack.frob.com>
38150 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38151 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38152 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38153 being in POSIX, because they are in 1003.1-2008.
38155 * rt/tst-aio.c: Include <fcntl.h>.
38156 * rt/tst-aio7.c: Likewise.
38157 * rt/tst-aio64.c: Likewise.
38159 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38161 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38163 * manual/install.texi (--with-headers): Describe headers as
38164 interface headers, not private headers.
38165 (Specific advice for GNU/Linux systems): Describe use of headers
38166 from "make headers_install", not private headers from older
38168 * INSTALL: Regenerated.
38169 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38171 * sysdeps/unix/sysv/linux/configure: Regenerated.
38173 * manual/llio.texi (fclean): Remove documentation.
38175 * manual/Makefile (libc-texi-generated): New variable. Include
38177 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38178 $(libc-texi-generated), not duplicated list of files.
38179 (version.texi, stamp-version): New rules.
38180 (realclean): Remove $(libc-texi-generated), not individual files
38181 from that list. Do not remove dir-add.texinfo.
38182 * manual/libc.texinfo: Comment out uses of edition numbers and
38183 references to printed manual. Remove last-updated dates.
38184 (EDITION): Comment out.
38186 (VERSION, UPDATED): Remove.
38187 (version.texi): Include.
38189 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38191 * sysdeps/posix/spawni.c: Include <signal.h>.
38192 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38193 * sysdeps/pthread/aio_fsync.c: Likewise.
38195 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38197 * conform/Makefile (tests): Run only when not cross-compiling and
38198 when fast-check is not defined.
38200 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38201 * conform/data/limits.h-data: Fixes for POSIX2008.
38202 * conform/run-conformtest.sh: Run all tests.
38203 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38205 * include/bits/dlfcn.h: Likewise.
38206 * include/langinfo.h: Likewise.
38207 * include/monetary.h: Likewise.
38208 * include/sys/poll.h: Likewise.
38210 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38212 * posix/spawn.h: Define __need_sigset_t.
38213 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38214 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38215 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38216 to get sigevent_t only.
38217 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38218 only for __USE_GNU.
38219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38220 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38221 process_vm_writev only for __USE_GNU.
38222 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38224 * conform/Makefile: For now ignore errors from run-conformtest.
38225 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38226 POSIX to avoid namespace pollution. Don't prepend headers.
38227 * conform/data/aio.h-data: Fixes for POSIX testing.
38228 * conform/data/fcntl.h-data: Likewise.
38229 * conform/data/glob.h-data: Likewise.
38230 * conform/data/grp.h-data: Likewise.
38231 * conform/data/pthread.h-data: Likewise.
38232 * conform/data/pwd.h-data: Likewise.
38233 * conform/data/signal.h-data: Likewise.
38234 * conform/data/spawn.h-data: Likewise.
38235 * conform/data/stdio.h-data: Likewise.
38236 * conform/data/stdlib.h-data: Likewise.
38237 * conform/data/stropts.h-data: Likewise.
38238 * conform/data/sys/mman.h-data: Likewise.
38239 * conform/data/sys/stat.h-data: Likewise.
38240 * conform/data/sys/types.h-data: Likewise.
38241 * conform/data/sys/wait.h-data: Likewise.
38242 * conform/data/time.h-data: Likewise.
38243 * conform/data/unistd.h-data: Likewise.
38244 * conform/data/utime.h-data: Likewise.
38246 * io/sys/stat.h: fchmod was always in POSIX.
38247 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38248 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38249 * rt/aio.h: Define __need_timespec before including <time.h>.
38250 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38251 struct. Add forward declaration of pthread_attr_t and use it in
38253 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38254 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38255 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38256 always remove CLK_TCK definition.
38258 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38260 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38262 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38264 * conform/run-conformtest.sh: New file.
38265 * conform/Makefile: Run run-conformtest for tests.
38266 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38269 * conform/data/uchar.h-data: New file.
38270 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38271 * conform/data/arpa/inet.h-data: Likewise.
38272 * conform/data/assert.h-data: Likewise.
38273 * conform/data/complex.h-data: Likewise.
38274 * conform/data/cpio.h-data: Likewise.
38275 * conform/data/ctype.h-data: Likewise.
38276 * conform/data/dirent.h-data: Likewise.
38277 * conform/data/dlfcn.h-data: Likewise.
38278 * conform/data/errno.h-data: Likewise.
38279 * conform/data/fcntl.h-data: Likewise.
38280 * conform/data/float.h-data: Likewise.
38281 * conform/data/fmtmsg.h-data: Likewise.
38282 * conform/data/fnmatch.h-data: Likewise.
38283 * conform/data/ftw.h-data: Likewise.
38284 * conform/data/glob.h-data: Likewise.
38285 * conform/data/grp.h-data: Likewise.
38286 * conform/data/iconv.h-data: Likewise.
38287 * conform/data/inttypes.h-data: Likewise.
38288 * conform/data/langinfo.h-data: Likewise.
38289 * conform/data/libgen.h-data: Likewise.
38290 * conform/data/limits.h-data: Likewise.
38291 * conform/data/locale.h-data: Likewise.
38292 * conform/data/math.h-data: Likewise.
38293 * conform/data/monetary.h-data: Likewise.
38294 * conform/data/mqueue.h-data: Likewise.
38295 * conform/data/ndbm.h-data: Likewise.
38296 * conform/data/net/if.h-data: Likewise.
38297 * conform/data/netdb.h-data: Likewise.
38298 * conform/data/netinet/in.h-data: Likewise.
38299 * conform/data/nl_types.h-data: Likewise.
38300 * conform/data/poll.h-data: Likewise.
38301 * conform/data/pthread.h-data: Likewise.
38302 * conform/data/pwd.h-data: Likewise.
38303 * conform/data/regex.h-data: Likewise.
38304 * conform/data/sched.h-data: Likewise.
38305 * conform/data/search.h-data: Likewise.
38306 * conform/data/semaphore.h-data: Likewise.
38307 * conform/data/setjmp.h-data: Likewise.
38308 * conform/data/signal.h-data: Likewise.
38309 * conform/data/spawn.h-data: Likewise.
38310 * conform/data/stdarg.h-data: Likewise.
38311 * conform/data/stdio.h-data: Likewise.
38312 * conform/data/stdlib.h-data: Likewise.
38313 * conform/data/string.h-data: Likewise.
38314 * conform/data/strings.h-data: Likewise.
38315 * conform/data/stropts.h-data: Likewise.
38316 * conform/data/sys/ipc.h-data: Likewise.
38317 * conform/data/sys/mman.h-data: Likewise.
38318 * conform/data/sys/msg.h-data: Likewise.
38319 * conform/data/sys/resource.h-data: Likewise.
38320 * conform/data/sys/select.h-data: Likewise.
38321 * conform/data/sys/sem.h-data: Likewise.
38322 * conform/data/sys/shm.h-data: Likewise.
38323 * conform/data/sys/socket.h-data: Likewise.
38324 * conform/data/sys/stat.h-data: Likewise.
38325 * conform/data/sys/statvfs.h-data: Likewise.
38326 * conform/data/sys/time.h-data: Likewise.
38327 * conform/data/sys/timeb.h-data: Likewise.
38328 * conform/data/sys/times.h-data: Likewise.
38329 * conform/data/sys/types.h-data: Likewise.
38330 * conform/data/sys/uio.h-data: Likewise.
38331 * conform/data/sys/un.h-data: Likewise.
38332 * conform/data/sys/utsname.h-data: Likewise.
38333 * conform/data/sys/wait.h-data: Likewise.
38334 * conform/data/syslog.h-data: Likewise.
38335 * conform/data/tar.h-data: Likewise.
38336 * conform/data/termios.h-data: Likewise.
38337 * conform/data/utime.h-data: Likewise.
38338 * conform/data/utmpx.h-data: Likewise.
38339 * conform/data/varargs.h-data: Likewise.
38340 * conform/data/wchar.h-data: Likewise.
38341 * conform/data/wctype.h-data: Likewise.
38342 * conform/data/wordexp.h-data: Likewise.
38344 * include/stropts.h: New file.
38345 * include/uchar.h: New file.
38346 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38347 * include/assert.h: Likewise.
38348 * include/ctype.h: Likewise.
38349 * include/dirent.h: Likewise.
38350 * include/dlfcn.h: Likewise.
38351 * include/fcntl.h: Likewise.
38352 * include/fnmatch.h: Likewise.
38353 * include/glob.h: Likewise.
38354 * include/grp.h: Likewise.
38355 * include/libio.h: Likewise.
38356 * include/locale.h: Likewise.
38357 * include/math.h: Likewise.
38358 * include/net/if.h: Likewise.
38359 * include/netdb.h: Likewise.
38360 * include/netinet/in.h: Likewise.
38361 * include/pthread.h: Likewise.
38362 * include/pwd.h: Likewise.
38363 * include/regex.h: Likewise.
38364 * include/sched.h: Likewise.
38365 * include/search.h: Likewise.
38366 * include/setjmp.h: Likewise.
38367 * include/signal.h: Likewise.
38368 * include/stdio.h: Likewise.
38369 * include/stdlib.h: Likewise.
38370 * include/string.h: Likewise.
38371 * include/sys/cdefs.h: Likewise.
38372 * include/sys/mman.h: Likewise.
38373 * include/sys/msg.h: Likewise.
38374 * include/sys/resource.h: Likewise.
38375 * include/sys/select.h: Likewise.
38376 * include/sys/socket.h: Likewise.
38377 * include/sys/stat.h: Likewise.
38378 * include/sys/statvfs.h: Likewise.
38379 * include/sys/time.h: Likewise.
38380 * include/sys/times.h: Likewise.
38381 * include/sys/uio.h: Likewise.
38382 * include/sys/utsname.h: Likewise.
38383 * include/sys/wait.h: Likewise.
38384 * include/termios.h: Likewise.
38385 * include/time.h: Likewise.
38386 * include/ulimit.h: Likewise.
38387 * include/unistd.h: Likewise.
38388 * include/utime.h: Likewise.
38389 * include/wchar.h: Likewise.
38390 * include/wctype.h: Likewise.
38391 * include/wordexp.h: Likewise.
38393 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38395 * time/time.h: TIME_UTC must be a macro.
38396 Make timespec_get available for ISO C11 only as well.
38398 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38400 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38401 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38403 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38405 * configure.in: Use -o not -a in test for unsupported multi-arch.
38407 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38409 * manual/texinfo.tex: Update to version 2012-01-19.16.
38411 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38413 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38415 2012-02-24 Roland McGrath <roland@hack.frob.com>
38418 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38419 * manual/fdl-1.3.texi: New file.
38420 * manual/fdl-1.1.texi: File removed.
38423 * manual/libc.texinfo (FDL_VERSION): New @set.
38424 Use it for mention of FDL in cover text.
38425 (Documentation License): Use it in @include file name.
38427 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38428 Roland McGrath <roland@hack.frob.com>
38431 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38432 (not LONG_LONG_MAX and LONG_LONG_MIN.
38433 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38434 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38436 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38438 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38442 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38443 manipulate bits before adding and subtracting TWO23[sx].
38444 * math/libm-test.inc (nearbyint_test): Add more tests.
38446 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38449 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38450 bits before adding and subtracting TWO23[sx].
38451 * math/libm-test.inc (rint_test): Add more tests.
38452 (rint_test_tonearest): Likewise.
38453 (rint_test_towardzero): Likewise.
38454 (rint_test_downward): Likewise.
38455 (rint_test_upward: Likewise.
38457 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38460 * include/stdc-predef.h: New file. Extracted from features.h.
38461 * include/features.h: Include stdc-predef.h.
38462 * Makefile (headers): Add stdc-predef.h.
38463 * CONFORMANCE (Compiler limitations): Update.
38465 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38467 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38469 2012-02-21 David S. Miller <davem@davemloft.net>
38471 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38472 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38474 2012-02-20 David S. Miller <davem@davemloft.net>
38476 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38477 using a normal save/restore sequence, rather than allocating a
38478 dummy stack frame just to store a frame pointer and restore.
38479 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38481 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38483 * manual/install.texi: Fix stray word in line-wrapped comment.
38485 2012-02-20 David S. Miller <davem@davemloft.net>
38487 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38488 both binutils and gcc support GOTDATA.
38490 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38491 "rd %pc" in the PIC register setup sequences.
38493 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38494 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38495 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38496 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38497 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38499 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38500 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38501 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38502 (SYSCALL_ERROR_HANDLER): Likewise.
38503 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38504 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38506 (SYSCALL_ERROR_HANDLER): Likewise.
38508 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38509 (HAVE_GCC_GOTDATA): New.
38510 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38511 relocation support in both binutils and gcc.
38512 * sysdeps/sparc/elf/configure: Regenerate.
38514 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38515 * sysdeps/sparc/sparc32/elf/configure: Delete.
38516 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38517 * sysdeps/sparc/sparc64/elf/configure: Delete.
38518 * sysdeps/sparc/elf/configure.in: New file.
38519 * sysdeps/sparc/elf/configure: Generate.
38521 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38522 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38523 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38524 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38525 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38527 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38529 * manual/install.texi: Do not mention specific glibc version
38531 * manual/libc.texinfo (VERSION, UPDATED): Update.
38532 (@copying): Use @copyright{} and range of years.
38534 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38537 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38538 [crti.S not in sysdirs] (generated): Do not append.
38539 [crti.S not in sysdirs] (omit-deps): Likewise.
38540 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38541 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38542 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38543 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38544 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38546 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38547 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38548 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38549 * csu/defs.awk: Remove file.
38550 * sysdeps/generic/initfini.c: Likewise.
38551 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38553 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38556 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38558 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38559 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38560 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38561 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38562 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38563 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38565 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38566 (__EPOLL_PACKED): Define to empty if not defined by
38568 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38572 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38574 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38575 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38576 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38577 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38579 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38583 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38585 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38587 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38588 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38589 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38592 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38594 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38595 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38597 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38599 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38600 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38602 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38604 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38607 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38609 * math/w_acos.c: Use non-signaling floating-point comparisons.
38610 * math/w_acosf.c: Likewise.
38611 * math/w_acosh.c: Likewise.
38612 * math/w_acoshf.c: Likewise.
38613 * math/w_acoshl.c: Likewise.
38614 * math/w_acosl.c: Likewise.
38615 * math/w_asin.c: Likewise.
38616 * math/w_asinf.c: Likewise.
38617 * math/w_asinl.c: Likewise.
38618 * math/w_atanh.c: Likewise.
38619 * math/w_atanhf.c: Likewise.
38620 * math/w_atanhl.c: Likewise.
38621 * math/w_exp2.c: Likewise.
38622 * math/w_exp2f.c: Likewise.
38623 * math/w_exp2l.c: Likewise.
38624 * math/w_j0.c: Likewise.
38625 * math/w_j0f.c: Likewise.
38626 * math/w_j0l.c: Likewise.
38627 * math/w_j1.c: Likewise.
38628 * math/w_j1f.c: Likewise.
38629 * math/w_j1l.c: Likewise.
38630 * math/w_jn.c: Likewise.
38631 * math/w_jnf.c: Likewise.
38632 * math/w_log.c: Likewise.
38633 * math/w_log10.c: Likewise.
38634 * math/w_log10f.c: Likewise.
38635 * math/w_log10l.c: Likewise.
38636 * math/w_log2.c: Likewise.
38637 * math/w_log2f.c: Likewise.
38638 * math/w_log2l.c: Likewise.
38639 * math/w_logf.c: Likewise.
38640 * math/w_logl.c: Likewise.
38641 * math/w_sqrt.c: Likewise.
38642 * math/w_sqrtf.c: Likewise.
38643 * math/w_sqrtl.c: Likewise.
38644 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38645 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38646 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38647 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38648 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38650 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38653 * manual/string.texi (strnlen): Use correct parameter name in
38654 equivalent expression.
38656 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38659 * manual/users.texi (seteuid): Consistently use neweuid for
38662 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38665 * manual/nss.texi (Services in the NSS configuration): Correct
38666 list of services in example configuration file.
38668 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38671 * manual/arith.texi: Remove statements about negative zero
38672 behaving identically to zero.
38674 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38677 * manual/install.texi: Do not document upgrading from libc5.
38679 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38682 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38684 2012-02-18 David S. Miller <davem@davemloft.net>
38686 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38687 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38688 %o7 across the call.
38689 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38691 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38692 SETUP_PIC_REG_LEAF.
38693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38694 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38695 * sysdeps/sparc/crtn.S: Likewise.
38697 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38699 * aout/Makefile: Remove.
38701 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38704 * manual/examples/argp-ex1.c (main): Format definition in GNU
38706 * manual/examples/argp-ex2.c (main): Likewise.
38707 * manual/examples/argp-ex3.c (main): Likewise.
38708 * manual/examples/argp-ex4.c (main): Likewise.
38709 * manual/examples/longopt.c (main): Use new-style prototype
38711 * manual/examples/strncat.c (main): Specify return type and use
38712 (void) for arguments.
38713 * manual/examples/subopt.c (main): Use char **argv argument.
38715 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38718 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38721 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38724 * manual/string.texi (strchr): Change when strchrnul is
38727 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38730 * manual/locale.texi (setlocale): Document LOCPATH.
38732 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38735 * manual/process.texi (execle): Move @dots{} before last argument.
38737 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38740 * manual/charset.texi (Generic Charset Conversion): Fix typo
38741 (LC_TYPE -> LC_CTYPE).
38743 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38746 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38747 (scalbnf): Likewise.
38748 (scalbnl): Likewise.
38749 (scalbln): Likewise.
38750 (scalblnf): Likewise.
38751 (scalblnl): Likewise.
38752 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38753 (vwarnx): Likewise.
38756 * manual/filesys.texi (telldir): Use braces around return type.
38757 * manual/llio.texi (mmap): Add space after comma.
38758 (mmap64): Likewise.
38759 * manual/math.texi (jn): Use @var{} on parameter names.
38765 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38767 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38769 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38770 (sched_get_priority_max): Likewise.
38771 * manual/signal.texi (sigvec): Add space after comma.
38772 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38774 (if_indextoname): Likewise.
38775 (if_freenameindex): Likewise.
38776 (sendto): Use ',' instead of '.' in prototype.
38777 * manual/startup.texi (syscall): Use @dots{} instead of literal
38779 * manual/stdio.texi (__fpending): Separate initial words of
38780 paragraph from @deftypefun line.
38781 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38783 (vsyslog): Use @var{} on parameter names.
38784 * manual/terminal.texi (stty): Use @var{} on parameter names.
38785 * manual/users.texi (getutmp): Use @var{} on parameter names.
38786 (getutmpx): Likewise.
38788 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38791 * manual/stdio.texi (fopen): Fix typos in description of
38794 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38797 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38798 get clock_id definition.
38800 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38803 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38804 (madvise): Cast every argument to void on its own.
38806 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38809 * manual/startup.texi (Exit Status): Fix typo.
38811 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38814 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38815 * manual/examples/argp-ex2.c: Likewise.
38816 * manual/examples/argp-ex3.c: Likewise.
38818 2012-02-16 Richard Henderson <rth@redhat.com>
38820 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38821 * sysdeps/s390/s390-32/initfini.c: Remove.
38822 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38823 * sysdeps/s390/s390-64/initfini.c: Remove.
38825 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38827 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38828 compiler output for sysdeps/generic/initfini.c.
38829 * sysdeps/sh/elf/initfini.c: Remove file.
38831 2012-02-16 David S. Miller <davem@davemloft.net>
38834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38836 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38837 * sysdeps/sparc/crti.S: New file.
38838 * sysdeps/sparc/crtn.S: New file.
38839 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38840 * sysdeps/sparc/sparc64/Makefile: Likewise.
38842 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38845 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38847 2012-02-15 Roland McGrath <roland@hack.frob.com>
38850 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38852 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38853 (write, read, close): Likewise.
38854 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38856 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38858 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38859 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38860 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38861 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38863 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38867 2012-02-14 Marek Polacek <polacek@redhat.com>
38869 * sysdeps/x86_64/crti.S: New file.
38870 * sysdeps/x86_64/crtn.S: New file.
38871 * sysdeps/x86_64/elf/initfini.c: Remove file.
38873 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38875 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38876 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38877 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38878 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38880 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38884 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38886 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38887 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38888 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38889 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38891 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38895 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38897 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38898 __feraiseexcept instead of feraiseexcept.
38900 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38901 nanosleep invocations.
38902 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38903 strings, and add error checking for a nanosleep invocations.
38905 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38907 Replace FSF snail mail address with URLs, as per GNU coding standards.
38908 Most of the snail mail addresses were wrong anyway, and omitting
38909 them makes the source code easier to maintain. Almost all of the
38910 changes are to license notices and to locale LC_IDENTIFICATION
38911 addresses, except for this one:
38912 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38913 not its snail mail address.
38915 2012-02-09 Richard Henderson <rth@twiddle.net>
38917 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38918 of kernel-features.h.
38920 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38922 2012-02-08 Marek Polacek <polacek@redhat.com>
38924 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38925 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38926 * sysdeps/gnu/_G_config.h: Likewise.
38927 * sysdeps/generic/_G_config.h: Likewise.
38929 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38931 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38935 * sysdeps/powerpc/powerpc32/crti.S: New file.
38936 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38937 * sysdeps/powerpc/powerpc64/crti.S: New file.
38938 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38940 * Makeconfig (have-initfini): Don't set.
38941 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38942 * configure.in (nopic_initfini): Don't substitute.
38943 * config.h.in (HAVE_INITFINI): Don't #undef.
38944 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38945 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38947 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38949 Support crti.S and crtn.S provided directly by architectures.
38950 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38951 [crti.S in sysdirs] (omit-deps): Likewise.
38952 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38953 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38954 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38955 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38956 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38957 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38958 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38959 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38960 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38961 compiler output for sysdeps/generic/initfini.c.
38962 * sysdeps/i386/elf/Makefile: Remove file.
38963 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38965 2012-02-07 Marek Polacek <polacek@redhat.com>
38967 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38968 * sysdeps/gnu/_G_config.h: Likewise.
38969 * sysdeps/mach/hurd/_G_config.h: Likewise.
38971 2012-02-07 Marek Polacek <polacek@redhat.com>
38973 * math/Makefile (tests): Add tst-CMPLX2.
38974 * math/tst-CMPLX2.c: New file.
38976 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38978 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38980 * math/libm-test.inc (jn_test): Add missing L suffix.
38982 2012-02-06 Marek Polacek <polacek@redhat.com>
38984 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38985 * sysdeps/i386/fpu/e_powf.S: Likewise.
38986 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38987 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38988 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38989 * sysdeps/i386/fpu/e_pow.S: Likewise.
38990 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38991 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38992 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38993 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38994 * sysdeps/i386/fpu/e_log2.S: Likewise.
38995 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38996 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38997 * sysdeps/i386/fpu/e_powl.S: Likewise.
38998 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38999 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39000 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39001 * sysdeps/i386/fpu/e_logl.S: Likewise.
39002 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39003 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39004 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39005 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39006 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39007 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39008 * sysdeps/i386/fpu/e_log.S: Likewise.
39009 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39010 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39011 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39012 * sysdeps/i386/fpu/e_logf.S: Likewise.
39013 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39014 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39015 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39016 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39017 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39018 * sysdeps/i386/fpu/e_log10.S: Likewise.
39019 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39020 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39021 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39022 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39023 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39024 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39025 * sysdeps/i386/asm-syntax.h: Likewise.
39026 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39027 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39028 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39029 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39030 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39031 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39032 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39033 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39034 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39035 * sysdeps/powerpc/sysdep.h: Likewise.
39036 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39037 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39039 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39042 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39044 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39046 * sysdeps/i386/sysdep.h: Include <features.h>.
39047 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39050 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39052 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39054 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39057 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39059 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39060 (SETUP_PIC_REG): Use GET_PC_THUNK.
39061 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39064 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39066 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39067 for non-PIC compilation.
39068 (SETUP_PIC_REG): Add .p2align directive.
39069 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39070 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39071 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39072 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39073 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39074 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39075 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39076 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39077 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39078 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39079 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39080 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39081 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39082 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39083 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39084 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39085 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39086 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39087 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39088 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39089 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39090 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39091 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39092 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39093 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39094 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39095 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39096 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39097 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39098 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39099 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39100 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39101 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39102 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39103 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39104 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39105 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39106 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39107 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39108 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39109 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39111 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39113 * math/tst-CMPLX.c: Include <stdio.h>.
39115 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39117 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39119 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39120 * sysdeps/sparc/bits/mathdef.h: Likewise.
39122 2012-01-31 Marek Polacek <polacek@redhat.com>
39124 * libio/libio.h: Don't define _PARAMS.
39125 * locale/programs/config.h: Don't define PARAMS.
39126 * stdlib/strtol_l.c: Likewise.
39127 (__strtol_l): Remove PARAMS from the prototype.
39129 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39131 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39132 names. Just use the correct names. Remove unnecessary wrapper
39134 * malloc/arena.c: Likewise.
39135 * malloc/hooks.c: Likewise.
39137 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39138 ARENA_TEST says not to. Simplify test for creation of a new arena.
39139 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39141 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39143 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39145 (update_get_addr): New function.
39146 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39147 GET_ADDR_MODULE parameter.
39149 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39151 * crypt/cert.c: Remove __STDC__ conditionals.
39152 * crypt/crypt-entry.c: Likewise.
39153 * crypt/crypt_util.c: Likewise.
39154 * libio/filedoalloc.c: Likewise.
39155 * libio/fileops.c: Likewise.
39156 * libio/genops.c: Likewise.
39157 * libio/iofclose.c: Likewise.
39158 * libio/iofdopen.c: Likewise.
39159 * libio/iofopen.c: Likewise.
39160 * libio/iofopen64.c: Likewise.
39161 * libio/iogetdelim.c: Likewise.
39162 * libio/iopopen.c: Likewise.
39163 * libio/obprintf.c: Likewise.
39164 * libio/oldfileops.c: Likewise.
39165 * libio/oldiofclose.c: Likewise.
39166 * libio/oldiofdopen.c: Likewise.
39167 * libio/oldiofopen.c: Likewise.
39168 * libio/oldiopopen.c: Likewise.
39169 * libio/wfiledoalloc.c: Likewise.
39170 * libio/wgenops.c: Likewise.
39171 * locale/programs/xmalloc.c: Likewise.
39172 * misc/syslog.c: Likewise.
39173 * stdio-common/xbug.c: Likewise.
39174 * string/memchr.c: Likewise.
39175 * string/memcmp.c: Likewise.
39176 * string/memrchr.c: Likewise.
39177 * string/rawmemchr.c: Likewise.
39178 * sysdeps/posix/getcwd.c: Likewise.
39179 * time/strftime_l.c: Likewise.
39181 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39183 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39184 * config.make.in (config-cflags-sse2avx): Define.
39185 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39188 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39190 * scripts/config.guess: Update from upstream config git repository.
39191 * scripts/config.sub: Likewise.
39193 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39195 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39197 (R_TILEPRO_*, R_TILEGX_*): New macros.
39199 * scripts/firstversions.awk: Fix bug in version range handling.
39201 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39203 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39205 * include/sys/epoll.h: New file.
39206 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39209 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39211 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39212 Avoid unnecessary __WORDSIZE == 64 test.
39213 (fmaxf): Use VEX format if possible.
39218 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39219 * math/math_private.h: Remove libc_fegetround* and
39221 * sysdeps/i386/configure.in: Check for -msse2avx.
39222 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39223 also if SSE2AVX is defined.
39224 Remove libc_fegetround* and libc_fesetround*.
39225 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39226 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39227 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39229 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39230 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39231 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39232 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39233 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39235 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39237 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39239 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39241 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39243 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39246 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39248 * Makeconfig (libm): Define.
39249 * elf/Makefile: Add rules to build and run tst-relsort1.
39250 * elf/tst-relsort1.c: New file.
39251 * elf/tst-relsort1mod1.c: New file.
39252 * elf/tst-relsort1mod2.c: New file.
39254 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39256 * math/s_ldexp.c: Remove __STDC__ conditionals.
39257 * math/s_ldexpf.c: Likewise.
39258 * math/s_ldexpl.c: Likewise.
39259 * math/s_nextafter.c: Likewise.
39260 * math/s_nexttowardf.c: Likewise.
39261 * math/s_significand.c: Likewise.
39262 * math/s_significandf.c: Likewise.
39263 * math/s_significandl.c: Likewise.
39264 * math/w_jnl.c: Likewise.
39265 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39266 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39267 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39268 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39269 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39270 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39271 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39272 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39273 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39274 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39275 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39276 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39277 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39278 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39279 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39280 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39281 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39282 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39283 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39284 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39285 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39286 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39287 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39288 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39289 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39290 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39291 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39292 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39293 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39294 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39295 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39296 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39297 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39298 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39299 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39300 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39301 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39302 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39303 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39304 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39305 * sysdeps/ieee754/k_standard.c: Likewise.
39306 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39307 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39308 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39309 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39310 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39311 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39312 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39313 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39314 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39315 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39316 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39317 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39318 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39319 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39320 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39321 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39322 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39323 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39324 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39325 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39326 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39327 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39328 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39329 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39331 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39332 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39333 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39334 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39335 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39336 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39337 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39338 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39339 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39340 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39341 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39342 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39344 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39345 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39346 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39348 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39349 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39350 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39351 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39352 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39353 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39354 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39355 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39356 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39357 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39358 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39359 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39360 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39361 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39362 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39363 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39364 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39365 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39366 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39367 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39368 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39369 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39370 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39371 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39372 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39373 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39374 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39375 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39376 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39377 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39378 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39379 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39380 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39381 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39382 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39383 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39384 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39385 * sysdeps/ieee754/s_matherr.c: Likewise.
39386 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39387 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39388 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39391 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39393 * crypt/md5.h: Remove __STDC__ conditionals.
39394 * libio/libioP.h: Likewise.
39395 * locale/programs/config.h: Likewise.
39396 * sysdeps/generic/sysdep.h: Likewise.
39397 * sysdeps/i386/asm-syntax.h: Likewise.
39398 * sysdeps/s390/asm-syntax.h: Likewise.
39399 * sysdeps/unix/sysdep.h: Likewise.
39400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39403 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39405 * libio/libio.h: Remove __STDC__ conditionals.
39406 * malloc/obstack.h: Likewise.
39407 * math/complex.h: Likewise.
39408 * math/math.h: Likewise.
39409 * sysdeps/generic/_G_config.h: Likewise.
39410 * sysdeps/gnu/_G_config.h: Likewise.
39411 * sysdeps/mach/hurd/_G_config.h: Likewise.
39412 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39413 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39414 * sysdeps/sparc/bits/mathdef.h: Likewise.
39416 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39419 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39420 Clean up HAS_* macros.
39421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39422 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39424 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39426 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39427 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39428 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39429 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39430 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39432 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39434 * elf/tst-unique3.cc (gets): Remove declaration.
39435 * elf/tst-unique3lib.cc (gets): Likewise.
39436 * elf/tst-unique3lib2.cc (gets): Likewise.
39437 * elf/tst-unique4.cc (gets): Likewise.
39439 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39441 * include/stdio.h: Add C++ protection. Add gets declarations and
39443 * debug/tst-chk1.c: Don't declare gets here.
39444 * stdio-common/tst-gets.c: Likewise.
39446 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39448 * posix/glob: Remove directory.
39450 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39452 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39454 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39456 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39457 of the non-standard EPFNOSUPPORT.
39459 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39461 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39462 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39463 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39465 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39467 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39469 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39471 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39473 * nscd/grpcache.c (cache_addgr): Likewise.
39474 * nscd/hstcache.c (cache_addhst): Likewise.
39475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39476 * nscd/pwdcache.c (cache_addpw): Likewise.
39477 * nscd/servicescache.c (cache_addserv): Likewise.
39479 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39481 * malloc/malloc.c: Various cleanups.
39482 * malloc/hooks.c: Likewise.
39484 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39485 * stdlib/bug-fmtmsg1.c: New file.
39487 * stdlib/fmtmsg.c (init): Add missing unlock.
39488 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39490 2012-01-12 Marek Polacek <polacek@redhat.com>
39492 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39495 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39497 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39498 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39499 macro to ensure uniqueness of label name.
39500 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39501 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39503 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39505 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39507 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39508 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39509 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39510 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39512 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39514 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39516 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39517 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39518 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39520 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39522 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39523 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39524 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39527 * math/bits/math-finite.h: Add ldexp support.
39529 2012-01-10 Marek Polacek <polacek@redhat.com>
39531 * locale/programs/localedef.h (show_archive_content): Add noreturn
39534 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39536 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39538 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39540 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39542 * io/Makefile (headers): Add bits/poll2.h.
39544 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39547 typo #include statement.
39549 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39551 * include/sys/cdefs.h: Define __attribute_alloc_size.
39552 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39553 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39554 * elf/pldd.c: Likewise.
39555 * iconv/iconv_charmap.c: Likewise.
39556 * iconv/iconvconfig.c: Likewise.
39557 * iconv/strtab.c: Likewise.
39558 * locale/programs/locale.c: Likewise.
39559 * locale/programs/localedef.h: Likewise.
39560 * locale/programs/simple-hash.c: Likewise.
39561 * nscd/nscd.h: Likewise.
39562 * nss/makedb.c: Likewise.
39563 * sysdeps/generic/ldconfig.h: Likewise.
39564 * locale/programs/localedef.c: Remove xmalloc prototype.
39565 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39567 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39569 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39572 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39574 * math/Makefile (tests): Add tst-CMPLX.
39575 * math/tst-CMPLX.c: New file.
39577 * math/complex.h (CMPLXL): Fix typo.
39579 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39580 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39582 * debug/tst-chk1.c: Add poll and ppoll tests.
39583 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39584 * include/sys/poll.h: Add hidden proto for ppoll.
39585 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39586 * sysdeps/mach/hurd/ppoll.c: Likewise.
39587 * io/ppoll.c: Likewise.
39588 * debug/poll_chk.c: New file.
39589 * debug/ppoll_chk.c: New file.
39590 * include/bits/poll2.h: New file.
39591 * io/bits/poll2.h: New file.
39594 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39596 * configure.in: static is always set to yes. Remove.
39597 * config.make.in: Don't set build-static.
39598 * Makeconfig: Remove use of build-static.
39599 * dlfcn/Makefile: Likewise.
39600 * elf/Makefile: Likewise.
39601 * math/Makefile: Likewise.
39602 * misc/Makefile: Likewise.
39603 * nptl/Makefile: Likewise.
39604 * sysdeps/mach/hurd/Makefile: Likewise.
39606 * configure.in: PWD_P is not used anymore.
39607 * config.make.in: Remove PWD_P entry.
39609 * configure.in: Remove last remnants of RANLIB.
39610 No need to check for signed size_t anymore.
39611 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39613 Remove __builtin_expect test because we require at least gcc 3.4.
39614 * aclocal.m4: Likewise.
39616 * wcsmbs/mbrtoc16.c: Implement using towc function.
39617 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39618 * wcsmbs/wcsmbsload.c: Likewise.
39619 * iconv/gconv_simple.c: Likewise.
39620 * iconv/gconv_int.h: Likewise.
39621 * iconv/gconv_builtin.h: Likewise.
39622 * iconv/iconv_prog.c: Remove CHAR16 handling.
39624 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39626 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39628 * configure.in: Remove --with-elf and --enable-bounded options.
39629 Dont set base_machine for ia64. More non-ELF conditions removed.
39630 Remove testing and setting of leading underscore information.
39631 * config.make.in (build-bounded): Set to no.
39632 * config.h.in: Remove NO_UNDERSCORES entry.
39633 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39635 * csu/start.c: Remove !NO_UNDERSCORE code.
39636 * locale/localeinfo.h: Likewise.
39637 * sysdeps/generic/machine-gmon.h: Likewise.
39638 * sysdeps/generic/sysdep.h: Likewise.
39639 * sysdeps/i386/sysdep.h: Likewise.
39640 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39641 * sysdeps/mach/sysdep.h: Likewise.
39642 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39643 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39644 * sysdeps/sh/sysdep.h: Likewise.
39645 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39646 * sysdeps/unix/i386/sysdep.S: Likewise.
39647 * sysdeps/unix/sparc/start.c: Likewise.
39648 * sysdeps/unix/sparc/sysdep.S: Likewise.
39649 * sysdeps/unix/sparc/sysdep.h: Likewise.
39650 * sysdeps/unix/start.c: Likewise.
39651 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39652 * sysdeps/x86_64/sysdep.h: Likewise.
39654 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39657 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39659 * argp/argp-fmtstream.h: Use const instead __const.
39660 * argp/argp.h: Likewise.
39661 * assert/assert.h: Likewise.
39662 * bits/fenv.h: Likewise.
39663 * bits/sched.h: Likewise.
39664 * bits/sigset.h: Likewise.
39665 * bits/sigthread.h: Likewise.
39666 * catgets/nl_types.h: Likewise.
39667 * conform/data/pthread.h-data: Likewise.
39668 * crypt/crypt-private.h: Likewise.
39669 * crypt/crypt.h: Likewise.
39670 * crypt/crypt_util.c: Likewise.
39671 * ctype/ctype.h: Likewise.
39672 * debug/execinfo.h: Likewise.
39673 * debug/mbsnrtowcs_chk.c: Likewise.
39674 * debug/mbsrtowcs_chk.c: Likewise.
39675 * debug/wcsnrtombs_chk.c: Likewise.
39676 * debug/wcsrtombs_chk.c: Likewise.
39677 * debug/wcstombs_chk.c: Likewise.
39678 * dirent/dirent.h: Likewise.
39679 * dlfcn/dlfcn.h: Likewise.
39680 * elf/neededtest4.c: Likewise.
39681 * grp/grp.h: Likewise.
39682 * gshadow/gshadow.h: Likewise.
39683 * iconv/gconv.h: Likewise.
39684 * iconv/gconv_int.h: Likewise.
39685 * iconv/gconv_simple.c: Likewise.
39686 * iconv/iconv.h: Likewise.
39687 * iconv/loop.c: Likewise.
39688 * iconv/skeleton.c: Likewise.
39689 * include/aio.h: Likewise.
39690 * include/aliases.h: Likewise.
39691 * include/argz.h: Likewise.
39692 * include/arpa/inet.h: Likewise.
39693 * include/assert.h: Likewise.
39694 * include/dirent.h: Likewise.
39695 * include/dlfcn.h: Likewise.
39696 * include/execinfo.h: Likewise.
39697 * include/fcntl.h: Likewise.
39698 * include/fenv.h: Likewise.
39699 * include/glob.h: Likewise.
39700 * include/grp.h: Likewise.
39701 * include/libintl.h: Likewise.
39702 * include/mntent.h: Likewise.
39703 * include/netdb.h: Likewise.
39704 * include/pwd.h: Likewise.
39705 * include/rpc/netdb.h: Likewise.
39706 * include/sched.h: Likewise.
39707 * include/search.h: Likewise.
39708 * include/shadow.h: Likewise.
39709 * include/signal.h: Likewise.
39710 * include/stdio.h: Likewise.
39711 * include/stdlib.h: Likewise.
39712 * include/string.h: Likewise.
39713 * include/sys/socket.h: Likewise.
39714 * include/sys/stat.h: Likewise.
39715 * include/sys/statfs.h: Likewise.
39716 * include/sys/statvfs.h: Likewise.
39717 * include/sys/syslog.h: Likewise.
39718 * include/sys/time.h: Likewise.
39719 * include/sys/uio.h: Likewise.
39720 * include/time.h: Likewise.
39721 * include/unistd.h: Likewise.
39722 * include/utmp.h: Likewise.
39723 * include/wchar.h: Likewise.
39724 * include/wctype.h: Likewise.
39725 * inet/aliases.h: Likewise.
39726 * inet/arpa/inet.h: Likewise.
39727 * inet/netinet/ether.h: Likewise.
39728 * inet/netinet/in.h: Likewise.
39729 * intl/libintl.h: Likewise.
39730 * io/bits/fcntl2.h: Likewise.
39731 * io/fcntl.h: Likewise.
39732 * io/ftw.h: Likewise.
39733 * io/sys/poll.h: Likewise.
39734 * io/sys/stat.h: Likewise.
39735 * io/sys/statfs.h: Likewise.
39736 * io/sys/statvfs.h: Likewise.
39737 * io/utime.h: Likewise.
39738 * libio/bits/stdio.h: Likewise.
39739 * libio/bits/stdio2.h: Likewise.
39740 * libio/libio.h: Likewise.
39741 * libio/libioP.h: Likewise.
39742 * libio/stdio.h: Likewise.
39743 * locale/lc-ctype.c: Likewise.
39744 * locale/locale.h: Likewise.
39745 * login/utmp.h: Likewise.
39746 * malloc/arena.c: Likewise.
39747 * malloc/malloc.c: Likewise.
39748 * malloc/malloc.h: Likewise.
39749 * malloc/mcheck.c: Likewise.
39750 * malloc/mtrace.c: Likewise.
39751 * math/bits/mathcalls.h: Likewise.
39752 * math/fenv.h: Likewise.
39753 * math/math_private.h: Likewise.
39754 * misc/bits/error.h: Likewise.
39755 * misc/bits/syslog.h: Likewise.
39756 * misc/err.h: Likewise.
39757 * misc/error.h: Likewise.
39758 * misc/fstab.h: Likewise.
39759 * misc/mntent.h: Likewise.
39760 * misc/regexp.h: Likewise.
39761 * misc/search.h: Likewise.
39762 * misc/sgtty.h: Likewise.
39763 * misc/sys/mman.h: Likewise.
39764 * misc/sys/syslog.h: Likewise.
39765 * misc/sys/uio.h: Likewise.
39766 * misc/sys/xattr.h: Likewise.
39767 * misc/ttyent.h: Likewise.
39768 * nis/rpcsvc/ypclnt.h: Likewise.
39769 * nss/nss.h: Likewise.
39770 * posix/bits/unistd.h: Likewise.
39771 * posix/fnmatch.h: Likewise.
39772 * posix/glob.h: Likewise.
39773 * posix/sched.h: Likewise.
39774 * posix/spawn.h: Likewise.
39775 * posix/sys/wait.h: Likewise.
39776 * posix/unistd.h: Likewise.
39777 * posix/wordexp.h: Likewise.
39778 * pwd/pwd.h: Likewise.
39779 * resolv/netdb.h: Likewise.
39780 * resource/sys/resource.h: Likewise.
39781 * rt/aio.h: Likewise.
39782 * rt/bits/mqueue2.h: Likewise.
39783 * rt/mqueue.h: Likewise.
39784 * shadow/shadow.h: Likewise.
39785 * signal/signal.h: Likewise.
39786 * socket/send.c: Likewise.
39787 * socket/sendto.c: Likewise.
39788 * socket/sys/socket.h: Likewise.
39789 * stdio-common/printf.h: Likewise.
39790 * stdlib/bits/stdlib.h: Likewise.
39791 * stdlib/fmtmsg.h: Likewise.
39792 * stdlib/monetary.h: Likewise.
39793 * stdlib/stdlib.h: Likewise.
39794 * stdlib/ucontext.h: Likewise.
39795 * streams/stropts.h: Likewise.
39796 * string/argz.h: Likewise.
39797 * string/bits/string2.h: Likewise.
39798 * string/string.h: Likewise.
39799 * string/strings.h: Likewise.
39800 * sunrpc/rpc/auth.h: Likewise.
39801 * sunrpc/rpc/auth_des.h: Likewise.
39802 * sunrpc/rpc/clnt.h: Likewise.
39803 * sunrpc/rpc/netdb.h: Likewise.
39804 * sunrpc/rpc/pmap_clnt.h: Likewise.
39805 * sunrpc/rpc/xdr.h: Likewise.
39806 * sysdeps/generic/inttypes.h: Likewise.
39807 * sysdeps/generic/net/if.h: Likewise.
39808 * sysdeps/generic/sys/swap.h: Likewise.
39809 * sysdeps/gnu/net/if.h: Likewise.
39810 * sysdeps/gnu/utmpx.h: Likewise.
39811 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39812 * sysdeps/i386/i486/bits/string.h: Likewise.
39813 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39814 * sysdeps/s390/bits/string.h: Likewise.
39815 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39816 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39817 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39818 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39819 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39820 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39821 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39822 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39823 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39824 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39825 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39826 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39827 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39828 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39829 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39830 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39831 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39832 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39833 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39834 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39835 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39836 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39837 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39838 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39839 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39840 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39841 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39842 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39843 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39844 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39845 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39846 * sysvipc/sys/ipc.h: Likewise.
39847 * sysvipc/sys/msg.h: Likewise.
39848 * sysvipc/sys/sem.h: Likewise.
39849 * sysvipc/sys/shm.h: Likewise.
39850 * termios/termios.h: Likewise.
39851 * time/sys/time.h: Likewise.
39852 * time/time.h: Likewise.
39853 * wcsmbs/bits/wchar2.h: Likewise.
39854 * wcsmbs/uchar.h: Likewise.
39855 * wcsmbs/wchar.h: Likewise.
39856 * wctype/wctype.h: Likewise.
39859 * Makeconfig: Remove all but ELF support including AIX support.
39860 * Makerules: Likewise.
39861 * config.h.in: Likewise.
39862 * config.make.in: Likewise.
39863 * configure: Likewise.
39864 * configure.in: Likewise.
39865 * csu/Makefile: Likewise.
39866 * csu/version.c: Likewise.
39867 * debug/Makefile: Likewise.
39868 * dlfcn/Makefile: Likewise.
39869 * elf/Makefile: Likewise.
39870 * extra-lib.mk: Likewise.
39871 * iconv/Makefile: Likewise.
39872 * include/libc-symbols.h: Likewise.
39873 * include/shlib-compat.h: Likewise.
39874 * resolv/Makefile: Likewise.
39875 * resolv/res_libc.c: Likewise.
39876 * rt/Makefile: Likewise.
39877 * sysdeps/i386/asm-syntax.h: Likewise.
39878 * sysdeps/i386/sysdep.h: Likewise.
39879 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39880 * sysdeps/mach/sysdep.h: Likewise.
39881 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39882 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39883 * sysdeps/s390/asm-syntax.h: Likewise.
39884 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39885 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39886 * sysdeps/sh/sysdep.h: Likewise.
39887 * sysdeps/unix/sparc/sysdep.h: Likewise.
39888 * sysdeps/wordsize-32/divdi3.c: Likewise.
39889 * sysdeps/x86_64/sysdep.h: Likewise.
39891 * argp/Versions: Remove _argp_unlock_xxx.
39894 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39895 * abilist/libBrokenLocale.abilist: Likewise.
39896 * abilist/libanl.abilist: Likewise.
39897 * abilist/libc.abilist: Likewise.
39898 * abilist/libcrypt.abilist: Likewise.
39899 * abilist/libdl.abilist: Likewise.
39900 * abilist/libm.abilist: Likewise.
39901 * abilist/libnsl.abilist: Likewise.
39902 * abilist/libpthread.abilist: Likewise.
39903 * abilist/libresolv.abilist: Likewise.
39904 * abilist/librt.abilist: Likewise.
39905 * abilist/libthread_db.abilist: Likewise.
39906 * abilist/libutil.abilist: Likewise.
39907 * abilist/libnss_db.abilist: New file.
39909 * scripts/abilist.awk: Add support for indirect functions.
39911 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39913 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39915 * shlib-versions: Remove entries for ports architectures.
39917 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39919 * elf/stackguard-macros.h: Remove support for IA-64.
39920 * elf/tst-auditmod1.c: Likewise.
39921 * sysdeps/generic/ldsodefs.h: Likewise.
39923 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39924 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39928 * configure.in: Remove --enable-omitfp support.
39930 * config.make.in: Likewise.
39931 * Makeconfig: Likewise.
39932 * manual/install.texi: Likewise.
39934 In case anyone cares, the IA-64 architecture could move to ports.
39935 * sysdeps/ia64/*: Removed.
39936 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39937 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39940 * configure.in: Remove entries for unsupported architectures.
39943 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39944 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39946 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39947 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39948 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39949 fall back to using wcrtomb.
39950 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39951 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39953 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39954 * wcsmbs/tst-c16c32-1.c: New file.
39956 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39959 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39961 * elf/tst-unique3.cc: Add explicit declaration of gets.
39962 * elf/tst-unique3lib.cc: Likewise.
39963 * elf/tst-unique3lib2.cc: Likewise.
39964 * elf/tst-unique4.cc: Likewise.
39966 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39968 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39971 * assert/assert.h (static_assert): Don't define for C++.
39972 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39973 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39975 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39977 * iconv/loop.c (single loop): Fix assertion in storing of
39980 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39982 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39984 * posix/getconf.c: Update copyright year.
39985 * nss/getent.c: Likewise.
39986 * nss/makedb.c: Likewise.
39987 * iconv/iconvconfig.c: Likewise.
39988 * iconv/iconv_prog.c: Likewise.
39989 * elf/ldconfig.c: Likewise.
39990 * elf/pldd.c: Likewise.
39991 * elf/sotruss.ksh: Likewise.
39992 * catgets/gencat.c: Likewise.
39993 * csu/version.c: Likewise.
39994 * elf/ldd.bash.in: Likewise.
39995 * elf/sprof.c (print_version): Likewise.
39996 * locale/programs/locale.c: Likewise.
39997 * locale/programs/localedef.c: Likewise.
39998 * login/programs/pt_chown.c: Likewise.
39999 * nscd/nscd.c (print_version): Likewise.
40000 * debug/xtrace.sh: Likewise.
40001 * malloc/memusage.sh: Likewise.
40002 * malloc/mtrace.pl: Likewise.
40003 * debug/catchsegv.sh: Likewise.
40005 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40007 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40010 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40013 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40014 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40016 * iconv/gconv_int.h: Likewise.
40017 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40018 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40019 from libc for GLIBC_2.16.
40020 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40021 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40022 * wcsmbs/uchar.h: Really define mbstate_t.
40023 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40024 * wcsmbs/c16rtomb.c: New file.
40025 * wcsmbs/mbrtoc16.c: New file.
40026 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40027 for C/POSIX locale.
40028 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40029 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40031 * wcsmbs/wchar.h: Add missing __restrict.
40033 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40036 * time/Makefile (routines): Add timespec_get.
40037 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40038 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40039 timespec for ISO C11.
40040 * time/timespec_get.c: New file.
40041 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40042 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40045 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40046 * stdlib/stdlib.h: Declare aligned_alloc.
40047 * Versions.def: Add GLIBC_2.16 for libc.
40048 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40051 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40054 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40058 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40061 * assert/assert.h (static_assert): Define.
40063 * version.h: Update for 2.16 development version.
40066 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40069 * version.h (RELEASE): Bump for 2.15 release.
40070 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40072 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40073 Patch by Marek Polacek <mpolacek@redhat.com>.
40075 * bits/byteswap.h: Protect long long constants with __extension__.
40076 * sysdeps/i386/bits/byteswap.h: Likewise.
40077 * sysdeps/ia64/bits/byteswap.h: Likewise.
40078 * sysdeps/s390/bits/byteswap.h: Likewise.
40079 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40081 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40084 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40085 destination buffer.
40086 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40088 2011-12-23 Marek Polacek <polacek@redhat.com>
40090 * elf/dl-addr.c (determine_info): Add inline keyword.
40091 * elf/tst-auditmod4b.c (check_avx): Likewise.
40092 * elf/tst-auditmod6b.c (check_avx): Likewise.
40093 * elf/tst-auditmod6c.c (check_avx): Likewise.
40094 * elf/tst-auditmod7b.c (check_avx): Likewise.
40096 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40098 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40101 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40104 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40105 processing for last bytes.
40107 2011-08-06 Bruno Haible <bruno@clisp.org>
40110 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40111 U+0385, not to U+1FEE.
40114 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40115 entry for U+00A5 U+0301.
40117 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40120 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40121 buffer for the output is too small.
40123 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40127 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40128 SSE flags if possible.
40130 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40133 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40134 processing for last bytes.
40136 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40138 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40139 (syscall-list-default-options, syscall-list-default-condition)
40140 (syscall-list-includes): Define.
40141 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40142 list of ABIs and options and #if conditions for each ABI. Do not
40143 handle common syscalls between ABIs specially.
40144 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40146 (syscall-list-variants, syscall-list-32bit-options)
40147 (syscall-list-32bit-condition, syscall-list-64bit-options)
40148 (syscall-list-64bit-condition): Define.
40149 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
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/sparc/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.
40158 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40160 (syscall-list-variants, syscall-list-32bit-options)
40161 (syscall-list-32bit-condition, syscall-list-64bit-options)
40162 (syscall-list-64bit-condition): Define.
40164 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40166 * locale/iso-639.def: Add brx entry.
40169 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40170 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40172 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40173 __feraiseexcept_renamed.
40175 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40178 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40179 EPOLLET with unsigned values.
40180 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40181 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40183 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40184 to large cancellation.
40185 * math/s_cacoshf.c: Likewise.
40186 * math/s_cacoshl.c: Likewise.
40188 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40192 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40193 * math/s_cacoshf.c: Likewise.
40194 * math/s_cacoshl.c: Likewise.
40196 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40199 * iconv/gconv.h: Define __GCONV_SWAP.
40200 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40201 * iconvdata/utf-16.c: Likewise.
40202 * iconvdata/utf-32.c: Likewise.
40204 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40207 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40208 numerator after shifting it by one limb.
40210 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40212 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40213 under [__USE_EXTERN_INLINES].
40215 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40218 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40220 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40222 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40223 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40225 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40226 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40227 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40228 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40229 for strncasecmp/strncasecmp_l compilation.
40230 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40231 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40233 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40236 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40239 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40242 * time/tzfile.c (__tzfile_read): Check values from file header.
40244 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40246 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40247 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40248 * powerpc/powerpc32/dl-start.S: Likewise.
40249 * powerpc/powerpc32/elf/start.S: Likewise.
40250 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40251 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40252 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40253 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40254 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40255 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40256 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40257 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40258 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40259 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40260 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40261 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40262 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40263 * powerpc/powerpc32/memset.S: Likewise.
40264 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40265 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40266 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40267 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40268 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40269 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40270 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40271 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40272 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40273 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40274 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40275 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40276 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40278 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40280 * math/libm-test.inc: Added more nearbyint tests.
40281 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40282 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40283 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40286 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40288 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40291 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40293 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40294 Add wcscpy-ssse3 wcscpy-c.
40295 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40296 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40297 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40298 * sysdeps/x86_64/wcschr.S: New file.
40299 * sysdeps/x86_64/wcsrchr.S: New file.
40300 * string/test-strcmp.c: Remove checking of wcscmp function for
40302 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40303 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40304 wcsrchr-sse2 wcsrchr-c.
40305 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40306 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40307 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40308 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40309 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40310 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40311 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40312 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40313 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40314 * wcsmbc/wcschr.c (WCSCHR): New macro.
40316 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40318 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40319 * wcsmbs/test-wcsrchr.c: New file.
40320 * string/test-strrchr.c: Add wcsrchr support.
40322 * wcsmbs/test-wcscpy.c: New file.
40323 * string/test-strcpy.c: Add wcscpy support.
40326 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40328 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40331 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40334 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40336 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40338 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40339 Minor optimizations.
40341 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40342 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40343 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40345 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40347 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40348 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40349 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40350 for gcc to avoid warnings.
40351 * inet/Makefile (tests): Add tst-checks.
40352 * inet/tst-checks.c: New file.
40354 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40357 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40360 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40361 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40363 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40365 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40367 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40370 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40372 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40374 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40375 conditional on GCC version.
40376 (__arch_compare_and_exchange_val_8_acq)
40377 (__arch_compare_and_exchange_val_16_acq)
40378 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40379 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40380 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40382 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40384 * sysdeps/sh/backtrace.c: New file.
40386 2011-12-02 Andreas Schwab <schwab@redhat.com>
40388 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40391 2011-12-01 Andreas Schwab <schwab@redhat.com>
40393 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40394 falling back to utime.
40396 2011-11-30 Andreas Schwab <schwab@redhat.com>
40398 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40399 expectations for float.
40401 2011-11-29 Andreas Schwab <schwab@redhat.com>
40403 * locale/weight.h (findidx): Add parameter len.
40404 * locale/weightwc.h (findidx): Likewise.
40405 * posix/fnmatch_loop.c (FCT): Adjust caller.
40406 * posix/regcomp.c (build_equiv_class): Likewise.
40407 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40408 * posix/regexec.c (check_node_accept_bytes): Likewise.
40409 * string/strcoll_l.c (STRCOLL): Likewise.
40410 * string/strxfrm_l.c (STRXFRM): Likewise.
40412 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40414 * Makefile.in: Remove CVSOPT handling.
40415 * configure.in: Remove use of AC_REVISION.
40416 * iconvdata/Makefile (distribute): No need to filter out CVS.
40417 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40420 2011-11-16 Andreas Schwab <schwab@redhat.com>
40422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40423 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40424 [USE_AS_STRNCASECMP_L]: Likewise.
40425 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40426 NO_TLS_DIRECT_SEG_REFS.
40427 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40428 Fix argument offsets for non-PIC.
40429 [USE_AS_STRNCASECMP_L]: Likewise.
40430 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40431 NO_TLS_DIRECT_SEG_REFS.
40433 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40435 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40437 * locale/loadlocale.c (_nl_load_locale): Likewise.
40439 2011-11-15 Andreas Schwab <schwab@redhat.com>
40441 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40442 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40443 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40444 (SYSCALL_GETTIME): Set errno on error.
40446 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40447 count references to noai6ai_cached.
40449 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40451 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40453 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40454 FD_CLOEXEC for /proc/self/maps.
40456 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40457 FD_CLOEXEC for /proc/meminfo.
40459 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40462 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40463 FD_CLOEXEC for given file.
40465 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40467 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40468 FD_CLOEXEC for /etc/hosts.
40469 (_gethtent): Likewise.
40471 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40473 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40474 cancellation and set FD_CLOEXEC for /etc/netgroup.
40476 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40477 reading /etc/publickey.
40479 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40480 allow cancellation when reading /etc/group.
40482 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40484 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40486 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40487 when using data file.
40489 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40491 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40492 (write_nis_obj): Use "c" and "e" in fopen.
40494 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40496 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40498 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40500 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40502 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40505 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40507 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40509 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40511 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40512 file parsing and set FD_CLOEXEC.
40514 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40516 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40518 2011-11-14 Andreas Schwab <schwab@redhat.com>
40520 * malloc/arena.c (arena_get2): Don't call reused_arena when
40521 _int_new_arena failed.
40523 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40525 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40526 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40527 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40528 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40529 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40530 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40531 to compile strcasecmp and strncasecmp.
40532 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40533 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40535 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40537 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40539 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40540 locale-defines.sym to gen-as-const-headers.
40541 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40542 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40544 to compile strcasecmp and strncasecmp.
40545 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40546 strcasecmp_l and strncasecmp_l.
40547 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40548 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40549 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40550 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40551 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40552 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40553 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40554 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40555 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40556 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40557 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40559 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40561 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40562 result of SYSDEP_GETTIME_CPU to retval.
40563 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40564 parameter list to macro. Remove trailing semicolon. Adjust users.
40566 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40569 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40571 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40573 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40574 from unused variable.
40576 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40578 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40581 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40584 * sunrpc/rpc_prot.c (rejected): Fix case value.
40586 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40587 unsigned long long int to avoid warnings in shift.
40589 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40591 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40594 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40595 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40596 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40598 * nis/nis_table.c (nis_list): Use variable of correct type for
40599 result of __follow_path call.
40601 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40603 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40604 of math functions ceil, trunc, floor, round, and sqrt, when
40605 avaliable on the platform.
40606 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40608 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40609 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40610 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40612 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40614 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40615 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40617 2011-11-11 Roland McGrath <roland@hack.frob.com>
40619 * include/unistd.h: Fix __readlink return type.
40620 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40622 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40624 * stdlib/ucontext.h: Undo last change for makecontext.
40626 2011-11-11 Andreas Schwab <schwab@redhat.com>
40628 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40630 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40631 * setjmp/setjmp.h: Mark functions as non-leaf.
40632 * setjmp/bits/setjmp2.h: Likewise.
40633 * stdlib/ucontext.h: Likewise.
40635 2011-11-10 Andreas Schwab <schwab@redhat.com>
40637 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40638 (reused_arena): Don't check arena limit.
40639 (arena_get2): Atomically check arena limit.
40641 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40643 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40644 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40649 2011-11-07 Andreas Schwab <schwab@redhat.com>
40651 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40652 handler when locking.
40654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40655 Fix size of allocated buffer.
40657 2011-11-04 Andreas Schwab <schwab@redhat.com>
40660 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40661 declarations for long double functions.
40662 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40664 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40666 2011-11-03 Andreas Schwab <schwab@redhat.com>
40668 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40671 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40674 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40676 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40678 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40680 * include/alloca.h (stackinfo_alloca_round): Define.
40681 (extend_alloca): Use it.
40682 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40683 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40686 * scripts/check-local-headers.sh: Ignore libaudit.h.
40688 * nscd/Makefile (extra-objs): Make recursively expanded.
40690 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40692 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40693 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40695 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40696 * posix/tst-rfc3484-2.c: Likewise.
40697 * posix/tst-rfc3484-3.c: Likewise.
40699 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40701 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40703 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40704 process_vm_writev from libc using GLIBC_2.15 version.
40706 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40708 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40710 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40713 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40716 * nss/getent.c (initgroups_keys): Show error message in case no group
40719 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40720 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40721 __bump_nl_timestamp.
40722 * nscd/connections (nscd_init): When host database is served open
40723 netlink socket and request notification about configuration changes.
40724 (main_loop_poll): Track netlink file descriptor and bump timestamp
40725 in case data becomes available.
40726 (main_loop_epoll): Likewise.
40727 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40728 (database_pers_head): Add extra_data fileds.
40729 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40730 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40731 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40733 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40734 in6ai data, call __free_in6ai.
40735 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40736 Add -DHAVE_NETLINK.
40737 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40738 interface information. Reuse previous data if netlink timestamp
40740 (__bump_nl_timestamp): New function.
40741 (__free_in6ai): New function.
40743 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40745 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40746 close_not_cancel_no_status here.
40747 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40749 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40752 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40755 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40756 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40757 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40759 2011-07-03 Andreas Jaeger <aj@suse.de>
40762 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40763 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40764 * math/libm-test.inc (sin_test): Add test case.
40766 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40769 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40770 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40772 * elf/chroot_canon.c (chroot_canon): Cleanups.
40774 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40777 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40778 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40780 * string/test-strchr.c: Make usable for strchrnul testing.
40781 * string/test-strchrnul.c: New file.
40782 * string/Makefile (strop-tests): Add strchrnul.
40784 * po/it.po: Update from translation team.
40785 * po/es.po: Likewise.
40787 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40789 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40790 the three constants needed as parameters. Drop the others.
40791 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40792 __m128i_strloadu_tolower.
40793 Create and initialize variable zero and use it in all the places
40794 where _mm_setzero_si128 was used.
40796 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40797 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40798 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40799 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40801 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40802 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40803 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40804 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40805 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40806 __mpranred, __mptan.
40807 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40808 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40809 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40810 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40811 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40812 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40813 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40814 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40815 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40817 2011-10-28 Andreas Schwab <schwab@redhat.com>
40819 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40820 redefine if SHARED.
40821 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40823 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40824 wide char related routines to wcsmbs subdir.
40826 2011-10-27 Andreas Schwab <schwab@redhat.com>
40829 * misc/sys/cdefs.h (__THROWNL): Define.
40830 * posix/unistd.h: Use __THREADNL instead of __THREAD
40831 for memory synchronization functions.
40833 2011-10-26 Roland McGrath <roland@hack.frob.com>
40836 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40838 * manual/stdio.texi (Obstack Streams): Node removed.
40840 2011-10-26 Andreas Schwab <schwab@redhat.com>
40842 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40843 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40844 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40846 * math/math_private.h (math_force_eval): Allow non-addressable
40848 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40850 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40852 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40853 file is not needed.
40855 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40856 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40857 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40858 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40859 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40860 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40861 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40862 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40864 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40865 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40866 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40867 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40868 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40869 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40870 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40871 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40872 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40873 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40874 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40875 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40877 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40878 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40879 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40880 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40881 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40882 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40884 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40885 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40887 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40888 place. Use VEX encoding when compiling for AVX.
40890 2011-10-25 Andreas Schwab <schwab@redhat.com>
40892 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40893 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40895 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40897 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40899 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40900 useless if() expression.
40901 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40902 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40903 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40904 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40905 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40906 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40907 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40908 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40909 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40910 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40911 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40912 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40913 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40914 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40915 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40916 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40917 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40918 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40919 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40921 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40923 2011-10-25 Andreas Schwab <schwab@redhat.com>
40925 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40927 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40929 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40931 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40932 .text section. Avoid duplicate constants.
40933 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40934 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40935 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40937 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40938 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40941 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40942 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40943 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40944 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40945 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40946 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40947 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40948 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40949 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40950 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40951 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40953 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40954 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40955 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40956 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40957 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40958 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40959 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40960 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40961 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40962 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40963 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40964 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40965 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40966 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40967 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40968 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40969 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40970 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40971 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40972 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40973 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40974 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40975 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40976 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40977 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40979 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40981 * sysdeps/x86_64/dla.h: Move to ...
40982 * sysdeps/x86_64/fpu/dla.h: ...here.
40983 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40984 situations. Use __builtin_fma only for gcc 4.6 and up.
40986 * config.make.in: Add have-mfma4 entry.
40987 * configure.in: Substitute libc_cv_cc_fma4.
40988 * math/Makefile (dbl-only-routines): Add sincostab.
40989 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40990 Use __sincostab not sincos.
40991 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40993 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40995 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40998 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40999 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41000 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41001 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41003 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41004 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41006 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41007 define aliases when function name is a macro.
41008 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41009 sysdeps/ieee754/dbl-64/sincos.tbl.
41010 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41011 fma4-enabled routines.
41012 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41013 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41014 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41015 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41016 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41017 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41018 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41019 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41020 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41021 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41022 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41023 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41024 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41025 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41026 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41027 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41028 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41029 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41030 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41031 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41032 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41033 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41034 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41035 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41036 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41037 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41038 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41039 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41040 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41041 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41043 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41045 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41048 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41049 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41054 2011-10-24 Andreas Schwab <schwab@redhat.com>
41056 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41058 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41060 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41062 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41064 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41066 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41067 Remove unused variable magic_bits.
41068 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41070 * string/strnlen.c: Define and use STRNLEN macro.
41071 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41072 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41073 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41074 * wcsmbs/wcslen.c: Define and use WCSLEN.
41075 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41076 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41077 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41078 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41079 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41080 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41081 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41083 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41086 strnlen-sse2-no-bsf.
41087 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41088 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41089 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41090 Add strnlen support.
41091 (USE_AS_STRNLEN): New macro.
41092 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41093 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41094 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41095 * sysdeps/x86_64/wcslen.S: New file.
41097 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41100 XMM-moves are used for copying on small sizes.
41102 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41104 * wcsmbs/Makefile (strop-tests): Add wcschr.
41105 * wcsmbs/test-wcschr.c: New file.
41106 * string/test-strchr.c: Update.
41107 Add wcschr support.
41110 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41112 * wcsmbs/Makefile (strop-tests): Add wcslen.
41113 * wcsmbs/test-wcslen.c: New file.
41114 * string/test-strlen.c: Update.
41115 Add wcslen support.
41118 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41120 * po/it.po: Update from translation team.
41122 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41124 * sysdeps/x86_64/wcscmp.S: Update.
41125 Fix wrong comparison semantics.
41126 wcscmp shall use signed comparison not unsigned.
41127 Don't use substraction to avoid overflow bug.
41128 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41129 * wcsmbc/wcscmp.c: Likewise.
41130 * string/test-strcmp.c: Likewise.
41131 Add new tests to check cases with negative values.
41133 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41135 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41136 * sysdeps/x86_64/dla.h: ...here. New file.
41137 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41138 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41141 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41144 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41147 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41149 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41150 __ynl_finite aliases.
41152 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41156 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41158 [DLA_FMA] (EMULV): Use DLA_FMA.
41159 [DLA_FMA] (MUL12): Use EMULV.
41160 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41161 that are not needed.
41162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41170 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41172 * math/s_nan.c: Undef __nan.
41173 * math/s_nanf.c: Undef __nanf.
41174 * math/s_nanl.c: Undef __nanl.
41175 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41178 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41180 * math/s_catan.c: Add branch predictions.
41181 * math/s_catanf.c: Likewise.
41182 * math/s_catanh.c: Likewise.
41183 * math/s_catanhf.c: Likewise.
41184 * math/s_catanhl.c: Likewise.
41185 * math/s_catanl.c: Likewise.
41186 * math/s_cexp.c: Likewise.
41187 * math/s_cexpf.c: Likewise.
41188 * math/s_cexpl.c: Likewise.
41189 * math/s_clog.c: Likewise.
41190 * math/s_clog10.c: Likewise.
41191 * math/s_clog10f.c: Likewise.
41192 * math/s_clog10l.c: Likewise.
41193 * math/s_clogf.c: Likewise.
41194 * math/s_clogl.c: Likewise.
41195 * math/s_csqrt.c: Likewise.
41196 * math/s_csqrtf.c: Likewise.
41197 * math/s_csqrtl.c: Likewise.
41198 * math/s_ctanf.c: Likewise.
41199 * math/s_ctanh.c: Likewise.
41200 * math/s_ctanhf.c: Likewise.
41201 * math/s_ctanhl.c: Likewise.
41202 * math/s_ctanl.c: Likewise.
41204 * math/math_private.h: Define __nan, __nanf, __nanl.
41205 * math/s_cacosh.c: Include <math_private.h>.
41206 * math/s_cacoshl.c: Likewise.
41207 * math/s_casinh.c: Likewise.
41208 * math/s_casinhf.c: Likewise.
41209 * math/s_casinhl.c: Likewise.
41210 * math/s_ccos.c: Rely entire on ccosh.
41211 * math/s_ccosf.c: Rely entire on ccoshf.
41212 * math/s_ccosl.c: Rely entirely on ccoshl.
41213 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41214 Remove tests for FE_INVALID.
41215 * math/s_ccoshf.c: Likewise.
41216 * math/s_ccoshl.c: Likewise.
41217 * math/s_csin.c: Likewise.
41218 * math/s_csinf.c: Likewise.
41219 * math/s_csinh.c Likewise.
41220 * math/s_csinhf.c: Likewise.
41221 * math/s_csinhl.c: Likewise.
41222 * math/s_csinl.c: Likewise.
41223 * math/s_ctan.c: Likewise.
41224 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41225 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41226 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41228 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41231 compilation problems.
41233 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41236 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41238 * sysdeps/i386/configure.in: Test for -mfma4 option.
41239 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41240 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41241 COMMON_CPUID_INDEX_80000001.
41242 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41243 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41244 use it if FMA3 is not supported.
41245 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41247 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41248 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41250 2011-10-20 Andreas Schwab <schwab@redhat.com>
41253 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41254 it would create a cycle with a link time dependency.
41256 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41258 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41260 * string/Makefile (strop-tests): Add rawmemchr.
41261 * string/test-rawmemchr.c: New file.
41263 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41264 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41265 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41266 when compiling str{,n}casecmp and when AVX is available. Hook up
41267 new optimized code in initializers.
41269 2011-10-19 Andreas Schwab <schwab@redhat.com>
41271 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41272 __feraiseexcept instead of feraiseexcept.
41274 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41276 * math/math_private.h: Define defaults for libc_fetestexcept and
41278 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41279 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41280 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41281 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41282 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41283 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41284 libc_fetestexcept and libc_feupdateenv.
41286 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41287 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41288 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41289 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41290 libc_feholdexcept_setround.
41292 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41293 Add s_nearbyint-c and s_nearbyintf-c.
41294 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41295 nearbyintf inlines.
41296 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41297 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41298 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41299 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41301 * math/math_private.h: Define defaults for libc_fegetround,
41302 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41303 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41304 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41305 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41306 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41307 standard functions.
41308 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41309 Remove comments and hacks for old compiler versions.
41310 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41311 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41312 libc_feholdexceptl.
41314 2011-10-18 Andreas Schwab <schwab@redhat.com>
41316 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41317 (__feraiseexcept_renamed): Add __NTH.
41318 (feraiseexcept): Add __NTH. Rename local variables to fix
41319 namespace violations.
41321 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41323 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41325 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41327 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41328 recently added interfaces.
41329 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41331 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41332 about macro parameter expansion.
41334 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41335 __NO_MATH_INLINES is defined. Cleanups.
41337 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41338 and __floorf is target has SSE4.1.
41339 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41340 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41341 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41342 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41344 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41346 (floorf): Likewise.
41348 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41350 2011-10-17 Andreas Schwab <schwab@redhat.com>
41352 * misc/sys/cdefs.h: Fix last change.
41354 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41357 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41359 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41361 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41362 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41363 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41364 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41366 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41367 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41368 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41369 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41370 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41371 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41372 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41373 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41374 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41375 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41376 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41377 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41378 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41379 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41380 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41381 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41382 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41384 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41385 ceil, ceilf, floor, floorf.
41387 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41388 Perform IRELATIVE relocations last.
41390 * elf/do-rel.h: Add another parameter nrelative, replacing the
41391 local variable with the same name. Change name of the function
41392 to end in Rel or Rela (uppercase).
41393 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41394 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41395 elf_dynamic_do_##reloc function.
41397 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41399 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41400 is sufficient, at least on modern CPUs.
41402 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41404 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41405 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41407 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41409 * math/bits/math-finite.h: Add entries for exp.
41410 * math/e_expl.c: Add __*_finite alias.
41411 * sysdeps/i386/fpu/e_exp.S: Likewise.
41412 * sysdeps/i386/fpu/e_expf.S: Likewise.
41413 * sysdeps/i386/fpu/e_expl.c: Likewise.
41414 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41415 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41416 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41417 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41418 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41419 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41420 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41422 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41423 is sufficient, at least on modern CPUs.
41425 * ctype/ctype-info.c (__ctype_init): Define.
41426 * include/ctype.h (__ctype_init): Declare.
41427 (__ctype_b_loc): The variable is always initialized.
41428 (__ctype_toupper_loc): Likewise.
41429 (__ctype_tolower_loc): Likewise.
41430 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41431 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41433 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41435 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41437 * configure.in: Also look in $cxxmachine/include for C++ system
41440 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41442 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41443 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41444 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41445 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41446 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41447 (USE_AS_WMEMCMP): New macro.
41449 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41450 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41451 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41452 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41454 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41455 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41456 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41457 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41458 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41459 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41460 (USE_AS_WMEMCMP): New macro.
41461 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41462 * sysdeps/string/test-memcmp.c: Update.
41463 Fix simple_wmemcmp.
41465 * wcsmbs/wmemcmp.c: Update.
41466 (WMEMCMP): New macro.
41469 2011-10-12 Andreas Jaeger <aj@suse.de>
41472 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41474 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41476 * libio/iofwide.c (do_length): Avoid warning.
41478 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41480 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41482 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41484 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41485 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41486 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41487 * sysdeps/i386/i686/fpu/e_log.S: New file.
41488 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41489 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41491 * ctype/ctype.h: Add support for inlined isXXX functions when
41492 compiling C++ code.
41494 2011-10-14 Andreas Schwab <schwab@redhat.com>
41496 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41498 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41500 2011-10-13 Roland McGrath <roland@hack.frob.com>
41503 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41505 2011-10-13 Andreas Schwab <schwab@redhat.com>
41507 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41508 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41511 * sysdeps/x86_64/memrchr.S: Check for zero size.
41513 * string/stratcliff.c: Add memrchr tests.
41515 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41518 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41519 rawmemchr-sse2 rawmemchr-sse2-bsf.
41520 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41521 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41522 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41523 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41524 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41525 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41526 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41527 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41528 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41529 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41530 * string/memrchr.c (MEMRCHR): New macro.
41532 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41534 Add integration with gcc's -ffinite-math-only and optimize wrapper
41536 * Versions.def: Define GLIBC_2.15 version for libm.
41537 * math/Makefile (headers): Add bits/math-finite.h.
41538 * math/bits/math-finite.h: New file.
41539 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41540 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41541 * math/e_acoshl.c: Add __*_finite alias.
41542 * math/e_acosl.c: Likewise.
41543 * math/e_asinl.c: Likewise.
41544 * math/e_atan2l.c: Likewise.
41545 * math/e_atanhl.c: Likewise.
41546 * math/e_coshl.c: Likewise.
41547 * math/e_exp10.c: Likewise.
41548 * math/e_exp10f.c: Likewise.
41549 * math/e_exp10l.c: Likewise.
41550 * math/e_exp2l.c: Likewise.
41551 * math/e_fmodl.c: Likewise.
41552 * math/e_gammal_r.c: Likewise.
41553 * math/e_hypotl.c: Likewise.
41554 * math/e_j0l.c: Likewise.
41555 * math/e_j1l.c: Likewise.
41556 * math/e_jnl.c: Likewise.
41557 * math/e_lgammal_r.c: Likewise.
41558 * math/e_log10l.c: Likewise.
41559 * math/e_log2l.c: Likewise.
41560 * math/e_logl.c: Likewise.
41561 * math/e_powl.c: Likewise.
41562 * math/e_sinhl.c: Likewise.
41563 * math/e_sqrtl.c: Likewise.
41564 * math/e_scalb.c: Completely rewritten and optimized.
41565 * math/e_scalbf.c: Likewise.
41566 * math/e_scalbl.c: Likewise.
41567 * math/w_acos.c: Likewise.
41568 * math/w_acosf.c: Likewise.
41569 * math/w_acosl.c: Likewise.
41570 * math/w_acosh.c: Likewise.
41571 * math/w_acoshf.c: Likewise.
41572 * math/w_acoshl.c: Likewise.
41573 * math/w_asin.c: Likewise.
41574 * math/w_asinf.c: Likewise.
41575 * math/w_asinl.c: Likewise.
41576 * math/w_atan2.c: Likewise.
41577 * math/w_atan2f.c: Likewise.
41578 * math/w_atan2l.c: Likewise.
41579 * math/w_atanh.c: Likewise.
41580 * math/w_atanhf.c: Likewise.
41581 * math/w_atanhl.c: Likewise.
41582 * math/w_exp10.c: Likewise.
41583 * math/w_exp10f.c: Likewise.
41584 * math/w_exp10l.c: Likewise.
41585 * math/w_fmod.c: Likewise.
41586 * math/w_fmodf.c: Likewise.
41587 * math/w_fmodl.c: Likewise.
41588 * math/w_j0.c: Likewise.
41589 * math/w_j0f.c: Likewise.
41590 * math/w_j0l.c: Likewise.
41591 * math/w_j1.c: Likewise.
41592 * math/w_j1f.c: Likewise.
41593 * math/w_j1l.c: Likewise.
41594 * math/w_jn.c: Likewise.
41595 * math/w_jnf.c: Likewise.
41596 * math/w_log.c: Likewise.
41597 * math/w_logf.c: Likewise.
41598 * math/w_logl.c: Likewise.
41599 * math/w_log10.c: Likewise.
41600 * math/w_log10f.c: Likewise.
41601 * math/w_log10l.c: Likewise.
41602 * math/w_log2.c: Likewise.
41603 * math/w_log2f.c: Likewise.
41604 * math/w_log2l.c: Likewise.
41605 * math/w_pow.c: Likewise.
41606 * math/w_powf.c: Likewise.
41607 * math/w_powl.c: Likewise.
41608 * math/w_remainder.c: Likewise.
41609 * math/w_remainderf.c: Likewise.
41610 * math/w_remainderl.c: Likewise.
41611 * math/w_scalb.c: Likewise.
41612 * math/w_scalbf.c: Likewise.
41613 * math/w_scalbl.c: Likewise.
41614 * math/w_sqrt.c: Likewise.
41615 * math/w_sqrtf.c: Likewise.
41616 * math/w_sqrtl.c: Likewise.
41617 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41618 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41620 * math/math_private.h: Declare __kernel_standard_f.
41621 * math/w_cosh.c: Remove cruft and optimize a bit.
41622 * math/w_coshf.c: Likewise.
41623 * math/w_coshl.c: Likewise.
41624 * math/w_exp2.c: Likewise.
41625 * math/w_exp2f.c: Likewise.
41626 * math/w_exp2l.c: Likewise.
41627 * math/w_hypot.c: Likewise.
41628 * math/w_hypotf.c: Likewise.
41629 * math/w_hypotl.c: Likewise.
41630 * math/w_lgamma.c: Likewise.
41631 * math/w_lgamma_r.c: Likewise.
41632 * math/w_lgammaf.c: Likewise.
41633 * math/w_lgammaf_r.c: Likewise.
41634 * math/w_lgammal.c: Likewise.
41635 * math/w_lgammal_r.c: Likewise.
41636 * math/w_sinh.c: Likewise.
41637 * math/w_sinhf.c: Likewise.
41638 * math/w_sinhl.c: Likewise.
41639 * math/w_tgamma.c: Likewise.
41640 * math/w_tgammaf.c: Likewise.
41641 * math/w_tgammal.c: Likewise.
41642 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41643 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41644 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41645 Minor optimizations. Pretty printing. Remove cruft.
41646 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41647 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41648 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41649 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41650 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41651 * sysdeps/i386/fpu/e_asin.S: Likewise.
41652 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41653 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41654 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41655 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41656 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41657 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41658 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41659 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41660 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41661 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41662 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41663 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41664 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41665 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41666 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41667 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41668 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41669 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41670 * sysdeps/i386/fpu/e_log.S: Likewise.
41671 * sysdeps/i386/fpu/e_log10.S: Likewise.
41672 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41673 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41674 * sysdeps/i386/fpu/e_log2.S: Likewise.
41675 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41676 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41677 * sysdeps/i386/fpu/e_logf.S: Likewise.
41678 * sysdeps/i386/fpu/e_logl.S: Likewise.
41679 * sysdeps/i386/fpu/e_pow.S: Likewise.
41680 * sysdeps/i386/fpu/e_powf.S: Likewise.
41681 * sysdeps/i386/fpu/e_powl.S: Likewise.
41682 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41683 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41684 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41685 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41686 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41687 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41688 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41689 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41690 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41691 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41692 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41694 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41695 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41696 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41697 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41698 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41699 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41700 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41701 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41702 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41703 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41704 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41705 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41706 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41707 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41708 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41709 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41710 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41711 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41712 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41713 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41714 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41715 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41716 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41717 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41718 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41719 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41720 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41721 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41722 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41723 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41725 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41726 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41727 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41728 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41729 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41730 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41731 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41732 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41734 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41736 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41737 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41738 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41739 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41740 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41741 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41742 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41743 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41744 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41745 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41746 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41747 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41748 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41749 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41750 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41751 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41752 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41753 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41754 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41755 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41756 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41757 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41758 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41759 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41760 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41761 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41762 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41764 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41765 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41766 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41767 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41768 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41769 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41770 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41771 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41772 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41773 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41774 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41775 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41776 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41777 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41778 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41779 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41780 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41781 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41782 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41783 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41784 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41785 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41786 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41787 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41788 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41789 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41790 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41791 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41792 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41793 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41794 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41795 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41796 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41797 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41798 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41799 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41800 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41801 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41802 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41803 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41804 (__isnanf): Likewise.
41805 (__isinf_ns): Likewise.
41806 (__isinf_nsf): Likewise.
41807 (__finite): Likewise.
41808 (__finitef): Likewise.
41809 (__ieee754_sqrt): Define as macro.
41810 (__ieee754_sqrtf): Define as macro.
41811 (__ieee754_sqrtl): Define as macro.
41812 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41814 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41815 __FINITE_MATH_ONLY__ consistent.
41816 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41818 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41820 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41823 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41825 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41827 * po/ja.po: Update from translation team.
41829 2011-10-08 Roland McGrath <roland@hack.frob.com>
41831 * locale/programs/locarchive.c (prepare_address_space): New function.
41832 (create_archive, enlarge_archive, open_archive): Use it.
41834 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41835 inside [SHARED], where it is used.
41837 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41839 * nss/getent.c (netgroup_keys): Remove unused variable.
41840 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41842 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41844 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41845 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41847 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41848 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41849 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41850 * math/Makefile (libm-calls): Add s_isinf_ns.
41851 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41852 * math/multc3.c: Likewise.
41853 * math/s_casin.c: Likewise.
41854 * math/s_casinf.c: Likewise.
41855 * math/s_casinl.c: Likewise.
41856 * math/s_ccos.c: Likewise.
41857 * math/s_ccosf.c: Likewise.
41858 * math/s_ccosl.c: Likewise.
41859 * math/s_ctan.c: Likewise.
41860 * math/s_ctanf.c: Likewise.
41861 * math/s_ctanh.c: Likewise.
41862 * math/s_ctanhf.c: Likewise.
41863 * math/s_ctanhl.c: Likewise.
41864 * math/s_ctanl.c: Likewise.
41865 * math/w_fmod.c: Likewise.
41866 * math/w_fmodf.c: Likewise.
41867 * math/w_fmodl.c: Likewise.
41868 * math/w_remainder.c: Likewise.
41869 * math/w_remainderf.c: Likewise.
41870 * math/w_remainderl.c: Likewise.
41871 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41872 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41873 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41875 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41876 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41877 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41878 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41880 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41882 * stdio-common/printf_fphex.c: Likewise.
41883 * stdio-common/printf_size.c: Likewise.
41885 * math/e_exp10.c: Include math_private.h using <...> not "...".
41886 * math/e_exp10f.c: Likewise.
41887 * math/e_exp10l.c: Likewise.
41888 * math/e_exp2l.c: Likewise.
41889 * math/e_j0l.c: Likewise.
41890 * math/e_j1l.c: Likewise.
41891 * math/e_jnl.c: Likewise.
41892 * math/e_lgammal_r.c: Likewise.
41893 * math/e_rem_pio2l.c: Likewise.
41894 * math/e_scalb.c: Likewise.
41895 * math/e_scalbf.c: Likewise.
41896 * math/e_scalbl.c: Likewise.
41897 * math/k_cosl.c: Likewise.
41898 * math/k_sinl.c: Likewise.
41899 * math/k_tanl.c: Likewise.
41900 * math/s_cacoshf.c: Likewise.
41901 * math/s_catan.c: Likewise.
41902 * math/s_catanf.c: Likewise.
41903 * math/s_catanh.c: Likewise.
41904 * math/s_catanhf.c: Likewise.
41905 * math/s_catanhl.c: Likewise.
41906 * math/s_catanl.c: Likewise.
41907 * math/s_ccosh.c: Likewise.
41908 * math/s_ccoshf.c: Likewise.
41909 * math/s_ccoshl.c: Likewise.
41910 * math/s_cexp.c: Likewise.
41911 * math/s_cexpf.c: Likewise.
41912 * math/s_cexpl.c: Likewise.
41913 * math/s_clog.c: Likewise.
41914 * math/s_clog10.c: Likewise.
41915 * math/s_clog10f.c: Likewise.
41916 * math/s_clog10l.c: Likewise.
41917 * math/s_clogf.c: Likewise.
41918 * math/s_clogl.c: Likewise.
41919 * math/s_csin.c: Likewise.
41920 * math/s_csinf.c: Likewise.
41921 * math/s_csinh.c: Likewise.
41922 * math/s_csinhf.c: Likewise.
41923 * math/s_csinhl.c: Likewise.
41924 * math/s_csinl.c: Likewise.
41925 * math/s_csqrt.c: Likewise.
41926 * math/s_csqrtf.c: Likewise.
41927 * math/s_csqrtl.c: Likewise.
41928 * math/s_ctan.c: Likewise.
41929 * math/s_ctanf.c: Likewise.
41930 * math/s_ctanh.c: Likewise.
41931 * math/s_ctanhf.c: Likewise.
41932 * math/s_ctanhl.c: Likewise.
41933 * math/s_ctanl.c: Likewise.
41934 * math/s_ldexp.c: Likewise.
41935 * math/s_ldexpf.c: Likewise.
41936 * math/s_ldexpl.c: Likewise.
41937 * math/s_significand.c: Likewise.
41938 * math/s_significandf.c: Likewise.
41939 * math/s_significandl.c: Likewise.
41940 * math/w_acos.c: Likewise.
41941 * math/w_acosf.c: Likewise.
41942 * math/w_acosh.c: Likewise.
41943 * math/w_acoshf.c: Likewise.
41944 * math/w_acoshl.c: Likewise.
41945 * math/w_acosl.c: Likewise.
41946 * math/w_asin.c: Likewise.
41947 * math/w_asinf.c: Likewise.
41948 * math/w_asinl.c: Likewise.
41949 * math/w_atan2.c: Likewise.
41950 * math/w_atan2f.c: Likewise.
41951 * math/w_atan2l.c: Likewise.
41952 * math/w_atanh.c: Likewise.
41953 * math/w_atanhf.c: Likewise.
41954 * math/w_atanhl.c: Likewise.
41955 * math/w_cosh.c: Likewise.
41956 * math/w_coshf.c: Likewise.
41957 * math/w_coshl.c: Likewise.
41958 * math/w_dremf.c: Likewise.
41959 * math/w_exp10.c: Likewise.
41960 * math/w_exp10f.c: Likewise.
41961 * math/w_exp10l.c: Likewise.
41962 * math/w_exp2.c: Likewise.
41963 * math/w_exp2f.c: Likewise.
41964 * math/w_fmod.c: Likewise.
41965 * math/w_fmodf.c: Likewise.
41966 * math/w_fmodl.c: Likewise.
41967 * math/w_hypot.c: Likewise.
41968 * math/w_hypotf.c: Likewise.
41969 * math/w_hypotl.c: Likewise.
41970 * math/w_j0.c: Likewise.
41971 * math/w_j0f.c: Likewise.
41972 * math/w_j0l.c: Likewise.
41973 * math/w_j1.c: Likewise.
41974 * math/w_j1f.c: Likewise.
41975 * math/w_j1l.c: Likewise.
41976 * math/w_jn.c: Likewise.
41977 * math/w_jnf.c: Likewise.
41978 * math/w_jnl.c: Likewise.
41979 * math/w_lgamma.c: Likewise.
41980 * math/w_lgamma_r.c: Likewise.
41981 * math/w_lgammaf.c: Likewise.
41982 * math/w_lgammaf_r.c: Likewise.
41983 * math/w_lgammal.c: Likewise.
41984 * math/w_lgammal_r.c: Likewise.
41985 * math/w_log.c: Likewise.
41986 * math/w_log10.c: Likewise.
41987 * math/w_log10f.c: Likewise.
41988 * math/w_log10l.c: Likewise.
41989 * math/w_log2.c: Likewise.
41990 * math/w_log2f.c: Likewise.
41991 * math/w_log2l.c: Likewise.
41992 * math/w_logf.c: Likewise.
41993 * math/w_logl.c: Likewise.
41994 * math/w_pow.c: Likewise.
41995 * math/w_powf.c: Likewise.
41996 * math/w_powl.c: Likewise.
41997 * math/w_remainder.c: Likewise.
41998 * math/w_remainderf.c: Likewise.
41999 * math/w_remainderl.c: Likewise.
42000 * math/w_scalb.c: Likewise.
42001 * math/w_scalbf.c: Likewise.
42002 * math/w_scalbl.c: Likewise.
42003 * math/w_sinh.c: Likewise.
42004 * math/w_sinhf.c: Likewise.
42005 * math/w_sinhl.c: Likewise.
42006 * math/w_sqrt.c: Likewise.
42007 * math/w_sqrtf.c: Likewise.
42008 * math/w_sqrtl.c: Likewise.
42009 * math/w_tgamma.c: Likewise.
42010 * math/w_tgammaf.c: Likewise.
42011 * math/w_tgammal.c: Likewise.
42013 * po/ja.po: Update from translation team.
42015 2011-09-29 Andreas Jaeger <aj@suse.de>
42018 * sunrpc/netname.c (netname2host): Fix logic.
42022 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42024 * math/w_remainder.c (__remainder): Likewise.
42025 * math/w_remainderf.c (__remainderf): Likewise.
42026 * math/libm-test.inc (remainder_test): Add test cases.
42028 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42030 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42033 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42035 * string/test-memcmp.c: Avoid unncessary #defines.
42036 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42038 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42040 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42041 Use new sse2 version for core i3 - i7 as it's faster
42042 than sse42 version.
42043 (bit_Prefer_PMINUB_for_stringop): New.
42044 * sysdeps/x86_64/rawmemchr.S: Update.
42045 Replace with faster SSE2 version.
42046 * sysdeps/x86_64/memrchr.S: New file.
42047 * sysdeps/x86_64/memchr.S: Update.
42048 Replace with faster SSE2 version.
42050 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42052 * elf/dl-load.c (lose): Add cast to avoid warning.
42054 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42056 * po/ca.po: Update from translation team.
42058 * inet/getnetgrent_r.c: Hook up nscd.
42059 * nscd/Makefile (routines): Add nscd_netgroup.
42060 (nscd-modules): Add netgroupcache.
42061 (CFLAGS-netgroupcache.c): Define.
42062 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42063 (cache_search): Add const to second parameter.
42064 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42066 (dbs): Add netgrdb entry.
42067 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42068 (verify_persistent_db): Handle netgrdb.
42069 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42070 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42072 (netgroup_response_header): Define.
42073 (innetgroup_response_header): Define.
42074 (datahead): Add netgroup_response_header and innetgroup_response_header
42076 * nscd/nscd.conf: Add entries for netgroup cache.
42077 * nscd/nscd.h (dbtype): Add netgrdb.
42078 (_PATH_NSCD_NETGROUP_DB): Define.
42079 (netgroup_iov_disabled): Declare.
42080 (xmalloc, xcalloc, xrealloc): Move declarations here.
42081 (cache_search): Adjust prototype.
42082 Add netgroup-related prototypes.
42083 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42084 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42085 (__nscd_innetgr): Declare.
42086 * nscd/selinux.c (perms): Use access_vector_t as element type and
42087 add netgroup-related initializers.
42088 * nscd/netgroupcache.c: New file.
42089 * nscd/nscd_netgroup.c: New file.
42090 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42091 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42092 For four parameters use innetgr.
42093 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42094 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42095 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42096 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42098 * nscd/connections.c (register_traced_file): Don't register file
42099 for disabled databases.
42101 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42103 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42105 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42106 from tree and freeing node.
42108 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42110 * nss/nsswitch.c (__nss_database_lookup): Handle
42111 nss_parse_service_list out of memory case.
42113 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42115 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42116 out of memory case.
42118 2011-10-04 Andreas Schwab <schwab@redhat.com>
42120 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42121 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42123 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42124 elf_machine_rela, elf_machine_lazy_rel.
42125 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42126 (ELF_DYNAMIC_DO_REL): Likewise.
42127 (ELF_DYNAMIC_DO_RELA): Likewise.
42128 (ELF_DYNAMIC_RELOCATE): Likewise.
42129 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42130 to ELF_DYNAMIC_DO_REL.
42131 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42132 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42133 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42135 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42136 skip_ifunc, don't call ifunc function if non-zero.
42137 (elf_machine_rela): Likewise.
42138 (elf_machine_lazy_rel): Likewise.
42139 (elf_machine_lazy_rela): Likewise.
42140 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42141 (elf_machine_lazy_rel): Likewise.
42142 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42144 (elf_machine_lazy_rel): Likewise.
42145 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42147 (elf_machine_lazy_rel): Likewise.
42148 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42149 (elf_machine_lazy_rel): Likewise.
42150 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42151 (elf_machine_lazy_rel): Likewise.
42152 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42153 (elf_machine_lazy_rel): Likewise.
42154 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42155 (elf_machine_lazy_rel): Likewise.
42156 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42157 (elf_machine_lazy_rel): Likewise.
42158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42159 (elf_machine_lazy_rel): Likewise.
42161 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42163 * nss/nss_files/files-init.c (_nss_files_init): Use static
42164 initialization for all the *_traced_file variables.
42166 2011-09-28 Andreas Schwab <schwab@redhat.com>
42168 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42170 2011-09-27 Roland McGrath <roland@hack.frob.com>
42173 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42175 2011-09-27 Andreas Schwab <schwab@redhat.com>
42177 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42178 Reread the line before reparsing it.
42180 2011-09-26 Andreas Schwab <schwab@redhat.com>
42182 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42184 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42185 Maxim Kuvyrkov <maxim@codesourcery.com>
42186 Joseph Myers <joseph@codesourcery.com>
42188 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42189 if needed for __stack_chk_guard.
42191 2011-09-19 Roland McGrath <roland@hack.frob.com>
42193 * sysdeps/posix/spawni.c (script_execute): Always define it.
42194 It will be optimized away if unused.
42195 (maybe_script_execute): New function.
42196 (__spawni): Call it.
42198 * Makerules: Don't include tls.make.
42199 (config-tls): Always set to thread.
42200 * tls.make.c: File removed.
42202 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42204 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42205 * config.make.in (CPPFLAGS-config): New substituted variable.
42207 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42209 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42212 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42213 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42215 2011-09-15 Roland McGrath <roland@hack.frob.com>
42217 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42218 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42219 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42220 (CALL_FAIL): Likewise.
42221 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42222 (CALL_FAIL): Macro removed.
42223 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42225 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42227 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42228 for __FINITE_MATH_ONLY__ == 1.
42230 2011-09-15 Andreas Schwab <schwab@redhat.com>
42232 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42233 __ieee754_sqrt instead of sqrt.
42234 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42235 __ieee754_sqrtf instead of sqrtf.
42236 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42237 __floorf instead of floorf.
42238 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42239 __floorf, __truncf instead of floorf, truncf.
42241 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42243 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42245 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42246 __extern_always_inline.
42247 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42250 2011-09-14 Andreas Schwab <schwab@redhat.com>
42252 * elf/rtld.c (dl_main): Also relocate in dependency order when
42253 doing symbol dependency testing.
42255 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42258 Always define `refsym'.
42260 2011-09-13 Andreas Schwab <schwab@redhat.com>
42262 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42263 (__FD_ELT): Renamed from __FDELT.
42264 * misc/bits/select2.h (__FD_ELT): Likewise.
42265 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42266 __FD_MASK instead of __FDELT, __FDMASK.
42267 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42269 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42272 * elf/Makefile (gen-ldd): Fix pattern.
42274 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42275 (init_tls): Likewise.
42277 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42279 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42281 2011-09-12 Andreas Schwab <schwab@redhat.com>
42283 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42284 `struct cmsghdr *' instead of `void *'.
42285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42288 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42290 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42292 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42293 ldd_rewrite_script.
42295 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42297 * configure.in: Remove --with-tls option.
42298 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42299 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42300 out in case it is missing.
42301 * sysdeps/ia64/elf/configure.in: Likewise.
42302 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42303 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42304 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42305 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42306 * sysdeps/sh/elf/configure.in: Likewise.
42307 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42308 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42309 * sysdeps/x86_64/elf/configure.in: Likewise.
42310 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42311 * sysdeps/mach/hurd/tls.h: Likewise.
42314 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42317 * configure.in: Fix use of AC_INIT.
42319 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42321 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42323 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42325 * malloc/hooks.c: Likewise.
42328 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42329 variables statically.
42330 (narenas): Initialize.
42331 (list_lock): Initialize.
42332 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42333 initializtion of main_arena and list_lock. Small cleanups.
42334 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42335 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42336 Add initializers to main_arena and mp_.
42337 (malloc_state): Remove pagesize member. Change all users to use
42340 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42341 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42342 is always initialized.
42344 * malloc/malloc.c: Removed unused configurations and dead code.
42345 * malloc/arena.c: Likewise.
42346 * malloc/hooks.c: Likewise.
42347 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42349 * include/tls.h: Removed. USE___THREAD must always be defined.
42350 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42351 * elf/dl-libc.c: Likewise.
42352 * elf/dl-tsd.c: Likewise.
42353 * include/errno.h: Likewise.
42354 * include/netdb.h: Likewise.
42355 * include/resolv.h: Likewise.
42356 * inet/herrno-loc.c: Likewise.
42357 * inet/herrno.c: Likewise.
42358 * malloc/arena.c: Likewise.
42359 * malloc/hooks.c: Likewise.
42360 * malloc/malloc.c: Likewise.
42361 * resolv/res-state.c: Likewise.
42362 * resolv/res_libc.c: Likewise.
42363 * sysdeps/i386/dl-machine.h: Likewise.
42364 * sysdeps/ia64/dl-machine.h: Likewise.
42365 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42366 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42367 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42368 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42369 * sysdeps/sh/dl-machine.h: Likewise.
42370 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42371 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42372 * sysdeps/unix/i386/sysdep.S: Likewise.
42373 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42374 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42375 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42376 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42379 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42383 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42384 * sysdeps/x86_64/dl-machine.h: Likewise.
42385 * tls.make.c: Likewise.
42387 * configure.in: Remove --with-__thread option. Make tests for
42388 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42389 tls_model attribute fail if no support is available. Remove
42391 * Makeconfig: Adjust for dropped configure option. All features are
42393 * Makerules: Likewise.
42394 * Versions.def: Likewise.
42395 * argp/argp-fmtstream.c: Likewise.
42396 * argp/argp-fmtstream.h: Likewise.
42397 * argp/argp-help.c: Likewise.
42398 * assert/assert.c: Likewise.
42399 * config.h.in: Likewise.
42400 * config.make.in: Likewise.
42401 * configure: Likewise.
42402 * configure.in: Likewise.
42403 * csu/Versions: Likewise.
42404 * csu/init.c: Likewise.
42405 * elf/tst-audit2.c: Likewise.
42406 * elf/tst-tls10.c: Likewise.
42407 * elf/tst-tls10.h: Likewise.
42408 * elf/tst-tls11.c: Likewise.
42409 * elf/tst-tls12.c: Likewise.
42410 * elf/tst-tls14.c: Likewise.
42411 * elf/tst-tlsmod11.c: Likewise.
42412 * elf/tst-tlsmod12.c: Likewise.
42413 * elf/tst-tlsmod13.c: Likewise.
42414 * elf/tst-tlsmod13a.c: Likewise.
42415 * elf/tst-tlsmod14a.c: Likewise.
42416 * elf/tst-tlsmod15b.c: Likewise.
42417 * elf/tst-tlsmod16a.c: Likewise.
42418 * elf/tst-tlsmod16b.c: Likewise.
42419 * elf/tst-tlsmod7.c: Likewise.
42420 * elf/tst-tlsmod8.c: Likewise.
42421 * elf/tst-tlsmod9.c: Likewise.
42422 * gmon/gmon.c: Likewise.
42423 * grp/fgetgrent_r.c: Likewise.
42424 * grp/putgrent.c: Likewise.
42425 * hurd/fopenport.c: Likewise.
42426 * include/libc-symbols.h: Likewise.
42427 * include/tls.h: Likewise.
42428 * intl/gettextP.h: Likewise.
42429 * intl/loadinfo.h: Likewise.
42430 * locale/global-locale.c: Likewise.
42431 * locale/localeinfo.h: Likewise.
42432 * mach/devstream.c: Likewise.
42433 * malloc/arena.c: Likewise.
42434 * malloc/set-freeres.c: Likewise.
42435 * misc/err.c: Likewise.
42436 * misc/getttyent.c: Likewise.
42437 * misc/mntent_r.c: Likewise.
42438 * posix/getopt.c: Likewise.
42439 * posix/wordexp.c: Likewise.
42440 * pwd/fgetpwent_r.c: Likewise.
42441 * resolv/Versions: Likewise.
42442 * resolv/res_hconf.c: Likewise.
42443 * shadow/fgetspent_r.c: Likewise.
42444 * shadow/putspent.c: Likewise.
42445 * stdio-common/printf_fphex.c: Likewise.
42446 * stdio-common/tmpfile.c: Likewise.
42447 * stdlib/abort.c: Likewise.
42448 * stdlib/fmtmsg.c: Likewise.
42449 * sunrpc/auth_unix.c: Likewise.
42450 * sunrpc/clnt_perr.c: Likewise.
42451 * sunrpc/clnt_tcp.c: Likewise.
42452 * sunrpc/clnt_udp.c: Likewise.
42453 * sunrpc/clnt_unix.c: Likewise.
42454 * sunrpc/openchild.c: Likewise.
42455 * sunrpc/svc_simple.c: Likewise.
42456 * sunrpc/svc_tcp.c: Likewise.
42457 * sunrpc/svc_udp.c: Likewise.
42458 * sunrpc/svc_unix.c: Likewise.
42459 * sunrpc/xdr.c: Likewise.
42460 * sunrpc/xdr_array.c: Likewise.
42461 * sunrpc/xdr_rec.c: Likewise.
42462 * sunrpc/xdr_ref.c: Likewise.
42463 * sunrpc/xdr_stdio.c: Likewise.
42465 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42467 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42469 2011-07-03 Andreas Jaeger <aj@suse.de>
42471 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42472 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42473 regenerate with gen-libm-tests.pl.
42475 2010-05-12 Petr Baudis <pasky@suse.cz>
42478 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42479 around j0() zero points by switching to j1().
42480 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42481 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42483 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42485 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42487 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42489 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42492 Patch in part by Pavel Roskin <proski@gnu.org>.
42495 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42497 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42498 Free memory block if necessary.
42501 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42502 be NULL. Don't lock in this case.
42504 2011-09-09 Roland McGrath <roland@hack.frob.com>
42506 * elf/elf.h (ELFOSABI_GNU): New macro.
42507 (ELFOSABI_LINUX): Define to that.
42509 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42511 * string/strncat.c (strncat): Undef the symbol in case it has been
42512 defined in bits/string.h.
42514 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42516 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42518 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42521 2011-08-17 Andreas Jaeger <aj@suse.de>
42523 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42525 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42526 Ian Lance Taylor <iant@google.com>
42528 * math/libm-test.inc (lround_test): New testcase.
42529 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42531 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42533 * Makefile: Remove support for automatic cvs check-ins.
42534 * Makerules: Likewise.
42535 * config.make.in: Likewise.
42536 * configure.in: Likewise.
42537 * intl/Makefile: Likewise.
42538 * locale/Makefile: Likewise.
42539 * po/Makefile: Likewise.
42540 * posix/Makefile: Likewise.
42541 * sysdeps/gnu/Makefile: Likewise.
42542 * sysdeps/mach/hurd/Makefile: Likewise.
42543 * sysdeps/sparc/sparc32/Makefile: Likewise.
42546 * posix/Makefile (bug-regex32-ENV): Define.
42547 Patch by John Stanley <jpsinthemix@verizon.net>.
42549 * misc/Makefile (headers): Add bits/select2.h.
42550 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42551 * misc/bits/select2.h: New file.
42552 * include/bits/select2.h: New file.
42553 * debug/Makefile (routines): Add fdelt_chk.
42554 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42555 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42557 * debug/fdelt_chk.c: New file.
42559 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42560 * wcsmbs/test-wmemcmp.c: Likewise.
42561 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42562 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42564 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42566 * string/Makefile (strop-tests): Add memcmp.
42567 * string/test-wmemcmp.c: New file.
42568 * string/test-memcmp.c: Add wmemcmp support.
42570 2011-09-08 Roland McGrath <roland@hack.frob.com>
42573 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42576 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42577 garbage value in a __mach_port_mod_refs call in the cases of the
42578 task-self and thread-self ports.
42580 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42582 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42584 2011-09-08 Andreas Schwab <schwab@redhat.com>
42586 * elf/dl-load.c (lose): Check for non-null L.
42588 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42590 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42592 * elf/dl-libc.c (dlerror_run): Pass back error code from
42596 * elf/dl-load.c (lose): Free l_origin if it is valid.
42598 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42600 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42601 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42602 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42603 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42604 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42605 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42607 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42609 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42610 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42611 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42612 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42613 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42614 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42615 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42616 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42617 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42618 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42620 2011-08-15 Alan Modra <amodra@gmail.com>
42623 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42624 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42625 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42626 ppc_mcount to static-only-routines.
42627 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42629 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42630 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42632 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42634 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42635 for finite and infinity parameters.
42637 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42639 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42640 and add nop instructions for throughput optimization.
42641 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42643 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42645 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42646 aligned copy for power7 with vector-scalar instructions.
42647 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42649 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42654 2011-09-07 Andreas Schwab <schwab@redhat.com>
42657 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42660 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42662 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42663 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42664 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42665 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42668 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42670 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42671 Forgot to demangle the pointer.
42673 * sysdeps/i386/sysdep.h: Define atom_text_section.
42674 * sysdeps/x86_64/sysdep.h: Likewise.
42675 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42676 section with atom_text_section.
42677 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42678 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42679 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42680 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42681 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42683 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42684 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42685 already be defined. Change to take two parameters and don't assign
42686 result to variable. Adjust all users.
42687 Define INTERNAL_GETTIME if not already defined.
42688 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42691 HAVE_CLOCK_GETTIME_VSYSCALL.
42692 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42695 gettimeofday vsyscall, just use time.
42697 2011-09-06 Andreas Schwab <schwab@redhat.com>
42699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42702 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42704 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42708 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42709 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42710 syscall if possible.
42712 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42714 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42715 e_ident. Don't pass to find_mapsXX.
42716 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42718 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42721 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42722 * sysdeps/x86_64/multiarch/strchr.S: Update.
42723 Check bit_slow_BSF bit.
42724 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42725 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42726 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42728 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42731 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42733 (tryshell): Define.
42734 (__spawni): Change last parameter to be flag. Test
42735 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42736 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42737 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42738 * posix/spawni.c: Likewise.
42739 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42740 * posix/spawnp.c: Likewise. Change normal version to use
42741 SPAWN_XFLAGS_USE_PATH.
42742 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42743 SPAWN_XFLAGS_TRY_SHELL.
42746 * posix/glob.h: Remove gcc 1.x support.
42749 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42751 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42753 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42754 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42756 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42757 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42758 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42759 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42760 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42761 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42763 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42765 * sysdeps/x86_64/wcscmp.S: New file.
42767 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42768 wcscmp-c wcscmp-sse2
42769 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42770 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42771 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42772 * wcsmbs/wcscmp.c: Allow renaming.
42774 2011-09-05 David S. Miller <davem@davemloft.net>
42776 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42777 stack slot, rather than the struct return pointer slot.
42778 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42779 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42781 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42783 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42785 * po/ja.po: Update from translation team.
42788 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42789 kernel in 64-bit binaries.
42791 2011-09-01 David S. Miller <davem@davemloft.net>
42793 * elf/elf.h (HWCAP_SPARC_*): Move to..
42794 * sysdeps/sparc/sysdep.h: this new file and add new values.
42795 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42796 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42797 _DL_HWCAP_COUNT to 24.
42798 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42800 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42801 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42802 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42803 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42804 instead of magic constants.
42805 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42807 2011-08-31 David S. Miller <davem@davemloft.net>
42809 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42811 Reimplement to do errno handling inline.
42812 (SYSCALL_ERROR_HANDLER): New macro.
42813 (__SYSCALL_STRING): Do not do errno handling in asm.
42814 (__CLONE_SYSCALL_STRING): Delete.
42815 (__INTERNAL_SYSCALL_STRING): Delete.
42816 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42817 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42818 (PSEUDO): Reimplement to do errno handling inline.
42819 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42820 (SYSCALL_ERROR_HANDLER): New macro.
42821 (__SYSCALL_STRING): Do not do errno handling in asm.
42822 (__CLONE_SYSCALL_STRING): Delete.
42823 (__INTERNAL_SYSCALL_STRING): Delete.
42824 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42825 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42827 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42828 (inline_syscall*): Add 'err' argument.
42829 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42830 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42831 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42832 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42834 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42835 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42837 2011-08-30 Andreas Schwab <schwab@redhat.com>
42839 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42841 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42843 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42846 2011-08-24 David S. Miller <davem@davemloft.net>
42848 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42850 2011-08-24 Andreas Schwab <schwab@redhat.com>
42852 * elf/Makefile: Add rules to build and run unload8 test.
42853 * elf/unload8.c: New file.
42854 * elf/unload8mod1.c: New file.
42855 * elf/unload8mod1x.c: New file.
42856 * elf/unload8mod2.c: New file.
42857 * elf/unload8mod3.c: New file.
42859 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42862 2011-08-23 David S. Miller <davem@davemloft.net>
42864 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42865 subtract stack bias.
42866 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42867 %sp not %fp in calculations.
42868 (_JMPBUF_UNWINDS_ADJ): Likewise.
42870 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42871 (aio_suspend): Call it to force an exception region around the
42872 AIO_MISC_WAIT() invocation.
42874 2011-08-23 Andreas Schwab <schwab@redhat.com>
42876 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42879 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42881 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42883 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42884 and <dl-machine.h>.
42885 (Elf64_FuncDesc): Remove.
42887 2011-08-22 David S. Miller <davem@davemloft.net>
42889 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42890 sigaltstack check, add missing cfi directives.
42891 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42892 missing cfi directives, and sigaltstack handling.
42894 2011-08-16 Andreas Schwab <schwab@redhat.com>
42897 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42898 object is seen twice.
42899 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42901 * elf/Makefile (distribute): Add tst-initorder2.c.
42902 (tests): Add tst-initorder2.
42903 (modules-names): Add tst-initorder2a tst-initorder2b
42904 tst-initorder2c tst-initorder2d. Add rules to build them.
42905 ($(objpfx)tst-initorder2.out): New rule.
42906 * elf/tst-initorder2.c: New file.
42907 * elf/tst-initorder2.exp: New file.
42909 2011-08-22 Andreas Schwab <schwab@redhat.com>
42911 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42913 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42914 dependencies back to end of function.
42916 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42917 $(elfobjdir)/ld.so.
42919 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42921 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42922 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42924 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42925 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42926 of __vdso_gettimeofday.
42927 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42928 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42930 (_libc_vdso_platform_setup): Remove initialization of
42931 __vdso_gettimeofday and __vdso_time.
42933 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42935 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42936 and fgetc_unlocked.
42937 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42940 * elf/dl-open.c (add_to_global): Report additions to the global scope
42941 for LD_DEBUG=scopes.
42942 (dl_open_worker): Also print scope of newly loaded dependencies.
42943 (_dl_show_scope): Indicate if there is no scope.
42946 * stdio-common/Makefile (tests): Add bug24.
42947 * stdio-common/bug24.c: New file.
42949 2011-08-19 Andreas Jaeger <aj@suse.de>
42952 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42953 non-existant file when using close-on-exec mode.
42955 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42958 the very first instruction.
42960 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42961 the CFI state in the end.
42962 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42963 inclusion of dl-trampoline.h.
42964 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42966 2011-08-19 Andreas Schwab <schwab@redhat.com>
42968 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42969 expectations for long double.
42971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42972 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42974 2011-08-14 David S. Miller <davem@davemloft.net>
42976 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42977 artificual limit depends upon the system page size.
42979 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42981 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42982 * resolv/Makefile: Define CFLAGS-libresolv.
42984 2011-08-17 Andreas Schwab <schwab@redhat.com>
42986 * nss/makedb.c (compute_tables): Make variables used in nested
42989 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42991 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42992 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42993 if buffer was too small.
42995 * elf/pldd.c (main): Attach to all threads in the process.
42996 Rewrite /proc handling to use *at functions.
42998 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43000 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43001 specifies first scope to show.
43002 (dl_open_worker): Update callers. Move printing scope of new
43003 object to before the relocation.
43004 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43005 * sysdeps/generic/ldsodefs.h: Update declaration.
43007 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43008 string for the scope number.
43010 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43012 * nscd/servicescache.c (cache_addserv): Make sure written is always
43015 2011-08-14 Roland McGrath <roland@hack.frob.com>
43017 * sysdeps/i386/i486/bits/atomic.h
43018 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43019 statement expression, so as to suppress "set but not used" warning.
43020 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43022 * string/strncat.c (STRNCAT): Use prototype definition.
43024 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43025 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43027 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43028 (localedef-modules): Add localedef.
43029 (locale-modules): Add locale.
43031 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43032 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43033 to avoid a warning.
43035 2011-08-14 David S. Miller <davem@davemloft.net>
43037 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43038 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43040 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43042 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43043 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43044 * elf/rtld.c (dl_main): Set l_name of vDSO.
43045 Call _dl_show_scope when DL_DEBUG_SCOPES.
43046 (process_dl_debug): Recognize scopes flag and also set it for all.
43047 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43048 Declare _dl_show_scope.
43050 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43051 (do_dlopen): Pass caller_dlopen to dl_open.
43052 (__libc_dlopen_mode): Initialize caller_dlopen.
43054 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43055 of libc. Make tolower call locale-independent. Optimize a bit by
43056 using isdigit instead of isalnum.
43057 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43059 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43061 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43062 was a dependency or dynamically loaded.
43064 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43066 * intl/l10nflist.c: Allow architecture-specific pop function.
43067 * sysdeps/x86_64/l10nflist.c: New file.
43069 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43072 2011-08-10 Andreas Schwab <schwab@redhat.com>
43074 * include/dirent.h: Add libc_hidden_proto for scandirat and
43075 scandirat64. Don't declare __scandirat64.
43076 * dirent/scandirat.c: Add libc_hidden_def.
43077 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43078 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43080 2011-08-10 David S. Miller <davem@davemloft.net>
43082 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43084 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43085 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43086 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43088 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43090 * Versions.def [libc]: Add GLIBC_2.15.
43091 * dirent/Makefile (routines): Add scandirat and scandirat64.
43092 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43094 * dirent/dirent.h: Declare scandirat and scandirat64.
43095 * dirent/scandirat.c: New file.
43096 * dirent/scandirat64.c: New file.
43097 * sysdeps/wordsize-64/scandirat.c: New file.
43098 * sysdeps/wordsize-64/scandirat64.c: New file.
43099 * dirent/opendir.c: Define opendirat.
43100 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43102 * dirent/scandir64.c: Adjust for scandir.c change.
43103 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43104 __scandirat64, and __scandir_cancel_handler.
43105 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43106 additional parameter and use openat instead of open (outside of ld.so).
43107 Add new __opendir as wrapper around __opendirat.
43108 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43109 here without requiring old scandirat implementation.
43111 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43113 * dirent/scandir.c (cancel_handler): Renamed to
43114 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43115 defined. Adjust users.
43116 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43117 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43119 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43121 * string/test-string.h (IMPL): Use __STRING to expand name and then
43124 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43127 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43129 * string/Makefile: Update.
43130 (strop-tests): Append strncat.
43131 * string/test-wcscmp.c: New file.
43132 New comprehensive test for wcscmp.
43133 * string/test-strcmp.c: Update.
43134 (WIDE): New define.
43136 2011-07-22 Andreas Schwab <schwab@redhat.com>
43138 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43141 2011-07-26 Andreas Schwab <schwab@redhat.com>
43143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43144 encoding to ACE if AI_IDN.
43146 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43148 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43149 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43151 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43153 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43154 Fix overflow bug in strncat.
43155 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43157 * string/test-strncat.c: Update.
43158 Add new tests for checking overflow bugs.
43160 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43163 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43164 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43165 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43166 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43167 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43168 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43169 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43170 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43172 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43173 (USE_AS_STRCAT): Define.
43174 Add strcat and strncat support.
43175 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43177 2011-07-25 Andreas Schwab <schwab@redhat.com>
43179 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43180 __n bigger than INT_MAX+1.
43181 (__strncmp_g): Likewise.
43183 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43185 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43186 * libio/stido.h: Likewise.
43188 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43193 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43194 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43195 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43196 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43197 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43200 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43205 (_dl_x86_64_save_sse): Likewise.
43207 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43211 (_dl_x86_64_save_sse): Likewise.
43213 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43215 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43217 2011-07-21 Andreas Schwab <schwab@redhat.com>
43219 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43221 (_dl_x86_64_save_sse): Use correct AVX check.
43223 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43225 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43226 bug in strncpy/strncat.
43227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43229 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43231 * string/tester.c (test_strcat): Add tests for different alignments
43232 of source and destination.
43233 (test_strncat): Likewise.
43235 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43238 * posix/glob.c (glob): Check passed in values before using them in
43239 expressions to avoid some overflows.
43240 (glob_in_dir): Likewise.
43243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43244 check for AVX enablement so that we don't crash with old kernels and
43246 * elf/tst-audit4.c: Add same checks here.
43247 * elf/tst-audit6.c: Likewise.
43249 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43251 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43253 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43255 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43257 * po/cs.po: Update from translation team.
43258 * po/bg.po: Likewise.
43260 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43262 * misc/sys/cdefs.h: Add support for const attribute.
43263 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43264 to gnu_dev_{major,minor,makedev} functions.
43266 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43268 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43270 2011-07-20 Andreas Schwab <schwab@redhat.com>
43272 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43275 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43277 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43278 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43279 register in order to avoid conflicts with the soft frame pointer
43280 being held in r11 when necessary.
43281 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43282 (INTERNAL_VSYSCALL_NCS): Likewise.
43284 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43286 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43287 * elf/dl-fini.c (_dl_fini): Adjust caller.
43288 * elf/dl-close.c (_dl_close_worker): Likewise.
43289 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43291 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43293 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43294 "aux_cache->nlibs < 0".
43296 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43297 in the reload-count case.
43299 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43302 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43303 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43304 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43305 * sysdeps/x86_64/multiarch/strcat.S: New file.
43306 * sysdeps/x86_64/multiarch/strncat.S: New file.
43307 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43308 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43309 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43310 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43311 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43312 (USE_AS_STRCAT): Define.
43313 Add strcat and strncat support.
43314 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43315 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43316 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43317 * string/strncat.c: Update.
43318 (USE_AS_STRNCAT): Define.
43319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43320 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43322 * sysdeps/x86_64/multiarch/init-arch.h
43323 (bit_Prefer_PMINUB_for_stringop): New.
43324 (index_Prefer_PMINUB_for_stringop): Likewise.
43325 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43326 bit_Prefer_PMINUB_for_stringop.
43328 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43330 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43332 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43333 of casting of buffer.
43334 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43335 buffer32 and buffer64.
43336 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43337 writes instead of casting of buffer.
43338 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43340 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43343 2011-07-19 Andreas Schwab <schwab@redhat.com>
43345 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43347 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43349 * nscd/nscd.c (termination_handler): Don't do anything for a database
43350 if it has not yet been initialized.
43352 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43354 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43356 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43358 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43360 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43362 * po/nl.po: Update from translation team.
43363 * po/sv.po: Likewise.
43365 2011-07-16 Roland McGrath <roland@hack.frob.com>
43367 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43368 now disallowed by GCC.
43370 * configure.in (use-default-link): Default to yes if a test -shared
43371 link meets our qualifications.
43372 * configure: Regenerated.
43374 * config.make.in (output-format): New variable.
43375 * configure.in: Check for ld --print-output-format support.
43376 * configure: Regenerated.
43377 * Makerules ($(common-objpfx)format.lds)
43378 [$(output-format) != unknown]: Just use $(output-format),
43379 instead of the linker-script munging.
43381 2011-07-14 Roland McGrath <roland@hack.frob.com>
43383 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43384 of $(common-objpfx)shlib.lds.
43385 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43387 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43388 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43390 * configure.in (-z relro check): Adjust test code to add a large
43391 writable data section after it.
43392 * configure: Regenerated.
43394 2011-07-11 Roland McGrath <roland@hack.frob.com>
43396 * configure.in (-z relro check): Fix test code to make the variable
43398 * configure: Regenerated.
43400 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43402 * nscd/nscd.h (struct traced_file): Define.
43403 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43404 elements. Add traced_files.
43405 (inotify_fd): Declare.
43406 (register_traced_file): Declare.
43407 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43408 (inotify_fd): Export.
43409 (resolv_conf_descr): Remove.
43410 (nscd_init): Move inotify descriptor creation to main.
43411 Don't register files for notification here.
43412 (register_traced_file): New function.
43413 (invalidate_cache): Don't use reset_res to determine whether to call
43414 res_init, go through the list of registered files.
43415 (main_loop_poll): The inotify descriptors are now stored in the
43416 structures for the traced files.
43417 (main_loop_epoll): Likewise
43418 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43419 to __nss_disable_nscd.
43420 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43421 for a database anymore. Check the records for all the registered
43423 * nss/Makefile (libnss_files-routines): Add files-init.
43424 (libnss_db-routines): Add db-init.
43425 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43426 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43427 * nss/nss_db/db-init.c: New file.
43428 * nss/nss_files/files-init.c: New file.
43429 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43430 __nss_lookup_function.
43431 (__nss_lookup_function): Call nss_load_library.
43432 (nss_load_all_libraries): New function.
43433 (__nss_disable_nscd): Take parameter with callback function for files
43434 to register. Set is_nscd. Load all the DSOs for the NSS modules
43435 used for the cached services.
43436 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43437 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43438 options for features to all the files in nscd.
43440 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43442 2011-07-10 Roland McGrath <roland@hack.frob.com>
43444 * csu/elf-init.c (__libc_csu_init): Comment typo.
43446 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43448 * po/pl.po: Update from translation team.
43449 * po/ja.po: Likewise.
43450 * po/ru.po: Likewise.
43451 * po/ko.po: Likewise.
43452 * po/fr.po: Likewise.
43454 2011-07-09 Roland McGrath <roland@hack.frob.com>
43456 * configure.in (.ctors/.dtors header and trailer check):
43457 Use an empirical test on a built program.
43458 * configure: Regenerated.
43460 * configure.in (-z relro check): Use an empirical test on a built DSO.
43461 Detect, but do not require, on ia64.
43462 * configure: Regenerated.
43464 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43465 Update tests that use readelf to use $READELF instead.
43466 * configure: Regenerated.
43468 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43470 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43471 if the result is not used.
43473 2011-07-05 Andreas Jaeger <aj@suse.de>
43476 * stdlib/tst-strtod.c: Add testcase.
43478 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43480 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43481 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43482 The latter has a higher limit. Take additional parameter to pass to
43484 (__pathconf): Pass file to __statfs_link_max.
43485 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43487 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43491 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43492 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43494 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43495 (__statfs_filesize_max): Likewise.
43496 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43498 2011-07-05 Andreas Jaeger <aj@suse.de>
43500 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43502 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43504 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43506 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43509 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43511 * Makefile (strop-tests): Add strncat.
43512 * string/test-strncat.c: New file.
43514 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43516 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43518 2011-06-21 Andreas Jaeger <aj@suse.de>
43520 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43521 Copy rule from iconvdata/Makefile.
43523 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43526 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43527 but no long options are defined, just return 'W'.
43529 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43532 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43534 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43536 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43538 (innetgr): Likewise.
43540 2011-07-05 Roland McGrath <roland@hack.frob.com>
43542 * config.make.in (install_root): Default to $(DESTDIR).
43544 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43546 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43548 2011-07-02 Roland McGrath <roland@hack.frob.com>
43550 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43552 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43553 containing directory rather than embedding absolute directory names.
43555 * scripts/check-local-headers.sh: Rewritten using awk.
43556 Match by word, not by line. Print error messages for matches.
43557 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43559 * Makerules [shlib-lds-flags empty]:
43560 ($(common-objpfx)libc_pic.opts): New target.
43561 ($(common-objpfx)libc_pic.os.clean): New target.
43562 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43564 * config.make.in (OBJCOPY): New variable.
43565 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43566 * configure: Regenerated.
43568 * config.make.in (use-default-link): New variable.
43569 * configure.in (use_default_link): Grok --with-default-link to set it.
43570 * configure: Regenerated.
43571 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43572 (shlib-lds, shlib-lds-flags): Define to empty.
43574 * Makerules (shlib-lds): New variable.
43575 (shlib-lds-flags): New variable.
43576 (build-shlib, build-moduile, build-module-asneeded): Use it.
43577 ($(common-objpfx)libc.so): Use $(shlib-lds).
43578 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43579 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43581 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43582 DT_FLAGS/DT_FLAGS_1 with zero flags.
43584 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43585 linker script munging.
43587 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43589 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43591 * crypt/sha512.c (sha512_process_block): Perform total addition using
43592 128-bit if possible.
43593 (__sha512_finish_ctx): Likewise.
43594 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43596 * crypt/sha256.c (SWAP64): Define.
43597 (sha256_process_block): Perform total addition using 64-bit if
43599 (__sha256_finish_ctx): Likewise.
43601 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43603 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43604 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43605 * nscd/hstcache.c (cache_addhst): Likewise.
43606 * nscd/grpcache.c (cache_addgr): Likewise.
43607 * nscd/aicache.c (addhstaiX): Likewise
43608 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43610 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43612 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43613 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43614 * nscd/hstcache.c (cache_addhst): Likewise.
43615 * nscd/grpcache.c (cache_addgr): Likewise.
43616 * nscd/aicache.c (addhstaiX): Likewise
43618 2011-07-01 Andreas Schwab <schwab@redhat.com>
43620 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43621 domain only when needed.
43623 2011-06-30 Andreas Schwab <schwab@redhat.com>
43625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43626 is always restored.
43628 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43630 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43631 are re-adding the entry.
43632 * nscd/servicescache.c (cache_addserv): Likewise.
43634 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43636 * sysdeps/generic/dl-irel.h: fix protection against multiple
43638 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43640 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43643 * malloc/memusage.sh: Fix quoting in message.
43644 * debug/xtrace.sh: Likewise.
43646 * configure.in: Remove support for --experimental-malloc option, make
43648 * config.make.in: Likewise.
43649 * malloc/Makefile: Likewise.
43651 2011-06-27 Andreas Schwab <schwab@redhat.com>
43653 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43654 two-byte characters.
43656 2011-06-27 Roland McGrath <roland@hack.frob.com>
43658 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43659 AC_CACHE_CHECK invocation.
43660 * configure: Regenerated.
43662 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43664 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43667 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43668 bit from old_res_options.
43670 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43672 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43673 value type for setfct.
43675 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43678 __gettimeofday instead of gettimeofday.
43680 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43682 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43684 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43686 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43688 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43691 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43693 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43694 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43695 strcpy-sse2-unaligned strncpy-sse2-unaligned
43696 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43697 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43698 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43699 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43700 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43701 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43702 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43703 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43704 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43705 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43706 (STRCPY): Support SSE2 and SSSE3 versions.
43708 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43711 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43712 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43713 kernels which artificially limit size of requests.
43715 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43717 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43718 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43719 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43720 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43721 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43722 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43723 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43724 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43725 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43726 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43727 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43728 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43729 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43730 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43731 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43733 Enable unaligned load optimization for Intel Core i3, i5 and i7
43735 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43737 (index_Fast_Unaligned_Load): Define.
43738 (HAS_FAST_UNALIGNED_LOAD): Define.
43740 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43742 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43744 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43747 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43748 until it is clear that the information is realy needed.
43749 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43751 2011-06-22 Andreas Schwab <schwab@redhat.com>
43753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43755 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43758 /sys/devices/system/cpu/online if it is usable.
43760 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43761 reading the information from the /proc filesystem to once a second.
43763 2011-06-21 Andreas Jaeger <aj@suse.de>
43765 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43766 NULL after inclusion of kernel headers.
43768 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43770 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43771 calls to internal_setent.
43774 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43775 addresses using gethostbyname4_r ignore IPv4 addresses.
43777 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43778 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43780 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43782 2011-06-20 David S. Miller <davem@davemloft.net>
43784 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43786 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43788 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43789 (elf_irel): Use it.
43790 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43791 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43792 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43793 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43794 * sysdeps/x86_64/dl-irel.h: Likewise.
43796 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43797 * elf/dl-sym.c: Likewise.
43799 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43801 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43802 need to dereference resplen2.
43804 2011-06-14 Andreas Schwab <schwab@redhat.com>
43806 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43808 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43810 * Makeconfig: Define vardbdir and inst_vardbdir.
43811 * nss/Makefile: Add rules to install db-Makefile.
43813 * nss/nss_db/db-XXX.c: Cleanup.
43815 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43816 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43818 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43819 * nss/makedb.c: Implement -g option to specify that value strings
43820 are generated and should not be added to table iterated over for
43822 * nss/nss_db/db-initgroups.c: New file.
43824 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43827 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43828 (internal_getgrouplist): Adjust to name change.
43829 Update use_initgroups_entry if this is not the first call.
43830 * nss/databases.def: Add initgroups entry.
43832 * nss/makedb.c (compute_tables): Check result of multiple hash table
43833 sizes to minimize maximum chain length.
43835 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43837 * Versions.def: Add entry for libnss_db.
43838 * shlib-versions: Likewise.
43839 * nss/Makefile: Add rules to build libnss_db.
43840 * nss/Versions: Add libnss_db information. Organize libnss_files
43842 * nss/db-Makefile: Add gshadow support. Change rules for the new
43843 makedb progra. Some minor improvements to generate smaller files.
43844 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43846 * nss/makedb.c: ...here.
43847 Improve database format to be smaller and require less memory at
43849 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43851 * nss/nss_db/db-netgrp.c: Likewise.
43852 * nss/nss_db/db-open.c: Likewise.
43853 * nss/nss_files/flies-XXX.x: Adjust comments.
43854 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43855 * nss/nss_files/files-grp.c: Likewise.
43856 * nss/nss_files/files-hosts.c: Likewise.
43857 * nss/nss_files/files-network.c: Likewise.
43858 * nss/nss_files/files-proto.c: Likewise.
43859 * nss/nss_files/files-pwd.c: Likewise.
43860 * nss/nss_files/files-rpc.c: Likewise.
43861 * nss/nss_files/files-service.c: Likewise.
43862 * nss/nss_files/files-sgrp.c: Likewise.
43863 * nss/nss_files/files-spwd.c: Likewise.
43864 * nss/nss_db/db-alias.c: Removed.
43865 * nss/nss_db/dummy-db.h: Removed.
43867 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43869 * nss/makedb.c: Rewritten to not use database library.
43870 * nss/Makefile: Update to build new makedb program.
43872 2011-06-14 Andreas Jaeger <aj@suse.de>
43874 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43875 memset declaration.
43877 2011-06-10 Andreas Schwab <schwab@redhat.com>
43879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43882 2011-06-10 Roland McGrath <roland@hack.frob.com>
43884 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43885 * elf/Makefile ($(objpfx)ld.so): Likewise.
43887 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43888 Don't list ld.so twice in dependencies.
43890 * posix/bug-regex31.c: Include <stdlib.h>.
43892 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43894 * nis/nss_compat/compat-spwd.c
43895 (getspent_next_nss_netgr): Remove unused variable.
43896 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43898 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43899 nonmembers" output to use the right array.
43901 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43903 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43905 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43906 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43907 * catgets/gencat.c (read_input_file): Likewise.
43908 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43910 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43911 variable definition inside #if's controlling its use.
43913 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43915 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43917 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43919 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43922 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43924 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43925 * configure: Regenerated.
43927 * Makerules: Revert last change.
43928 * elf/Makefile: Likewise.
43930 2011-06-09 Roland McGrath <roland@hack.frob.com>
43932 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43933 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43934 (reloc-link): Likewise.
43936 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43938 * elf/Makefile: Add rules to build pldd.
43939 * elf/pldd.c: New file.
43940 * elf/pldd-xx.c: New file.
43942 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43944 * version.h: Update for 2.15 development version.
43946 2011-06-07 David S. Miller <davem@davemloft.net>
43948 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43950 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43951 elf_machine_lazy_rel): Likewise.
43952 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43953 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43954 elf_machine_lazy_rel): Likewise.
43955 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43956 dl_hwcap via passed in argument.
43957 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43960 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43962 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43964 2011-06-06 Roland McGrath <roland@hack.frob.com>
43967 * manual/fdl-1.1.texi: New file, verbatim from:
43968 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43969 * manual/lgpl-2.1.texi: New file, verbatim from:
43970 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43971 * manual/Makefile (licenses): New variable, list those new file names.
43973 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43975 * manual/fdl.texi: File removed.
43976 * manual/lesser.texi: File removed.
43977 * manual/libc.texinfo (Copying, Documentation License):
43978 Use new @include file names, put @appendix directive before @include.
43980 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43983 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43984 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43985 (mq_open): Add __NTH.
43987 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43990 Assume Intel Core i3/i5/i7 processor if AVX is available.
43992 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43994 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43997 2011-05-31 Andreas Schwab <schwab@redhat.com>
43999 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44000 memory. Use alloca_account. Fix memory leak when retrying.
44002 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44004 * version.h (RELEASE): Bump for 2.14 release.
44005 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44007 * config.make.in (RANLIB): Remove entry.
44009 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44011 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44012 (libc.pot): Work around missing support for .ksh extension in xgettext.
44015 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44016 if both request failed.
44017 (send_dg): In case of server errors clear resplen or *resplen2.
44020 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44021 when there are multiple maps.
44022 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44023 (_dl_fini): Remove test here.
44025 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44027 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44030 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44031 bit from old_res_options.
44032 (gaih_inet): Likewise.
44035 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44038 * resolv/res_init.c (res_setoptions): Make the code more compact.
44041 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44045 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44047 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44050 * malloc/malloc.h: Declare malloc hook variables as volatile.
44052 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44056 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44057 raise in the comment.
44058 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44059 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44060 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44062 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44065 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44066 grow the buffers more if it already has to be sufficient.
44067 (build_wcs_upper_buffer): Likewise.
44068 * posix/regexec.c (check_matching): Likewise.
44069 (clean_state_log_if_needed): Likewise.
44070 (extend_buffers): Don't enlarge buffers beyond size of the input
44072 Patches mostly by Emil Wojak <emil@wojak.eu>.
44073 * posix/bug-regex32.c: New file.
44074 * posix/Makefile (tests): Add bug-regex32.
44076 * locale/findlocale.c (_nl_find_locale): Return right away if
44077 _nl_explode_name failed.
44078 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44080 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44082 * debug/xtrace.sh: Unify messages.
44083 * malloc/memusage.sh: Likewise.
44086 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44087 time symbol from vDSO. Substitute with vsyscall if not available.
44088 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44091 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44092 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44093 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44094 Add sendmmsg and internal_sendmmsg.
44095 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44096 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44097 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44099 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44100 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44101 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44103 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44106 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44107 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44109 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44113 * iconvdata/Makefile (tests): Add bug-iconv9.
44114 * iconvdata/bug-iconv9.c: New file.
44116 2011-05-27 Andreas Schwab <schwab@redhat.com>
44119 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44121 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44123 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44124 (struct user_regs_struct): Change intcs field back to cs.
44126 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44128 * po/ja.po: Update from translation team.
44130 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44133 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44134 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44136 2011-05-20 Andreas Schwab <schwab@redhat.com>
44138 * stdlib/longlong.h: Update from GCC.
44140 2011-05-23 Andreas Schwab <schwab@redhat.com>
44142 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44144 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44145 Add parameter name.
44146 (__sysconf): Pass it down.
44148 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44151 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44153 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44154 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44155 add in in __libc_use_alloca calls. Adjust callers.
44156 (glob): Use malloc in some situations.
44158 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44159 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44162 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44164 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44165 and CLOCK_BOOTTIME_ALARM.
44168 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44171 * string/_strerror.c (__strerror_r): Print negative errors as signed
44175 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44176 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44177 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44179 * configure.in: Fix typo in redirection and correct removal of test
44180 files in two cases.
44183 * locale/setlocale.c (new_composite_name): Fix test to check for
44184 identical name of all categories.
44187 * libio/filedoalloc.c (local_isatty): New function.
44188 (_IO_file_doallocate): Use local_isatty.
44189 * stdio-common/perror.c (perror): In case a new stream is used
44190 forward the stream error.
44191 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44194 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44199 * include/alloca.h (extend_alloca_account): Define.
44202 * posix/regex.h: Fix comments with documentation of user-accessible
44203 fields after compilation and describe correct free'ing of pattern
44204 after re_compile_pattern.
44205 Patch by Reuben Thomas <rrt@sc3d.org>.
44207 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44209 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44210 and -mno-altivec to prevent the compiler from using Altivec and/or
44211 VSX instructions when the corresponding registers are not available.
44213 2011-05-19 Andreas Schwab <schwab@redhat.com>
44215 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44217 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44219 * libio/freopen.c (freopen): Use __dup2, not dup2.
44220 * libio/freopen64.c (freopen64): Likewise.
44222 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44225 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44226 * math/Makefile (tests): Add test-powl.
44227 (CFLAGS-test-powl.c): Define.
44228 * math/test-powl.c: New file.
44230 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44232 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44234 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44237 * iconvdata/gb18030.c: Update to GB18020-2005.
44239 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44241 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44242 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44243 Patch by Aharon Robbins <arnold@skeeve.com>.
44246 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44250 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44251 through underflows.
44254 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44255 point to strings before performing equality test for error_one_per_line
44259 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44262 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44263 (struct user_fpregs_struct): Avoid __uint*_t types.
44266 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44267 symbol info. Use it instead of calling _dl_addr locally.
44268 (lock_and_info): New function.
44269 (tr_freehook): Call lock_and_info and pass symbol info as additional
44270 parameter to tr_where.
44271 (tr_mallochook): Likewise.
44272 (tr_reallochook): Likewise.
44273 (tr_memalignhook): Likewise.
44275 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44276 used and couldn't be at all thread-safe.
44278 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44280 * libio/freopen.c (freopen): Don't close old file descriptor
44281 before the new one is opened. Instead dup the new file descriptor
44282 to the old one after the new stream is created.
44283 * libio/freopen64.c (freopen64): Likewise.
44284 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44285 * libio/fileops.c (_IO_new_file_close_it): Handle new
44286 _IO_FLAGS2_NOCLOSE flag.
44287 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44288 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44289 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44290 _IO_FLAGS2_NOCLOSE flag.
44291 * include/unistd.h: Add hidden_proto for dup3.
44292 Define __have_dup3.
44293 * io/dup3.c: Define hidden symbol.
44294 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44297 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44298 when an incomplete long option is used.
44299 * posix/tst-getopt_long1.c: New file.
44300 * posix/Makefile (tests): Add tst-getopt_long1.
44303 * scripts/config.guess: Update from autoconf-2.68.
44304 * scripts/config.sub: Likewise.
44307 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44309 (has_cpuclock): ...this. New function.
44310 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44311 macro here based on has_cpuclock code.
44314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44315 First byte (not low byte) is now always NUL.
44316 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44319 Use non-cancelable interfaces.
44322 * locale/iso-639.def: Add entry for Sorani.
44325 * include/stdlib.h: Move include protection to the right place.
44326 Define abort_msg_s. Declare __abort_msg with it.
44327 * stdlib/abort.c (__abort_msg): Adjust type.
44328 * assert/assert.c (__assert_fail_base): New function. Majority
44329 of code from __assert_fail. Allocate memory for __abort_msg with
44331 (__assert_fail): Now call __assert_fail_base.
44332 * assert/assert-perr.c: Remove bulk of implementation. Use
44333 __assert_fail_base.
44334 * include/assert.hL Declare __assert_fail_base.
44335 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44337 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44339 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44343 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44344 until all modules are registered in the DTV.
44345 * elf/Makefile: Add rules to build and run tst-tls19.
44346 * elf/tst-tls19.c: New file.
44347 * elf/tst-tls19mod1.c: New file.
44348 * elf/tst-tls19mod2.c: New file.
44349 * elf/tst-tls19mod3.c: New file.
44350 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44353 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44357 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44358 two-byte sequence errors.
44359 * iconvdata/Makefile (tests): Add bug-iconv8.
44360 * iconvdata/bug-iconv8.c: New file.
44363 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44366 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44369 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44370 (dummy_getcfa): New function.
44371 (init): Get _Unwind_GetCFA address, use dummy if not found.
44372 (backtrace_helper): In recursion check, also check whether CFA changes.
44373 (__backtrace): Completely initialize arg.
44375 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44376 storing incomplete byte sequence in state object. Avoid testing for
44377 guaranteed too small input if we know there is enough data available.
44379 2011-05-11 Andreas Schwab <schwab@redhat.com>
44381 * Makeconfig (+link-pie): Indent.
44382 * Rules (binaries-pie): Define if $(have-fpie) and
44384 (binaries-shared): Also filter out $(binaries-pie).
44385 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44386 * nscd/Makefile (others-pie): Add nscd.
44387 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44388 ($(objpfx)nscd): Remove command override.
44389 * login/Makefile (others-pie): Add pt_chown.
44390 ($(objpfx)pt_chown): Remove command override.
44391 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44392 remove command overrides.
44394 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44396 * libio/tst_putwc.c: Fix error messages.
44399 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44400 currently writing and seek to current position when not.
44401 * libio/Makefile (tests): Add bug-fclose1.
44402 * libio/bug-fclose1.c: New file.
44404 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44407 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44408 don't set DF_1_NODELETE here.
44409 (do_lookup_x): When entering new entry test for copy relocation
44410 and if necessary set DF_1_NODELETE flag.
44411 * elf/tst-unique4.cc: New file.
44412 * elf/tst-unique4.h: New file.
44413 * elf/tst-unique4lib.cc: New file.
44414 * elf/Makefile: Add rules to build and run tst-unique4.
44415 Patch by Piotr Bury <pbury@goahead.com>.
44417 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44420 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44423 * misc/mntent_r.c (addmntent): Flush the stream after the output
44426 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44427 (is_trusted_path_normalize): Skip initial colon. Append slash
44428 to empty buffer. Duplicate is_trusted_path code but allow
44429 constructed patch to be prefix.
44430 (is_dst): Allow $ORIGIN followed by /.
44431 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44432 Correct testing of result of is_trusted_path_normalize
44433 (decompose_rpath): Fix warning.
44435 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44438 * grp/initgroups.c (internal_getgrouplist): When we found the service
44439 list through the initgroups entry in nsswitch.conf do not always
44440 continue on a successful lookup. Don't always use the
44441 __nss_group_database value if it is set.
44442 * nss/nsswitch.conf (initgroups): Change action for successful db
44443 lookup to continue for compatibility.
44445 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44448 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44450 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44452 * iconvdata/tst-tables.sh: Likewise.
44453 * iconvdata/cp770.c: New file.
44454 * iconvdata/cp771.c: New file.
44455 * iconvdata/cp772.c: New file.
44456 * iconvdata/cp773.c: New file.
44457 * iconvdata/cp774.c: New file.
44458 * iconvdata/testdata/CP770: New file.
44459 * iconvdata/testdata/CP770..UTF8: New file.
44460 * iconvdata/testdata/CP771: New file.
44461 * iconvdata/testdata/CP771..UTF8: New file.
44462 * iconvdata/testdata/CP772: New file.
44463 * iconvdata/testdata/CP772..UTF8: New file.
44464 * iconvdata/testdata/CP773: New file.
44465 * iconvdata/testdata/CP773..UTF8: New file.
44466 * iconvdata/testdata/CP774: New file.
44467 * iconvdata/testdata/CP774..UTF8: New file.
44469 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44471 * iconvdata/gen-8bit-gap.sh: Likewise.
44472 * iconvdata/gen-8bit.sh: Likewise.
44474 * locale/iso-639.def: Add ary entry.
44477 * locale/C-translit.h.in: Add U20A1 transliteration.
44480 * locale/iso-639.def: Add wae entry.
44481 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44484 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44488 * locale/C-translit.h.in: Add entry for U20B9.
44489 Patch by pravin.d.s@gmail.com.
44491 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44494 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44495 ENAMETOOLONG use generic getcwd.
44496 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44497 in rtld. Use *stat64.
44498 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44499 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44500 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44501 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44502 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44503 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44504 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44505 __fstatat64 macros.
44506 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44507 * dirent/rewinddir.c: Add libc_hidden_def.
44508 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44509 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44511 * include/dirent.h (__alloc_dir): Add flags parameter.
44512 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44513 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44515 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44516 from fdopendir if O_CLOEXEC is already set.
44518 2011-03-15 Alan Modra <amodra@gmail.com>
44520 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44521 l_tls_firstbyte_offset non-zero. Save padding offset in
44522 l_tls_firstbyte_offset for later use.
44523 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44524 freeing static tls block.
44526 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44528 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44529 where #ifdef was intended. The intent is to prevent ARG_MAX from
44530 being defined by the kernel headers.
44532 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44535 * resolv/resolv.h: Define RES_NOTLDQUERY.
44536 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44537 no-tld-query and set RES_NOTLDQUERY.
44538 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44539 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44540 modern BIND to search name as TLD unless forbidden.
44542 2011-05-07 Petr Baudis <pasky@suse.cz>
44543 Ulrich Drepper <drepper@gmail.com>
44546 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44547 (is_trusted_path): ...to here.
44548 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44549 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44550 using is_trusted_path_normalize() in setuid scripts.
44552 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44554 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44555 __BEGIN/__END_DECLS.
44557 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44559 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44560 NSS_STATUS_NOTFOUND if no record was found.
44562 2011-05-05 Andreas Schwab <schwab@redhat.com>
44564 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44565 (headers-not-in-tirpc): Remove rpc/netdb.h
44566 * resolv/netdb.h: Revert last change.
44568 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44570 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44571 circular dependency between libgcc.a and libc.a.
44573 2011-05-05 Andreas Schwab <schwab@redhat.com>
44575 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44576 * nis/Makefile: Don't install rpcsvc/*.
44577 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44578 instead of <rpc/types.h>.
44579 (MAXHOSTNAMELEN): Define.
44581 2011-05-03 Andreas Schwab <schwab@redhat.com>
44583 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44585 2011-04-28 Maciej Babinski <mbabinski@google.com>
44588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44589 gethostbyname4_r when IPv6 results are possible.
44591 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44594 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44595 _PC_PIPE_BUF handling.
44597 2011-04-30 Bruno Haible <bruno@clisp.org>
44600 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44601 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44603 * inet/getnameinfo.c (getnameinfo): Likewise.
44605 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44607 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44608 to groups setting in database lookup.
44609 * nss/nsswitch.conf: Add initgroups entry.
44611 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44614 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44616 Patch by Eric Blake <eblake@redhat.com>.
44618 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44620 * sunrpc/Makefile (need-export-routines): Add svc_run.
44621 (routines): Remove svc_run.
44622 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44623 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44624 * sunrpc/svc_run.c (svc_run): Likewise.
44625 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44627 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44629 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44630 problem in reallocation in last patch.
44632 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44634 * sunrpc/Makefile: Move inclusion of Rules.
44636 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44638 * nss/nss_files/files-initgroups.c: New file.
44639 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44640 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44641 _nss_files_initgroups_dyn.
44643 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44645 * elf/elf.h (R_ARM_IRELATIVE): Define.
44647 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44649 * po/ru.po: Update from translation team.
44651 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44653 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44656 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44659 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44660 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44661 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44662 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44663 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44665 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44667 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44669 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44670 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44671 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44673 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44676 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44678 * stdlib/bug-getcontext.c: New file.
44679 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44681 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44683 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44684 instructions into .machine "z9-109".
44685 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44686 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44688 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44690 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44691 between environment variables and auxiliary vector.
44693 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44695 * Makefile: Add rules to build linkobj/libc.so.
44696 * include/libc-symbols.h: Define libc_hidden_nolink.
44697 * include/rpc/auth.h: Mark functions which are to be hidden.
44698 * include/rpc/auth_des.h: Likewise.
44699 * include/rpc/auth_unix.h: Likewise.
44700 * include/rpc/clnt.h: Likewise.
44701 * include/rpc/des_crypt.h: Likewise.
44702 * include/rpc/key_prot.h: Likewise.
44703 * include/rpc/pmap_clnt.h: Likewise.
44704 * include/rpc/pmap_prot.h: Likewise.
44705 * include/rpc/pmap_rmt.h: Likewise.
44706 * include/rpc/rpc_msg.h: Likewise.
44707 * include/rpc/svc.h: Likewise.
44708 * include/rpc/svc_auth.h: Likewise.
44709 * include/rpc/xdr.h: Likewise.
44710 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44711 * nss/Makefile: Likewise.
44712 * sunrpc/Makefile: Don't install headers. Build library with normal
44713 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44714 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44715 for the compat linking library. Remove use of INTDEF/INTUSE.
44716 * sunrpc/auth_none.c: Likewise.
44717 * sunrpc/auth_unix.c: Likewise.
44718 * sunrpc/authdes_prot.c: Likewise.
44719 * sunrpc/authuxprot.c: Likewise.
44720 * sunrpc/clnt_gen.c: Likewise.
44721 * sunrpc/clnt_perr.c: Likewise.
44722 * sunrpc/clnt_raw.c: Likewise.
44723 * sunrpc/clnt_simp.c: Likewise.
44724 * sunrpc/clnt_tcp.c: Likewise.
44725 * sunrpc/clnt_udp.c: Likewise.
44726 * sunrpc/clnt_unix.c: Likewise.
44727 * sunrpc/des_crypt.c: Likewise.
44728 * sunrpc/des_soft.c: Likewise.
44729 * sunrpc/get_myaddr.c: Likewise.
44730 * sunrpc/key_call.c: Likewise.
44731 * sunrpc/key_prot.c: Likewise.
44732 * sunrpc/netname.c: Likewise.
44733 * sunrpc/pm_getmaps.c: Likewise.
44734 * sunrpc/pm_getport.c: Likewise.
44735 * sunrpc/pmap_clnt.c: Likewise.
44736 * sunrpc/pmap_prot.c: Likewise.
44737 * sunrpc/pmap_prot2.c: Likewise.
44738 * sunrpc/pmap_rmt.c: Likewise.
44739 * sunrpc/publickey.c: Likewise.
44740 * sunrpc/rpc_cmsg.c: Likewise.
44741 * sunrpc/rpc_common.c: Likewise.
44742 * sunrpc/rpc_dtable.c: Likewise.
44743 * sunrpc/rpc_prot.c: Likewise.
44744 * sunrpc/rpc_thread.c: Likewise.
44745 * sunrpc/rtime.c: Likewise.
44746 * sunrpc/svc.c: Likewise.
44747 * sunrpc/svc_auth.c: Likewise.
44748 * sunrpc/svc_authux.c: Likewise.
44749 * sunrpc/svc_raw.c: Likewise.
44750 * sunrpc/svc_run.c: Likewise.
44751 * sunrpc/svc_simple.c: Likewise.
44752 * sunrpc/svc_tcp.c: Likewise.
44753 * sunrpc/svc_udp.c: Likewise.
44754 * sunrpc/svc_unix.c: Likewise.
44755 * sunrpc/svcauth_des.c: Likewise.
44756 * sunrpc/xcrypt.c: Likewise.
44757 * sunrpc/xdr.c: Likewise.
44758 * sunrpc/xdr_array.c: Likewise.
44759 * sunrpc/xdr_float.c: Likewise.
44760 * sunrpc/xdr_intXX_t.c: Likewise.
44761 * sunrpc/xdr_mem.c: Likewise.
44762 * sunrpc/xdr_rec.c: Likewise.
44763 * sunrpc/xdr_ref.c: Likewise.
44764 * sunrpc/xdr_sizeof.c: Likewise.
44765 * sunrpc/xdr_stdio.c: Likewise.
44767 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44770 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44771 * sysdeps/ia64/dl-tls.h: Likewise.
44772 * sysdeps/powerpc/dl-tls.h: Likewise.
44773 * sysdeps/s390/dl-tls.h: Likewise.
44774 * sysdeps/sh/dl-tls.h: Likewise.
44775 * sysdeps/sparc/dl-tls.h: Likewise.
44776 * sysdeps/x86_64/dl-tls.h: Likewise.
44777 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44779 2011-03-14 Andreas Schwab <schwab@redhat.com>
44781 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44782 rpath element also skip the following colon.
44783 (expand_dynamic_string_token): Add is_path parameter and pass
44784 down to DL_DST_REQUIRED and _dl_dst_substitute.
44785 (decompose_rpath): Call expand_dynamic_string_token with
44786 non-zero is_path. Ignore empty rpaths.
44787 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44790 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44795 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44798 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44799 Patch by Filipe David Manana <fdmanana@apache.org>.
44801 2011-04-07 Andreas Schwab <schwab@redhat.com>
44803 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44804 Maintain aligned stack.
44805 (CHECK_RSP): Remove unused macro.
44807 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44809 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44810 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44812 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44814 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44816 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44818 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44821 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44822 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44823 * sysdeps/x86_64/memmove.c: New file.
44824 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44825 (memcpy): Renamed to ...
44826 (__new_memcpy): This.
44827 (memcpy): Provide GLIBC_2_14 memcpy.
44828 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44829 (memcpy): Provide GLIBC_2_2_5 memcpy.
44831 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44834 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44836 2011-03-30 Andreas Schwab <schwab@redhat.com>
44838 * misc/syncfs.c: New file.
44839 * misc/Makefile (routines): Add syncfs.
44840 * posix/unistd.h: Declare syncfs.
44841 * sysdeps/unix/syscalls.list: Add syncfs.
44843 2011-04-01 Andreas Schwab <schwab@redhat.com>
44845 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44847 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44848 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44849 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44850 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44852 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44853 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44855 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44857 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44858 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44859 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44861 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44863 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44865 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44866 sync_file_range.c with -fexceptions.
44867 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44868 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44869 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44870 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44871 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44872 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44873 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44874 sync_file_range as cancellation point
44875 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44876 now a wrapper around __call_sync_file_range with cancellation handling.
44877 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44878 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44879 function name to __call_sync_file_range.
44880 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44881 Add call_sync_file_range.
44883 2011-04-01 Andreas Schwab <schwab@redhat.com>
44885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44888 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44890 * iconv/iconv.h: Fix typo in comment.
44891 * io/fcntl.h: Likewise.
44892 * libio/stdio.h: Likewise.
44893 * posix/spawn.h: Likewise.
44894 * posix/unistd.h: Likewise.
44895 * stdlib/stdlib.h: Likewise.
44896 * time/time.h: Likewise.
44897 * wcsmbs/wchar.h: Likewise.
44899 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44900 open_by_handle): Add.
44901 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44902 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44903 Augment a few comments.
44904 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44906 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44907 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44909 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44912 * io/fcntl.h (AT_EMPTY_PATH): Define.
44914 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44916 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44917 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44918 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44920 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44921 * Versions.def: Add GLIBC_2.14.
44922 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44925 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44927 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44929 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44931 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44934 * string/test-strncmp.c (do_page_test): New function.
44935 (check2): Likewise.
44936 (test_main): Call check2.
44937 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44939 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44942 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44943 Handle cache information in CPU leaf 4.
44944 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44946 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44949 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44950 character representation.
44951 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44953 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44955 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44956 END(__isnan) to END(__isnanf) to match function entry point/label
44957 EALIGN(__isnanf,...).
44959 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44961 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44963 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44966 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44967 copy from the symbol referenced in the relocation to initialize the
44969 Patch by Piotr Bury <pbury@goahead.com>.
44970 * elf/Makefile: Add rules to build and tst-unique3.
44971 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44972 * elf/tst-unique3.cc: New file.
44973 * elf/tst-unique3.h: New file.
44974 * elf/tst-unique3lib.cc: New file.
44975 * elf/tst-unique3lib2.cc: New file.
44977 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44979 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44981 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44982 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44985 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44987 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44988 to-be-loaded object along a path to loader is ld.so.
44990 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44991 Ulrich Drepper <drepper@gmail.com>
44993 * sysdeps/x86_64/memset.S: After aligning destination, code
44994 branches to different locations depending on the value of
44995 misalignment, when multiarch is enabled. Fix this.
44997 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44999 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45000 Set _x86_64_preferred_memory_instruction for AMD processsors.
45001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45002 Set bit_Prefer_SSE_for_memop for AMD processors.
45004 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45006 * libio/fmemopen.c (fmemopen): Optimize a bit.
45008 2011-03-03 Andreas Schwab <schwab@redhat.com>
45010 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45012 2011-03-03 Roland McGrath <roland@redhat.com>
45014 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45016 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45018 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45019 __bzero_ultra1 instead of __memset_ultra1.
45021 2011-02-23 Andreas Schwab <schwab@redhat.com>
45022 Ulrich Drepper <drepper@gmail.com>
45025 * include/link.h (struct link_map): Add l_orig_initfini.
45026 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45027 returning unsuccessfully.
45028 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45029 close of a file loaded at startup, restore the original l_initfini
45031 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45032 list, store the pointer.
45033 * elf/Makefile ($(objpfx)noload-mem): New rule.
45034 (noload-ENV): Define.
45035 (tests): Add $(objpfx)noload-mem.
45036 * elf/noload.c: Include <memcheck.h>.
45037 (main): Call mtrace. Close all opened handles.
45039 2011-02-17 Andreas Schwab <schwab@redhat.com>
45042 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45043 dependencies are missing.
45045 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45047 Fix __if_freereq crash: Unlike the generic version which uses free,
45049 * sysdeps/mach/hurd/ifreq.h: New file.
45051 2011-01-27 Petr Baudis <pasky@suse.cz>
45052 Ulrich Drepper <drepper@gmail.com>
45055 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45056 to extend_alloca().
45057 * stdio-common/bug23.c: New file.
45058 * stdio-common/Makefile (tests): Add bug23.
45060 2010-09-28 Andreas Schwab <schwab@redhat.com>
45061 Ulrich Drepper <drepper@gmail.com>
45064 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45065 before performing relro protection. At old place add assertion
45066 to make sure nothing changed.
45068 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45069 Glauber de Oliveira Costa <glommer@gmail.com>
45071 * elf/elf.h: Add new ARM TLS relocs.
45073 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45076 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45078 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45080 * sysdeps/wordsize-64/tst-writev.c: New file.
45082 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45084 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45085 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45086 insns in _dl_start to prevent a TOC reference before relocs are
45089 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45092 * Makeconfig: Remove RANLIB definition.
45093 * Makerules: Don't use RANLIB.
45094 * aclocal.m4: Remove ranlib test.
45095 * configure.in: No need to check for ranlib.
45096 * elf/rtld-Rules: Don't use RANLIB.
45098 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45100 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45102 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45103 inclusion protection macro.
45105 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45106 SIGRTMIN and SIGRTMAX and print information in that case only when
45107 SIGRTMIN is defined.
45109 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45111 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45112 arginfo fn returning -1.
45114 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45115 and thousands string is zero terminated.
45117 2011-02-03 Andreas Schwab <schwab@redhat.com>
45119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45120 sysdeps/unix/sysv/linux/bits/socket.h.
45122 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45124 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45125 (__CPU_COUNT): Remove old macros.
45126 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45127 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45128 (__CPU_ALLOC, __CPU_FREE): Add macros.
45129 (__sched_cpualloc, __sched_cpufree): Add declarations.
45131 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45133 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45134 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45135 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45136 (readdhstai): Return value of addhstaiX call.
45137 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45138 (addgrbyX): Return value returned by cache_addgr.
45139 (readdgrbyname): Return value returned by addgrbyX.
45140 (readdgrbygid): Likewise.
45141 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45142 (addpwbyX): Return value returned by cache_addpw.
45143 (readdpwbyname): Return value returned by addhstbyX.
45144 (readdpwbyuid): Likewise.
45145 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45146 (addservbyX): Return value returned by cache_addserv.
45147 (readdservbyname): Return value returned by addservbyX:
45148 (readdservbyport): Likewise.
45149 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45150 (addhstbyX): Return value returned by cache_addhst.
45151 (readdhstbyname): Return value returned by addhstbyX.
45152 (readdhstbyaddr): Likewise.
45153 (readdhstbynamev6): Likewise.
45154 (readdhstbyaddrv6): Likewise.
45155 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45156 (readdinitgroups): Return value returned by addinitgroupsX.
45157 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45158 (prune_cache): Keep track of timeout value of re-added entries.
45159 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45160 * nscd/nscd.h: Adjust prototypes of readd* functions.
45162 2011-02-04 Roland McGrath <roland@redhat.com>
45164 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45165 (nis_stats): Likewise.
45166 * nis/nis_modify.c (nis_modify): Likewise.
45167 * nis/nis_remove.c (nis_remove): Likewise.
45168 * nis/nis_add.c (nis_add): Likewise.
45170 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45172 * posix/fnmatch_loop.c: Add some consts.
45174 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45176 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45179 * config.make.in (config-cflags-novzeroupper): Define.
45180 * configure.in: Substitute libc_cv_cc_novzeroupper.
45181 * elf/Makefile (AVX-CFLAGS): Define.
45182 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45183 (CFLAGS-tst-auditmod4a.c): Likewise.
45184 (CFLAGS-tst-auditmod4b.c): Likewise.
45185 (CFLAGS-tst-auditmod6b.c): Likewise.
45186 (CFLAGS-tst-auditmod6c.c): Likewise.
45187 (CFLAGS-tst-auditmod7b.c): Likewise.
45188 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45190 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45192 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45193 function to the callback.
45194 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45196 2011-02-02 Andreas Schwab <schwab@redhat.com>
45198 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45201 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45204 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45206 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45208 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45211 * elf/Makefile: Add rules to build and run new test.
45212 * elf/tst-initorder.c: New file.
45213 * elf/tst-initorder.exp: New file.
45214 * elf/tst-initordera1.c: New file.
45215 * elf/tst-initordera2.c: New file.
45216 * elf/tst-initordera3.c: New file.
45217 * elf/tst-initordera4.c: New file.
45218 * elf/tst-initorderb1.c: New file.
45219 * elf/tst-initorderb2.c: New file.
45220 * elf/tst-order-a1.c: New file.
45221 * elf/tst-order-a2.c: New file.
45222 * elf/tst-order-a3.c: New file.
45223 * elf/tst-order-a4.c: New file.
45224 * elf/tst-order-b1.c: New file.
45225 * elf/tst-order-b2.c: New file.
45226 * elf/tst-order-main.c: New file.
45227 New test case by George Gensure <werkt0@gmail.com>.
45229 2010-10-01 Andreas Schwab <schwab@redhat.com>
45231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45232 decoding ACE if AI_CANONIDN.
45234 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45236 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45238 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45240 * version.h (RELEASE): Bump for 2.13 release.
45241 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45243 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45245 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45247 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45248 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45249 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45250 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45251 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45252 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45254 * posix/getconf.c: Update copyright year.
45255 * catgets/gencat.c: Likewise.
45256 * csu/version.c: Likewise.
45257 * debug/catchsegv.sh: Likewise.
45258 * debug/xtrace.sh: Likewise.
45259 * elf/ldconfig.c: Likewise.
45260 * elf/ldd.bash.in: Likewise.
45261 * elf/sprof.c (print_version): Likewise.
45262 * iconv/iconv_prog.c: Likewise.
45263 * iconv/iconvconfig.c: Likewise.
45264 * locale/programs/locale.c: Likewise.
45265 * locale/programs/localedef.c: Likewise.
45266 * malloc/memusage.sh: Likewise.
45267 * malloc/mtrace.pl: Likewise.
45268 * nscd/nscd.c (print_version): Likewise.
45269 * nss/getent.c: Likewise.
45271 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45272 PF_CAIF, and PF_ALG.
45273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45275 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45277 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45278 (modules-names): Use them.
45279 (ifunc-test-modules, ifunc-pie-tests): Define.
45280 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45281 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45282 (test-extras): Likewise.
45283 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45284 $(compile-command.c).
45285 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45286 (all-built-dso): Define.
45287 (check-textrel.out, check-execstack.out): Depend on it.
45289 * configure.in: Don't override --enable-multi-arch.
45291 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45294 * nscd/hstcache.c (tryagain): Define.
45295 (cache_addhst): Return tryagain not notfound for temporary errors.
45296 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45299 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45302 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45303 to make the syscall.
45304 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45307 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45308 and fall back to matching as normal character if the string ends before
45309 the matching ']' is found. This is what POSIX requires.
45310 * posix/testfnm.c: Adjust test result.
45311 * posix/globtest.sh: Adjust test result. Add new test.
45312 * posix/tst-fnmatch.input: Likewise.
45313 * posix/tst-fnmatch2.c: Add new test.
45315 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45317 * elf/Makefile (check-execstack): Revert last change. Depend on
45319 (check-execstack.h): New target.
45320 (generated): Add check-execstack.h.
45321 * elf/check-execstack.c: Include "check-execstack.h".
45322 (main): Revert last change.
45323 (handle_file): Return zero if GNU_STACK is absent and
45324 DEFAULT_STACK_PERMS doesn't include PF_X.
45326 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45328 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45329 in child fails because the descriptor is already closed.
45330 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45331 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45332 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45335 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45339 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45340 temporary buffer used to handle multi lookups locally.
45341 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45343 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45345 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45348 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45350 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45351 alignment for SSE2.
45353 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45356 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45357 characters. When rounding increased number of integer digits recompute
45359 * stdio-common/tst-grouping.c: New file.
45360 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45362 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45364 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45365 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45367 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45369 * bits/select.h: Likewise.
45371 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45373 * po/ja.po: Update from translation team.
45375 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45378 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45379 implementation just like for lxstat, fxstatat, et al.
45381 2010-12-27 Jim Meyering <meyering@redhat.com>
45384 * posix/regexec.c (build_trtable): Return failure indication upon
45385 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45387 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45390 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45391 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45392 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45393 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45396 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45399 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45400 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45402 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45404 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45405 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45406 script has SORT_BY_INIT_PRIORITY.
45407 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45408 NO_CTORS_DTORS_SECTIONS is defined.
45409 * elf/soinit.c: Likewise.
45410 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45411 NO_CTORS_DTORS_SECTIONS is defined.
45412 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45413 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45414 * sysdeps/sh/init-first.c: Likewise.
45415 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45417 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45419 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45420 always use the slow path.
45422 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45424 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45425 similar rule which adds the sysdep directories to the header search in
45426 order to pick up the correct platform stackinfo.h.
45427 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45428 perform test if it is, otherwise return successfully without testing.
45429 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45430 DEFAULT_STACK_PERMS define in stackinfo.h.
45431 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45432 defined in stackinfo.h.
45433 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45434 DEFAULT_STACK_PERMS defined in stackinfo.h.
45435 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45436 * sysdeps/ia64/stackinfo.h: Likewise.
45437 * sysdeps/s390/stackinfo.h: Likewise.
45438 * sysdeps/sh/stackinfo.h: Likewise.
45439 * sysdeps/sparc/stackinfo.h: Likewise.
45440 * sysdeps/x86_64/stackinfo.h: Likewise.
45441 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45442 PF_X for powerpc64. Retain PF_X for powerpc32.
45444 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45446 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45448 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45449 GETDENTS_64BIT_ALIGNED.
45451 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45453 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45455 2010-12-10 Andreas Schwab <schwab@redhat.com>
45457 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45460 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45461 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45463 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45464 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45466 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45469 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45472 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45474 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45476 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45478 * po/it.po: Update from translation team.
45480 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45485 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45487 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45489 2010-11-24 Andreas Schwab <schwab@redhat.com>
45491 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45493 (gaih_getanswer_slice): Likewise.
45495 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45499 2010-05-31 Petr Baudis <pasky@suse.cz>
45502 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45503 silently even in the chroot mode.
45505 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45507 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45508 last patch a bit. Pretty printing
45510 2010-05-31 Petr Baudis <pasky@suse.cz>
45513 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45514 initialization of skip_initgroups_dyn.
45516 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45518 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45519 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45521 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45523 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45525 2010-11-11 Andreas Schwab <schwab@redhat.com>
45527 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45528 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45529 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45530 ($(objpfx)tst-fnmatch-mem): New rule.
45531 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45532 * posix/tst-fnmatch.c (main): Call mtrace.
45534 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45537 Support Intel processor model 6 and model 0x2c.
45539 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45541 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45544 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45547 * string/test-strncasecmp.c (check_result): New function.
45548 (do_one_test): Use it.
45549 (check1): New function.
45550 (test_main): Use it.
45551 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45552 Support strcasecmp and strncasecmp.
45554 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45557 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45558 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45560 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45562 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45566 * sysdeps/x86_64/multiarch/bzero.S: New file.
45567 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45568 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45569 * sysdeps/x86_64/multiarch/memset.S: New file.
45570 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45572 Set bit_Prefer_SSE_for_memop for Intel processors.
45573 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45575 (index_Prefer_SSE_for_memop): Define.
45576 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45578 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45580 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45581 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45583 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45586 * sysdeps/i386/i686/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.
45591 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45592 (__x86_64_raw_data_cache_size_half): Likewise.
45593 (__x86_64_raw_shared_cache_size): Likewise.
45594 (__x86_64_raw_shared_cache_size_half): Likewise.
45595 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45596 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45597 and __x86_64_raw_shared_cache_size_half. Round
45598 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45599 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45600 to multiple of 256 bytes.
45602 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45605 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45606 of inacessible symlinks. Verify result of symlink before returning it.
45607 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45608 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45610 2010-10-28 Erich Ritz <erichritz@gmail.com>
45612 * math/math.h (isinf): Fix typo in comment.
45614 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45616 * po/da.po: Update from translation team.
45618 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45620 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45621 is added to the list.
45623 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45624 Ulrich Drepper <drepper@gmail.com>
45626 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45627 the global list here. Move code to...
45628 (_dl_add_to_namespace_list): ...here. New function.
45629 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45630 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45631 * elf/dl-load.c (lose): Don't remove the element from the list.
45632 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45633 (_dl_map_object): Likewise.
45635 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45638 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45639 into all bytes of SSE register.
45640 Patch by Richard Li <richardpku@gmail.com>.
45642 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45645 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45648 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45650 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45651 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45653 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45658 2010-10-22 Andreas Schwab <schwab@redhat.com>
45660 * include/dlfcn.h (__RTLD_SECURE): Define.
45661 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45662 mode & __RTLD_SECURE instead.
45663 (open_path): Rename preloaded parameter to secure.
45664 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45665 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45666 * elf/dl-deps.c (openaux): Likewise.
45667 * elf/rtld.c (struct map_args): Remove is_preloaded.
45668 (map_doit): Don't use it.
45669 (dl_main): Likewise.
45670 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45671 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45673 2010-09-09 Andreas Schwab <schwab@redhat.com>
45675 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45676 (sysd-rules-targets): Remove duplicates.
45677 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45678 rtld-%.$o dependency.
45680 2010-10-18 Andreas Schwab <schwab@redhat.com>
45682 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45683 _dl_map_object do it.
45685 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45687 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45688 fast fma builtins, define the macros in the C99 standard.
45689 (FP_FAST_FMAF): Likewise.
45690 (FP_FAST_FMAL): Likewise.
45691 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45693 * bits/mathdef.h: Update copyright year.
45694 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45696 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45698 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45699 builtins, define the macros in the C99 standard.
45700 (FP_FAST_FMAF): Likewise.
45701 (FP_FAST_FMAL): Likewise.
45702 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45704 (FP_FAST_FMAF): Likewise.
45706 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45709 * math/libm-test.inc (fma_test): Some new testcases.
45710 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45711 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45712 y and infinite z. Do multiplication by C already in long double.
45713 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45715 y and infinite z. Do bitwise or of inexact bit into u.d.
45716 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45717 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45718 * sysdeps/i386/fpu/s_fma.S: Removed.
45719 * sysdeps/i386/fpu/s_fmal.S: Removed.
45721 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45724 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45726 computation is not scheduled after fetestexcept. Fix value
45727 of minimum denormal long double.
45729 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45732 * math/libm-test.inc (fma_test): Add some more tests.
45733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45736 2010-10-15 Andreas Schwab <schwab@redhat.com>
45738 * scripts/data/localplt-s390-linux-gnu.data: New file.
45739 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45741 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45744 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45745 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45747 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45749 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45751 if one of x and y is very large and the other is subnormal.
45752 * sysdeps/s390/fpu/s_fmaf.c: New file.
45753 * sysdeps/s390/fpu/s_fma.c: New file.
45754 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45755 * sysdeps/powerpc/fpu/s_fma.S: New file.
45756 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45757 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45758 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45760 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45763 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45765 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45766 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45767 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45768 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45769 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45770 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45771 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45773 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45776 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45777 * posix/bug-regex31.input: Add test case.
45779 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45781 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45782 * posix/bug-regex31.input: New file.
45785 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45786 (parse_sub_exp): Fix last change, use postorder.
45788 * posix/bug-regex31.c: New file.
45789 * posix/Makefile: Add rules to build and run bug-regex31.
45791 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45794 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45797 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45798 to have entries in sys_siglist.
45801 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45804 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45807 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45808 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45809 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45810 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45811 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45812 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45813 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45814 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45815 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45816 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45817 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45818 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45819 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45820 * math/ftestexcept.c (fetestexcept): Likewise.
45821 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45822 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45823 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45824 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45825 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45826 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45827 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45829 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45832 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45835 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45837 * string/bug-strstr1.c: New file.
45838 * string/Makefile: Add rules to build and run bug-strstr1.
45840 2010-10-05 Eric Blake <eblake@redhat.com>
45843 * string/str-two-way.h (two_way_long_needle): Always clear memory
45844 when skipping input due to the shift table.
45846 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45849 * malloc/mcheck.c: Handle large requests.
45852 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45853 for strncmp and strncasecmp.
45854 * string/stratcliff.c: Add tests for strcmp and strncmp.
45855 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45857 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45859 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45862 2010-09-30 Andreas Jaeger <aj@suse.de>
45864 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45865 (CGROUP_SUPER_MAGIC): Define.
45866 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45867 Handle btrfs and cgroup file systems.
45868 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45871 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45873 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45874 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45876 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45879 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45880 trying to locate the ELF header.
45882 2010-09-27 Andreas Schwab <schwab@redhat.com>
45885 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45886 Mask out sign-bit copies when constructing f_fsid.
45888 2010-09-24 Petr Baudis <pasky@suse.cz>
45890 * debug/stack_chk_fail_local.c: Add missing licence exception.
45891 * debug/warning-nop.c: Likewise.
45893 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45895 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45896 implementing getdents64 using getdents syscall, set d_type if
45897 __ASSUME_GETDENTS32_D_TYPE.
45899 2010-09-16 Andreas Schwab <schwab@redhat.com>
45901 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45902 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45904 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45907 * posix/unistd.h: Undo change of feature selection for ftruncate from
45910 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45912 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45915 2010-09-20 Andreas Schwab <schwab@redhat.com>
45917 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45919 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45921 2010-09-14 Andreas Schwab <schwab@redhat.com>
45923 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45924 variables after CHECK_SP call.
45925 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45927 2010-09-13 Andreas Schwab <schwab@redhat.com>
45928 Ulrich Drepper <drepper@redhat.com>
45930 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45931 re-relocationg ld.so.
45932 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45933 _dl_init_paths call.
45934 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45937 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45939 * resolv/res_init.c (__res_vinit): Count the default server we added.
45941 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45942 Ulrich Drepper <drepper@redhat.com>
45945 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45946 (____longjmp_chk): Use %ebx for saving value across system call.
45949 2010-09-06 Andreas Schwab <schwab@redhat.com>
45951 * manual/Makefile: Don't mix pattern rules with normal rules.
45953 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45955 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45957 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45958 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45959 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45960 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45961 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45964 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45967 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45968 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45970 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45972 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45973 * sysdeps/x86_64/addmul_1.S: Likewise.
45974 * sysdeps/x86_64/lshift.S: Likewise.
45975 * sysdeps/x86_64/mul_1.S: Likewise.
45976 * sysdeps/x86_64/rshift.S: Likewise.
45977 * sysdeps/x86_64/sub_n.S: Likewise.
45978 * sysdeps/x86_64/submul_1.S: Likewise.
45980 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45982 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45983 Define __sched_param instead of SCHED_* and sched_param when
45984 <bits/sched.h> is included with __need_schedparam defined.
45985 * bits/sched.h [__need_schedparam]
45986 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45987 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45988 (__defined_schedparam): Define to 1.
45989 (__sched_param): New structure, identical to sched_param.
45990 (__need_schedparam): Undefine.
45992 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45994 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45995 (epoll_create1): Declare.
45997 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45999 2010-08-31 Andreas Schwab <schwab@redhat.com>
46002 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46003 shifting retval into place.
46005 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46007 * nis/rpcsvc/nis.h: Update copyright notice.
46008 * nis/rpcsvc/nis.x: Likewise.
46009 * nis/rpcsvc/nis_callback.h: Likewise.
46010 * nis/rpcsvc/nis_callback.x: Likewise.
46011 * nis/rpcsvc/nis_object.x: Likewise.
46012 * nis/rpcsvc/nis_tags.h: Likewise.
46013 * nis/rpcsvc/yp.h: Likewise.
46014 * nis/rpcsvc/yp.x: Likewise.
46015 * nis/rpcsvc/ypupd.h: Likewise.
46016 * nis/yp_xdr.c: Likewise.
46017 * nis/ypupdate_xdr.c: Likewise.
46019 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46020 mainly the body of pmap_getport. Add parameters to specify timeouts.
46021 (pmap_getport): Use __libc_rpc_getport.
46022 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46023 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46024 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46026 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46031 2010-08-27 Roland McGrath <roland@redhat.com>
46033 * sysdeps/i386/i686/multiarch/Makefile
46034 (CFLAGS-varshift.c): New variable.
46036 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46038 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46039 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46041 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46043 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46045 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46047 * sysdeps/x86_64/strlen.S: Unroll the loop.
46048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46049 strlen-sse2 strlen-sse2-bsf.
46050 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46051 __strlen_no_bsf if bit_Slow_BSF is set.
46052 (__strlen_sse42): Removed.
46053 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46054 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46056 2010-08-25 Roland McGrath <roland@redhat.com>
46058 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46059 * sysdeps/x86_64/multiarch/varshift.c: New file.
46060 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46061 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46062 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46063 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46065 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46067 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46068 strlen-sse2 strlen-sse2-bsf.
46069 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46070 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46071 (__strlen_sse2): Removed.
46072 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46073 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46075 bit_Slow_BSF for Atom.
46076 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46077 (index_Slow_BSF): Define.
46078 (HAS_SLOW_BSF): Define.
46080 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46083 * resolv/res_init.c (__res_vinit): When no server address at all
46084 is given default to loopback.
46086 2010-08-24 Roland McGrath <roland@redhat.com>
46088 * configure.in: Remove config-name.h generation.
46089 * configure: Regenerated.
46090 * config-name.in: File removed.
46091 * scripts/config-uname.sh: New file.
46092 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46093 ($(objdir)config-name.h): New target.
46095 * sunrpc/rpc_parse.h: Avoid nested comment.
46097 2010-08-24 Richard Henderson <rth@redhat.com>
46098 Ulrich Drepper <drepper@redhat.com>
46099 H.J. Lu <hongjiu.lu@intel.com>
46101 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46103 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46104 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46105 _mm_alignr_epi8 with _mm_loadu_si128.
46106 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46107 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46108 (__m128i_shift_right): Removed.
46109 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46110 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46111 * sysdeps/x86_64/multiarch/varshift.h: New file.
46112 * sysdeps/x86_64/multiarch/varshift.S: New file.
46114 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46116 * configure.in: Move assembler checks to before sysdep dir checking.
46118 2010-08-20 Petr Baudis <pasky@suse.cz>
46120 * LICENSES: Sync the sunrpc license.
46122 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46124 * sunrpc/auth_des.c: Update copyright notice once again.
46125 * sunrpc/auth_none.c: Likewise.
46126 * sunrpc/auth_unix.c: Likewise.
46127 * sunrpc/authdes_prot.c: Likewise.
46128 * sunrpc/authuxprot.c: Likewise.
46129 * sunrpc/bindrsvprt.c: Likewise.
46130 * sunrpc/clnt_gen.c: Likewise.
46131 * sunrpc/clnt_perr.c: Likewise.
46132 * sunrpc/clnt_raw.c: Likewise.
46133 * sunrpc/clnt_simp.c: Likewise.
46134 * sunrpc/clnt_tcp.c: Likewise.
46135 * sunrpc/clnt_udp.c: Likewise.
46136 * sunrpc/clnt_unix.c: Likewise.
46137 * sunrpc/des_crypt.c: Likewise.
46138 * sunrpc/des_soft.c: Likewise.
46139 * sunrpc/get_myaddr.c: Likewise.
46140 * sunrpc/getrpcport.c: Likewise.
46141 * sunrpc/key_call.c: Likewise.
46142 * sunrpc/key_prot.c: Likewise.
46143 * sunrpc/openchild.c: Likewise.
46144 * sunrpc/pm_getmaps.c: Likewise.
46145 * sunrpc/pm_getport.c: Likewise.
46146 * sunrpc/pmap_clnt.c: Likewise.
46147 * sunrpc/pmap_prot.c: Likewise.
46148 * sunrpc/pmap_prot2.c: Likewise.
46149 * sunrpc/pmap_rmt.c: Likewise.
46150 * sunrpc/rpc/auth.h: Likewise.
46151 * sunrpc/rpc/auth_unix.h: Likewise.
46152 * sunrpc/rpc/clnt.h: Likewise.
46153 * sunrpc/rpc/des_crypt.h: Likewise.
46154 * sunrpc/rpc/key_prot.h: Likewise.
46155 * sunrpc/rpc/netdb.h: Likewise.
46156 * sunrpc/rpc/pmap_clnt.h: Likewise.
46157 * sunrpc/rpc/pmap_prot.h: Likewise.
46158 * sunrpc/rpc/pmap_rmt.h: Likewise.
46159 * sunrpc/rpc/rpc.h: Likewise.
46160 * sunrpc/rpc/rpc_des.h: Likewise.
46161 * sunrpc/rpc/rpc_msg.h: Likewise.
46162 * sunrpc/rpc/svc.h: Likewise.
46163 * sunrpc/rpc/svc_auth.h: Likewise.
46164 * sunrpc/rpc/types.h: Likewise.
46165 * sunrpc/rpc/xdr.h: Likewise.
46166 * sunrpc/rpc_clntout.c: Likewise.
46167 * sunrpc/rpc_cmsg.c: Likewise.
46168 * sunrpc/rpc_common.c: Likewise.
46169 * sunrpc/rpc_cout.c: Likewise.
46170 * sunrpc/rpc_dtable.c: Likewise.
46171 * sunrpc/rpc_hout.c: Likewise.
46172 * sunrpc/rpc_main.c: Likewise.
46173 * sunrpc/rpc_parse.c: Likewise.
46174 * sunrpc/rpc_parse.h: Likewise.
46175 * sunrpc/rpc_prot.c: Likewise.
46176 * sunrpc/rpc_sample.c: Likewise.
46177 * sunrpc/rpc_scan.c: Likewise.
46178 * sunrpc/rpc_scan.h: Likewise.
46179 * sunrpc/rpc_svcout.c: Likewise.
46180 * sunrpc/rpc_tblout.c: Likewise.
46181 * sunrpc/rpc_util.c: Likewise.
46182 * sunrpc/rpc_util.h: Likewise.
46183 * sunrpc/rpcinfo.c: Likewise.
46184 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46185 * sunrpc/rpcsvc/key_prot.x: Likewise.
46186 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46187 * sunrpc/rpcsvc/mount.x: Likewise.
46188 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46189 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46190 * sunrpc/rpcsvc/rex.x: Likewise.
46191 * sunrpc/rpcsvc/rstat.x: Likewise.
46192 * sunrpc/rpcsvc/rusers.x: Likewise.
46193 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46194 * sunrpc/rpcsvc/spray.x: Likewise.
46195 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46196 * sunrpc/rtime.c: Likewise.
46197 * sunrpc/svc.c: Likewise.
46198 * sunrpc/svc_auth.c: Likewise.
46199 * sunrpc/svc_authux.c: Likewise.
46200 * sunrpc/svc_raw.c: Likewise.
46201 * sunrpc/svc_run.c: Likewise.
46202 * sunrpc/svc_simple.c: Likewise.
46203 * sunrpc/svc_tcp.c: Likewise.
46204 * sunrpc/svc_udp.c: Likewise.
46205 * sunrpc/svc_unix.c: Likewise.
46206 * sunrpc/svcauth_des.c: Likewise.
46207 * sunrpc/xcrypt.c: Likewise.
46208 * sunrpc/xdr.c: Likewise.
46209 * sunrpc/xdr_array.c: Likewise.
46210 * sunrpc/xdr_float.c: Likewise.
46211 * sunrpc/xdr_mem.c: Likewise.
46212 * sunrpc/xdr_rec.c: Likewise.
46213 * sunrpc/xdr_ref.c: Likewise.
46214 * sunrpc/xdr_sizeof.c: Likewise.
46215 * sunrpc/xdr_stdio.c: Likewise.
46217 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46220 2010-08-19 Andreas Schwab <schwab@redhat.com>
46222 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46224 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46226 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46227 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46228 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46229 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46230 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46231 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46232 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46233 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46234 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46235 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46236 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46237 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46238 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46239 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46241 2010-07-26 Anton Blanchard <anton@samba.org>
46243 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46244 * malloc/arena.c (heap_trim): Likewise.
46246 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46248 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46251 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46253 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46255 * sysdeps/i386/elf/Makefile: New file.
46257 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46259 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46260 from fanotify_init.
46261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46264 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46266 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46268 * sysdeps/multiarch/strcmp.S: Likewise.
46270 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46272 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46273 strncase_l-nonascii.
46274 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46275 Add strncase_l-ssse3.
46276 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46277 * sysdeps/x86_64/strcmp.S: Likewise.
46278 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46279 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46280 * sysdeps/x86_64/strncase.S: New file.
46281 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46282 * sysdeps/x86_64/strncase_l.S: New file.
46283 * string/Makefile (strop-tests): Add strncasecmp.
46284 * string/test-strncasecmp.c: New file.
46286 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46289 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46290 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46292 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46294 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46296 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46298 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46299 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46300 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46302 2010-05-01 Alan Modra <amodra@gmail.com>
46304 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46305 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46306 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46307 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46308 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46309 tidying. Don't tail-call __sigjmp_save for static lib.
46310 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46312 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46313 (CALL_MCOUNT): Add eh info, and nop after bl.
46314 (TAIL_CALL_SYSCALL_ERROR): New macro.
46315 (PSEUDO_RET): Use it.
46316 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46317 Correct save location of integer regs and cr.
46318 (_dl_profile_resolve): Correct cr save location. Delete nops
46319 after bl when SHARED. Reduce cfi size a little by better
46320 placement of cfi directives.
46321 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46322 make a stack frame. Instead use parm save area as a temp.
46323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46324 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46326 Don't make a stack frame for parent, use parm save area.
46327 Increase child stack frame to 112 bytes. Don't save unused reg,
46328 and adjust reg usage. Set up cfi on error recovery and
46329 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46331 (__makecontext): Add dummy nop after jump to exit.
46332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46333 Use correct parm save area and cr save, reduce stack frame.
46334 Correct cfi for possible PSEUDO_RET frame setup.
46335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46336 Branch to local label emitted by PSEUDO_RET rather than
46339 2010-08-12 Andreas Schwab <schwab@redhat.com>
46342 * locale/programs/locale.c (print_assignment): New function.
46343 (show_locale_vars): Use it.
46345 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46347 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46349 (struct statfs64): Likewise.
46350 (_STATFS_F_FLAGS): Define.
46351 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46352 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46353 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46354 (ST_VALID): Define locally.
46355 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46356 __statvfs_getflags, use the provided value.
46357 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46358 __ASSUME_STATFS_F_FLAGS.
46360 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46362 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46363 Add sys/fanotify.h.
46364 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46365 fanotify_mask for GLIBC_2.13.
46366 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46367 fanotify_init and fanotify_mark.
46368 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46369 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46371 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46373 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46374 prlimit64 for GLIBC_2.13.
46375 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46380 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46381 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46382 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46383 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46385 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46388 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46389 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46391 * nss/Makefile: Add rules to build and run tst-nss-test1.
46392 * shlib-versions: Add entry for libnss_test1.
46393 * nss/nss_test1.c: New file.
46394 * nss/tst-nss-test1.c: New file.
46396 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46397 (__nss_configure_lookup): Set appropriate entry in
46398 __nss_configure_lookup to true.
46399 * nss/nsswitch.h: Define enum with indeces of databases in
46400 databases and __nss_database_custom arrays. Declare
46401 __nss_database_custom.
46402 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46403 to avoid using nscd when custom rules are installed.
46404 * nss/getXXbyYY_r.c: Likewise.
46405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46407 * nss/nss_files/files-parse.c: Whitespace fixes.
46409 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46412 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46413 * posix/fnmatch_loop.c: Likewise.
46415 2010-07-17 Andi Kleen <ak@linux.intel.com>
46417 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46418 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46419 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46420 * Versions.def [GLIBC_2.13]: Add.
46422 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46424 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46425 Also fail if tpwd after pwuid call is NULL.
46427 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46429 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46430 when converting to ms.
46432 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46434 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46435 EOPNOTSUPP errors with ENOTTY.
46436 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46437 EOPNOTSUPP errors with ENOTTY.
46439 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46441 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46442 Add strcasecmp_l-ssse3.
46443 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46445 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46446 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46447 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46449 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46451 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46453 * string/Makefile (strop-tests): Add strcasecmp.
46454 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46455 strcasecmp_l-nonascii.
46456 (gen-as-const-headers): Add locale-defines.sym.
46457 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46458 * sysdeps/x86_64/strcasecmp.S: New file.
46459 * sysdeps/x86_64/strcasecmp_l.S: New file.
46460 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46461 * sysdeps/x86_64/locale-defines.sym: New file.
46462 * string/test-strcasecmp.c: New file.
46464 * string/test-strcasestr.c: Test both ends of the range of characters.
46465 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46467 2010-07-29 Roland McGrath <roland@redhat.com>
46470 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46472 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46474 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46477 2010-07-27 Andreas Schwab <schwab@redhat.com>
46479 * manual/memory.texi (Malloc Tunable Parameters): Document
46482 2010-07-26 Roland McGrath <roland@redhat.com>
46485 * configure.in (-fgnu89-inline check): Set and substitute
46486 gnu89_inline, not libc_cv_gnu89_inline.
46487 * configure: Regenerated.
46488 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46490 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46492 * string/test-strnlen.c: New file.
46493 * string/Makefile (strop-tests): Add strnlen.
46494 * string/tester.c (test_strnlen): Add a few more test cases.
46495 * string/tst-strlen.c: Better error reporting.
46497 * sysdeps/x86_64/strnlen.S: New file.
46499 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46501 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46502 lower-latency instructions.
46504 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46506 * string/test-strcasestr.c: New file.
46507 * string/test-strstr.c: New file.
46508 * string/Makefile (strop-tests): Add strstr and strcasestr.
46509 * string/str-two-way.h: Don't undefine MAX.
46510 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46512 2010-07-21 Andreas Schwab <schwab@redhat.com>
46514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46515 strcasestr-nonascii.
46516 (CFLAGS-strcasestr-nonascii.c): Define.
46517 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46518 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46519 Remove unused attribute.
46521 2010-07-20 Roland McGrath <roland@redhat.com>
46523 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46524 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46525 ld.so.cache was broken. With it, there is no way to disable dsocaps
46526 like LD_HWCAP_MASK can disable hwcaps.
46528 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46530 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46532 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46534 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46535 call in strcasestr.
46536 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46537 __strcasestr_sse42_nonascii.
46538 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46539 strcasestr-nonascii.c.
46540 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46542 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46544 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46545 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46546 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46547 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46549 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46551 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46554 2010-07-06 Andreas Schwab <schwab@redhat.com>
46557 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46560 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46562 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46563 _PC_PIPE_BUF using F_GETPIPE_SZ.
46565 2010-07-05 Roland McGrath <roland@redhat.com>
46567 * manual/arith.texi (Rounding Functions): Fix rint description
46568 implicit in round description.
46570 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46572 * elf/Makefile: Fix linking for a few tests to make recent linker
46575 2010-06-30 Andreas Schwab <schwab@redhat.com>
46577 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46578 $(common-objpfx)libc_nonshared.a.
46580 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46582 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46583 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46584 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46585 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46586 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46587 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46588 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46589 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46604 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46605 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46606 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46607 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46608 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46609 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46610 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46611 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46612 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46613 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46614 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46615 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46631 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46633 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46634 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46635 * string/memmove.c (memmove): Renamed to ...
46636 (MEMMOVE): ...this. Default to memmove.
46637 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46638 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46641 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46642 mempcpy-ssse3-back memmove-ssse3-back.
46643 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46645 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46646 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46647 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46648 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46649 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46650 * sysdeps/x86_64/multiarch/memmove.c: New file.
46651 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46652 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46653 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46654 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46655 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46656 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46658 (index_Fast_Copy_Backward): Define.
46659 (HAS_ARCH_FEATURE): Define.
46660 (HAS_FAST_REP_STRING): Define.
46661 (HAS_FAST_COPY_BACKWARD): Define.
46663 2010-06-21 Andreas Schwab <schwab@redhat.com>
46665 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46666 Restore proper fallback handling.
46668 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46671 * posix/group_member.c (__group_member): Correct checking loop.
46673 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46674 OOM in getpwuid_r correctly. Return error number when the caller
46675 should return, otherwise -1.
46676 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46677 call returning > 0 value.
46678 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46680 2010-06-07 Andreas Schwab <schwab@redhat.com>
46682 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46683 libc_nonshared.a from targets in modules-names.
46685 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46687 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46690 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46692 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46693 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46694 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46695 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46697 2010-06-02 Andreas Schwab <schwab@redhat.com>
46699 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46701 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46703 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46708 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46709 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46710 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46712 2010-06-14 Roland McGrath <roland@redhat.com>
46714 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46716 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46718 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46719 __REDIRECT followed by __THROW.
46720 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46721 * posix/getopt.h (getopt): Likewise.
46723 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46725 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46726 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46727 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46729 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46730 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46732 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46734 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46736 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46740 Properly check family and model.
46742 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46744 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46746 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46748 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46750 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46752 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46755 2010-05-19 Andreas Schwab <schwab@redhat.com>
46757 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46760 2010-05-21 Andreas Schwab <schwab@redhat.com>
46762 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46763 and internal_recvmmsg.
46764 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46765 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46766 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46767 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46769 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46770 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46771 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46773 2010-05-20 Andreas Schwab <schwab@redhat.com>
46775 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46777 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46779 POWER7 optimizations.
46780 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46781 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46783 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46785 * version.h: Update for 2.13 development version.
46787 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46789 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46790 exceptions. Return 0.
46792 2010-05-07 Roland McGrath <roland@redhat.com>
46794 * elf/ldconfig.c (main): Add a const.
46796 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46798 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46799 (args_options): Add no-idn option.
46800 (ahosts_keys_int): Add idn_flags to ai_flags.
46801 (parse_option): Handle 'i' option to clear idn_flags.
46803 * malloc/malloc.c (_int_free): Possible race in the most recently
46804 added check. Only act on the data if no current modification
46807 See ChangeLog.17 for earlier changes.