1 2014-06-23 Will Newton <will.newton@linaro.org>
3 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4 rather than __builtin_expect.
6 * elf/dl-lookup.c (undefined_msg): Remove variable.
7 (_dl_lookup_symbol_x): Replace undefined_msg with string
10 * elf/dl-lookup.c (do_lookup_unique): New function.
11 (do_lookup_x): Move STB_GNU_UNIQUE handling code
12 to a separate function.
14 2014-06-23 Andreas Schwab <schwab@suse.de>
17 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18 before reading the next line.
20 2014-06-23 Will Newton <will.newton@linaro.org>
22 * test-skeleton.c (signal_handler): Use printf and %m
23 rather than perror. Use printf rather than fprintf to
24 stderr. Use puts rather than fputs to stderr.
27 2014-06-22 Ludovic Courtès <ludo@gnu.org>
29 * nscd/nscd.c (thread_info_t): Remove typedef.
30 (thread_info): Remove variable.
32 2014-06-21 Allan McRae <allan@archlinux.org>
34 * NEWS: Mention CVE-2014-4043.
36 2014-06-20 Roland McGrath <roland@hack.frob.com>
38 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
39 * nptl/smp.h: ... here.
41 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
43 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
44 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
45 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
46 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
48 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49 * nptl/stack-aliasing.h: New file.
50 * sysdeps/i386/i686/stack-aliasing.h: New file.
51 * sysdeps/i386/i686/nptl/Makefile: File removed.
52 * sysdeps/x86_64/stack-aliasing.h: New file.
53 * sysdeps/x86_64/nptl/Makefile
54 (CFLAGS-pthread_create.c): Variable removed.
56 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
57 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
59 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
60 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
63 2014-06-21 Joseph Myers <joseph@codesourcery.com>
65 * sysdeps/unix/sysv/linux/arm/kernel-features.h
66 (__ASSUME_SIGFRAME_V2): Remove macro.
67 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
68 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
69 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
70 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
71 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
72 Declare as function. Remove conditional macro definitions.
73 (__default_rt_sa_restorer): Likewise.
74 (__default_sa_restorer_v1): Remove declaration.
75 (__default_sa_restorer_v2): Likewise.
76 (__default_rt_sa_restorer_v1): Likewise.
77 (__default_rt_sa_restorer_v2): Likewise.
78 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
79 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
80 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
82 2014-06-20 Roland McGrath <roland@hack.frob.com>
84 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
85 (libpthread-routines): Add sysdep.
86 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
87 * sysdeps/unix/sysv/linux/sparc/Versions
88 (libpthread: GLIBC_2.3.3): New version set.
89 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
90 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
91 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
92 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
93 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
94 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
96 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
97 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
98 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
99 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
100 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
101 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
102 * sysdeps/sparc/nptl/sem_init.c: ... here.
103 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
104 * sysdeps/sparc/nptl/sem_post.c: ... here.
105 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
106 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
107 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
108 * sysdeps/sparc/nptl/sem_wait.c: ... here.
109 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
110 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
111 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
112 (libpthread-routines): Add cpu_relax.
113 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
115 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
116 (librt: GLIBC_2.3.3): New version set.
117 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
118 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
119 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
120 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
121 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
122 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
123 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
126 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
128 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
130 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
132 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
133 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
134 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
135 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
137 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
141 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
145 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
149 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
153 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
157 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
160 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
166 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
167 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
168 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
171 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
173 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
175 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
177 2014-06-20 Joseph Myers <joseph@codesourcery.com>
179 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
180 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
181 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
182 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
183 * nscd/nscd.c: Likewise.
184 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
185 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
186 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
187 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
189 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
191 (init_mq_netlink): Remove conditional have_sock_cloexec
192 definitions. Remove code conditional on have_sock_cloexec < 0.
193 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
194 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
195 * sysdeps/unix/sysv/linux/opensock.c: Do not include
197 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
198 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
200 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
202 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
203 Add tests for memset_chk and memset.
205 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
208 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
211 * elf/tst-dl-iter-static.c: New file.
212 * elf/Makefile (tests-static): Add tst-dl-iter-static.
214 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
217 2014-06-20 Joseph Myers <joseph@codesourcery.com>
219 * sysdeps/unix/sysv/linux/kernel-features.h
220 (__ASSUME_F_GETOWN_EX): Remove macro.
221 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
223 (miss_F_GETOWN_EX): Remove variable or macro.
224 (do_fcntl): Do not check miss_F_GETOWN_EX.
225 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
227 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
229 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
230 [!__ASSUME_AT_RANDOM]: Remove conditional code.
231 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
233 * sysdeps/unix/sysv/linux/kernel-features.h
234 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
235 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
236 [ADJ_OFFSET_SS_READ]: Make code unconditional.
237 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
239 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
242 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
243 Fix calculation of the symbol's value.
244 * sysdeps/arm/tst-armtlsdescloc.c: New file.
245 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
246 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
247 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
248 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
249 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
250 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
251 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
252 (modules-names): Add `tst-armtlsdescmod',
253 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
254 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
255 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
256 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
257 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
258 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
259 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
260 ($(objpfx)tst-armtlsdescloc): New dependency.
261 ($(objpfx)tst-armtlsdescextnow): Likewise.
262 ($(objpfx)tst-armtlsdescextlazy): Likewise.
263 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
265 * sysdeps/arm/configure: Regenerate.
267 2014-06-20 Joseph Myers <joseph@codesourcery.com>
269 * include/fcntl.h (__atfct_seterrno): Remove prototype.
270 (__atfct_seterrno_2): Likewise.
271 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
273 (__ASSUME_ATFCTS): Do not undefine and redefine.
274 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
275 (__have_atfcts): Remove conditional definition.
276 (__fxstatat([__NR_fstatat64]: Make code unconditional.
277 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
278 unreachable if [__ASSUME_ATFCTS].
279 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
280 not undefine and redefine.
281 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
283 (faccessat) [__NR_faccessat]: Make code unconditional.
284 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
285 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
287 (fchmodat) [__NR_fchmodat]: Make code unconditional.
288 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
289 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
291 (fchownat) [__NR_fchownat]: Make code unconditional.
292 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
293 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
295 (futimesat) [__NR_futimesat]: Make code unconditional.
296 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
297 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
299 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
300 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
301 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
303 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
304 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
305 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
306 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
308 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
309 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
310 * sysdeps/unix/sysv/linux/linkat.c: Do not include
312 (linkat) [__NR_linkat]: Make code unconditional.
313 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
314 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
315 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
317 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
318 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
319 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
321 (mkdirat) [__NR_mkdirat]: Make code unconditional.
322 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
323 * sysdeps/unix/sysv/linux/openat.c: Do not include
325 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
326 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
327 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
328 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
329 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
330 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
332 (readlinkat) [__NR_readlinkat]: Make code unconditional.
333 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
334 result of INLINE_SYSCALL directly, not via int variable.
335 * sysdeps/unix/sysv/linux/renameat.c: Do not include
337 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
338 (renameat) [__NR_renameat]: Make code unconditional.
339 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
340 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
341 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
342 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
343 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
344 (__ASSUME_ATFCTS): Do not undefine and redefine.
345 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
347 (symlinkat) [__NR_symlinkat]: Make code unconditional.
348 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
349 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
351 (unlinkat) [__NR_unlinkat]: Make code unconditional.
352 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
353 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
354 (__ASSUME_ATFCTS): Do not undefine and redefine.
355 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
357 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
358 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
359 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
361 (__xmknodat) [__NR_mknodat]: Make code unconditional.
362 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
364 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
366 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
368 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
371 * posix/regcomp.c (parse_reg_exp): Deallocate partially
372 constructed tree before returning error.
373 * posix/bug-regexp36.c: Expand test case.
375 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
378 * math/libm-test.inc (scalbln_test_date):
379 Add errno expectations.
380 * math/w_scalblnf.c: New File.
381 Add wrapper which checks for setting errno to ERANGE.
382 Add weak_alias for corresponding scalbln function.
383 * math/w_scalbln.c: Likewise.
384 * math/w_scalblnl.c: Likewise.
385 * math/Makefile (libm-calls): Add w_scalbln.
386 * sysdeps/ieee754/flt-32/s_scalblnf.c:
387 Remove weak_alias for corresponding scalbln function.
388 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
389 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
390 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
391 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
392 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
393 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
394 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
395 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
396 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
397 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
398 Remove long_double_symbol for scalblnl function in libm, libc.
399 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
400 Add wrapper which checks for setting errno to ERANGE.
401 Add long_double_symbol for scalblnl function in libm, libc.
402 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
403 Remove long_double_symbol for scalblnl in libm.
404 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
405 Add wrapper which checks for setting errno to ERANGE.
406 Add long_double_symbol for scalblnl function in libm.
407 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
408 Do not use wrapper because of own implementation.
410 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
412 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
413 3 bytes for __pad1 for x32.
414 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
416 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
417 H.J. Lu <hongjiu.lu@intel.com>
419 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
420 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
421 * sysdeps/x86_64/multiarch/memset.S: Likewise.
422 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
423 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
425 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
428 * posix/regcomp.c (parse_expression): Deallocate partially
429 constructed tree before returning error.
430 * posix/Makefile.c (tests): Add bug-regex36.
431 (generated): Add bug-regex36.mtrace.
432 (tests-special): Add $(objpfx)bug-regex36-mem.out
433 (bug-regex36-ENV): New variable.
434 ($(objpfx)bug-regex36-mem.out): New rule.
435 * posix/bug-regex36.c: New file.
437 2014-06-19 Will Newton <will.newton@linaro.org>
439 * malloc/malloc.c (systrim): If extra is zero then return
442 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
444 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
446 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
448 * sysdeps/aarch64/strchr.S: New file.
450 2014-06-18 Joseph Myers <joseph@codesourcery.com>
453 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
454 from arguments -2 or below.
455 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
456 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
458 2014-06-18 Andreas Schwab <schwab@suse.de>
461 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
462 of a bracket expr not to run off the end of the string.
463 * posix/Makefile (tests): Add tst-fnmatch3.
464 * posix/tst-fnmatch3.c: New file.
466 2014-06-18 Joseph Myers <joseph@codesourcery.com>
468 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
469 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
470 [$(cross-compiling) = no]: Likewise.
471 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
472 [$(cross-compiling) = no]: Likewise.
474 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
477 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
478 double, adjusted for any remainder from the high double.
479 * math/libm-test.inc (nearbyint): Add tests.
482 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
484 * nptl/sysdeps/powerpc/Makefile: Moved ...
485 * sysdeps/powerpc/nptl/Makefile: ... here.
486 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
487 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
488 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
489 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
490 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
491 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
492 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
493 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
494 * nptl/sysdeps/powerpc/tls.h: Moved ...
495 * sysdeps/powerpc/nptl/tls.h: ... here.
497 2014-06-16 Joseph Myers <joseph@codesourcery.com>
500 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
501 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
502 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
503 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
504 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
505 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
506 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
507 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
508 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
510 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
512 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
514 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
516 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
519 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
522 2014-06-16 Florian Weimer <fweimer@redhat.com>
525 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
526 non-executed part of the test.
528 2014-06-16 Andreas Schwab <schwab@suse.de>
530 * string/bits/string2.h (strdup, strndup): Update feature guard.
532 2014-06-14 David S. Miller <davem@davemloft.net>
534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
536 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
538 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
539 that was previously under [RESET_PID].
540 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
542 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
543 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
544 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
545 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
546 (__libc_vfork): New strong alias.
547 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
549 2014-06-14 Andi Kleen <ak@linux.intel.com>
551 * sysdeps/generic/elide.h: New file.
553 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
555 * Makefile (installed-headers): Adjust path of pthread.h header.
557 2014-06-13 Roland McGrath <roland@hack.frob.com>
559 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
560 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
561 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
562 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
564 * nptl/sysdeps/s390/Makefile: Moved ...
565 * sysdeps/s390/nptl/Makefile: ... here.
566 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
567 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
568 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
569 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
570 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
571 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
572 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
573 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
574 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
575 * sysdeps/s390/nptl/pthreaddef.h: ... here.
576 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
577 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
578 * nptl/sysdeps/s390/tls.h: Moved ...
579 * sysdeps/s390/nptl/tls.h: ... here.
581 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
582 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
584 2014-06-13 David S. Miller <davem@davemloft.net>
586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
587 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
589 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
593 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
594 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
595 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
596 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
597 Remove RESET_PID cpp guards.
598 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
599 Remove RESET_PID cpp guards.
600 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
602 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
604 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
607 2014-06-13 Andi Kleen <ak@linux.intel.com>
609 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
610 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
611 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
612 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
613 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
614 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
615 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
616 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
617 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
618 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
619 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
620 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
621 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
622 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
623 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
624 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
625 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
626 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
627 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
628 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
630 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
631 (pthread_rwlock_rdlock): Add elision.
632 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
633 (pthread_rwlock_wrlock): Add elision.
634 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
635 (pthread_rwlock_trywrlock): Add elision.
636 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
637 (pthread_rwlock_tryrdlock): Add elision.
638 * nptl/pthread_rwlock_unlock.c: Include elide.h.
639 (pthread_rwlock_tryrdlock): Add elision unlock.
640 * nptl/sysdeps/pthread/pthread.h:
641 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
642 (PTHREAD_RWLOCK_INITIALIZER,
643 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
644 Handle new elision field.
645 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
646 * sysdeps/arm/nptl/bits/pthreadtypes.h
647 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
648 * sysdeps/sh/nptl/bits/pthreadtypes.h
649 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
650 * sysdeps/tile/nptl/bits/pthreadtypes.h
651 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
652 * sysdeps/a/nptl/bits/pthreadtypes.h
653 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
654 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
655 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
656 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
657 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
658 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
659 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
660 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
661 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
662 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
663 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
664 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
665 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
666 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
667 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
668 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
669 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
670 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
671 (elision_init): Set try_xbegin to zero when no RTM.
672 * sysdeps/x86/nptl/bits/pthreadtypes.h
673 (pthread_rwlock_t): Change __pad1 to __rwelision.
674 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
676 2014-06-13 Andi Kleen <ak@linux.intel.com>
678 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
679 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
680 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
681 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
683 2014-06-13 Meador Inge <meadori@codesourcery.com>
686 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
687 that the cached result has been set before returning it.
689 2014-06-12 Roland McGrath <roland@hack.frob.com>
691 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
692 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
693 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
694 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
695 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
696 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
698 * nptl/sysdeps/sparc/Makefile: Moved ...
699 * sysdeps/sparc/nptl/Makefile: ... here.
700 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
701 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
702 * nptl/sysdeps/sparc/tls.h: Moved ...
703 * sysdeps/sparc/nptl/tls.h: ... here.
704 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
705 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
706 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
707 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
708 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
709 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
710 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
711 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
712 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
713 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
714 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
715 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
716 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
717 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
718 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
719 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
720 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
721 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
723 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
724 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
726 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
727 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
729 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
730 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
733 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
735 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
736 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
738 * sysdeps/pthread/posix-timer.h: Include <list.h>.
739 (struct list_links): Type removed.
740 (struct thread_node, struct timer_node): Replace struct list_links
741 with struct list_head.
742 (list_unlink_ip): Likewise.
743 * sysdeps/pthread/timer_routines.c
744 (timer_free_list, thread_free_list, thread_active_list): Likewise.
745 (list_append, list_insbefore): Likewise.
746 (list_init): Function removed.
747 (thread_init, init_module): Use INIT_LIST_HEAD instead.
748 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
749 * sysdeps/pthread/Makefile: ... here, new file.
751 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
752 * sysdeps/nptl/Implies: ... here.
753 * sysdeps/unix/sysv/linux/Implies: Add nptl.
754 * nptl/sysdeps/pthread/list.h: Moved ...
755 * include/list.h: ... here.
756 * nptl/sysdeps/pthread/createthread.c: Moved ...
757 * nptl/createthread.c: ... here.
758 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
759 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
760 * nptl/pt-longjmp.c: ... here.
761 * nptl/sysdeps/pthread/Makefile: Moved ...
762 * sysdeps/nptl/Makefile: ... here.
763 * nptl/sysdeps/pthread/Subdirs: Moved ...
764 * sysdeps/nptl/Subdirs: ... here.
765 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
766 * sysdeps/nptl/aio_misc.h: ... here.
767 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
768 * sysdeps/nptl/bits/libc-lock.h: ... here.
769 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
770 * sysdeps/nptl/bits/libc-lockP.h: ... here.
771 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
772 * sysdeps/nptl/bits/stdio-lock.h: ... here.
773 * nptl/sysdeps/pthread/configure: Moved ...
774 * sysdeps/nptl/configure: ... here.
775 * nptl/sysdeps/pthread/configure.ac: Moved ...
776 * sysdeps/nptl/configure.ac: ... here.
777 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
778 * sysdeps/nptl/gai_misc.h: ... here.
779 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
780 * sysdeps/nptl/librt-cancellation.c: ... here.
781 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
782 * sysdeps/nptl/malloc-machine.h: ... here.
783 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
784 * sysdeps/nptl/pthread-functions.h: ... here.
785 * nptl/sysdeps/pthread/pthread.h: Moved ...
786 * sysdeps/nptl/pthread.h: ... here.
787 * nptl/sysdeps/pthread/setxid.h: Moved ...
788 * sysdeps/nptl/setxid.h: ... here.
789 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
790 * sysdeps/nptl/sigfillset.c: ... here.
791 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
792 * sysdeps/nptl/tcb-offsets.h: ... here.
793 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
794 * sysdeps/nptl/tst-mqueue8x.c: ... here.
795 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
796 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
797 * nptl/sysdeps/pthread/allocalim.h: Moved ...
798 * sysdeps/pthread/allocalim.h: ... here.
799 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
800 * sysdeps/pthread/bits/sigthread.h: ... here.
801 * nptl/sysdeps/pthread/flockfile.c: Moved ...
802 * sysdeps/pthread/flockfile.c: ... here.
803 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
804 * sysdeps/pthread/ftrylockfile.c: ... here.
805 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
806 * sysdeps/pthread/funlockfile.c: ... here.
807 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
808 * sysdeps/pthread/posix-timer.h: ... here.
809 * nptl/sysdeps/pthread/timer_create.c: Moved ...
810 * sysdeps/pthread/timer_create.c: ... here.
811 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
812 * sysdeps/pthread/timer_delete.c: ... here.
813 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
814 * sysdeps/pthread/timer_getoverr.c: ... here.
815 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
816 * sysdeps/pthread/timer_gettime.c: ... here.
817 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
818 * sysdeps/pthread/timer_routines.c: ... here.
819 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
820 * sysdeps/pthread/timer_settime.c: ... here.
821 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
822 * sysdeps/pthread/tst-timer.c: ... here.
823 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
824 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
826 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
827 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
829 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
830 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
831 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
832 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
833 Update #include target.
834 * nptl/sysdeps/i386/i686/Makefile: Moved ...
835 * sysdeps/i386/i686/nptl/Makefile: ... here.
836 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
837 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
838 Update #include target.
839 * nptl/sysdeps/i386/i686/tls.h: Moved ...
840 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
841 * nptl/sysdeps/i386/Makefile: Moved ...
842 * sysdeps/i386/nptl/Makefile: ... here.
843 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
844 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
845 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
846 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
847 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
848 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
849 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
850 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
851 * sysdeps/i386/nptl/pthreaddef.h: ... here.
852 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
853 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
854 * nptl/sysdeps/i386/tls.h: Moved ...
855 * sysdeps/i386/nptl/tls.h: ... here.
857 * sysdeps/sh/Makefile [$(subdir) = csu]
858 (gen-as-const-headers): Add tcb-offsets.sym.
859 * nptl/sysdeps/sh/Makefile: File removed.
860 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
861 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
862 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
863 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
864 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
865 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
866 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
867 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
868 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
869 * sysdeps/sh/nptl/pthreaddef.h: ... here.
870 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
871 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
872 * nptl/sysdeps/sh/tls.h: Moved ...
873 * sysdeps/sh/nptl/tls.h: ... here.
874 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
875 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
876 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
877 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
878 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
879 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
880 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
881 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
882 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
883 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
884 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
885 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
886 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
887 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
888 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
889 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
890 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
891 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
892 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
893 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
894 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
895 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
896 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
897 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
898 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
900 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
901 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
903 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
904 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
905 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
906 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
907 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
908 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
909 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
910 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
911 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
912 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
913 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
914 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
915 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
916 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
917 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
918 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
919 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
920 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
921 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
923 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
925 * posix/spawn_faction_addopen.c: Include string.h.
927 2014-06-11 Roland McGrath <roland@hack.frob.com>
929 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
930 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
931 * nptl/sysdeps/x86_64/Makefile: Moved ...
932 * sysdeps/x86_64/nptl/Makefile: ... here.
933 * nptl/sysdeps/x86_64/configure: Moved ...
934 * sysdeps/x86_64/nptl/configure: ... here.
935 * nptl/sysdeps/x86_64/configure.ac: Moved ...
936 * sysdeps/x86_64/nptl/configure.ac: ... here.
937 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
938 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
939 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
940 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
941 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
942 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
943 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
944 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
945 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
946 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
947 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
948 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
949 * nptl/sysdeps/x86_64/tls.h: Moved ...
950 * sysdeps/x86_64/nptl/tls.h: ... here.
951 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
952 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
953 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
954 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
956 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
958 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
962 2014-06-11 Joseph Myers <joseph@codesourcery.com>
964 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
966 [POSIX] (off_t): Likewise.
967 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
968 [POSIX] (S_ISBLK): Require macro.
969 [POSIX] (S_ISCHR): Likewise.
970 [POSIX] (S_ISDIR): Likewise.
971 [POSIX] (S_ISFIFO): Likewise.
972 [POSIX] (S_ISREG): Likewise.
973 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
975 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
977 [POSIX] (time_t): Likewise.
978 [POSIX] (timer_t): Likewise.
980 2014-06-11 Florian Weimer <fweimer@redhat.com>
983 * posix/spawn_int.h (struct __spawn_action): Make the path string
984 non-const to support deallocation.
985 * posix/spawn_faction_addopen.c
986 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
987 * posix/spawn_faction_destroy.c
988 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
989 path in all spawn_do_open actions.
990 * posix/tst-spawn.c (do_test): Exercise the copy operation in
991 posix_spawn_file_actions_addopen.
993 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
995 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
996 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
997 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
998 conditional code always true.
999 (__libc_vfork): New alias.
1001 2014-06-11 Roland McGrath <roland@hack.frob.com>
1003 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1004 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1006 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1008 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1009 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1011 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1012 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1014 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1015 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1017 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1019 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1020 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1021 multiarch strcmp for PPC64.
1022 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1023 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1025 multiarch optimizations.
1026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1027 (__libc_ifunc_impl_list): Likewise.
1029 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1031 * benchtests/scripts/validate_benchout.py: New script.
1032 * benchtests/Makefile (bench-func): Call it.
1033 * benchtests/scripts/benchout.schema.json: New file.
1035 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1037 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1038 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1039 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1040 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1041 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1042 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1043 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1044 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1045 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1046 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1047 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1048 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1049 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1050 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1051 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1052 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1156 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1157 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1158 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1159 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1160 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1162 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1164 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1165 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1166 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1167 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1168 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1173 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1178 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1179 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1181 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1186 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1187 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1188 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1190 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1191 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1192 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1194 2014-06-10 Wilco <wdijkstr@arm.com>
1196 * math/test-fenv-return.c: New file.
1197 * math/Makefile: Add new test test-fenv-return.
1199 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1202 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1204 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1205 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1206 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1207 0.0L for an argument of 1.0L.
1208 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1210 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1211 value when x - 1 is zero.
1212 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1213 * sysdeps/i386/fpu/libm-test-ulps: Update.
1214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1216 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1219 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1221 2014-06-09 Roland McGrath <roland@hack.frob.com>
1223 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1224 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1226 2014-06-09 Roland McGrath <roland@hack.frob.com>
1228 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1229 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1231 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1232 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1234 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1235 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1237 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1238 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1240 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1241 if not already defined.
1242 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1243 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1244 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1245 (TLS_INIT_TP): Use it.
1246 (TLS_DEFINE_INIT_TP): New macro.
1247 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1249 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1251 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1253 [POSIX] (IXANY): Likewise.
1254 [POSIX] (OLCUC): Likewise.
1255 [POSIX || POSIX2008] (CBAUD): Do not allow.
1256 [POSIX || POSIX2008] (DEFECHO): Likewise.
1257 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1258 [POSIX || POSIX2008] (ECHOKE): Likewise.
1259 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1260 [POSIX || POSIX2008] (EXTA): Likewise.
1261 [POSIX || POSIX2008] (EXTB): Likewise.
1262 [POSIX || POSIX2008] (FLUSHO): Likewise.
1263 [POSIX || POSIX2008] (LOBLK): Likewise.
1264 [POSIX || POSIX2008] (PENDIN): Likewise.
1265 [POSIX || POSIX2008] (SWTCH): Likewise.
1266 [POSIX || POSIX2008] (VDISCARD): Likewise.
1267 [POSIX || POSIX2008] (VDSUSP): Likewise.
1268 [POSIX || POSIX2008] (VLNEXT): Likewise.
1269 [POSIX || POSIX2008] (VREPRINT): Likewise.
1270 [POSIX || POSIX2008] (VSTATUS): Likewise.
1271 [POSIX || POSIX2008] (VWERASE): Likewise.
1272 (B*): Change to B[0123456789]*.
1273 * conform/data/time.h-data [POSIX || UNIX98]
1274 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1275 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1276 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1277 [POSIX] (tm_*): Do not allow.
1279 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1281 * Makefile (install): Don't set LANGUAGE.
1282 * Makefile.in (install): Likewise.
1283 * assert/Makefile (test-assert-ENV): Remove variable.
1284 (test-assert-perr-ENV): Likewise.
1285 * elf/Makefile (neededtest4-ENV): Likewise.
1286 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1287 [$(cross-compiling) = no]: Don't set LANGUAGE.
1288 * io/ftwtest-sh (LANG): Remove variable.
1289 * libio/Makefile (tst-widetext-ENV): Likewise.
1290 * manual/install.texi (Running make install): Don't refer to
1291 environment settings for make install.
1292 * INSTALL: Regenerated.
1293 * nptl/tst-tls6.sh: Don't set LANG.
1294 * posix/globtest.sh (LANG): Remove variable.
1295 * string/Makefile (tester-ENV): Likewise.
1296 (inl-tester-ENV): Likewise.
1297 (noinl-tester-ENV): Likewise.
1298 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1299 [$(cross-compiling) = no]: Don't set LANGUAGE.
1300 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1301 without explicit environment settings.
1303 2014-06-06 Roland McGrath <roland@hack.frob.com>
1305 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1306 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1307 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1308 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1310 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1312 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1313 other files in the crypt directory.
1314 * crypt/crypt.c: Remove duplicate includes.
1315 * crypt/crypt-entry.c: Likewise.
1316 * crypt/crypt_util.c: Likewise.
1318 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1320 * Makeconfig (run-program-env): New variable.
1321 (run-program-prefix-before-env): Likewise.
1322 (run-program-prefix-after-env): Likewise.
1323 (run-program-prefix): Define in terms of new variables.
1324 (built-program-cmd-before-env): New variable.
1325 (built-program-cmd-after-env): Likewise.
1326 (built-program-cmd): Define in terms of new variables.
1327 (test-program-prefix-before-env): New variable.
1328 (test-program-prefix-after-env): Likewise.
1329 (test-program-prefix): Define in terms of new variables.
1330 (test-program-cmd-before-env): New variable.
1331 (test-program-cmd-after-env): Likewise.
1332 (test-program-cmd): Define in terms of new variables.
1333 * Rules (make-test-out): Use $(run-program-env).
1334 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1335 (help): Do not mention environment variables. Mention
1336 --timeoutfactor option.
1337 (timeoutfactor): New variable.
1338 (blacklist_exports): Remove function.
1339 (exports): Remove variable.
1340 (command): Do not include ${exports}.
1341 * manual/install.texi (Configuring and compiling): Do not mention
1342 test wrappers preserving environment variables. Mention that last
1343 assignment to a variable must take precedence.
1344 * INSTALL: Regenerated.
1345 * benchtests/Makefile (run-bench): Use $(run-program-env).
1346 * catgets/Makefile ($(objpfx)test1.cat): Use
1347 $(built-program-cmd-before-env), $(run-program-env) and
1348 $(built-program-cmd-after-env).
1349 ($(objpfx)test2.cat): Do not specify environment variables
1351 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1352 $(run-program-env) and $(built-program-cmd-after-env).
1353 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1354 $(run-program-env) and $(test-program-cmd-after-env).
1355 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1357 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1358 run_program_env and test_program_cmd_after_env arguments.
1359 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1360 * elf/tst-pathopt.sh: Use run_program_env argument.
1361 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1362 $(test-wrapper-env) and $(run-program-env).
1363 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1364 run_program_env arguments.
1365 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1366 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1367 $(test-program-prefix-before-env), $(run-program-env) and
1368 $(test-program-prefix-after-env).
1369 ($(objpfx)tst-gettext2.out): Likewise.
1370 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1371 run_program_env and test_program_prefix_after_env arguments.
1372 * intl/tst-gettext2.sh: Likewise.
1373 * intl/tst-gettext4.sh: Do not set environment variables
1375 * intl/tst-gettext6.sh: Likewise.
1376 * intl/tst-translit.sh: Likewise.
1377 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1378 $(test-program-prefix-before-env), $(run-program-env) and
1379 $(test-program-prefix-after-env).
1380 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1381 run_program_env and test_program_prefix_after_env arguments.
1382 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1383 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1384 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1385 explicitly with each use of ${test_wrapper_env}.
1386 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1387 $(test-program-prefix-before-env), $(run-program-env) and
1388 $(test-program-prefix-after-env).
1389 * posix/tst-getconf.sh: Do not set environment variables
1391 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1392 run_program_env and test_program_prefix_after_env arguments.
1393 * stdio-common/tst-printf.sh: Do not set environment variables
1395 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1396 $(test-program-prefix-before-env), $(run-program-env) and
1397 $(test-program-prefix-after-env).
1398 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1399 run_program_env and test_program_prefix_after_env arguments.
1400 Split $test calls into $test_pre and $test.
1401 * timezone/Makefile (build-testdata): Use
1402 $(built-program-cmd-before-env), $(run-program-env) and
1403 $(built-program-cmd-after-env).
1405 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1407 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1408 strlen for non SHARED builds.
1410 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1412 * nptl/allocatestack.c (check_list): Inlined function...
1413 (__reclaim_stacks): ... here.
1415 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1418 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1421 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1423 * Rules (make-test-out): Include
1424 LOCPATH=$(common-objpfx)localedata in default environment.
1425 * debug/Makefile (tst-chk1-ENV): Remove variable.
1426 (tst-chk2-ENV): Likewise.
1427 (tst-chk3-ENV): Likewise.
1428 (tst-chk4-ENV): Likewise.
1429 (tst-chk5-ENV): Likewise.
1430 (tst-chk6-ENV): Likewise.
1431 (tst-lfschk1-ENV): Likewise.
1432 (tst-lfschk2-ENV): Likewise.
1433 (tst-lfschk3-ENV): Likewise.
1434 (tst-lfschk4-ENV): Likewise.
1435 (tst-lfschk5-ENV): Likewise.
1436 (tst-lfschk6-ENV): Likewise.
1437 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1438 (tst-iconv7-ENV): Likewise.
1439 * intl/Makefile (LOCPATH-ENV): Likewise.
1440 (tst-codeset-ENV): Likewise.
1441 (tst-gettext3-ENV): Likewise.
1442 (tst-gettext5-ENV): Likewise.
1443 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1444 (tst-fopenloc-ENV): Likewise.
1445 (tst-fgetws-ENV): Remove variable.
1446 (tst-ungetwc1-ENV): Likewise.
1447 (tst-ungetwc2-ENV): Likewise.
1448 (bug-ungetwc2-ENV): Likewise.
1449 (tst-swscanf-ENV): Likewise.
1450 (bug-ftell-ENV): Likewise.
1451 (tst-fgetwc-ENV): Likewise.
1452 (tst-fseek-ENV): Likewise.
1453 (tst-ftell-partial-wide-ENV): Likewise.
1454 (tst-ftell-active-handler-ENV): Likewise.
1455 (tst-ftell-append-ENV): Likewise.
1456 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1457 (tst-regexloc-ENV): Likewise.
1458 (bug-regex1-ENV): Likewise.
1459 (tst-regex-ENV): Likewise.
1460 (tst-regex2-ENV): Likewise.
1461 (bug-regex5-ENV): Likewise.
1462 (bug-regex6-ENV): Likewise.
1463 (bug-regex17-ENV): Likewise.
1464 (bug-regex18-ENV): Likewise.
1465 (bug-regex19-ENV): Likewise.
1466 (bug-regex20-ENV): Likewise.
1467 (bug-regex22-ENV): Likewise.
1468 (bug-regex23-ENV): Likewise.
1469 (bug-regex25-ENV): Likewise.
1470 (bug-regex26-ENV): Likewise.
1471 (bug-regex30-ENV): Likewise.
1472 (bug-regex32-ENV): Likewise.
1473 (bug-regex33-ENV): Likewise.
1474 (bug-regex34-ENV): Likewise.
1475 (bug-regex35-ENV): Likewise.
1476 (tst-rxspencer-ENV): Likewise.
1477 (tst-rxspencer-no-utf8-ENV): Likewise.
1478 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1479 (tst-sscanf-ENV): Likewise.
1480 (tst-swprintf-ENV): Likewise.
1481 (tst-swscanf-ENV): Likewise.
1482 (test-vfprintf-ENV): Likewise.
1483 (scanf13-ENV): Likewise.
1484 (bug14-ENV): Likewise.
1485 (tst-grouping-ENV): Likewise.
1486 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1487 (tst-strtod3-ENV): Likewise.
1488 (tst-strtod4-ENV): Likewise.
1489 (tst-strtod5-ENV): Likewise.
1490 (testmb2-ENV): Likewise./
1491 * string/Makefile (tst-strxfrm-ENV): Likewise.
1492 (tst-strxfrm2-ENV): Likewise.
1493 (bug-strcoll1-ENV): Likewise.
1494 (test-strcasecmp-ENV): Likewise.
1495 (test-strncasecmp-ENV): Likewise.
1496 * time/Makefile (tst-strptime-ENV): Likewise.
1497 (tst-ftime_l-ENV): Likewise.
1498 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1499 (tst-mbrtowc-ENV): Likewise.
1500 (tst-wcrtomb-ENV): Likewise.
1501 (tst-mbrtowc2-ENV): Likewise.
1502 (tst-c16c32-1-ENV): Likewise.
1503 (tst-mbsnrtowcs-ENV): Likewise.
1505 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1507 * manual/resource.texi (How to get information about the memory
1508 subsystem?): Fix typo.
1509 Reported by Peon de la Parra Ivan <peon@keba.com>
1511 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1514 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1515 (pthread_spin_lock): Branch out of spin loop to proper location.
1516 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1517 (pthread_spin_lock): Likewise.
1519 * nptl/tst-spin4.c: New test.
1520 * nptl/Makefile (tests): Add tst-spin4.
1522 2014-06-03 Andreas Schwab <schwab@suse.de>
1525 * resolv/res_send.c (send_dg): Reload file descriptor after
1528 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1530 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1532 2014-06-03 Richard Henderson <rth@redhat.com>
1534 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1535 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1536 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1537 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1538 in the SAVE_PID block.
1539 (__libc_vfork): New alias.
1540 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1542 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1543 child in registers, not on the stack. Remove RESET_PID conditionals.
1544 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1546 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1548 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1550 2014-06-03 Wilco <wdijkstr@arm.com>
1552 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1553 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1554 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1555 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1556 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1559 2014-06-03 Wilco <wdijkstr@arm.com>
1561 * sysdeps/aarch64/fpu/math_private.h
1562 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1563 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1564 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1565 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1568 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1570 * crypt/crypt-private.h: Include ufc-crypt.h.
1571 (__b64_from_24bit): Declare extern.
1572 * crypt/crypt_util.c(__b64_from_24bit): New function.
1573 (b64t): New static const variable.
1574 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1575 (b64t): Remove variable.
1576 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1577 * crypt/sha256-crypt.c: Include crypt-private.h.
1578 (b64t): Remove variable.
1579 (__sha256_crypt_r): Remove b64_from_24bit and replace
1580 with __b64_from_24bit.
1581 * crypt/sha512-crypt.c: Likewise.
1583 2014-06-02 Roland McGrath <roland@hack.frob.com>
1585 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1586 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1587 Label the code __libc_vfork rather than __vfork.
1588 [!NOT_IN_libc] (vfork): Define as weak alias.
1589 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1590 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1591 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1593 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1595 * malloc/malloc.c (malloc_info): Fix format specifier for
1598 2014-06-02 Wilco <wdijkstr@arm.com>
1600 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1603 2014-06-02 Wilco <wdijkstr@arm.com>
1606 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1607 Rewrite to reduce FPCR/FPSR accesses.
1609 2014-06-01 David S. Miller <davem@davemloft.net>
1611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1613 2014-05-31 David S. Miller <davem@davemloft.net>
1615 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1616 to occur in round to nearest mode when |x| >= 2.0
1618 2014-05-30 Richard Henderson <rth@twiddle.net>
1620 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1621 (PSEUDO_RET_NOERRNO): Remove.
1622 (ret): Don't redefine.
1623 (ret_NOERRNO): Define in terms of ret.
1624 (ret_ERRVAL): Likewise.
1626 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1627 use of PSEUDO_RET; perform the error check directly.
1629 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1631 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1634 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1636 * malloc/malloc (malloc_info): Fix formatting.
1638 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1639 Roland McGrath <roland@hack.frob.com>
1641 * malloc/malloc (malloc_info): Also print mmapped statistics.
1643 2014-05-30 Roland McGrath <roland@hack.frob.com>
1645 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1646 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1648 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1650 * malloc/malloc.c (malloc_info): Inline mi_arena.
1652 2014-05-29 Richard Henderson <rth@twiddle.net>
1654 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1655 Remove comma before expanding ASM_ARGS_##nr.
1656 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1657 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1659 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1660 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1661 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1662 (ASM_ARGS_1): Add leading comma.
1664 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1665 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1666 to __errno_location.
1667 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1668 Remove the expected plt for __errno_location.
1670 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1671 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1674 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1675 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1676 it and break it down.
1677 (DOCARGS_0, DOCARGS_1): Do nothing.
1678 (DOCARGS_2): Update to store into the new stack frame.
1679 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1680 (UNDOCARGS_1): Update to restore from the new stack frame.
1681 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1682 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1684 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1685 (SINGLE_THREAD_P): New parameter for result regno.
1686 (PSEUDO): Update to match; use cbz instead of beq.
1688 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1689 Use ENTRY to define the _nocancel entry point. Share the syscall
1690 and syscall error check paths with the cancel path.
1693 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1694 whitespace; tabs before and after asm mnemonics.
1696 2014-05-29 Eric Wong <normalperson@yhbt.net>
1699 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1700 Call fstat64 or stat64 internally, depending on arguments passed.
1701 Replace stat buffer argument with file descriptor argument.
1702 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1703 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1704 Pass fd to __internal_statvfs instead of calling fstat64.
1705 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1706 Pass fd to __internal_statvfs64 instead of calling fstat64.
1707 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1708 Pass -1 to __internal_statvfs instead of calling stat64.
1709 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1710 Pass -1 to __internal_statvfs64 instead of calling stat64.
1712 2014-05-28 Roland McGrath <roland@hack.frob.com>
1714 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1715 that was previously under [RESET_PID].
1716 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1718 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1719 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1721 2014-05-27 Roland McGrath <roland@hack.frob.com>
1723 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1725 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1726 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1728 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1730 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1732 2014-05-27 Andreas Schwab <schwab@suse.de>
1734 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1736 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1737 * elf/rtld.c (init_tls, dl_main): Likewise.
1738 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1739 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1740 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1741 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1742 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1743 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1744 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1745 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1746 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1747 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1748 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1749 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1750 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1751 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1752 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1753 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1754 * sysdeps/generic/tls.h: Update description.
1756 2014-05-27 Will Newton <will.newton@linaro.org>
1759 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1760 and restore r2 rather than just restoring.
1762 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1765 * libio/tst-ftell-append.c: New test case.
1766 * libio/Makefile (tests): Add test case.
1767 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1769 * libio/wfileops.c (do_ftell_wide): Likewise.
1771 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1775 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1779 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1780 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1781 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1782 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1783 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1784 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1785 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1788 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1791 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1792 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1793 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1794 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1795 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1797 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1798 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1800 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1802 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1804 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1805 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1806 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1808 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1809 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1810 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1811 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1813 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1816 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1819 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1822 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1826 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1829 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1834 conditional [RESET_PID].
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1836 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1838 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1843 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1844 (__libc_vfork): New strong alias.
1845 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1847 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1852 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1853 (__libc_vfork): New strong alias.
1854 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1856 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1859 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1861 * malloc/malloc.c (mi_arena): New function.
1862 (malloc_info): Remove nested function mi_arena. Call non-nosted
1865 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1867 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1869 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1870 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1871 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1872 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1873 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1874 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1875 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1877 2014-05-26 Andreas Schwab <schwab@suse.de>
1880 * locale/programs/repertoire.c (repertoire_read): Add slash
1881 between I18NPATH element and file name.
1882 * locale/programs/locfile.c (locfile_read): Likewise.
1884 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1886 * nptl/pthread_mutexattr_settype.c
1887 (__pthread_mutexattr_settype):
1888 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1890 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1892 * nptl/tst-mutex5 (do_test):
1893 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1895 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1897 * benchtests/README: Document 'init' directive.
1898 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1900 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1901 (parse_file): Recognize 'init' directive.
1903 2014-05-26 Kyle McMartin <kyle@redhat.com>
1906 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1907 alignment of struct pthread.
1909 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1912 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1913 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1914 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1915 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1917 2014-05-25 Richard Henderson <rth@twiddle.net>
1919 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1920 (SINGLE_THREAD_P_PIC): Remove.
1921 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1922 (SINGLE_THREAD_P_PIC): Remove.
1924 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1925 branch to syscall error ...
1927 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1928 from __local_syscall_error to .Lsyscall_error.
1929 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1930 (SYSCALL_ERROR): Update label name.
1932 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1933 Do not use DOARGS/UNDOARGS.
1934 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1935 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1936 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1937 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1938 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1940 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1943 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1944 define if !NOT_IN_libc.
1945 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1946 define with non-default symbol versions.
1948 2014-05-23 Richard Henderson <rth@twiddle.net>
1950 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1951 (vfork, __vfork): Define via compat_symbol.
1953 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1954 [!HAVE_IFUNC] (vfork_compat): Remove.
1955 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1957 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1960 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1961 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1964 2014-05-23 Richard Henderson <rth@twiddle.net>
1966 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1967 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1968 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1969 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1971 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1972 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1973 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1974 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1975 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1976 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1977 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1978 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1979 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1980 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1981 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1982 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1983 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1984 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1985 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1986 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1987 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1988 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1989 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1990 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1991 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1992 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1993 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1994 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1995 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1996 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1997 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1998 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1999 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2000 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2001 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2002 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2003 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2004 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2005 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2006 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2007 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2008 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2009 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2010 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2011 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2012 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2013 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2014 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2015 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2016 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2017 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2018 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2019 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2020 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2021 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2022 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2023 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2024 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2025 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2026 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2028 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2029 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2030 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2031 before exiting on error.
2032 (__libc_vfork): New strong alias.
2033 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2034 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2036 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2037 that was previously under [RESET_PID].
2038 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2040 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2042 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2045 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2046 value when x - 1 is zero.
2047 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2048 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2049 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2050 0.0L for an argument of 1.0L.
2051 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2053 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2054 value when x - 1 is zero.
2055 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2056 * sysdeps/i386/fpu/libm-test-ulps: Update.
2057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2059 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2061 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2062 alphasort and versionsort.
2064 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2066 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2068 [copysignf]: Likewise.
2070 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2072 * crypt/md5-crypt.c: Fix formatting.
2074 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2076 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2077 (b64_from_24bit): New function.
2079 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2081 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2082 libc_hidden_builtin_def to ifunc.
2083 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2084 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2086 2014-05-21 Roland McGrath <roland@hack.frob.com>
2088 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2089 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2091 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2093 * nscd/Depend (linuxthreads): Remove.
2095 * resolv/Depend (linuxthreads): Remove.
2096 * rt/Depend (linuxthreads): Remove.
2098 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2099 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2100 $(common-objpfx)elf/.
2101 (link-libc-before-gnulib): Likewise.
2102 (elfobjdir): Remove variable.
2103 * Makefile (install): Use $(elf-objpfx) instead of
2104 $(common-objpfx)elf/.
2105 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2107 (link-libc-deps): Likewise.
2108 ($(common-objpfx)libc.so): Likewise.
2109 ($(common-objpfx)linkobj/libc.so): Likewise.
2110 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2111 instead of $(common-objpfx)elf/.
2112 (symbolic-link-list): Likewise.
2113 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2114 [$(cross-compiling) = no]: Likewise.
2115 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2117 (static-gnulib-arch): Likewise.
2118 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2119 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2120 $(common-objpfx)elf/.
2122 2014-05-21 Richard Henderson <rth@redhat.com>
2124 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2125 (SINGLE_THREAD_P): Use the correct width load. Fold
2126 into the ldr offset.
2128 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2129 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2131 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2133 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2134 (libgcc_s_resume): Use __attribute_used__.
2135 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2138 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2140 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2141 optimization when used with float constants.
2143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2145 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2148 * locale/nl_langinfo_l.c: Make direct reference to every
2149 _nl_current_CATEGORY symbol.
2150 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2151 (tests-static): Add tst-langinfo-static.
2152 (tests-special): Add tst-langinfo-static.out.
2153 ($(objpfx)tst-langinfo.out): Redirect output.
2154 ($(objpfx)tst-langinfo-static.out): New.
2155 * localedata/tst-langinfo.sh: Send output to stdout.
2156 * localedata/tst-langinfo-static.c: New file.
2159 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2160 when the shift amount is modulo the limb size.
2162 2014-05-20 Richard Henderson <rth@redhat.com>
2165 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2166 Change type of sa_flags from unsigned int to int.
2169 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2171 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2173 2014-05-20 Will Newton <will.newton@linaro.org>
2175 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2176 Test the return value of the system call in the nocancel case.
2178 2014-05-20 Will Newton <will.newton@linaro.org>
2179 Yvan Roux <yvan.roux@linaro.org>
2181 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2182 #include of asm/ptrace.h.
2183 (PTRACE_GET_THREAD_AREA): Remove #undef.
2184 (PTRACE_GETHBPREGS): Likewise.
2185 (PTRACE_SETHBPREGS): Likewise.
2186 (struct user_regs_struct): New structure.
2187 (struct user_fpsimd_struct): New structure.
2188 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2189 #include of asm/ptrace.h and second #include of sys/user.h.
2190 (PTRACE_GET_THREAD_AREA): Remove #undef.
2191 (PTRACE_GETHBPREGS): Likewise.
2192 (PTRACE_SETHBPREGS): Likewise.
2193 (ELF_NGREG): Use new struct user_regs_struct.
2194 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2196 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2198 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2199 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2201 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2204 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2205 membar to avoid block loads/stores to overlap previous stores.
2207 2014-05-17 Richard Henderson <rth@redhat.com>
2209 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2210 Create the __##syscall_name##_nocancel entry point.
2211 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2212 Remove; let the sysdep-cancel.h code create it.
2214 2014-05-17 David S. Miller <davem@davemloft.net>
2216 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2217 Protect with __USE_GNU.
2218 (TIOCSET_TEMPT): Likewise.
2219 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2220 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2221 these are already provided in bits/ioctl-types.h
2223 2014-05-16 Roland McGrath <roland@hack.frob.com>
2225 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2226 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2228 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2229 Use wait4 regardless of [__NR_waitpid].
2231 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2234 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2235 (_FP_NANSIGN_Q): Set the quiet bit.
2237 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2239 * benchtests/Makefile
2240 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2241 not $(common-objpfx)math/libm.so.
2242 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2243 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2244 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2245 $(common-objpfx)dlfcn/libdl.so.
2246 ($(objpfx)tst-audit8): Depend on $(libm), not
2247 $(common-objpfx)math/libm.so.
2248 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2249 not $(common-objpfx)dlfcn/libdl.so.
2251 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2252 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2253 [$(build-shared) = yes].
2254 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2255 $(common-objpfx)nptl/libpthread.so.
2256 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2257 $(common-objpfx)math/libm.so$(libm.so-version) or
2258 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2259 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2260 $(common-objpfx)dlfcn/libdl.so.
2261 * setjmp/Makefile (link-libm): Remove variable.
2262 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2263 * stdio-common/Makefile (link-libm): Remove variable.
2264 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2265 * stdlib/Makefile (link-libm): Remove variable.
2266 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2267 ($(objpfx)tst-strtod-round): Likewise.
2268 ($(objpfx)tst-tininess): Likewise.
2269 ($(objpfx)tst-strtod-underflow): Likewise.
2270 ($(objpfx)tst-strtod6): Likewise.
2271 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2272 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2273 $(common-objpfx)dlfcn/libdl.so.
2275 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2277 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2278 BSD terminal modes definitions.
2280 2014-05-16 Roland McGrath <roland@hack.frob.com>
2282 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2283 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2285 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2286 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2287 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2288 Don't do #include_next.
2289 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2290 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2291 Don't do #include_next.
2292 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2293 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2294 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2295 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2297 2014-05-16 Allan McRae <allan@archlinux.org>
2299 * po/sv.po: Update Swedish translation from translation project.
2301 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2304 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2307 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2308 errno if the TIOCGPTN ioctl fails with an error different than
2310 * login/tst-ptsname.c: New file.
2311 * login/Makefile (tests): Add tst-ptsname.
2314 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2317 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2321 herrno to return EAI_AGAIN.
2323 2014-05-14 Roland McGrath <roland@hack.frob.com>
2325 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2326 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2327 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2328 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2329 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2330 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2331 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2332 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2333 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2334 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2335 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2336 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2338 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2339 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2340 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2341 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2342 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2344 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2345 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2346 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2347 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2348 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2349 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2350 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2351 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2352 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2353 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2354 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2356 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2358 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2361 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2363 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2365 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2367 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2369 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2371 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2373 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2377 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2379 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2381 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2383 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2385 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2387 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2390 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2392 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2394 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2396 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2398 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2400 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2402 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2404 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2406 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2408 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2411 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2413 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2415 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2416 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2417 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2418 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2419 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2421 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2422 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2423 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2424 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2425 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2426 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2427 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2428 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2429 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2430 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2431 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2432 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2433 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2434 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2435 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2437 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2439 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2440 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2441 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2443 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2444 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2445 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2447 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2448 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2450 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2451 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2452 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2453 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2454 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2455 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2457 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2458 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2460 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2461 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2463 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2464 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2466 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2467 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2468 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2469 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2471 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2472 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2473 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2474 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2475 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2476 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2477 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2478 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2480 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2481 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2483 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2485 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2486 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2487 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2488 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2489 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2491 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2493 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2495 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2496 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2497 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2498 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2499 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2500 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2502 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2503 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2505 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2506 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2508 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2509 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2511 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2512 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2513 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2514 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2516 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2517 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2518 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2519 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2520 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2521 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2522 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2523 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2525 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2526 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2528 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2530 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2531 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2532 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2533 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2534 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2536 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2538 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2540 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2541 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2542 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2543 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2544 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2545 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2546 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2547 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2548 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2549 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2551 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2552 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2554 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2555 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2557 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2558 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2560 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2561 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2562 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2563 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2564 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2567 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2568 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2569 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2570 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2571 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2572 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2573 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2574 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2576 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2577 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2579 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2581 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2582 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2583 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2584 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2585 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2587 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2589 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2591 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2592 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2593 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2594 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2595 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2596 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2597 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2598 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2599 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2600 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2601 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2603 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2604 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2606 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2607 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2609 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2610 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2611 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2612 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2613 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2614 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2615 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2616 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2617 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2618 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2619 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2620 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2621 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2622 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2623 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2624 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2625 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2626 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2628 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2629 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2630 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2631 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2633 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2634 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2635 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2636 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2637 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2638 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2639 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2640 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2642 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2643 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2645 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2646 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2647 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2648 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2649 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2650 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2651 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2652 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2653 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2654 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2655 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2656 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2657 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2658 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2659 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2660 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2661 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2663 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2664 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2665 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2666 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2667 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2669 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2670 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2671 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2672 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2673 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2674 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2675 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2676 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2677 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2678 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2680 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2681 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2683 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2684 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2685 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2686 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2687 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2688 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2689 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2690 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2691 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2692 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2693 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2694 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2695 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2696 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2697 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2699 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2705 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2707 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2709 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2711 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2717 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2718 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2719 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2720 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2721 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2722 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2723 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2724 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2725 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2726 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2727 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2728 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2729 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2730 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2731 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2733 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2734 that was previously under [RESET_PID].
2735 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2736 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2737 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2739 * sysdeps/i386/nptl/Implies: New file.
2740 * sysdeps/x86_64/nptl/Implies: New file.
2741 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2742 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2743 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2744 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2746 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2747 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2748 (__libc_vfork): New strong alias.
2749 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2750 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2752 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2753 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2754 (__libc_vfork): New strong alias.
2755 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2756 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2758 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2759 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2760 (__libc_vfork): New strong alias.
2761 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2762 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2763 * nptl/pt-vfork.c: New file.
2764 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2765 (libpthread: GLIBC_2.20): New version set (empty).
2767 2014-05-14 Will Newton <will.newton@linaro.org>
2769 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2772 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2775 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2776 arguments with exponent 65 or above.
2777 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2778 arguments 0x1p113L or above.
2779 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2780 to arguments 0x1p107L or above.
2781 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2782 positive arguments with exponent 65 or above.
2783 * math/auto-libm-test-in: Add more tests of log1p.
2784 * math/auto-libm-test-out: Regenerated.
2787 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2788 non-finite arguments is +0.
2789 * math/s_cacosf.c (__cacosf): Likewise.
2790 * math/s_cacosl.c (__cacosl): Likewise.
2791 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2792 * sysdeps/i386/fpu/libm-test-ulps: Update.
2793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2796 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2798 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2799 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2800 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2801 for explicit high bit of mantissa when testing for argument equal
2803 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2804 * sysdeps/i386/fpu/libm-test-ulps: Update.
2805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2808 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2809 (__erf): Scale by 16 instead of 8 in potentially underflowing
2810 case. Ensure exception if result actually underflows.
2811 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2812 (__erff): Scale by 16 instead of 8 in potentially underflowing
2813 case. Ensure exception if result actually underflows.
2814 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2815 (efx8): Remove variable.
2816 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2817 case. Ensure exception if result actually underflows.
2818 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2819 (efx8): Remove variable.
2820 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2821 case. Ensure exception if result actually underflows.
2822 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2823 (efx8): Remove variable.
2824 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2825 case. Ensure exception if result actually underflows.
2826 * math/auto-libm-test-in: Add more tests of erf.
2827 * math/auto-libm-test-out: Regenerated.
2829 2014-05-14 Andreas Schwab <schwab@suse.de>
2831 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2832 Remove code conditionalized on USE___THREAD.
2834 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2835 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2838 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2840 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2841 Define unconditionally.
2842 (__ASSUME_O_CLOEXEC): Likewise.
2843 (__ASSUME_SOCK_CLOEXEC): Likewise.
2844 (__ASSUME_IN_NONBLOCK): Likewise.
2845 (__ASSUME_PIPE2): Likewise.
2846 (__ASSUME_EVENTFD2): Likewise.
2847 (__ASSUME_SIGNALFD4): Likewise.
2848 (__ASSUME_DUP3): Likewise.
2849 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2850 (__ASSUME_DUP3): Do not define.
2851 (__ASSUME_EVENTFD2): Likewise.
2852 (__ASSUME_IN_NONBLOCK): Likewise.
2853 (__ASSUME_O_CLOEXEC): Likewise.
2854 (__ASSUME_PIPE2): Likewise.
2855 (__ASSUME_SIGNALFD4): Likewise.
2856 (__ASSUME_SOCK_CLOEXEC): Likewise.
2857 (__ASSUME_UTIMES): Undefine.
2858 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2859 (__ASSUME_UTIMES): Do not define.
2860 (__ASSUME_O_CLOEXEC): Likewise.
2861 (__ASSUME_SOCK_CLOEXEC): Likewise.
2862 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2863 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2865 (__ASSUME_PIPE2): Likewise.
2866 (__ASSUME_EVENTFD2): Likewise.
2867 (__ASSUME_SIGNALFD4): Likewise.
2868 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2869 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2871 (__ASSUME_EVENTFD2): Likewise.
2872 (__ASSUME_SIGNALFD4): Likewise.
2873 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2874 (__ASSUME_32BITUIDS): Likewise.
2875 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2876 (__ASSUME_IPC64): Likewise.
2877 (__ASSUME_ST_INO_64_BIT): Likewise.
2878 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2879 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2880 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2881 (__ASSUME_UTIMES): Do not define.
2882 (__ASSUME_PSELECT): Likewise.
2883 (__ASSUME_PPOLL): Likewise.
2884 (__ASSUME_O_CLOEXEC): Likewise.
2885 (__ASSUME_SOCK_CLOEXEC): Likewise.
2886 (__ASSUME_IN_NONBLOCK): Likewise.
2887 (__ASSUME_PIPE2): Likewise.
2888 (__ASSUME_EVENTFD2): Likewise.
2889 (__ASSUME_SIGNALFD4): Likewise.
2890 (__ASSUME_DUP3): Likewise.
2891 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2892 (__ASSUME_UTIMES): Likewise.
2893 (__ASSUME_O_CLOEXEC): Likewise.
2894 (__ASSUME_SOCK_CLOEXEC): Likewise.
2895 (__ASSUME_IN_NONBLOCK): Likewise.
2896 (__ASSUME_PIPE2): Likewise.
2897 (__ASSUME_EVENTFD2): Likewise.
2898 (__ASSUME_SIGNALFD4): Likewise.
2899 (__ASSUME_DUP3): Likewise.
2900 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2901 (__ASSUME_UTIMES): Likewise.
2902 (__ASSUME_O_CLOEXEC): Likewise.
2903 (__ASSUME_SOCK_CLOEXEC): Likewise.
2904 (__ASSUME_IN_NONBLOCK): Likewise.
2905 (__ASSUME_PIPE2): Likewise.
2906 (__ASSUME_EVENTFD2): Likewise.
2907 (__ASSUME_SIGNALFD4): Likewise.
2908 (__ASSUME_DUP3): Likewise.
2909 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2911 (__ASSUME_UTIMES): Likewise.
2912 (__ASSUME_EVENTFD2): Likewise.
2913 (__ASSUME_SIGNALFD4): Likewise.
2914 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2915 (__ASSUME_O_CLOEXEC): Likewise.
2916 (__ASSUME_SOCK_CLOEXEC): Likewise.
2917 (__ASSUME_IN_NONBLOCK): Likewise.
2918 (__ASSUME_PIPE2): Likewise.
2919 (__ASSUME_EVENTFD2): Likewise.
2920 (__ASSUME_SIGNALFD4): Likewise.
2921 (__ASSUME_DUP3): Likewise.
2922 (__ASSUME_UTIMES): Undefine.
2924 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2925 feclearexcept. Remove symbol versioning code.
2926 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2927 symbol versioning code.
2928 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2929 symbol versioning code.
2930 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2931 feupdateenv. Remove symbol versioning code.
2932 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2933 fegetexceptflag. Remove symbol versioning code.
2934 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2935 fesetexceptflag. Remove symbol versioning code.
2936 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2937 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2938 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2939 (__posix_fadvise64_l32): Remove prototype.
2940 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2943 2014-05-13 Roland McGrath <roland@hack.frob.com>
2945 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2946 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2947 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2948 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2950 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2952 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2953 current working directory
2955 2014-05-13 Roland McGrath <roland@hack.frob.com>
2957 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2958 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2959 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2960 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2961 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2962 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2963 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2964 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2965 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2966 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2967 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2968 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2969 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2970 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2971 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2972 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2973 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2974 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2975 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2976 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2977 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2978 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2979 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2980 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2981 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2982 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2983 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2984 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2985 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2986 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2987 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2988 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2989 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2990 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2991 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2992 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2993 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2994 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2995 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2996 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2997 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2998 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3000 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3001 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3003 * sysdeps/unix/sysv/linux/arm/Makefile
3004 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3005 Add rt-aeabi_unwind_cpp_pr1.
3006 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3007 Add nptl-aeabi_unwind_cpp_pr1.
3008 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3009 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3010 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3011 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3012 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3013 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3015 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3016 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3017 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3018 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3020 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3021 Deconditionalize the code that was previously under [RESET_PID].
3022 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3024 * sysdeps/generic/exit-thread.h: New file.
3025 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3026 * include/unistd.h (__exit_thread): Remove declaration.
3027 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3028 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3029 * csu/libc-start.c: Include <exit-thread.h>.
3030 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3031 * nptl/pthread_create.c: Include <exit-thread.h>.
3032 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3033 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3034 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3035 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3036 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3037 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3038 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3039 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3040 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3041 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3042 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3043 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3044 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3045 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3046 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3047 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3048 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3050 2014-05-13 Andreas Schwab <schwab@suse.de>
3052 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3054 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3056 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3057 (__ASSUME_UTIMES): Do not condition on kernel version.
3058 (__ASSUME_PSELECT): Define unconditionally.
3059 (__ASSUME_PPOLL): Likewise.
3060 (__ASSUME_ATFCTS): Likewise.
3061 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3062 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3063 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3064 (__ASSUME_UTIMENSAT): Define unconditionally.
3065 (__ASSUME_PRIVATE_FUTEX): Likewise.
3066 (__ASSUME_FALLOCATE): Likewise.
3067 (__ASSUME_O_CLOEXEC): Likewise.
3068 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3069 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3070 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3071 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3072 (__ASSUME_IN_NONBLOCK): Likewise.
3073 (__ASSUME_PIPE2): Likewise.
3074 (__ASSUME_EVENTFD2): Likewise.
3075 (__ASSUME_SIGNALFD4): Likewise.
3076 (__ASSUME_DUP3): Likewise.
3077 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3078 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3079 (__ASSUME_AT_RANDOM): Likewise.
3080 (__ASSUME_PREADV): Likewise.
3081 (__ASSUME_PWRITEV): Likewise.
3082 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3083 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3084 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3085 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3086 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3087 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3088 (__ASSUME_O_CLOEXEC): Define unconditionally.
3089 (__ASSUME_PSELECT): Do not undefine conditionally.
3090 (__ASSUME_PPOLL): Likewise.
3091 (__ASSUME_ATFCTS): Likewise.
3092 (__ASSUME_SET_ROBUST_LIST): Likewise.
3093 (__ASSUME_UTIMENSAT): Likewise.
3094 (__ASSUME_FDATASYNC): Define unconditionally.
3095 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3096 (__ASSUME_SIGFRAME_V2): Likewise.
3097 )__ASSUME_EVENTFD2): Likewise.
3098 (__ASSUME_SIGNALFD4): Likewise.
3099 (__ASSUME_PSELECT): Do not undefine conditionally.
3100 (__ASSUME_PPOLL): Likewise.
3101 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3102 (__ASSUME_PSELECT): Define unconditionally.
3103 (__ASSUME_PPOLL): Likewise.
3104 (__ASSUME_O_CLOEXEC): Likewise.
3105 (__ASSUME_SOCK_CLOEXEC): Likewise.
3106 (__ASSUME_IN_NONBLOCK): Likewise.
3107 (__ASSUME_PIPE2): Likewise.
3108 (__ASSUME_EVENTFD2): Likewise.
3109 (__ASSUME_SIGNALFD4): Likewise.
3110 (__ASSUME_DUP3): Likewise.
3111 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3112 (__ASSUME_O_CLOEXEC): Likewise.
3113 (__ASSUME_SOCK_CLOEXEC): Likewise.
3114 (__ASSUME_IN_NONBLOCK): Likewise.
3115 (__ASSUME_PIPE2): Likewise.
3116 (__ASSUME_EVENTFD2): Likewise.
3117 (__ASSUME_SIGNALFD4): Likewise.
3118 (__ASSUME_DUP3): Likewise.
3119 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3120 (__ASSUME_EVENTFD2): Likewise.
3121 (__ASSUME_SIGNALFD4): Likewise.
3122 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3124 2014-05-12 Andreas Schwab <schwab@suse.de>
3127 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3128 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3129 than maximum RPC packet size.
3130 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3131 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3132 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3133 (_nss_nis_getservbyport_r): Likewise.
3135 2014-05-12 Will Newton <will.newton@linaro.org>
3137 * malloc/Makefile (tests): Add tst-mallopt.
3138 * malloc/tst-mallopt.c: New file.
3140 2014-05-09 Roland McGrath <roland@hack.frob.com>
3142 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3143 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3145 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3147 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3148 (tst-tlsmod6.so): Likewise.
3150 2014-05-09 Roland McGrath <roland@hack.frob.com>
3152 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3154 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3157 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3158 and <dl-procinfo.h>.
3159 (__fegetenv): Save SSE state in envp->__eip if supported.
3160 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3161 envp->__eip if supported.
3162 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3163 and <dl-procinfo.h>.
3164 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3165 __data_offset and __data_selector in environment to 0. Set SSE
3167 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3169 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3171 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3173 2014-05-09 Will Newton <will.newton@linaro.org>
3175 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3176 and libc_relro_required for ARM.
3177 * sysdeps/arm/preconfigure: Regenerate.
3179 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3180 Stefan Liebler <stli@linux.vnet.ibm.com>
3182 * config.make.in (enable-lock-elision): New Makefile variable.
3183 * configure.ac: Likewise.
3184 * configure: Regenerate.
3185 * sysdeps/s390/configure.ac:
3186 Add check for gcc transactions support.
3187 * sysdeps/s390/configure: Regenerate.
3188 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3189 Build elision files if enabled.
3190 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3191 Add lock elision support for s390.
3192 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3193 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3194 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3195 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3196 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3197 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3198 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3200 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3202 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3204 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3206 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3207 (__lll_timedlock_elision, __lll_lock_elision)
3208 (__lll_unlock_elision, __lll_trylock_elision)
3209 (lll_timedlock_elision, lll_lock_elision)
3210 (lll_unlock_elision, lll_trylock_elision): Add.
3211 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3212 (pthread_mutex_t): Add lock elision support for s390.
3214 2014-05-14 Wilco <wdijkstr@arm.com>
3216 * sysdeps/arm/fclrexcpt.c: Cleanup.
3217 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3218 * sysdeps/arm/feenablxcpt.c: Cleanup.
3219 * sysdeps/arm/fegetenv.c: Cleanup.
3220 * sysdeps/arm/fegetexcept.c: Cleanup.
3221 * sysdeps/arm/fegetround.c: Cleanup.
3222 * sysdeps/arm/feholdexcpt.c: Cleanup.
3223 * sysdeps/arm/fesetenv.c: Cleanup.
3224 * sysdeps/arm/fesetround.c: Cleanup.
3225 * sysdeps/arm/feupdateenv.c: Cleanup.
3226 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3227 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3228 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3229 * sysdeps/arm/ftestexcept.c: Cleanup.
3230 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3231 * sysdeps/arm/setfpucw.c: Cleanup.
3233 2014-05-09 Will Newton <will.newton@linaro.org>
3235 * sysdeps/arm/armv7/strcmp.S: New file.
3236 * NEWS: Mention addition of ARMv7 optimized strcmp.
3238 2014-05-08 Roland McGrath <roland@hack.frob.com>
3240 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3241 look for %.ac rather than %.in.
3243 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3244 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3245 * sysdeps/mach/hurd/configure: Regenerated.
3246 * sysdeps/unix/sysv/linux/configure: Regenerated.
3248 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3250 2014-05-07 Steve Ellcey <sellcey@mips.com>
3253 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3257 2014-05-07 Andreas Schwab <schwab@suse.de>
3259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3260 when skipping over non-matching result from nscd.
3262 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3265 * nptl/sockperf.c (client): Check socket return value.
3268 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3269 nscd security class.
3271 2014-05-06 Roland McGrath <roland@hack.frob.com>
3273 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3274 * sysdeps/arm/unwind.h: ... here.
3276 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3279 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3282 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3284 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3285 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3286 multiarch strncpy for PPC64.
3287 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3288 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3290 multiarch optimizations.
3291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3292 (__libc_ifunc_impl_list): Likewise.
3293 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3294 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3295 multiarch stpncpy for PPC64.
3296 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3297 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3299 2014-05-06 Andreas Schwab <schwab@suse.de>
3302 * gmon/mcount.c (_MCOUNT_DECL): Use
3303 atomic_compare_and_exchange_bool_acq instead of
3304 catomic_compare_and_exchange_bool_acq.
3306 2014-05-05 Roland McGrath <roland@hack.frob.com>
3308 * elf/Makefile (others, install-bin): Remove pldd.
3309 (pldd-modules): Variable removed.
3310 ($(objpfx)pldd): Target removed.
3311 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3312 (others, install-bin): Append pldd here.
3313 ($(objpfx)pldd): New target.
3315 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3316 to 0, so the first #if test emitted later doesn't see it undefined.
3317 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3318 * sysdeps/gnu/errlist.c: Regenerated.
3320 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3322 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3323 [libc_hidden_builtin_def]: Define to empty value.
3324 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3325 [libc_hidden_builtin_def]: Likewise.
3326 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3327 [libc_hidden_builtin_def]: Likewise.
3328 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3329 [libc_hidden_builtin_def]: Likewise.
3330 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3331 __redirect_memcpy and define ifunc as default hidden symbol.
3332 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3333 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3335 2014-05-04 Adam Conrad <adconrad@0c3.net>
3337 * locale/iso-4217.def: Reintroduce XDR currency.
3339 2014-05-04 Allan McRae <allan@archlinux.org>
3341 * po/eo.po: Update Esperanto translation from translation project.
3343 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3345 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3346 and FEATURE_INDEX_MAX to 1.
3347 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3349 2014-05-01 Steve Ellcey <sellcey@mips.com>
3351 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3352 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3353 * iconvdata/big5.c (ONE_DIRECTION): Define.
3354 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3355 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3356 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3357 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3358 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3359 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3360 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3361 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3362 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3363 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3364 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3365 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3366 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3367 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3368 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3369 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3370 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3371 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3372 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3373 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3374 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3375 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3376 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3377 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3378 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3379 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3380 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3381 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3382 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3383 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3384 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3385 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3386 * iconvdata/johab.c (ONE_DIRECTION): Define.
3387 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3388 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3389 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3390 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3391 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3392 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3393 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3394 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3395 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3396 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3398 2014-05-01 Roland McGrath <roland@hack.frob.com>
3400 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3401 (_IO_JUMPS_OFFSET): Define to 0.
3403 * nptl/sysdeps/pthread/bits/libc-lock.h
3404 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3405 (__libc_lock_define_initialized_recursive): Always define using
3406 initializer. Modern compilers treat uninitialized (implicit zero) and
3407 explicit zero initializers the same (i.e. put the datum in bss).
3409 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3411 * nscd/nscd-client.h: Include <string.h>.
3413 2014-05-01 David S. Miller <davem@davemloft.net>
3416 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3417 multiple zero bytes exist at the end of a string.
3418 Reported by Aurelien Jarno <aurelien@aurel32.net>
3420 * string/test-strcmp.c (check): Add explicit test for situations where
3421 there are multiple zero bytes after the first.
3423 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3426 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3427 when compiling wprintf.
3428 * stdio-common/tstdiomisc.c (t3): New function.
3431 2014-05-01 Steve Ellcey <sellcey@mips.com>
3433 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3434 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3435 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3436 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3438 2014-05-01 Steve Ellcey <sellcey@mips.com>
3440 * stdlib/longlong.h: Updated from GCC.
3442 2014-05-01 Will Newton <will.newton@linaro.org>
3443 Bernard Ogden <bernie.ogden@linaro.org>
3445 * NEWS: Update fixed bug list.
3448 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3450 2014-04-30 David S. Miller <davem@davemloft.net>
3452 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3453 (libc_feholdexcept_setround_sparc_ctx): New function.
3454 (libc_fesetenv_sparc_ctx): Likewise.
3455 (libc_feupdateenv_sparc_ctx): Likewise.
3456 (libc_feholdsetround_sparc_ctx): Likewise.
3457 (libc_feholdexcept_setround_ctx): Define.
3458 (libc_feholdexcept_setroundf_ctx): Likewise.
3459 (libc_feholdexcept_setroundl_ctx): Likewise.
3460 (libc_fesetenv_ctx): Likewise.
3461 (libc_fesetenvf_ctx): Likewise.
3462 (libc_fesetenvl_ctx): Likewise.
3463 (libc_feupdateenv_ctx): Likewise.
3464 (libc_feupdateenvf_ctx): Likewise.
3465 (libc_feupdateenvl_ctx): Likewise.
3466 (libc_feresetround_ctx): Likewise.
3467 (libc_feresetroundf_ctx): Likewise.
3468 (libc_feresetroundl_ctx): Likewise.
3469 (libc_feholdsetround_ctx): Likewise.
3470 (libc_feholdsetroundf_ctx): Likewise.
3471 (libc_feholdsetroundl_ctx): Likewise.
3473 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3474 with __USE_GNU instead of XOPEN cpp guards.
3476 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3479 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3480 with XOPEN cpp guards.
3482 2014-04-30 Julian Brown <julian@codesourcery.com>
3485 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3488 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3491 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3493 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3494 * sysdeps/unix/sysv/linux/configure: Regenerated.
3495 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3496 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3497 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3498 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3499 * README: Update reference to required Linux kernel version.
3500 * manual/install.texi (Linux): Update reference to required Linux
3501 kernel headers version.
3502 * INSTALL: Regenerated.
3504 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3506 [POSIX] (limits.h): Likewise.
3507 [POSIX] (math.h): Likewise.
3508 [POSIX] (sys/wait.h): Likewise.
3509 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3511 [POSIX] (stddef.h): Do not allow header inclusion.
3513 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3515 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3517 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3519 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3520 Return immediately after lll_futex_wake.
3522 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3525 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3527 (datahead_init_pos): Call datahead_init_common early.
3528 (datahead_init_neg): Likewise.
3530 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3531 datahead_init_neg): New functions.
3532 * nscd/aicache.c (addhstaiX): Use them.
3533 * nscd/grpcache.c (cache_addgr): Likewise.
3534 * nscd/hstcache.c (cache_addhst): Likewise.
3535 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3536 * nscd/netgroupcache.c (do_notfound): Likewise.
3537 (addgetnetgrentX): Likewise.
3538 (addinnetgrX): Likewise.
3539 * nscd/pwdcache.c (cache_addpw): Likewise.
3540 * nscd/servicescache.c (cache_addserv): Likewise.
3542 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3543 Atsushi Onoe <atsushi@onoe.org>
3548 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3549 one response is valid.
3550 * resolv/res_send.c (send_dg): Check for validity of other
3551 response if the current response is a referral.
3553 2014-04-29 Steve Ellcey <sellcey@mips.com>
3555 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3557 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3560 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3561 Always divide by positive zero when computing -Inf result.
3562 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3563 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3565 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3567 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3568 FPSCR if value do not change.
3569 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3570 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3571 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3572 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3573 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3574 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3577 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3579 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3580 * sysdeps/unix/sysv/linux/hppa: Move directory from
3581 ports/systeps/unix/sysv/linux/hppa.
3582 * README: Update listing for hppa-*-linux-gnu.
3584 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3587 * manual/stdio.texi (Hook functions): Fix types of stream hook
3590 * socket/sys/socket.h: Fix typo in comment.
3592 2014-04-28 Wilco <wdijkstr@arm.com>
3594 * sysdeps/arm/fenv_private.h: New file.
3595 * sysdeps/arm/math_private.h: New file.
3596 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3598 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3600 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3602 (La_x86_64_retval): Likewise.
3604 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3606 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3607 fpsr if value didn't change.
3608 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3609 to fpcr if value didn't change.
3610 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3611 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3612 fpsr or fpcr if value didn't change.
3613 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3614 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3615 fpcr if value didn't change.
3616 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3617 to fpsr if value didn't change.
3619 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3621 * nptl/tst-sem3.c: Use test-skeleton.c
3622 (main): Rename to do_test. Use return instead of
3624 * nptl/tst-sem4.c: Use test-skeleton.c
3625 (main): Rename to do_test.
3627 2014-04-22 David S. Miller <davem@davemloft.net>
3629 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3630 (struct sigaction): New struct member __glibc_reserved0, change
3631 type of sa_flags to int.
3633 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3635 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3636 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3638 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3640 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3641 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3643 2014-04-22 Will Newton <will.newton@linaro.org>
3644 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3646 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3647 (__longjmp): Add longjmp and longjmp_target SystemTap
3649 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3650 (__sigsetjmp): Add setjmp SystemTap probe.
3652 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3654 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3657 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3659 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3661 * sysdeps/powerpc/fpu/fenv_private.h
3662 (libc_feholdexcept_setroundl_ctx): Define to
3663 libc_feholdexcept_setround_ppc_ctx.
3664 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3665 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3666 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3667 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3669 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3671 * sysdeps/aarch64/math-tests.h: New file.
3673 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3675 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3678 Check and set bit_AVX2_Usable.
3679 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3681 (bit_AVX2): Likewise.
3682 (index_AVX2_Usable): Likewise.
3683 (CPUID_AVX2): Likewise.
3684 (HAS_AVX2): Likewise.
3686 2014-04-17 Will Newton <will.newton@linaro.org>
3688 * manual/setjmp.texi (System V contexts): Add note that
3689 calling setcontext on a context created by a call to a
3690 signal handler is undefined. Update text to note that
3691 setcontext from a signal handler is possible but not
3695 * stdlib/tst-setcontext.c: Include signal.h.
3696 (main): Check that the signal stack before and
3697 after swapcontext is the same.
3699 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3700 Re-implement to restore registers in user code and avoid
3701 rt_sigreturn system call.
3703 2014-04-17 Wilco <wdijkstr@arm.com>
3705 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3706 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3707 * math/test-fenv.c: Skip exception trap tests on targets which only
3708 support non-stop mode.
3710 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3711 Wilco Dijkstra <wilco.dijkstra@arm.com>
3713 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3714 (libc_feholdsetround_aarch64_ctx)
3715 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3716 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3717 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3718 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3719 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3720 (libc_feresetround_noexl_ctx): Define.
3722 2014-04-16 Richard Henderson <rth@redhat.com>
3724 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3726 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3729 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3730 const from the non-libc, non-ldso copy.
3732 * sysdeps/alpha/libm-test-ulps: Regenerate.
3734 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3735 Wilco Dijkstra <wilco.dijkstra@arm.com>
3737 * sysdeps/aarch64/fpu/math_private.h: New file.
3739 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3741 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3743 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3745 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3746 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3747 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3748 Intel MPX bound registers before _dl_profile_fixup.
3749 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3750 registers after _dl_profile_fixup. Save and restore bound
3751 registers bnd0/bnd1 when calling _dl_call_pltexit.
3752 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3753 (LR_BND_OFFSET): Likewise.
3754 (LRV_BND0_OFFSET): Likewise.
3755 (LRV_BND1_OFFSET): Likewise.
3757 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3759 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3761 * sysdeps/mach/hurd/i386/tls.h: ... here.
3762 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3763 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3766 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3768 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3770 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3772 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3774 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3777 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3778 * sysdeps/s390/configure: Regenerate.
3781 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3782 Set round-to-nearest internally to reduce error accumulation.
3784 2014-04-16 Alan Modra <amodra@gmail.com>
3788 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3789 * math/libm-test.inc (frexp_test_data): Add tests.
3790 * NEWS: Update fixed bug list.
3792 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3794 * benchtests/Makefile: Depend on libraries in build directory.
3795 (bench-math): Separate out math tests.
3796 (bench-pthread): Separate out pthread tests.
3797 (bench): Include math and pthread tests.
3799 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3802 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3803 _dl_debug_initialize.
3805 * configure.ac: Remove SELinux header check.
3806 * configure: Regenerate.
3807 * nscd/selinux.c (perms): Array of const char* to permission names.
3808 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3809 default policy. Call string_to_security_class and string_to_av_perm to
3810 translate strings. Enforce default policy and call avs_has_perm with
3811 results of translated strings.
3813 2014-04-13 David S. Miller <davem@davemloft.net>
3815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3817 2014-04-12 Allan McRae <allan@archlinux.org>
3820 * manual/string.texi (Collation Functions): Fix qsort argument
3822 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3824 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3826 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3827 Make the test a no-op if there are no exceptions defined.
3829 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3831 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3832 enable-hardcoded-path-in-tests
3834 2014-04-11 Will Newton <will.newton@linaro.org>
3836 * benchtests/Makefile (extra-objs): Add json-lib.o.
3837 (bench-func): Tidy up JSON output.
3838 * benchtests/bench-skeleton.c: Include json-lib.h.
3839 (main): Use JSON library functions to do output of
3841 * benchtests/bench-timing-type.c (main): Output the
3842 timing type simply, leaving formatting to the user.
3843 * benchtests/json-lib.c: New file.
3844 * benchtests/json-lib.h: Likewise.
3846 2014-04-11 Torvald Riegel <triegel@redhat.com>
3849 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3850 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3851 memory barriers. Add comments.
3852 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3853 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3854 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3855 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3856 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3857 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3859 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3861 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3862 * sysdeps/s390/s390-64/configure.ac: ... this ...
3863 * sysdeps/s390/configure.ac: ... to here.
3864 * sysdeps/s390/s390-32/configure: Delete file.
3865 * sysdeps/s390/s390-64/configure: Delete file.
3866 * sysdeps/s390/configure: Regenerate.
3868 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3870 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3872 2014-04-11 Will Newton <will.newton@linaro.org>
3874 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3875 to zero if it is not defined elsewhere. (mtrim): Test
3876 the value of MALLOC_DEBUG with #if rather than #ifdef.
3878 2014-04-10 Torvald Riegel <triegel@redhat.com>
3880 * benchtests/pthread_once-inputs: New file.
3881 * benchtests/pthread_once-source.c: New file.
3882 * benchtests/README: Update documentation.
3884 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3885 H.J. Lu <hongjiu.lu@intel.com>
3887 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3888 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3889 * sysdeps/x86_64/configure: Regenerated.
3890 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3892 (REGISTER_SAVE_RAX): Likewise.
3893 (REGISTER_SAVE_RCX): Likewise.
3894 (REGISTER_SAVE_RDX): Likewise.
3895 (REGISTER_SAVE_RSI): Likewise.
3896 (REGISTER_SAVE_RDI): Likewise.
3897 (REGISTER_SAVE_R8): Likewise.
3898 (REGISTER_SAVE_R9): Likewise.
3899 (REGISTER_SAVE_BND0): Likewise.
3900 (REGISTER_SAVE_BND1): Likewise.
3901 (REGISTER_SAVE_BND2): Likewise.
3902 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3903 bound registers when calling _dl_fixup.
3905 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3907 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3908 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3910 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3911 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3912 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3913 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3914 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3915 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3916 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3918 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3921 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3922 pathconf(_PC_NAME_MAX).
3924 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3926 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3928 (__PTHREAD_SPINS): Move definition to ...
3929 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3930 (__PTHREAD_SPINS): ... here.
3931 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3932 (__PTHREAD_SPIN): Likewise.
3933 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3934 (__PTHREAD_SPIN): Likewise.
3935 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3936 (__PTHREAD_SPIN): Likewise.
3937 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3938 (__PTHREAD_SPIN): Likewise.
3939 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3940 (__PTHREAD_SPIN): Likewise.
3941 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3942 (__PTHREAD_SPIN): Likewise.
3943 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3944 (__PTHREAD_SPIN): Likewise.
3945 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3946 (__PTHREAD_SPIN): Likewise.
3947 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3948 (__PTHREAD_SPIN): Likewise.
3949 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3950 (__PTHREAD_SPIN): Likewise.
3951 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3952 (__PTHREAD_SPIN): Likewise.
3953 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3954 (__PTHREAD_SPIN): Likewise.
3956 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3957 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3958 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3959 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3961 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3962 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3963 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3964 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3966 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3967 strlen symbol for non multi-arch builds.
3968 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3969 missing hidden_def and weak_alias.
3971 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3973 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3975 2014-04-07 Will Newton <will.newton@linaro.org>
3977 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3978 and contents. [!_LIBC] Remove #ifndef and contents.
3979 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3980 * string/memccpy.c (__memccpy): Use ANSI prototype.
3981 * string/memfrob.c (memfrob): Likewise.
3982 * string/strcoll.c (STRCOLL): Likewise.
3983 * string/strlen.c (strlen): Likewise.
3984 * string/strtok.c (STRTOK): Likewise.
3985 * string/strcat.c: Remove unused #include of memcopy.h.
3986 (strcat): Use ANSI prototype.
3987 * string/strchr.c: Remove unused #include of memcopy.h.
3988 (strchr): Use ANSI prototype.
3989 * string/strcmp.c: Remove unused #include of memcopy.h.
3990 (strcmp): Use ANSI prototype.
3991 * string/strcpy.c: Remove unused #include of memcopy.h.
3992 (strcpy): Use ANSI prototype.
3994 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3996 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3997 * config.make.in (config-extra-cppflags): Set it from
3998 libc_extra_cppflags.
3999 * configure.ac (libc_extra_cflags): Make it accumulate over
4000 configure fragments.
4001 (libc_extra_cppflags): New flag.
4002 * configure. Regenerate.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4004 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4005 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4009 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4010 result for FE_DOWNWARD rounding mode.
4011 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4015 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4017 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4018 in function argument name.
4020 2014-04-03 David Svoboda <svoboda@cert.org>
4023 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4026 2014-04-03 Roland McGrath <roland@hack.frob.com>
4028 * elf/dl-unmap-segments.h: New file.
4029 * sysdeps/generic/ldsodefs.h
4030 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4031 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4032 * elf/dl-fptr.c: Likewise.
4033 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4034 * sysdeps/aarch64/tlsdesc.c: Likewise.
4035 * sysdeps/arm/tlsdesc.c: Likewise.
4036 * sysdeps/i386/tlsdesc.c: Likewise.
4037 * sysdeps/tile/dl-runtime.c: Likewise.
4038 * sysdeps/x86_64/tlsdesc.c: Likewise.
4039 * elf/dl-load.h: New file.
4040 * elf/dl-load.c: Include it.
4041 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4042 Macros moved to dl-load.h.
4043 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4044 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4045 Use _dl_unmap_segments in place of __munmap.
4046 Break out segment-mapping loop into ...
4047 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4049 2014-04-03 Will Newton <will.newton@linaro.org>
4051 * elf/dl-lookup.c (do_lookup_x): Remove comment
4052 referring to nested function and move variable
4053 declarations down to before first use.
4055 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4059 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4061 * math/s_catanf.c (__catanf): Likewise.
4062 * math/s_catanh.c (__catanh): Likewise.
4063 * math/s_catanhf.c (__catanhf): Likewise.
4064 * math/s_catanhl.c (__catanhl): Likewise.
4065 * math/s_catanl.c (__catanl): Likewise.
4066 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4067 by positive zero when computing -Inf result.
4068 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4069 (catanh_test): Likewise.
4070 * sysdeps/i386/fpu/libm-test-ulps: Update.
4071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4074 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4075 instead of using underflowing value in computing result.
4076 * math/s_clog10.c (__clog10): Likewise.
4077 * math/s_clog10f.c (__clog10f): Likewise.
4078 * math/s_clog10l.c (__clog10l): Likewise.
4079 * math/s_clogf.c (__clogf): Likewise.
4080 * math/s_clogl.c (__clogl): Likewise.
4081 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4082 (clog10_test): Likewise.
4083 * sysdeps/i386/fpu/libm-test-ulps: Update.
4084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4086 2014-04-02 Alan Modra <amodra@gmail.com>
4089 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4090 output when value is near a power of two. Use int64_t for lx and
4091 remove casts. Use decimal rather than hex exponent constants.
4092 Don't use long double multiplication when double will suffice.
4093 * math/libm-test.inc (nextafter_test_data): Add tests.
4094 * NEWS: Add 16739 and 16786 to bug list.
4096 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4098 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4100 2014-04-01 Will Newton <will.newton@linaro.org>
4102 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4103 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4105 2014-04-01 Florian Weimer <fweimer@redhat.com>
4108 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4109 * nptl/tst-setuid2.c: New file.
4110 * nptl/Makefile (xtests): Add tst-setuid2.
4112 2014-04-01 Alan Modra <amodra@gmail.com>
4115 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4117 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4121 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4122 set errno as appropriate.
4123 * math/w_scalbf.c (__scalbf): Likewise.
4124 * math/w_scalbl.c (__scalbl): Likewise.
4125 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4126 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4127 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4131 * math/w_atan2.c: Include <errno.h>.
4132 (__atan2): Set errno for result underflowing to zero.
4133 * math/w_atan2f.c: Include <errno.h>.
4134 (__atan2f): Set errno for result underflowing to zero.
4135 * math/w_atan2l.c: Include <errno.h>.
4136 (__atan2l): Set errno for result underflowing to zero.
4137 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4139 * math/auto-libm-test-out: Regenerated.
4141 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4143 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4144 Encode instruction correctly in little endian.
4145 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4147 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4149 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4151 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4154 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4157 * sysdeps/unix/sysv/linux/kernel-features.h
4158 [__sparc__ && !__arch64__ && !__sparc_v9__]
4159 (__ASSUME_SET_ROBUST_LIST): Do not define.
4160 [__sparc__ && !__arch64__ && !__sparc_v9__]
4161 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4162 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4164 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4165 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4166 (__ASSUME_REQUEUE_PI): Likewise.
4167 (__ASSUME_SET_ROBUST_LIST): Likewise.
4168 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4169 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4171 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4172 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4174 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4176 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4178 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4179 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4181 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4182 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4186 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4187 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4188 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4190 2014-03-31 Will Newton <will.newton@linaro.org>
4192 * benchtests/Makefile (bench): Add ffs and ffsll to list
4194 * benchtests/ffs-inputs: New file.
4195 * benchtests/ffsll-inputs: Likewise.
4197 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4200 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4201 too large before casting to int.
4202 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4203 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4204 * math/libm-test.inc (scalb_test_data): Add more tests.
4206 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4208 * benchtests/Makefile (DETAILED_OPT): New make option.
4209 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4211 * benchtests/bench-skeleton.c: Include stdbool.h.
4212 (main): Store and print timings per input.
4213 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4214 member to each argument value.
4215 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4216 (_print_arg_data): Initialize per-input timing to 0.
4218 * benchtests/Makefile (timing-type): New binary.
4219 (bench-clean): Also remove bench-timing-type.
4220 (bench): New target for timing-type.
4221 (bench-func): Print output in JSON format.
4222 * benchtests/bench-skeleton.c (main): Print output in JSON
4224 * benchtests/bench-timing-type.c: New file.
4225 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4226 (TIMING_PRINT_STATS): Remove.
4227 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4230 * benchtests/bench-modf.c: Remove.
4231 * benchtests/modf-inputs: New inputs file.
4233 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4236 * math/s_clog10.c (M_PI_LOG10E): New macro.
4237 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4238 imaginary parts are 0.
4239 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4240 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4241 imaginary parts are 0.
4242 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4243 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4244 imaginary parts are 0.
4245 * math/libm-test.inc (clog10_test_data): Update expected results
4246 for when real and imaginary parts are 0.
4248 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4250 * elf/dl-load.c: Finish conversion of __builtin_expect into
4253 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4256 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4257 1+x for argument with exponent below -67.
4258 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4260 * math/auto-libm-test-in: Add more tests of exp.
4261 * math/auto-libm-test-out: Regenerated.
4263 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4266 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4267 (nscd_getnetgrent): Use it.
4270 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4273 2014-03-27 Andi Kleen <ak@linux.intel.com>
4275 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4276 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4277 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4278 (lll_robust_unlock): Remove out of line section. Use cfi
4280 (LLL_STUB_UNWIND_INFO*): Remove.
4281 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4282 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4283 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4284 (lll_robust_unlock): Remove out of line section. Use cfi
4286 (LLL_STUB_UNWIND_INFO*): Remove.
4288 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4291 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4294 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4296 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4298 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4301 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4303 * math/test-fenv-preserve.c: New file.
4304 * math/Makefile (tests): Add test-fenv-preserve.
4306 2014-03-26 Will Newton <will.newton@linaro.org>
4308 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4310 2014-03-25 Roland McGrath <roland@hack.frob.com>
4312 * scripts/versionlist.awk: Partition the version sets and emit all
4313 GLIBC_* (sorted) before all others (sorted).
4315 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4317 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4318 GLIBC_2.2.5 version.
4320 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4322 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4325 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4330 2014-03-25 Andreas Schwab <schwab@suse.de>
4332 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4333 label to be used after in6ailist is initialized.
4335 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4337 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4338 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4340 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4344 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4346 (fp_formats): Update initializers.
4347 (init_fp_formats): Initialize new field.
4348 (output_for_one_input_case): Allow underflow for results up to
4350 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4351 * math/auto-libm-test-in: Don't mark some underflows from asin and
4353 * math/auto-libm-test-out: Regenerated.
4354 * sysdeps/i386/fpu/libm-test-ulps: Update.
4355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4357 2014-03-25 Andreas Schwab <schwab@suse.de>
4359 * libio/Makefile (tst-ftell-partial-wide-ENV)
4360 (tst-ftell-active-handler-ENV): Define.
4362 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4364 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4366 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4368 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4370 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4372 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4373 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4374 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4376 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4379 * elf/dl-load.c (open_verify): Add mode parameter.
4380 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4381 (open_path): Change from boolean 'secure' to complete flag 'mode'
4382 (_dl_map_object): Adjust.
4383 * elf/Makefile (tests): Add tst-dlopen-aout.
4384 * elf/tst-dlopen-aout.c: New test.
4386 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4389 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4390 (struct stat): Rename member pad0 to __glibc_reserved0.
4393 * sysdeps/s390/s390-32/bits/wordsize.h
4394 (__WORDSIZE32_SIZE_ULONG): New define.
4395 * sysdeps/s390/s390-64/bits/wordsize.h
4396 (__WORDSIZE32_SIZE_ULONG): Likewise.
4397 * sysdeps/generic/stdint.h (SIZE_MAX):
4398 Define as UL if __WORDSIZE32_SIZE_ULONG.
4401 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4402 (__glibc_reserved0): New variable.
4403 (sa_flags): Change type to int.
4405 * posix/Makefile (before-compile): Use += before-compile instead
4408 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4409 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4411 2014-03-20 Andreas Schwab <schwab@suse.de>
4414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4415 non-matching result from nscd.
4417 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4419 * scripts/bench.py: Moved to ...
4420 * benchtests/scripts/bench.py: ... here.
4421 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4423 2014-03-24 Andreas Schwab <schwab@suse.de>
4426 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4427 alloca_account and account alloca use for struct in6ailist.
4429 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4432 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4433 rounding mode to recompute results that overflow to infinity or
4435 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4437 * math/auto-libm-test-out: Regenerated.
4438 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4439 (ccosh_test): Likewise.
4440 (csin_test_data): Use plus_oflow.
4441 (csin_test): Use ALL_RM_TEST.
4442 (csinh_test_data): Use plus_oflow.
4443 (csinh_test): Use ALL_RM_TEST.
4444 * sysdeps/i386/fpu/libm-test-ulps: Update.
4445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4447 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4449 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4450 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4451 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4454 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4456 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4457 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4458 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4459 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4461 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4462 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4464 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4465 * sysdeps/i386/fpu/libm-test-ulps: Update.
4466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4468 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4470 * scripts/bench.pl: Remove file.
4471 * scripts/bench.py: New benchmark script.
4472 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4473 * benchtests/README: Mention python dependency.
4474 * scripts/pylintrc: New file.
4475 * scripts/pylint: New file.
4477 * bits/mathdef.h: Use #ifdef instead of #if.
4478 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4479 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4480 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4481 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4482 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4483 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4485 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4486 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4488 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4490 and strpbrk-ppc64 objects.
4491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4492 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4493 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4494 multiarch strpbrk for POWER7.
4495 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4496 multiarch strpbrk for PPC64.
4497 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4499 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4502 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4504 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4505 (atan_test): Likewise.
4506 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4507 (atanh_test): Use ALL_RM_TEST.
4508 (atan2_test_data): Likewise.
4509 (cabs_test): Likewise.
4510 (cacosh_test): Likewise.
4511 (carg_test): Likewise.
4512 (casin_test): Likewise.
4513 (casinh_test): Likewise.
4514 (cbrt_test): Likewise.
4515 (csqrt_test): Likewise.
4516 (erf_test): Likewise.
4517 (erfc_test): Likewise.
4518 (pow10_test): Likewise.
4519 (exp2_test): Likewise.
4520 (hypot_test): Likewise.
4521 (j0_test): Likewise.
4522 (j1_test): Likewise.
4523 (lgamma_test): Likewise.
4524 (gamma_test): Likewise.
4525 (sincos_test): Likewise.
4526 (tanh_test): Likewise.
4527 (y0_test): Likewise.
4528 (y1_test): Likewise.
4529 * sysdeps/i386/fpu/libm-test-ulps: Update.
4530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4532 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4534 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4536 and strcspn-ppc64 objects.
4537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4538 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4539 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4540 multiarch strcspn for POWER7.
4541 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4542 multiarch strcspn for PPC64.
4543 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4545 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4548 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4550 * math/gen-libm-test.pl (generate_testfile): Expect only function
4551 name as argument to AUTO_TESTS_* and pass results for all rounding
4552 modes to parse_args.
4553 (parse_auto_input): Separate inputs of automatic tests from
4554 outputs before storing in %auto_tests.
4555 * math/libm-test.inc (acos_test_data): Update call to
4557 (acos_test): Use ALL_RM_TEST.
4558 (acos_tonearest_test_data): Remove.
4559 (acos_test_tonearest): Likewise.
4560 (acos_towardzero_test_data): Likewise.
4561 (acos_test_towardzero): Likewise.
4562 (acos_downward_test_data): Likewise.
4563 (acos_test_downward): Likewise.
4564 (acos_upward_test_data): Likewise.
4565 (acos_test_upward): Likewise.
4566 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4567 (asin_test_data): Likewise.
4568 (asin_test): Use ALL_RM_TEST.
4569 (asin_tonearest_test_data): Remove.
4570 (asin_test_tonearest): Likewise.
4571 (asin_towardzero_test_data): Likewise.
4572 (asin_test_towardzero): Likewise.
4573 (asin_downward_test_data): Likewise.
4574 (asin_test_downward): Likewise.
4575 (asin_upward_test_data): Likewise.
4576 (asin_test_upward): Likewise.
4577 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4578 (atan_test_data): Likewise.
4579 (atanh_test_data): Likewise.
4580 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4581 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4582 (carg_test_data): Likewise.
4583 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4584 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4585 (ccosh_test_data): Likewise.
4586 (cexp_test_data): Likewise.
4587 (clog_test_data): Likewise.
4588 (clog10_test_data): Likewise.
4589 (cos_test_data): Update call to AUTO_TESTS_f_f.
4590 (cos_test): Use ALL_RM_TEST.
4591 (cos_tonearest_test_data): Remove.
4592 (cos_test_tonearest): Likewise.
4593 (cos_towardzero_test_data): Likewise.
4594 (cos_test_towardzero): Likewise.
4595 (cos_downward_test_data): Likewise.
4596 (cos_test_downward): Likewise.
4597 (cos_upward_test_data): Likewise.
4598 (cos_test_upward): Likewise.
4599 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4600 (cosh_test): Use ALL_RM_TEST.
4601 (cosh_tonearest_test_data): Remove.
4602 (cosh_test_tonearest): Likewise.
4603 (cosh_towardzero_test_data): Likewise.
4604 (cosh_test_towardzero): Likewise.
4605 (cosh_downward_test_data): Likewise.
4606 (cosh_test_downward): Likewise.
4607 (cosh_upward_test_data): Likewise.
4608 (cosh_test_upward): Likewise.
4609 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4610 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4611 (ctan_test_data): Likewise.
4612 (ctan_test): Use ALL_RM_TEST.
4613 (ctan_tonearest_test_data): Remove.
4614 (ctan_test_tonearest): Likewise.
4615 (ctan_towardzero_test_data): Likewise.
4616 (ctan_test_towardzero): Likewise.
4617 (ctan_downward_test_data): Likewise.
4618 (ctan_test_downward): Likewise.
4619 (ctan_upward_test_data): Likewise.
4620 (ctan_test_upward): Likewise.
4621 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4622 (ctanh_test): Use ALL_RM_TEST.
4623 (ctanh_tonearest_test_data): Remove.
4624 (ctanh_test_tonearest): Likewise.
4625 (ctanh_towardzero_test_data): Likewise.
4626 (ctanh_test_towardzero): Likewise.
4627 (ctanh_downward_test_data): Likewise.
4628 (ctanh_test_downward): Likewise.
4629 (ctanh_upward_test_data): Likewise.
4630 (ctanh_test_upward): Likewise.
4631 (erf_test_data): Update call to AUTO_TESTS_f_f.
4632 (erfc_test_data): Likewise.
4633 (exp_test_data): Likewise.
4634 (exp_test): Use ALL_RM_TEST.
4635 (exp_tonearest_test_data): Remove.
4636 (exp_test_tonearest): Likewise.
4637 (exp_towardzero_test_data): Likewise.
4638 (exp_test_towardzero): Likewise.
4639 (exp_downward_test_data): Likewise.
4640 (exp_test_downward): Likewise.
4641 (exp_upward_test_data): Likewise.
4642 (exp_test_upward): Likewise.
4643 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4644 (exp10_test): Use ALL_RM_TEST.
4645 (exp10_tonearest_test_data): Remove.
4646 (exp10_test_tonearest): Likewise.
4647 (exp10_towardzero_test_data): Likewise.
4648 (exp10_test_towardzero): Likewise.
4649 (exp10_downward_test_data): Likewise.
4650 (exp10_test_downward): Likewise.
4651 (exp10_upward_test_data): Likewise.
4652 (exp10_test_upward): Likewise.
4653 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4654 (expm1_test_data): Likewise.
4655 (expm1_test): Use ALL_RM_TEST.
4656 (expm1_tonearest_test_data): Remove.
4657 (expm1_test_tonearest): Likewise.
4658 (expm1_towardzero_test_data): Likewise.
4659 (expm1_test_towardzero): Likewise.
4660 (expm1_downward_test_data): Likewise.
4661 (expm1_test_downward): Likewise.
4662 (expm1_upward_test_data): Likewise.
4663 (expm1_test_upward): Likewise.
4664 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4665 (fma_test): Use ALL_RM_TEST.
4666 (fma_towardzero_test_data): Remove.
4667 (fma_test_towardzero): Likewise.
4668 (fma_downward_test_data): Likewise.
4669 (fma_test_downward): Likewise.
4670 (fma_upward_test_data): Likewise.
4671 (fma_test_upward): Likewise.
4672 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4673 (j0_test_data): Update call to AUTO_TESTS_f_f.
4674 (j1_test_data): Likewise.
4675 (jn_test_data): Update call to AUTO_TESTS_if_f.
4676 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4677 (log_test_data): Update call to AUTO_TESTS_f_f.
4678 (log10_test_data): Likewise.
4679 (log1p_test_data): Likewise.
4680 (log2_test_data): Likewise.
4681 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4682 (pow_tonearest_test_data): Likewise.
4683 (sin_test_data): Update call to AUTO_TESTS_f_f.
4684 (sin_test): Use ALL_RM_TEST.
4685 (sin_tonearest_test_data): Remove.
4686 (sin_test_tonearest): Likewise.
4687 (sin_towardzero_test_data): Likewise.
4688 (sin_test_towardzero): Likewise.
4689 (sin_downward_test_data): Likewise.
4690 (sin_test_downward): Likewise.
4691 (sin_upward_test_data): Likewise.
4692 (sin_test_upward): Likewise.
4693 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4694 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4695 (sinh_test): Use ALL_RM_TEST.
4696 (sinh_tonearest_test_data): Remove.
4697 (sinh_test_tonearest): Likewise.
4698 (sinh_towardzero_test_data): Likewise.
4699 (sinh_test_towardzero): Likewise.
4700 (sinh_downward_test_data): Likewise.
4701 (sinh_test_downward): Likewise.
4702 (sinh_upward_test_data): Likewise.
4703 (sinh_test_upward): Likewise.
4704 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4705 (sqrt_test): Use ALL_RM_TEST.
4706 (sqrt_tonearest_test_data): Remove.
4707 (sqrt_test_tonearest): Likewise.
4708 (sqrt_towardzero_test_data): Likewise.
4709 (sqrt_test_towardzero): Likewise.
4710 (sqrt_downward_test_data): Likewise.
4711 (sqrt_test_downward): Likewise.
4712 (sqrt_upward_test_data): Likewise.
4713 (sqrt_test_upward): Likewise.
4714 (tan_test_data): Update call to AUTO_TESTS_f_f.
4715 (tan_test): Use ALL_RM_TEST.
4716 (tan_tonearest_test_data): Remove.
4717 (tan_test_tonearest): Likewise.
4718 (tan_towardzero_test_data): Likewise.
4719 (tan_test_towardzero): Likewise.
4720 (tan_downward_test_data): Likewise.
4721 (tan_test_downward): Likewise.
4722 (tan_upward_test_data): Likewise.
4723 (tan_test_upward): Likewise.
4724 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4725 (tgamma_test_data): Likewise.
4726 (y0_test_data): Likewise.
4727 (y1_test_data): Likewise.
4728 (yn_test_data): Update call to AUTO_TESTS_if_f.
4729 (main): Do not call removed functions.
4731 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4733 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4734 (ldexp_test_data): Remove.
4735 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4737 (scalb_test): Use ALL_RM_TEST.
4739 2014-03-19 Andreas Schwab <schwab@suse.de>
4741 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4743 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4746 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4747 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4748 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4749 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4750 (__ASSUME_PREADV): Undefine.
4751 (__ASSUME_PWRITEV): Likewise.
4753 2014-03-18 Roland McGrath <roland@hack.frob.com>
4755 * bits/mman-linux.h: Add comment about non-Linux use.
4756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4757 bits/mman-linux.h resting place.
4759 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4760 * bits/mman-linux.h: ... here.
4762 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4764 * conform/conformtest.pl: Add standard definition when calling C
4765 preprocessor on data files.
4766 (checknamespace): Remove unused variable.
4768 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4770 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4771 minus_oflow, plus_uflow and minus_uflow in expected results.
4772 * math/libm-test.inc (scalbn_test_data): Add more tests of
4773 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4775 (scalbn_test): Use ALL_RM_TEST.
4776 (scalbln_test_data): Add more tests of negative arguments. Use
4777 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4778 (scalbln_test): Use ALL_RM_TEST.
4780 2014-03-18 Roland McGrath <roland@hack.frob.com>
4782 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4784 2014-03-18 Will Newton <will.newton@linaro.org>
4786 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4789 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4791 * Makerules [!subdir] (check-abi): Exit with error status if a
4794 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4796 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4797 for rint. Include results for all rounding modes.
4798 (nearbyint_test): Use ALL_RM_TEST.
4799 (rint_test_data): Include all tests used for nearbyint.
4801 2014-03-17 Will Newton <will.newton@linaro.org>
4803 * nptl/sysdeps/pthread/pthread.h: Revert previous
4806 * sysdeps/generic/ldsodefs.h: Revert previous
4809 * libio/genops.c: Revert previous change.
4810 * libio/libioP.h: Likewise.
4811 * stdio-common/vfprintf.c: Likewise.
4813 * sysdeps/generic/math_private.h: Revert previous
4816 * sysdeps/generic/math_private.h: Check whether
4817 HAVE_RM_CTX is defined with #ifdef rather
4820 * argp/argp-fmtstream.h: Check whether
4821 __STRICT_ANSI__ is defined with #ifdef rather
4823 * argp/argp.h: Likewise.
4825 * libio/genops.c: Check whether
4826 _IO_JUMPS_OFFSET is defined with #ifdef rather
4828 * libio/libioP.h: Likewise.
4829 * stdio-common/vfprintf.c: Likewise.
4831 * sysdeps/generic/ldsodefs.h: Check whether
4832 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4835 * nptl/sysdeps/pthread/pthread.h: Check
4836 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4839 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4841 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4843 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4847 * libio/fileops.c (_IO_file_open): Seek to end of file but
4848 don't cache the offset.
4849 (get_file_offset): Remove function.
4850 (do_ftell): Use cached offset when available.
4851 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4852 don't cache the offset.
4853 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4855 (do_one_test): Call it.
4856 (do_ftell_test): Fix up expected old offset for a+ mode.
4857 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4860 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4861 up test status with function return status.
4862 (do_write_test): Likewise.
4863 (do_append_test): Likewise.
4865 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4866 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4869 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4871 * math/gen-libm-test.pl (parse_args): Handle results specified for
4872 each rounding mode separately.
4873 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4874 tests and results from lrint_tonearest_test_data,
4875 lrint_towardzero_test_data, lrint_downward_test_data and
4876 lrint_upward_test_data.
4877 (lrint_test): Use ALL_RM_TEST.
4878 (lrint_tonearest_test_data): Remove.
4879 (lrint_test_tonearest): Likewise.
4880 (lrint_towardzero_test_data): Likewise.
4881 (lrint_test_towardzero): Likewise.
4882 (lrint_downward_test_data): Likewise.
4883 (lrint_test_downward): Likewise.
4884 (lrint_upward_test_data): Likewise.
4885 (lrint_test_upward): Likewise.
4886 (llrint_test_data): Merge in per-rounding-mode tests and results
4887 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4888 llrint_downward_test_data and llrint_upward_test_data.
4889 (llrint_test): Use ALL_RM_TEST.
4890 (llrint_tonearest_test_data): Remove.
4891 (llrint_test_tonearest): Likewise.
4892 (llrint_towardzero_test_data): Likewise.
4893 (llrint_test_towardzero): Likewise.
4894 (llrint_downward_test_data): Likewise.
4895 (llrint_test_downward): Likewise.
4896 (llrint_upward_test_data): Likewise.
4897 (llrint_test_upward): Likewise.
4898 (rint_test_data): Merge in per-rounding-mode tests and results
4899 from rint_tonearest_test_data, rint_towardzero_test_data,
4900 rint_downward_test_data and rint_upward_test_data. Add
4901 per-rounding-mode results for tests not in those arrays.
4902 (rint_test): Use ALL_RM_TEST.
4903 (rint_tonearest_test_data): Remove.
4904 (rint_test_tonearest): Likewise.
4905 (rint_towardzero_test_data): Likewise.
4906 (rint_test_towardzero): Likewise.
4907 (rint_downward_test_data): Likewise.
4908 (rint_test_downward): Likewise.
4909 (rint_upward_test_data): Likewise.
4910 (rint_test_upward): Likewise.
4911 (main): Don't call removed functions.
4913 2014-03-14 Roland McGrath <roland@hack.frob.com>
4915 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4916 "Compiled on ..." crapola. It is anti-useful.
4918 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4920 * scripts/evaluate-test.sh: Handle fourth argument to determine
4921 whether test run should stop on failure.
4922 * Makeconfig (stop-on-test-failure): New variable.
4923 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4924 $(stop-on-test-failure).
4925 * Makefile (tests): Give a summary of results from testing and
4926 exit with failure status if they include an ERROR or FAIL.
4928 * manual/install.texi (Configuring and compiling): Mention
4929 stop-on-test-failure=y.
4930 * INSTALL: Regenerated.
4932 2014-03-14 Roland McGrath <roland@hack.frob.com>
4934 * scripts/versionlist.awk: New file.
4935 * Makerules [$(build-shared) = yes]
4936 (postclean-generated): Add Versions.def, not Versions.def.v and
4938 ($(common-objpfx)Versions.def.v.i): Target removed.
4939 ($(common-objpfx)Versions.def): New target.
4940 ($(common-objpfx)Versions.all): Depend on that rather that
4941 $(common-objpfx)Versions.def.v.
4942 * Versions.def: File removed.
4944 * Makeconfig (+gccwarn): Add -Wundef.
4945 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4946 a dl-sysdep.h breaking its contract.
4947 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4948 * include/stackinfo.h: New file.
4949 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4950 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4951 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4952 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4953 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4954 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4955 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4956 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4957 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4958 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4959 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4960 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4961 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4962 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4963 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4965 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4968 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4970 * math/libm-test.inc (round_test_data): Add more tests.
4973 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4975 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4978 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4980 * math/libm-test.inc (ceil_test_data): Add more tests.
4982 * math/libm-test.inc (trunc_test_data): Add more tests related to
4985 2014-03-14 Roland McGrath <roland@hack.frob.com>
4987 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4988 with #if rather than #ifdef.
4989 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4991 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4993 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4994 first. Disable AVX-512 GCC support if assembler doesn't support
4996 * sysdeps/x86_64/configure: Regenerated.
4998 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5000 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5001 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5002 (__old_pthread_attr_setstack): Likewise.
5003 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5004 [!_STACK_GROWS_DOWN]: Likewise.
5006 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5008 * config.make.in (have-bash2): Delete.
5009 * configure.ac (libc_cv_have_bash2): Delete.
5010 * configure: Regenerate.
5011 * elf/Makefile (common-ldd-rewrite): Rename to ...
5012 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5013 (sh-ldd-rewrite): Delete.
5014 (bash-ldd-rewrite): Delete.
5015 (have-bash2): Delete checks.
5016 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5019 * config.make.in (have-ksh): Delete.
5021 * configure.ac (libc_cv_have_ksh): Delete.
5022 * configure: Regenerate.
5024 * elf/Makefile: Delete $(have-ksh) check.
5025 ($(objpfx)sotruss): Change KSH to BASH.
5026 * elf/sotruss.ksh: Rename to ...
5027 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5028 function style to match POSIX. Drop ksh vim mode setting.
5030 * manual/time.texi (Specifying the Time Zone with TZ): Change
5031 Tuesday to Thursday.
5033 * debug/tst-longjmp_chk2.c: Update header comment.
5034 (stackoverflow_handler): Add comment. Call assert on pass value.
5036 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5038 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5039 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5040 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5041 (La_x86_64_vector): Add zmm.
5042 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5043 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5044 ($(objpfx)tst-audit10): New target.
5045 ($(objpfx)tst-audit10.out): Likewise.
5046 (tst-audit10-ENV): New.
5047 (AVX512-CFLAGS): Likewise.
5048 (CFLAGS-tst-audit10.c): Likewise.
5049 (CFLAGS-tst-auditmod10a.c): Likewise.
5050 (CFLAGS-tst-auditmod10b.c): Likewise.
5051 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5052 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5053 * sysdeps/x86_64/configure: Regenerated.
5054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5055 AVX-512 zmm register support.
5056 (_dl_x86_64_save_sse): Likewise.
5057 (_dl_x86_64_restore_sse): Likewise.
5058 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5059 size vector registers.
5060 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5061 (ZMM_SIZE): Likewise.
5062 * sysdeps/x86_64/tst-audit10.c: New file.
5063 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5064 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5066 2014-03-13 Roland McGrath <roland@hack.frob.com>
5068 * configure.ac (HAVE_EHDR_START): New check.
5069 * configure: Regenerated.
5070 * config.h.in (HAVE_EHDR_START): New #undef.
5071 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5072 assuming the lowest-addressed segment maps the start of the file.
5074 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5076 * INSTALL: Regenerated.
5078 2014-03-13 Will Newton <will.newton@linaro.org>
5080 * manual/setjmp.texi (System V contexts): Improve
5081 clarity and grammar of documentation.
5083 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5086 * elf/Makefile (tests): Add tst-pie2.
5087 (tests-pie): Add tst-pie2.
5088 * elf/tst-pie2.c: New file.
5089 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5091 * elf/rtld.c (map_doit): Load executable as lt_executable.
5092 (dl_main): Likewise.
5094 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5097 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5098 (__ASSUME_PSELECT): Undefine.
5100 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5103 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5104 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5106 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5107 selector for static builds.
5109 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5112 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5115 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5117 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5118 IFUNC selector for static builds.
5120 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5122 * sysdeps/mips/math_private.h [__mips_hard_float]
5123 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5124 libc_feresetround_mips_ctx.
5125 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5126 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5127 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5130 * math/s_nextafter.c (__nextafter): Do not return value from
5131 overflowing computation.
5132 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5133 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5134 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5136 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5138 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5139 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5141 2014-03-11 Roland McGrath <roland@hack.frob.com>
5143 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5144 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5145 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5146 the new mov targetting sp.
5148 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5151 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5152 Define it for static builds as well.
5153 (NO_BZERO_IMPL): Likewise.
5155 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5157 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5158 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5159 multiarch strspn for PPC64.
5160 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5161 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5163 (__libc_ifunc_impl_list): Likewise.
5164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5165 multiarch optimizations
5166 * string/strspn.c (strspn): Using macro to redefine symbol name.
5168 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5169 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5171 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5172 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5173 multiarch strncat for PPC64.
5174 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5175 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5177 (__libc_ifunc_impl_list): Likewise.
5178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5179 multiarch optimizations
5181 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5184 * nscd/nscd.service: Make service type forking.
5186 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5188 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5189 sign in non default rounding modes.
5190 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5192 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5194 * math/libm-test.inc (ALL_RM_TEST): New macro.
5195 (ceil_test): Use ALL_RM_TEST.
5196 (cimag_test): Likewise.
5197 (conj_test): Likewise.
5198 (copysign_test): Likewise.
5199 (cproj_test): Likewise.
5200 (creal_test): Likewise.
5201 (fabs_test): Likewise.
5202 (floor_test): Likewise.
5203 (fmax_test): Likewise.
5204 (fmin_test): Likewise.
5205 (fmod_test): Likewise.
5206 (fpclassify_test): Likewise.
5207 (frexp_test): Likewise.
5208 (ilogb_test): Likewise.
5209 (isfinite_test): Likewise.
5210 (finite_test): Likewise.
5211 (isgreater_test): Likewise.
5212 (isgreaterequal_test): Likewise.
5213 (isinf_test): Likewise.
5214 (isless_test): Likewise.
5215 (islessequal_test): Likewise.
5216 (islessgreater_test): Likewise.
5217 (isnan_test): Likewise.
5218 (isnormal_test): Likewise.
5219 (issignaling_test): Likewise.
5220 (isunordered_test): Likewise.
5221 (logb_test): Likewise.
5222 (logb_downward_test_data): Remove.
5223 (logb_test_downward): Likewise.
5224 (lround_test): Use ALL_RM_TEST.
5225 (llround_test): Likewise.
5226 (modf_test): Likewise.
5227 (nexttoward_test): Likewise.
5228 (remainder_test): Likewise.
5229 (drem_test): Likewise.
5230 (remainder_tonearest_test_data): Likewise.
5231 (remainder_test_tonearest): Likewise.
5232 (drem_test_tonearest): Likewise.
5233 (remainder_towardzero_test_data): Likewise.
5234 (remainder_test_towardzero): Likewise.
5235 (drem_test_towardzero): Likewise.
5236 (remainder_downward_test_data): Likewise.
5237 (remainder_test_downward): Likewise.
5238 (drem_test_downward): Likewise.
5239 (remainder_upward_test_data): Likewise.
5240 (remainder_test_upward): Likewise.
5241 (drem_test_upward): Likewise.
5242 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5243 (round_test): Use ALL_RM_TEST.
5244 (signbit_test): Likewise.
5245 (trunc_test): Likewise.
5246 (significand_test): Likewise.
5247 (main): Don't call removed functions.
5249 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5252 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5254 (ILL_ILLOPN): Likewise.
5255 (ILL_ILLADR): Likewise.
5256 (ILL_ILLTRP): Likewise.
5257 (ILL_PRVOPC): Likewise.
5258 (ILL_PRVREG): Likewise.
5259 (ILL_COPROC): Likewise.
5260 (ILL_BADSTK): Likewise.
5261 (FPE_INTDIV): Likewise.
5262 (FPE_INTOVF): Likewise.
5263 (FPE_FLTDIV): Likewise.
5264 (FPE_FLTOVF): Likewise.
5265 (FPE_FLTUND): Likewise.
5266 (FPE_FLTRES): Likewise.
5267 (FPE_FLTINV): Likewise.
5268 (FPE_FLTSUB): Likewise.
5269 (SEGV_MAPERR): Likewise.
5270 (SEGV_ACCERR): Likewise.
5271 (BUS_ADRALN): Likewise.
5272 (BUS_ADRERR): Likewise.
5273 (BUS_OBJERR): Likewise.
5274 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5275 (TRAP_TRACE): Likewise.
5276 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5278 (CLD_KILLED): Likewise.
5279 (CLD_DUMPED): Likewise.
5280 (CLD_TRAPPED): Likewise.
5281 (CLD_STOPPED): Likewise.
5282 (CLD_CONTINUED): Likewise.
5283 (POLL_IN): Likewise.
5284 (POLL_OUT): Likewise.
5285 (POLL_MSG): Likewise.
5286 (POLL_ERR): Likewise.
5287 (POLL_PRI): Likewise.
5288 (POLL_HUP): Likewise.
5289 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5291 (ILL_ILLOPN): Likewise.
5292 (ILL_ILLADR): Likewise.
5293 (ILL_ILLTRP): Likewise.
5294 (ILL_PRVOPC): Likewise.
5295 (ILL_PRVREG): Likewise.
5296 (ILL_COPROC): Likewise.
5297 (ILL_BADSTK): Likewise.
5298 (FPE_INTDIV): Likewise.
5299 (FPE_INTOVF): Likewise.
5300 (FPE_FLTDIV): Likewise.
5301 (FPE_FLTOVF): Likewise.
5302 (FPE_FLTUND): Likewise.
5303 (FPE_FLTRES): Likewise.
5304 (FPE_FLTINV): Likewise.
5305 (FPE_FLTSUB): Likewise.
5306 (SEGV_MAPERR): Likewise.
5307 (SEGV_ACCERR): Likewise.
5308 (BUS_ADRALN): Likewise.
5309 (BUS_ADRERR): Likewise.
5310 (BUS_OBJERR): Likewise.
5311 (BUS_MCEERR_AR): Likewise.
5312 (BUS_MCEERR_AO): Likewise.
5313 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5314 (TRAP_TRACE): Likewise.
5315 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5317 (CLD_KILLED): Likewise.
5318 (CLD_DUMPED): Likewise.
5319 (CLD_TRAPPED): Likewise.
5320 (CLD_STOPPED): Likewise.
5321 (CLD_CONTINUED): Likewise.
5322 (POLL_IN): Likewise.
5323 (POLL_OUT): Likewise.
5324 (POLL_MSG): Likewise.
5325 (POLL_ERR): Likewise.
5326 (POLL_PRI): Likewise.
5327 (POLL_HUP): Likewise.
5328 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5329 (ILL_ILLOPN): Likewise.
5330 (ILL_ILLADR): Likewise.
5331 (ILL_ILLTRP): Likewise.
5332 (ILL_PRVOPC): Likewise.
5333 (ILL_PRVREG): Likewise.
5334 (ILL_COPROC): Likewise.
5335 (ILL_BADSTK): Likewise.
5336 (FPE_INTDIV): Likewise.
5337 (FPE_INTOVF): Likewise.
5338 (FPE_FLTDIV): Likewise.
5339 (FPE_FLTOVF): Likewise.
5340 (FPE_FLTUND): Likewise.
5341 (FPE_FLTRES): Likewise.
5342 (FPE_FLTINV): Likewise.
5343 (FPE_FLTSUB): Likewise.
5344 (SEGV_MAPERR): Likewise.
5345 (SEGV_ACCERR): Likewise.
5346 (BUS_ADRALN): Likewise.
5347 (BUS_ADRERR): Likewise.
5348 (BUS_OBJERR): Likewise.
5349 (BUS_MCEERR_AR): Likewise.
5350 (BUS_MCEERR_AO): Likewise.
5351 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5352 (TRAP_TRACE): Likewise.
5353 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5355 (CLD_KILLED): Likewise.
5356 (CLD_DUMPED): Likewise.
5357 (CLD_TRAPPED): Likewise.
5358 (CLD_STOPPED): Likewise.
5359 (CLD_CONTINUED): Likewise.
5360 (POLL_IN): Likewise.
5361 (POLL_OUT): Likewise.
5362 (POLL_MSG): Likewise.
5363 (POLL_ERR): Likewise.
5364 (POLL_PRI): Likewise.
5365 (POLL_HUP): Likewise.
5366 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5368 (ILL_ILLOPN): Likewise.
5369 (ILL_ILLADR): Likewise.
5370 (ILL_ILLTRP): Likewise.
5371 (ILL_PRVOPC): Likewise.
5372 (ILL_PRVREG): Likewise.
5373 (ILL_COPROC): Likewise.
5374 (ILL_BADSTK): Likewise.
5375 (ILL_BADIADDR): Likewise.
5376 (ILL_BREAK): Likewise.
5377 (FPE_INTDIV): Likewise.
5378 (FPE_INTOVF): Likewise.
5379 (FPE_FLTDIV): Likewise.
5380 (FPE_FLTOVF): Likewise.
5381 (FPE_FLTUND): Likewise.
5382 (FPE_FLTRES): Likewise.
5383 (FPE_FLTINV): Likewise.
5384 (FPE_FLTSUB): Likewise.
5385 (FPE_DECOVF): Likewise.
5386 (FPE_DECDIV): Likewise.
5387 (FPE_DECERR): Likewise.
5388 (FPE_INVASC): Likewise.
5389 (FPE_INVDEC): Likewise.
5390 (SEGV_MAPERR): Likewise.
5391 (SEGV_ACCERR): Likewise.
5392 (SEGV_PSTKOVF): Likewise.
5393 (BUS_ADRALN): Likewise.
5394 (BUS_ADRERR): Likewise.
5395 (BUS_OBJERR): Likewise.
5396 (BUS_MCEERR_AR): Likewise.
5397 (BUS_MCEERR_AO): Likewise.
5398 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5399 (TRAP_TRACE): Likewise.
5400 (TRAP_BRANCH): Likewise.
5401 (TRAP_HWBKPT): Likewise.
5402 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5404 (CLD_KILLED): Likewise.
5405 (CLD_DUMPED): Likewise.
5406 (CLD_TRAPPED): Likewise.
5407 (CLD_STOPPED): Likewise.
5408 (CLD_CONTINUED): Likewise.
5409 (POLL_IN): Likewise.
5410 (POLL_OUT): Likewise.
5411 (POLL_MSG): Likewise.
5412 (POLL_ERR): Likewise.
5413 (POLL_PRI): Likewise.
5414 (POLL_HUP): Likewise.
5415 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5416 (ILL_ILLOPN): Likewise.
5417 (ILL_ILLADR): Likewise.
5418 (ILL_ILLTRP): Likewise.
5419 (ILL_PRVOPC): Likewise.
5420 (ILL_PRVREG): Likewise.
5421 (ILL_COPROC): Likewise.
5422 (ILL_BADSTK): Likewise.
5423 (FPE_INTDIV): Likewise.
5424 (FPE_INTOVF): Likewise.
5425 (FPE_FLTDIV): Likewise.
5426 (FPE_FLTOVF): Likewise.
5427 (FPE_FLTUND): Likewise.
5428 (FPE_FLTRES): Likewise.
5429 (FPE_FLTINV): Likewise.
5430 (FPE_FLTSUB): Likewise.
5431 (SEGV_MAPERR): Likewise.
5432 (SEGV_ACCERR): Likewise.
5433 (BUS_ADRALN): Likewise.
5434 (BUS_ADRERR): Likewise.
5435 (BUS_OBJERR): Likewise.
5436 (BUS_MCEERR_AR): Likewise.
5437 (BUS_MCEERR_AO): Likewise.
5438 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5439 (TRAP_TRACE): Likewise.
5440 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5442 (CLD_KILLED): Likewise.
5443 (CLD_DUMPED): Likewise.
5444 (CLD_TRAPPED): Likewise.
5445 (CLD_STOPPED): Likewise.
5446 (CLD_CONTINUED): Likewise.
5447 (POLL_IN): Likewise.
5448 (POLL_OUT): Likewise.
5449 (POLL_MSG): Likewise.
5450 (POLL_ERR): Likewise.
5451 (POLL_PRI): Likewise.
5452 (POLL_HUP): Likewise.
5453 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5454 (ILL_ILLOPN): Likewise.
5455 (ILL_ILLADR): Likewise.
5456 (ILL_ILLTRP): Likewise.
5457 (ILL_PRVOPC): Likewise.
5458 (ILL_PRVREG): Likewise.
5459 (ILL_COPROC): Likewise.
5460 (ILL_BADSTK): Likewise.
5461 (FPE_INTDIV): Likewise.
5462 (FPE_INTOVF): Likewise.
5463 (FPE_FLTDIV): Likewise.
5464 (FPE_FLTOVF): Likewise.
5465 (FPE_FLTUND): Likewise.
5466 (FPE_FLTRES): Likewise.
5467 (FPE_FLTINV): Likewise.
5468 (FPE_FLTSUB): Likewise.
5469 (SEGV_MAPERR): Likewise.
5470 (SEGV_ACCERR): Likewise.
5471 (BUS_ADRALN): Likewise.
5472 (BUS_ADRERR): Likewise.
5473 (BUS_OBJERR): Likewise.
5474 (BUS_MCEERR_AR): Likewise.
5475 (BUS_MCEERR_AO): Likewise.
5476 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5477 (TRAP_TRACE): Likewise.
5478 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5480 (CLD_KILLED): Likewise.
5481 (CLD_DUMPED): Likewise.
5482 (CLD_TRAPPED): Likewise.
5483 (CLD_STOPPED): Likewise.
5484 (CLD_CONTINUED): Likewise.
5485 (POLL_IN): Likewise.
5486 (POLL_OUT): Likewise.
5487 (POLL_MSG): Likewise.
5488 (POLL_ERR): Likewise.
5489 (POLL_PRI): Likewise.
5490 (POLL_HUP): Likewise.
5491 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5492 (ILL_ILLOPN): Likewise.
5493 (ILL_ILLADR): Likewise.
5494 (ILL_ILLTRP): Likewise.
5495 (ILL_PRVOPC): Likewise.
5496 (ILL_PRVREG): Likewise.
5497 (ILL_COPROC): Likewise.
5498 (ILL_BADSTK): Likewise.
5499 (FPE_INTDIV): Likewise.
5500 (FPE_INTOVF): Likewise.
5501 (FPE_FLTDIV): Likewise.
5502 (FPE_FLTOVF): Likewise.
5503 (FPE_FLTUND): Likewise.
5504 (FPE_FLTRES): Likewise.
5505 (FPE_FLTINV): Likewise.
5506 (FPE_FLTSUB): Likewise.
5507 (SEGV_MAPERR): Likewise.
5508 (SEGV_ACCERR): Likewise.
5509 (BUS_ADRALN): Likewise.
5510 (BUS_ADRERR): Likewise.
5511 (BUS_OBJERR): Likewise.
5512 (BUS_MCEERR_AR): Likewise.
5513 (BUS_MCEERR_AO): Likewise.
5514 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5515 (TRAP_TRACE): Likewise.
5516 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5518 (CLD_KILLED): Likewise.
5519 (CLD_DUMPED): Likewise.
5520 (CLD_TRAPPED): Likewise.
5521 (CLD_STOPPED): Likewise.
5522 (CLD_CONTINUED): Likewise.
5523 (POLL_IN): Likewise.
5524 (POLL_OUT): Likewise.
5525 (POLL_MSG): Likewise.
5526 (POLL_ERR): Likewise.
5527 (POLL_PRI): Likewise.
5528 (POLL_HUP): Likewise.
5529 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5530 (ILL_ILLOPN): Likewise.
5531 (ILL_ILLADR): Likewise.
5532 (ILL_ILLTRP): Likewise.
5533 (ILL_PRVOPC): Likewise.
5534 (ILL_PRVREG): Likewise.
5535 (ILL_COPROC): Likewise.
5536 (ILL_BADSTK): Likewise.
5537 (ILL_DBLFLT): Likewise.
5538 (ILL_HARDWALL): Likewise.
5539 (FPE_INTDIV): Likewise.
5540 (FPE_INTOVF): Likewise.
5541 (FPE_FLTDIV): Likewise.
5542 (FPE_FLTOVF): Likewise.
5543 (FPE_FLTUND): Likewise.
5544 (FPE_FLTRES): Likewise.
5545 (FPE_FLTINV): Likewise.
5546 (FPE_FLTSUB): Likewise.
5547 (SEGV_MAPERR): Likewise.
5548 (SEGV_ACCERR): Likewise.
5549 (BUS_ADRALN): Likewise.
5550 (BUS_ADRERR): Likewise.
5551 (BUS_OBJERR): Likewise.
5552 (BUS_MCEERR_AR): Likewise.
5553 (BUS_MCEERR_AO): Likewise.
5554 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5555 (TRAP_TRACE): Likewise.
5556 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5558 (CLD_KILLED): Likewise.
5559 (CLD_DUMPED): Likewise.
5560 (CLD_TRAPPED): Likewise.
5561 (CLD_STOPPED): Likewise.
5562 (CLD_CONTINUED): Likewise.
5563 (POLL_IN): Likewise.
5564 (POLL_OUT): Likewise.
5565 (POLL_MSG): Likewise.
5566 (POLL_ERR): Likewise.
5567 (POLL_PRI): Likewise.
5568 (POLL_HUP): Likewise.
5569 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5570 (ILL_ILLOPN): Likewise.
5571 (ILL_ILLADR): Likewise.
5572 (ILL_ILLTRP): Likewise.
5573 (ILL_PRVOPC): Likewise.
5574 (ILL_PRVREG): Likewise.
5575 (ILL_COPROC): Likewise.
5576 (ILL_BADSTK): Likewise.
5577 (FPE_INTDIV): Likewise.
5578 (FPE_INTOVF): Likewise.
5579 (FPE_FLTDIV): Likewise.
5580 (FPE_FLTOVF): Likewise.
5581 (FPE_FLTUND): Likewise.
5582 (FPE_FLTRES): Likewise.
5583 (FPE_FLTINV): Likewise.
5584 (FPE_FLTSUB): Likewise.
5585 (SEGV_MAPERR): Likewise.
5586 (SEGV_ACCERR): Likewise.
5587 (BUS_ADRALN): Likewise.
5588 (BUS_ADRERR): Likewise.
5589 (BUS_OBJERR): Likewise.
5590 (BUS_MCEERR_AR): Likewise.
5591 (BUS_MCEERR_AO): Likewise.
5592 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5593 (TRAP_TRACE): Likewise.
5594 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5596 (CLD_KILLED): Likewise.
5597 (CLD_DUMPED): Likewise.
5598 (CLD_TRAPPED): Likewise.
5599 (CLD_STOPPED): Likewise.
5600 (CLD_CONTINUED): Likewise.
5601 (POLL_IN): Likewise.
5602 (POLL_OUT): Likewise.
5603 (POLL_MSG): Likewise.
5604 (POLL_ERR): Likewise.
5605 (POLL_PRI): Likewise.
5606 (POLL_HUP): Likewise.
5607 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5608 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5611 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5612 before #include of <time.h>.
5613 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5614 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5615 (test-xfail-UNIX98/sched.h/conform): Likewise.
5617 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5619 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5620 error absence of trapping exception support.
5621 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5623 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5625 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5626 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5627 * timezone/Makefile (testdata): Move definition above include of
5629 (test-zones): New variable.
5630 (tests-special): Add zone files.
5631 (build-testdata): Use $(evaluate-test).
5633 * elf/Makefile (tests-special): Rename tests to end with .out.
5634 ($(objpfx)noload-mem): Likewise.
5635 ($(objpfx)tst-leaks1-mem): Likewise.
5636 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5637 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5638 $(objpfx)test-iconvconfig.out.
5639 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5640 set -e inside subshell and redirect output to file.
5641 * iconvdata/Makefile (generated): Rename tests to end with .out.
5643 (tests-special): Rename tests to end with .out.
5644 ($(objpfx)mtrace-tst-loading): Likewise.
5645 * intl/Makefile (generated): Likewise.
5646 (tests-special): Likewise.
5647 ($(objpfx)mtrace-tst-gettext): Likewise.
5648 * misc/Makefile (generated): Likewise.
5649 (tests-special): Likewise.
5650 ($(objpfx)tst-error1-mem): Likewise.
5651 * nptl/Makefile (tests-special): Likewise.
5652 ($(objpfx)tst-stack3-mem): Likewise.
5653 (generated): Likewise.
5654 * posix/Makefile (generated): Likewise.
5655 (tests-special): Likewise.
5656 (xtests-special): Likewise.
5657 ($(objpfx)tst-fnmatch-mem): Likewise.
5658 ($(objpfx)bug-regex2-mem): Likewise.
5659 ($(objpfx)bug-regex14-mem): Likewise.
5660 ($(objpfx)bug-regex21-mem): Likewise.
5661 ($(objpfx)bug-regex31-mem): Likewise.
5662 ($(objpfx)tst-vfork3-mem): Likewise.
5663 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5664 ($(objpfx)tst-pcre-mem): Likewise.
5665 ($(objpfx)tst-boost-mem): Likewise.
5666 ($(objpfx)bug-ga2-mem): Likewise.
5667 ($(objpfx)bug-glob2-mem): Likewise.
5668 * resolv/Makefile (generate): Likewise.
5669 (tests-special): Likewise.
5670 (xtests-special): Likewise.
5671 (generated): Likewise.
5672 ($(objpfx)mtrace-tst-leaks): Likewise.
5673 ($(objpfx)mtrace-tst-leaks2): Likewise.
5675 * scripts/merge-test-results.sh: New file.
5676 * Makefile (tests-special-notdir): New variable.
5677 (tests): Run merge-test-results.sh.
5679 * Rules (tests-special-notdir): New variable.
5680 (xtests-special-notdir): Likewise.
5681 (tests): Run merge-test-results.sh
5684 * Makeconfig (test-xfail-name): New variable.
5685 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5686 compute variable name for expected failures.
5687 * conform/Makefile (conformtest-headers-data): New variable.
5688 (conformtest-standards): Likewise.
5689 (conformtest-headers-ISO): Likewise.
5690 (conformtest-headers-ISO99): Likewise.
5691 (conformtest-headers-ISO11): Likewise.
5692 (conformtest-headers-POSIX): Likewise.
5693 (conformtest-headers-XPG3): Likewise.
5694 (conformtest-headers-XPG4): Likewise.
5695 (conformtest-headers-UNIX98): Likewise.
5696 (conformtest-headers-XOPEN2K): Likewise.
5697 (conformtest-headers-POSIX2008): Likewise.
5698 (conformtest-headers-XOPEN2K8): Likewise.
5699 (conformtest-header-list-base): Likewise.
5700 (conformtest-header-list-tests): Likewise.
5701 (conformtest-header-base): Likewise.
5702 (conformtest-header-tests): Likewise.
5703 (tests-special): Add $(conformtest-header-list-tests). If
5704 [$(fast-check) && !$(cross-compiling)], add
5705 $(conformtest-header-tests) instead of
5706 $(objpfx)run-conformtest.out.
5707 (generated): Add $(conformtest-header-list-base). If
5708 [$(fast-check) && !$(cross-compiling)], add
5709 $(conformtest-header-base). Remove previous setting.
5710 ($(conformtest-header-list-tests)): New target.
5711 (test-xfail-run-conformtest): Remove variable.
5712 ($(objpfx)run-conformtest.out): Remove target.
5713 (test-xfail-ISO11/complex.h/conform): New variable.
5714 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5715 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5716 (test-xfail-XPG3/varargs.h/conform): Likewise.
5717 (test-xfail-XPG4/varargs.h/conform): Likewise.
5718 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5719 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5720 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5721 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5722 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5723 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5724 (test-xfail-XPG3/ftw.h/conform): Likewise.
5725 (test-xfail-XPG3/grp.h/conform): Likewise.
5726 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5727 (test-xfail-XPG3/limits.h/conform): Likewise.
5728 (test-xfail-XPG3/pwd.h/conform): Likewise.
5729 (test-xfail-XPG3/search.h/conform): Likewise.
5730 (test-xfail-XPG3/signal.h/conform): Likewise.
5731 (test-xfail-XPG3/stdio.h/conform): Likewise.
5732 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5733 (test-xfail-XPG3/string.h/conform): Likewise.
5734 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5735 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5736 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5737 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5738 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5739 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5740 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5741 (test-xfail-XPG3/termios.h/conform): Likewise.
5742 (test-xfail-XPG3/time.h/conform): Likewise.
5743 (test-xfail-XPG3/unistd.h/conform): Likewise.
5744 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5745 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5746 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5747 (test-xfail-XPG4/netdb.h/conform): Likewise.
5748 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5749 (test-xfail-XPG4/signal.h/conform): Likewise.
5750 (test-xfail-XPG4/stdio.h/conform): Likewise.
5751 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5752 (test-xfail-XPG4/stropts.h/conform): Likewise.
5753 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5754 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5755 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5756 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5757 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5758 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5759 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5760 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5761 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5762 (test-xfail-XPG4/termios.h/conform): Likewise.
5763 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5764 (test-xfail-XPG4/unistd.h/conform): Likewise.
5765 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5766 (test-xfail-POSIX/sched.h/conform): Likewise.
5767 (test-xfail-POSIX/signal.h/conform): Likewise.
5768 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5769 (test-xfail-POSIX/tar.h/conform): Likewise.
5770 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5771 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5772 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5773 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5774 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5775 (test-xfail-UNIX98/sched.h/conform): Likewise.
5776 (test-xfail-UNIX98/signal.h/conform): Likewise.
5777 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5778 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5779 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5780 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5781 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5782 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5783 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5784 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5785 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5786 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5787 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5788 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5789 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5790 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5791 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5792 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5793 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5794 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5795 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5796 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5797 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5798 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5799 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5800 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5801 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5802 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5803 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5804 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5805 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5806 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5807 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5808 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5809 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5810 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5811 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5812 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5813 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5814 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5815 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5816 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5817 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5818 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5819 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5820 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5821 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5822 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5823 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5824 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5825 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5826 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5827 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5828 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5829 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5830 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5831 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5832 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5833 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5834 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5835 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5836 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5837 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5838 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5839 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5840 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5841 (conformtest-cc-flags): Likewise.
5842 ($(conformtest-header-tests): New target.
5843 * conform/check-header-lists.sh: New file.
5844 * conform/run-conformtest.sh: Remove.
5846 * conform/conformtest.pl: Allow ' and \ in values given for
5848 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5850 [POSIX] (sys/types.h): Likewise.
5851 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5853 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5855 * conform/data/signal.h-data (SIGIO): Remove expectation.
5856 [XPG3] (SIGBUS): Do not expect.
5857 [POSIX || XPG3] (SIGPOLL): Likewise.
5858 [POSIX || XPG3] (SIGPROF): Likewise.
5859 [POSIX || XPG3] (SIGSYS): Likewise.
5860 [XPG3] (SIGTRAP): Likewise.
5861 [POSIX || XPG3] (SIGURG): Likewise.
5862 [POSIX || XPG3] (SIGVTALRM): Likewise.
5863 [POSIX || XPG3] (SIGXCPU): Likewise.
5864 [POSIX || XPG3] (SIGXFSZ): Likewise.
5865 [POSIX] (SA_SIGINFO): Expect.
5866 [XPG3] (siginfo_t): Do not expect type or contents.
5867 [POSIX] (si_pid): Do not expect element.
5868 [POSIX] (si_uid): Likewise.
5869 [POSIX] (si_addr): Likewise.
5870 [POSIX] (si_status): Likewise.
5871 [POSIX] (si_band): Likewise.
5872 [XPG4] (si_value): Likewise.
5873 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5874 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5875 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5876 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5877 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5878 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5879 [POSIX || XPG3] (ILL_COPROC): Likewise.
5880 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5881 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5882 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5883 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5884 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5885 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5886 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5887 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5888 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5889 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5890 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5891 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5892 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5893 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5894 [POSIX || XPG3] (CLD_EXITED): Likewise.
5895 [POSIX || XPG3] (CLD_KILLED): Likewise.
5896 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5897 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5898 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5899 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5900 [POSIX || XPG3] (POLL_IN): Likewise.
5901 [POSIX || XPG3] (POLL_OUT): Likewise.
5902 [POSIX || XPG3] (POLL_MSG): Likewise.
5903 [POSIX || XPG3] (POLL_ERR): Likewise.
5904 [POSIX || XPG3] (POLL_PRI): Likewise.
5905 [POSIX || XPG3] (POLL_HUP): Likewise.
5906 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5907 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5908 (SIG*): Do not allow.
5909 [XPG3] (si_*): Likewise.
5910 [XPG3] (SI_*): Likewise.
5911 [XPG3 || XPG4] (sigev_*): Likewise.
5912 [XPG3 || XPG4] (SIGEV_*): Likewise.
5913 [XPG3 || XPG4] (sival_*): Likewise.
5914 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5915 [POSIX || XPG3] (BUS_*): Likewise.
5916 [POSIX || XPG3] (CLD_*): Likewise.
5917 [POSIX || XPG3] (FPE_*): Likewise.
5918 [POSIX || XPG3] (ILL_*): Likewise.
5919 [POSIX || XPG3] (POLL_*): Likewise.
5920 [POSIX || XPG3] (SEGV_*): Likewise.
5921 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5922 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5923 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5924 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5925 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5926 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5927 Specify type and value.
5928 (TVERSLEN): Likewise.
5929 (REGTYPE): Likewise.
5930 (AREGTYPE): Likewise.
5931 (LNKTYPE): Likewise.
5932 (SYMTYPE): Likewise.
5933 (CHRTYPE): Likewise.
5934 (BLKTYPE): Likewise.
5935 (DIRTYPE): Likewise.
5936 (FIFOTYPE): Likewise.
5937 (CONTTYPE): Likewise.
5942 (TUWRITE): Likewise.
5945 (TGWRITE): Likewise.
5948 (TOWRITE): Likewise.
5950 [POSIX] (TSVTX): Expect constant.
5952 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5954 * Makefile (tests): Change dependencies to ....
5955 (tests-special): ... additions to this variable.
5956 (tests): Depend on $(tests-special).
5957 * Makerules (check-abi-list): New variable.
5958 (check-abi): Depend on $(check-abi-list).
5959 [$(subdir) = elf] (tests-special): Add
5960 $(objpfx)check-abi-libc.out.
5961 [$(build-shared) = yes && subdir] (tests-special): Add
5963 [$(build-shared) = yes && subdir] (tests): Do not depend on
5965 * Rules (tests): Depend on $(tests-special).
5966 (xtests): Depend on $(xtests-special).
5967 * catgets/Makefile (tests): Change dependencies to ....
5968 (tests-special): ... additions to this variable.
5969 * conform/Makefile (tests): Change dependencies to ....
5970 (tests-special): ... additions to this variable.
5971 * elf/Makefile (tests): Change dependencies to ....
5972 (tests-special): ... additions to this variable.
5973 * grp/Makefile (tests): Change dependencies to ....
5974 (tests-special): ... additions to this variable.
5975 * iconv/Makefile (xtests): Change dependencies to ....
5976 (xtests-special): ... additions to this variable.
5977 * iconvdata/Makefile (tests): Change dependencies to ....
5978 (tests-special): ... additions to this variable.
5979 * intl/Makefile (tests): Change dependencies to ....
5980 (tests-special): ... additions to this variable. Also add
5981 $(objpfx)tst-gettext.out.
5982 * io/Makefile (tests): Change dependencies to ....
5983 (tests-special): ... additions to this variable.
5984 * libio/Makefile (tests): Change dependencies to ....
5985 (tests-special): ... additions to this variable.
5986 * malloc/Makefile (tests): Change dependencies to ....
5987 (tests-special): ... additions to this variable.
5988 * misc/Makefile (tests): Change dependencies to ....
5989 (tests-special): ... additions to this variable.
5990 * nptl/Makefile (tests): Change dependencies to ....
5991 (tests-special): ... additions to this variable.
5992 * nptl_db/Makefile (tests): Change dependencies to ....
5993 (tests-special): ... additions to this variable.
5994 * posix/Makefile (tests): Change dependencies to ....
5995 (tests-special): ... additions to this variable.
5996 (xtests): Change dependencies to ....
5997 (xtests-special): ... additions to this variable.
5998 * resolv/Makefile (tests): Change dependencies to ....
5999 (tests-special): ... additions to this variable.
6000 (xtests): Change dependencies to ....
6001 (xtests-special): ... additions to this variable.
6002 * stdio-common/Makefile (tests): Change dependencies to ....
6003 (tests-special): ... additions to this variable.
6004 (do-tst-unbputc): Remove target.
6005 (do-tst-printf): Likewise.
6006 * stdlib/Makefile (tests): Change dependencies to ....
6007 (tests-special): ... additions to this variable.
6008 * string/Makefile (tests): Change dependencies to ....
6009 (tests-special): ... additions to this variable.
6010 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6011 (tests-special): ... additions to this variable.
6013 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6015 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6017 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6018 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6020 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6021 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6022 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6023 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6024 * conform/data/libgen.h-data [XPG3]: Likewise.
6025 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6026 * conform/data/ndbm.h-data [XPG3]: Likewise.
6027 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6028 * conform/data/netdb.h-data [XPG3]: Likewise.
6029 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6030 * conform/data/poll.h-data [XPG3]: Likewise.
6031 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6032 * conform/data/strings.h-data [XPG3]: Likewise.
6033 * conform/data/stropts.h-data [XPG3]: Likewise.
6034 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6035 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6036 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6038 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6039 * conform/data/sys/time.h-data [XPG3]: Likewise.
6040 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6041 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6042 * conform/data/sys/un.h-data [XPG3]: Likewise.
6043 * conform/data/syslog.h-data [XPG3]: Likewise.
6044 * conform/data/ucontext.h-data [XPG3]: Likewise.
6045 * conform/data/utmpx.h-data [XPG3]: Likewise.
6046 * conform/data/varargs.h-data [UNIX98]: Enable file.
6048 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6050 * math/libm-test.inc (struct test_f_f_data): Move expected results
6051 into structure for each rounding mode.
6052 (struct test_ff_f_data): Likewise.
6053 (struct test_ff_f_data_nexttoward): Likewise.
6054 (struct test_fi_f_data): Likewise.
6055 (struct test_fl_f_data): Likewise.
6056 (struct test_if_f_data): Likewise.
6057 (struct test_fff_f_data): Likewise.
6058 (struct test_c_f_data): Likewise.
6059 (struct test_f_f1_data): Likewise.
6060 (struct test_fF_f1_data): Likewise.
6061 (struct test_ffI_f1_data): Likewise.
6062 (struct test_c_c_data): Likewise.
6063 (struct test_cc_c_data): Likewise.
6064 (struct test_f_i_data): Likewise.
6065 (struct test_ff_i_data): Likewise.
6066 (struct test_f_l_data): Likewise.
6067 (struct test_f_L_data): Likewise.
6068 (struct test_fFF_11_data): Likewise.
6070 (RM_FE_DOWNWARD): Likewise.
6071 (RM_FE_TONEAREST): Likewise.
6072 (RM_FE_TOWARDZERO): Likewise.
6073 (RM_FE_UPWARD): Likewise.
6074 (RUN_TEST_LOOP_f_f): Update references to expected results.
6075 (RUN_TEST_LOOP_2_f): Likewise.
6076 (RUN_TEST_LOOP_fff_f): Likewise.
6077 (RUN_TEST_LOOP_c_f): Likewise.
6078 (RUN_TEST_LOOP_f_f1): Likewise.
6079 (RUN_TEST_LOOP_fF_f1): Likewise.
6080 (RUN_TEST_LOOP_fI_f1): Likewise.
6081 (RUN_TEST_LOOP_ffI_f1): Likewise.
6082 (RUN_TEST_LOOP_c_c): Likewise.
6083 (RUN_TEST_LOOP_cc_c): Likewise.
6084 (RUN_TEST_LOOP_f_i): Likewise.
6085 (RUN_TEST_LOOP_f_i_tg): Likewise.
6086 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6087 (RUN_TEST_LOOP_f_b): Likewise.
6088 (RUN_TEST_LOOP_f_b_tg): Likewise.
6089 (RUN_TEST_LOOP_f_l): Likewise.
6090 (RUN_TEST_LOOP_f_L): Likewise.
6091 (RUN_TEST_LOOP_fFF_11): Likewise.
6092 * math/gen-libm-test.pl (parse_args): Output four copies of
6093 expected results for each test.
6095 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6096 (__ASSUME_UTIMES): Remove.
6097 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6098 (__ASSUME_UTIMES): Likewise.
6100 * math/gen-auto-libm-tests.c: Update comment on output format.
6101 (output_for_one_input_case): Generate before-rounding and
6102 after-rounding information as conditions on output flags not
6103 floating-point format.
6104 * math/auto-libm-test-out: Regenerated.
6105 * math/gen-libm-test.pl (cond_value): New function.
6106 (or_cond_value): Use cond_value.
6107 (generate_testfile): Handle conditional exceptions.
6109 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6111 * math/libm-test.inc (max_valid_error): New variable.
6112 (init_max_error): Take new argument specifying whether function
6113 results are exactly determined. Set max_valid_error and bound
6114 other variables for errors based on this argument.
6115 (set_max_error): Do not record results above max_valid_error.
6116 (check_float_internal): Only accept errors of up to 0.5ulps if
6117 also at most max_valid_error.
6118 (START): Take new argument EXACT and pass it to init_max_error.
6119 (acos_test): Update call to START.
6120 (acos_test_tonearest): Likewise.
6121 (acos_test_towardzero): Likewise.
6122 (acos_test_downward): Likewise.
6123 (acos_test_upward): Likewise.
6124 (acosh_test): Likewise.
6125 (asin_test): Likewise.
6126 (asin_test_tonearest): Likewise.
6127 (asin_test_towardzero): Likewise.
6128 (asin_test_downward): Likewise.
6129 (asin_test_upward): Likewise.
6130 (asinh_test): Likewise.
6131 (atan_test): Likewise.
6132 (atanh_test): Likewise.
6133 (atan2_test): Likewise.
6134 (cabs_test): Likewise.
6135 (cacos_test): Likewise.
6136 (cacosh_test): Likewise.
6137 (carg_test): Likewise.
6138 (casin_test): Likewise.
6139 (casinh_test): Likewise.
6140 (catan_test): Likewise.
6141 (catanh_test): Likewise.
6142 (cbrt_test): Likewise.
6143 (ccos_test): Likewise.
6144 (ccosh_test): Likewise.
6145 (ceil_test): Likewise.
6146 (cexp_test): Likewise.
6147 (cimag_test): Likewise.
6148 (clog_test): Likewise.
6149 (clog10_test): Likewise.
6150 (conj_test): Likewise.
6151 (copysign_test): Likewise.
6152 (cos_test): Likewise.
6153 (cos_test_tonearest): Likewise.
6154 (cos_test_towardzero): Likewise.
6155 (cos_test_downward): Likewise.
6156 (cos_test_upward): Likewise.
6157 (cosh_test): Likewise.
6158 (cosh_test_tonearest): Likewise.
6159 (cosh_test_towardzero): Likewise.
6160 (cosh_test_downward): Likewise.
6161 (cosh_test_upward): Likewise.
6162 (cpow_test): Likewise.
6163 (cproj_test): Likewise.
6164 (creal_test): Likewise.
6165 (csin_test): Likewise.
6166 (csinh_test): Likewise.
6167 (csqrt_test): Likewise.
6168 (ctan_test): Likewise.
6169 (ctan_test_tonearest): Likewise.
6170 (ctan_test_towardzero): Likewise.
6171 (ctan_test_downward): Likewise.
6172 (ctan_test_upward): Likewise.
6173 (ctanh_test): Likewise.
6174 (ctanh_test_tonearest): Likewise.
6175 (ctanh_test_towardzero): Likewise.
6176 (ctanh_test_downward): Likewise.
6177 (ctanh_test_upward): Likewise.
6178 (erf_test): Likewise.
6179 (erfc_test): Likewise.
6180 (exp_test): Likewise.
6181 (exp_test_tonearest): Likewise.
6182 (exp_test_towardzero): Likewise.
6183 (exp_test_downward): Likewise.
6184 (exp_test_upward): Likewise.
6185 (exp10_test): Likewise.
6186 (exp10_test_tonearest): Likewise.
6187 (exp10_test_towardzero): Likewise.
6188 (exp10_test_downward): Likewise.
6189 (exp10_test_upward): Likewise.
6190 (pow10_test): Likewise.
6191 (exp2_test): Likewise.
6192 (expm1_test): Likewise.
6193 (expm1_test_tonearest): Likewise.
6194 (expm1_test_towardzero): Likewise.
6195 (expm1_test_downward): Likewise.
6196 (expm1_test_upward): Likewise.
6197 (fabs_test): Likewise.
6198 (fdim_test): Likewise.
6199 (floor_test): Likewise.
6200 (fma_test): Likewise.
6201 (fma_test_towardzero): Likewise.
6202 (fma_test_downward): Likewise.
6203 (fma_test_upward): Likewise.
6204 (fmax_test): Likewise.
6205 (fmin_test): Likewise.
6206 (fmod_test): Likewise.
6207 (fpclassify_test): Likewise.
6208 (frexp_test): Likewise.
6209 (hypot_test): Likewise.
6210 (ilogb_test): Likewise.
6211 (isfinite_test): Likewise.
6212 (finite_test): Likewise.
6213 (isgreater_test): Likewise.
6214 (isgreaterequal_test): Likewise.
6215 (isinf_test): Likewise.
6216 (isless_test): Likewise.
6217 (islessequal_test): Likewise.
6218 (islessgreater_test): Likewise.
6219 (isnan_test): Likewise.
6220 (isnormal_test): Likewise.
6221 (issignaling_test): Likewise.
6222 (isunordered_test): Likewise.
6223 (j0_test): Likewise.
6224 (j1_test): Likewise.
6225 (jn_test): Likewise.
6226 (ldexp_test): Likewise.
6227 (lgamma_test): Likewise.
6228 (gamma_test): Likewise.
6229 (lrint_test): Likewise.
6230 (lrint_test_tonearest): Likewise.
6231 (lrint_test_towardzero): Likewise.
6232 (lrint_test_downward): Likewise.
6233 (lrint_test_upward): Likewise.
6234 (llrint_test): Likewise.
6235 (llrint_test_tonearest): Likewise.
6236 (llrint_test_towardzero): Likewise.
6237 (llrint_test_downward): Likewise.
6238 (llrint_test_upward): Likewise.
6239 (log_test): Likewise.
6240 (log10_test): Likewise.
6241 (log1p_test): Likewise.
6242 (log2_test): Likewise.
6243 (logb_test): Likewise.
6244 (logb_test_downward): Likewise.
6245 (lround_test): Likewise.
6246 (llround_test): Likewise.
6247 (modf_test): Likewise.
6248 (nearbyint_test): Likewise.
6249 (nextafter_test): Likewise.
6250 (nexttoward_test): Likewise.
6251 (pow_test): Likewise.
6252 (pow_test_tonearest): Likewise.
6253 (pow_test_towardzero): Likewise.
6254 (pow_test_downward): Likewise.
6255 (pow_test_upward): Likewise.
6256 (remainder_test): Likewise.
6257 (drem_test): Likewise.
6258 (remainder_test_tonearest): Likewise.
6259 (drem_test_tonearest): Likewise.
6260 (remainder_test_towardzero): Likewise.
6261 (drem_test_towardzero): Likewise.
6262 (remainder_test_downward): Likewise.
6263 (drem_test_downward): Likewise.
6264 (remainder_test_upward): Likewise.
6265 (drem_test_upward): Likewise.
6266 (remquo_test): Likewise.
6267 (rint_test): Likewise.
6268 (rint_test_tonearest): Likewise.
6269 (rint_test_towardzero): Likewise.
6270 (rint_test_downward): Likewise.
6271 (rint_test_upward): Likewise.
6272 (round_test): Likewise.
6273 (scalb_test): Likewise.
6274 (scalbn_test): Likewise.
6275 (scalbln_test): Likewise.
6276 (signbit_test): Likewise.
6277 (sin_test): Likewise.
6278 (sin_test_tonearest): Likewise.
6279 (sin_test_towardzero): Likewise.
6280 (sin_test_downward): Likewise.
6281 (sin_test_upward): Likewise.
6282 (sincos_test): Likewise.
6283 (sinh_test): Likewise.
6284 (sinh_test_tonearest): Likewise.
6285 (sinh_test_towardzero): Likewise.
6286 (sinh_test_downward): Likewise.
6287 (sinh_test_upward): Likewise.
6288 (sqrt_test): Likewise.
6289 (sqrt_test_tonearest): Likewise.
6290 (sqrt_test_towardzero): Likewise.
6291 (sqrt_test_downward): Likewise.
6292 (sqrt_test_upward): Likewise.
6293 (tan_test): Likewise.
6294 (tan_test_tonearest): Likewise.
6295 (tan_test_towardzero): Likewise.
6296 (tan_test_downward): Likewise.
6297 (tan_test_upward): Likewise.
6298 (tanh_test): Likewise.
6299 (tgamma_test): Likewise.
6300 (trunc_test): Likewise.
6301 (y0_test): Likewise.
6302 (y1_test): Likewise.
6303 (yn_test): Likewise.
6304 (significand_test): Likewise.
6306 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6307 individual tests in comment.
6308 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6309 (prev_max_error): New variable.
6310 (prev_real_max_error): Likewise.
6311 (prev_imag_max_error): Likewise.
6312 (compare_ulp_data): Don't refer to test names in comment.
6313 (find_test_ulps): Remove function.
6314 (find_function_ulps): Likewise.
6315 (find_complex_function_ulps): Likewise.
6316 (init_max_error): Take function name as argument. Look up ulps
6318 (print_ulps): Remove function.
6319 (print_max_error): Use prev_max_error instead of calling
6321 (print_complex_max_error): Use prev_real_max_error and
6322 prev_imag_max_error instead of calling find_complex_function_ulps.
6323 (check_float_internal): Take max_ulp parameter instead of calling
6324 find_test_ulps. Don't call print_ulps.
6325 (check_float): Update call to check_float_internal.
6326 (check_complex): Update calls to check_float_internal.
6327 (START): Pass argument to init_max_error.
6328 * math/gen-libm-test.pl (%results): Don't include "kind"
6330 (parse_ulps): Don't handle ulps of individual tests.
6331 (print_ulps_file): Likewise.
6332 (output_ulps): Likewise.
6333 * math/README.libm-test: Update.
6334 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6336 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6337 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6338 * sysdeps/arm/libm-test-ulps: Likewise.
6339 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6340 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6341 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6342 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6343 * sysdeps/microblaze/libm-test-ulps: Likewise.
6344 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6345 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6346 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6347 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6348 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6349 * sysdeps/sh/libm-test-ulps: Likewise.
6350 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6351 * sysdeps/tile/libm-test-ulps: Likewise.
6352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6354 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6356 * math/libm-test.inc (print_complex_max_error): Check separately
6357 whether real and imaginary errors are within allowed range and
6358 pass 0 to print_complex_function_ulps instead of value within
6361 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6363 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6365 (get_handles_fopen): Likewise.
6366 (do_write_test): Likewise.
6368 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6370 * libio/fileops.c (do_ftell): Use cached offset when
6372 * libio/iofwide.c (do_ftell_wide): Likewise.
6373 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6375 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6378 * libio/libioP.h (get_file_offset): New function.
6379 * libio/fileops.c (get_file_offset): Likewise.
6380 (do_ftell): Likewise.
6381 (_IO_new_file_seekoff): Split out ftell logic.
6382 * libio/wfileops.c (do_ftell_wide): Likewise.
6383 (_IO_wfile_seekoff): Split out ftell logic.
6384 * libio/tst-ftell-active-handler.c: New test case.
6385 * libio/Makefile (tests): Add it.
6387 2014-03-03 Roland McGrath <roland@hack.frob.com>
6389 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6390 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6392 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6395 * nscd/connections.c (nscd_init): Call do_exit.
6396 (start_threads): Call do_exit and notify_parent.
6397 (begin_drop_privileges): Call do_exit.
6398 (finish_drop_privileges): Likewise.
6399 * nscd/selinux.c (preserve_capabilities): Likewise.
6400 (install_real_capabilities): Likewise.
6401 (nscd_selinux_enabled): Likewise.
6402 (avc_create_thread): Likewise.
6403 (avc_alloc_lock): Likewise.
6404 (nscd_avc_init): Likewise.
6405 * nscd/nscd.c (parent_fd): New static variable.
6406 (main): Create a pipe between parent and child processes.
6407 Skip closing parent_fd.
6408 (monitor_child): New function.
6409 (do_exit): Likewise.
6410 (notify_parent): Likewise.
6411 * nscd/nscd.h (notify_parent): Likewise.
6412 (do_exit): Likewise.
6414 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6416 * malloc/malloc.c (__libc_calloc): Revert last change.
6418 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6422 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6424 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6428 (__libc_ifunc_impl_list): Likewise.
6429 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6430 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6431 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6432 * string/strrchr.c: Define STRRCHR.
6434 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6436 * benchtest/bench-strtok.c (simple_strtok): Delete.
6437 (strtok_string): Use as benchmark.
6438 * string/strtok (STRTOK): New macro.
6440 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6442 * manual/threads.texi: Add header and standard comments to all
6445 * elf/dl-lookup.c (check_match): New function.
6446 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6447 (do_lookup_x): Remove nested function check_match. Use non-nested
6448 function check_match.
6450 2014-02-28 Roland McGrath <roland@hack.frob.com>
6452 * csu/Makefile (generated, before-compile): Use += rather than =.
6453 * catgets/Makefile (generated, generated-dirs): Likewise.
6454 * debug/Makefile (generated): Likewise.
6455 * dlfcn/Makefile (generated): Likewise.
6456 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6457 * iconvdata/Makefile (before-compile, generated): Likewise.
6458 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6459 * libio/Makefile (generated): Likewise.
6460 * malloc/Makefile (generated): Likewise.
6461 * manual/Makefile (generated, generated-dirs): Likewise.
6462 * misc/Makefile (generated): Likewise.
6463 * posix/Makefile (generated): Likewise.
6464 * resolv/Makefile (generated): Likewise.
6465 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6466 * timezone/Makefile (generated, generated-dirs): Likewise.
6468 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6470 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6472 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6473 power8 implementation.
6474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6475 file: POWER8 llround ifunc implementation.
6476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6477 (__lllround): Add POWER8 implementation.
6478 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6479 POWER8 llround implementation.
6481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6482 power8 implementation.
6483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6484 file: POWER8 llrint ifunc implementation.
6485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6486 Add POWER8 implementation.
6487 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6488 POWER8 llrint implementation.
6490 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6491 power8 implementation.
6492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6493 file: POWER8 finite ifunc implementation.
6494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6495 Add POWER8 implementation.
6496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6498 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6499 POWER8 finite implementation.
6500 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6503 power8 implementation.
6504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6505 file: POWER8 isinf ifunc implementation.
6506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6507 POWER8 implementation.
6508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6510 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6511 isinf implementation.
6512 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6514 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6515 (INIT_ARCH): Add hwcap2 initialization.
6516 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6517 power8 implementation.
6518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6519 file: POWER8 isnan ifunc implementation.
6520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6521 POWER8 implementation.
6522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6524 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6525 isnan implementation.
6526 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6528 2014-02-27 Joey Ye <joey.ye@arm.com>
6530 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6531 (_FP_NANFRAC_Q): Set to zero.
6533 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6536 * math/auto-libm-test-in: New test inputs.
6537 * math/auto-libm-test-out: Regenerate.
6538 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6541 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6543 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6545 * scripts/evaluate-test.sh: Take new argument indicating whether
6546 failure is expected.
6547 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6548 indicating whether failure is expected.
6549 * conform/Makefile (test-xfail-run-conformtest): New variable.
6550 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6552 * posix/Makefile (test-xfail-annexc): New variable.
6553 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6555 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6557 * argp/Makefile: Include Makeconfig immediately after defining
6559 * assert/Makefile: Likewise.
6560 * benchtests/Makefile: Likewise.
6561 * catgets/Makefile: Likewise.
6562 * conform/Makefile: Likewise.
6563 * crypt/Makefile: Likewise.
6564 * csu/Makefile: Likewise.
6565 (all): Remove target.
6566 * ctype/Makefile: Include Makeconfig immediately after defining
6568 * debug/Makefile: Likewise.
6569 * dirent/Makefile: Likewise.
6570 * dlfcn/Makefile: Likewise.
6571 * gmon/Makefile: Likewise.
6572 * gnulib/Makefile: Likewise.
6573 * grp/Makefile: Likewise.
6574 * gshadow/Makefile: Likewise.
6575 * hesiod/Makefile: Likewise.
6576 * hurd/Makefile: Likewise.
6577 (all): Remove target.
6578 * iconvdata/Makefile: Include Makeconfig immediately after
6580 * inet/Makefile: Likewise.
6581 * intl/Makefile: Likewise.
6582 * io/Makefile: Likewise.
6583 * libio/Makefile: Likewise.
6584 (all): Remove target.
6585 * locale/Makefile: Include Makeconfig immediately after defining
6587 * login/Makefile: Likewise.
6588 * mach/Makefile: Likewise.
6589 (all): Remove target.
6590 * malloc/Makefile: Include Makeconfig immediately after defining
6592 (all): Remove target.
6593 * manual/Makefile: Include Makeconfig immediately after defining
6595 * math/Makefile: Likewise.
6596 * misc/Makefile: Likewise.
6597 * nis/Makefile: Likewise.
6598 * nss/Makefile: Likewise.
6599 * po/Makefile: Likewise.
6600 (all): Remove target.
6601 * posix/Makefile: Include Makeconfig immediately after defining
6603 * pwd/Makefile: Likewise.
6604 * resolv/Makefile: Likewise.
6605 * resource/Makefile: Likewise.
6606 * rt/Makefile: Likewise.
6607 * setjmp/Makefile: Likewise.
6608 * shadow/Makefile: Likewise.
6609 * signal/Makefile: Likewise.
6610 * socket/Makefile: Likewise.
6611 * soft-fp/Makefile: Likewise.
6612 * stdio-common/Makefile: Likewise.
6613 * stdlib/Makefile: Likewise.
6614 * streams/Makefile: Likewise.
6615 * string/Makefile: Likewise.
6616 * sunrpc/Makefile: Likewise.
6617 (all): Remove target.
6618 * sysvipc/Makefile: Include Makeconfig immediately after defining
6620 * termios/Makefile: Likewise.
6621 * time/Makefile: Likewise.
6622 * timezone/Makefile: Likewise.
6623 (all): Remove target.
6624 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6626 * wctype/Makefile: Likewise.
6628 2014-02-26 Steve Ellcey <sellcey@mips.com>
6630 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6631 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6632 (libc_feholdexcept_setround_mips): Ditto.
6633 (libc_feholdsetround): New.
6634 (libc_feholdsetroundf): New.
6635 (libc_feholdsetroundl): New.
6636 (libc_feupdateenv_test_mips): New.
6637 (libc_feupdateenv_test): New.
6638 (libc_feupdateenv_testf): New.
6639 (libc_feupdateenv_testl): New.
6640 (libc_feresetround): New.
6641 (libc_feresetroundf): New.
6642 (libc_feresetroundl): New.
6643 (libc_fetestexcept_mips): New.
6644 (libc_fetestexcept): New.
6645 (libc_fetestexceptf): New.
6646 (libc_fetestexceptl): New.
6648 (libc_feholdexcept_setround_mips_ctx): New.
6649 (libc_feholdexcept_setround_ctx): New.
6650 (libc_feholdexcept_setroundf_ctx): New.
6651 (libc_feholdexcept_setroundl_ctx): New.
6652 (libc_fesetenv_mips_ctx): New.
6653 (libc_fesetenv_ctx): New.
6654 (libc_fesetenv_ctxf): New.
6655 (libc_fesetenv_ctxl): New.
6656 (libc_feupdateenv_mips_ctx): New.
6657 (libc_feupdateenv_ctx): New.
6658 (libc_feupdateenvf_ctx): New.
6659 (libc_feupdateenvl_ctx): New.
6660 (libc_feholdsetround_mips_ctx): New.
6661 (libc_feholdsetround_ctx): New.
6662 (libc_feholdsetroundf_ctx): New.
6663 (libc_feholdsetroundl_ctx): New.
6664 (libc_feresetround_mips_ctx): New.
6665 (libc_feresetround_ctx): New.
6666 (libc_feresetroundf_ctx): New.
6667 (libc_feresetroundl_ctx): New.
6669 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6671 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6673 * manual/ipc.texi: New file.
6674 * manual/Makefile (chapters): Add ipc.
6675 * manual/job.texi: Add "Inter-Process Communication" to next.
6676 * manual/process.texi: Add "Inter-Process Communication" to prev.
6678 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6682 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6684 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6686 * manual/arith.texi: Fix spaces after sentences.
6687 * manual/charset.texi: Likewise.
6688 * manual/errno.texi: Likewise.
6689 * manual/install.texi: Likewise.
6690 * manual/llio.texi: Likewise.
6691 * manual/locale.texi: Likewise.
6692 * manual/maint.texi: Likewise.
6693 * manual/math.texi: Likewise.
6694 * manual/memory.texi: Likewise.
6695 * manual/message.texi: Likewise.
6696 * manual/probes.texi: Likewise.
6697 * manual/resource.texi: Likewise.
6698 * manual/signal.texi: Likewise.
6699 * manual/socket.texi: Likewise.
6700 * manual/stdio.texi: Likewise.
6701 * manual/string.texi: Likewise.
6702 * manual/time.texi: Likewise.
6703 * manual/users.texi: Likewise.
6705 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6708 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6709 _DEFAULT_SOURCE is defined.
6711 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6712 Carlos O'Donell <carlos@redhat.com>
6715 * elf/dl-tls.c (_dl_count_modids): New function.
6716 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6717 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6718 audit library and increment generation counter.
6719 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6720 * elf/tst-audit9.c: New file.
6721 * elf/tst-auditmod9a.c: New file.
6722 * elf/tst-auditmod9b.c: New file.
6723 * elf/Makefile: Add rules to build and run tst-audit9.
6725 2014-02-25 Florian Weimer <fweimer@redhat.com>
6728 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6730 2014-02-25 Will Newton <will.newton@linaro.org>
6732 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6733 (__longjmp): Restore sp and lr before restoring callee
6734 saved registers. Add longjmp and longjmp_target
6735 SystemTap probe point.
6736 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6737 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6738 Define to zero to match jmpbuf layout.
6739 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6740 (__sigsetjmp): Save sp and lr before saving callee
6741 saved registers. Add setjmp SystemTap probe point.
6743 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6745 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6747 2014-02-24 Andreas Schwab <schwab@suse.de>
6750 * elf/pldd.c (wait_for_ptrace_stop): New function.
6751 (main): Call it after attaching.
6753 2014-02-22 Roland McGrath <roland@hack.frob.com>
6755 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6756 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6757 Versions files is now verboten.
6758 * hurd/Versions (libc: GLIBC_2.0):
6759 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6760 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6761 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6762 * mach/Versions: Likewise.
6764 * csu/Versions: Remove unused %include.
6765 * resolv/Versions: Likewise.
6767 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6769 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6770 ($(objpfx)check-local-headers.out): Likewise.
6771 ($(objpfx)begin-end-check.out): Likewise.
6772 * Makerules (check-abi-%.out): Likewise.
6773 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6774 ($(objpfx)test2.cat): Likewise.
6775 ($(objpfx)de/libc.cat): Likewise.
6776 ($(objpfx)test-gencat.out): Likewise.
6777 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6778 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6779 ($(objpfx)noload-mem): Likewise.
6780 ($(objpfx)tst-pathopt.out): Likewise.
6781 ($(objpfx)tst-rtld-load-self.out): Likewise.
6782 ($(objpfx)tst-array1-cmp.out): Likewise.
6783 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6784 ($(objpfx)tst-array2-cmp.out): Likewise.
6785 ($(objpfx)tst-array3-cmp.out): Likewise.
6786 ($(objpfx)tst-array4-cmp.out): Likewise.
6787 ($(objpfx)tst-array5-cmp.out): Likewise.
6788 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6789 ($(objpfx)check-textrel.out): Likewise.
6790 ($(objpfx)check-execstack.out): Likewise.
6791 ($(objpfx)check-localplt.out): Likewise.
6792 ($(objpfx)order2-cmp.out): Likewise.
6793 ($(objpfx)tst-leaks1-mem): Likewise.
6794 ($(objpfx)tst-leaks1-static-mem): Likewise.
6795 ($(objpfx)tst-initorder-cmp.out): Likewise.
6796 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6797 ($(objpfx)tst-unused-dep.out): Likewise.
6798 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6799 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6800 * iconv/Makefile (test-iconvconfig): Likewise.
6801 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6802 ($(objpfx)iconv-test.out): Likewise.
6803 ($(objpfx)tst-tables.out): Likewise.
6804 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6805 ($(objpfx)tst-gettext.out): Likewise.
6806 ($(objpfx)tst-translit.out): Likewise.
6807 ($(objpfx)tst-gettext2.out): Likewise.
6808 ($(objpfx)tst-gettext4.out): Likewise.
6809 ($(objpfx)tst-gettext6.out): Likewise.
6810 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6811 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6812 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6813 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6814 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6815 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6816 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6817 ($(objpfx)wordexp-tst.out): Likewise.
6818 ($(objpfx)annexc.out): Likewise.
6819 ($(objpfx)tst-fnmatch-mem): Likewise.
6820 ($(objpfx)bug-regex2-mem): Likewise.
6821 ($(objpfx)bug-regex14-mem): Likewise.
6822 ($(objpfx)bug-regex21-mem): Likewise.
6823 ($(objpfx)bug-regex31-mem): Likewise.
6824 ($(objpfx)tst-vfork3-mem): Likewise.
6825 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6826 ($(objpfx)tst-pcre-mem): Likewise.
6827 ($(objpfx)tst-boost-mem): Likewise.
6828 ($(objpfx)tst-getconf.out): Likewise.
6829 ($(objpfx)bug-ga2-mem): Likewise.
6830 ($(objpfx)bug-glob2-mem): Likewise.
6831 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6832 ($(objpfx)mtrace-tst-leaks2): Likewise.
6833 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6834 ($(objpfx)tst-printf.out): Likewise.
6835 ($(objpfx)tst-setvbuf1.out): Likewise.
6836 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6837 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6838 ($(objpfx)tst-fmtmsg.out): Likewise.
6839 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6840 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6842 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6843 * bits/sigaction.h [__USE_MISC]: Likewise.
6844 * bits/waitstatus.h: Update #endif comments.
6845 * ctype/ctype.h: Likewise.
6846 * dirent/dirent.h: Likewise.
6847 [__USE_MISC]: Remove redundant conditionals.
6848 * grp/grp.h: Update #endif comments.
6849 [__USE_GNU]: Remove redundant conditionals.
6850 [__USE_MISC]: Likewise.
6851 * inet/netinet/in.h [__USE_GNU]: Likewise.
6852 * io/sys/stat.h [__USE_MISC]: Likewise.
6853 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6854 * libio/bits/stdio.h: Update #endif comments.
6855 [__USE_MISC]: Remove redundant conditionals.
6856 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6857 * libio/stdio.h: Update #endif comments.
6858 [__USE_MISC]: Remove redundant conditionals.
6859 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6860 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6861 * math/math.h: Update #else and #endif comments.
6862 [__USE_MISC]: Remove redundant conditionals.
6863 * misc/sys/uio.h: Update #endif comments.
6864 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6865 * posix/glob.h [__USE_MISC]: Likewise.
6866 * posix/sys/types.h: Update #endif comments.
6867 [__USE_MISC]: Remove redundant conditionals.
6868 * posix/sys/wait.h: Update #endif comments.
6869 [__USE_MISC]: Remove redundant conditionals.
6870 * posix/unistd.h: Update #endif comments.
6871 [__USE_MISC]: Remove redundant conditionals.
6872 * pwd/pwd.h [__USE_GNU]: Likewise.
6873 [__USE_MISC]: Likewise.
6874 * resolv/netdb.h [__USE_GNU]: Likewise.
6875 * signal/signal.h: Update #endif comments.
6876 [__USE_MISC]: Remove redundant conditionals.
6877 * stdlib/stdlib.h: Update #else and #endif comments.
6878 [__USE_MISC]: Remove redundant conditionals.
6879 [__USE_GNU]: Likewise.
6880 * string/bits/string2.h [__USE_MISC]: Likewise.
6881 * string/string.h: Update #endif comments.
6882 [__USE_MISC]: Remove redundant conditionals.
6883 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6885 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6886 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6887 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6889 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6891 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6893 [__USE_MISC]: Remove redundant conditionals.
6894 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6895 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6896 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6897 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6898 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6900 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6901 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6903 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6904 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6906 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6908 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6909 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6911 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6913 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6914 * sysdeps/x86/bits/string.h: Update #endif comments.
6915 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6917 * time/sys/time.h: Update #endif comments.
6918 * time/time.h: Likewise.
6919 [__USE_MISC]: Remove redundant conditionals.
6921 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6924 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6926 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6928 * Versions.def (librt): Add GLIBC_2.17.
6930 2014-02-21 Adam Conrad <adconrad@0c3.net>
6932 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6933 synonym for _SYS_AUXV_H to allow direct inclusion.
6934 * sysdeps/sparc/bits/hwcap.h: Likewise.
6935 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6936 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6937 * sysdeps/sparc/sysdep.h: Likewise.
6939 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6941 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6943 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6945 * benchtests/bench-strrchr.c: Print length instead of position.
6947 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6950 * sysdeps/unix/sysv/linux/kernel-features.h
6951 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6952 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6953 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6954 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6956 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6957 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6958 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6959 (__ASSUME_SENDMMSG): Define instead of using previous
6960 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6961 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6962 (__ASSUME_SENDMMSG_SYSCALL): Define.
6963 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6964 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6966 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6967 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6969 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6970 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6972 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6973 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6974 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6975 [__ASSUME_SENDMMSG]: Change conditionals to
6976 [__ASSUME_SENDMMSG_SOCKETCALL].
6977 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6978 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6980 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6981 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6983 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6984 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6985 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6986 [!__ASSUME_SENDMMSG]: Change conditional to
6987 [!__ASSUME_SENDMMSG_SOCKETCALL].
6988 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6989 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6993 * sysdeps/unix/sysv/linux/kernel-features.h
6994 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6995 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6996 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6997 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6998 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6999 [__i386__ || __sparc__]
7000 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7001 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7002 (__ASSUME_RECVMMSG): Define instead of using previous
7003 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7004 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7005 (__ASSUME_RECVMMSG_SYSCALL): Define.
7006 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7007 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7009 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7010 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7012 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7013 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7015 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7016 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7017 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7018 [__ASSUME_RECVMMSG]: Change condition to
7019 [__ASSUME_RECVMMSG_SOCKETCALL].
7020 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7021 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7023 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7024 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7025 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7027 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7028 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7029 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7030 [!__ASSUME_RECVMMSG]: Change condition to
7031 [!__ASSUME_RECVMMSG_SOCKETCALL].
7032 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7033 (__ASSUME_RECVMMSG_SYSCALL): Define.
7036 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7037 __powerpc__ || __s390__ || __sh__ || __sparc__]
7038 (__ASSUME_SOCKETCALL): Define.
7039 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7040 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7041 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7042 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7043 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7044 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7045 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7046 (__ASSUME_ACCEPT4): Define instead of using previous
7047 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7048 __powerpc__ || __sparc__ || __s390__)] condition.
7049 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7050 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7051 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7052 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7053 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7054 [!__ASSUME_ACCEPT4]: Change condition to
7055 [!__ASSUME_ACCEPT4_SOCKETCALL].
7056 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7057 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7058 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7059 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7060 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7061 __ASSUME_ACCEPT4_SYSCALL.
7062 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7063 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7064 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7065 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7066 __ASSUME_ACCEPT4_SYSCALL.
7067 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7068 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7069 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7070 [__ASSUME_ACCEPT4]: Change condition to
7071 [__ASSUME_ACCEPT4_SOCKETCALL].
7072 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7073 (__ASSUME_SOCKETCALL): Define.
7074 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7075 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7076 (__ASSUME_SOCKETCALL): Define.
7077 (__ASSUME_ACCEPT4): Remove.
7078 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7080 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7081 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7083 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7084 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7086 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7088 (HWCAP_ARM_LPAE): Likewise.
7089 (HWCAP_ARM_EVTSTRM): Likewise.
7090 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7091 Add vpfd32, lpae and evtstrm.
7092 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7095 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7097 * math/auto-libm-test-in: Add tests of clog10.
7098 * math/auto-libm-test-out: Regenerated.
7099 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7100 * sysdeps/i386/fpu/libm-test-ulps: Update.
7101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7103 2014-02-18 Andreas Schwab <schwab@suse.de>
7106 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7107 Store non-zero if the second buffer was newly allocated.
7108 (send_dg): Likewise.
7109 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7110 to send_vc and send_dg.
7111 (res_nsend): Pass NULL for ansp2_malloced.
7112 * resolv/res_query.c (__libc_res_nquery): Add parameter
7113 answerp2_malloced and pass it down to __libc_res_nsend.
7114 (res_nquery): Pass additional NULL to __libc_res_nquery.
7115 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7116 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7117 second answer buffer if answerp2_malloced was set.
7118 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7119 (__libc_res_nquerydomain): Add parameter
7120 answerp2_malloced and pass it down to __libc_res_nquery.
7121 (res_nquerydomain): Pass additional NULL to
7122 __libc_res_nquerydomain.
7123 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7124 additional NULL to __libc_res_nsend and __libc_res_nquery.
7125 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7126 additional NULL to __libc_res_nsearch.
7127 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7128 parameter of __libc_res_nsearch to check for separately allocated
7130 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7132 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7133 additional NULL to __libc_res_nquery.
7134 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7136 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7137 * include/resolv.h: Update prototypes of __libc_res_nquery,
7138 __libc_res_nsearch, __libc_res_nsend.
7140 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7142 * math/auto-libm-test-in: Add tests of fma.
7143 * math/auto-libm-test-out: Regenerated.
7144 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7145 (fma_towardzero_test_data): Likewise.
7146 (fma_downward_test_data): Likewise.
7147 (fma_upward_test_data): Likewise.
7148 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7150 (rounding_modes): Add values for new field.
7151 (func_calc_method): Add value mpfr_fff_f.
7152 (func_calc_desc): Add mpfr_fff_f union field.
7153 (test_function): Add field exact_args.
7154 (FUNC): Add macro argument EXACT_ARGS.
7155 (FUNC_mpfr_f_f): Update call to FUNC.
7156 (FUNC_mpfr_f_f): Likewise.
7157 (FUNC_mpfr_ff_f): Likewise.
7158 (FUNC_mpfr_if_f): Likewise.
7159 (FUNC_mpc_c_f): Likewise.
7160 (FUNC_mpc_c_c): Likewise.
7161 (test_functions): Add fma. Update calls to FUNC.
7162 (handle_input_arg): Add argument exact_args.
7163 (add_test): Update call to handle_input_arg.
7164 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7165 (output_for_one_input_case): Update call to calc_generic_results.
7166 Recalculate exact zero results in each rounding mode.
7168 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7169 non-negative before setting low bit.
7170 * math/auto-libm-test-in: Mark one asin test possibly having
7172 * math/auto-libm-test-out: Regenerated.
7173 * sysdeps/i386/fpu/libm-test-ulps: Update.
7174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7176 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7178 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7179 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7180 ports/sysdeps/unix/sysv/linux/microblaze.
7181 * README: Add missing listing for microblaze*-*-linux-gnu.
7183 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7185 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7186 * sysdeps/unix/sysv/linux/ia64: Move directory from
7187 ports/sysdeps/unix/sysv/linux/ia64.
7188 * README: Update listing for ia64-*-linux-gnu.
7190 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7191 Joseph Myers <joseph@codesourcery.com>
7193 * Makeconfig (test-name): New variable.
7194 (evaluate-test): Likewise.
7195 * Makerules (do-test-clean): Remove .test-result files.
7196 (common-mostlyclean): Likewise.
7197 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7198 * scripts/evaluate-test.sh: New file.
7200 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7202 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7203 separate $(objpfx)tst-fopenloc-cmp.out and
7204 $(objpfx)tst-fopenloc-mem.out targets.
7205 (tests): Update dependencies.
7206 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7207 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7208 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7209 (tst-rxspencer-no-utf8-ARGS): New variable.
7210 (tst-rxspencer-no-utf8-ENV): Likewise.
7211 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7212 instead of $(objpfx)tst-rxspencer-mem.
7213 ($(objpfx)tst-rxspencer-mem): Change target to
7214 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7215 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7216 * posix/tst-rxspencer-no-utf8.c: New file.
7218 * elf/Makefile ($(objpfx)order.out): Remove rule.
7219 [$(run-built-tests) = yes] (tests): Depend on
7220 $(objpfx)order-cmp.out.
7221 ($(objpfx)order-cmp.out): New rule.
7222 [$(run-built-tests) = yes] (tests): Depend on
7223 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7224 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7225 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7226 $(objpfx)tst-array5-static-cmp.out.
7227 ($(objpfx)tst-array1.out): Remove rule.
7228 ($(objpfx)tst-array1-cmp.out): New rule.
7229 ($(objpfx)tst-array1-static.out): Remove rule.
7230 ($(objpfx)tst-array1-static-cmp.out): New rule.
7231 ($(objpfx)tst-array2.out): Remove rule.
7232 ($(objpfx)tst-array2-cmp.out): New rule.
7233 ($(objpfx)tst-array3.out): Remove rule.
7234 ($(objpfx)tst-array3-cmp.out): New rule.
7235 ($(objpfx)tst-array4.out): Remove rule.
7236 ($(objpfx)tst-array4-cmp.out): New rule.
7237 ($(objpfx)tst-array5.out): Remove rule.
7238 ($(objpfx)tst-array5-cmp.out): New rule.
7239 ($(objpfx)tst-array5-static.out): Remove rule.
7240 ($(objpfx)tst-array5-static-cmp.out): New rule.
7241 [$(run-built-tests) = yes] (tests): Depend on
7242 $(objpfx)order2-cmp.out.
7243 ($(objpfx)order2.out): Remove rule.
7244 ($(objpfx)order2-cmp.out): New rule.
7245 ($(objpfx)tst-initorder.out): Remove rule.
7246 [$(run-built-tests) = yes] (tests): Depend on
7247 $(objpfx)tst-initorder-cmp.out.
7248 ($(objpfx)tst-initorder-cmp.out): New rule.
7249 ($(objpfx)tst-initorder2.out): Remove rule.
7250 [$(run-built-tests) = yes] (tests): Depend on
7251 $(objpfx)tst-initorder2-cmp.out.
7252 ($(objpfx)tst-initorder2-cmp.out): New rule.
7253 [$(run-built-tests) = yes] (tests): Depend on
7254 $(objpfx)tst-unused-dep-cmp.out.
7255 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7256 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7257 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7258 on $(objpfx)tst-setvbuf1-cmp.out.
7259 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7260 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7261 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7262 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7263 ($(objpfx)tst-svc.out): Remove rule.
7264 ($(objpfx)tst-svc-cmp.out): New rule.
7266 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7268 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7269 * ctype/ctype.h [__USE_MISC]: Likewise.
7270 * dirent/dirent.h [__USE_MISC]: Likewise.
7271 * grp/grp.h [__USE_MISC]: Likewise.
7272 * io/fcntl.h [__USE_MISC]: Likewise.
7273 * io/sys/stat.h [__USE_MISC]: Likewise.
7274 * libio/stdio.h [__USE_MISC]: Likewise.
7275 * posix/unistd.h [__USE_MISC]: Likewise.
7276 * pwd/pwd.h [__USE_MISC]: Likewise.
7277 * stdlib.h [__USE_MISC]: Likewise.
7278 * string/bits/string2.h [__USE_MISC]: Likewise.
7279 * string/string.h [__USE_MISC]: Likewise.
7280 * time/time.h [__USE_MISC]: Likewise.
7282 2014-02-13 Andreas Schwab <schwab@suse.de>
7285 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7286 second answer buffer if it was separately allocated.
7288 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7290 * sysdeps/mips/math-tests.h: Include <features.h>.
7291 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7292 (ROUNDING_TESTS_long_double): Do not define.
7293 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7294 (EXCEPTION_TESTS_long_double): Likewise.
7295 * sysdeps/mips/mips64/libm-test-ulps: Update.
7297 * include/features.h (__USE_BSD): Remove macro definitions.
7298 (__USE_SVID): Likewise.
7299 (_BSD_SOURCE): Likewise.
7300 (_SVID_SOURCE): Likewise.
7301 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7302 from definition of _DEFAULT_SOURCE.
7303 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7305 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7306 * bits/mman.h [__USE_BSD]: Likewise.
7307 * bits/termios.h [__USE_BSD]: Likewise.
7308 * bits/waitstatus.h [__USE_BSD]: Likewise.
7309 * ctype/ctype.h [__USE_SVID]: Likewise.
7310 * dirent/dirent.h [__USE_BSD]: Likewise.
7311 * grp/grp.h [__USE_SVID]: Likewise.
7312 [__USE_BSD]: Likewise.
7313 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7314 * io/fcntl.h [__USE_BSD]: Likewise.
7315 * io/ftw.h [__USE_BSD]: Likewise.
7316 * io/sys/stat.h [__USE_BSD]: Likewise.
7317 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7318 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7319 * libio/stdio.h [__USE_SVID]: Likewise.
7320 [__USE_BSD]: Likewise.
7321 * math/math.h [__USE_SVID]: Likewise.
7322 [__USE_BSD]: Likewise.
7323 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7324 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7325 * misc/search.h [__USE_SVID]: Likewise.
7326 * misc/sys/mman.h [__USE_BSD]: Likewise.
7327 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7328 * misc/sys/uio.h [__USE_BSD]: Likewise.
7329 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7330 * posix/glob.h [__USE_BSD]: Likewise.
7331 * posix/regex.h [__USE_BSD]: Likewise.
7332 * posix/sys/types.h [__USE_BSD]: Likewise.
7333 [__USE_SVID]: Likewise.
7334 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7335 * posix/sys/wait.h [__USE_BSD]: Likewise.
7336 [__USE_SVID]: Likewise.
7337 * posix/unistd.h [__USE_BSD]: Likewise.
7338 [__USE_SVID]: Likewise.
7339 * pwd/pwd.h [__USE_SVID]: Likewise.
7340 * resolv/netdb.h [__USE_BSD]: Likewise.
7341 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7342 * signal/signal.h [__USE_BSD]: Likewise.
7343 [__USE_SVID]: Likewise.
7344 * socket/sys/socket.h [__USE_BSD]: Likewise.
7345 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7346 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7347 [__USE_SVID]: Likewise.
7348 * string/bits/string2.h [__USE_BSD]: Likewise.
7349 [__USE_SVID]: Likewise.
7350 * string/bits/string3.h [__USE_BSD]: Likewise.
7351 * string/endian.h [__USE_BSD]: Likewise.
7352 * string/string.h [__USE_SVID]: Likewise.
7353 [__USE_BSD]: Likewise.
7354 * string/strings.h [__USE_BSD]: Likewise.
7355 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7356 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7357 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7358 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7359 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7360 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7362 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7364 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7365 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7367 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7368 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7370 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7372 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7373 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7374 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7376 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7378 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7379 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7380 * termios/termios.h [__USE_BSD]: Likewise.
7381 * time/sys/time.h [__USE_BSD]: Likewise.
7382 * time/time.h [__USE_BSD]: Likewise.
7383 [__USE_SVID]: Likewise.
7385 * Makefile (subdir_targets): Remove subdir_lint.out.
7387 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7388 (do-tst-printf): Likewise.
7389 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7390 $(objpfx)tst-printf.out.
7392 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7394 * Makerules (check-abi-%): Change target to
7395 $(objpfx)check-abi-%.out.
7396 (check-abi target): Update dependencies.
7397 (check-abi-pattern variable): Redirect output of diff to $@.
7398 (check-abi variable): Likewise.
7399 * elf/Makefile (check-abi): Update dependencies.
7401 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7403 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7404 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7406 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7407 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7408 value has largest subnormal exponent.
7409 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7410 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7411 * sysdeps/aarch64/soft-fp/sfp-machine.h
7412 (_FP_TININESS_AFTER_ROUNDING): New macro.
7413 * sysdeps/alpha/soft-fp/sfp-machine.h
7414 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7415 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7417 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7418 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7419 * sysdeps/mips/soft-fp/sfp-machine.h
7420 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7421 * sysdeps/powerpc/soft-fp/sfp-machine.h
7422 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7423 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7425 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7426 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7427 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7428 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7429 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7432 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7435 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7438 2014-02-12 Richard Henderson <rth@redhat.com>
7440 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7441 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7442 * sysdeps/unix/sysv/linux/alpha: Move directory from
7443 ports/sysdeps/unix/sysv/linux/alpha.
7444 * README: Update listing for alpha-*-linux-gnu.
7446 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7448 * include/features.h: Update comment documenting feature test
7450 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7452 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7453 (_SVID_SOURCE): Likewise.
7454 (_DEFAULT_SOURCE): Update description of default features.
7455 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7457 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7458 (S_ISVTX): Likewise.
7459 * manual/math.texi (Mathematical Constants): Likewise.
7460 * manual/signal.texi (Interrupted Primitives): Likewise.
7461 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7462 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7463 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7464 Don't refer to _SVID_SOURCE in warning text.
7466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7468 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7470 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7471 * sysdeps/mips/dl-lookup.c: Remove.
7472 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7474 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7477 * math/auto-libm-test-in: Add testcase for expl.
7478 * math/auto-libm-test-out: Regenerate.
7479 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7480 calculation of unsafe.
7481 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7483 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7485 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7486 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7487 ports/sysdeps/unix/sysv/linux/aarch64.
7488 * README: Update listing for aarch64*-*-linux-gnu.
7490 2014-02-11 Will Newton <will.newton@linaro.org>
7492 * manual/probes.texi (Mathematical Function Probes): Use
7493 "triggered" instead of "hit".
7495 * manual/probes.texi (Internal Probes): Add documentation
7496 of setjmp, longjmp and longjmp_target probes.
7498 * include/stap-probe.h: Add comment about probe argument
7501 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7502 definition. (tr_where, tr_freehook, tr_mallochook,
7503 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7505 2014-02-11 David S. Miller <davem@davemloft.net>
7507 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7508 processing int_tests.
7510 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7512 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7513 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7514 * sysdeps/unix/sysv/linux/mips: Move directory from
7515 ports/sysdeps/unix/sysv/linux/mips.
7516 * README: Update listing for mips-*-linux-gnu and
7519 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7521 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7522 * sysdeps/unix/sysv/linux/m68k: Move directory from
7523 ports/sysdeps/unix/sysv/linux/m68k.
7524 * README: Update listing for m68k-*-linux-gnu.
7526 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7528 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7529 * sysdeps/unix/sysv/linux/generic: Move directory from
7530 ports/sysdeps/unix/sysv/linux/generic.
7531 * sysdeps/unix/sysv/linux/tile: Move directory from
7532 ports/sysdeps/unix/sysv/linux/tile.
7533 * README: Update listing for tile*-*-linux-gnu.
7535 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7537 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7539 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7540 * catgets/open_catalog.c (__open_catalog): Likewise.
7541 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7542 * debug/confstr_chk.c: Likewise.
7543 * debug/fread_chk.c (__fread_chk): Likewise.
7544 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7545 * debug/getgroups_chk.c: Likewise.
7546 * debug/mbsnrtowcs_chk.c: Likewise.
7547 * debug/mbsrtowcs_chk.c: Likewise.
7548 * debug/mbstowcs_chk.c: Likewise.
7549 * debug/memcpy_chk.c: Likewise.
7550 * debug/memmove_chk.c: Likewise.
7551 * debug/mempcpy_chk.c: Likewise.
7552 * debug/memset_chk.c: Likewise.
7553 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7554 * debug/strcat_chk.c (__strcat_chk): Likewise.
7555 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7556 * debug/strncat_chk.c (__strncat_chk): Likewise.
7557 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7558 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7559 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7560 * debug/wcpncpy_chk.c: Likewise.
7561 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7562 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7563 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7564 * debug/wcsncpy_chk.c: Likewise.
7565 * debug/wcsnrtombs_chk.c: Likewise.
7566 * debug/wcsrtombs_chk.c: Likewise.
7567 * debug/wcstombs_chk.c: Likewise.
7568 * debug/wmemcpy_chk.c: Likewise.
7569 * debug/wmemmove_chk.c: Likewise.
7570 * debug/wmempcpy_chk.c: Likewise.
7571 * debug/wmemset_chk.c: Likewise.
7572 * dirent/scandirat.c (SCANDIRAT): Likewise.
7573 * dlfcn/dladdr1.c (dladdr1): Likewise.
7574 * dlfcn/dladdr.c (dladdr): Likewise.
7575 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7576 * dlfcn/dlerror.c (__dlerror): Likewise.
7577 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7578 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7579 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7580 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7581 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7582 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7583 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7584 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7586 * elf/dl-conflict.c: Likewise.
7587 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7588 * elf/dl-dst.h: Likewise.
7589 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7590 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7591 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7592 * elf/dl-init.c (call_init, _dl_init): Likewise.
7593 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7594 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7595 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7597 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7599 * elf/dl-minimal.c (__libc_memalign): Likewise.
7600 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7601 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7602 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7603 * elf/dl-sym.c (do_sym): Likewise.
7604 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7605 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7606 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7607 * elf/dl-writev.h (_dl_writev): Likewise.
7608 * elf/ldconfig.c (search_dir): Likewise.
7609 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7610 (dl_main): Likewise.
7611 * elf/setup-vdso.h (setup_vdso): Likewise.
7612 * grp/compat-initgroups.c (compat_call): Likewise.
7613 * grp/fgetgrent.c (fgetgrent): Likewise.
7614 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7615 * grp/putgrent.c (putgrent): Likewise.
7616 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7618 * hurd/hurdinit.c: Likewise.
7619 * iconvdata/8bit-gap.c (struct): Likewise.
7620 * iconvdata/ansi_x3.110.c : Likewise.
7621 * iconvdata/big5.c : Likewise.
7622 * iconvdata/big5hkscs.c : Likewise.
7623 * iconvdata/cp1255.c: Likewise.
7624 * iconvdata/cp1258.c : Likewise.
7625 * iconvdata/cp932.c : Likewise.
7626 * iconvdata/euc-cn.c: Likewise.
7627 * iconvdata/euc-jisx0213.c : Likewise.
7628 * iconvdata/euc-jp.c: Likewise.
7629 * iconvdata/euc-jp-ms.c : Likewise.
7630 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7631 * iconvdata/gb18030.c : Likewise.
7632 * iconvdata/gbbig5.c (const): Likewise.
7633 * iconvdata/gbgbk.c: Likewise.
7634 * iconvdata/gbk.c : Likewise.
7635 * iconvdata/ibm1364.c : Likewise.
7636 * iconvdata/ibm930.c : Likewise.
7637 * iconvdata/ibm932.c: Likewise.
7638 * iconvdata/ibm933.c : Likewise.
7639 * iconvdata/ibm935.c : Likewise.
7640 * iconvdata/ibm937.c : Likewise.
7641 * iconvdata/ibm939.c : Likewise.
7642 * iconvdata/ibm943.c: Likewise.
7643 * iconvdata/iso_11548-1.c: Likewise.
7644 * iconvdata/iso-2022-cn.c : Likewise.
7645 * iconvdata/iso-2022-cn-ext.c : Likewise.
7646 * iconvdata/iso-2022-jp-3.c: Likewise.
7647 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7648 * iconvdata/iso-2022-kr.c : Likewise.
7649 * iconvdata/iso646.c (gconv_end): Likewise.
7650 * iconvdata/iso_6937-2.c : Likewise.
7651 * iconvdata/iso_6937.c : Likewise.
7652 * iconvdata/iso8859-1.c: Likewise.
7653 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7654 * iconvdata/shift_jisx0213.c : Likewise.
7655 * iconvdata/sjis.c : Likewise.
7656 * iconvdata/t.61.c : Likewise.
7657 * iconvdata/tcvn5712-1.c : Likewise.
7658 * iconvdata/tscii.c: Likewise.
7659 * iconvdata/uhc.c : Likewise.
7660 * iconvdata/unicode.c (gconv_end): Likewise.
7661 * iconvdata/utf-16.c (gconv_end): Likewise.
7662 * iconvdata/utf-32.c (gconv_end): Likewise.
7663 * iconvdata/utf-7.c (base64): Likewise.
7664 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7665 * iconv/gconv_close.c (__gconv_close): Likewise.
7666 * iconv/gconv_open.c (__gconv_open): Likewise.
7667 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7668 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7669 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7670 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7671 (ucs4le_internal_loop_single): Likewise.
7672 * iconv/iconv.c (iconv): Likewise.
7673 * iconv/iconv_close.c: Likewise.
7674 * iconv/loop.c (SINGLE): Likewise.
7675 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7676 * include/atomic.h: Likewise.
7677 * inet/inet6_option.c (option_alloc): Likewise.
7678 * intl/bindtextdom.c (set_binding_values): Likewise.
7679 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7680 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7681 * intl/localealias.c (read_alias_file): Likewise.
7682 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7683 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7684 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7685 * libio/fmemopen.c (fmemopen): Likewise.
7686 * libio/iofgets.c (_IO_fgets): Likewise.
7687 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7688 * libio/iofgetws.c (fgetws): Likewise.
7689 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7690 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7691 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7692 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7693 * locale/findlocale.c (_nl_find_locale): Likewise.
7694 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7695 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7697 * locale/setlocale.c (setlocale): Likewise.
7698 * login/programs/pt_chown.c (main): Likewise.
7699 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7700 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7701 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7702 (mmap, mmap64, mremap, munmap): Likewise.
7703 * math/e_exp2l.c: Likewise.
7704 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7705 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7706 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7707 * math/s_catan.c (__catan): Likewise.
7708 * math/s_catanf.c (__catanf): Likewise.
7709 * math/s_catanh.c (__catanh): Likewise.
7710 * math/s_catanhf.c (__catanhf): Likewise.
7711 * math/s_catanhl.c (__catanhl): Likewise.
7712 * math/s_catanl.c (__catanl): Likewise.
7713 * math/s_ccosh.c (__ccosh): Likewise.
7714 * math/s_ccoshf.c (__ccoshf): Likewise.
7715 * math/s_ccoshl.c (__ccoshl): Likewise.
7716 * math/s_cexp.c (__cexp): Likewise.
7717 * math/s_cexpf.c (__cexpf): Likewise.
7718 * math/s_cexpl.c (__cexpl): Likewise.
7719 * math/s_clog10.c (__clog10): Likewise.
7720 * math/s_clog10f.c (__clog10f): Likewise.
7721 * math/s_clog10l.c (__clog10l): Likewise.
7722 * math/s_clog.c (__clog): Likewise.
7723 * math/s_clogf.c (__clogf): Likewise.
7724 * math/s_clogl.c (__clogl): Likewise.
7725 * math/s_csin.c (__csin): Likewise.
7726 * math/s_csinf.c (__csinf): Likewise.
7727 * math/s_csinh.c (__csinh): Likewise.
7728 * math/s_csinhf.c (__csinhf): Likewise.
7729 * math/s_csinhl.c (__csinhl): Likewise.
7730 * math/s_csinl.c (__csinl): Likewise.
7731 * math/s_csqrt.c (__csqrt): Likewise.
7732 * math/s_csqrtf.c (__csqrtf): Likewise.
7733 * math/s_csqrtl.c (__csqrtl): Likewise.
7734 * math/s_ctan.c (__ctan): Likewise.
7735 * math/s_ctanf.c (__ctanf): Likewise.
7736 * math/s_ctanh.c (__ctanh): Likewise.
7737 * math/s_ctanhf.c (__ctanhf): Likewise.
7738 * math/s_ctanhl.c (__ctanhl): Likewise.
7739 * math/s_ctanl.c (__ctanl): Likewise.
7740 * math/w_pow.c: Likewise.
7741 * math/w_powf.c: Likewise.
7742 * math/w_powl.c: Likewise.
7743 * math/w_scalb.c (sysv_scalb): Likewise.
7744 * math/w_scalbf.c (sysv_scalbf): Likewise.
7745 * math/w_scalbl.c (sysv_scalbl): Likewise.
7746 * misc/error.c (error_tail): Likewise.
7747 * misc/pselect.c (__pselect): Likewise.
7748 * nis/nis_callback.c (__nis_create_callback): Likewise.
7749 * nis/nis_call.c (__nisfind_server): Likewise.
7750 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7751 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7752 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7753 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7754 * nis/nis_lookup.c (nis_lookup): Likewise.
7755 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7756 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7757 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7758 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7759 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7760 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7761 * nis/nss_compat/compat-initgroups.c (add_group)
7762 (internal_getgrent_r): Likewise.
7763 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7764 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7765 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7766 (internal_getspnam_r): Likewise.
7767 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7768 (_nss_nis_getaliasbyname_r): Likewise.
7769 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7770 (_nss_nis_getntohost_r): Likewise.
7771 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7772 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7773 (_nss_nis_getgrgid_r): Likewise.
7774 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7775 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7776 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7777 (_nss_nis_gethostbyname4_r): Likewise.
7778 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7779 (initgroups_netid): Likewise.
7780 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7781 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7782 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7783 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7784 (_nss_nis_getprotobynumber_r): Likewise.
7785 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7786 (_nss_nis_getsecretkey): Likewise.
7787 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7788 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7789 (_nss_nis_getpwuid_r): Likewise.
7790 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7791 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7792 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7793 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7794 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7795 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7796 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7798 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7799 (_nss_nisplus_getntohost_r): Likewise.
7800 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7801 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7802 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7803 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7805 * nis/nss_nisplus/nisplus-initgroups.c
7806 (_nss_nisplus_initgroups_dyn): Likewise.
7807 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7808 (_nss_nisplus_getnetbyaddr_r): Likewise.
7809 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7810 (_nss_nisplus_getprotobynumber_r): Likewise.
7811 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7812 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7813 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7815 * nis/nss_nisplus/nisplus-service.c
7816 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7817 (_nss_nisplus_getservbyport_r): Likewise.
7818 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7819 (_nss_nisplus_getspnam_r): Likewise.
7820 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7822 * nscd/aicache.c (addhstaiX): Likewise.
7823 * nscd/cache.c (cache_search, prune_cache): Likewise.
7824 * nscd/connections.c (register_traced_file, send_ro_fd)
7825 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7826 (main_loop_epoll): Likewise.
7827 * nscd/grpcache.c (addgrbyX): Likewise.
7828 * nscd/hstcache.c (addhstbyX): Likewise.
7829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7830 * nscd/mem.c (gc, mempool_alloc): Likewise.
7831 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7832 (addinnetgrX): Likewise.
7833 * nscd/nscd-client.h (__nscd_acquire_maplock)
7834 (__nscd_drop_map_ref): Likewise.
7835 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7836 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7837 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7839 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7840 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7841 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7842 (__nscd_get_map_ref): Likewise.
7843 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7844 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7846 * nscd/pwdcache.c (addpwbyX): Likewise.
7847 * nscd/selinux.c (preserve_capabilities): Likewise.
7848 * nscd/servicescache.c (addservbyX): Likewise.
7849 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7850 * posix/fnmatch.c (fnmatch): Likewise.
7851 * posix/getopt.c (_getopt_internal_r): Likewise.
7852 * posix/glob.c (glob, glob_in_dir): Likewise.
7853 * posix/wordexp.c (exec_comm_child): Likewise.
7854 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7855 (getanswer_r, gaih_getanswer_slice): Likewise.
7856 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7857 * resolv/res_init.c: Likewise.
7858 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7859 * resolv/res_query.c (__libc_res_nquery): Likewise.
7860 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7862 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7863 * stdio-common/perror.c (perror): Likewise.
7864 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7865 * stdio-common/tmpnam.c (tmpnam): Likewise.
7866 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7867 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7868 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7870 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7871 * stdlib/putenv.c (putenv): Likewise.
7872 * stdlib/setenv.c (__add_to_environ): Likewise.
7873 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7874 * stdlib/strtol_l.c (INTERNAL): Likewise.
7875 * string/memmem.c (memmem): Likewise.
7876 * string/strerror.c (strerror): Likewise.
7877 * string/strnlen.c (__strnlen): Likewise.
7878 * string/test-memmem.c (simple_memmem): Likewise.
7879 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7880 * sunrpc/pm_getport.c (__get_socket): Likewise.
7881 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7882 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7883 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7884 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7886 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7887 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7888 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7889 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7890 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7891 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7893 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7895 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7896 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7897 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7898 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7899 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7901 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7902 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7903 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7904 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7905 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7906 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7908 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7910 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7912 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7913 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7914 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7915 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7916 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7917 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7918 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7919 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7921 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7922 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7923 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7924 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7925 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7926 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7927 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7929 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7931 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7933 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7935 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7936 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7937 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7939 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7940 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7941 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7942 * sysdeps/posix/sleep.c: Likewise.
7943 * sysdeps/posix/tempname.c: Likewise.
7944 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7945 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7947 * sysdeps/powerpc/powerpc32/dl-machine.h
7948 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7949 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7950 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7951 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7952 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7954 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7955 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7956 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7957 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7958 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7959 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7960 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7961 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7962 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7963 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7964 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7965 (elf_machine_lazy_rel): Likewise.
7966 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7967 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7968 (elf_machine_lazy_rel): Likewise.
7969 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7970 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7971 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7972 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7973 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7974 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7975 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7976 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7978 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7979 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7980 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7981 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7982 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7983 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7984 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7985 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7986 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7987 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7988 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7990 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7991 (__posix_fallocate64_l64): Likewise.
7992 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7993 (posix_fallocate): Likewise.
7994 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7996 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7997 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7998 (getifaddrs_internal): Likewise.
7999 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8000 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8001 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8002 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8003 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8004 (__posix_fallocate64_l64): Likewise.
8005 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8007 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8008 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8009 (__get_clockfreq): Likewise.
8010 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8011 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8012 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8013 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8014 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8015 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8016 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8017 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8019 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8020 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8021 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8022 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8023 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8024 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8025 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8027 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8028 (posix_fallocate): Likewise.
8029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8030 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8031 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8032 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8033 (elf_machine_rela, elf_machine_rela_relative)
8034 (elf_machine_lazy_rel): Likewise.
8035 * time/asctime.c (asctime_internal): Likewise.
8036 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8037 * time/tzset.c (__tzset_parse_tz): Likewise.
8038 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8039 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8040 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8041 * wcsmbs/wcsmbsload.h: Likewise.
8044 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8046 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8047 (arena_get2): Remove THREAD_STATS conditionals.
8048 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8049 (__malloc_stats, int): Likewise.
8051 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8053 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8054 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8056 * manual/setjmp.texi: Fix typos/grammar errors.
8058 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8059 Only return early when n is <= 0. Delete unused return statement.
8061 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8062 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8063 * debug/tst-longjmp_chk3.c: New file.
8065 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8066 (test_main): Replace code with set_fortify_handler call.
8067 * debug/test-strcpy_chk.c: Likewise.
8068 * debug/tst-chk1.c: Likewise.
8069 * debug/tst-longjmp_chk.c: Likewise.
8070 * test-skeleton.c: Include fcntl.h & paths.h
8071 (set_fortify_handler): Define.
8073 * debug/tst-longjmp_chk.c: Add header comment and include
8075 (do_test): Mark static.
8076 (TEST_FUNCTION): Define.
8078 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8079 (IP_PMTUDISC_INTERFACE): Likewise.
8080 (IP_MULTICAST_IF): Likewise.
8081 (IP_MULTICAST_TTL): Likewise.
8082 (IP_MULTICAST_LOOP): Likewise.
8083 (IP_ADD_MEMBERSHIP): Likewise.
8084 (IP_DROP_MEMBERSHIP): Likewise.
8085 (IP_UNBLOCK_SOURCE): Likewise.
8086 (IP_BLOCK_SOURCE): Likewise.
8087 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8088 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8089 (IP_MSFILTER): Likewise.
8090 (MCAST_JOIN_GROUP): Likewise.
8091 (MCAST_BLOCK_SOURCE): Likewise.
8092 (MCAST_UNBLOCK_SOURCE): Likewise.
8093 (MCAST_LEAVE_GROUP): Likewise.
8094 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8095 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8096 (MCAST_MSFILTER): Likewise.
8097 (IP_MULTICAST_ALL): Likewise.
8098 (IP_UNICAST_IF): Likewise.
8100 * timezone/Makefile: Delete $(have-ksh) check.
8101 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8102 * timezone/tzselect.ksh: Add +x mode bits.
8104 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8105 (ANON_INODE_FS_MAGIC): Likewise.
8106 (BDEVFS_MAGIC): Likewise.
8107 (BINFMTFS_MAGIC): Likewise.
8108 (BTRFS_TEST_MAGIC): Likewise.
8109 (CRAMFS_MAGIC_WEND): Likewise.
8110 (DEBUGFS_MAGIC): Likewise.
8111 (ECRYPTFS_SUPER_MAGIC): Likewise.
8112 (EXT3_SUPER_MAGIC): Likewise.
8113 (EXT4_SUPER_MAGIC): Likewise.
8114 (FUTEXFS_SUPER_MAGIC): Likewise.
8115 (HOSTFS_SUPER_MAGIC): Likewise.
8116 (HUGETLBFS_MAGIC): Likewise.
8117 (MINIX3_SUPER_MAGIC): Likewise.
8118 (MTD_INODE_FS_MAGIC): Likewise.
8119 (NILFS_SUPER_MAGIC): Likewise.
8120 (OPENPROM_SUPER_MAGIC): Likewise.
8121 (PIPEFS_MAGIC): Likewise.
8122 (PSTOREFS_MAGIC): Likewise.
8123 (QNX6_SUPER_MAGIC): Likewise.
8124 (RAMFS_MAGIC): Likewise.
8125 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8126 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8127 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8128 (SECURITYFS_MAGIC): Likewise.
8129 (SELINUX_MAGIC): Likewise.
8130 (SMACK_MAGIC): Likewise.
8131 (SOCKFS_MAGIC): Likewise.
8132 (SQUASHFS_MAGIC): Likewise.
8133 (STACK_END_MAGIC): Likewise.
8134 (TMPFS_MAGIC): Likewise.
8135 (USBDEVICE_SUPER_MAGIC): Likewise.
8136 (V9FS_MAGIC): Likewise.
8137 (XENFS_SUPER_MAGIC): Likewise.
8138 (CRAMFS_MAGIC): Fix typo in comment.
8139 (EXT2_SUPER_MAGIC): Update comment.
8140 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8142 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8144 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8145 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8146 * sysdeps/unix/sysv/linux/arm: Move directory from
8147 ports/sysdeps/unix/sysv/linux/arm.
8148 * README: Update listing for arm-*-linux-gnueabi.
8150 * README: Remove mention of am33.
8152 2014-02-07 Roland McGrath <roland@hack.frob.com>
8154 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8155 than the comma operator, to avoid "rhs of comma has no effect"
8157 (__sigfillset, __sigandset, __sigorset): Likewise.
8158 * include/signal.h (__sigemptyset): Likewise.
8159 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8161 2014-02-07 Allan McRae <allan@archlinux.org>
8163 * version.h (RELEASE): Set to "development".
8164 (VERSION): Set to "2.19.90"
8165 * NEWS: Add 2.20 section.
8167 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8170 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8172 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8174 * manual/contrib.texi: Update entry for Carlos O'Donell,
8175 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8177 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8179 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8181 * sysdeps/unix/sysv/linux/kernel-features.h
8182 [__LINUX_KERNEL_VERSION >= 0x020621]
8183 (__ASSUME_PROC_PID_TASK_COMM): Define.
8185 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8188 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8189 conversion when destination buffer does not have enough space.
8190 * libio/tst-ftell-partial-wide.c: New test case.
8191 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8193 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8194 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8195 Leonard and Allan McRae.
8197 2014-02-04 David S. Miller <davem@davemloft.net>
8199 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8202 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8231 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8233 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8234 * shlib-versions: Likewise.
8236 2014-02-04 Roland McGrath <roland@hack.frob.com>
8237 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8239 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8240 (abilist-pattern): New variable, set to %-le.abilist.
8242 * Makerules (abilist-pattern): New variable.
8243 (vpath): Use $(abilist-pattern) in place of %.abilist.
8244 (check-abi-% pattern rule): Likewise.
8245 (check-abi, update-abi): Likewise.
8247 2014-02-04 Eric Wong <normalperson@yhbt.net>
8249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8251 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8253 * manual/startup.texi: Add next, previous, and top entries for
8254 the `Program Arguments' and `Environment Variables' nodes.
8256 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8258 * manual/macros.texi: Add comments before MTASC-safety macros.
8260 * manual/users.texi: Document MTASC-safety properties.
8262 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8263 (pthread_getspecific, pthread_setspecific): Format with
8264 @deftypefun, and add @safety note.
8265 * manual/signal.texi: Move comments that analyze the above
8266 functions to their home place.
8268 2014-02-03 Allan McRae <allan@archlinux.org>
8270 * po/sl.po: Update Slovenian translation from translation project.
8272 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8274 * manual/time.texi (timegm): Add missing blank after @c.
8275 Reported by Joseph Myers <joseph@codesourcery.com>.
8277 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8279 * manual/check-safety.sh: New.
8280 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8282 * manual/terminal.texi: Document MTASC-safety properties.
8284 * manual/filesys.texi: Document MTASC-safety properties.
8286 * manual/errno.texi: Document MTASC-safety properties.
8288 * manual/intro.texi: Document safety identifiers and
8291 * manual/string.texi (wcstok): Fix prototype.
8292 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8294 * manual/time.texi: Document MTASC-safety properties.
8296 * manual/string.texi: Document MTASC-safety properties.
8298 * manual/threads.texi: Document MTASC-safety properties.
8300 * manual/stdio.texi: Document MTASC-safety properties.
8302 * manual/syslog.texi: Document MTASC-safety properties.
8304 * manual/sysinfo.texi: Document MTASC-safety properties.
8306 * manual/startup.texi: Document MTASC-safety properties.
8308 * manual/socket.texi: Document MTASC-safety properties.
8310 * manual/signal.texi: Document MTASC-safety properties.
8312 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8314 * manual/setjmp.texi: Document MTASC-safety properties.
8316 * manual/search.texi: Document MTASC-safety properties.
8318 * manual/resource.texi: Document MTASC-safety properties.
8320 * manual/process.texi: Document MTASC-safety properties.
8322 * manual/platform.texi: Document MTASC-safety properties.
8324 * manual/pipe.texi: Document MTASC-safety properties.
8326 * manual/pattern.texi: Document MTASC-safety properties.
8328 * manual/message.texi: Document MTASC-safety properties.
8331 * manual/memory.texi: Document MTASC-safety properties.
8333 * manual/math.texi: Document MTASC-safety properties.
8335 * manual/locale.texi: Document MTASC-safety properties.
8337 * manual/llio.texi: Document MTASC-safety properties.
8339 * manual/libdl.texi: New.
8341 * manual/lang.texi: Document MTASC-safety properties.
8343 * manual/job.texi: Document MTASC-safety properties.
8345 * manual/getopt.texi: Document MTASC-safety properties.
8347 * manual/ctype.texi: Document MTASC-safety properties.
8349 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8352 * csu/libc-tls.c (static_map): Remove variable.
8353 (__libc_setup_tls): Use main executable's link map for TLS data.
8354 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8355 casing for LM_ID_BASE and GL(dl_nns).
8356 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8357 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8358 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8359 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8360 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8362 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8365 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8367 * manual/debug.texi: Document MTASC-safety properties.
8369 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8372 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8373 of __x86_64__ when disabling x87 inline functions.
8375 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8377 * manual/charset.texi: Document MTASC-safety properties.
8379 * manual/crypt.texi: Document MTASC-safety properties.
8381 * manual/conf.texi: Document MTASC-safety properties.
8383 * manual/arith.texi: Document MTASC-safety properties.
8385 * manual/argp.texi: Document MTASC-safety properties.
8387 * manual/macros.texi: Introduce macros to document multi
8388 thread, asynchronous signal and asynchronous cancellation
8390 * manual/intro.texi: Introduce the properties themselves.
8392 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8394 * sysdeps/sh/sh4/Makefile: New file.
8396 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8398 * math/gen-libm-test.pl ($srcdir): New variable.
8399 ($auto_input): Use it.
8401 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8404 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8405 access beyond array bounds when parsing netgroups file.
8407 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8408 the old buffer before realloc.
8410 2014-01-27 Allan McRae <allan@archlinux.org>
8412 * po/fr.po: Update French translation from translation project.
8414 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8416 * sysdeps/sh/libm-test-ulps: Regenerate.
8418 2014-01-24 David S. Miller <davem@davemloft.net>
8420 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8422 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8424 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8425 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8427 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8430 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8431 string pointers after reallocation.
8433 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8435 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8436 __SH4A__ instead of __SH_FPU_ANY__.
8438 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8440 * sysdeps/sh/fpu_control.h: New file.
8441 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8442 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8443 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8444 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8445 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8446 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8447 * sysdeps/sh/sys/ucontext.h: Remove.
8448 * sysdeps/sh/sys: Remove directory.
8450 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8452 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8453 s390/sys/ucontext.h.
8454 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8455 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8457 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8460 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8462 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8465 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8466 Adjust the vDSO correctly for internal calls.
8467 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8469 2014-01-20 Allan McRae <allan@archlinux.org>
8471 * po/ca.po: Update Catalan translation from translation project.
8473 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8475 * sysdeps/s390/sotruss-lib.c: New file.
8477 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8480 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8481 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8482 local calls issues by not having a PLT stub required for IFUNC calls.
8483 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8485 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8487 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8488 * math/test-fpucw-static.c: Likewise.
8490 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8493 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8495 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8497 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8498 implementation for powerpc.
8500 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8503 * sysdeps/posix/system.c (__libc_system): Do not enable
8504 asynchronous cancellation.
8506 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8509 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8510 handling only for numbers special also in the IEEE case.
8512 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8514 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8516 2014-01-11 Allan McRae <allan@archlinux.org>
8518 * po/bg.po: Update Bulgarian translation from translation project.
8520 * po/de.po: Update German translation from translation project.
8522 2014-01-10 Roland McGrath <roland@hack.frob.com>
8524 * sysdeps/generic/gcc-compat.h: New file.
8526 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8528 * benchtests/asin-inputs: Correct slow inputs.
8529 * benchtests/acos-inputs: Likewise.
8531 2014-01-10 Allan McRae <allan@archlinux.org>
8533 * po:sv.po: Update Swedish translation from translation project.
8535 * po/vi.po: Update Vietnamese translation from translation project.
8537 * po/eo.po: Update Esperanto translation from translation project.
8539 * po/cs.po: Update Czech translation from translation project.
8541 * po/nl.po: Update Dutch translation from translation project.
8543 * po/pl.po: Update Polish translation from translation project.
8545 * po/ru.po: Update Russian translation from translation project.
8547 * po/uk.po: Update Ukrainian translation from translation project.
8549 2014-01-08 Brooks Moses <bmoses@google.com>
8551 * elf/dl-load.c: Fix comment typo.
8553 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8555 * po/header.pot: Rename to...
8556 * po/pot.header: ... this.
8557 * po/Makefile: Use pot.header.
8559 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8560 Maxim Kuvyrkov <maxim@kugelworks.com>
8563 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8564 SRC and DEST against LEN.
8566 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8569 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8571 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8573 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8577 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8580 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8581 for large positive arguments.
8583 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8585 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8587 * math/auto-libm-test-in: Mark various tests with
8588 xfail-rounding:ldbl-128ibm.
8589 * math/auto-libm-test-out: Regenerated.
8592 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8593 Increase overflow threshold.
8595 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8598 * stdio-common/vfprintf.c: Check for integer overflow.
8600 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8602 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8603 the first argument and return value of __tls_get_addr_internal.
8605 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8607 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8608 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8610 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8612 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8613 * sysdeps/s390/rtld-global-offsets.sym: New file.
8614 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8616 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8617 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8618 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8620 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8621 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8627 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8628 halfs of GPRs for high_gprs contexts.
8629 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8630 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8632 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8634 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8636 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8637 for high GPRs (uc_high_gprs) and for future extensions
8639 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8640 for future extensions (__reserved).
8641 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8643 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8644 SC_HIGHGPRS offset definition.
8645 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8646 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8648 * Versions.def: Add GLIBC_2.19 for libpthread.
8649 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8650 siglongjmp for libpthread with GLIBC_2.19 symver.
8651 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8652 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8653 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8654 * sysdeps/s390/__longjmp.c: New file.
8655 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8656 * sysdeps/s390/longjmp.c: New file.
8657 * sysdeps/s390/setjmp.S: New file.
8658 * sysdeps/s390/sigjmp.S: New file.
8659 * sysdeps/s390/v1-longjmp.c: New file.
8660 * sysdeps/s390/v1-setjmp.h: New file.
8661 * sysdeps/s390/v1-sigjmp.c: New file.
8662 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8663 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8665 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8666 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8667 versioned symbols for ____longjmp_chk.
8668 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8678 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8679 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8680 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8681 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8682 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8683 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8684 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8685 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8686 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8687 * sysdeps/s390/rtld-__longjmp.c: New file.
8688 * sysdeps/s390/rtld-setjmp.S: New file.
8690 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8693 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8694 Return -__logl (x) for small positive arguments without evaluating
8697 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8699 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8701 (__ptrace_peeksiginfo_args): ... this.
8702 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8703 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8704 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8706 2014-01-06 Allan McRae <allan@archlinux.org>
8708 * inet/netinet/in.h: Fix typo in comment.
8710 2014-01-05 Andreas Jaeger <aj@suse.de>
8712 * sysdeps/i386/fpu/libm-test-ulps: Update.
8714 2014-01-05 Allan McRae <allan@archlinux.org>
8716 * po/libc.pot: Regenerated.
8718 * malloc/memusagestat.c: Fix gettext call formatting.
8720 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8722 * nscd/nscd.c: Improve usage() output.
8724 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8726 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8727 * sysdeps/unix/sysv/linux/configure: Regenerated.
8728 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8729 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8731 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8734 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8735 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8737 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8739 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8740 extra tokens at end of #undef directive.
8741 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8742 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8743 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8745 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8747 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8749 * math/auto-libm-test-in: Mark various tests with
8750 xfail-rounding:ldbl-128ibm.
8751 * math/auto-libm-test-out: Regenerated.
8753 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8756 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8757 numbers with subnormal high part when calculating exponent.
8760 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8764 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8766 (__ieee754_acoshl): Use __log1pl not __log1p.
8768 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8770 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8771 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8772 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8773 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8774 (reused_arena, arena_get2): Convert to GNU style.
8775 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8776 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8777 (memalign_check, __malloc_set_state): Likewise.
8778 * malloc/mallocbug.c (main): Likewise.
8779 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8780 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8781 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8782 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8783 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8784 (__posix_memalign, malloc_info): Likewise.
8785 * malloc/malloc.h: Likewise.
8786 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8787 (mallochook, memalignhook, reallochook, mabort): Likewise.
8788 * malloc/mcheck.h: Likewise.
8789 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8790 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8791 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8792 * malloc/morecore.c (__default_morecore): Likewise.
8793 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8794 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8795 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8796 (print_and_abort): Likewise.
8797 * malloc/obstack.h: Likewise.
8798 * malloc/set-freeres.c (__libc_freeres): Likewise.
8799 * malloc/tst-mallocstate.c (main): Likewise.
8800 * malloc/tst-mtrace.c (main): Likewise.
8801 * malloc/tst-realloc.c (do_test): Likewise.
8803 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8806 * nscd/netgroupcache.c (do_notfound): New function.
8807 (addgetnetgrentX): Use it.
8810 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8811 NSS_STATUS_NOTFOUND.
8813 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8815 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8818 2014-01-01 Allan McRae <allan@archlinux.org>
8820 * scripts/update-copyrights: Update configure input file suffix.
8822 * NEWS: Update copyright year.
8823 * catgets/gencat.c: Likewise.
8824 * csu/version.c: Likewise.
8825 * debug/catchsegv.sh: Likewise.
8826 * debug/pcprofiledump.c: Likewise.
8827 * debug/xtrace.sh: Likewise.
8828 * elf/ldconfig.c: Likewise.
8829 * elf/ldd.bash.in: Likewise.
8830 * elf/pldd.c: Likewise.
8831 * elf/sotruss.ksh: Likewise.
8832 * elf/sprof.c: Likewise.
8833 * iconv/iconv_prog.c: Likewise.
8834 * iconv/iconvconfig.c: Likewise.
8835 * locale/programs/locale.c: Likewise.
8836 * locale/programs/localedef.c: Likewise.
8837 * login/programs/pt_chown.c: Likewise.
8838 * malloc/memusage.sh: Likewise.
8839 * malloc/memusagestat.c: Likewise.
8840 * malloc/mtrace.pl: Likewise.
8841 * manual/libc.texinfo: Likewise.
8842 * nscd/nscd.c: Likewise.
8843 * nss/getent.c: Likewise.
8844 * nss/makedb.c: Likewise.
8845 * posix/getconf.c: Likewise.
8846 * scripts/test-installation.pl: Likewise.
8848 * All files with FSF copyright notices: Update copyright dates
8849 using scripts/update-copyrights.
8850 * intl/plural.c: Regenerated.
8851 * locale/programs/charmap-kw.h: Likewise.
8852 * locale/programs/locfile-kw.h: Likewise.
8854 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8856 * sysdeps/unix/sysv/linux/configure: Regenerated.
8857 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8858 the linux/fanotify.h header.
8859 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8860 HAVE_LINUX_FANOTIFY_H is defined.
8862 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8864 * benchtests/cos-inputs: New inputs.
8865 * benchtests/sin-inputs: Likewise.
8867 * benchtests/atan-inputs: New inputs. Fix name of multiple
8868 precision fallback inputs.
8870 * benchtests/atanh-inputs: New inputs.
8871 * benchtests/tanh-inputs: Likewise.
8873 * benchtests/acosh-inputs: New inputs.
8874 * benchtests/asinh-inputs: Likewise.
8876 * benchtests/cosh-inputs: New inputs.
8877 * benchtests/sinh-inputs: Likewise.
8879 * benchtests/acos-inputs: Add more inputs.
8880 * benchtests/asin-inputs: Likewise.
8882 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8885 * manual/arith.texi: Fix spelling.
8886 * manual/charset.texi: Likewise.
8887 * manual/errno.texi: Likewise.
8888 * manual/filesys.texi: Likewise.
8889 * manual/lang.texi: Likewise.
8890 * manual/llio.texi: Likewise.
8891 * manual/locale.texi: Likewise.
8892 * manual/message.texi: Likewise.
8893 * manual/resource.texi: Likewise.
8894 * manual/search.texi: Likewise.
8895 * manual/setjmp.texi: Likewise.
8896 * manual/stdio.texi: Likewise.
8897 * manual/string.texi: Likewise.
8898 * manual/sysinfo.texi: Likewise.
8899 * manual/time.texi: Likewise.
8901 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8903 * po/sl.po: New file.
8905 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8907 * .gitignore: Add core/.gdbinit/.gdb_history.
8909 2013-12-27 Allan McRae <allan@archlinux.org>
8912 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8913 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8915 2013-12-24 Brooks Moses <bmoses@google.com>
8917 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8918 all compilers that claim C++98 compliance, not just GCC.
8919 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8922 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8924 * NEWS: Restore accidentally deleted bug-fix entries.
8926 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8927 Ondřej Bílka <neleai@seznam.cz>
8930 * malloc/malloc.c (_int_free): Perform sanity check only if we
8933 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8936 * manual/stdio.texi (String Input Conversions): Clarify that character
8937 classes are not supported.
8939 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8943 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8946 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8947 Calculate results for small negative arguments directly rather
8948 than using reflection formula with special underflow handling.
8950 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8951 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8952 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8953 (fchflags): Likewise.
8955 (setlogin): Likewise.
8956 (sigaltstack): Likewise.
8959 (sigsetmask): Likewise.
8961 (waitpid): Likewise.
8962 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8963 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8965 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8966 * sysdeps/unix/bsd/Makefile: ... here.
8967 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8968 * sysdeps/unix/bsd/Versions: ... here.
8969 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8970 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8971 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8972 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8973 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8974 * sysdeps/unix/bsd/sigblock.c: ... here.
8975 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8976 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8977 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8978 * sysdeps/unix/bsd/sigvec.c: ... here.
8979 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8980 * sysdeps/unix/bsd/tcdrain.c: ... here.
8981 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8982 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8983 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8984 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8985 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8986 * sysdeps/unix/bsd/wait.c: ... here.
8987 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8988 * sysdeps/unix/bsd/wait3.c: ... here.
8989 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8990 * sysdeps/unix/bsd/waitpid.c: ... here.
8992 2013-12-21 Joseph Myers <joseph@codesourcery.com>
8995 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8996 round-to-nearest for [!USE_AS_EXPM1L].
8997 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8998 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8999 more tests of exp and exp10. Expect some exp10 tests to miss
9000 exceptions or fail in directed rounding modes.
9001 * math/auto-libm-test-out: Regenerated.
9002 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9003 (exp10_test_tonearest): New function.
9004 (exp10_towardzero_test_data): New array.
9005 (exp10_test_towardzero): New function.
9006 (exp10_downward_test_data): New array.
9007 (exp10_test_downward): New function.
9008 (exp10_upward_test_data): New array.
9009 (exp10_test_upward): New function.
9010 (main): Call the new functions.
9011 * sysdeps/i386/fpu/libm-test-ulps: Update.
9012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9014 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9016 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9017 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9018 * math/auto-libm-test-out: Regenerated.
9019 * math/libm-test.inc (acosh_test_data): Add more tests.
9020 (atanh_test_data): Likewise.
9021 (ceil_test_data): Likewise.
9022 (copysign_test_data): Likewise.
9023 * sysdeps/i386/fpu/libm-test-ulps: Update.
9024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9026 * timezone/checktab.awk: Update from tzcode 2013i.
9027 * timezone/private.h: Likewise.
9028 * timezone/scheck.c: Likewise.
9029 * timezone/tzfile.h: Likewise.
9030 * timezone/tzselect.ksh: Likewise.
9031 * timezone/zdump.c: Likewise.
9032 * timezone/zic.c: Likewise.
9034 * math/auto-libm-test-in: Add tests of cpow.
9035 * math/auto-libm-test-out: Regenerated.
9036 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9037 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9039 (func_calc_desc): Add mpc_cc_c union field.
9040 (test_functions): Add cpow.
9041 (special_fill_2pi): New function.
9042 (special_real_inputs): Add 2pi.
9043 (calc_generic_results): Handle mpc_cc_c.
9044 * sysdeps/i386/fpu/libm-test-ulps: Update.
9045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9047 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9048 csqrt, ctan and ctanh.
9049 * math/auto-libm-test-out: Regenerated.
9050 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9051 (TEST_COND_x86): Likewise.
9052 (ccos_test_data): Use AUTO_TESTS_c_c.
9053 (ccosh_test_data): Likewise.
9054 (cexp_test_data): Likewise.
9055 (clog_test_data): Likewise.
9056 (csqrt_test_data): Likewise.
9057 (ctan_test_data): Likewise.
9058 (ctan_tonearest_test_data): Likewise.
9059 (ctan_towardzero_test_data): Likewise.
9060 (ctan_downward_test_data): Likewise.
9061 (ctan_upward_test_data): Likewise.
9062 (ctanh_test_data): Likewise.
9063 (ctanh_tonearest_test_data): Likewise.
9064 (ctanh_towardzero_test_data): Likewise.
9065 (ctanh_downward_test_data): Likewise.
9066 (ctanh_upward_test_data): Likewise.
9067 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9069 (func_calc_desc): Add mpc_c_c union field.
9070 (FUNC_mpc_c_c): New macro.
9071 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9072 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9074 (special_fill_min_subnorm_p120): New function.
9075 (special_real_inputs): Add min_subnorm_p120.
9076 (calc_generic_results): Handle mpc_c_c.
9077 * sysdeps/i386/fpu/libm-test-ulps: Update.
9078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9080 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9082 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9083 (do_sin_slow): New functions.
9084 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9085 (cslow2, csloww1, csloww2): Use the new functions.
9087 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9088 Use M to change sign of result instead of X. Assume X is
9090 (csloww1): Likewise.
9094 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9101 (sloww1): Don't adjust sign of DX.
9102 (csloww1): Likewise.
9103 (sloww2): Use X directly and don't adjust sign of DX.
9104 (csloww2): Likewise.
9106 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9108 * math/auto-libm-test-in: Add tests of cabs and carg.
9109 * math/auto-libm-test-out: Regenerated.
9110 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9111 (carg_test_data): Likewise.
9112 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9114 (func_calc_desc): Add mpc_c_f union field.
9115 (test_functions): Add cabs and carg.
9116 (calc_generic_results): Handle mpc_c_f.
9118 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9119 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9120 as a macro and a compat symbol.
9121 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9122 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9123 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9124 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9125 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9126 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9128 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9130 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9132 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9134 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9136 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9138 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9139 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9142 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9146 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9148 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9149 trailing whitespace removed.
9150 * scripts/config.guess: Update to version 2013-11-29.
9151 * scripts/config.sub: Update to version 2013-10-01.
9153 * math/auto-libm-test-in: Add tests of sincos.
9154 * math/auto-libm-test-out: Regenerated.
9155 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9156 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9158 (func_calc_desc): Add mpfr_f_11 union field.
9159 (test_functions): Add sincos.
9160 (calc_generic_results): Handle mpfr_f_11.
9161 * sysdeps/i386/fpu/libm-test-ulps: Update.
9162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9164 2013-12-19 Andreas Schwab <schwab@suse.de>
9166 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9168 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9169 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9170 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9172 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9174 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9175 * sysdeps/i386/fpu/libm-test-ulps: Update.
9176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9179 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9180 round-to-nearest mode when using frndint.
9181 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9182 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9183 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9185 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9187 * math/auto-libm-test-out: Regenerated.
9188 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9189 (TEST_COND_x86): Likewise.
9190 (expm1_tonearest_test_data): New array.
9191 (expm1_test_tonearest): New function.
9192 (expm1_towardzero_test_data): New array.
9193 (expm1_test_towardzero): New function.
9194 (expm1_downward_test_data): New array.
9195 (expm1_test_downward): New function.
9196 (expm1_upward_test_data): New array.
9197 (expm1_test_upward): New function.
9198 (main): Run the new test functions.
9199 * sysdeps/i386/fpu/libm-test-ulps: Update.
9200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9202 * include/features.h: Update comment documenting feature test
9203 macros. Mention _DEFAULT_SOURCE in comment.
9204 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9205 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9206 _BSD_SOURCE and _SVID_SOURCE.
9207 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9208 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9209 !_SVID_SOURCE]: Likewise.
9210 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9211 (__USE_POSIX_IMPLICITLY): Define.
9212 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9213 (_POSIX_SOURCE): Undefine and redefine.
9214 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9215 (_POSIX_C_SOURCE): Likewise.
9216 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9217 (Feature Test Macros): Update documentation of default features.
9219 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9221 * benchtests/Makefile: Add bench-strtok.
9222 * benchtests/bench-strtok.c: New file: strtok benchtest.
9224 2013-12-19 Allan McRae <allan@archlinux.org>
9226 * manual/install.texi: Suppress menu for plain text output.
9227 * INSTALL: Regenerated.
9229 2013-12-18 Brooks Moses <bmoses@google.com>
9232 * misc/getauxval.c: Include errno.h.
9233 (__getauxval): Set errno to ENOENT if the requested type is not
9235 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9236 don't declare with __attribute_const__.
9237 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9238 * manual/startup.texi: Document that getauxval sets errno.
9240 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9242 * math/auto-libm-test-in: Add tests of jn and yn.
9243 * math/auto-libm-test-out: Regenerated.
9244 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9245 (yn_test_data): Likewise.
9246 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9248 (func_calc_desc): Add mpfr_if_f union field.
9249 (FUNC_mpfr_if_f): New macro.
9250 (test_functions): Add jn and yn.
9251 (calc_generic_results): Assert type of second input for
9252 mpfr_ff_f. Handle mpfr_if_f.
9253 (output_for_one_input_case): Disable all checking for arguments
9254 fitting floating-point types in case of an integer argument.
9255 * sysdeps/i386/fpu/libm-test-ulps: Update.
9256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9259 Don't expect fegetround reference in libm.so.
9261 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9263 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9264 $(config-cflags-nofma).
9266 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9268 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9269 * math/auto-libm-test-out: Regenerated.
9272 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9273 to determine exponent and adjust argument to have exponent of -1.
9274 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9276 * math/auto-libm-test-out: Regenerated.
9277 * sysdeps/i386/fpu/libm-test-ulps: Update.
9278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9280 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9282 * manual/probes.texi: Remove cases when per-thread arenas are
9285 2013-12-18 Andreas Schwab <schwab@suse.de>
9287 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9288 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9289 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9290 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9291 * sysdeps/i386/i686/multiarch/Makefile: Update.
9292 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9294 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9296 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9297 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9299 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9302 Support TZ transition times < 00:00:00.
9303 This is needed for version-3 tz-format files; it supports time
9304 stamps past 2037 for America/Godthab (the only entry in the tz
9305 database for which this change is relevant).
9306 * manual/time.texi (TZ Variable): Document transition times
9307 from -167:59:59 through -00:00:01.
9308 * time/tzset.c (tz_rule): Time of day is now signed.
9309 (__tzset_parse_tz): Parse negative time of day.
9311 Document TZ transition times >= 25:00:00.
9312 * manual/time.texi (TZ Variable): Document transition times from
9313 25:00:00 through 167:59:59. These are already supported, and this
9314 support will help with version-3 tz-format files.
9316 * manual/time.texi (TZ Variable): Modernize North America example
9317 to reflect current (i.e., 2007-and-later) daylight saving rules.
9319 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9321 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9323 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9324 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9326 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9327 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9328 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9329 * sysdeps/unix/bsd/clock.c: Likewise.
9330 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9331 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9332 * sysdeps/unix/bsd/init-posix.c: Likewise.
9333 * sysdeps/unix/bsd/poll.c: Likewise.
9334 * sysdeps/unix/bsd/ptsname.c: Likewise.
9335 * sysdeps/unix/bsd/seekdir.c: Likewise.
9336 * sysdeps/unix/bsd/setegid.c: Likewise.
9337 * sysdeps/unix/bsd/seteuid.c: Likewise.
9338 * sysdeps/unix/bsd/setgid.c: Likewise.
9339 * sysdeps/unix/bsd/setrgid.c: Likewise.
9340 * sysdeps/unix/bsd/setruid.c: Likewise.
9341 * sysdeps/unix/bsd/setsid.c: Likewise.
9342 * sysdeps/unix/bsd/setuid.c: Likewise.
9343 * sysdeps/unix/bsd/sigaction.c: Likewise.
9344 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9345 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9346 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9347 * sysdeps/unix/bsd/telldir.c: Likewise.
9348 * sysdeps/unix/bsd/times.c: Likewise.
9349 * sysdeps/unix/bsd/usleep.c: Likewise.
9351 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9352 ($(objpfx)libbsd-compat.a): Remove rule.
9354 * include/features.h (__FAVOR_BSD): Do not define.
9355 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9356 features conflicting with POSIX.
9357 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9358 (_BSD_SOURCE): Remove description of not being a subset of other
9359 feature test macros.
9360 * manual/job.texi (getpgrp): Do not document BSD version.
9361 (getpgid): Do not document by reference to BSD getpgrp.
9362 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9363 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9364 * signal/signal.h [__FAVOR_BSD]: Likewise.
9365 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9366 instead of making contents conditional on [__FAVOR_BSD].
9367 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9369 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9373 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9376 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9377 values below 2**-450, not 2**-500.
9378 * math/auto-libm-test-in: Don't allow spurious underflow from
9380 * math/auto-libm-test-out: Regenerated.
9384 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9385 values of ha and hb and sort them after adjusting subnormal
9387 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9389 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9390 values of ea and eb and sort them after adjusting subnormal
9392 * math/auto-libm-test-in: Do not expect some hypot tests of
9393 subnormals to fail. Add more hypot tests.
9394 * math/auto-libm-test-out: Regenerated.
9396 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9399 * sysdeps/sh/s_fma.c: New file.
9400 * sysdeps/sh/s_fmaf.c: New file.
9401 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9403 * sysdeps/sh/Implies: Add sh/soft-fp.
9405 2013-12-16 Roland McGrath <roland@hack.frob.com>
9407 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9408 level of indirection to members `objname', `errstring', `malloced'.
9409 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9410 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9411 it as the __longjmp argument (just pass 1 instead).
9412 (_dl_catch_error): Initialize C with argument pointers and address of
9413 volatile local ERRCODE rather than copying values out of C at return.
9415 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9417 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9418 * math/auto-libm-test-out: Regenerated.
9419 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9420 (hypot_test_data): Likewise.
9421 (pow_test_data): Likewise.
9422 (pow_tonearest_test_data): Likewise.
9423 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9425 (func_calc_desc): Add mpfr_ff_f union field.
9426 (FUNC_mpfr_ff_f): New macro.
9427 (test_functions): Add atan2, hypot and pow.
9428 (special_fill_min): New function.
9429 (special_fill_minus_min): Likewise.
9430 (special_fill_min_subnorm): Likewise.
9431 (special_fill_minus_min_subnorm): Likewise.
9432 (special_real_inputs): Add min, -min, min_subnorm and
9434 (calc_generic_results): Handle mpfr_ff_f.
9435 * sysdeps/i386/fpu/libm-test-ulps: Update.
9436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9438 2013-12-16 Will Newton <will.newton@linaro.org>
9440 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9441 (Aligned Memory Blocks): Add documentation for aligned_alloc
9442 and suggest it as an alternative to posix_memalign.
9443 (Hooks for Malloc): Document __memalign_hook is also called
9444 for aligned_alloc. (Summary of Malloc): Add summary for
9445 aligned alloc. Document __memalign_hook is also called
9448 2013-12-16 Will Newton <will.newton@linaro.org>
9450 * manual/memory.texi (Malloc Examples): Clarify default
9451 alignment documentation. Suggest posix_memalign rather
9452 than memalign or valloc.
9453 (Aligned Memory Blocks): Remove suggestion to use memalign
9454 or valloc. Remove obsolete comment about BSD.
9455 Document memalign errno values and mark the function obsolete.
9456 Document posix_memalign returned error codes. Mark valloc
9457 as obsolete. (Hooks for Malloc): __memalign_hook is also
9458 called for posix_memalign and valloc.
9459 (Summary of Malloc): Add posix_memalign to function summary.
9460 __memalign_hook is also called for posix_memalign and valloc.
9462 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9464 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9468 (sloww): Use mynumber union. Expand ternary operator into
9470 (cslow): use mynumber union.
9472 2013-12-16 Allan McRae <allan@archlinux.org>
9474 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9475 * configure: Regenerated.
9477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9480 * configure.ac: Added --enable-maintainer-mode. Check for
9481 autoconf when enabled.
9482 * configure: Regenerated.
9484 * nscd/nscd.service: New file.
9485 * nscd/nscd.tmpfiles: New file.
9487 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9490 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9491 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9492 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9493 (strstr): Add __strstr_sse2_unaligned ifunc.
9494 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9495 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9496 (strcasestr): Remove __strcasestr_sse42 ifunc.
9497 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9501 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9503 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9504 * sysdeps/sh/bits/fenv.h: ... here.
9505 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9507 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9509 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9512 hypotf multiarch implementations.
9513 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9514 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9515 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9516 multiarch hypot for PPC64.
9517 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9518 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9519 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9520 multiarch hypotf for PPC64.
9522 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9523 modff multiarch implementations.
9524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9527 multiarch modf for PPC64.
9528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9531 multiarch modff for PPC64.
9533 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9534 and logl multiarch implementations.
9535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9538 multiarch logb for PPC64.
9539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9542 multiarch logb for PPC64.
9543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9546 multiarch logb for PPC64.
9548 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9549 isinff multiarch implementation.
9550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9554 multiarch isinf for PPC64.
9555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9558 multiarch isinff for PPC64.
9560 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9561 finitef multiarch implementation.
9562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9566 multiarch finite for PPC64.
9567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9570 multiarch finitef for PPC64.
9572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9573 lrint multiarch implementation.
9574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9578 multiarch llrint for PPC64.
9579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9580 multiarch lrint for PPC64.
9582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9583 copysignf multiarch implementation.
9584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9589 multiarch copysign for PPC64.
9590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9591 multiarch copysignf for PPC64.
9593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9594 multiarch implementation.
9595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9603 multiarch llround for PPC64.
9604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9605 multiarch trunc for PPC64.
9606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9607 multiarch truncf for PPC64.
9609 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9610 multiarch implementation.
9611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9619 multiarch llround for PPC64.
9620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9621 multiarch round for PPC64.
9622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9623 multiarch roundf for PPC64.
9625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9626 multiarch implementation.
9627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9635 multiarch llround for PPC64.
9636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9637 multiarch floor for PPC64.
9638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9639 multiarch floorf for PPC64.
9641 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9642 multiarch implementation.
9643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9651 multiarch llround for PPC64.
9652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9653 multiarch ceil for PPC64.
9654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9655 multiarch ceilf for PPC64.
9657 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9658 multiarch implementation.
9659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9666 multiarch llround for PPC64.
9667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9668 multiarch lround for PPC64.
9670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9671 multiarch implementation.
9672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9679 multiarch isnan for PPC64.
9680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9681 multiarch isnanf for PPC64.
9683 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9684 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9685 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9686 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9687 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9690 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9691 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9692 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9693 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9696 multiarch implementations.
9697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9698 (__libc_ifunc_impl_list): Likewise.
9699 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9700 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9701 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9702 multiarch stpcpy for PPC64.
9704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9705 multiarch implementations.
9706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9707 (__libc_ifunc_impl_list): Likewise.
9708 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9709 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9710 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9711 multiarch strcpy for PPC64.
9713 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9714 redefine function name.
9715 (_wordcopy_fwd_dest_aligned): Likewise.
9716 (_wordcopy_bwd_aligned): Likewise.
9717 (_wordcopy_bwd_dest_aligned): Likewise.
9718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9719 multiarch implementations.
9720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9721 (__libc_ifunc_impl_list): Likewise.
9722 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9723 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9724 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9725 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9726 multiarch wcscpy for PPC64.
9728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9729 multiarch implementations.
9730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9731 (__libc_ifunc_impl_list): Likewise.
9732 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9733 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9734 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9735 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9736 multiarch wcscpy for PPC64.
9738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9739 multiarch implementations.
9740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9741 (__libc_ifunc_impl_list): Likewise.
9742 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9743 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9744 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9745 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9746 multiarch wcsrchr for PPC64.
9748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9749 multiarch implementations.
9750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9751 (__libc_ifunc_impl_list): Likewise.
9752 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9753 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9754 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9755 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9756 multiarch wcschr for PPC64.
9758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9759 multiarch implementations.
9760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9761 (__libc_ifunc_impl_list): Likewise.
9762 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9763 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9764 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9765 multiarch strchrnul for PPC64.
9767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9770 (__libc_ifunc_impl_list): Likewise.
9771 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9772 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9773 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9774 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9780 (__libc_ifunc_impl_list): Likewise.
9781 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9782 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9783 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9784 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9788 multiarch implementations.
9789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9790 (__libc_ifunc_impl_list): Likewise.
9791 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9792 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9793 strncasecmp for PPC64.
9794 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9795 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9796 multiarch strncasecmp_l for PPC64.
9798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9799 multiarch implementations.
9800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9801 (__libc_ifunc_impl_list): Likewise.
9802 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9803 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9804 multiarch strcasecmp for PPC64.
9805 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9807 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9808 multiarch strcasecmp_l for PPC64.
9810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9813 (__libc_ifunc_impl_list): Likewise.
9814 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9815 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9816 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9822 (__libc_ifunc_impl_list): Likewise.
9823 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9824 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9825 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9831 (__libc_ifunc_impl_list): Likewise.
9832 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9833 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9834 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9835 rawmemrchr for PPC64.
9837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9840 (__libc_ifunc_impl_list): Likewise.
9841 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9842 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9843 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9849 (__libc_ifunc_impl_list): Likewise.
9850 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9851 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9852 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9858 (__libc_ifunc_impl_list): Likewise.
9859 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9860 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9861 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9864 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9865 avoid cretion of __bzero symbol.
9866 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9868 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9870 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9873 multiarch implementations.
9874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9875 (__libc_ifunc_impl_list): Likewise.
9876 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9877 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9878 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9879 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9881 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9882 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9883 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9884 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9885 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9887 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9889 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9893 (__libc_ifunc_impl_list): Likewise.
9894 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9895 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9896 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9897 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9901 multiarch for POWER/PPC64.
9902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9903 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9904 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9905 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9906 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9907 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9908 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9909 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9910 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9913 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9914 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9915 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9916 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9917 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9918 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9919 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9920 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9921 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9922 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9923 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9924 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9925 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9926 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9927 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9936 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9938 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9940 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9942 * benchtests/Makefile (bench): Add exp2 and log2.
9943 (LDLIBS-bench-exp2): Add -lm.
9944 (LDLIBS-bench-log2): Likewise.
9945 * benchtests/exp2-inputs: New inputs file.
9946 * benchtests/log2-inputs: New inputs file.
9947 * benchtests/log-inputs: Add new inputs.
9948 * benchtests/tan-inputs: Likewise.
9950 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9952 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9954 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9955 (csloww2): ... from here.
9957 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9958 instead of structures.
9959 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9960 (POLYNOMIAL): Likewise.
9961 (TAYLOR_SLOW): Likewise.
9969 (bsloww1): Likewise.
9970 (bsloww2): Likewise.
9973 (csloww1): Likewise.
9974 (csloww2): Likewise.
9976 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9978 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9979 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9980 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9981 * malloc/hooks.c (realloc_check): Likewise.
9983 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9984 * malloc/arena.c: Remove PER_THREAD conditional.
9985 [!PER_THREAD]: Remove code.
9986 (ptmalloc_unlock_all2): Likewise.
9987 (ptmalloc_init): Likewise.
9988 (_int_new_arena): Likewise.
9989 (arena_get2): Likewise.
9990 * malloc/hooks.c (__malloc_get_state): Likewise.
9991 (__malloc_set_state): Likewise.
9992 * malloc/malloc.c: Likewise.
9993 (struct malloc_state): Likewise.
9994 (struct malloc_par): Likewise.
9995 (__libc_realloc): Likewise.
9996 (__libc_mallopt): Likewise.
9998 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10000 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10002 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10004 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10005 macro to a function. Check for zero perturb_byte.
10006 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10008 * malloc/malloc.c: (force_reg): Remove.
10009 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10010 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10011 force_reg by atomic_forced_read.
10012 * malloc/arena.c (ptmalloc_init): Likewise.
10013 * malloc/hooks.c (top_check): Likewise.
10015 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10019 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10023 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10025 * math/auto-libm-test-in: Add tests of lgamma.
10026 * math/auto-libm-test-out: Regenerated.
10027 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10028 (M_LOG_2_SQRT_PIl): Likewise.
10029 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10030 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10032 (func_calc_desc): Add mpfr_f_f1 union field.
10033 (ARGS1): New macro.
10041 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10042 (test_functions): Add lgamma.
10043 (calc_generic_results): Handle mpfr_f_f1.
10044 * sysdeps/i386/fpu/libm-test-ulps: Update.
10045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10047 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10049 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10050 __mpn_add_n for PowerPC64/POWER7.
10051 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10052 __mpn_sub_n for PowerPC64/POWER7.
10054 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10055 __mpn_addmul_1 for PowerPC64.
10056 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10057 __mpn_submul_1 for PowerPC64.
10058 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10060 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10063 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10066 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10068 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10070 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10072 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10073 add multiarch folders.
10074 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10075 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10076 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10077 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10078 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10079 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10080 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10081 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10082 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10083 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10084 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10093 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10099 multiarch __ieee754_hypot for PowerPC32.
10100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10105 multiarch __ieee754_hypotf for PowerPC32.
10107 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10108 long_double_symbol only if __logbl is defined.
10109 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10110 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10111 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10112 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10114 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10115 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10116 path for implementation.
10117 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10118 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10120 logb, and logbl multiarch implementations for PowerPC32.
10121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10126 multiarch logb for PowerPC32.
10127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10132 multiarch logbf for PowerPC32.
10133 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10137 multiarch logbl implementation for PowerPC32.
10139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10140 and modff multiarch implementations.
10141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10146 multiarch modf for PowerPC32.
10147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10152 multiarch modff for PowerPC32.
10154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10155 and lrintf multiarch implementations.
10156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10161 multiarch lrint for PowerPC32.
10162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10163 file: multiarch lrintf for PowerPC32.
10165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10166 and lroundf multiarch implementations.
10167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10174 multiarch lround for PowerPC32.
10175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10176 file: multiarch lroundf for PowerPC32.
10178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10179 copysign and copysignf multiarch implementations.
10180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10185 file: multiarch copysign for PowerPC32.
10186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10187 file: multiarch copysignf for PowerPC32.
10189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10190 and truncf multiarch implementations.
10191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10196 multiarch trunc for PowerPC32.
10197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10202 multiarch truncf for PowerPC32.
10204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10205 and roundf multiarch implementations.
10206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10211 multiarch round for PowerPC32.
10212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10217 multiarch roundf for PowerPC32.
10219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10220 and floorf multiarch implementations.
10221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10226 multiarch floor for PowerPC32.
10227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10232 multiarch floorf for PowerPC32.
10234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10235 and ceilf multiarch implementations.
10236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10241 multiarch ceil for PowerPC32.
10242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10247 multiarch ceilf for PowerPC32.
10249 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10251 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10252 FINITEF is defined.
10253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10254 and finitef multiarch implementations.
10255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10260 multiarch finite for PowerPC32.
10261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10264 file: multiarch finitef for PowerPC32.
10266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10267 and isinff multiarch implementations.
10268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10273 multiarch isinf for PowerPC32.
10274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10277 multiarch isinff for PowerPC32.
10279 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10280 alias when __isnan is defined.
10281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10282 and isnanf multiarch implementations.
10283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10292 multiarch isnan for PowerPC32.
10293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10298 multiarch isnanf for PowerPC32.
10300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10301 and sqrtf multiarch implementations.
10302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10307 multiarch sqrt for PowerPC32.
10308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10313 multiarch sqrtf for PowerPC32.
10315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10316 and llroundf multiarch implementations.
10317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10324 file: multiarch llround for PowerPC32.
10325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10326 file: multiarch llroundf for PowerPC32.
10328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10329 multiarch PowerPC32 fpu implementations.
10330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10335 multiarch llrint for PowerPC32.
10336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10345 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10347 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10349 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10351 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10352 multiarch wordcopy for PPC32.
10353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10356 (__libc_ifunc_impl_list): Likewise.
10357 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10358 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10359 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10360 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10361 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10362 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10364 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10372 multiarch wcscpy for PPC32.
10373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10375 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10376 (__libc_ifunc_impl_list): Likewise.
10377 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10378 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10379 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10380 sysdeps/powerpc/power6/wcscpy.c.
10382 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10383 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10385 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10387 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10389 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10390 multiarch wcsrchr for PPC32.
10391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10394 (__libc_ifunc_impl_list): Likewise.
10395 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10396 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10397 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10398 sysdeps/powerpc/power6/wcsrchr.c.
10400 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10402 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10404 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10405 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10406 multiarch wcschr for PPc32.
10407 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10409 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10410 (__libc_ifunc_impl_list): Likewise.
10411 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10412 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10413 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10414 sysdeps/powerpc/power6/wcschr.c.
10416 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10417 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10419 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10420 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10421 file: multiarch strchr for PPC32.
10422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10425 (__libc_ifunc_impl_list): Likewise.
10427 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10429 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10431 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10433 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10434 multiarch strchrnul for PPC32.
10435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10438 (__libc_ifunc_impl_list): Likewise.
10440 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10442 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10443 multiarch strncasecmp for PPC32.
10444 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10446 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10447 multiarch strncasecmp_l for PPC32.
10448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10449 strncasecmp multiarch objects.
10450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10451 (__libc_ifunc_impl_list): Likewise.
10453 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10455 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10456 multiarch strncasecmp for PPC32.
10457 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10459 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10460 multiarch strcasecmp_l for PPC32.
10461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10463 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10464 (__libc_ifunc_impl_list): Likewise.
10466 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10468 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10470 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10471 multiarch strncmp for PPC32.
10472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10475 (__libc_ifunc_impl_list): Likewise.
10477 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10478 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10480 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10481 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10485 (__libc_ifunc_impl_list): Likewise.
10487 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10489 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10491 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10495 (__libc_ifunc_impl_list): Likewise.
10497 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10499 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10501 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10502 multiarch rawmemchr for PPC32.
10503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10506 (__libc_ifunc_impl_list): Likewise.
10508 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10510 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10512 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10513 file: memrchr multiarch for PPC32.
10514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10517 (__libc_ifunc_impl_list): Likewise.
10519 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10520 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10522 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10523 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10524 multiarch memchr for PPC32.
10525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10527 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10528 (__libc_ifunc_impl_list): Likewise.
10530 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10531 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10533 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10535 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10536 file: multiarch mempcpy for PPC32.
10537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10540 (__libc_ifunc_impl_list): Likewise.
10542 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10543 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10544 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10545 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10546 multiarch bzero for PPC32.
10547 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10549 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10551 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10552 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10553 file: multiarch memset for PPC32.
10554 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10555 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10556 memset multiarch objects.
10557 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10558 (__libc_ifunc_impl_list): Likewise.
10560 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10562 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10563 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10565 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10568 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10569 (__libc_ifunc_impl_list): Likewise.
10571 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10572 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10573 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10575 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10577 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10579 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10580 multiarch memcpy for PPC32.
10581 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10583 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10584 (__libc_ifunc_impl_list): Likewise.
10586 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10587 support multiarch for POWER/PPC32.
10588 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10590 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10592 Implies file to make multiarch folder appers before the fpu and
10593 default folder for power4 configuration.
10595 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10597 * scripts/bench.pl: Append volatile keyword to type.
10599 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10601 * sysdeps/sh/sotruss-lib.c: New file.
10602 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10604 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10608 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10611 * math/w_tgamma.c: Include <errno.h>.
10612 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10613 * math/w_tgammaf.c: Include <errno.h>.
10614 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10615 * math/w_tgammal.c: Include <errno.h>.
10616 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10617 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10618 underflow. Add more tgamma tests.
10619 * math/auto-libm-test-out: Regenerated.
10620 * sysdeps/i386/fpu/libm-test-ulps: Update.
10621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10623 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10624 sin, sinh, tan, tanh, tgamma, y0 and y1.
10625 * math/auto-libm-test-out: Regenerated.
10626 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10627 (TEST_COND_x86): Likewise.
10628 (M_E2l): Remove macro.
10630 (M_2_SQRT_PIl): Likewise.
10631 (M_SQRT_PIl): Likewise.
10632 (M_1_DIV_El): Likewise.
10633 (log_test_data): Use AUTO_TESTS_f_f.
10634 (log10_test_data): Likewise.
10635 (log1p_test_data): Likewise.
10636 (log2_test_data): Likewise.
10637 (sin_test_data): Likewise.
10638 (sin_tonearest_test_data): Likewise.
10639 (sin_towardzero_test_data): Likewise.
10640 (sin_downward_test_data): Likewise.
10641 (sin_upward_test_data): Likewise.
10642 (sinh_test_data): Likewise.
10643 (sinh_tonearest_test_data): Likewise.
10644 (sinh_towardzero_test_data): Likewise.
10645 (sinh_downward_test_data): Likewise.
10646 (sinh_upward_test_data): Likewise.
10647 (tan_test_data): Likewise.
10648 (tan_tonearest_test_data): Likewise.
10649 (tan_towardzero_test_data): Likewise.
10650 (tan_downward_test_data): Likewise.
10651 (tan_upward_test_data): Likewise.
10652 (tanh_test_data): Likewise.
10653 (tgamma_test_data): Likewise.
10654 (y0_test_data): Likewise.
10655 (y1_test_data): Likewise.
10656 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10657 (special_real_inputs): Add pi/4.
10658 * sysdeps/i386/fpu/libm-test-ulps: Update.
10659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10661 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10663 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10664 "longjmp_target" static probes.
10665 (__longjmp): Rename to __longjmp_symbol.
10666 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10667 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10668 on which longjmp to generate.
10669 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10670 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10672 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10673 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10674 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10675 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10676 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10677 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10679 __longjmp_symbol based on which __longjmp to generate.
10680 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10682 (setjmp): Rename to setjmp_symbol.
10683 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10684 (_setjmp): Rename to _setjmp_symbol.
10685 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10686 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10687 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10688 which setjmp to generate.
10689 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10690 "longjmp_target" static probes.
10692 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10694 * benchtests/README: Add note about output arguments.
10695 * benchtests/bench-sincos.c: Remove file.
10696 * benchtests/sincos-inputs: New file.
10697 * scripts/bench.pl: Identify output arguments and define
10698 static variables for them.
10700 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10703 * Makefile (INSTALL): Add install-plain.texi as the primary
10705 * manual/install-plain.texi: New file.
10706 * manual/install.texi: Include node directive only for
10707 non-plaintext output.
10709 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10711 * stdlib/longlong.h: Update from GCC.
10715 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10716 * math/w_j0f.c (y0f): Likewise.
10717 * math/w_j0l.c (__y0l): Likewise.
10718 * math/w_j1.c (y1): Likewise.
10719 * math/w_j1f.c (y1f): Likewise.
10720 * math/w_j1l.c (__y1l): Likewise
10721 * math/w_jn.c (yn): Likewise.
10722 * math/w_jnf.c (ynf): Likewise.
10723 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10724 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10725 value for Bessel function domain errors outside _SVID_ mode.
10726 Adjust sign of return value for yn (negative integer, 0).
10727 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10728 by zero in return for negative x and set sign appropriately for
10730 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10731 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10732 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10733 expectations in error cases.
10734 (y1_test_data): Likewise.
10735 (yn_test_data): Likewise.
10736 * sysdeps/i386/fpu/libm-test-ulps: Update.
10737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10739 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10741 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10742 "64" to "64-v1". Add "64-v2".
10743 (abi-64-options): Rename to ...
10744 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10745 (abi-64-condition): Rename to ...
10746 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10747 (abi-64-ld-soname): Rename to ...
10748 (abi-64-v1-ld-soname): ... this.
10749 (abi-64-v2-options): Define.
10750 (abi-64-v2-condition): Likewise.
10751 (abi-64-v2-ld-soname): Likewise.
10752 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10753 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10758 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10759 Alan Modra <amodra@gmail.com>
10761 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10762 New versions for use with the ELFv2 ABI.
10763 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10764 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10766 (struct La_ppc64v2_retval): Likewise.
10767 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10768 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10769 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10770 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10771 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10772 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10773 Do not save or restore CR.
10774 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10775 (_dl_profile_resolve): Do no save or restore CR. Support extended
10776 return values for ELFv2 ABI. Fix location of FPR return registers.
10777 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10778 updated values for _CALL_ELF == 2.
10779 (La_regs, La_retval, int_retval): Likewise.
10781 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10783 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10784 (FRAME_MIN_SIZE_PARM): Likewise.
10785 (FRAME_BACKCHAIN): Likewise.
10786 (FRAME_CR_SAVE): Likewise.
10787 (FRAME_LR_SAVE): Likewise.
10788 (FRAME_TOC_SAVE): Likewise.
10789 (FRAME_PARM_SAVE): Likewise.
10790 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10791 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10792 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10793 (call_mcount_parm_offset): New macro.
10794 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10795 (PROF): Use symbolic stack frame offsets.
10796 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10797 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10798 Redefine in terms of FRAME_MIN_SIZE.
10799 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10800 (_dl_profile_resolve): Likewise. Update comment.
10801 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10802 symbols stack frame offsets.
10803 (__sigsetjmp): Likewise.
10804 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10805 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10806 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10807 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10810 (FRAME_BACKCHAIN): Remove.
10811 (FRAME_CR_SAVE): Likewise.
10812 (FRAME_LR_SAVE): Likewise.
10813 (FRAME_COMPILER_DW): Likewise.
10814 (FRAME_LINKER_DW): Likewise.
10815 (FRAME_TOC_SAVE): Likewise.
10816 (FRAME_PARM_SAVE): Likewise.
10817 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10818 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10819 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10821 (CHECK_SP): Use symbolic stack frame offsets.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10823 zone" instead of caller's parameter save area for temp storage.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10825 Likewise. Also, use symbolic stack frame offsets.
10826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10827 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10828 our own stack frame instead of the caller's.
10829 (__socket): Use symbolic stack frame offsets.
10831 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10832 Alan Modra <amodra@gmail.com>
10834 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10836 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10837 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10838 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10840 (elf_machine_fixup_plt): Call it.
10841 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10843 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10844 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10845 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10846 r2 before calling target.
10848 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10849 Alan Modra <amodra@gmail.com>
10851 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10852 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10853 versions of macros to support ELFv2 ABI.
10854 (LOCALENTRY): New macro.
10855 (ENTRY, EALIGN): Use it.
10856 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10857 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10858 fall through into ENTRY entry point.
10859 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10860 Only define if _CALL_ELF != 2.
10862 (elf_machine_matches_host): Verify ABI version matches.
10863 (RTLD_START): Use LOCALENTRY.
10864 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10865 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10866 (PLT_ENTRY_WORDS): New macro.
10867 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10868 (elf_machine_runtime_setup): Support ELFv2 ABI.
10869 (elf_machine_fixup_plt): Likewise.
10870 (elf_machine_plt_conflict): Likewise.
10871 (resolve_ifunc): Likewise.
10872 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10873 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10876 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10878 (makecontext): Support ELFv2 ABI.
10879 * elf/elf.h (EF_PPC64_ABI): Define.
10881 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10883 * sysdeps/powerpc/powerpc64/sysdep.h
10884 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10885 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10886 (ENTRY) [ASSEMBLER]: ... but instead here ...
10887 (EALIGN) [ASSEMBLER]: ... and here.
10888 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10889 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10890 (ENTRY_2) [!ASSEMBLER]: Use it.
10891 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10892 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10893 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10894 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10895 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10897 Use PPC64_LOAD_FUNCPTR.
10899 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10901 2013-12-04 Alan Modra <amodra@gmail.com>
10903 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10904 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10905 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10906 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10909 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10910 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10911 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10912 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10913 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10915 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10918 (__makecontext): Fix incorrect CFI when backtracing out of
10919 context created via makecontext.
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10921 (__setcontext): Fix incorrect CFI during switch to new context.
10922 (__novec_setcontext): Likewise.
10924 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10927 * time/strptime_l.c (__strptime_internal): Allow modifiers
10929 * time/tst-strptime.c (day_tests): Add testcase.
10931 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10933 * scripts/bench.pl: Skip over blank lines.
10935 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10938 * manual/time.texi (Calendar Time): Clarify what timezone functions
10941 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10945 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10947 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10949 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10950 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10951 * debug/memset_chk.c (__memset_chk): Likewise.
10952 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10953 * debug/strncpy_chk.c: Likewise.
10955 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10959 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10960 (__ieee754_exp): For possibly underflowing results, check size of
10961 result and force underflow exception if required.
10962 * math/auto-libm-test-in: Add more tests of exp.
10963 * math/auto-libm-test-out: Regenerated.
10964 * sysdeps/i386/fpu/libm-test-ulps: Update.
10965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10968 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10969 * math/w_exp2f.c (__exp2f): Likewise.
10970 * math/w_exp2l.c (__exp2l): Likewise.
10971 * math/auto-libm-test-in: Do not allow missing errno on exp2
10973 * math/auto-libm-test-out: Regenerated.
10975 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10978 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10979 handle filename validation.
10980 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10983 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10986 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10987 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10988 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10990 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10991 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10992 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10993 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10994 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10995 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10996 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10997 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10998 Add more erfc tests.
10999 * math/auto-libm-test-out: Regenerated.
11000 * sysdeps/i386/fpu/libm-test-ulps: Update.
11001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11003 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11004 exp2, expm1, j0 and j1.
11005 * math/auto-libm-test-out: Regenerated.
11006 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11007 (erfc_test_data): Likewise.
11008 (exp_test_data): Likewise.
11009 (exp_tonearest_test_data): Likewise.
11010 (exp_towardzero_test_data): Likewise.
11011 (exp_downward_test_data): Likewise.
11012 (exp_upward_test_data): Likewise.
11013 (exp10_test_data): Likewise.
11014 (exp2_test_data): Likewise.
11015 (expm1_test_data): Likewise.
11016 (j0_test_data): Likewise.
11017 (j1_test_data): Likewise.
11018 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11019 (input_flag_type): Add flag_xfail_rounding.
11020 (input_flags): Add xfail-rounding.
11021 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11022 (output_for_one_input_case): Handle flag_xfail_rounding.
11023 * sysdeps/i386/fpu/libm-test-ulps: Update.
11024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11026 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11029 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11032 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11035 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11036 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11037 (STAP_PROBE0): New macro.
11038 (STAP_PROBE1): Likewise.
11039 (STAP_PROBE2): Likewise.
11040 (STAP_PROBE3): Likewise.
11041 (STAP_PROBE4): Likewise.
11043 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11045 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11047 2013-12-02 Steve Ellcey <sellcey@mips.com>
11049 * benchtests/Makefile (bench): Add sqrt.
11050 (LDLIBS-bench-sqrt): New.
11051 * benchtests/sqrt-input: New.
11053 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11055 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11056 (GAIH_EAI): Likewise.
11057 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11058 (gaih_inet): Likewise.
11059 (getaddrinfo): Don't use GAIH_EAI.
11061 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11062 (struct gaih): Remove definition.
11064 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11066 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11067 Use HERRNOP directly.
11069 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11073 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11075 * math/gen-auto-libm-tests.c (test_functions): Add more
11076 single-argument functions.
11077 (special_fill_pi_2): New function.
11078 (special_fill_minus_pi_2): Likewise.
11079 (special_fill_pi_6): Likewise.
11080 (special_fill_minus_pi_6): Likewise.
11081 (special_fill_pi_3): Likewise.
11082 (special_fill_2pi_3): Likewise.
11083 (special_fill_e): Likewise.
11084 (special_fill_1_e): Likewise.
11085 (special_fill_e_minus_1): Likewise.
11086 (special_real_inputs): Add more special inputs.
11087 (output_for_one_input_case): Do not require ERANGE on underflow to
11088 zero if round-to-nearest result does not underflow to zero, unless
11089 exact results required.
11090 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11091 atan, atanh, cbrt, cos and cosh.
11092 * math/auto-libm-test-out: Regenerated.
11093 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11094 (acos_tonearest_test_data): Likewise.
11095 (acos_towardzero_test_data): Likewise.
11096 (acos_downward_test_data): Likewise.
11097 (acos_upward_test_data): Likewise.
11098 (acosh_test_data): Likewise.
11099 (asin_test_data): Likewise.
11100 (asin_tonearest_test_data): Likewise.
11101 (asin_towardzero_test_data): Likewise.
11102 (asin_upward_test_data): Likewise.
11103 (asinh_test_data): Likewise.
11104 (atan_test_data): Likewise.
11105 (atanh_test_data): Likewise.
11106 (cbrt_test_data): Likewise.
11107 (cos_test_data): Likewise.
11108 (cos_tonearest_test_data): Likewise.
11109 (cos_towardzero_test_data): Likewise.
11110 (cos_downward_test_data): Likewise.
11111 (cos_upward_test_data): Likewise.
11112 (cosh_test_data): Likewise.
11113 (cosh_tonearest_test_data): Likewise.
11114 (cosh_towardzero_test_data): Likewise.
11115 (cosh_downward_test_data): Likewise.
11116 (cosh_upward_test_data): Likewise.
11117 * sysdeps/i386/fpu/libm-test-ulps: Update.
11118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11120 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11123 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11124 * math/w_exp10f.c (__exp10f): Likewise.
11125 * math/w_exp10l.c (__exp10l): Likewise.
11126 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11127 errno settings in existing tests.
11130 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11131 precision control set to double precision.
11132 * sysdeps/i386/fpu/w_sqrt.c: New file.
11133 * math/auto-libm-test-in: Add more tests.
11134 * math/auto-libm-test-out: Update.
11136 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11137 (sqrt_test_tonearest): New function.
11138 (sqrt_towardzero_test_data): New variable.
11139 (sqrt_test_towardzero): New function.
11140 (sqrt_downward_test_data): New variable.
11141 (sqrt_test_downward): New function.
11142 (sqrt_upward_test_data): New variable.
11143 (sqrt_test_upward): New function.
11144 (main): Call the new functions.
11146 * math/gen-auto-libm-tests.c: New file.
11147 * math/auto-libm-test-in: Likewise.
11148 * math/auto-libm-test-out: New generated file.
11149 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11151 (%beautify): Add generated representations of zero.
11152 (top level): Set $auto_input and call parse_auto_input.
11153 (beautify): Remove trailing "f" from hex float constants.
11154 (parse_args): Handle XFAIL_TEST.
11155 (convert_condition): New function.
11156 (or_value): Likewise.
11157 (or_cond_value): Likewise.
11158 (generate_testfile): Handle AUTO_TESTS_* lines.
11159 (parse_auto_input): New function.
11160 * math/libm-test.inc (XFAIL_TEST): New macro.
11161 (ERRNO_UNCHANGED): Update value.
11162 (ERRNO_EDOM): Likewise.
11163 (ERRNO_ERANGE): Likewise.
11164 (IGNORE_RESULT): Likewise.
11165 (TEST_COND_flt_32): New macro.
11166 (TEST_COND_dbl_64): Likewise.
11167 (TEST_COND_ldbl_96_intel): Likewise.
11168 (TEST_COND_ldbl_96_m68k): Likewise.
11169 (TEST_COND_ldbl_128): Likewise.
11170 (TEST_COND_ldbl_128ibm): Likewise.
11171 (TEST_COND_long32): Likewise.
11172 (TEST_COND_long64): Likewise.
11173 (TEST_COND_before_rounding): Likewise.
11174 (TEST_COND_after_rounding): Likewise.
11175 (enable_test): Handle XFAIL_TEST flag.
11176 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11177 with finite results.
11178 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11179 auto-libm-test-out.
11181 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11182 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11185 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11186 __tls_get_addr_internal instead of __tls_get_offset in order to
11187 avoid GOT pointer dependency. Make rtld export
11188 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11189 __tls_get_addr since we are a __tls_get_offset platform.
11190 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11191 GOT pointer being set up before.
11192 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11194 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11196 * manual/math.texi (Errors in Math Functions): Document accuracy
11200 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11201 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11203 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11204 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11206 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11213 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11214 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11215 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11217 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11218 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11219 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11220 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11221 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11223 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11225 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11227 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11228 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11229 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11230 atomic-feupdateenv and flt-rounds.
11231 * sysdeps/powerpc/nofpu/Versions (libc): Add
11232 __atomic_feholdexcept, __atomic_feclearexcept,
11233 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11234 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11235 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11236 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11237 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11242 * manual/arith.texi (FP Exceptions): Document that exceptions may
11243 not be raised when matherr is used.
11244 (Math Error Reporting): Document overflow in directed rounding
11245 modes. Document that errno may not be set when finite values are
11246 returned on overflow. Document intent to set errno on underflow
11247 only for underflow to zero.
11250 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11251 round-to-nearest then adjust result for other rounding modes.
11252 * include/fenv.h (fegetround): Use libm_hidden_proto.
11253 * math/fegetround.c (fegetround): Use libm_hidden_def.
11254 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11255 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11256 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11257 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11259 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11260 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11261 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11262 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11264 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11267 * nss/Versions (libnss_files): Add
11268 _nss_files_gethostbyname3_r.
11269 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11271 (HOST_DB_LOOKUP): Remove macro.
11272 (_nss_files_gethostbyname_r): Implement function without the
11273 HOST_DB_LOOKUP macro.
11274 (_nss_files_gethostbyname2_r): Likewise.
11276 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11278 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11280 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11282 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11283 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11286 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11288 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11289 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11290 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11291 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11292 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11293 __fe_nomask_env_priv and attribute_hidden.
11294 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11295 (libc_feupdateenv_test_ppc): Likewise.
11296 (libc_feresetround_ppc): Likewise.
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11298 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11299 compat_symbol macro.
11300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11301 (__fe_nomask_env): Likewise.
11302 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11304 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11306 * string/Makefile: Remove ifunc tests.
11307 * string/test-string.h: Define TEST_IFUNC.
11308 * string/test-bcopy-ifunc.c: Remove.
11309 * string/test-bzero-ifunc.c: Likewise.
11310 * string/test-memccpy-ifunc.c: Likewise.
11311 * string/test-memchr-ifunc.c: Likewise.
11312 * string/test-memcmp-ifunc.c: Likewise.
11313 * string/test-memcpy-ifunc.c: Likewise.
11314 * string/test-memmem-ifunc.c: Likewise.
11315 * string/test-memmove-ifunc.c: Likewise.
11316 * string/test-mempcpy-ifunc.c: Likewise.
11317 * string/test-memrchr-ifunc.c: Likewise.
11318 * string/test-memset-ifunc.c: Likewise.
11319 * string/test-rawmemchr-ifunc.c: Likewise.
11320 * string/test-stpcpy-ifunc.c: Likewise.
11321 * string/test-stpncpy-ifunc.c: Likewise.
11322 * string/test-strcasecmp-ifunc.c: Likewise.
11323 * string/test-strcasestr-ifunc.c: Likewise.
11324 * string/test-strcat-ifunc.c: Likewise.
11325 * string/test-strchr-ifunc.c: Likewise.
11326 * string/test-strchrnul-ifunc.c: Likewise.
11327 * string/test-strcmp-ifunc.c: Likewise.
11328 * string/test-strcpy-ifunc.c: Likewise.
11329 * string/test-strcspn-ifunc.c: Likewise.
11330 * string/test-strlen-ifunc.c: Likewise.
11331 * string/test-strncasecmp-ifunc.c: Likewise.
11332 * string/test-strncat-ifunc.c: Likewise.
11333 * string/test-strncmp-ifunc.c: Likewise.
11334 * string/test-strncpy-ifunc.c: Likewise.
11335 * string/test-strnlen-ifunc.c: Likewise.
11336 * string/test-strpbrk-ifunc.c: Likewise.
11337 * string/test-strrchr-ifunc.c: Likewise.
11338 * string/test-strspn-ifunc.c: Likewise.
11339 * string/test-strstr-ifunc.c: Likewise.
11341 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11343 * benchtests/Makefile: Remove ifunc tests.
11344 * benchtests/bench-string.h: Define TEST_IFUNC.
11345 * benchtests/bench-bcopy-ifunc.c: Remove.
11346 * benchtests/bench-bzero-ifunc.c: Likewise.
11347 * benchtests/bench-memccpy-ifunc.c: Likewise.
11348 * benchtests/bench-memchr-ifunc.c: Likewise.
11349 * benchtests/bench-memcmp-ifunc.c: Likewise.
11350 * benchtests/bench-memcpy-ifunc.c: Likewise.
11351 * benchtests/bench-memmem-ifunc.c: Likewise.
11352 * benchtests/bench-memmove-ifunc.c: Likewise.
11353 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11354 * benchtests/bench-memrchr-ifunc.c: Likewise.
11355 * benchtests/bench-memset-ifunc.c: Likewise.
11356 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11357 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11358 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11359 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11360 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11361 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11362 * benchtests/bench-strcat-ifunc.c: Likewise.
11363 * benchtests/bench-strchr-ifunc.c: Likewise.
11364 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11365 * benchtests/bench-strcmp-ifunc.c: Likewise.
11366 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11367 * benchtests/bench-strcpy-ifunc.c: Likewise.
11368 * benchtests/bench-strcspn-ifunc.c: Likewise.
11369 * benchtests/bench-strlen-ifunc.c: Likewise.
11370 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11371 * benchtests/bench-strncat-ifunc.c: Likewise.
11372 * benchtests/bench-strncmp-ifunc.c: Likewise.
11373 * benchtests/bench-strncpy-ifunc.c: Likewise.
11374 * benchtests/bench-strnlen-ifunc.c: Likewise.
11375 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11376 * benchtests/bench-strrchr-ifunc.c: Likewise.
11377 * benchtests/bench-strsep-ifunc.c: Likewise.
11378 * benchtests/bench-strspn-ifunc.c: Likewise.
11379 * benchtests/bench-strstr-ifunc.c: Likewise.
11381 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11383 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11385 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11387 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11388 * rt/aio.h: Likewise.
11389 * sysdeps/gnu/bits/utmp.h: Likewise.
11390 * sysdeps/gnu/bits/utmpx.h: Likewise.
11391 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11392 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11393 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11394 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11395 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11396 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11397 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11398 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11399 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11400 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11401 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11402 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11403 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11405 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11406 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11407 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11408 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11409 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11410 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11411 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11412 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11413 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11414 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11415 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11417 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11418 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11419 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11420 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11421 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11422 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11423 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11424 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11425 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11426 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11427 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11428 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11429 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11430 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11431 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11432 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11434 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11437 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11438 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11440 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11442 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11443 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11446 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11448 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11449 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11450 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11451 (__fesetround): Remove define.
11452 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11453 rounding and exceptions handling.
11454 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11455 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11456 (__fe_nomask_env): Likewise.
11457 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11458 __fegetround instead of fegetround.
11459 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11460 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11462 2013-11-21 Roland McGrath <roland@hack.frob.com>
11464 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11467 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11469 2013-11-21 Meador Inge <meadori@codesourcery.com>
11472 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11473 (encrypt_r): Likewise.
11474 * malloc/obstack.h (obstack_free): Likewise.
11475 * posix/unistd.h (encrypt): Likewise.
11477 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11479 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11480 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11481 DL_CALL_DT_FINI() that call the functions directly.
11482 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11483 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11484 * elf/dl-fini.c: Likewise.
11486 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11488 * malloc/hooks.c (memalign_check): Add alignment rounding.
11489 * malloc/malloc.c (_mid_memalign): New function.
11490 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11491 Implement by calling _mid_memalign.
11492 * manual/probes.texi (Memory Allocation Probes): Remove
11493 memory_valloc_retry and memory_pvalloc_retry.
11495 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11497 * locale/programs/locarchive.c (open_archive): Add const
11498 qualifier to ARCHIVEFNAME and copy default fname to
11502 * libio/tst-widetext.input: Rename Oriya to Odia.
11503 * locale/iso-639.def: Likewise.
11505 * manual/probes.texi (Mathematical Function Probes): Add
11506 documentation for sin, cos, asin and acos probes.
11507 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11508 (__sin32): Add slowasin probe.
11509 (__cos32): Add slowacos probe.
11510 (__mpsin): Add slowsin probe.
11511 (__mpcos): Add slowcos probe.
11513 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11516 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11517 thread-local __sim_exceptions_thread and global
11518 __sim_exceptions_global.
11519 (__sim_disabled_exceptions): Change to thread-local
11520 __sim_disabled_exceptions_thread and global
11521 __sim_disabled_exceptions_global.
11522 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11523 and global __sim_round_mode_global.
11524 (__simulate_exceptions): Use thread-local floating-point state and
11525 set global state from it as needed.
11526 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11527 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11528 __sim_round_mode_thread.
11529 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11530 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11531 and global __sim_exceptions_global.
11532 (__sim_disabled_exceptions): Change to thread-local
11533 __sim_disabled_exceptions_thread and global
11534 __sim_disabled_exceptions_global.
11535 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11536 and global __sim_round_mode_global.
11537 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11538 (SIM_SET_GLOBAL): Likewise.
11539 * sysdeps/powerpc/soft-fp/sfp-machine.h
11540 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11541 __sim_round_mode_thread.
11542 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11543 __sim_disabled_exceptions_thread.
11544 (__sim_exceptions): Change to __sim_exceptions_thread.
11545 (__sim_disabled_exceptions): Change to
11546 __sim_disabled_exceptions_thread.
11547 (__sim_round_mode): Change to __sim_round_mode_thread.
11548 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11549 thread-local floating-point state and set global state from it as
11551 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11552 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11553 (__sim_disabled_exceptions): Remove extern declaration.
11554 (feenableexcept): Use thread-local floating-point state and set
11555 global state from it as needed.
11556 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11557 extern declaration.
11558 (__sim_disabled_exceptions): Likewise.
11559 (__sim_round_mode): Likewise.
11560 (__fegetenv): Use thread-local floating-point state.
11561 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11562 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11563 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11564 floating-point state and set global state from it as needed.
11565 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11566 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11567 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11569 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11570 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11572 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11573 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11574 Use __sim_round_mode_thread.
11575 * math/test-fenv-tls.c: New file.
11576 * math/Makefile (tests): Add test-fenv-tls.
11577 ($(objpfx)test-fenv-tls): Depend on
11578 $(common-objpfx)nptl/libpthread.so.
11580 2013-11-19 Andreas Schwab <schwab@suse.de>
11582 * locale/programs/locale.c (show_info): Decode wordarray elements.
11583 * locale/categories.def (LC_MONETARY): Add element for
11584 _NL_MONETARY_CRNCYSTR.
11585 * locale/C-monetary.c (conversion_rate): New variable.
11586 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11589 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11591 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11592 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11594 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11596 * elf/Makefile (tst-auxv): New test.
11597 * elf/tst-auxv.c: New
11598 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11600 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11602 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11603 (hidden_proto): Caller changed.
11604 (hidden_tls_proto): New macro.
11605 (libc_hidden_tls_proto): Likewise.
11606 (rtld_hidden_tls_proto): Likewise.
11607 (libm_hidden_tls_proto): Likewise.
11608 (libresolv_hidden_tls_proto): Likewise.
11609 (librt_hidden_tls_proto): Likewise.
11610 (libdl_hidden_tls_proto): Likewise.
11611 (libnss_files_hidden_tls_proto): Likewise.
11612 (libnsl_hidden_tls_proto): Likewise.
11613 (libnss_nisplus_hidden_tls_proto): Likewise.
11614 (libutil_hidden_tls_proto): Likewise.
11616 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11619 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11620 (decompose_rpath): Defer expansion to fillin_rpath.
11621 (_dl_init_paths): Pass linkmap to fillin_rpath.
11623 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11625 * benchtests/Makefile: Add strsep.
11626 * benchtests/bench-strsep.c: New file: strsep benchtest.
11627 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11629 2013-11-18 Andreas Schwab <schwab@suse.de>
11631 * locale/programs/locale.c (show_info) [case byte]: Check for
11632 '\377' instead of '\177'.
11633 * locale/C-monetary.c (not_available): Always use "\377".
11634 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11635 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11636 detect unavailable sign_posn locale elements.
11637 * locale/localeconv.c (__localeconv): For grouping and
11638 mon_grouping handle "\177" and "\377" like no grouping.
11639 (INT_ELEM): New macro. Use it to set all numeric members.
11640 * locale/programs/ld-monetary.c (monetary_read)
11641 <tok_mon_grouping>: Normalize single -1 to the empty string.
11642 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11645 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11648 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11649 when we match (nil).
11650 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11652 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11654 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11655 (NO_TEST_INLINE): Update value.
11656 (ERRNO_UNCHANGED): Likewise.
11657 (ERRNO_EDOM): Likewise.
11658 (ERRNO_ERANGE): Likewise.
11659 (IGNORE_RESULT): Likewise.
11660 (check_float_internal): Check signs of NaN results if
11661 TEST_NAN_SIGN used.
11662 (check_complex): Pass TEST_NAN_SIGN flag through to second
11663 check_float_internal call.
11664 (copysign_test_data): Add tests with quiet NaNs as second
11665 argument. Use TEST_NAN_SIGN.
11666 (fabs_test_data): Add test of negative quiet NaN argument. Use
11668 (signbit_test_data): Add tests of quiet NaN argument.
11669 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11671 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11673 (parse_args): Handle function results specified as IGNORE.
11674 * math/libm-test.inc (IGNORE_RESULT): New macro.
11675 (check_float_internal): Do not check numerical result if flag
11677 (check_complex): Pass through IGNORE_RESULT to second
11678 check_float_internal call.
11679 (check_int): Do not check numerical result if flag IGNORE_RESULT
11681 (check_long): Likewise.
11682 (check_bool): Likewise.
11683 (check_longlong): Likewise.
11684 (lrint_test_data): Add tests of infinite and NaN arguments.
11685 (lrint_tonearest_test_data): Likewise.
11686 (lrint_towardzero_test_data): Likewise.
11687 (lrint_downward_test_data): Likewise.
11688 (lrint_upward_test_data): Likewise.
11689 (llrint_test_data): Likewise.
11690 (llrint_tonearest_test_data): Likewise.
11691 (llrint_towardzero_test_data): Likewise.
11692 (llrint_downward_test_data): Likewise.
11693 (llrint_upward_test_data): Likewise.
11694 (lround_test_data): Likewise.
11695 (llround_test_data): Likewise.
11697 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11698 (ERRNO_UNCHANGED): Update value.
11699 (ERRNO_EDOM): Likewise.
11700 (ERRNO_ERANGE): Likewise.
11701 (NO_TEST_INLINE_FLOAT): New macro.
11702 (NO_TEST_INLINE_DOUBLE): Likewise.
11703 (enable_test): New function.
11704 (RUN_TEST_f_f): Check enable_test before running test.
11705 (RUN_TEST_2_f): Likewise.
11706 (RUN_TEST_fff_f): Likewise.
11707 (RUN_TEST_c_f): Likewise.
11708 (RUN_TEST_f_f1): Likewise.
11709 (RUN_TEST_fF_f1): Likewise.
11710 (RUN_TEST_fI_f1): Likewise.
11711 (RUN_TEST_ffI_f1): Likewise.
11712 (RUN_TEST_c_c): Likewise.
11713 (RUN_TEST_cc_c): Likewise.
11714 (RUN_TEST_f_i): Likewise.
11715 (RUN_TEST_f_i_tg): Likewise.
11716 (RUN_TEST_ff_i_tg): Likewise.
11717 (RUN_TEST_f_b): Likewise.
11718 (RUN_TEST_f_b_tg): Likewise.
11719 (RUN_TEST_f_l): Likewise.
11720 (RUN_TEST_f_L): Likewise.
11721 (RUN_TEST_fFF_11): Likewise.
11722 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11724 (cosh_test_data): Likewise.
11725 (exp_test_data): Likewise.
11726 (expm1_test_data): Likewise.
11727 (hypot_test_data): Likewise.
11728 (pow_test_data): Likewise.
11729 (sinh_test_data): Likewise.
11730 (tanh_test_data): Likewise.
11731 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11734 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11735 tests with quiet NaN input and output.
11736 (acosh_test_data): Likewise.
11737 (asin_test_data): Likewise.
11738 (asinh_test_data): Likewise.
11739 (atan_test_data): Likewise.
11740 (atanh_test_data): Likewise.
11741 (atan2_test_data): Likewise.
11742 (cbrt_test_data): Likewise.
11743 (cos_test_data): Likewise.
11744 (cosh_test_data): Likewise.
11745 (erf_test_data): Likewise.
11746 (erfc_test_data): Likewise.
11747 (exp_test_data): Likewise.
11748 (exp10_test_data): Likewise.
11749 (exp2_test_data): Likewise.
11750 (expm1_test_data): Likewise.
11751 (hypot_test_data): Likewise.
11752 (j0_test_data): Likewise.
11753 (j1_test_data): Likewise.
11754 (jn_test_data): Likewise.
11755 (lgamma_test_data): Likewise.
11756 (log_test_data): Likewise.
11757 (log10_test_data): Likewise.
11758 (log1p_test_data): Likewise.
11759 (log2_test_data): Likewise.
11760 (pow_test_data): Likewise.
11761 (scalb_test_data): Likewise.
11762 (sin_test_data): Likewise.
11763 (sincos_test_data): Likewise.
11764 (sinh_test_data): Likewise.
11765 (tan_test_data): Likewise.
11766 (tanh_test_data): Likewise.
11767 (tgamma_test_data): Likewise.
11768 (y0_test_data): Likewise.
11769 (y1_test_data): Likewise.
11770 (yn_test_data): Likewise.
11773 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11774 argument being NaN and avoid computations with second argument in
11776 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11777 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11778 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11780 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11782 * locale/iso-639.def: Add Chitwani Tharu (the).
11784 2013-11-14 Andreas Schwab <schwab@suse.de>
11786 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11787 word instead of empty string.
11789 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11792 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11794 (__fe_nomask_env): Likewise.
11796 2013-11-13 Steve Ellcey <sellcey@mips.com>
11798 * benchtests/bench-timing.h: Include time.h.
11800 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11803 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11805 * sysdeps/unix/sysv/linux/configure: Regenerated.
11807 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11810 * stdlib/strtod_l.c (round_and_return): Do not consider
11811 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11812 exponent one less than half the least subnormal exponent.
11813 * stdlib/test-strtod-round-data: Add more tests.
11814 * stdlib/tst-strtod-round.c (tests): Regenerated.
11816 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11819 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11820 (__fe_mask_env): Likewise.
11821 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11822 libm_hidden_proto and add function prototype.
11823 (__fe_mask_env): Add function prototype.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11825 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11827 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11829 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11831 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11833 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11834 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11836 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11838 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11839 of htab_find_slot().
11841 2013-11-11 David S. Miller <davem@davemloft.net>
11844 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11845 symbol in the non-vis3 case in static builds.
11846 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11847 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11848 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11849 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11851 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11854 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11857 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11859 * benchtests/Makefile: Add bench-strtod.
11860 * benchtests/bench-strtod.c: New file: strtod benchtest
11862 2013-11-11 Andreas Schwab <schwab@suse.de>
11865 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11866 terminating NUL in key length.
11868 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11870 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11871 Add artificial ODP entry for vDSO symbol for PPC64.
11872 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11873 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11875 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11878 * nss/getent.c (services_keys): Recognize services starting with digit.
11880 2013-11-06 David S. Miller <davem@davemloft.net>
11883 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11884 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11886 2013-11-06 Will Newton <will.newton@linaro.org>
11888 * manual/memory.texi (Malloc Examples): Remove register
11889 keyword from examples.
11891 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11893 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11895 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11898 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11899 depending on [__GCC_IEC_559 > 0].
11900 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11901 depending on [__GCC_IEC_559_COMPLEX > 0].
11903 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11905 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11908 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11910 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11912 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11915 * malloc/malloc (malloc_info): Do not handle first bin as
11918 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11920 * locale/iso-639.def: Add Central Nahuatl (nhn).
11922 2013-11-01 Bruno Haible <bruno@clisp.org>
11925 * manual/math.texi (BSD Random): Specify range upper bound as
11928 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11930 * locale/iso-639.def: Add Meadow Mari (mhr).
11932 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11934 [BZ #14752], [BZ #15763]
11935 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11937 * rt/tst_shm.c: Add test for escaping directory.
11939 2013-10-31 Andreas Schwab <schwab@suse.de>
11942 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11943 followed by 'x' as part of digit sequence.
11944 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11946 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11949 * configure.ac: allow GNU Make 4.0 and greater.
11950 * configure: Regenerated.
11952 2013-10-30 Will Newton <will.newton@linaro.org>
11955 * malloc/hooks.c (memalign_check): Limit alignment to the
11956 maximum representable power of two.
11957 * malloc/malloc.c (__libc_memalign): Likewise.
11958 * malloc/tst-memalign.c (do_test): Add test for very
11959 large alignment values.
11960 * malloc/tst-posix_memalign.c (do_test): Likewise.
11962 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11965 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11966 (munmap_chunk): Likewise.
11967 (mremap_chunk): Likewise.
11969 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11972 * stdlib/div.c (div): Remove obsolete code.
11973 * stdlib/ldiv.c (ldiv): Likewise.
11974 * stdlib/lldiv.c (lldiv): Likewise.
11976 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11979 * nss/nss_files/files-XXX.c (get_contents_ret): New
11981 (get_contents): New function.
11982 (internal_getent): Use it. Expand size of LINEBUFLEN.
11984 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11986 * configure.in: Moved to ...
11987 * configure.ac: ... here. Change reference to configure.in
11989 * sysdeps/arm/preconfigure.ac: ... here.
11990 configure.in to configure.ac.
11991 * sysdeps/gnu/configure.in: Moved to ...
11992 * sysdeps/gnu/configure.ac: ... here.
11993 * sysdeps/i386/configure.in: Moved to ...
11994 * sysdeps/i386/configure.ac: ... here.
11995 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11996 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11997 * sysdeps/mach/configure.in: Moved to ...
11998 * sysdeps/mach/configure.ac: ... here.
11999 * sysdeps/mach/hurd/configure.in: Moved to ...
12000 * sysdeps/mach/hurd/configure.ac: ... here.
12001 * sysdeps/powerpc/configure.in: Moved to ...
12002 * sysdeps/powerpc/configure.ac: ... here.
12003 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12004 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12005 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12006 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12007 * sysdeps/s390/s390-32/configure.in: Moved to ...
12008 * sysdeps/s390/s390-32/configure.ac: ... here.
12009 * sysdeps/s390/s390-64/configure.in: Moved to ...
12010 * sysdeps/s390/s390-64/configure.ac: ... here.
12011 * sysdeps/sh/configure.in: Moved to ...
12012 * sysdeps/sh/configure.ac: ... here.
12013 * sysdeps/sparc/configure.in: Moved to ...
12014 * sysdeps/sparc/configure.ac: ... here.
12015 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12016 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12017 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12018 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12019 * sysdeps/x86_64/configure.in: Moved to ...
12020 * sysdeps/x86_64/configure.ac: ... here.
12021 * sysdeps/x86_64/preconfigure.in: Moved to ...
12022 * sysdeps/x86_64/preconfigure.ac: ... here.
12023 * aclocal.m4: Change reference to configure.in to configure.ac.
12024 * config.h.in: Likewise.
12025 * manual/install.texi: Likewise.
12026 * manual/maint.texi: Likewise.
12027 * Makefile: Likewise.
12028 * malloc/Makefile: Likewise.
12029 * nscd/Makefile: Likewise.
12030 * Makeconfig: Change reference to configure.in and
12031 preconfigure.in to configure.ac and preconfigure.ac
12033 * INSTALL: Regenerated.
12034 * configure: Likewise.
12035 * sysdeps/gnu/configure: Likewise.
12036 * sysdeps/i386/configure: Likewise.
12037 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12038 * sysdeps/mach/configure: Likewise.
12039 * sysdeps/mach/hurd/configure: Likewise.
12040 * sysdeps/powerpc/configure: Likewise.
12041 * sysdeps/powerpc/powerpc32/configure: Likewise.
12042 * sysdeps/powerpc/powerpc64/configure: Likewise.
12043 * sysdeps/s390/s390-32/configure: Likewise.
12044 * sysdeps/s390/s390-64/configure: Likewise.
12045 * sysdeps/sh/configure: Likewise.
12046 * sysdeps/sparc/configure: Likewise.
12047 * sysdeps/unix/sysv/linux/configure: Likewise.
12048 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12049 * sysdeps/x86_64/configure: Likewise.
12050 * sysdeps/x86_64/preconfigure: Likewise.
12052 2013-10-29 Andreas Schwab <schwab@suse.de>
12054 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12056 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12058 * benchtests/pow-inputs: Add new inputs.
12060 * benchtests/exp-inputs: Add new inputs.
12062 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12063 conditional check for return value.
12064 (__cos32): Likewise.
12066 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12068 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12069 to provide a boost for large inputs with word alignment.
12070 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12071 implementation based on optimized PPC64 strcpy.
12072 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12073 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12074 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12075 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12077 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12080 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12082 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12085 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12086 * time/tst-strptime.c (day_tests): Add testcase.
12088 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12091 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12093 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12096 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12097 MAP_FAILED on error.
12099 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12102 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12103 heap for large requests.
12105 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12108 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12109 result if the result has no associated interface.
12110 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12111 interface for all 127.X.Y.Z addresses.
12113 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12115 * locale/iso-639.def: Add Ligurian (lij)
12117 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12120 * sunrpc/rpc_main.c: Document rpcgen -5.
12122 2013-10-19 Michael Stahl <mstahl@redhat.com>
12124 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12126 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12129 * posix/glob.c: Match only directories when trailing slash is present.
12130 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12131 (main): Add testcase.
12133 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12136 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12138 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12140 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12141 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12142 AUTH_DES and cindex for FIPS 140-2.
12143 (DES Encryption): Add cindex FIPS 46-3.
12145 * locale/locarchive.h (struct locarhandle): Add fname.
12146 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12147 if an optional argument was specified to --list-archive,
12149 * locale/programs/locarchive.c (show_archive_content): Take new
12150 argument fname and pass it via ah.fname to open_archive.
12151 * locale/programs/localedef.h: Update decl.
12152 (open_archive): If AH->fname is non-null, open that file
12153 rather than the default file name, and don't ignore ENOENT.
12154 (create_archive): Set AH.fname to NULL.
12155 (delete_locales_from_archive): Likewise.
12156 (add_locales_to_archive): Likewise.
12157 * locale/programs/locfile.c (write_all_categories): Likewise.
12159 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12160 Aldy Hernandez <aldyh@redhat.com>
12162 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12163 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12164 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12165 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12166 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12167 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12168 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12169 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12170 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12171 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12172 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12173 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12174 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12175 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12176 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12178 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12180 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12182 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12184 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12185 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12187 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12188 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12189 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12190 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12192 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12193 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12194 * sysdeps/powerpc/preconfigure: Likewise.
12195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12197 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12198 Replace contents of file by #include of <fenv_libc.h>.
12199 * sysdeps/powerpc/soft-fp/sfp-machine.h
12200 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12202 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12203 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12204 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12205 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12206 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12207 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12209 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12210 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12211 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12212 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12213 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12215 Allow copysignl PLT reference to be missing.
12217 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12218 Joseph Myers <joseph@codesourcery.com
12221 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12223 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12225 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12227 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12228 * elf/tst-tls1.c: Likewise.
12229 * elf/tst-tls10.h: Likewise.
12230 * elf/tst-tls14.c: Likewise.
12231 * elf/tst-tls2.c: Likewise.
12232 * elf/tst-tls3.c: Likewise.
12233 * elf/tst-tls4.c: Likewise.
12234 * elf/tst-tls5.c: Likewise.
12235 * elf/tst-tls6.c: Likewise.
12236 * elf/tst-tls7.c: Likewise.
12237 * elf/tst-tls8.c: Likewise.
12238 * elf/tst-tls9.c: Likewise.
12239 * elf/tst-tlsmod1.c: Likewise.
12240 * elf/tst-tlsmod13.c: Likewise.
12241 * elf/tst-tlsmod13a.c: Likewise.
12242 * elf/tst-tlsmod14a.c: Likewise.
12243 * elf/tst-tlsmod16a.c: Likewise.
12244 * elf/tst-tlsmod16b.c: Likewise.
12245 * elf/tst-tlsmod2.c: Likewise.
12246 * elf/tst-tlsmod3.c: Likewise.
12247 * elf/tst-tlsmod4.c: Likewise.
12248 * elf/tst-tlsmod5.c: Likewise.
12249 * elf/tst-tlsmod6.c: Likewise.
12251 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12254 * malloc/malloc.c: remove checks for statistics.
12256 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12259 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12260 * inet/tst-network.c: Add testcase.
12262 2013-10-17 Andreas Schwab <schwab@suse.de>
12265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12266 to determine canonical name.
12268 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12270 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12271 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12272 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12273 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12275 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12276 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12277 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12278 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12279 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12280 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12293 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12294 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12295 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12300 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12310 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12311 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12312 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12314 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12315 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12316 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12317 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12318 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12319 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12320 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12321 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12322 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12323 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12324 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12325 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12326 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12327 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12329 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12332 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12333 make result into a quiet NaN.
12335 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12337 * soft-fp/adddf3.c: Fix horizontal whitespace.
12338 * soft-fp/addsf3.c: Likewise.
12339 * soft-fp/addtf3.c: Likewise.
12340 * soft-fp/divdf3.c: Likewise.
12341 * soft-fp/divsf3.c: Likewise.
12342 * soft-fp/divtf3.c: Likewise.
12343 * soft-fp/double.h: Likewise.
12344 * soft-fp/eqdf2.c: Likewise.
12345 * soft-fp/eqsf2.c: Likewise.
12346 * soft-fp/eqtf2.c: Likewise.
12347 * soft-fp/extenddftf2.c: Likewise.
12348 * soft-fp/extended.h: Likewise.
12349 * soft-fp/extendsfdf2.c: Likewise.
12350 * soft-fp/extendsftf2.c: Likewise.
12351 * soft-fp/extendxftf2.c: Likewise.
12352 * soft-fp/fixdfdi.c: Likewise.
12353 * soft-fp/fixdfsi.c: Likewise.
12354 * soft-fp/fixdfti.c: Likewise.
12355 * soft-fp/fixsfdi.c: Likewise.
12356 * soft-fp/fixsfsi.c: Likewise.
12357 * soft-fp/fixsfti.c: Likewise.
12358 * soft-fp/fixtfdi.c: Likewise.
12359 * soft-fp/fixtfsi.c: Likewise.
12360 * soft-fp/fixtfti.c: Likewise.
12361 * soft-fp/fixunsdfdi.c: Likewise.
12362 * soft-fp/fixunsdfsi.c: Likewise.
12363 * soft-fp/fixunsdfti.c: Likewise.
12364 * soft-fp/fixunssfdi.c: Likewise.
12365 * soft-fp/fixunssfsi.c: Likewise.
12366 * soft-fp/fixunssfti.c: Likewise.
12367 * soft-fp/fixunstfdi.c: Likewise.
12368 * soft-fp/fixunstfsi.c: Likewise.
12369 * soft-fp/fixunstfti.c: Likewise.
12370 * soft-fp/floatdidf.c: Likewise.
12371 * soft-fp/floatdisf.c: Likewise.
12372 * soft-fp/floatditf.c: Likewise.
12373 * soft-fp/floatsidf.c: Likewise.
12374 * soft-fp/floatsisf.c: Likewise.
12375 * soft-fp/floatsitf.c: Likewise.
12376 * soft-fp/floattidf.c: Likewise.
12377 * soft-fp/floattisf.c: Likewise.
12378 * soft-fp/floattitf.c: Likewise.
12379 * soft-fp/floatundidf.c: Likewise.
12380 * soft-fp/floatundisf.c: Likewise.
12381 * soft-fp/floatunditf.c: Likewise.
12382 * soft-fp/floatunsidf.c: Likewise.
12383 * soft-fp/floatunsisf.c: Likewise.
12384 * soft-fp/floatunsitf.c: Likewise.
12385 * soft-fp/floatuntidf.c: Likewise.
12386 * soft-fp/floatuntisf.c: Likewise.
12387 * soft-fp/floatuntitf.c: Likewise.
12388 * soft-fp/fmadf4.c: Likewise.
12389 * soft-fp/fmasf4.c: Likewise.
12390 * soft-fp/fmatf4.c: Likewise.
12391 * soft-fp/gedf2.c: Likewise.
12392 * soft-fp/gesf2.c: Likewise.
12393 * soft-fp/getf2.c: Likewise.
12394 * soft-fp/ledf2.c: Likewise.
12395 * soft-fp/lesf2.c: Likewise.
12396 * soft-fp/letf2.c: Likewise.
12397 * soft-fp/muldf3.c: Likewise.
12398 * soft-fp/mulsf3.c: Likewise.
12399 * soft-fp/multf3.c: Likewise.
12400 * soft-fp/negdf2.c: Likewise.
12401 * soft-fp/negsf2.c: Likewise.
12402 * soft-fp/negtf2.c: Likewise.
12403 * soft-fp/op-1.h: Likewise.
12404 * soft-fp/op-2.h: Likewise.
12405 * soft-fp/op-4.h: Likewise.
12406 * soft-fp/op-8.h: Likewise.
12407 * soft-fp/op-common.h: Likewise.
12408 * soft-fp/quad.h: Likewise.
12409 * soft-fp/single.h: Likewise.
12410 * soft-fp/soft-fp.h: Likewise.
12411 * soft-fp/sqrtdf2.c: Likewise.
12412 * soft-fp/sqrtsf2.c: Likewise.
12413 * soft-fp/sqrttf2.c: Likewise.
12414 * soft-fp/subdf3.c: Likewise.
12415 * soft-fp/subsf3.c: Likewise.
12416 * soft-fp/subtf3.c: Likewise.
12417 * soft-fp/truncdfsf2.c: Likewise.
12418 * soft-fp/trunctfdf2.c: Likewise.
12419 * soft-fp/trunctfsf2.c: Likewise.
12420 * soft-fp/trunctfxf2.c: Likewise.
12421 * soft-fp/unorddf2.c: Likewise.
12422 * soft-fp/unordsf2.c: Likewise.
12423 * soft-fp/unordtf2.c: Likewise.
12425 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12427 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12428 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12430 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12432 * elf/dl-libc.c: Clear initfini list after freeing.
12434 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12436 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12437 * soft-fp/addsf3.c: Likewise.
12438 * soft-fp/addtf3.c: Likewise.
12439 * soft-fp/divdf3.c: Likewise.
12440 * soft-fp/divsf3.c: Likewise.
12441 * soft-fp/divtf3.c: Likewise.
12442 * soft-fp/double.h: Likewise.
12443 * soft-fp/eqdf2.c: Likewise.
12444 * soft-fp/eqsf2.c: Likewise.
12445 * soft-fp/eqtf2.c: Likewise.
12446 * soft-fp/extenddftf2.c: Likewise.
12447 * soft-fp/extended.h: Likewise.
12448 * soft-fp/extendsfdf2.c: Likewise.
12449 * soft-fp/extendsftf2.c: Likewise.
12450 * soft-fp/extendxftf2.c: Likewise.
12451 * soft-fp/fixdfdi.c: Likewise.
12452 * soft-fp/fixdfsi.c: Likewise.
12453 * soft-fp/fixdfti.c: Likewise.
12454 * soft-fp/fixsfdi.c: Likewise.
12455 * soft-fp/fixsfsi.c: Likewise.
12456 * soft-fp/fixsfti.c: Likewise.
12457 * soft-fp/fixtfdi.c: Likewise.
12458 * soft-fp/fixtfsi.c: Likewise.
12459 * soft-fp/fixtfti.c: Likewise.
12460 * soft-fp/fixunsdfdi.c: Likewise.
12461 * soft-fp/fixunsdfsi.c: Likewise.
12462 * soft-fp/fixunsdfti.c: Likewise.
12463 * soft-fp/fixunssfdi.c: Likewise.
12464 * soft-fp/fixunssfsi.c: Likewise.
12465 * soft-fp/fixunssfti.c: Likewise.
12466 * soft-fp/fixunstfdi.c: Likewise.
12467 * soft-fp/fixunstfsi.c: Likewise.
12468 * soft-fp/fixunstfti.c: Likewise.
12469 * soft-fp/floatdidf.c: Likewise.
12470 * soft-fp/floatdisf.c: Likewise.
12471 * soft-fp/floatditf.c: Likewise.
12472 * soft-fp/floatsidf.c: Likewise.
12473 * soft-fp/floatsisf.c: Likewise.
12474 * soft-fp/floatsitf.c: Likewise.
12475 * soft-fp/floattidf.c: Likewise.
12476 * soft-fp/floattisf.c: Likewise.
12477 * soft-fp/floattitf.c: Likewise.
12478 * soft-fp/floatundidf.c: Likewise.
12479 * soft-fp/floatundisf.c: Likewise.
12480 * soft-fp/floatunsidf.c: Likewise.
12481 * soft-fp/floatunsisf.c: Likewise.
12482 * soft-fp/floatuntidf.c: Likewise.
12483 * soft-fp/floatuntisf.c: Likewise.
12484 * soft-fp/floatuntitf.c: Likewise.
12485 * soft-fp/fmadf4.c: Likewise.
12486 * soft-fp/fmasf4.c: Likewise.
12487 * soft-fp/fmatf4.c: Likewise.
12488 * soft-fp/gedf2.c: Likewise.
12489 * soft-fp/gesf2.c: Likewise.
12490 * soft-fp/getf2.c: Likewise.
12491 * soft-fp/ledf2.c: Likewise.
12492 * soft-fp/lesf2.c: Likewise.
12493 * soft-fp/letf2.c: Likewise.
12494 * soft-fp/muldf3.c: Likewise.
12495 * soft-fp/mulsf3.c: Likewise.
12496 * soft-fp/multf3.c: Likewise.
12497 * soft-fp/negdf2.c: Likewise.
12498 * soft-fp/negsf2.c: Likewise.
12499 * soft-fp/negtf2.c: Likewise.
12500 * soft-fp/op-1.h: Likewise.
12501 * soft-fp/op-2.h: Likewise.
12502 * soft-fp/op-4.h: Likewise.
12503 * soft-fp/op-8.h: Likewise.
12504 * soft-fp/op-common.h: Likewise.
12505 * soft-fp/quad.h: Likewise.
12506 * soft-fp/single.h: Likewise.
12507 * soft-fp/soft-fp.h: Likewise.
12508 * soft-fp/sqrtdf2.c: Likewise.
12509 * soft-fp/sqrtsf2.c: Likewise.
12510 * soft-fp/sqrttf2.c: Likewise.
12511 * soft-fp/subdf3.c: Likewise.
12512 * soft-fp/subsf3.c: Likewise.
12513 * soft-fp/subtf3.c: Likewise.
12514 * soft-fp/truncdfsf2.c: Likewise.
12515 * soft-fp/trunctfdf2.c: Likewise.
12516 * soft-fp/trunctfsf2.c: Likewise.
12517 * soft-fp/trunctfxf2.c: Likewise.
12518 * soft-fp/unorddf2.c: Likewise.
12519 * soft-fp/unordsf2.c: Likewise.
12520 * soft-fp/unordtf2.c: Likewise.
12522 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12525 * misc/error.c (error_tail): Fix possible buffer overflow.
12527 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12530 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12533 2013-10-14 P. J. McDermott <pj@pehjota.net>
12536 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12537 testing pipefail option.
12539 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12541 * soft-fp/double.h: Indent preprocessor directives inside #if.
12542 * soft-fp/extended.h: Likewise.
12543 * soft-fp/op-2.h: Likewise.
12544 * soft-fp/op-4.h: Likewise.
12545 * soft-fp/op-common.h: Likewise.
12546 * soft-fp/quad.h: Likewise.
12547 * soft-fp/single.h: Likewise.
12548 * soft-fp/soft-fp.h: Likewise.
12550 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12552 * iconv/iconv_prog.c: Fix typos.
12553 * stdio-common/psiginfo-data.h: Likewise.
12555 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12558 * locale/setlocale.c: Fix typo.
12560 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12563 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12564 signaling NaN arguments.
12565 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12566 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12569 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12570 unordered operands.
12571 * soft-fp/gesf2.c (__gesf2): Likewise.
12572 * soft-fp/getf2.c (__getf2): Likewise.
12573 * soft-fp/ledf2.c (__ledf2): Likewise.
12574 * soft-fp/lesf2.c (__lesf2): Likewise.
12575 * soft-fp/letf2.c (__letf2): Likewise.
12577 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12578 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12579 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12580 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12581 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12582 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12583 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12584 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12585 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12586 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12587 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12588 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12589 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12590 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12591 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12592 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12593 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12594 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12595 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12596 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12597 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12598 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12599 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12600 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12601 * soft-fp/floattidf.c (__floattidf): Likewise.
12602 * soft-fp/floattisf.c (__floattisf): Likewise.
12603 * soft-fp/floattitf.c (__floattitf): Likewise.
12604 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12605 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12606 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12607 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12608 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12609 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12610 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12611 * soft-fp/gesf2.c (__gesf2): Likewise.
12612 * soft-fp/getf2.c (__getf2): Likewise.
12613 * soft-fp/ledf2.c (__ledf2): Likewise.
12614 * soft-fp/lesf2.c (__lesf2): Likewise.
12615 * soft-fp/letf2.c (__letf2): Likewise.
12617 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12618 Undefine and redefine.
12619 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12620 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12621 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12622 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12623 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12624 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12625 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12626 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12627 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12628 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12629 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12630 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12631 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12632 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12633 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12636 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12637 without decrementing exponent if mantissa >= that for the
12638 denominator, not >.
12639 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12640 denominator, not >. Decrement exponent in < case instead of
12641 incrementing in >= case.
12642 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12643 without decrementing exponent if mantissa >= that for the
12644 denominator, not >.
12646 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12647 computing saturated result for unsigned overflow.
12649 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12650 Jeff Law <law@redhat.com>
12652 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12653 (atan2Mp): Add systemtap probe marker.
12654 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12655 (__ieee754_log): Add systemtap probe marker.
12656 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12657 (atanMp): Add systemtap probe marker.
12658 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12659 (tanMp): Add systemtap probe marker.
12660 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12661 (__slowexp): Add systemtap probe marker.
12662 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12663 (__slowpow): Add systemtap probe marker.
12664 * manual/probes.texi: Document probes.
12666 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12669 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12671 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12673 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12674 written to buffer but not flushed.
12675 * libio/iofwrite_u.c: Likewise.
12676 * libio/iopadn.c: Return bytes returned even if EOF was
12678 * libio/iowpadn.c: Likewise.
12679 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12680 if _IO_padn does not write the whole buffer.
12681 [!COMPILE_WPRINTF] (PAD): Likewise.
12683 2013-10-10 David S. Miller <davem@davemloft.net>
12685 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12688 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12690 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12691 instead of FSF address.
12692 * soft-fp/fixdfti.c: Likewise.
12693 * soft-fp/fixsfti.c: Likewise.
12694 * soft-fp/fixtfti.c: Likewise.
12695 * soft-fp/fixunsdfti.c: Likewise.
12696 * soft-fp/fixunssfti.c: Likewise.
12697 * soft-fp/fixunstfti.c: Likewise.
12698 * soft-fp/floattidf.c: Likewise.
12699 * soft-fp/floattisf.c: Likewise.
12700 * soft-fp/floattitf.c: Likewise.
12701 * soft-fp/floatuntidf.c: Likewise.
12702 * soft-fp/floatuntisf.c: Likewise.
12703 * soft-fp/floatuntitf.c: Likewise.
12704 * soft-fp/trunctfxf2.c: Likewise.
12706 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12707 * soft-fp/fixdfti.c: Likewise.
12708 * soft-fp/fixsfti.c: Likewise.
12709 * soft-fp/fixtfti.c: Likewise.
12710 * soft-fp/fixunsdfti.c: Likewise.
12711 * soft-fp/fixunssfti.c: Likewise.
12712 * soft-fp/fixunstfti.c: Likewise.
12713 * soft-fp/floattidf.c: Likewise.
12714 * soft-fp/floattisf.c: Likewise.
12715 * soft-fp/floattitf.c: Likewise.
12716 * soft-fp/floatuntidf.c: Likewise.
12717 * soft-fp/floatuntisf.c: Likewise.
12718 * soft-fp/floatuntitf.c: Likewise.
12719 * soft-fp/trunctfxf2.c: Likewise.
12721 2013-10-10 David S. Miller <davem@davemloft.net>
12723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12725 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12727 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12728 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12729 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12730 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12731 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12732 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12733 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12735 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12736 for NaNs before doing comparisons on argument.
12737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12740 2013-10-10 Will Newton <will.newton@linaro.org>
12742 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12743 passed to _int_memalign does not overflow.
12745 2013-10-10 Torvald Riegel <triegel@redhat.com>
12747 * scripts/bench.pl: Add include-sources directive.
12748 * benchtests/README: Update documentation.
12750 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12752 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12753 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12754 instead of FP_INIT_ROUNDMODE.
12755 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12756 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12759 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12760 copy class of input value.
12761 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12762 not handle exceptions.
12763 * soft-fp/negsf2.c (__negsf2): Likewise.
12764 * soft-fp/negtf2.c (__negtf2): Likewise.
12765 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12767 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12769 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12770 semicolon. From Linux kernel.
12772 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12774 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12776 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12779 * manual/socket.texi: Added statement about buffer
12780 for gethostbyname2_r.
12782 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12784 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12785 Use .p2align directive instead, throughout.
12786 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12787 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12788 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12789 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12790 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12791 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12792 * sysdeps/x86_64/strchr.S: Likewise.
12793 * sysdeps/x86_64/strrchr.S: Likewise.
12795 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12797 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12799 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12801 * sysdeps/generic/math_private.h (__mpsin1): Remove
12803 (__mpcos1): Likewise.
12804 (__mpsin): New argument __range_reduce.
12805 (__mpcos): Likewise.
12806 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12807 (slow): Use __mpsin and __mpcos.
12811 (sloww1): Likewise.
12812 (sloww2): Likewise.
12813 (bsloww): Likewise.
12814 (bsloww1): Likewise.
12815 (bsloww2): Likewise.
12816 (cslow2): Likewise.
12817 (csloww): Likewise.
12818 (csloww1): Likewise.
12819 (csloww2): Likewise.
12820 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12821 range_reduce. Merge in __mpsin1.
12822 (__mpcos): Likewise.
12823 (__mpsin1): Remove.
12824 (__mpcos1): Likewise.
12826 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12828 * locale/loadlocale.c (_nl_intern_locale_data): Use
12830 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12831 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12832 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12833 obstack data is appropriately aligned.
12834 (obstack_int32_grow_fast): Likewise.
12835 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12836 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12837 (add_locale_uint32_array): Likewise.
12839 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12841 * benchtests/Makefile: Remove ARGLIST and RET variables.
12842 ($(objpfx)bench-%.c): Pass only function name to the script.
12843 * benchtests/README: Update documentation.
12844 * benchtests/acos-inputs: Add new directives.
12845 * benchtests/acosh-inputs: Likewise.
12846 * benchtests/asin-inputs: Likewise.
12847 * benchtests/asinh-inputs: Likewise.
12848 * benchtests/atan-inputs: Likewise.
12849 * benchtests/atanh-inputs: Likewise.
12850 * benchtests/cos-inputs: Likewise.
12851 * benchtests/cosh-inputs: Likewise.
12852 * benchtests/exp-inputs: Likewise.
12853 * benchtests/log-inputs: Likewise.
12854 * benchtests/pow-inputs: Likewise.
12855 * benchtests/rint-inputs: Likewise.
12856 * benchtests/sin-inputs: Likewise.
12857 * benchtests/sinh-inputs: Likewise.
12858 * benchtests/tan-inputs: Likewise.
12859 * benchtests/tanh-inputs: Likewise.
12860 * scripts/bench.pl: Add support for new directives.
12862 2013-10-07 Alan Modra <amodra@gmail.com>
12864 * README: Fix careless merge.
12866 2013-10-05 Alan Modra <amodra@gmail.com>
12868 * NEWS: Mention powerpc64le support and bugs fixed.
12869 * README: Both big-endian and little-endian powerpc64 supported.
12871 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12873 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12874 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12875 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12876 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12878 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12880 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12883 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12885 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12886 Move -mhard-float appending from
12887 ports/sysdeps/powerpc/powerpc32/Makefile.
12888 [$(with-fp) = yes] (ASFLAGS): Likewise.
12889 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12890 * sysdeps/powerpc/nofpu: Move directory from
12891 ports/sysdeps/powerpc/nofpu.
12892 * sysdeps/powerpc/soft-fp: Move directory from
12893 ports/sysdeps/powerpc/soft-fp.
12894 * sysdeps/powerpc/powerpc32/405: Move directory from
12895 ports/sysdeps/powerpc/powerpc32/405.
12896 * sysdeps/powerpc/powerpc32/440: Move directory from
12897 ports/sysdeps/powerpc/powerpc32/440.
12898 * sysdeps/powerpc/powerpc32/464: Move directory from
12899 ports/sysdeps/powerpc/powerpc32/464.
12900 * sysdeps/powerpc/powerpc32/476: Move directory from
12901 ports/sysdeps/powerpc/powerpc32/476.
12902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12903 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12905 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12907 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12909 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12911 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12912 * README: Update for powerpc-*-linux-gnu software floating point
12915 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12916 case to powerpc/powerpc32*.
12917 * sysdeps/unix/sysv/linux/configure: Regenerated.
12919 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12920 (_FPU_MASK_OM): Define as 0x04.
12921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12924 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12929 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12932 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12935 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12936 and setcontext_e500.
12938 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12940 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12942 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12944 * manual/threads.texi (Default Thread Attributes): Fix typo.
12946 2013-10-04 Will Newton <will.newton@linaro.org>
12948 * malloc/Makefile: Add tst-memalign.
12949 * malloc/tst-memalign.c: New file.
12951 * malloc/tst-posix_memalign.c: Add comments.
12952 (do_test): Add comments and call free on all potentially
12953 allocated pointers. Add space after cast.
12955 * malloc/tst-pvalloc.c: Add comments.
12956 (do_test): Add comments and call free on all potentially
12957 allocated pointers. Remove duplicate check for NULL pointer.
12958 Add space after cast.
12960 * malloc/tst-valloc.c: Add comments.
12961 (do_test): Add comments and call free on all potentially
12962 allocated pointers. Remove duplicate check for NULL pointer.
12963 Add space after cast.
12965 2013-10-04 Alan Modra <amodra@gmail.com>
12967 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12968 Use stdint types in rather than __attribute__((mode())).
12969 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12971 2013-10-04 Alan Modra <amodra@gmail.com>
12973 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12974 Correct handling of unaligned relocs for little-endian.
12975 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12977 2013-10-04 Alan Modra <amodra@gmail.com>
12979 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12980 * configure: Regenerate.
12981 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12982 * shlib-versions: Likewise.
12984 2013-10-04 Alan Modra <amodra@gmail.com>
12986 * string/tester.c (test_memrchr): Increment reported test cycle.
12988 2013-10-04 Alan Modra <amodra@gmail.com>
12990 * string/test-memcpy.c (do_one_test): When reporting errors, print
12991 string address and don't overrun end of string.
12993 2013-10-04 Alan Modra <amodra@gmail.com>
12995 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12996 insrdi. Make better use of reg selection to speed exit slightly.
12997 Schedule entry path a little better. Remove useless "are we done"
12998 checks on entry to main loop. Handle wrapping around zero address.
12999 Correct main loop count. Handle single left-over word from main
13000 loop inline rather than by using loop_small. Remove extra word
13001 case in loop_small caused by wrong loop count. Add little-endian
13003 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13004 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13006 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13007 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13008 support. Avoid rlwimi.
13009 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13011 2013-10-04 Alan Modra <amodra@gmail.com>
13013 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13014 insrdi. Formatting.
13015 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13016 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13017 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13018 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13019 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13020 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13022 2013-10-04 Alan Modra <amodra@gmail.com>
13024 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13025 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13026 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13027 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13028 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13029 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13030 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13031 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13032 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13033 use of regs. Use power7 mtocrf. Tidy function tails.
13035 2013-10-04 Alan Modra <amodra@gmail.com>
13037 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13038 Formatting. Consistently use rXXX register defines or rN defines.
13039 Use early exit labels that avoid restoring unused non-volatile regs.
13040 Make cr field use more consistent with rWORDn compares. Rename
13041 regs used as shift registers for unaligned loop, using rN defines
13042 for short lifetime/multiple use regs.
13043 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13044 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13045 addi 1,1,64 to pop stack frame. Simplify return value code.
13046 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13048 2013-10-04 Alan Modra <amodra@gmail.com>
13050 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13051 support. Correct typos, formatting. Optimize tail. Use insrdi
13052 rather than rlwimi.
13053 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13054 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13055 little-endian support. Correct typos.
13056 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13057 rather than rlwimi.
13058 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13059 in loop and entry code to keep "and." results.
13060 (strchr): Add little-endian support. Comment. Move cntlzd
13062 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13064 2013-10-04 Alan Modra <amodra@gmail.com>
13066 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13067 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13068 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13069 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13071 2013-10-04 Alan Modra <amodra@gmail.com>
13073 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13074 (rTMP): Define as r11.
13075 (strcmp): Add little-endian support. Optimise tail.
13076 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13077 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13078 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13079 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13080 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13081 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13082 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13084 2013-10-04 Alan Modra <amodra@gmail.com>
13086 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13087 little-endian support. Remove unnecessary "are we done" tests.
13088 Handle "s" wrapping around zero and extremely large "size".
13089 Correct main loop count. Handle single left-over word from main
13090 loop inline rather than by using small_loop. Correct comments.
13091 Delete "zero" tail, use "end_max" instead.
13092 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13094 2013-10-04 Alan Modra <amodra@gmail.com>
13096 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13097 support. Don't branch over align.
13098 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13099 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13100 support. Rearrange tmp reg use to suit. Comment.
13101 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13103 2013-10-04 Alan Modra <amodra@gmail.com>
13105 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13107 2013-10-04 Alan Modra <amodra@gmail.com>
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13110 conditional form of branch and link when obtaining pc.
13111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13113 2013-10-04 Alan Modra <amodra@gmail.com>
13115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13120 2013-10-04 Alan Modra <amodra@gmail.com>
13122 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13123 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13124 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13125 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13126 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13127 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13128 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13129 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13130 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13131 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13133 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13134 Alistair Popple <alistair@ozlabs.au.ibm.com>
13135 Alan Modra <amodra@gmail.com>
13138 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13139 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13140 _dl_hwcap access for little-endian.
13141 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13142 destroy vmx regs when saving unaligned.
13143 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13144 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13145 destroy vmx regs when saving unaligned.
13147 2013-10-04 Alan Modra <amodra@gmail.com>
13149 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13150 Don't use a union to pack hi/low value.
13152 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13154 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13156 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13157 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13158 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13159 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13160 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13162 2013-10-04 Alan Modra <amodra@gmail.com>
13164 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13165 constants to usual value for .cst8 section, and remove redundant
13167 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13168 constant for 0x1p52. Load little-endian words of double from
13169 correct stack offsets.
13171 2013-10-04 Alan Modra <amodra@gmail.com>
13173 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13174 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13175 words of double from correct stack offsets.
13176 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13177 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13178 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13179 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13180 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13181 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13182 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13183 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13184 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13185 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13186 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13187 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13188 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13189 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13190 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13191 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13192 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13194 2013-10-04 Alan Modra <amodra@gmail.com>
13196 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13197 64-bit int/double union.
13198 (_FPU_SETCW): Likewise.
13199 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13200 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13202 2013-10-04 Alan Modra <amodra@gmail.com>
13204 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13205 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13207 2013-10-04 Alan Modra <amodra@gmail.com>
13209 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13210 use vector int constants.
13211 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13213 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13215 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13216 array with long long.
13217 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13218 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13219 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13220 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13221 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13222 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13223 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13224 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13225 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13226 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13227 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13228 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13229 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13231 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13233 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13234 (__signbit): Likewise. Correct for little-endian.
13235 (__signbitl): Call __signbit.
13236 (lrint): Correct for little-endian.
13237 (lrintf): Call lrint.
13239 2013-10-04 Alan Modra <amodra@gmail.com>
13241 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13242 union 32-bit int array member with 64-bit int array.
13243 (t515, tm256): Double rather than long double.
13244 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13246 2013-10-04 Alan Modra <amodra@gmail.com>
13248 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13250 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13251 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13252 version of math_ldbl.h.
13254 2013-10-04 Alan Modra <amodra@gmail.com>
13256 [BZ #15734], [BZ #15735]
13257 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13258 all uses of ieee875 long double macros and unions. Simplify test
13259 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13260 ldbl_extract_mantissa value for ix,iy exponents. Properly
13261 normalize after ldbl_extract_mantissa, and don't add hidden bit
13262 already handled. Don't treat low word of ieee854 mantissa like
13263 low word of IBM long double and mask off bit when testing for
13265 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13266 all uses of ieee875 long double macros and unions. Simplify tests
13267 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13268 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13269 two1022, instead use their values. Recognise that tests for large
13270 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13271 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13272 Rewrite all uses of ieee875 long double macros and unions. Simplify
13273 test for 0.0L and nan. Correct negation.
13274 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13275 ieee875 long double macros and unions. Correct output for large
13276 magnitude x. Correct absolute value calculation.
13277 (__erfcl): Likewise.
13278 * math/libm-test.inc: Add tests for errors discovered in IBM long
13279 double versions of fmodl, remainderl, erfl and erfcl.
13281 2013-10-04 Alan Modra <amodra@gmail.com>
13283 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13284 all uses of ieee854 long double macros and unions. Simplify tests
13285 for long doubles that are fully specified by the high double.
13286 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13288 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13289 Remove dead code too.
13290 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13291 (__ieee754_ynl): Likewise.
13292 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13293 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13295 Remove dead code too.
13296 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13297 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13298 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13299 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13301 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13303 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13304 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13305 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13306 Comment on variable precision.
13307 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13308 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13310 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13311 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13312 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13313 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13314 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13316 2013-10-04 Alan Modra <amodra@gmail.com>
13318 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13319 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13320 all uses of ieee854 long double macros and unions.
13321 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13322 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13323 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13324 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13325 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13326 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13328 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13329 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13330 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13331 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13332 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13333 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13334 Simplify sign and nan test too.
13335 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13336 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13337 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13338 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13340 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13341 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13343 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13344 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13345 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13346 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13347 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13348 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13350 2013-10-04 Alan Modra <amodra@gmail.com>
13352 * stdio-common/printf_size.c (__printf_size): Don't use
13353 union ieee854_long_double in fpnum union.
13354 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13355 signbit macro to retrieve sign from long double.
13356 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13357 retrieve sign from long double.
13358 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13359 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13360 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13361 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13362 * math/test-misc.c (main): Don't use union ieee854_long_double.
13364 2013-10-04 Alan Modra <amodra@gmail.com>
13367 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13368 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13369 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13370 calculation. Remove unnecessary test for denormal exponent.
13371 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13372 Correct handling of denormals. Avoid undefined shift behaviour.
13373 Correct normalisation of low mantissa when low double is denormal.
13374 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13375 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13376 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13377 Correct normalisation of low mantissa. Test for overflow of high
13378 mantissa and normalise.
13379 (ldbl_nearbyint): Use more readable constant for two52.
13380 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13381 (__mpn_construct_long_double): Fix test for overflow of high
13382 mantissa and correct normalisation. Avoid undefined shift.
13384 2013-10-04 Alan Modra <amodra@gmail.com>
13386 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13387 (union ibm_extended_long_double): Define as an array of ieee754_double.
13388 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13389 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13390 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13391 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13393 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13394 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13395 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13396 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13397 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13398 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13400 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13402 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13403 page size instead of calling getpagesize.
13405 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13406 (LOCFILE_ALIGN_MASK): Likewise.
13407 (LOCFILE_ALIGN_UP): Likewise.
13408 (LOCFILE_ALIGNED_P): Likewise.
13409 * locale/programs/ld-collate.c (collate_output): Use the new
13410 macros instead of __alignof__ (int32_t).
13411 * locale/weight.h (findidx): Likewise.
13413 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13416 * manual/string.texi: Fix strncat and wcsncat.
13418 2013-10-03 Brooks Moses <bmoses@google.com>
13421 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13422 * Makerules: ...here, and adjust associated comments.
13424 2013-10-02 Will Newton <will.newton@linaro.org>
13426 * malloc/Makefile: Add tst-pvalloc.
13427 * malloc/tst-pvalloc.c: New file.
13429 2013-10-02 Will Newton <will.newton@linaro.org>
13431 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13432 improve test coverage.
13434 2013-10-02 Will Newton <will.newton@linaro.org>
13436 * malloc/Makefile: Add tst-posix_memalign.
13437 * malloc/tst-posix_memalign.c: New file.
13439 2013-10-01 Eric Blake <eblake@redhat.com>
13441 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13442 Use __THROWNL rather than __THROW on static functions.
13444 2013-09-30 Petr Machata <pmachata@redhat.com>
13446 * elf/elf.h (R_AARCH64_ABS16): New macro.
13447 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13448 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13449 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13450 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13451 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13452 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13453 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13454 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13455 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13456 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13457 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13458 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13459 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13460 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13461 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13462 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13463 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13464 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13465 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13466 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13467 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13468 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13469 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13470 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13471 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13472 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13473 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13474 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13475 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13476 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13477 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13478 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13479 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13480 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13481 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13482 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13483 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13484 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13485 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13486 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13487 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13488 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13489 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13490 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13491 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13492 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13493 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13494 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13495 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13496 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13497 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13498 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13499 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13500 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13501 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13502 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13503 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13504 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13505 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13506 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13507 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13508 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13509 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13510 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13511 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13512 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13513 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13514 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13515 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13516 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13517 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13518 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13519 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13520 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13521 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13522 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13523 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13524 (R_AARCH64_TLSDESC_LDR): Likewise.
13525 (R_AARCH64_TLSDESC_ADD): Likewise.
13526 (R_AARCH64_TLSDESC_CALL): Likewise.
13528 2013-09-30 Andreas Schwab <schwab@suse.de>
13531 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13532 the nss database lookup.
13533 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13536 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13538 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13540 2013-09-28 P. J. McDermott <pj@pehjota.net>
13542 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13543 ${Bash-specific parameter/pattern/string} parameter expansion.
13544 * sysdeps/unix/make-syscalls.sh: Likewise.
13546 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13548 * sysdeps/sh/stackguard-macros.h: New file.
13550 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13554 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13555 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13556 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13557 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13559 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13561 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13562 Fix thread ID register.
13564 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13566 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13567 [POSIX || UNIX98]: Require rather than permitting all symbols from
13569 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13570 element of struct sched_param.
13571 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13572 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13573 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13574 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13577 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13579 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13580 argument calculation.
13582 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13584 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13586 [POSIX] (pthread_attr_t): Do not require type.
13587 [POSIX] (pthread_cond_t): Likewise.
13588 [POSIX] (pthread_condattr_t): Likewise.
13589 [POSIX] (pthread_key_t): Likewise.
13590 [POSIX] (pthread_mutex_t): Likewise.
13591 [POSIX] (pthread_mutexattr_t): Likewise.
13592 [POSIX] (pthread_once_t): Likewise.
13593 [POSIX] (pthread_t): Likewise.
13594 [POSIX-based standards] (pthread_atfork): Expect function.
13596 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13597 Richard Sandiford <richard@codesourcery.com>
13599 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13600 (swap_endianness_p): New extern variable.
13601 (set_big_endian): New inline function.
13602 (maybe_swap_uint32): Likewise.
13603 (maybe_swap_uint32_array): Likewise.
13604 (maybe_swap_uint32_obstack): Likewise.
13605 * locale/programs/locfile.c: Include <stdbool.h>.
13606 (swap_endianness_p): New variable.
13607 (add_locale_uint32): Call maybe_swap_uint32.
13608 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13609 (write_locale_data): Call maybe_swap_uint32_array.
13610 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13612 (obstack_int32_grow_fast): Likewise.
13613 (output_weightwc): Call maybe_swap_uint32_obstack.
13614 (collate_output): Likewise.
13615 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13616 (OPT_LITTLE_ENDIAN): Likewise.
13617 (options): Add --little-endian and --big-endian options.
13618 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13619 * locale/programs/locarchive.c: Include "locfile.h".
13623 (create_archive): Use the new macros to access fields of
13624 structures directly mapped from or written to locale archives.
13625 (oldlocrecentcmp): Likewise.
13626 (enlarge_archive): Likewise.
13627 (insert_name): Likewise.
13628 (add_alias): Likewise.
13629 (add_locale): Likewise.
13630 (delete_locales_from_archive): Likewise.
13631 (show_archive_content): Likewise.
13632 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13635 2013-09-24 Roland McGrath <roland@hack.frob.com>
13637 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13638 http://www.gnu.org/doc/freemanuals.texi.
13639 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13641 2013-09-24 Will Newton <will.newton@linaro.org>
13643 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13646 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13648 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13651 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13653 * manual/threads.texi (POSIX Threads): Fix a typo.
13655 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13658 * string/tst-strcoll-overflow.c: New test case.
13659 * string/Makefile (xtests): Add tst-strcoll-overflow.
13660 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13661 cache if string sizes may cause integer overflow.
13664 * string/strcoll_l.c (coll_seq): New members rule, idx,
13665 save_idx and back_us.
13666 (get_next_seq_nocache): New function.
13667 (do_compare_nocache): New function.
13668 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13671 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13674 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13675 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13676 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13679 * elf/Makefile (tests): Add tst-ptrguard1.
13680 (tests-static): Add tst-ptrguard1-static.
13681 (tst-ptrguard1-ARGS): Define.
13682 (tst-ptrguard1-static-ARGS): Define.
13683 * elf/tst-ptrguard1.c: New file.
13684 * elf/tst-ptrguard1-static.c: New file.
13685 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13686 * sysdeps/i386/stackguard-macros.h: Likewise.
13687 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13688 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13689 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13690 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13691 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13692 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13694 2013-09-23 Hector Marco <hecmargi@upv.es>
13695 Ismael Ripoll <iripoll@disca.upv.es>
13696 Carlos O'Donell <carlos@redhat.com>
13699 * sysdeps/generic/stackguard-macros.h: Define
13700 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13701 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13702 Define __pointer_chk_guard_local.
13703 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13704 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13706 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13709 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13711 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13713 * include/string.h (__ffs): Declare as hidden.
13714 * string/ffs.c (__ffs): Define as hidden.
13715 * sysdeps/i386/ffs.c (__ffs): Likewise.
13716 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13717 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13718 * sysdeps/s390/ffs.c (__ffs): Likewise.
13719 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13721 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13723 * NEWS: Mention malloc probes.
13725 * malloc/arena.c (new_heap): New memory_heap_new probe.
13726 (grow_heap): New memory_heap_more probe.
13727 (shrink_heap): New memory_heap_less probe.
13728 (heap_trim): New memory_heap_free probe.
13729 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13730 (systrim): New memory_sbrk_less probe.
13731 * manual/probes.texi: Document them.
13733 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13734 * manual/probes.texi: Document it.
13736 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13737 (__libc_realloc): Add memory_realloc_retry probe.
13738 (__libc_memalign): Add memory_memalign_retry probe.
13739 (__libc_valloc): Add memory_valloc_retry probe.
13740 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13741 (__libc_calloc): Add memory_calloc_retry probe.
13742 * manual/probes.texi: Document them.
13744 * malloc/arena.c (get_free_list): Add probe
13745 memory_arena_reuse_free_list.
13746 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13747 and memory_arena_reuse.
13748 (arena_get2) [!PER_THREAD]: Likewise.
13749 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13750 memory_arena_reuse_realloc.
13751 * manual/probes.texi: Document them.
13753 * malloc/malloc.c (__libc_free): Add
13754 memory_mallopt_free_dyn_thresholds probe.
13755 (__libc_mallopt): Add multiple memory_mallopt probes.
13756 * manual/probes.texi: Document them.
13758 * malloc/malloc.c: Include stap-probe.h.
13759 (__libc_mallopt): Add memory_mallopt probe.
13760 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13761 * manual/probes.texi: New.
13762 * manual/Makefile (chapters): Add probes.
13763 * manual/threads.texi: Set next node.
13765 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13767 [BZ #15963, #13985]
13768 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13769 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13770 Add `Chinese' to `nan' entry name.
13772 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13774 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13775 (POLYNOMIAL): Likewise.
13776 (TAYLOR_SINCOS): Likewise.
13777 (TAYLOR_SLOW): Likewise.
13778 (__sin): Use TAYLOR_SINCOS.
13780 (slow): Use TAYLOR_SLOW.
13782 (bsloww): Likewise.
13783 (csloww): Likewise.
13785 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13787 * stdlib/strtod_l.c: Fix buffer overrun.
13789 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13791 * benchtests/Makefile (bench): Add sincos.
13792 * benchtests/bench-sincos.c: New file.
13794 * math/libm-test.inc (cos_test_data): New test inputs.
13795 (sin_test_data): Likewise.
13797 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13803 (sloww1): Likewise.
13804 (sloww2): Likewise.
13805 (bsloww1): Likewise.
13806 (bsloww2): Likewise.
13807 (cslow2): Likewise.
13808 (csloww1): Likewise.
13809 (csloww2): Likewise.
13811 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13816 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13820 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13822 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13823 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13824 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13825 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13826 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13827 * elf/cache.c (print_entry): Handle the new cache flags.
13829 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13830 Aldy Hernandez <aldyh@redhat.com>
13832 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13833 Change condition to [_SOFT_FLOAT].
13834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13835 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13838 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13839 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13846 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13849 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13852 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13854 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13855 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13856 (__longjmp): Use LOAD_GP to load saved GPRs.
13857 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13858 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13859 (__sigsetjmp): Use SAVE_GP to save GPRs.
13861 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13862 Do not append -msoft-float.
13863 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13865 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13867 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13869 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13872 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13873 (_FPU_GETCW): Use initial "__" on variable and field names but not
13874 on macro parameter name.
13875 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13876 parentheses around reference to macro parameter.
13878 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13880 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13882 (ctype_startup): Use uint32_t in cast and sizeof for
13885 2013-09-11 Jia Liu <proljc@gmail.com>
13887 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13889 [__FreeBSD__]: Likewise.
13891 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13894 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13895 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13896 (strchr): Remove __strchr_sse42 ifunc selection.
13897 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13898 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13900 2013-09-11 Will Newton <will.newton@linaro.org>
13902 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13903 parameter to RES. Remove hardcoded 1000 value.
13904 * benchtests/bench-skeleton.c (main): Pass RES parameter
13905 to TIMING_INIT and multiply result by 1000.
13907 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13911 2013-09-11 Andreas Schwab <schwab@suse.de>
13913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13915 (O_TMPFILE) [__USE_GNU]: Define.
13916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13919 2013-09-11 Will Newton <will.newton@linaro.org>
13922 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13925 2013-09-11 Will Newton <will.newton@linaro.org>
13928 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13931 2013-09-11 Will Newton <will.newton@linaro.org>
13934 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13937 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13939 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13940 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13941 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13942 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13943 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13945 2013-09-10 Allan McRae <allan@archlinux.org>
13948 * manual/arith.texi (Parsing of Floats): Clarify
13952 * manual/install.texi (Running make install): Mention
13954 * INSTALL: Regenerated.
13956 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13958 * csu/init-first.c (_init): Remove the !SHARED condition around
13959 FPU control word initialization.
13960 * elf/dl-support.c (_dl_fpu_control): New variable.
13961 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13962 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13963 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13964 * math/test-fpucw-static.c: New file.
13965 * math/test-fpucw-ieee.c: New file.
13966 * math/test-fpucw-ieee-static.c: New file.
13967 * math/Makefile (tests): Add `test-fpucw-ieee' and
13969 (tests-static): New variable.
13970 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13972 [($(build-shared),yes)]
13973 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13975 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13978 2013-09-09 Allan McRae <allan@archlinux.org>
13981 * manual/string.texi (Collation Functions): Fix typo in
13983 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13986 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13989 * libio/memstream.c (open_memstream): Fix memory leak.
13990 * libio/wmemstream.c (open_wmemstream): Likewise.
13993 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13995 2013-09-09 Will Newton <will.newton@linaro.org>
13997 * malloc/Makefile: Add tst-realloc to tests.
13998 * malloc/tst-realloc.c: New file.
14000 2013-09-09 Allan McRae <allan@archlinux.org>
14003 * COPYING: Update from GNU website to fix FSF address.
14004 * COPYING.LIB: Likewise.
14006 2013-09-06 David S. Miller <davem@davemloft.net>
14008 * po/zh_TW.po: Update Chinese (traditional) translation from
14009 translation project.
14011 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14012 Joseph Myers <joseph@codesourcery.com>
14014 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14016 (obstack_chunk_alloc): New macro.
14017 (obstack_chunk_free): Likewise.
14018 (record_offset): New function.
14019 (init_locale_data): Likewise.
14020 (align_locale_data): Likewise.
14021 (add_locale_empty): Likewise.
14022 (add_locale_raw_data): Likewise.
14023 (add_locale_raw_obstack): Likewise.
14024 (add_locale_string): Likewise.
14025 (add_locale_wstring): Likewise.
14026 (add_locale_uint32): Likewise.
14027 (add_locale_uint32_array): Likewise.
14028 (add_locale_char): Likewise.
14029 (start_locale_structure): Likewise.
14030 (end_locale_structure): Likewise.
14031 (start_locale_prelude): Likewise.
14032 (end_locale_prelude): Likewise.
14033 (write_locale_data): Take locale_file structure rather than an
14035 * locale/programs/locfile.h: Include "obstack.h".
14036 (struct locale_file): Change to store locale file contents instead
14038 (init_locale_data): New prototype.
14039 (align_locale_data): Likewise.
14040 (add_locale_empty): Likewise.
14041 (add_locale_raw_data): Likewise.
14042 (add_locale_raw_obstack): Likewise.
14043 (add_locale_string): Likewise.
14044 (add_locale_wstring): Likewise.
14045 (add_locale_uint32): Likewise.
14046 (add_locale_uint32_array): Likewise.
14047 (add_locale_char): Likewise.
14048 (start_locale_structure): Likewise.
14049 (end_locale_structure): Likewise.
14050 (start_locale_prelude): Likewise.
14051 (end_locale_prelude): Likewise.
14052 (write_locale_data): Update prototype.
14053 * locale/programs/3level.h (struct TABLE): Remove result field.
14054 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14055 Use new locale_file interface.
14056 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14057 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14058 * locale/programs/ld-address.c (address_output): Use new
14059 locale_file interface.
14060 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14062 (collate_finish): Don't call collseq_table_finalize.
14063 (collate_output): Use new locale_file interface.
14064 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14066 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14067 (TABLE): Move defines earlier in file.
14068 (ELEMENT): Likewise.
14069 (DEFAULT): Likewise.
14070 (wctrans_table_add): Move macro and inline function earlier in
14072 (struct wctype_table): Move type earlier in file.
14073 (add_locale_wctype_table): New static prototype.
14074 (struct locale_ctype_t): Use logical types instead of struct iovec
14075 pointers for members.
14076 (ctype_output): Use new locale_file interface.
14077 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14078 new locale_file interface.
14079 (allocate_arrays): Update for use of new locale_file interface.
14080 * locale/programs/ld-identification.c (identification_output): Use
14081 new locale_file interface.
14082 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14083 * locale/programs/ld-messages.c (messages_output): Likewise.
14084 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14085 * locale/programs/ld-name.c (name_output): Likewise.
14086 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14087 * locale/programs/ld-paper.c (paper_output): Likewise.
14088 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14089 * locale/programs/ld-time.c (time_output): Likewise.
14091 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14093 * benchtests/Makefile: Add memrchr benchmark.
14094 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14095 benchmark as memrchr.
14096 * benchtests/bench-memrchr-ifunc.c: New file.
14097 * benchtests/bench-memrchr.c: New file.
14099 2013-09-06 Will Newton <will.newton@linaro.org>
14101 * benchtests/Makefile (string-bench): Add memcpy.
14103 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14104 Cong Wang <amwang@redhat.com>
14107 * sysdeps/unix/sysv/linux/bits/in.h
14108 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14109 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14110 before __USE_KERNEL_IPV6_DEFS uses.
14111 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14113 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14114 sockaddr_in6, or ipv6_mreq.
14116 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14118 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14119 memory access for final bytes in some large inputs.
14120 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14122 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14124 * string/test-memrchr.c: New file.
14125 * string/test-memrchr-ifunc.c: New file.
14126 * string/Makefile: Add new memrchr testcase.
14128 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14130 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14131 fanotify_init returns EPERM.
14133 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14135 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14137 (top level): Treat second token from macro or constant entries for
14138 allowed headers as allowed.
14139 * include/complex.h: Condition internal declarations on
14141 * include/fenv.h: Condition include of <stdbool.h> and internal
14142 declarations on [!_ISOMAC].
14144 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14147 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14149 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14151 * configure.in (--enable-versioning): Remove configure option.
14152 (libc_cv_asm_symver_directive): Remove configure test.
14153 (libc_cv_ld_version_script_option): Likewise.
14154 (VERSIONING): Remove variable and AC_SUBST.
14155 (DO_VERSIONING): Remove AC_DEFINE.
14156 * configure: Regenerated.
14157 * config.h.in (DO_VERSIONING): Remove macro.
14158 * Makerules [$(versioning) = yes]: Change conditionals to
14159 [$(build-shared) = yes].
14160 * config.make.in (versioning): Remove variable.
14161 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14162 [$(build-shared) = yes].
14163 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14164 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14165 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14166 [$(build-shared) = yes].
14167 * extra-lib.mk [$(versioning) = yes]: Likewise.
14168 * hurd/Makefile [$(versioning) = yes]: Likewise.
14169 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14171 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14173 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14174 [SHARED && !NO_HIDDEN].
14175 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14177 [SHARED && DO_VERSIONING]: Likewise..
14178 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14179 [$(build-shared) = yes].
14180 * manual/install.texi (--disable-versioning): Remove
14182 * INSTALL: Regenerated.
14183 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14185 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14186 [$(build-shared) = yes].
14187 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14188 * sysdeps/i386/i686/multiarch/strstr-c.c
14189 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14190 [SHARED && !NO_HIDDEN].
14191 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14192 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14193 * sysdeps/powerpc/powerpc32/dl-machine.c
14194 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14195 * sysdeps/powerpc/powerpc32/sysdep.h
14196 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14197 to [SHARED && PIC && !NO_HIDDEN].
14198 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14199 conditional to [SHARED].
14201 2013-09-04 Will Newton <will.newton@linaro.org>
14203 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14204 * benchtests/bench-string.h: Include bench-timing.h instead
14205 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14206 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14207 call to HP_TIMING_DIFF_INIT.
14208 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14209 instead of hp-timing.h macros.
14210 * benchtests/bench-memchr.c: Likewise.
14211 * benchtests/bench-memcmp.c: Likewise.
14212 * benchtests/bench-memcpy.c: Likewise.
14213 * benchtests/bench-memmem.c: Likewise.
14214 * benchtests/bench-memmove.c: Likewise.
14215 * benchtests/bench-memset.c: Likewise.
14216 * benchtests/bench-rawmemchr.c: Likewise.
14217 * benchtests/bench-strcasecmp.c: Likewise.
14218 * benchtests/bench-strcasestr.c: Likewise.
14219 * benchtests/bench-strcat.c: Likewise.
14220 * benchtests/bench-strchr.c: Likewise.
14221 * benchtests/bench-strcmp.c: Likewise.
14222 * benchtests/bench-strcpy.c: Likewise.
14223 * benchtests/bench-strcpy_chk.c: Likewise.
14224 * benchtests/bench-strlen.c: Likewise.
14225 * benchtests/bench-strncasecmp.c: Likewise.
14226 * benchtests/bench-strncat.c: Likewise.
14227 * benchtests/bench-strncmp.c: Likewise.
14228 * benchtests/bench-strncpy.c: Likewise.
14229 * benchtests/bench-strnlen.c: Likewise.
14230 * benchtests/bench-strpbrk.c: Likewise.
14231 * benchtests/bench-strrchr.c: Likewise.
14232 * benchtests/bench-strspn.c: Likewise.
14233 * benchtests/bench-strstr.c: Likewise.
14235 2013-09-04 Will Newton <will.newton@linaro.org>
14237 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14239 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14242 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14243 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14244 * math/libm-test.inc (lgamma_test_data): Add more tests.
14245 * sysdeps/i386/fpu/libm-test-ulps: Update.
14246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14248 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14250 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14251 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14254 Add strcmp-sse2-unaligned
14255 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14257 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14259 * Versions.def (libc): Add GLIBC_2.19.
14261 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14263 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14264 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14266 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14269 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14270 intermediate calculations in recurrence.
14271 (__ieee754_ynf): Likewise.
14272 * math/libm-test.inc (jn_test_data): Do not allow spurious
14273 underflow exception. Add more tests.
14274 (yn_test_data): Add more tests.
14275 * sysdeps/i386/fpu/libm-test-ulps: Update.
14276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14278 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14280 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14282 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14284 * csu/init-first.c: Fix then/than typos.
14285 * locale/programs/ld-collate.c: Likewise.
14286 * locale/programs/linereader.h: Likewise.
14287 * manual/charset.texi: Likewise.
14288 * manual/filesys.texi: Likewise.
14289 * manual/stdio.texi: Likewise.
14290 * manual/string.texi: Likewise.
14291 * stdlib/fmtmsg.c: Likewise.
14292 * sysdeps/i386/stpncpy.S: Likewise.
14293 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14294 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14295 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14296 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14298 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14300 * elf/dl-open.c: Fix typos.
14301 * iconvdata/gbbig5.c: Likewise.
14302 * iconvdata/iso-2022-jp.c: Likewise.
14303 * iconv/gconv_int.h: Likewise.
14304 * iconv/loop.c: Likewise.
14305 * nis/rpcsvc/nis.h: Likewise.
14306 * resolv/ns_name.c: Likewise.
14307 * stdio-common/vfscanf.c: Likewise.
14308 * streams/stropts.h: Likewise.
14309 * sunrpc/rpc_thread.c: Likewise.
14310 * sysdeps/i386/strpbrk.S: Likewise.
14311 * sysdeps/ieee754/k_standard.c: Likewise.
14312 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14313 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14314 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14315 * sysdeps/mach/hurd/profil.c: Likewise.
14316 * sysdeps/s390/dl-procinfo.h: Likewise.
14317 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14318 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14319 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14320 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14321 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14323 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14325 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14328 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14330 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14331 aix specific files.
14332 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14333 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14334 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14335 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14336 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14337 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14338 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14339 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14341 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14342 Roland McGrath <roland@hack.frob.com>
14344 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14345 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14347 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14349 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14350 __executable_start symbol instead of _start.
14352 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14354 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14355 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14357 * sysdeps/gnu/ldsodefs.h: ... this new file.
14359 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14360 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14361 instead of ELFOSABI_LINUX.
14363 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14364 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14365 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14366 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14368 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14369 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14370 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14372 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14373 (ibm_extended_long_double): Add ieee_nan member.
14374 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14375 (do_test): New function.
14377 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14379 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14380 functions, renamed from truncdfsf_test, trunctfsf_test,
14382 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14384 (do_test): Run all these.
14386 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14388 * argp/argp-help.c: Fix typos.
14389 * argp/argp-parse.c: Likewise.
14390 * debug/backtracesyms.c: Likewise.
14391 * elf/elf.h: Likewise.
14392 * malloc/malloc.c: Likewise.
14393 * nis/nis_print.c: Likewise.
14394 * resolv/res_comp.c: Likewise.
14395 * stdlib/stdlib.h: Likewise.
14396 * sunrpc/clnt_tcp.c: Likewise.
14397 * sunrpc/clnt_udp.c: Likewise.
14398 * sunrpc/clnt_unix.c: Likewise.
14399 * sysdeps/unix/bsd/ptsname.c: Likewise.
14400 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14401 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14408 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14410 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14412 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14415 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14418 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14419 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14420 ($(objpfx)bug-dl-leaf): New rule.
14421 ($(objpfx)bug-dl-leaf.so): Likewise.
14422 ($(objpfx)bug-dl-leaf.out): Likewise.
14423 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14424 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14425 * dlfcn/bug-dl-leaf.c: New test.
14426 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14427 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14428 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14429 (dlclose): Likewise.
14430 (dlmopen): Likewise.
14432 2013-08-27 Roland McGrath <roland@hack.frob.com>
14434 * include/netdb.h [!_ISOMAC]:
14435 Don't include <tls.h>.
14436 (h_errno, __libc_h_errno): Move declaration and macros out of
14439 * include/resolv.h [_RESOLV_H_]:
14440 Don't include <tls.h>.
14441 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14442 * resolv/res_libc.c: Don't include <tls.h>.
14443 (_res): Use __attribute__ ((nocommon)) in place of
14444 __attribute__ ((section (".bss"))).
14446 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14447 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14449 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14451 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14452 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14454 * resolv/res_mkquery.c: Include <sys/time.h>.
14456 * inet/ifreq.c: Moved to ...
14457 * sysdeps/unix/ifreq.c: ... here.
14458 * inet/ifreq.c: New file, true stub version.
14460 * socket/sa_len.c: New file.
14461 * socket/Makefile (aux): Add it.
14462 * sysdeps/unix/sysv/linux/Makefile
14463 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14464 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14465 and #include <socket/sa_len.c>.
14466 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14467 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14469 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14470 * bits/socket.h: ... here.
14472 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14473 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14474 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14476 2013-08-27 Andreas Schwab <schwab@suse.de>
14479 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14480 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14481 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14482 * string/test-strcasecmp.c (test_main): Run tests in several
14484 * string/test-strncasecmp.c (test_main): Likewise.
14486 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14487 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14488 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14490 (__strncasecmp_ssse3) [PIC]: Likewise.
14492 2013-08-26 Roland McGrath <roland@hack.frob.com>
14494 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14496 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14497 instead of explicitly declaring xdecrypt.
14498 * nis/nss_nis/nis-publickey.c: Likewise.
14500 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14503 * nscd/aicache.c: Include res_hconf.h.
14504 (addhstaiX): Initialize res_hconf.
14506 2013-08-26 Andreas Schwab <schwab@suse.de>
14508 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14509 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14511 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14513 * nscd/aicache.c (addhstaiX): Fix indentation.
14515 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14517 * configure.ac: Quote $build_pt_chown test.
14518 * configure: Regenerated.
14520 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14523 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14524 * math/s_cexpf.c (__cexpf): Likewise.
14525 * math/s_cexpl.c (__cexpl): Likewise.
14526 * math/libm-test.inc (cexp_test_data): Correct expected return
14527 value for NaN + i0. Add another test.
14529 2013-08-22 David S. Miller <davem@davemloft.net>
14531 * po/ca.po: Update Catalan translation from translation project.
14532 * po/uk.po: Add Ukrainian translations from translation project.
14534 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14537 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14538 is infinite, not alongside NaN test.
14539 * math/s_fdimf.c (__fdimf): Likewise.
14540 * math/s_fdiml.c (__fdiml): Likewise.
14541 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14542 errno is unchanged.
14544 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14546 * argp/argp-help.c: Fix typos.
14547 * crypt/speeds.c: Likewise.
14548 * csu/check_fds.c: Likewise.
14549 * elf/dl-load.c: Likewise.
14550 * elf/dl-open.c: Likewise.
14551 * elf/reldep3.c: Likewise.
14552 * elf/reldep.c: Likewise.
14553 * elf/sprof.c: Likewise.
14554 * iconv/iconv_charmap.c: Likewise.
14555 * iconv/skeleton.c: Likewise.
14556 * iconv/strtab.c: Likewise.
14557 * io/lockf64.c: Likewise.
14558 * libio/libioP.h: Likewise.
14559 * resolv/gai_notify.c: Likewise.
14560 * resolv/ns_name.c: Likewise.
14561 * resolv/ns_samedomain.c: Likewise.
14562 * resolv/res_send.c: Likewise.
14563 * stdlib/random.c: Likewise.
14564 * sunrpc/rpc/xdr.h: Likewise.
14565 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14566 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14567 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14568 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14569 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14570 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14571 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14572 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14573 * sysdeps/mach/hurd/check_fds.c: Likewise.
14574 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14575 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14576 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14577 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14578 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14579 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14580 * sysdeps/pthread/aio_notify.c: Likewise.
14581 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14582 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14583 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14584 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14585 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14587 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14589 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14590 version if bit_Slow_SSE4_2 is set.
14591 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14592 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14594 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14597 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14598 trampoline stack frame information.
14599 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14600 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14601 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14602 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14603 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14604 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14605 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14606 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14608 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14609 interrupting a syscall and set with option SA_SIGINFO.
14611 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14614 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14615 argument is infinite.
14616 * math/s_cprojf.c (__cprojf): Likewise.
14617 * math/s_cprojl.c (__cprojl): Likewise.
14618 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14619 * math/libm-test.inc (cproj_test_data): Add more tests.
14621 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14623 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14624 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14625 size. Use __ffs to determine corresponding shift.
14627 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14628 Roland McGrath <roland@hack.frob.com>
14630 * Makefile (INSTALL): Remove trailing blank lines from output of
14633 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14635 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14636 Align 32 bit compat elf_greg to 8 bytes.
14638 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14640 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14642 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14644 * string/strcoll_l.c (coll_seq): New structure.
14645 (get_next_seq_cached): New function.
14646 (get_next_seq): New function.
14647 (do_compare): New function.
14648 (STRCOLL): Use GNU style definition. Simplify implementation
14649 by using get_next_seq, get_next_seq_cached and do_compare.
14651 2013-08-16 Florian Weimer <fweimer@redhat.com>
14655 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14657 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14659 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14660 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14661 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14663 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14664 GETDENTS_64BIT_ALIGNED.
14665 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14666 * manual/filesys.texi (Reading/Closing Directory): Document
14667 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14669 * manual/conf.texi (Limits for Files): Add portability note to
14670 NAME_MAX, PATH_MAX.
14671 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14673 2013-08-13 Andreas Schwab <schwab@suse.de>
14676 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14678 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14679 LDBL_MAX_EXP >= 16384]: Add tests for it.
14681 2013-08-12 David S. Miller <davem@davemloft.net>
14683 * version.h (RELEASE): Set to "development".
14684 (VERSION): Set to "2.18.90".
14685 * NEWS: Add 2.19 section.
14687 2013-08-03 David S. Miller <davem@davemloft.net>
14689 * po/ko.po: Update Korean translation from translation project.
14691 2013-08-01 David S. Miller <davem@davemloft.net>
14693 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14694 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14697 2013-07-30 David S. Miller <davem@davemloft.net>
14699 * po/fr.po: Update French translation from translation project.
14701 2013-07-28 David S. Miller <davem@davemloft.net>
14703 * po/cs.po: Update Czech translation from translation project.
14705 * po/sv.po: Update Swedish translation from translation project.
14707 2013-07-27 David S. Miller <davem@davemloft.net>
14709 * po/eo.po: Update Esperanto translation from translation project.
14711 * po/vi.po: Update Vietnamese translation from translation project.
14713 * po/de.po: Update German translation from translation project.
14715 2013-07-26 David S. Miller <davem@davemloft.net>
14717 * po/bg.po: Update Bulgarian translation from translation project.
14719 * po/nl.po: Update Dutch translation from translation project.
14720 * po/pl.po: Update Polish translation from translation project.
14721 * po/ru.po: Update Russian translation from translation project.
14723 2013-07-24 David S. Miller <davem@davemloft.net>
14725 * po/libc.pot: Update.
14727 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14729 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14730 variable page size.
14731 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14732 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14733 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14735 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14737 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14739 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14740 Andreas Schwab <schwab@suse.de>
14741 Roland McGrath <roland@hack.frob.com>
14742 Joseph Myers <joseph@codesourcery.com>
14743 Carlos O'Donell <carlos@redhat.com>
14746 * config.h.in: Define HAVE_PT_CHOWN.
14747 * config.make.in (build-pt-chown): New variable.
14748 * configure.in (--enable-pt_chown): New configure option.
14749 * configure: Regenerate.
14750 * login/Makefile: Include Makeconfig. Build pt_chown only if
14751 build-pt-chown is enabled.
14752 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14753 pt_chown to fix pty ownership.
14754 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14756 * manual/install.texi (Configuring and compiling): Mention
14757 --enable-pt_chown. Add @findex for grantpt.
14758 * INSTALL: Regenerate.
14760 2013-07-20 David S. Miller <davem@davemloft.net>
14762 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14763 difference between 32-bit and 64-bit.
14765 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14768 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14769 Avoid system header dependency with -ffreestanding.
14770 ($(objpfx)bits/syscall%d): Likewise.
14772 2013-07-13 David S. Miller <davem@davemloft.net>
14774 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14775 underflows from atanl/atan2l due to bug 15319.
14776 (casinh_test_data): Likewise.
14778 2013-07-07 David S. Miller <davem@davemloft.net>
14780 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14782 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14784 * sysdeps/i386/fpu/libm-test-ulps: Update.
14785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14787 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14789 * configure.in (--enable-lock-elision): Fix message text.
14790 * INSTALL: Regenerate.
14791 * configure: Regenerate.
14793 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14797 2013-07-03 Andreas Jaeger <aj@suse.de>
14799 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14801 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14802 (ptrace_peeksiginfo_args): Add.
14803 (__ptrace_peeksiginfo_flags): Add.
14804 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14805 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14806 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14808 2013-07-03 Allan McRae <allan@archlinux.org>
14810 * sysdeps/i386/fpu/libm-test-ulps: Update.
14812 2013-07-02 David S. Miller <davem@davemloft.net>
14814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14816 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14820 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14822 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14825 2013-07-02 Andi Kleen <ak@linux.intel.com>
14827 * config.h.in (ENABLE_LOCK_ELISION): Add.
14828 * configure.in (--enable-lock-elision): Add option.
14829 * manual/install.texi: Document --enable lock elision.
14830 * configure: Regenerate
14831 * INSTALL: Regenerate.
14833 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14835 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14836 SSE4.2 strcasecmp for libc.a.
14837 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14839 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14842 * soft-fp/op-common.h (_FP_FMA): New macro.
14843 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14844 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14845 (_FP_MUL_MEAT_1_imm): ... here.
14846 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14847 (_FP_MUL_MEAT_1_wide): ... here.
14848 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14849 (_FP_MUL_MEAT_1_hard): ... here.
14850 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14851 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14852 (_FP_MUL_MEAT_2_wide): ... here.
14853 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14854 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14855 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14856 (_FP_MUL_MEAT_2_gmp): ... here.
14857 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14858 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14859 (_FP_MUL_MEAT_4_wide): ... here.
14860 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14861 (_FP_MUL_MEAT_4_gmp): ... here.
14862 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14863 (_FP_WFRACBITS_DW_S): Likewise.
14864 (_FP_WFRACXBITS_DW_S): Likewise.
14865 (_FP_HIGHBIT_DW_S): Likewise.
14866 (FP_FMA_S): Likewise.
14867 (_FP_FRAC_HIGH_DW_S): Likewise.
14868 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14869 (_FP_WFRACBITS_DW_D): Likewise.
14870 (_FP_WFRACXBITS_DW_D): Likewise.
14871 (_FP_HIGHBIT_DW_D): Likewise.
14872 (FP_FMA_D): Likewise.
14873 (_FP_FRAC_HIGH_DW_D): Likewise.
14874 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14875 (_FP_WFRACBITS_DW_E): Likewise.
14876 (_FP_WFRACXBITS_DW_E): Likewise.
14877 (_FP_HIGHBIT_DW_E): Likewise.
14878 (FP_FMA_E): Likewise.
14879 (_FP_FRAC_HIGH_DW_E): Likewise.
14880 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14881 (_FP_WFRACBITS_DW_Q): Likewise.
14882 (_FP_WFRACXBITS_DW_Q): Likewise.
14883 (_FP_HIGHBIT_DW_Q): Likewise.
14884 (FP_FMA_Q): Likewise.
14885 (_FP_FRAC_HIGH_DW_Q): Likewise.
14886 * soft-fp/fmasf4.c: New file.
14887 * soft-fp/fmadf4.c: Likewise.
14888 * soft-fp/fmatf4.c: Likewise.
14890 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14893 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14895 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14897 (index_Slow_SSE4_2): Likewise.
14898 (index_Prefer_PMINUB_for_stringop): Likewise.
14899 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14900 bit_Slow_SSE4_2 is set.
14901 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14902 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14904 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14906 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14907 rtld_global._dl_hwcap2.
14908 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14910 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14911 POWER8 feature descriptions defined in _dl_hwcap2.
14912 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14913 string handling for POWER8 feature bits.
14914 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14915 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14916 _dl_powerpc_cap_flags.
14917 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14918 * sysdeps/powerpc/rtld-global-offsets.sym
14919 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14920 _dl_hwcap2 in the rtld_global_ro structure.
14922 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14924 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14925 hardware capabilities in support of AT_HWCAP2.
14926 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14927 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14929 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14930 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14931 explicitly the unknown a_type display mechanism is used.
14932 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14933 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14935 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14936 to macro prototype for AT_HWCAP2 support.
14937 * sysdeps/i386/dl-procinfo.h: Likewise.
14938 * sysdeps/s390/dl-procinfo.h: Likewise.
14939 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14940 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14941 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14942 return -1 for unknown a_type display fallback.
14943 * sysdeps/sparc/dl-procinfo.h: Likewise.
14944 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14945 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14947 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14949 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14950 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14952 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14955 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14956 mprotect making __stack_prot writable.
14958 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14959 Joseph Myers <joseph@codesourcery.com>
14961 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14962 as being properly aligned.
14964 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14966 * dlfcn/modstatic5.c: New file.
14967 * dlfcn/tststatic5.c: New file.
14968 * dlfcn/Makefile (tests): Add tststatic5.
14969 (tests-static): Likewise.
14970 (modules-names): Add modstatic5.
14971 (tststatic5-ENV): New variable.
14972 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14975 * elf/dl-support.c (_dl_main_map): New variable.
14976 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14977 (_dl_nns, _dl_load_adds): Set to 1.
14978 (_dl_initial_searchlist): Refer to _dl_main_map.
14979 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14980 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14981 call to _dl_get_origin.
14982 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14984 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14985 * dlfcn/modstatic3.c: New file.
14986 * dlfcn/tststatic3.c: New file.
14987 * dlfcn/tststatic4.c: New file.
14988 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14989 (tests-static): Likewise.
14990 (modules-names): Add modstatic3.
14991 (tststatic3-ENV, tststatic4-ENV): New variables.
14992 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14993 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14995 2013-06-26 Joseph Myers <joseph@codesourcery.com>
14997 * configure.in (CC): Require GCC version 4.4 or later.
14998 * configure: Regenerated.
14999 * manual/install.texi (Tools for Compilation): Update GCC version
15001 * INSTALL: Regenerated.
15003 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15006 * string/test-memcmp.c (check2): New.
15007 (main): Call check2.
15009 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15011 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15014 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15016 (dl_open_worker) [!SHARED]: ... here.
15018 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15020 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15022 2013-06-25 Richard Henderson <rth@redhat.com>
15024 * locale/programs/locarchive.c: Include <libc-internal.h>
15026 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15028 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15029 trailing whitespace removed.
15031 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15034 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15035 * locale/programs/locarchive.c: Include libc-mmap.h.
15036 (prepare_address_space): Take two new outputs (the mmap base and len).
15037 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15039 (create_archive): Declare new mmap base and len values for
15040 prepare_address_space, and store the result in ah.
15041 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15042 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15043 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15044 Declare new mmap base and len values for
15045 prepare_address_space, and store the result in new_ah.
15046 (open_archive): Declare new mmap base and len values for
15047 prepare_address_space, and store the result in ah.
15048 (close_archive): If ah->mmap_base is not NULL, use that and
15049 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15050 * sysdeps/generic/libc-mmap.h: New file.
15052 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15054 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15055 (ALIGN_UP): Likewise.
15056 (PTR_ALIGN_DOWN): Likewise.
15057 (PTR_ALIGN_UP): Likewise.
15059 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15061 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15062 entry mapped to PPC_PLATFORM_POWER8.
15063 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15065 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15066 (_dl_string_platform): Add case for exporting platform position for
15068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15069 search path to sysdeps/powerpc/powerpc32/power8 directory.
15070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15071 search path to sysdeps/powerpc/powerpc64/power8 directory.
15072 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15073 power7 directories.
15074 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15075 power7 directories.
15077 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15079 * INSTALL: Regenerate.
15081 * nscd/connections.c (nscd_init): Fix comment.
15083 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15085 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15088 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15089 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15091 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15093 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15095 (DL_DST_REQ_STATIC): Remove macro.
15097 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15100 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15101 with a shift of 0 bits.
15103 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15105 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15108 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15111 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15113 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15115 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15116 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15117 accepts -fno-tree-loop-distribute-patterns.
15118 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15119 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15121 * string/memset.c (memset): Likewise.
15122 * string/test-memmove.c (simple_memmove): Disable loop transformation
15124 * string/test-memset.c (simple_memset): Likewise.
15125 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15126 * benchtests/bench-memset.c (simple_memset): Likewise.
15127 * configure: Regenerated.
15129 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15131 * math/test-misc.c (main): Ignore fesetround failure when failures
15132 of subsequent rounding tests would be ignored.
15135 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15136 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15137 * math/fegetenv.c (__fegetenv): Return 0.
15138 * math/fegetexcept.c (fegetexcept): Return 0.
15139 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15141 * math/feholdexcpt.c (feholdexcept): Return 0.
15142 * math/fesetenv.c (__fesetenv): Return 0.
15143 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15144 argument FE_TONEAREST.
15145 * math/feupdateenv.c (__feupdateenv): Return 0.
15146 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15148 2013-06-18 Roland McGrath <roland@hack.frob.com>
15150 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15151 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15152 ($(objpfx)rtld-%.os rules): Use them.
15154 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15156 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15159 2013-06-17 Roland McGrath <roland@hack.frob.com>
15161 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15162 length of target pattern, then descending length of dependency pattern.
15163 * configure.in (AWK): Require gawk 3.1.2 or newer.
15164 * manual/install.texi (Tools for Compilation): Say that we do.
15165 * configure: Regenerated.
15167 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15168 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15169 * scripts/sysd-rules.awk: ... this new script.
15170 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15171 than a glob-style pattern.
15173 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15175 * math/test-misc.c (main): Do not treat incorrectly rounded
15176 conversions as failure unless ROUNDING_TESTS passes.
15178 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15181 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15182 restore exception state around main square root computation, then
15183 check for inexactness explicitly.
15185 * math/libm-test.inc (fma_test_data): Add another test.
15187 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15189 * manual/threads.texi (Non-POSIX Extensions): New document
15190 node. Document pthread_getattr_default_np and
15191 pthread_setattr_default_np.
15193 * Versions.def (libpthread): Add GLIBC_2.18.
15194 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15203 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15214 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15217 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15219 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15220 H.J. Lu <hjl.tools@gmail.com>
15223 * sysdeps/x86_64/rtld-memset.c: Remove file.
15224 * sysdeps/x86_64/rtld-memset.S: New file.
15226 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15228 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15229 (test_in_one_mode): Take arguments for whether the rounding mode
15230 is supported for each floating-point type.
15231 (do_test): Pass new arguments to test_in_one_mode using
15234 2013-06-13 Roland McGrath <roland@hack.frob.com>
15236 * posix/tst-waitid.c (do_test): Distinguish different instances of
15237 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15238 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15239 before entering the kernel for waitpid.
15241 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15243 * NEWS: Fix note on clock function precision. Text by Roland
15246 2013-06-13 Roland McGrath <roland@hack.frob.com>
15248 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15249 it into place only when and if the sanity check passes.
15251 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15253 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15254 output for whether conversion result is exact. Take argument
15255 indicating whether type is IBM long double.
15256 (round_for_all): Change need_exact field to ibm_ld.
15257 * stdlib/tst-strtod-round.c (struct exactness): New type.
15258 (struct test): Change bool ld_ok field to struct exactness exact.
15259 (TEST): Update all definitions for change to field.
15260 (tests): Regenerate array contents.
15261 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15262 field value. Check for IBM long double here.
15263 (do_test): Update calls to test_in_one_mode.
15265 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15268 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15269 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15271 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15274 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15275 generated by the compiler on loop optimizations.
15276 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15277 general definitions.
15279 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15281 * math/bug-nextafter.c: Include <math-tests.h>.
15282 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15284 * math/bug-nexttoward.c: Include <math-tests.h>.
15285 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15287 * math/test-misc.c: Include <math-tests.h>.
15288 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15291 2013-06-12 Andreas Jaeger <aj@suse.de>
15293 * po/ia.po: Update Interlingua translation from translation
15296 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15298 * include/fenv.h: Include stdbool.h.
15299 (struct rm_ctx): New structure.
15300 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15302 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15303 (SET_RESTORE_ROUNDF): Likewise.
15304 (SET_RESTORE_ROUNDL): Likewise.
15305 (SET_RESTORE_ROUND_NOEX): Likewise.
15306 (SET_RESTORE_ROUND_NOEXF): Likewise.
15307 (SET_RESTORE_ROUND_NOEXL): Likewise.
15308 (SET_RESTORE_ROUND_53BIT): Likewise.
15309 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15310 (libc_feresetround_noexf_ctx): Likewise.
15311 (libc_feresetround_noexl_ctx): Likewise.
15312 (libc_feholdsetround_53bit_ctx): Likewise.
15313 (libc_feresetround_53bit_ctx): Likewise.
15314 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15315 (libc_feholdexcept_setround_sse_ctx): New function.
15316 (libc_fesetenv_sse_ctx): Likewise.
15317 (libc_feupdateenv_sse_ctx): Likewise.
15318 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15319 (libc_feholdexcept_setround_387_ctx): Likewise.
15320 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15321 (libc_feholdsetround_387_prec_ctx): Likewise.
15322 (libc_feholdsetround_387_ctx): Likewise.
15323 (libc_feholdsetround_387_53bit_ctx): Likewise.
15324 (libc_feholdsetround_sse_ctx): Likewise.
15325 (libc_feresetround_sse_ctx): Likewise.
15326 (libc_feresetround_387_ctx): Likewise.
15327 (libc_feupdateenv_387_ctx): Likewise.
15328 (libc_feholdexcept_setroundf_ctx): Define macro.
15329 (libc_fesetenvf_ctx): Likewise.
15330 (libc_feupdateenvf_ctx): Likewise.
15331 (libc_feholdsetroundf_ctx): Likewise.
15332 (libc_feresetroundf_ctx): Likewise.
15333 (libc_feholdexcept_setround_ctx): Likewise.
15334 (libc_fesetenv_ctx): Likewise.
15335 (libc_feupdateenv_ctx): Likewise.
15336 (libc_feholdsetround_ctx): Likewise.
15337 (libc_feresetround_ctx): Likewise.
15338 (libc_feholdexcept_setroundl_ctx): Likewise.
15339 (libc_feupdateenvl_ctx): Likewise.
15340 (libc_feholdsetroundl_ctx): Likewise.
15341 (libc_feresetroundl_ctx): Likewise.
15342 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15343 (libc_feresetround_53bit_ctx): Likewise.
15345 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15347 * locale/iso-639.def: Convert to UTF-8.
15349 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15351 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15352 (EXCEPTION_TESTS_double): Likewise.
15353 (EXCEPTION_TESTS_long_double): Likewise.
15354 (EXCEPTION_TESTS): Likewise.
15355 * math/libm-test.inc (test_exceptions): Only test exceptions if
15356 EXCEPTION_TESTS (FLOAT).
15358 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15360 * benchtests/Makefile (string-bench): Add strcpy_chk and
15362 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15363 * benchtests/bench-stpcpy_chk.c: New file.
15364 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15365 * benchtests/bench-strcpy_chk.c: New file.
15366 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15368 (do_test): Likewise.
15370 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15372 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15373 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15374 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15375 with tabs where appropriate.
15376 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15378 [PPC_PLATFORM_PPC440]: Likewise.
15379 [PPC_PLATFORM_PPC464]: Likewise.
15380 [PPC_PLATFORM_PPC476]: Likewise.
15381 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15382 ppc464, and ppc476 platform strings merging from ports/
15385 2013-06-11 Andreas Schwab <schwab@suse.de>
15388 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15389 (from_ucs4_idx): Regenerate.
15390 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15391 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15392 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15393 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15394 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15395 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15396 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15397 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15398 from FROM_LOOP and TO_LOOP specific macros.
15399 (BODY): Handle combining characters.
15400 * iconvdata/BIG5HKSCS.irreversible: Update.
15401 * iconvdata/BIG5HKSCS.precomposed: New file.
15402 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15404 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15406 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15408 * include/sys/time.h: Fix indentation and add copyright header.
15410 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15411 (do_test): Likewise.
15412 * string/test-memchr.c (do_one_test): Likewise.
15413 (do_test): Likewise.
15414 * string/test-memcmp.c (do_one_test): Likewise.
15415 (do_test): Likewise.
15416 * string/test-memcpy.c (do_one_test): Likewise.
15417 (do_test): Likewise.
15418 * string/test-memmem.c (do_one_test): Likewise.
15419 (do_test): Likewise.
15420 (do_random_tests): Likewise.
15421 * string/test-memmove.c (do_one_test): Likewise.
15422 (do_test): Likewise.
15423 * string/test-memset.c (do_one_test): Likewise.
15424 (do_test): Likewise.
15425 * string/test-rawmemchr.c (do_one_test): Likewise.
15426 (do_test): Likewise.
15427 * string/test-strcasecmp.c (do_one_test): Likewise.
15428 (do_test): Likewise.
15429 * string/test-strcasestr.c (do_one_test): Likewise.
15430 (do_test): Likewise.
15431 * string/test-strcat.c (do_one_test): Likewise.
15432 (do_test): Likewise.
15433 * string/test-strchr.c (do_one_test): Likewise.
15434 (do_test): Likewise.
15435 * string/test-strcmp.c (do_one_test): Likewise.
15436 (do_test): Likewise.
15437 * string/test-strcpy.c (do_one_test): Likewise.
15438 (do_test): Likewise.
15439 * string/test-string.h: Likewise.
15440 (test_init): Likewise.
15441 * string/test-strlen.c (do_one_test): Likewise.
15442 (do_test): Likewise.
15443 * string/test-strncasecmp.c (do_one_test): Likewise.
15444 (do_test): Likewise.
15445 * string/test-strncat.c (do_one_test): Likewise.
15446 (do_test): Likewise.
15447 * string/test-strncmp.c (do_one_test): Likewise.
15448 (do_test_limit): Likewise.
15449 (do_test): Likewise.
15450 * string/test-strncpy.c (do_one_test): Likewise.
15451 (do_test): Likewise.
15452 * string/test-strnlen.c (do_one_test): Likewise.
15453 (do_test): Likewise.
15454 * string/test-strpbrk.c (do_one_test): Likewise.
15455 (do_test): Likewise.
15456 * string/test-strrchr.c (do_one_test): Likewise.
15457 (do_test): Likewise.
15458 * string/test-strspn.c (do_one_test): Likewise.
15459 (do_test): Likewise.
15460 * string/test-strstr.c (do_one_test): Likewise.
15461 (do_test): Likewise.
15463 * benchtests/Makefile (string-bench): Add string benchmarks.
15464 * benchtests/bench-bcopy-ifunc.c: New file.
15465 * benchtests/bench-bcopy.c: New file.
15466 * benchtests/bench-bzero-ifunc.c: New file.
15467 * benchtests/bench-bzero.c: New file.
15468 * benchtests/bench-memccpy-ifunc.c: New file.
15469 * benchtests/bench-memccpy.c: New file.
15470 * benchtests/bench-memchr-ifunc.c: New file.
15471 * benchtests/bench-memchr.c: New file.
15472 * benchtests/bench-memcmp-ifunc.c: New file.
15473 * benchtests/bench-memcmp.c: New file.
15474 * benchtests/bench-memmem-ifunc.c: New file.
15475 * benchtests/bench-memmem.c: New file.
15476 * benchtests/bench-memmove-ifunc.c: New file.
15477 * benchtests/bench-memmove.c: New file.
15478 * benchtests/bench-mempcpy-ifunc.c: New file.
15479 * benchtests/bench-mempcpy.c: New file.
15480 * benchtests/bench-memset-ifunc.c: New file.
15481 * benchtests/bench-memset.c: New file.
15482 * benchtests/bench-rawmemchr-ifunc.c: New file.
15483 * benchtests/bench-rawmemchr.c: New file.
15484 * benchtests/bench-stpcpy-ifunc.c: New file.
15485 * benchtests/bench-stpcpy.c: New file.
15486 * benchtests/bench-stpncpy-ifunc.c: New file.
15487 * benchtests/bench-stpncpy.c: New file.
15488 * benchtests/bench-strcasecmp-ifunc.c: New file.
15489 * benchtests/bench-strcasecmp.c: New file.
15490 * benchtests/bench-strcasestr-ifunc.c: New file.
15491 * benchtests/bench-strcasestr.c: New file.
15492 * benchtests/bench-strcat-ifunc.c: New file.
15493 * benchtests/bench-strcat.c: New file.
15494 * benchtests/bench-strchr-ifunc.c: New file.
15495 * benchtests/bench-strchr.c: New file.
15496 * benchtests/bench-strchrnul-ifunc.c: New file.
15497 * benchtests/bench-strchrnul.c: New file.
15498 * benchtests/bench-strcmp-ifunc.c: New file.
15499 * benchtests/bench-strcmp.c: New file.
15500 * benchtests/bench-strcpy-ifunc.c: New file.
15501 * benchtests/bench-strcpy.c: New file.
15502 * benchtests/bench-strcspn-ifunc.c: New file.
15503 * benchtests/bench-strcspn.c: New file.
15504 * benchtests/bench-strlen-ifunc.c: New file.
15505 * benchtests/bench-strlen.c: New file.
15506 * benchtests/bench-strncasecmp-ifunc.c: New file.
15507 * benchtests/bench-strncasecmp.c: New file.
15508 * benchtests/bench-strncat-ifunc.c: New file.
15509 * benchtests/bench-strncat.c: New file.
15510 * benchtests/bench-strncmp-ifunc.c: New file.
15511 * benchtests/bench-strncmp.c: New file.
15512 * benchtests/bench-strncpy-ifunc.c: New file.
15513 * benchtests/bench-strncpy.c: New file.
15514 * benchtests/bench-strnlen-ifunc.c: New file.
15515 * benchtests/bench-strnlen.c: New file.
15516 * benchtests/bench-strpbrk-ifunc.c: New file.
15517 * benchtests/bench-strpbrk.c: New file.
15518 * benchtests/bench-strrchr-ifunc.c: New file.
15519 * benchtests/bench-strrchr.c: New file.
15520 * benchtests/bench-strspn-ifunc.c: New file.
15521 * benchtests/bench-strspn.c: New file.
15522 * benchtests/bench-strstr-ifunc.c: New file.
15523 * benchtests/bench-strstr.c: New file.
15525 * benchtests/Makefile: Disable parallel execution of targets.
15526 (string-bench): Add memcpy.
15527 (benchset): New variable to store a list of benchmark sets.
15528 (bench-func): Renamed from bench.
15529 (bench-set): New target.
15530 (bench): Depend on bench-func and bench-set.
15531 * benchtests/README: Add section on benchmark sets.
15532 * benchtests/bench-memcpy-ifunc.c: New file.
15533 * benchtests/bench-memcpy.c: New file.
15534 * benchtests/bench-string.h: New file.
15536 2013-06-11 Andreas Schwab <schwab@suse.de>
15539 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15540 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15541 values in the triple.
15542 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15543 terminator in the group key.
15545 2013-06-11 Andreas Jaeger <aj@suse.de>
15547 * po/zh_TW.po: Update Chinese (traditional) translation from
15548 translation project.
15550 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15552 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15553 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15554 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15555 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15556 (clock_getcpuclockid): Likewise.
15557 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15558 Add weak_alias and libc_hidden_def.
15559 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15560 * rt/clock_gettime.c (clock_gettime): Rename to
15561 __clock_gettime. Add weak_alias and libc_hidden_def.
15562 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15563 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15564 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15565 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15566 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15568 * rt/clock_settime.c (clock_settime): Rename to
15569 __clock_settime. Add weak_alias and libc_hidden_def.
15570 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15572 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15574 * mach/err_boot.sub: Remove trailing whitespace.
15575 * mach/err_ipc.sub: Likewise.
15576 * mach/err_mach.sub: Likewise.
15578 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15579 (ROUNDING_TESTS_double): Likewise.
15580 (ROUNDING_TESTS_long_double): Likewise.
15581 (ROUNDING_TESTS): Likewise.
15582 * math/libm-test.inc: Include <math-tests.h>.
15583 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15584 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15585 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15586 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15588 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15590 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15593 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15595 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15596 otherwise empty TRANS lines.
15597 * sysdeps/gnu/errlist.c: Regenerated.
15599 * catgets/gencat.c (error_print): Use (void) in function
15601 * crypt/crypt_util.c (__init_des): Likewise.
15602 * crypt/speeds.c (Stop): Likewise.
15604 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15605 * inet/ruserpass.c (token): Likewise.
15606 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15607 * intl/localealias.c (extend_alias_table): Likewise.
15608 * intl/plural-exp.c (init_germanic_plural): Likewise.
15609 * libio/fcloseall.c (__fcloseall): Likewise.
15610 * libio/genops.c (_IO_flush_all): Likewise.
15611 (_IO_flush_all_linebuffered): Likewise.
15612 (_IO_cleanup): Likewise.
15613 (_IO_iter_begin): Likewise.
15614 (_IO_iter_end): Likewise.
15615 (_IO_list_lock): Likewise.
15616 (_IO_list_unlock): Likewise.
15617 (_IO_list_resetlock): Likewise.
15618 * libio/getchar.c (getchar): Likewise.
15619 * libio/getchar_u.c (getchar_unlocked): Likewise.
15620 * libio/getwchar.c (getwchar): Likewise.
15621 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15622 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15623 * login/getpt.c (__getpt): Likewise.
15624 * login/tst-utmp.c (main): Likewise.
15625 * malloc/hooks.c (__malloc_check_init): Likewise.
15626 * malloc/malloc.c (__malloc_stats): Likewise.
15627 * malloc/mtrace.c (tr_break): Likewise.
15628 (mtrace): Likewise.
15629 (muntrace): Likewise.
15630 * misc/fstab.c (endfsent): Likewise.
15631 * misc/getclktck.c (__getclktck): Likewise.
15632 * misc/getdtsz.c (__getdtablesize): Likewise.
15633 * misc/gethostid.c (gethostid): Likewise.
15634 * misc/getpagesize.c (__getpagesize): Likewise.
15635 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15636 (__get_nprocs): Likewise.
15637 (__get_phys_pages): Likewise.
15638 (__get_avphys_pages): Likewise.
15639 * misc/getttyent.c (getttyent): Likewise.
15640 (setttyent): Likewise.
15641 (endttyent): Likewise.
15642 * misc/getusershell.c (getusershell): Likewise.
15643 (endusershell): Likewise.
15644 (setusershell): Likewise.
15645 (initshells): Likewise.
15646 * misc/hsearch.c (__hdestroy): Likewise.
15647 * misc/sync.c (sync): Likewise.
15648 * misc/syslog.c (closelog_internal): Likewise.
15649 (closelog): Likewise.
15650 * misc/ttyslot.c (ttyslot): Likewise.
15651 * misc/vhangup.c (vhangup): Likewise.
15652 * posix/fork.c (__fork): Likewise.
15653 * posix/getegid.c (__getegid): Likewise.
15654 * posix/geteuid.c (__geteuid): Likewise.
15655 * posix/getgid.c (__getgid): Likewise.
15656 * posix/getpid.c (__getpid): Likewise.
15657 * posix/getppid.c (__getppid): Likewise.
15658 * posix/getuid.c (__getuid): Likewise.
15659 * posix/pause.c (pause): Likewise.
15660 * posix/setpgrp.c (setpgrp): Likewise.
15661 * posix/setsid.c (__setsid): Likewise.
15662 * posix/test-vfork.c (noop): Likewise.
15663 * resolv/gethnamaddr.c (_endhtent): Likewise.
15664 (_gethtent): Likewise.
15665 (ht_endhostent): Likewise.
15666 (gethostent): Likewise.
15667 (dns_service): Likewise.
15668 * stdlib/drand48.c (drand48): Likewise.
15669 * stdlib/lrand48.c (lrand48): Likewise.
15670 * stdlib/mrand48.c (mrand48): Likewise.
15671 * stdlib/rand.c (rand): Likewise.
15672 * stdlib/random.c (__random): Likewise.
15673 * stdlib/setenv.c (clearenv): Likewise.
15674 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15675 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15676 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15677 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15678 (__get_nprocs): Likewise.
15679 (__get_phys_pages): Likewise.
15680 (__get_avphys_pages): Likewise.
15681 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15682 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15683 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15684 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15685 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15686 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15687 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15688 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15689 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15690 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15691 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15692 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15693 * sysdeps/posix/clock.c (clock): Likewise.
15694 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15695 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15696 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15697 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15698 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15699 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15700 (__get_nprocs_conf): Likewise.
15701 (__get_phys_pages): Likewise.
15702 (__get_avphys_pages): Likewise.
15703 * time/clock.c (clock): Likewise.
15704 * time/tzset.c (__tzname_max): Likewise.
15706 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15708 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15709 (__bswap_32): Do not use "register".
15710 * crypt/crypt.c (_ufc_doit_r): Likewise.
15711 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15712 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15713 * gmon/gmon.c (__monstartup): Likewise.
15714 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15715 * hurd/hurdmalloc.c (more_memory): Likewise.
15716 (malloc): Likewise.
15718 (realloc): Likewise.
15719 (malloc_fork_prepare): Likewise.
15720 (malloc_fork_parent): Likewise.
15721 (malloc_fork_child): Likewise.
15722 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15723 (_svcauth_des): Likewise.
15724 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15725 * inet/inet_net.c (inet_network): Likewise.
15726 * inet/inet_netof.c (inet_netof): Likewise.
15727 * inet/rcmd.c (__validuser2_sa): Likewise.
15728 * io/fts.c (fts_open): Likewise.
15729 (fts_load): Likewise.
15730 (fts_close): Likewise.
15731 (fts_read): Likewise.
15732 (fts_children): Likewise.
15733 (fts_build): Likewise.
15734 (fts_stat): Likewise.
15735 (fts_sort): Likewise.
15736 (fts_alloc): Likewise.
15737 (fts_lfree): Likewise.
15738 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15739 (_IO_file_xsgetn): Likewise.
15740 (_IO_file_xsgetn_mmap): Likewise.
15741 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15742 (_IO_cookie_write): Likewise.
15743 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15744 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15745 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15746 * malloc/obstack.c (_obstack_begin): Likewise.
15747 (_obstack_begin_1): Likewise.
15748 (_obstack_newchunk): Likewise.
15749 (_obstack_allocated_p): Likewise.
15750 (obstack_free): Likewise.
15751 (_obstack_memory_used): Likewise.
15752 * misc/getttyent.c (getttynam): Likewise.
15753 (getttyent): Likewise.
15756 * misc/getusershell.c (initshells): Likewise.
15757 * misc/syslog.c (__vsyslog_chk): Likewise.
15758 * misc/ttyslot.c (ttyslot): Likewise.
15759 * nis/nis_hash.c (__nis_hash): Likewise.
15760 * posix/fnmatch_loop.c (FCT): Likewise.
15761 * posix/getconf.c (print_all): Likewise.
15763 * posix/getopt.c (exchange): Likewise.
15764 * posix/glob.c (globfree): Likewise.
15765 (prefix_array): Likewise.
15766 (__glob_pattern_type): Likewise.
15767 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15768 (NS_GET32): Likewise.
15769 (NS_PUT16): Likewise.
15770 (NS_PUT32): Likewise.
15771 * resolv/gethnamaddr.c (getanswer): Likewise.
15772 (gethostbyname2): Likewise.
15773 (gethostbyaddr): Likewise.
15774 (_gethtent): Likewise.
15775 (_gethtbyname2): Likewise.
15776 (_gethtbyaddr): Likewise.
15777 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15778 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15779 * resolv/res_init.c (__res_vinit): Likewise.
15780 (net_mask): Likewise.
15781 * resolv/res_mkquery.c (outchar): Likewise.
15783 * stdio-common/printf_fp.c (outchar): Likewise.
15785 * stdio-common/printf_fphex.c (outchar): Likewise.
15787 * stdio-common/printf_size.c (outchar): Likewise.
15789 * stdio-common/test_rdwr.c (main): Likewise.
15790 * stdio-common/tfformat.c (matches): Likewise.
15791 * stdio-common/vfprintf.c (outchar): Likewise.
15792 (printf_unknown): Likewise.
15793 (buffered_vfprintf): Likewise.
15794 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15795 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15796 (ReadFile): Likewise.
15797 * stdlib/qsort.c (SWAP): Likewise.
15798 (_quicksort): Likewise.
15799 * stdlib/setenv.c (__add_to_environ): Likewise.
15800 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15801 * stdlib/strtol_l.c (__strtol_l): Likewise.
15802 * stdlib/tst-strtod.c (main): Likewise.
15803 * stdlib/tst-strtol.c (main): Likewise.
15804 * stdlib/tst-strtoll.c (main): Likewise.
15805 * string/bits/string2.h (__strcmp_cc): Likewise.
15806 (__strcmp_cg): Likewise.
15807 (__strcspn_c1): Likewise.
15808 (__strcspn_c2): Likewise.
15809 (__strcspn_c3): Likewise.
15810 (__strspn_c1): Likewise.
15811 (__strspn_c2): Likewise.
15812 (__strspn_c3): Likewise.
15813 (__strsep_1c): Likewise.
15814 (__strsep_2c): Likewise.
15815 (__strsep_3c): Likewise.
15816 * string/memccpy.c (__memccpy): Likewise.
15817 * string/stpcpy.c (__stpcpy): Likewise.
15818 * string/strcmp.c (strcmp): Likewise.
15819 * string/strrchr.c (strrchr): Likewise.
15820 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15822 * sysdeps/mach/hurd/getcwd.c
15823 (_hurd_canonicalize_directory_name_internal): Likewise.
15824 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15825 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15826 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15827 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15828 Likewise, in both definitions.
15829 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15831 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15832 64] (__bswap_64): Likewise.
15833 * time/test_time.c (main): Likewise.
15834 * time/tzfile.c (__tzfile_read): Likewise.
15835 (__tzfile_compute): Likewise.
15836 * time/tzset.c (__tzset_parse_tz): Likewise.
15837 (tzset_internal): Likewise.
15838 (compute_change): Likewise.
15839 * wcsmbs/wcscat.c (__wcscat): Likewise.
15840 * wcsmbs/wcschr.c (wcschr): Likewise.
15841 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15842 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15843 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15844 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15845 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15846 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15847 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15848 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15849 * wcsmbs/wmemset.c (wmemset): Likewise.
15851 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15853 * scripts/config.guess: Update to version 2013-05-16.
15854 * scripts/config.sub: Update to version 2013-04-24.
15855 * scripts/install-sh: Update to version 2011-11-20.07.
15856 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15857 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15859 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15861 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15862 * elf/sln.c: Likewise.
15863 * hurd/hurd/ioctl.h: Likewise.
15864 * hurd/hurdmalloc.c: Likewise.
15865 * hurd/xattr.c: Likewise.
15866 * include/shlib-compat.h: Likewise.
15867 * inet/ruserpass.c: Likewise.
15868 * libio/iofgets_u.c: Likewise.
15869 * libio/iofgetws_u.c: Likewise.
15870 * locale/programs/ld-identification.c: Likewise.
15871 * locale/programs/ld-time.c: Likewise.
15872 * mach/msg-destroy.c: Likewise.
15873 * nss/nss_files/files-netgrp.c: Likewise.
15874 * resolv/res_data.c: Likewise.
15875 * soft-fp/op-1.h: Likewise.
15876 * soft-fp/op-2.h: Likewise.
15877 * soft-fp/op-4.h: Likewise.
15878 * soft-fp/op-common.h: Likewise.
15879 * stdio-common/printf_fphex.c: Likewise.
15880 * stdlib/strtod_l.c: Likewise.
15881 * sunrpc/rpc/clnt.h: Likewise.
15882 * sysdeps/generic/framestate.c: Likewise.
15883 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15884 * sysdeps/i386/bsd-setjmp.S: Likewise.
15885 * sysdeps/i386/__longjmp.S: Likewise.
15886 * sysdeps/i386/setjmp.S: Likewise.
15887 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15888 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15889 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15890 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15891 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15892 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15893 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15894 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15895 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15896 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15897 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15898 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15899 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15900 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15901 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15902 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15903 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15904 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15905 * sysdeps/ieee754/support.c: Likewise.
15906 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15907 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15908 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15909 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15910 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15911 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15912 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15913 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15914 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15915 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15916 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15917 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15918 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15919 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15920 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15921 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15922 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15925 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15927 * posix/transbug.c: Remove executable mode.
15929 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15931 * crypt/speeds.c: Remove trailing whitespace.
15932 * dlfcn/default.c: Likewise.
15933 * elf/ifuncdep2.c: Likewise.
15934 * elf/ifuncmain1.c: Likewise.
15935 * elf/ifuncmain1vis.c: Likewise.
15936 * elf/testobj.h: Likewise.
15937 * elf/tst-stackguard1.c: Likewise.
15938 * gmon/sys/gmon.h: Likewise.
15939 * hurd/hurdmsg.c: Likewise.
15940 * hurd/new-fd.c: Likewise.
15941 * hurd/ports-get.c: Likewise.
15942 * iconvdata/ibm1008_420.c: Likewise.
15943 * inet/tst-getni1.c: Likewise.
15944 * inet/tst-getni2.c: Likewise.
15945 * libio/ioungetc.c: Likewise.
15946 * libio/wfiledoalloc.c: Likewise.
15947 * manual/libm-err-tab.pl: Likewise.
15948 * math/w_dremf.c: Likewise.
15949 * misc/ftruncate.c: Likewise.
15950 * posix/bug-glob2.c: Likewise.
15951 * posix/tst-pcre.c: Likewise.
15952 * posix/wait4.c: Likewise.
15953 * resolv/README: Likewise.
15954 * resolv/res_debug.h: Likewise.
15955 * resolv/tst-inet_ntop.c: Likewise.
15956 * setjmp/bug269-setjmp.c: Likewise.
15957 * soft-fp/extended.h: Likewise.
15958 * soft-fp/op-1.h: Likewise.
15959 * soft-fp/op-2.h: Likewise.
15960 * soft-fp/op-4.h: Likewise.
15961 * soft-fp/op-8.h: Likewise.
15962 * soft-fp/testit.c: Likewise.
15963 * stdio-common/bug16.c: Likewise.
15964 * stdlib/random.c: Likewise.
15965 * sunrpc/rpcsvc/rquota.x: Likewise.
15966 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15967 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15968 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15969 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15970 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15971 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15972 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15973 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15974 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15975 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15976 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15981 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15982 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15993 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15994 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15995 * sysdeps/ieee754/s_lib_version.c: Likewise.
15996 * sysdeps/mach/hurd/check_fds.c: Likewise.
15997 * sysdeps/mach/hurd/getsockname.c: Likewise.
15998 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15999 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16000 * sysdeps/powerpc/bits/link.h: Likewise.
16001 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16002 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16003 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16004 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16005 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16006 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16007 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16008 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16009 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16010 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16011 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16012 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16013 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16014 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16015 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16016 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16017 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16018 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16019 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16020 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16021 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16022 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16023 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16024 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16025 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16026 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16027 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16028 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16029 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16030 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16031 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16032 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16033 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16034 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16035 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16036 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16037 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16038 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16039 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16040 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16041 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16042 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16043 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16044 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16045 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16046 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16047 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16048 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16049 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16050 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16051 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16052 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16053 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16054 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16055 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16056 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16057 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16058 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16059 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16060 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16061 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16062 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16063 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16064 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16065 * sysdeps/powerpc/sysdep.h: Likewise.
16066 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16067 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16068 * sysdeps/sh/dl-trampoline.S: Likewise.
16069 * sysdeps/sh/memset.S: Likewise.
16070 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16071 * sysdeps/sh/strlen.S: Likewise.
16072 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16073 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16074 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16075 * sysdeps/sparc/sparc32/rem.S: Likewise.
16076 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16077 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16078 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16079 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16080 * sysdeps/sparc/sparc32/urem.S: Likewise.
16081 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16082 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16083 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16084 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16085 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16086 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16087 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16088 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16089 * sysdeps/unix/bsd/times.c: Likewise.
16090 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16091 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16095 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16096 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16097 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16098 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16099 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16100 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16101 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16102 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16103 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16104 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16105 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16106 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16107 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16108 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16109 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16110 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16111 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16112 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16113 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16114 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16115 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16116 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16117 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16118 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16119 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16120 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16121 * sysdeps/x86_64/strcspn.S: Likewise.
16123 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16125 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16126 generated file. Regenerate properly from gen-translit.pl.
16127 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16128 locale/C-translit.h.
16130 2013-06-05 Andreas Schwab <schwab@suse.de>
16133 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16134 week as 6 instead of -1.
16135 * time/tst-strptime.c (day_tests): Add test case.
16137 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16139 * sysdeps/generic/math_private.h
16140 (libc_feholdexcept_setround_53bit): Replace with
16141 libc_feholdsetround_53bit.
16142 (libc_feupdateenv_53bit): Replace with
16143 libc_feresetround_53bit.
16144 (SET_RESTORE_ROUND_53BIT): Adjust.
16146 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16148 * string/test-strchrnul.c: Add copyright header.
16150 * posix/tst-getaddrinfo4.c: Increase test timeout.
16152 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16155 * math/libm-test.inc (MAX_EXP): Remove
16157 (ulp): Use MIN_EXP - MANT_DIG.
16158 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16160 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16162 * po/be.po: Revert last change.
16163 * po/zh_CN.po: Likewise.
16164 * po/header.pot: Likewise.
16166 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16168 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16169 link-libc-deps to empty as target-specific variable.
16170 * Makerules (link-libc-args): New variable.
16171 (libc-for-link): Likewise.
16172 (link-libc-deps): Likewise.
16173 (lib%.so): Depend on $(link-libc-deps). Link with
16175 (build-module): Link with $(link-libc-args).
16176 (build-module-asneeded): Likewise.
16177 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16179 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16180 target-specific variable.
16181 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16182 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16183 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16185 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16187 ($(objpfx)libpcprofile.so): Likewise.
16188 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16190 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16191 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16192 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16194 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16195 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16196 * login/Makefile ($(objpfx)libutil.so): Likewise.
16197 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16198 * math/Makefile ($(objpfx)libm.so): Likewise.
16199 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16200 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16201 variable instead of depending directly on libc.
16202 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16203 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16205 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16207 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16208 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16209 ($(objpfx)libanl.so): Likewise.
16210 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16212 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16214 * sysdeps/i386/fpu/Makefile: Remove file.
16215 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16216 ($(objpfx)libm.so): Remove dependency on ld.so.
16218 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16221 * nis/yp_xdr.c (XDRMAXNAME): Define.
16222 (XDRMAXRECORD): Define.
16223 (xdr_domainname): Use XDRMAXNAME.
16224 (xdr_mapname): Likewise.
16225 (xdr_peername): Likewise.
16226 (xdr_keydat): Use XDRMAXRECORD.
16227 (xdr_valdat): Likewise.
16229 2013-05-30 Jeff Law <law@redhat.com>
16232 * manual/errno.texi (ESTALE): Update to account for more than
16233 just NFS file systems.
16234 * sysdeps/gnu/errlist.c: Regenerated.
16236 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16239 * elf/Makefile (tests): Add tst-null-argv.
16240 (modules-names): Add tst-null-argv-lib.
16241 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16242 (tst-null-argv-ENV): Set environment for tst-null-argv.
16243 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16244 (RTLD_PROGNAME): New macro.
16245 * elf/tst-null-argv.c: New test case.
16246 * elf/tst-null-argv-lib.c: Library for test case.
16247 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16248 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16249 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16250 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16251 * elf/dl-init.c (call_init): Likewise.
16252 (_dl_init): Likewise.
16253 * elf/dl-load.c (print_search_path): Likewise.
16254 (_dl_map_object): Likewise.
16255 * elf/dl-lookup.c (do_lookup_x): Likewise.
16256 (add_dependency): Likewise.
16257 (_dl_lookup_symbol_x): Likewise.
16258 (_dl_debug_bindings): Likewise.
16259 * elf/dl-open.c (_dl_show_scope): Likewise.
16260 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16261 * elf/dl-version.c (match_symbol): Likewise.
16262 (_dl_check_map_versions): Likewise.
16263 * elf/rtld.c (dl_main): Likewise.
16264 (print_unresolved): Use RTLD_PROGNAME.
16265 (print_missing_version): Likewise.
16266 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16267 (elf_machine_rela): Likewise.
16268 * sysdeps/powerpc/powerpc32/dl-machine.c
16269 (__process_machine_rela): Likewise.
16270 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16272 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16274 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16276 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16277 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16279 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16281 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16283 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16285 * po/be.po: Add descriptive title.
16286 * po/zh_CN.po: Likewise.
16287 * po/header.pot: Likewise.
16289 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16291 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16293 (enlarge_archive): Likewise.
16295 2013-05-28 Ben North <ben@redfrontdoor.org>
16297 * manual/arith.texi (frexp): It is the magnitude of the return
16298 value which lies in [0.5, 1), not the return value itself.
16300 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16304 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16306 * stdio-common/bug26.c (main): Correct fscanf template.
16308 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16309 declare _dl_skip_args.
16311 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16314 * manual/platform.texi: Add missing @end deftypefun.
16316 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16319 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16320 bit of mantissa of 2^16382.
16321 * math/libm-test.inc (hypot_test_data): Add more tests.
16323 * math/libm-test.inc: Add drem and pow10 to list of tested
16325 (pow10_test): New function.
16326 (drem_test): Likewise.
16327 (drem_test_tonearest): Likewise.
16328 (drem_test_towardzero): Likewise.
16329 (drem_test_downward): Likewise.
16330 (drem_test_upward): Likewise.
16331 (main): Call the new functions.
16333 * math/libm-test.inc (finite_test_data): Remove.
16334 (finite_test): Run tests from isfinite_test_data.
16335 (gamma_test_data): Remove.
16336 (gamma_test): Run tests from lgamma_test_data.
16337 * sysdeps/i386/fpu/libm-test-ulps: Update.
16338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16340 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16342 * manual/platform.texi: Add PowerPC PPR function set documentation.
16343 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16346 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16348 * math/libm-test.inc (MAX_EXP): Define.
16350 (ulp): New function.
16351 (check_float_internal): Use ULPDIFF.
16352 (cpow_test): Disable failing test.
16353 (check_ulp): Test ulp() implemetnation.
16354 (main): Call check_ulp before starting tests.
16356 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16358 * math/gen-libm-test.pl (generate_testfile): Do not handle
16359 START_DATA and END_DATA.
16360 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16362 (acos_tonearest_test_data): Likewise.
16363 (acos_towardzero_test_data): Likewise.
16364 (acos_downward_test_data): Likewise.
16365 (acos_upward_test_data): Likewise.
16366 (acosh_test_data): Likewise.
16367 (asin_test_data): Likewise.
16368 (asin_tonearest_test_data): Likewise.
16369 (asin_towardzero_test_data): Likewise.
16370 (asin_downward_test_data): Likewise.
16371 (asin_upward_test_data): Likewise.
16372 (asinh_test_data): Likewise.
16373 (atan_test_data): Likewise.
16374 (atanh_test_data): Likewise.
16375 (atan2_test_data): Likewise.
16376 (cabs_test_data): Likewise.
16377 (cacos_test_data): Likewise.
16378 (cacosh_test_data): Likewise.
16379 (carg_test_data): Likewise.
16380 (casin_test_data): Likewise.
16381 (casinh_test_data): Likewise.
16382 (catan_test_data): Likewise.
16383 (catanh_test_data): Likewise.
16384 (cbrt_test_data): Likewise.
16385 (ccos_test_data): Likewise.
16386 (ccosh_test_data): Likewise.
16387 (ceil_test_data): Likewise.
16388 (cexp_test_data): Likewise.
16389 (cimag_test_data): Likewise.
16390 (clog_test_data): Likewise.
16391 (clog10_test_data): Likewise.
16392 (conj_test_data): Likewise.
16393 (copysign_test_data): Likewise.
16394 (cos_test_data): Likewise.
16395 (cos_tonearest_test_data): Likewise.
16396 (cos_towardzero_test_data): Likewise.
16397 (cos_downward_test_data): Likewise.
16398 (cos_upward_test_data): Likewise.
16399 (cosh_test_data): Likewise.
16400 (cosh_tonearest_test_data): Likewise.
16401 (cosh_towardzero_test_data): Likewise.
16402 (cosh_downward_test_data): Likewise.
16403 (cosh_upward_test_data): Likewise.
16404 (cpow_test_data): Likewise.
16405 (cproj_test_data): Likewise.
16406 (creal_test_data): Likewise.
16407 (csin_test_data): Likewise.
16408 (csinh_test_data): Likewise.
16409 (csqrt_test_data): Likewise.
16410 (ctan_test_data): Likewise.
16411 (ctan_tonearest_test_data): Likewise.
16412 (ctan_towardzero_test_data): Likewise.
16413 (ctan_downward_test_data): Likewise.
16414 (ctan_upward_test_data): Likewise.
16415 (ctanh_test_data): Likewise.
16416 (ctanh_tonearest_test_data): Likewise.
16417 (ctanh_towardzero_test_data): Likewise.
16418 (ctanh_downward_test_data): Likewise.
16419 (ctanh_upward_test_data): Likewise.
16420 (erf_test_data): Likewise.
16421 (erfc_test_data): Likewise.
16422 (exp_test_data): Likewise.
16423 (exp_tonearest_test_data): Likewise.
16424 (exp_towardzero_test_data): Likewise.
16425 (exp_downward_test_data): Likewise.
16426 (exp_upward_test_data): Likewise.
16427 (exp10_test_data): Likewise.
16428 (exp2_test_data): Likewise.
16429 (expm1_test_data): Likewise.
16430 (fabs_test_data): Likewise.
16431 (fdim_test_data): Likewise.
16432 (finite_test_data): Likewise.
16433 (floor_test_data): Likewise.
16434 (fma_test_data): Likewise.
16435 (fma_towardzero_test_data): Likewise.
16436 (fma_downward_test_data): Likewise.
16437 (fma_upward_test_data): Likewise.
16438 (fmax_test_data): Likewise.
16439 (fmin_test_data): Likewise.
16440 (fmod_test_data): Likewise.
16441 (fpclassify_test_data): Likewise.
16442 (frexp_test_data): Likewise.
16443 (gamma_test_data): Likewise.
16444 (hypot_test_data): Likewise.
16445 (ilogb_test_data): Likewise.
16446 (isfinite_test_data): Likewise.
16447 (isgreater_test_data): Likewise.
16448 (isgreaterequal_test_data): Likewise.
16449 (isinf_test_data): Likewise.
16450 (isless_test_data): Likewise.
16451 (islessequal_test_data): Likewise.
16452 (islessgreater_test_data): Likewise.
16453 (isnan_test_data): Likewise.
16454 (isnormal_test_data): Likewise.
16455 (issignaling_test_data): Likewise.
16456 (isunordered_test_data): Likewise.
16457 (j0_test_data): Likewise.
16458 (j1_test_data): Likewise.
16459 (jn_test_data): Likewise.
16460 (ldexp_test_data): Likewise.
16461 (lgamma_test_data): Likewise.
16462 (lrint_test_data): Likewise.
16463 (lrint_tonearest_test_data): Likewise.
16464 (lrint_towardzero_test_data): Likewise.
16465 (lrint_downward_test_data): Likewise.
16466 (lrint_upward_test_data): Likewise.
16467 (llrint_test_data): Likewise.
16468 (llrint_tonearest_test_data): Likewise.
16469 (llrint_towardzero_test_data): Likewise.
16470 (llrint_downward_test_data): Likewise.
16471 (llrint_upward_test_data): Likewise.
16472 (log_test_data): Likewise.
16473 (log10_test_data): Likewise.
16474 (log1p_test_data): Likewise.
16475 (log2_test_data): Likewise.
16476 (logb_test_data): Likewise.
16477 (logb_downward_test_data): Likewise.
16478 (lround_test_data): Likewise.
16479 (llround_test_data): Likewise.
16480 (modf_test_data): Likewise.
16481 (nearbyint_test_data): Likewise.
16482 (nextafter_test_data): Likewise.
16483 (nexttoward_test_data): Likewise.
16484 (pow_test_data): Likewise.
16485 (pow_tonearest_test_data): Likewise.
16486 (pow_towardzero_test_data): Likewise.
16487 (pow_downward_test_data): Likewise.
16488 (pow_upward_test_data): Likewise.
16489 (remainder_test_data): Likewise.
16490 (remainder_tonearest_test_data): Likewise.
16491 (remainder_towardzero_test_data): Likewise.
16492 (remainder_downward_test_data): Likewise.
16493 (remainder_upward_test_data): Likewise.
16494 (remquo_test_data): Likewise.
16495 (rint_test_data): Likewise.
16496 (rint_tonearest_test_data): Likewise.
16497 (rint_towardzero_test_data): Likewise.
16498 (rint_downward_test_data): Likewise.
16499 (rint_upward_test_data): Likewise.
16500 (round_test_data): Likewise.
16501 (scalb_test_data): Likewise.
16502 (scalbn_test_data): Likewise.
16503 (scalbln_test_data): Likewise.
16504 (signbit_test_data): Likewise.
16505 (sin_test_data): Likewise.
16506 (sin_tonearest_test_data): Likewise.
16507 (sin_towardzero_test_data): Likewise.
16508 (sin_downward_test_data): Likewise.
16509 (sin_upward_test_data): Likewise.
16510 (sincos_test_data): Likewise.
16511 (sinh_test_data): Likewise.
16512 (sinh_tonearest_test_data): Likewise.
16513 (sinh_towardzero_test_data): Likewise.
16514 (sinh_downward_test_data): Likewise.
16515 (sinh_upward_test_data): Likewise.
16516 (sqrt_test_data): Likewise.
16517 (tan_test_data): Likewise.
16518 (tan_tonearest_test_data): Likewise.
16519 (tan_towardzero_test_data): Likewise.
16520 (tan_downward_test_data): Likewise.
16521 (tan_upward_test_data): Likewise.
16522 (tanh_test_data): Likewise.
16523 (tgamma_test_data): Likewise.
16524 (trunc_test_data): Likewise.
16525 (y0_test_data): Likewise.
16526 (y1_test_data): Likewise.
16527 (yn_test_data): Likewise.
16528 (significand_test_data): Likewise.
16530 * math/gen-libm-test.pl (@functions): Remove variable.
16531 (generate_testfile): Don't handle START and END lines.
16532 * math/libm-test.inc (START): New macro.
16534 (END_COMPLEX): Likewise.
16535 (acos_test): Use END macro without arguments.
16536 (acos_test_tonearest): Likewise.
16537 (acos_test_towardzero): Likewise.
16538 (acos_test_downward): Likewise.
16539 (acos_test_upward): Likewise.
16540 (acosh_test): Likewise.
16541 (asin_test): Likewise.
16542 (asin_test_tonearest): Likewise.
16543 (asin_test_towardzero): Likewise.
16544 (asin_test_downward): Likewise.
16545 (asin_test_upward): Likewise.
16546 (asinh_test): Likewise.
16547 (atan_test): Likewise.
16548 (atanh_test): Likewise.
16549 (atan2_test): Likewise.
16550 (cabs_test): Likewise.
16551 (cacos_test): Use END_COMPLEX macro without arguments.
16552 (cacosh_test): Likewise.
16553 (carg_test): Use END macro without arguments.
16554 (casin_test): Use END_COMPLEX macro without arguments.
16555 (casinh_test): Likewise.
16556 (catan_test): Likewise.
16557 (catanh_test): Likewise.
16558 (cbrt_test): Use END macro without arguments.
16559 (ccos_test): Use END_COMPLEX macro without arguments.
16560 (ccosh_test): Likewise.
16561 (ceil_test): Use END macro without arguments.
16562 (cexp_test): Use END_COMPLEX macro without arguments.
16563 (cimag_test): Use END macro without arguments.
16564 (clog_test): Use END_COMPLEX macro without arguments.
16565 (clog10_test): Likewise.
16566 (conj_test): Likewise.
16567 (copysign_test): Use END macro without arguments.
16568 (cos_test): Likewise.
16569 (cos_test_tonearest): Likewise.
16570 (cos_test_towardzero): Likewise.
16571 (cos_test_downward): Likewise.
16572 (cos_test_upward): Likewise.
16573 (cosh_test): Likewise.
16574 (cosh_test_tonearest): Likewise.
16575 (cosh_test_towardzero): Likewise.
16576 (cosh_test_downward): Likewise.
16577 (cosh_test_upward): Likewise.
16578 (cpow_test): Use END_COMPLEX macro without arguments.
16579 (cproj_test): Likewise.
16580 (creal_test): Use END macro without arguments.
16581 (csin_test): Use END_COMPLEX macro without arguments.
16582 (csinh_test): Likewise.
16583 (csqrt_test): Likewise.
16584 (ctan_test): Likewise.
16585 (ctan_test_tonearest): Likewise.
16586 (ctan_test_towardzero): Likewise.
16587 (ctan_test_downward): Likewise.
16588 (ctan_test_upward): Likewise.
16589 (ctanh_test): Likewise.
16590 (ctanh_test_tonearest): Likewise.
16591 (ctanh_test_towardzero): Likewise.
16592 (ctanh_test_downward): Likewise.
16593 (ctanh_test_upward): Likewise.
16594 (erf_test): Use END macro without arguments.
16595 (erfc_test): Likewise.
16596 (exp_test): Likewise.
16597 (exp_test_tonearest): Likewise.
16598 (exp_test_towardzero): Likewise.
16599 (exp_test_downward): Likewise.
16600 (exp_test_upward): Likewise.
16601 (exp10_test): Likewise.
16602 (exp2_test): Likewise.
16603 (expm1_test): Likewise.
16604 (fabs_test): Likewise.
16605 (fdim_test): Likewise.
16606 (finite_test): Likewise.
16607 (floor_test): Likewise.
16608 (fma_test): Likewise.
16609 (fma_test_towardzero): Likewise.
16610 (fma_test_downward): Likewise.
16611 (fma_test_upward): Likewise.
16612 (fmax_test): Likewise.
16613 (fmin_test): Likewise.
16614 (fmod_test): Likewise.
16615 (fpclassify_test): Likewise.
16616 (frexp_test): Likewise.
16617 (gamma_test): Likewise.
16618 (hypot_test): Likewise.
16619 (ilogb_test): Likewise.
16620 (isfinite_test): Likewise.
16621 (isgreater_test): Likewise.
16622 (isgreaterequal_test): Likewise.
16623 (isinf_test): Likewise.
16624 (isless_test): Likewise.
16625 (islessequal_test): Likewise.
16626 (islessgreater_test): Likewise.
16627 (isnan_test): Likewise.
16628 (isnormal_test): Likewise.
16629 (issignaling_test): Likewise.
16630 (isunordered_test): Likewise.
16631 (j0_test): Likewise.
16632 (j1_test): Likewise.
16633 (jn_test): Likewise.
16634 (ldexp_test): Likewise.
16635 (lgamma_test): Likewise.
16636 (lrint_test): Likewise.
16637 (lrint_test_tonearest): Likewise.
16638 (lrint_test_towardzero): Likewise.
16639 (lrint_test_downward): Likewise.
16640 (lrint_test_upward): Likewise.
16641 (llrint_test): Likewise.
16642 (llrint_test_tonearest): Likewise.
16643 (llrint_test_towardzero): Likewise.
16644 (llrint_test_downward): Likewise.
16645 (llrint_test_upward): Likewise.
16646 (log_test): Likewise.
16647 (log10_test): Likewise.
16648 (log1p_test): Likewise.
16649 (log2_test): Likewise.
16650 (logb_test): Likewise.
16651 (logb_test_downward): Likewise.
16652 (lround_test): Likewise.
16653 (llround_test): Likewise.
16654 (modf_test): Likewise.
16655 (nearbyint_test): Likewise.
16656 (nextafter_test): Likewise.
16657 (nexttoward_test): Likewise.
16658 (pow_test): Likewise.
16659 (pow_test_tonearest): Likewise.
16660 (pow_test_towardzero): Likewise.
16661 (pow_test_downward): Likewise.
16662 (pow_test_upward): Likewise.
16663 (remainder_test): Likewise.
16664 (remainder_test_tonearest): Likewise.
16665 (remainder_test_towardzero): Likewise.
16666 (remainder_test_downward): Likewise.
16667 (remainder_test_upward): Likewise.
16668 (remquo_test): Likewise.
16669 (rint_test): Likewise.
16670 (rint_test_tonearest): Likewise.
16671 (rint_test_towardzero): Likewise.
16672 (rint_test_downward): Likewise.
16673 (rint_test_upward): Likewise.
16674 (round_test): Likewise.
16675 (scalb_test): Likewise.
16676 (scalbn_test): Likewise.
16677 (scalbln_test): Likewise.
16678 (signbit_test): Likewise.
16679 (sin_test): Likewise.
16680 (sin_test_tonearest): Likewise.
16681 (sin_test_towardzero): Likewise.
16682 (sin_test_downward): Likewise.
16683 (sin_test_upward): Likewise.
16684 (sincos_test): Likewise.
16685 (sinh_test): Likewise.
16686 (sinh_test_tonearest): Likewise.
16687 (sinh_test_towardzero): Likewise.
16688 (sinh_test_downward): Likewise.
16689 (sinh_test_upward): Likewise.
16690 (sqrt_test): Likewise.
16691 (tan_test): Likewise.
16692 (tan_test_tonearest): Likewise.
16693 (tan_test_towardzero): Likewise.
16694 (tan_test_downward): Likewise.
16695 (tan_test_upward): Likewise.
16696 (tanh_test): Likewise.
16697 (tgamma_test): Likewise.
16698 (trunc_test): Likewise.
16699 (y0_test): Likewise.
16700 (y1_test): Likewise.
16701 (yn_test): Likewise.
16702 (significand_test): Likewise.
16704 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16707 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16709 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16712 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16713 __ppc_mdoio and __ppc_mdoom.
16714 * manual/platform.texi: Document new functions __ppc_yield,
16715 __ppc_mdoio and __ppc_mdoom.
16717 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16719 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16720 (main): Mention "tls" pseudo-hwcap is legacy.
16721 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16723 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16725 * math/gen-libm-test.pl (parse_args): Output only string of
16726 arguments as text for test name, not full call or descriptions of
16727 tests for extra outputs.
16728 (generate_testfile): Do not pass function name to parse_args.
16729 Generate this_func variable from START.
16730 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16732 (struct test_ff_f_data): Likewise.
16733 (test_ff_f_data_nexttoward): Likewise.
16734 (struct test_fi_f_data): Likewise.
16735 (struct test_fl_f_data): Likewise.
16736 (struct test_if_f_data): Likewise.
16737 (struct test_fff_f_data): Likewise.
16738 (struct test_c_f_data): Likewise.
16739 (struct test_f_f1_data): Likewise. Remove field extra_name.
16740 (struct test_fF_f1_data): Likewise.
16741 (struct test_ffI_f1_data): Likewise.
16742 (struct test_c_c_data): Rename test_name field to arg_str.
16743 (struct test_cc_c_data): Likewise.
16744 (struct test_f_i_data): Likewise.
16745 (struct test_ff_i_data): Likewise.
16746 (struct test_f_l_data): Likewise.
16747 (struct test_f_L_data): Likewise.
16748 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16750 (COMMON_TEST_SETUP): New macro.
16751 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16752 (COMMON_TEST_CLEANUP): Likewise.
16753 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16754 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16756 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16757 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16759 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16760 (RUN_TEST_fff_f): Take argument string. Call new setup and
16762 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16763 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16765 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16766 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16768 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16769 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16771 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16772 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16774 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16775 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16777 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16778 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16780 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16781 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16783 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16784 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16786 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16787 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16789 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16790 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16792 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16793 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16795 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16796 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16798 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16799 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16801 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16802 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16804 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16805 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16807 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16809 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16811 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16812 to _sifields.sigfault.
16813 (si_addr_lsb): Define new macro.
16814 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16815 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16816 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16818 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16821 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16823 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16825 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16826 loading the domain.
16828 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16830 * math/gen-libm-test.pl (parse_args): Do not include expected
16831 result in test name.
16832 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16833 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16834 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16835 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16836 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16839 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16841 * benchtests/Makefile: Sort function entries.
16843 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16844 tanh, asinh, acosh, atanh.
16845 * benchtests/acos-inputs: New file.
16846 * benchtests/acosh-inputs: New file.
16847 * benchtests/asin-inputs: New file.
16848 * benchtests/asinh-inputs: New file.
16849 * benchtests/atanh-inputs: New file.
16850 * benchtests/cosh-inputs: New file.
16851 * benchtests/log-inputs: New file.
16852 * benchtests/sinh-inputs: New file.
16853 * benchtests/tanh-inputs: New file.
16855 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16858 * posix/tst-getaddrinfo4.c: New test.
16859 * posix/Makefile (tests): Add it.
16861 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16864 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16865 when no services were used.
16866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16867 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16869 2013-05-21 Andreas Schwab <schwab@suse.de>
16872 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16873 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16875 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16876 redundant variable declarations and reallocation of buffer when
16877 parsing as IPv6 address. Always set NSS status when called from
16878 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16879 buffer too small. Correct computation of needed size.
16880 * nss/Makefile (tests): Add test-digits-dots.
16881 * nss/test-digits-dots.c: New test.
16883 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16885 * benchtests/Makefile: Remove instructions for adding
16887 * benchtests/README: New file to explain how to execute and
16888 enhance the benchmark tests.
16890 2013-05-21 Andreas Schwab <schwab@suse.de>
16893 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16894 * setjmp/tst-sigsetjmp.c: New test.
16896 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16898 * sysdeps/x86_64/memset.S (memset): New implementation.
16899 (__bzero): Likewise.
16900 (__memset_tail): New function.
16902 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16904 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16905 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16906 __memcpy_sse2_unaligned ifunc selection.
16907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16908 Add memcpy-sse2-unaligned.S.
16909 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16910 Add: __memcpy_sse2_unaligned.
16912 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16915 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16916 math_force_eval before restoring floating-point envrionment.
16917 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16918 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16920 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16922 (__nearbyintl): Use math_force_eval before restoring
16923 floating-point environment.
16924 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16926 * math/gen-libm-test.pl (special_functions): Remove.
16927 (parse_args): Don't handle TEST_extra. Handle functions with no
16929 * math/libm-test.inc (struct test_sincos_data): Replace with
16930 struct test_fFF_11_data.
16931 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16932 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16933 (sincos_test_data): Change element type to struct
16934 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16935 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16936 RUN_TEST_LOOP_sincos.
16937 * math/README.libm-test: Don't mention special handling of
16938 individual functions.
16939 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16940 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16941 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16942 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16943 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16946 * math/gen-libm-test.pl (get_variable): Remove function.
16947 (parse_args): Don't show pointer parameters to call in test
16948 names. Use "extra output N" in test names for extra outputs
16949 rather than naming variables.
16951 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16954 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16955 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16956 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16958 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16960 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16963 * math/gen-libm-test.pl (@tests): Remove variable.
16964 ($count): Likewise.
16965 (new_test): Remove function.
16966 (show_exceptions): New function.
16967 (special_functions): Use show_exceptions instead of new_test.
16968 (parse_args): Likewise.
16969 (generate_testfile): Pass only function name in generated call to
16970 print_max_error or print_complex_max_error.
16971 (get_ulps): Do not handle complex tests specially.
16972 (output_test): Rename to ...
16973 (get_all_ulps_for_test): ... this. Return a string rather than
16974 printing to a file. Require ulps to be present.
16975 (output_ulps): Generate arrays rather than #defines.
16976 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16977 (struct ulp_data): New type.
16978 (BUILD_COMPLEX_ULP): Remove macro.
16979 (compare_ulp_data): New function.
16980 (find_ulps): Likewise.
16981 (find_test_ulps): Likewise.
16982 (find_function_ulps): Likewise.
16983 (find_complex_function_ulps): Likewise.
16984 (print_max_error): Determine allowed ulps using
16985 find_function_ulps.
16986 (print_complex_max_error): Determine allowed ulps using
16987 find_complex_function_ulps.
16988 (check_float_internal): Determine max ulps using find_test_ulps.
16989 (check_float): Do not take max_ulp parameter. Update call to
16990 check_float_internal.
16991 (check_complex): Likewise.
16992 (check_int): Do not take max_ulp parameter.
16993 (check_long): Likewise.
16994 (check_bool): Likewise.
16995 (check_longlong): Likewise.
16996 (struct test_f_f_data): Remove max_ulp field.
16997 (struct test_ff_f_data): Likewise.
16998 (struct test_ff_f_data_nexttoward): Likewise.
16999 (struct test_fi_f_data): Likewise.
17000 (struct test_fl_f_data): Likewise.
17001 (struct test_if_f_data): Likewise.
17002 (struct test_fff_f_data): Likewise.
17003 (struct test_c_f_data): Likewise.
17004 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17005 (struct test_fF_f1_data): Likewise.
17006 (struct test_ffI_f1_data): Likewise.
17007 (struct test_c_c_data): Remove max_ulp field.
17008 (struct test_cc_c_data): Likewise.
17009 (struct test_f_i_data): Likewise.
17010 (struct test_ff_i_data): Likewise.
17011 (struct test_f_l_data): Likewise.
17012 (struct test_f_L_data): Likewise.
17013 (struct test_sincos_data): Likewise.
17014 (RUN_TEST_f_f): Do not handle ulps.
17015 (RUN_TEST_LOOP_f_f): Likewise.
17016 (RUN_TEST_2_f): Likewise.
17017 (RUN_TEST_LOOP_2_f): Likewise.
17018 (RUN_TEST_fff_f): Likewise.
17019 (RUN_TEST_LOOP_fff_f): Likewise.
17020 (RUN_TEST_c_f): Likewise.
17021 (RUN_TEST_LOOP_c_f): Likewise.
17022 (RUN_TEST_f_f1): Likewise.
17023 (RUN_TEST_LOOP_f_f1): Likewise.
17024 (RUN_TEST_fF_f1): Likewise.
17025 (RUN_TEST_LOOP_fF_f1): Likewise.
17026 (RUN_TEST_fI_f1): Likewise.
17027 (RUN_TEST_LOOP_fI_f1): Likewise.
17028 (RUN_TEST_ffI_f1): Likewise.
17029 (RUN_TEST_LOOP_ffI_f1): Likewise.
17030 (RUN_TEST_c_c): Likewise.
17031 (RUN_TEST_LOOP_c_c): Likewise.
17032 (RUN_TEST_cc_c): Likewise.
17033 (RUN_TEST_LOOP_cc_c): Likewise.
17034 (RUN_TEST_f_i): Likewise.
17035 (RUN_TEST_LOOP_f_i): Likewise.
17036 (RUN_TEST_f_i_tg): Likewise.
17037 (RUN_TEST_LOOP_f_i_tg): Likewise.
17038 (RUN_TEST_ff_i_tg): Likewise.
17039 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17040 (RUN_TEST_f_b): Likewise.
17041 (RUN_TEST_LOOP_f_b): Likewise.
17042 (RUN_TEST_f_b_tg): Likewise.
17043 (RUN_TEST_LOOP_f_b_tg): Likewise.
17044 (RUN_TEST_f_l): Likewise.
17045 (RUN_TEST_LOOP_f_l): Likewise.
17046 (RUN_TEST_f_L): Likewise.
17047 (RUN_TEST_LOOP_f_L): Likewise.
17048 (RUN_TEST_sincos): Likewise.
17049 (RUN_TEST_LOOP_sincos): Likewise.
17051 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17055 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17056 main case of finite arguments, set rounding mode to FE_TONEAREST
17057 and discard exceptions.
17058 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17060 (remainder_tonearest_test_data): New variable.
17061 (remainder_test_tonearest): New function.
17062 (remainder_towardzero_test_data): New variable.
17063 (remainder_test_towardzero): New function.
17064 (remainder_downward_test_data): New variable.
17065 (remainder_test_downward): New function.
17066 (remainder_upward_test_data): New variable.
17067 (remainder_test_upward): New function.
17068 (main): Call the new test functions.
17070 * math/libm-test.inc (struct test_f_f1_data): Remove field
17072 (struct test_fF_f1_data): Likewise.
17073 (struct test_ffI_f1_data): Likewise.
17074 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17075 based on value of EXTRA_EXPECTED.
17076 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17077 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17078 EXTRA_VAR based on value of EXTRA_EXPECTED.
17079 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17080 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17081 EXTRA_VAR based on value of EXTRA_EXPECTED.
17082 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17083 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17084 EXTRA_VAR based on value of EXTRA_EXPECTED.
17085 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17086 * math/gen-libm-test.pl (parse_args): Don't output initializers
17087 for extra output values.
17089 * math/libm-test.inc (check_int): Expect result to be exactly
17090 equal to expected value and do not handle ulps.
17091 (check_long): Likewise.
17092 (check_longlong): Likewise.
17094 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17096 (cimag_test_data): Likewise.
17097 (conj_test_data): Likewise.
17098 (copysign_test_data): Likewise.
17099 (cproj_test_data): Likewise.
17100 (creal_test_data): Likewise.
17101 (fabs_test_data): Likewise.
17102 (fdim_test_data): Likewise.
17103 (finite_test_data): Likewise.
17104 (floor_test_data): Likewise.
17105 (fmax_test_data): Likewise.
17106 (fmin_test_data): Likewise.
17107 (fmod_test_data): Likewise.
17108 (fpclassify_test_data): Likewise.
17109 (frexp_test_data): Likewise.
17110 (ilogb_test_data): Likewise.
17111 (isfinite_test_data): Likewise.
17112 (isgreater_test_data): Likewise.
17113 (isgreaterequal_test_data): Likewise.
17114 (isinf_test_data): Likewise.
17115 (isless_test_data): Likewise.
17116 (islessequal_test_data): Likewise.
17117 (islessgreater_test_data): Likewise.
17118 (isnan_test_data): Likewise.
17119 (isnormal_test_data): Likewise.
17120 (issignaling_test_data): Likewise.
17121 (isunordered_test_data): Likewise.
17122 (ldexp_test_data): Likewise.
17123 (lrint_test_data): Likewise.
17124 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17125 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17126 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17127 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17128 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17129 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17131 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17132 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17133 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17134 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17136 (lrint_downward_test_data): Test for "inexact" exceptions.
17137 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17138 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17139 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17141 (lrint_upward_test_data): Test for "inexact" exceptions.
17142 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17144 (llrint_test_data): Test for "inexact" exceptions.
17145 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17146 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17147 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17148 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17149 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17150 (llrint_downward_test_data): Test for "inexact" exceptions.
17151 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17152 (llrint_upward_test_data): Test for "inexact" exceptions.
17153 (logb_test_data): Likewise.
17154 (logb_downward_test_data): Likewise.
17155 (nextafter_test_data): Likewise.
17156 (nexttoward_test_data): Likewise.
17157 (remainder_test_data): Likewise.
17158 (remquo_test_data): Likewise.
17159 (scalbn_test_data): Likewise.
17160 (scalbln_test_data): Likewise.
17161 (signbit_test_data): Likewise.
17162 (sqrt_test_data): Likewise.
17163 (significand_test_data): Likewise.
17165 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17168 * benchtests/bench-modf.c (struct args): Mark arg0 as
17170 * scripts/bench.pl: Mark members of struct args as volatile.
17172 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17175 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17176 negative infinity on POWER6 or lower.
17177 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17179 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17182 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17183 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17184 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17185 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17186 (_FP_SETQNAN): New macro.
17187 (_FP_SETQNAN_SEMIRAW): Likewise.
17188 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17189 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17190 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17191 (FP_EXTEND): Use _FP_FRAC_SNANP.
17192 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17193 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17195 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17197 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17200 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17202 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17203 with DIVIDE_BY_ZERO_EXCEPTION.
17204 (gamma_test_data): Likewise.
17205 (lgamma_test_data): Likewise.
17206 (log_test_data): Likewise.
17207 (log10_test_data): Likewise.
17208 (log2_test_data): Likewise.
17209 (tgamma_test_data): Likewise.
17211 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17212 (acos_test_tonearest): Likewise.
17213 (acos_test_towardzero): Likewise.
17214 (acos_test_downward): Likewise.
17215 (acos_test_upward): Likewise.
17216 (acosh_test): Likewise.
17217 (asin_test): Likewise.
17218 (asin_test_tonearest): Likewise.
17219 (asin_test_towardzero): Likewise.
17220 (asin_test_downward): Likewise.
17221 (asin_test_upward): Likewise.
17222 (asinh_test): Likewise.
17223 (atan_test): Likewise.
17224 (atanh_test): Likewise.
17225 (atan2_test): Likewise.
17226 (cabs_test): Likewise.
17227 (cacos_test): Likewise.
17228 (cacosh_test): Likewise.
17229 (casin_test): Likewise.
17230 (casinh_test): Likewise.
17231 (catan_test): Likewise.
17232 (catanh_test): Likewise.
17233 (cbrt_test): Likewise.
17234 (ccos_test): Likewise.
17235 (ccosh_test): Likewise.
17236 (cexp_test): Likewise.
17237 (clog_test): Likewise.
17238 (clog10_test): Likewise.
17239 (cos_test): Likewise.
17240 (cos_test_tonearest): Likewise.
17241 (cos_test_towardzero): Likewise.
17242 (cos_test_downward): Likewise.
17243 (cos_test_upward): Likewise.
17244 (cosh_test): Likewise.
17245 (cosh_test_tonearest): Likewise.
17246 (cosh_test_towardzero): Likewise.
17247 (cosh_test_downward): Likewise.
17248 (cosh_test_upward): Likewise.
17249 (cpow_test): Likewise.
17250 (csin_test): Likewise.
17251 (csinh_test): Likewise.
17252 (csqrt_test): Likewise.
17253 (ctan_test): Likewise.
17254 (ctan_test_tonearest): Likewise.
17255 (ctan_test_towardzero): Likewise.
17256 (ctan_test_downward): Likewise.
17257 (ctan_test_upward): Likewise.
17258 (ctanh_test): Likewise.
17259 (ctanh_test_tonearest): Likewise.
17260 (ctanh_test_towardzero): Likewise.
17261 (ctanh_test_downward): Likewise.
17262 (ctanh_test_upward): Likewise.
17263 (erf_test): Likewise.
17264 (erfc_test): Likewise.
17265 (exp_test): Likewise.
17266 (exp_test_tonearest): Likewise.
17267 (exp_test_towardzero): Likewise.
17268 (exp_test_downward): Likewise.
17269 (exp_test_upward): Likewise.
17270 (exp10_test): Likewise.
17271 (exp2_test): Likewise.
17272 (expm1_test): Likewise.
17273 (fmod_test): Likewise.
17274 (gamma_test): Likewise.
17275 (hypot_test): Likewise.
17276 (j0_test): Likewise.
17277 (j1_test): Likewise.
17278 (jn_test): Likewise.
17279 (lgamma_test): Likewise.
17280 (log_test): Likewise.
17281 (log10_test): Likewise.
17282 (log1p_test): Likewise.
17283 (log2_test): Likewise.
17284 (logb_test_downward): Likewise.
17285 (pow_test): Likewise.
17286 (pow_test_tonearest): Likewise.
17287 (pow_test_towardzero): Likewise.
17288 (pow_test_downward): Likewise.
17289 (pow_test_upward): Likewise.
17290 (remainder_test): Likewise.
17291 (remquo_test): Likewise.
17292 (sin_test): Likewise.
17293 (sin_test_tonearest): Likewise.
17294 (sin_test_towardzero): Likewise.
17295 (sin_test_downward): Likewise.
17296 (sin_test_upward): Likewise.
17297 (sincos_test): Likewise.
17298 (sinh_test): Likewise.
17299 (sinh_test_tonearest): Likewise.
17300 (sinh_test_towardzero): Likewise.
17301 (sinh_test_downward): Likewise.
17302 (sinh_test_upward): Likewise.
17303 (sqrt_test): Likewise.
17304 (tan_test): Likewise.
17305 (tan_test_tonearest): Likewise.
17306 (tan_test_towardzero): Likewise.
17307 (tan_test_downward): Likewise.
17308 (tan_test_upward): Likewise.
17309 (tanh_test): Likewise.
17310 (tgamma_test): Likewise.
17311 (y0_test): Likewise.
17312 (y1_test): Likewise.
17313 (yn_test): Likewise.
17315 * math/gen-libm-test.pl (adjust_arg): Remove function.
17316 (special_function): Remove argument $in_func. Only handle
17317 generating output for tables of tests, not inside functions.
17318 (parse_args): Likewise.
17319 (generate_testfile): Remove variable $in_func. Update call to
17321 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17322 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17323 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17324 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17325 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17326 (MAX_VALUE_INIT): Rename macro to max_value.
17327 (MIN_VALUE_INIT): Rename macro to min_value.
17328 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17329 (plus_zero): Remove variable.
17330 (minus_zero): Likewise.
17331 (plus_infty): Likewise.
17332 (minus_infty): Likewise.
17333 (qnan_value): Likewise.
17334 (max_value): Likewise.
17335 (min_value): Likewise.
17336 (min_subnorm_value): Likewise.
17338 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17340 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17341 uint64_t or uint32_t usage.
17342 * crypt/sha256-block.c: Likewise.
17343 * crypt/sha256-crypt.c: Likewise.
17344 * crypt/sha256.c: Likewise.
17345 * crypt/sha512-block.c: Likewise.
17346 * crypt/sha512-crypt.c: Likewise.
17347 * crypt/sha512.c: Likewise.
17348 * debug/backtrace-tst.c: Likewise.
17349 * debug/pcprofiledump.c: Likewise.
17350 * elf/cache.c: Likewise.
17351 * elf/dl-cache.c: Likewise.
17352 * elf/dl-misc.c: Likewise.
17353 * elf/dl-profile.c: Likewise.
17354 * elf/dl-support.c: Likewise.
17355 * elf/ldconfig.c: Likewise.
17356 * elf/sprof.c: Likewise.
17357 * iconv/dummy-repertoire.c: Likewise.
17358 * iconv/iconv_charmap.c: Likewise.
17359 * iconv/skeleton.c: Likewise.
17360 * iconvdata/8bit-generic.c: Likewise.
17361 * iconvdata/cp737.h: Likewise.
17362 * iconvdata/cp775.h: Likewise.
17363 * iconvdata/ibm1008.h: Likewise.
17364 * iconvdata/ibm1025.h: Likewise.
17365 * iconvdata/ibm1046.h: Likewise.
17366 * iconvdata/ibm1097.h: Likewise.
17367 * iconvdata/ibm1112.h: Likewise.
17368 * iconvdata/ibm1122.h: Likewise.
17369 * iconvdata/ibm1123.h: Likewise.
17370 * iconvdata/ibm1124.h: Likewise.
17371 * iconvdata/ibm1129.h: Likewise.
17372 * iconvdata/ibm1130.h: Likewise.
17373 * iconvdata/ibm1132.h: Likewise.
17374 * iconvdata/ibm1133.h: Likewise.
17375 * iconvdata/ibm1137.h: Likewise.
17376 * iconvdata/ibm1140.h: Likewise.
17377 * iconvdata/ibm1141.h: Likewise.
17378 * iconvdata/ibm1142.h: Likewise.
17379 * iconvdata/ibm1143.h: Likewise.
17380 * iconvdata/ibm1144.h: Likewise.
17381 * iconvdata/ibm1145.h: Likewise.
17382 * iconvdata/ibm1146.h: Likewise.
17383 * iconvdata/ibm1147.h: Likewise.
17384 * iconvdata/ibm1148.h: Likewise.
17385 * iconvdata/ibm1149.h: Likewise.
17386 * iconvdata/ibm1153.h: Likewise.
17387 * iconvdata/ibm1154.h: Likewise.
17388 * iconvdata/ibm1155.h: Likewise.
17389 * iconvdata/ibm1156.h: Likewise.
17390 * iconvdata/ibm1157.h: Likewise.
17391 * iconvdata/ibm1158.h: Likewise.
17392 * iconvdata/ibm1160.h: Likewise.
17393 * iconvdata/ibm1161.h: Likewise.
17394 * iconvdata/ibm1162.h: Likewise.
17395 * iconvdata/ibm1163.h: Likewise.
17396 * iconvdata/ibm1164.h: Likewise.
17397 * iconvdata/ibm1166.h: Likewise.
17398 * iconvdata/ibm1167.h: Likewise.
17399 * iconvdata/ibm12712.h: Likewise.
17400 * iconvdata/ibm1390.h: Likewise.
17401 * iconvdata/ibm1399.h: Likewise.
17402 * iconvdata/ibm16804.h: Likewise.
17403 * iconvdata/ibm4517.h: Likewise.
17404 * iconvdata/ibm4899.h: Likewise.
17405 * iconvdata/ibm4909.h: Likewise.
17406 * iconvdata/ibm4971.h: Likewise.
17407 * iconvdata/ibm5347.h: Likewise.
17408 * iconvdata/ibm803.h: Likewise.
17409 * iconvdata/ibm856.h: Likewise.
17410 * iconvdata/ibm901.h: Likewise.
17411 * iconvdata/ibm902.h: Likewise.
17412 * iconvdata/ibm9030.h: Likewise.
17413 * iconvdata/ibm9066.h: Likewise.
17414 * iconvdata/ibm921.h: Likewise.
17415 * iconvdata/ibm922.h: Likewise.
17416 * iconvdata/ibm9448.h: Likewise.
17417 * iconvdata/isiri-3342.h: Likewise.
17418 * iconvdata/jis0201.h: Likewise.
17419 * include/link.h: Likewise.
17420 * include/netdb.h: Likewise.
17421 * inet/check_native.c: Likewise.
17422 * inet/check_pf.c: Likewise.
17423 * inet/getipv4sourcefilter.c: Likewise.
17424 * inet/getnameinfo.c: Likewise.
17425 * inet/getsourcefilter.c: Likewise.
17426 * inet/htonl.c: Likewise.
17427 * inet/setipv4sourcefilter.c: Likewise.
17428 * inet/setsourcefilter.c: Likewise.
17429 * inet/test-inet6_opt.c: Likewise.
17430 * inet/tst-network.c: Likewise.
17431 * locale/C-collate.c: Likewise.
17432 * locale/C-ctype.c: Likewise.
17433 * locale/C-time.c: Likewise.
17434 * locale/C-translit.h: Likewise.
17435 * locale/loadarchive.c: Likewise.
17436 * locale/programs/3level.h: Likewise.
17437 * locale/programs/charmap.c: Likewise.
17438 * locale/programs/charmap.h: Likewise.
17439 * locale/programs/ld-address.c: Likewise.
17440 * locale/programs/ld-collate.c: Likewise.
17441 * locale/programs/ld-ctype.c: Likewise.
17442 * locale/programs/ld-identification.c: Likewise.
17443 * locale/programs/ld-measurement.c: Likewise.
17444 * locale/programs/ld-messages.c: Likewise.
17445 * locale/programs/ld-monetary.c: Likewise.
17446 * locale/programs/ld-name.c: Likewise.
17447 * locale/programs/ld-numeric.c: Likewise.
17448 * locale/programs/ld-paper.c: Likewise.
17449 * locale/programs/ld-telephone.c: Likewise.
17450 * locale/programs/ld-time.c: Likewise.
17451 * locale/programs/linereader.c: Likewise.
17452 * locale/programs/locale.c: Likewise.
17453 * locale/programs/locarchive.c: Likewise.
17454 * locale/programs/locfile.h: Likewise.
17455 * locale/programs/repertoire.c: Likewise.
17456 * locale/programs/simple-hash.c: Likewise.
17457 * locale/programs/simple-hash.h: Likewise.
17458 * malloc/memusage.c: Likewise.
17459 * malloc/memusagestat.c: Likewise.
17460 * nis/nis_defaults.c: Likewise.
17461 * nis/nis_hash.c: Likewise.
17462 * nis/nis_print.c: Likewise.
17463 * nis/nis_xdr.c: Likewise.
17464 * nscd/connections.c: Likewise.
17465 * nscd/hstcache.c: Likewise.
17466 * nscd/nscd_gethst_r.c: Likewise.
17467 * nscd/nscd_getserv_r.c: Likewise.
17468 * nscd/nscd_helper.c: Likewise.
17469 * nscd/servicescache.c: Likewise.
17470 * nss/makedb.c: Likewise.
17471 * nss/nss_db/db-XXX.c: Likewise.
17472 * nss/nss_db/db-initgroups.c: Likewise.
17473 * nss/nss_db/db-netgrp.c: Likewise.
17474 * nss/nss_files/files-network.c: Likewise.
17475 * nss/nss_files/files-parse.c: Likewise.
17476 * posix/bug-regex5.c: Likewise.
17477 * posix/fnmatch_loop.c: Likewise.
17478 * posix/regcomp.c: Likewise.
17479 * posix/regexec.c: Likewise.
17480 * posix/tst-rfc3484-2.c: Likewise.
17481 * posix/tst-rfc3484-3.c: Likewise.
17482 * posix/tst-rfc3484.c: Likewise.
17483 * resolv/nss_dns/dns-canon.c: Likewise.
17484 * resolv/nss_dns/dns-network.c: Likewise.
17485 * resolv/res_init.c: Likewise.
17486 * resolv/res_mkquery.c: Likewise.
17487 * resolv/tst-aton.c: Likewise.
17488 * stdlib/cxa_atexit.c: Likewise.
17489 * stdlib/cxa_finalize.c: Likewise.
17490 * stdlib/gen-fpioconst.c: Likewise.
17491 * stdlib/strtol_l.c: Likewise.
17492 * string/tst-endian.c: Likewise.
17493 * sunrpc/auth_des.c: Likewise.
17494 * sunrpc/clnt_udp.c: Likewise.
17495 * sunrpc/rtime.c: Likewise.
17496 * sunrpc/svcauth_des.c: Likewise.
17497 * sunrpc/xdr.c: Likewise.
17498 * sunrpc/xdr_intXX_t.c: Likewise.
17499 * sunrpc/xdr_rec.c: Likewise.
17500 * sysdeps/generic/ldconfig.h: Likewise.
17501 * sysdeps/generic/ldsodefs.h: Likewise.
17502 * sysdeps/generic/memusage.h: Likewise.
17503 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17505 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17506 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17507 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17508 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17511 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17512 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17513 * sysdeps/posix/getaddrinfo.c: Likewise.
17514 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17515 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17516 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17517 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17518 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17519 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17520 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17521 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17522 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17523 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17524 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17525 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17526 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17527 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17528 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17529 * sysdeps/x86_64/dl-tls.h: Likewise.
17530 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17531 * time/alt_digit.c: Likewise.
17532 * time/era.c: Likewise.
17533 * wcsmbs/tst-c16c32-1.c: Likewise.
17535 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17537 * math/libm-test.inc (struct test_sincos_data): New type.
17538 (RUN_TEST_LOOP_sincos): New macro.
17539 (sincos_test_data): New variable.
17540 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17542 2013-05-16 Richard Henderson <rth@redhat.com>
17544 * math/atest-exp2.c (LIMB64): New macro.
17545 (CONSTSZ): New macro.
17546 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17548 (print_mpn_fp): ... to function scope.
17549 (read_mpn_hex): Remove.
17550 (get_log2): Remove.
17551 (exp2_mpn): Use mp_log2.
17552 (main): Use mp_exp1.
17554 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17556 * math/libm-test.inc: Remove comment about not testing "inexact"
17558 (INEXACT_EXCEPTION): New macro.
17559 (NO_INEXACT_EXCEPTION): Likewise.
17560 (INVALID_EXCEPTION_OK): Update value.
17561 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17562 (OVERFLOW_EXCEPTION_OK): Likewise.
17563 (UNDERFLOW_EXCEPTION_OK): Likewise.
17564 (IGNORE_ZERO_INF_SIGN): Likewise.
17565 (ERRNO_UNCHANGED): Likewise.
17566 (ERRNO_EDOM): Likewise.
17567 (ERRNO_ERANGE): Likewise.
17568 (test_exceptions): Handle testing "inexact" exceptions.
17569 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17570 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17571 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17572 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17574 (rint_towardzero_test_data): Likewise.
17575 (rint_downward_test_data): Likewise.
17576 (rint_upward_test_data): Likewise.
17578 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17579 with OVERFLOW_EXCEPTION.
17580 (exp10_test_data): Likewise.
17581 (exp2_test_data): Likewise.
17582 (expm1_test_data): Likewise.
17583 (lgamma_test_data): Likewise.
17584 (pow_test_data): Likewise.
17585 (tgamma_test_data): Likewise.
17586 (yn_test_data): Remove duplicate test of overflow.
17588 * math/libm-test.inc (struct test_cc_c_data): New type.
17589 (RUN_TEST_LOOP_cc_c): New macro.
17590 (cpow_test_data): New variable.
17591 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17593 * math/libm-test.inc (struct test_f_L_data): New type.
17594 (RUN_TEST_LOOP_f_L): New macro.
17595 (llrint_test_data): New variable.
17596 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17597 (llrint_tonearest_test_data): New variable.
17598 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17599 (llrint_towardzero_test_data): New variable.
17600 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17601 (llrint_downward_test_data): New variable.
17602 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17603 (llrint_upward_test_data): New variable.
17604 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17605 (llround_test_data): New variable.
17606 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17608 2013-05-13 Peter Collingbourne <pcc@google.com>
17610 * math/atest-exp2.c (get_log2): Remove const attribute.
17612 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17614 * math/libm-test.inc (struct test_f_l_data): New type.
17615 (RUN_TEST_LOOP_f_l): New macro.
17616 (lrint_test_data): New variable.
17617 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17618 (lrint_tonearest_test_data): New variable.
17619 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17620 (lrint_towardzero_test_data): New variable.
17621 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17622 (lrint_downward_test_data): New variable.
17623 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17624 (lrint_upward_test_data): New variable.
17625 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17626 (lround_test_data): New variable.
17627 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17629 2013-05-15 Peter Collingbourne <pcc@google.com>
17631 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17632 (EXTRACT_WORDS64) Use where appropriate.
17633 (INSERT_WORDS64) Likewise.
17635 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17636 constraints with x constraints.
17637 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17639 * malloc/obstack.c (_obstack_compat): Add initializer.
17641 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17643 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17644 si_trapno and add si_addr_lsb to _sifields.sigfault.
17645 (si_trapno): Remove macro.
17646 (si_addr_lsb): Define new macro.
17647 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17649 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17651 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17652 instead of TEST_f_l.
17653 (llrint_test_tonearest): Likewise.
17654 (llrint_test_towardzero): Likewise.
17655 (llrint_test_downward): Likewise.
17656 (llrint_test_upward): Likewise.
17657 (llround_test): Likewise.
17659 * math/libm-test.inc (struct test_f_i_data): Add comment.
17660 (RUN_TEST_LOOP_f_b): New macro.
17661 (RUN_TEST_LOOP_f_b_tg): Likewise.
17662 (finite_test_data): New variable.
17663 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17664 (isfinite_test_data): New variable.
17665 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17666 (isinf_test_data): New variable.
17667 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17668 (isnan_test_data): New variable.
17669 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17670 (isnormal_test_data): New variable.
17671 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17672 (issignaling_test_data): New variable.
17673 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17674 (signbit_test_data): New variable.
17675 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17677 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17678 with INVALID_EXCEPTION.
17679 (acosh_test_data): Likewise.
17680 (asin_test_data): Likewise.
17681 (atanh_test_data): Likewise.
17682 (fmod_test_data): Likewise.
17683 (log_test_data): Likewise.
17684 (log10_test_data): Likewise.
17685 (log2_test_data): Likewise.
17686 (pow_test_data): Likewise.
17687 (sqrt_test_data): Likewise.
17688 (y0_test_data): Likewise.
17689 (y1_test_data): Likewise.
17690 (yn_test_data): Likewise.
17692 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17695 * math/libm-test.inc (struct test_ff_i_data): New type.
17696 (RUN_TEST_LOOP_ff_i_tg): New macro.
17697 (isgreater_test_data): New variable.
17698 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17699 (isgreaterequal_test_data): New variable.
17700 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17701 (isless_test_data): New variable.
17702 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17703 (islessequal_test_data): New variable.
17704 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17705 (islessgreater_test_data): New variable.
17706 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17707 (isunordered_test_data): New variable.
17708 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17710 2013-05-14 David S. Miller <davem@davemloft.net>
17712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17714 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17716 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17718 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17720 (struct test_f_i_data): Change type of max_ulp to int.
17722 * math/libm-test.inc (test_ffI_f1_data): New type.
17723 (RUN_TEST_LOOP_ffI_f1): New macro.
17724 (remquo_test_data): New variable.
17725 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17727 * setjmp/tst-setjmp-fp.c: New file.
17728 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17729 (link-libm): New variable.
17730 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17732 * math/libm-test.inc (struct test_f_i_data): New type.
17733 (RUN_TEST_LOOP_f_i): New macro.
17734 (RUN_TEST_LOOP_f_i_tg): Likewise.
17735 (fpclassify_test_data): New variable.
17736 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17737 (ilogb_test_data): New variable.
17738 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17740 * math/libm-test.inc (scalbln_test): Correct function name in END
17743 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17744 (RUN_TEST_LOOP_fI_f1): New macro.
17745 (frexp_test_data): New variable.
17746 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17748 * math/libm-test.inc (struct test_fF_f1_data): New type.
17749 (RUN_TEST_LOOP_fF_f1): New macro.
17750 (modf_test_data): New variable.
17751 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17753 * math/libm-test.inc (struct test_f_f1_data): New type.
17754 (RUN_TEST_LOOP_f_f1): New macro.
17755 (gamma_test_data): New variable.
17756 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17757 (lgamma_test_data): New variable.
17758 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17760 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17762 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17763 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17764 (main): Comment "tls" pseudo-hwcap.
17766 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17768 * math/libm-test.inc (struct test_fl_f_data): New type.
17769 (RUN_TEST_LOOP_fl_f): New variable.
17770 (scalbln_test_data): New variable.
17771 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17773 * math/libm-test.inc (struct test_fi_f_data): New type.
17774 (RUN_TEST_LOOP_fi_f): New macro.
17775 (ldexp_test_data): New variable.
17776 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17777 (scalbn_test_data): New variable.
17778 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17780 * math/libm-test.inc (struct test_c_f_data): New type.
17781 (RUN_TEST_LOOP_c_f): New macro.
17782 (cabs_test_data): New variable.
17783 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17784 (carg_test_data): New variable.
17785 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17786 (cimag_test_data): New variable.
17787 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17788 (creal_test_data): New variable.
17789 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17791 * math/libm-test.inc (struct test_if_f_data): New type.
17792 (RUN_TEST_LOOP_if_f): New macro.
17793 (jn_test_data): New variable.
17794 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17795 (yn_test_data): New variable.
17796 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17798 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17800 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17802 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17803 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17805 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17807 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17808 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17809 (bench-deps): Add bench-timing.h.
17810 * benchtests-bench-skeleton.c: Include bench-timing.h.
17811 (main): Use TIMING_* macros instead of clock_gettime.
17812 * benchtests/bench-timing.h: New file.
17815 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17816 Renamed from _LIB_VERSION.
17817 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17819 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17821 * math/libm-test.inc (struct test_fff_f_data): New type.
17822 (RUN_TEST_LOOP_fff_f): New macro.
17823 (fma_test_data): New variable.
17824 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17825 (fma_towardzero_test_data): New variable.
17826 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17827 (fma_downward_test_data): New variable.
17828 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17829 (fma_upward_test_data): New variable.
17830 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17832 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17833 (struct test_c_c_data): New type.
17834 (RUN_TEST_LOOP_c_c): New macro.
17835 (cacos_test_data): New variable.
17836 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17837 (cacosh_test_data): New variable.
17838 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17839 (casin_test_data): New variable.
17840 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17841 (casinh_test_data): New variable.
17842 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17843 (catan_test_data): New variable.
17844 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17845 (catanh_test_data): New variable.
17846 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17847 (ccos_test_data): New variable.
17848 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17849 (ccosh_test_data): New variable.
17850 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17851 (cexp_test_data): New variable.
17852 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17853 (clog_test_data): New variable.
17854 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17855 (clog10_test_data): New variable.
17856 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17857 (conj_test_data): New variable.
17858 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17859 (cproj_test_data): New variable.
17860 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17861 (csin_test_data): New variable.
17862 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17863 (csinh_test_data): New variable.
17864 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17865 (csqrt_test_data): New variable.
17866 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17867 (ctan_test_data): New variable.
17868 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17869 (ctan_tonearest_test_data): New variable.
17870 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17871 (ctan_towardzero_test_data): New variable.
17872 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17873 (ctan_downward_test_data): New variable.
17874 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17875 (ctan_upward_test_data): New variable.
17876 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17877 (ctanh_test_data): New variable.
17878 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17879 (ctanh_tonearest_test_data): New variable.
17880 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17881 (ctanh_towardzero_test_data): New variable.
17882 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17883 (ctanh_downward_test_data): New variable.
17884 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17885 (ctanh_upward_test_data): New variable.
17886 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17887 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17890 * math/libm-test.inc (struct test_ff_f_data): New type.
17891 (struct test_ff_f_data_nexttoward): Likewise.
17892 (RUN_TEST_LOOP_2_f): New macro.
17893 (RUN_TEST_LOOP_ff_f): Likewise.
17894 (atan2_test_data): New variable.
17895 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17896 (copysign_test_data): New variable.
17897 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17898 (fdim_test_data): New variable.
17899 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17900 (fmax_test_data): New variable.
17901 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17902 (fmin_test_data): New variable.
17903 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17904 (fmod_test_data): New variable.
17905 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17906 (hypot_test_data): New variable.
17907 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17908 (nextafter_test_data): New variable.
17909 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17910 (nexttoward_test_data): New variable.
17911 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17912 (pow_test_data): New variable.
17913 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17914 (pow_tonearest_test_data): New variable.
17915 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17916 (pow_towardzero_test_data): New variable.
17917 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17918 (pow_downward_test_data): New variable.
17919 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17920 (pow_upward_test_data): New variable.
17921 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17922 (remainder_test_data): New variable.
17923 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17924 (scalb_test_data): New variable.
17925 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17926 * sysdeps/i386/fpu/libm-test-ulps: Update.
17928 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17930 * math/libm-test.inc (fma_test): Use max_value instead of local
17932 (nextafter_test): Likewise.
17934 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17935 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17936 (acos_downward_test_data): New variable.
17937 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17938 (acos_upward_test_data): New variable.
17939 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17940 (acosh_test_data): New variable.
17941 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17942 (asin_test_data): New variable.
17943 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17944 (asin_tonearest_test_data): New variable.
17945 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17946 (asin_towardzero_test_data): New variable.
17947 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17948 (asin_downward_test_data): New variable.
17949 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17950 (asin_upward_test_data): New variable.
17951 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17952 (asinh_test_data): New variable.
17953 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17954 (atan_test_data): New variable.
17955 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17956 (atanh_test_data): New variable.
17957 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17958 (cbrt_test_data): New variable.
17959 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17960 (ceil_test_data): New variable.
17961 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17962 (cos_test_data): New variable.
17963 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17964 (cos_tonearest_test_data): New variable.
17965 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17966 (cos_towardzero_test_data): New variable.
17967 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17968 (cos_downward_test_data): New variable.
17969 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17970 (cos_upward_test_data): New variable.
17971 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17972 (cosh_test_data): New variable.
17973 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17974 (cosh_tonearest_test_data): New variable.
17975 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17976 (cosh_towardzero_test_data): New variable.
17977 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17978 (cosh_downward_test_data): New variable.
17979 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17980 (cosh_upward_test_data): New variable.
17981 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17982 (erf_test_data): New variable.
17983 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17984 (erfc_test_data): New variable.
17985 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17986 (exp_test_data): New variable.
17987 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17988 (exp_tonearest_test_data): New variable.
17989 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17990 (exp_towardzero_test_data): New variable.
17991 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17992 (exp_downward_test_data): New variable.
17993 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17994 (exp_upward_test_data): New variable.
17995 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17996 (exp10_test_data): New variable.
17997 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17998 (exp2_test_data): New variable.
17999 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18000 (expm1_test_data): New variable.
18001 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18002 (fabs_test_data): New variable.
18003 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18004 (floor_test_data): New variable.
18005 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18006 (j0_test_data): New variable.
18007 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18008 (j1_test_data): New variable.
18009 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18010 (log_test_data): New variable.
18011 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18012 (log10_test_data): New variable.
18013 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18014 (log1p_test_data): New variable.
18015 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18016 (log2_test_data): New variable.
18017 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18018 (logb_test_data): New variable.
18019 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18020 (logb_downward_test_data): New variable.
18021 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18022 (nearbyint_test_data): New variable.
18023 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18024 (rint_test_data): New variable.
18025 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18026 (rint_tonearest_test_data): New variable.
18027 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18028 (rint_towardzero_test_data): New variable.
18029 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18030 (rint_downward_test_data): New variable.
18031 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18032 (rint_upward_test_data): New variable.
18033 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18034 (round_test_data): New variable.
18035 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18036 (sin_test_data): New variable.
18037 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18038 (sin_tonearest_test_data): New variable.
18039 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18040 (sin_towardzero_test_data): New variable.
18041 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18042 (sin_downward_test_data): New variable.
18043 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18044 (sin_upward_test_data): New variable.
18045 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18046 (sinh_test_data): New variable.
18047 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18048 (sinh_tonearest_test_data): New variable.
18049 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18050 (sinh_towardzero_test_data): New variable.
18051 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18052 (sinh_downward_test_data): New variable.
18053 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18054 (sinh_upward_test_data): New variable.
18055 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18056 (sqrt_test_data): New variable.
18057 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18058 (tan_test_data): New variable.
18059 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18060 (tan_tonearest_test_data): New variable.
18061 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18062 (tan_towardzero_test_data): New variable.
18063 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18064 (tan_downward_test_data): New variable.
18065 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18066 (tan_upward_test_data): New variable.
18067 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18068 (tanh_test_data): New variable.
18069 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18070 (tgamma_test_data): New variable.
18071 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18072 (trunc_test_data): New variable.
18073 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18074 (y0_test_data): New variable.
18075 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18076 (y1_test_data): New variable.
18077 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18078 (significand_test_data): New variable.
18079 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18081 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18084 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18086 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18088 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18090 2013-05-10 Andreas Jaeger <aj@suse.de>
18093 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18094 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18096 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18098 * math/gen-libm-test.pl (adjust_arg): New function.
18099 (special_functions): Handle generating output in both functions
18101 (parse_args): Likewise.
18102 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18103 $in_func argument to parse_args.
18104 * math/libm-test.inc (struct test_f_f_data): New type.
18105 (IF_ROUND_INIT_): New macro.
18106 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18107 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18108 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18109 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18110 (ROUND_RESTORE_): Likewise.
18111 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18112 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18113 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18114 (ROUND_RESTORE_FE_UPWARD): Likewise.
18115 (RUN_TEST_LOOP_f_f): New macro.
18116 (acos_test_data): New variable.
18117 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18118 (acos_tonearest_test_data): New variable.
18119 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18121 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18123 * benchtests/bench-skeleton.c (startup): Fix coding style.
18125 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18128 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18129 negative infinity argument.
18130 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18131 negative infinity argument.
18132 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18133 negative infinity argument.
18134 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18137 2013-05-10 Florian Weimer <fweimer@redhat.com>
18139 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18140 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18141 * iconv/iconv_prog.c (main): Likewise.
18142 * locale/programs/charmap-dir.c (charmap_readdir)
18143 (fopen_uncompressed): Likewise.
18144 * locale/programs/locfile.c (siblings_uncached)
18145 (write_locale_data): Use lstat64 instead of lstat.
18146 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18149 2013-05-10 Andreas Jaeger <aj@suse.de>
18152 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18154 Include <locale.h>.
18156 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18158 * elf/dl-close.c (_dl_close_worker): Add comments.
18160 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18163 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18165 (__ieee754_rem_pio2l): Update comments.
18168 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18170 (__ieee754_rem_pio2l): Update comments.
18172 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18173 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18175 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18178 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18179 (M_PI_34_LOG10El): Likewise.
18180 (M_PI2_LOG10El): Likewise.
18181 (M_PI4_LOG10El): Likewise.
18182 (M_PI_LOG10El): Likewise.
18184 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18188 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18190 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18191 (MINUS_ZERO_INIT): Likewise.
18192 (PLUS_INFTY_INIT): Likewise.
18193 (MINUS_INFTY_INIT): Likewise.
18194 (QNAN_VALUE_INIT): Likewise.
18195 (MAX_VALUE_INIT): Likewise.
18196 (MIN_VALUE_INIT): Likewise.
18197 (MIN_SUBNORM_VALUE_INIT): Likewise.
18198 (plus_zero): Initialize with PLUS_ZERO_INIT.
18199 (minus_zero): Initialize with MINUS_ZERO_INIT.
18200 (plus_infty): Initialize with PLUS_INFTY_INIT.
18201 (minus_infty): Initialize with MINUS_INFTY_INIT.
18202 (qnan_value): Initialize with QNAN_VALUE_INIT.
18203 (max_value): Initialize with MAX_VALUE_INIT.
18204 (min_value): Initialize with MIN_VALUE_INIT.
18205 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18207 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18208 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18209 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18210 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18212 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18213 (RUN_TEST_2_f): Likewise.
18214 (RUN_TEST_ff_f): Likewise.
18215 (RUN_TEST_fi_f): Likewise.
18216 (RUN_TEST_fl_f): Likewise.
18217 (RUN_TEST_fff_f): Likewise.
18218 (RUN_TEST_c_f): Likewise.
18219 (RUN_TEST_f_f1): Likewise.
18220 (RUN_TEST_fF_f1): Likewise.
18221 (RUN_TEST_fI_f1): Likewise.
18222 (RUN_TEST_ffI_f1): Likewise.
18223 (RUN_TEST_c_c): Likewise.
18224 (RUN_TEST_cc_c): Likewise.
18225 (RUN_TEST_f_i): Likewise.
18226 (RUN_TEST_f_i_tg): Likewise.
18227 (RUN_TEST_ff_i_tg): Likewise.
18228 (RUN_TEST_f_b): Likewise.
18229 (RUN_TEST_f_b_tg): Likewise.
18230 (RUN_TEST_f_l): Likewise.
18231 (RUN_TEST_f_L): Likewise.
18232 (RUN_TEST_sincos): Likewise.
18233 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18234 whether to show exceptions. Do not include ");\n" in return
18236 (special_functions): Output call to RUN_TEST_sincos instead of
18237 check_float calls. Update calls to new_test.
18238 (parse_args): Output call to single RUN_TEST_* macro instead of
18239 check_* calls and other assignments. Update calls to new_test.
18245 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18246 input to result for tgamma overflow.
18247 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18248 (gamma_coeff): New variable.
18249 (NCOEFF): New macro.
18250 (gamma_positive): New function.
18251 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18252 underflow here. Use gamma_positive instead of exp (lgamma) for
18254 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18255 (gamma_coeff): New variable.
18256 (NCOEFF): New macro.
18257 (gammaf_positive): New function.
18258 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18259 underflow here. Use gamma_positive instead of exp (lgamma) for
18261 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18262 (gamma_coeff): New variable.
18263 (NCOEFF): New macro.
18264 (gammal_positive): New function.
18265 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18266 underflow here. Use gamma_positive instead of exp (lgamma) for
18268 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18269 (gamma_coeff): New variable.
18270 (NCOEFF): New macro.
18271 (gammal_positive): New function.
18272 (__ieee754_gammal_r): Handle positive infinity, overflow and
18273 underflow here. Handle NaN the same as positive infinity. Remove
18274 check x < 0xffffffff for negative integers. Use gamma_positive
18275 instead of exp (lgamma) for other arguments.
18276 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18277 (gamma_coeff): New variable.
18278 (NCOEFF): New macro.
18279 (gammal_positive): New function.
18280 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18281 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18285 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18286 * sysdeps/generic/math_private.h (__gamma_productf): New
18288 (__gamma_product): Likewise.
18289 (__gamma_productl): Likewise.
18290 * math/Makefile (libm-calls): Add gamma_product.
18291 * math/libm-test.inc (tgamma_test): Add more tests.
18292 * sysdeps/i386/fpu/libm-test-ulps: Update.
18293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18295 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18297 * benchtests/bench-skeleton.c (main): Preheat CPU.
18299 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18301 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18303 2013-05-07 Roland McGrath <roland@hack.frob.com>
18305 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18306 and _dl_skip_args_internal.
18308 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18310 * manual/message.texi (Message Translation): Talk about users.
18311 Message to key mapping impacts design.
18313 2013-05-06 Roland McGrath <roland@hack.frob.com>
18315 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18317 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18319 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18320 * sysdeps/wordsize-64/glob64.c: ... here.
18322 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18323 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18326 * debug/getlogin_r_chk.c: Moved to ...
18327 * login/getlogin_r_chk.c: ... here.
18328 * debug/Makefile (routines): Move getlogin_r_chk to ...
18329 * login/Makefile (routines): ... here.
18330 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18331 * login/Versions (libc: GLIBC_2.4): ... here.
18333 * io/poll.c (__poll): Renamed from poll.
18334 Add libc_hidden_def.
18335 (poll): Define as weak alias.
18337 * debug/ptsname_r_chk.c: Moved to ...
18338 * login/ptsname_r_chk.c: ... here.
18339 * debug/Makefile (routines): Move ptsname_r_chk to ...
18340 * login/Makefile (routines): ... here.
18341 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18342 * login/Versions (libc: GLIBC_2.4): ... here.
18344 * posix/getlogin.c: Moved to ...
18345 * login/getlogin.c: ... here.
18346 * posix/getlogin_r.c: Moved to ...
18347 * login/getlogin_r.c: ... here.
18348 * posix/getlogin_r.c: Moved to ...
18349 * login/getlogin_r.c: ... here.
18350 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18351 * login/Makefile (routines): ... here.
18352 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18353 * login/Versions (libc: GLIBC_2.0): ... here.
18355 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18356 (setrlimit): Define as weak alias.
18358 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18359 Call __ names for open, ftruncate, and close.
18360 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18361 (truncate): Define as weak alias.
18363 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18365 * math/gen-libm-test.pl (parse_args): Initialize x before each
18366 test of frexp, modf and remquo.
18368 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18369 test signgam value.
18371 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18375 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18377 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18379 2013-05-06 Roland McGrath <roland@hack.frob.com>
18381 * elf/dl-writev.h: New file.
18382 * elf/dl-misc.c: Include it.
18383 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18384 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18386 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18388 * math/libm-test.inc (noXFails): Remove variable.
18389 (noXPasses): Likewise.
18390 (BUILD_COMPLEX_INT): Remove macro.
18391 (print_screen): Remove xfail argument.
18392 (print_screen_max_error): Likewise.
18393 (update_stats): Likewise.
18394 (print_max_error): Likewise. Update calls to other affected
18396 (print_complex_max_error): Likewise.
18397 (test_single_exception): Update calls to print_screen.
18398 (test_single_errno): Likewise.
18399 (check_float_internal): Remove xfail argument. Update calls to
18400 other affected functions.
18401 (check_float): Likewise.
18402 (check_complex): Likewise.
18403 (check_int): Likewise.
18404 (check_long): Likewise.
18405 (check_bool): Likewise.
18406 (check_longlong): Likewise.
18407 (main): Don't print noXFails and noXPasses.
18408 * math/gen-libm-test.pl (top level): Don't mention expected
18409 failure handling in comment.
18410 (new_test): Don't handle expected failures.
18411 (parse_args): Don't mention expected failure handling in comment.
18412 (generate_testfile): Don't handle expected failures.
18413 (parse_ulps): Likewise.
18414 (print_ulps_file): Likewise.
18415 (get_failure): Remove function.
18416 (output_test): Don't handle expected failures.
18417 * make/README.libm-test: Don't mention expected failure handling.
18419 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18420 (minus_zero): Likewise.
18421 (plus_infty): Likewise.
18422 (minus_infty): Likewise.
18423 (qnan_value): Likewise.
18424 (max_value): Likewise.
18425 (min_value): Likewise.
18426 (min_subnorm_value): Likewise.
18427 (initialize): Do not initialize those variables dynamically.
18429 2013-05-03 Roland McGrath <roland@hack.frob.com>
18431 * io/open.c (__open_2): Moved to ...
18432 * io/open_2.c: ... this new file.
18433 * io/open64.c (__open64_2): Moved to ...
18434 * io/open64_2.c: ... this new file.
18435 * io/openat.c (__openat_2): Moved to ...
18436 * io/openat_2.c: ... this new file.
18437 * io/openat64.c (__openat64_2): Moved to ...
18438 * io/openat64_2.c: ... this new file.
18439 * io/Makefile (routines): Add them.
18440 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18441 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18442 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18443 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18444 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18445 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18446 (__openat64): Add hidden_ver.
18447 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18448 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18450 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18451 Separately conditionalize setting of GLRO(dl_sysinfo) so
18452 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18453 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18455 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18457 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18458 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18460 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18461 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18462 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18463 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18464 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18466 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18468 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18469 test signgam value.
18471 * math/libm-test.inc (hypot_test): Do not use
18472 IGNORE_ZERO_INF_SIGN.
18474 2013-05-03 Andreas Jaeger <aj@suse.de>
18476 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18478 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18479 (PF_MAX): Adjust for VSOCK change.
18481 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18485 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18488 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18489 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18490 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18492 2013-05-02 David S. Miller <davem@davemloft.net>
18494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18496 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18498 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18500 2013-05-01 Roland McGrath <roland@hack.frob.com>
18502 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18504 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18507 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18508 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18509 Use __attribute__ ((__gnu_inline__)).
18510 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18511 Don't use __attribute__ ((__gnu_inline__)).
18513 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18516 * math/s_catan.c (__catan): Handle small real or imaginary part of
18517 input specially to avoid spurious underflow.
18518 * math/s_catanf.c (__catanf): Likewise.
18519 * math/s_catanh.c (__catanh): Likewise.
18520 * math/s_catanhf.c (__catanhf): Likewise.
18521 * math/s_catanhl.c (__catanhl): Likewise.
18522 * math/s_catanl.c (__catanl): Likewise.
18523 * math/libm-test.inc (catan_test): Add more tests.
18524 (catanh_test): Likewise.
18525 * sysdeps/i386/fpu/libm-test-ulps: Update.
18526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18528 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18532 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18535 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18536 accurately for denominator in atan2.
18537 * math/s_catanf.c (__catanf): Likewise.
18538 * math/s_catanh.c (__catanh): Likewise.
18539 * math/s_catanhf.c (__catanhf): Likewise.
18540 * math/s_catanhl.c (__catanhl): Likewise.
18541 * math/s_catanl.c (__catanl): Likewise.
18542 * math/libm-test.inc (catan_test): Add more tests.
18543 (catanh_test): Likewise.
18544 * sysdeps/i386/fpu/libm-test-ulps: Update.
18545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18547 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18549 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18551 * benchtests/Makefile (bench): Remove slow benchmarks.
18552 * benchtests/atan-inputs: Add slow benchmark inputs.
18553 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18554 (BENCH_FUNC): Accept variant offset.
18556 * benchtests/bench-skeleton.c (main): Run benchmark for each
18558 * benchtests/cos-inputs: Add slow benchmark inputs.
18559 * benchtests/exp-inputs: Likewise.
18560 * benchtests/pow-inputs: Likewise.
18561 * benchtests/sin-inputs: Likewise.
18562 * benchtests/slowatan-inputs: Remove.
18563 * benchtests/slowatan.c: Remove.
18564 * benchtests/slowcos-inputs: Remove.
18565 * benchtests/slowcos.c: Remove.
18566 * benchtests/slowexp-inputs: Remove.
18567 * benchtests/slowexp.c: Remove.
18568 * benchtests/slowpow-inputs: Remove.
18569 * benchtests/slowpow.c: Remove.
18570 * benchtests/slowsin-inputs: Remove.
18571 * benchtests/slowsin.c: Remove.
18572 * benchtests/slowtan-inputs: Remove.
18573 * benchtests/slowtan.c: Remove.
18574 * benchtests/tan-inputs: Add slow benchmark inputs.
18575 * scripts/bench.pl: Parse comments and directives.
18577 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18579 ($(objpfx)bench-%.c): Remove *-ITER.
18580 * benchtests/bench-modf.c: Remove definition of ITER.
18581 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18582 (main): Loop for DURATION seconds instead of fixed number of
18584 * scripts/bench.pl: Don't expect iterations in parameters.
18586 2013-04-29 Roland McGrath <roland@hack.frob.com>
18588 * io/fchdir.c (__fchdir): Renamed from fchdir.
18589 (fchdir): Define as weak alias.
18591 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18593 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18594 (ERRNO_EDOM): Likewise.
18595 (ERRNO_ERANGE): Likewise.
18596 (noErrnoTests): New variable.
18597 (init_max_error): Set errno to 0.
18598 (test_single_errno): New function.
18599 (test_errno): Likewise.
18600 (check_float_internal): Call test_errno. Set errno to 0.
18601 (check_complex): Refer to errno tests in comment.
18602 (check_int): Call test_errno. Set errno to 0.
18603 (check_long): Likewise.
18604 (check_bool): Likewise.
18605 (check_longlong): Likewise.
18606 (cos_test): Use ERRNO_* flags for errno tests instead of
18608 (expm1_test): Likewise.
18609 (fmod_test): Likewise.
18610 (ilogb_test): Likewise.
18611 (lgamma_test): Likewise.
18612 (pow_test): Likewise.
18613 (remainder_test): Likewise.
18614 (sin_test): Likewise.
18615 (tan_test): Likewise.
18616 (yn_test): Likewise.
18617 (initialize): Set errno to 0.
18618 (main): Print number of errno tests.
18619 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18621 2013-04-29 Andreas Jaeger <aj@suse.de>
18624 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18628 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18629 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18633 * stdlib/random.c (__initstate): Return NULL if
18637 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18638 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18641 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18645 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18647 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18648 of individual tests.
18649 (casin_test): Likewise.
18650 (casinh_test): Likewise.
18652 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18655 * math/s_catan.c (__catan): Handle arguments with large real or
18656 imaginary part separately without squaring.
18657 * math/s_catanf.c (__catanf): Likewise.
18658 * math/s_catanh.c (__catanh): Likewise.
18659 * math/s_catanhf.c (__catanhf): Likewise.
18660 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18662 (__catanhl): Handle arguments with large real or imaginary part
18663 separately without squaring.
18664 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18666 (__catanl): Handle arguments with large real or imaginary part
18667 separately without squaring.
18668 * math/libm-test.inc (catan_test): Add more tests.
18669 (catanh_test): Likewise.
18670 * sysdeps/i386/fpu/libm-test-ulps: Update.
18671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18673 2013-04-27 Andreas Jaeger <aj@suse.de>
18676 * stdlib/stdlib.h: Update guards for qecvt.
18677 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18680 2013-04-27 Allan McRae <allan@archlinux.org>
18682 * sysdeps/i386/fpu/libm-test-ulps: Update.
18684 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18687 * math/s_catan.c: Include <float.h>.
18688 (__catan): Ensure underflow exception occurs for underflowed
18690 * math/s_catanf.c: Include <float.h>.
18691 (__catanf): Ensure underflow exception occurs for underflowed
18693 * math/s_catanh.c: Include <float.h>.
18694 (__catanh): Ensure underflow exception occurs for underflowed
18696 * math/s_catanhf.c: Include <float.h>.
18697 (__catanhf): Ensure underflow exception occurs for underflowed
18699 * math/s_catanhl.c: Include <float.h>.
18700 (__catanhl): Ensure underflow exception occurs for underflowed
18702 * math/s_catanl.c: Include <float.h>.
18703 (__catanl): Ensure underflow exception occurs for underflowed
18705 * math/libm-test.inc (catan_test): Add more tests.
18706 (catanh_test): Likewise.
18709 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18710 underflowed result.
18711 * math/s_ccoshf.c (__ccoshf): Likewise.
18712 * math/s_ccoshl.c (__ccoshl): Likewise.
18713 * math/s_csin.c (__csin): Likewise.
18714 * math/s_csinf.c (__csinf): Likewise.
18715 * math/s_csinh.c (__csinh): Likewise.
18716 * math/s_csinhf.c (__csinhf): Likewise.
18717 * math/s_csinhl.c (__csinhl): Likewise.
18718 * math/s_csinl.c (__csinl): Likewise.
18719 * math/libm-test.inc (ccos_test): Add more tests.
18720 (ccosh_test): Likewise.
18721 (csin_test): Likewise.
18722 (csinh_test): Likewise.
18724 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18726 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18727 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18728 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18729 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18730 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18731 powerpc/power5+/fpu folders.
18732 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18735 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18739 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18741 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18742 additions to variable.
18743 [$(config-machine) = x86_64] (modules-names): Likewise.
18744 ($(objpfx)tst-audit3): Remove dependency.
18745 ($(objpfx)tst-audit3.out): Likewise.
18746 ($(objpfx)tst-audit4): Likewise.
18747 ($(objpfx)tst-audit4.out): Likewise.
18748 ($(objpfx)tst-audit5): Likewise.
18749 ($(objpfx)tst-audit5.out): Likewise.
18750 ($(objpfx)tst-audit6): Likewise.
18751 ($(objpfx)tst-audit6.out): Likewise.
18752 ($(objpfx)tst-audit7): Likewise.
18753 ($(objpfx)tst-audit7.out): Likewise.
18754 (tst-audit3-ENV): Remove variable.
18755 (tst-audit4-ENV): Likewise.
18756 (tst-audit5-ENV): Likewise.
18757 (tst-audit6-ENV): Likewise.
18758 (tst-audit7-ENV): Likewise.
18759 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18760 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18761 addition to variable.
18762 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18763 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18764 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18765 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18766 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18767 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18768 tst-audit3, tst-audit4 and tst-audit5.
18769 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18770 tst-audit6 and tst-audit7.
18771 [$(subdir) = elf] (modules-names): Add audit modules for those
18773 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18774 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18775 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18776 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18777 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18778 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18779 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18780 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18781 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18782 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18783 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18784 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18785 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18786 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18787 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18788 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18790 [$(subdir) = elf && $(config-cflags-avx) = yes]
18791 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18792 [$(subdir) = elf && $(config-cflags-avx) = yes]
18793 (CFLAGS-tst-auditmod4a.c): Likewise.
18794 [$(subdir) = elf && $(config-cflags-avx) = yes]
18795 (CFLAGS-tst-auditmod4b.c): Likewise.
18796 [$(subdir) = elf && $(config-cflags-avx) = yes]
18797 (CFLAGS-tst-auditmod6b.c): Likewise.
18798 [$(subdir) = elf && $(config-cflags-avx) = yes]
18799 (CFLAGS-tst-auditmod6c.c): Likewise.
18800 [$(subdir) = elf && $(config-cflags-avx) = yes]
18801 (CFLAGS-tst-auditmod7b.c): Likewise.
18802 * elf/tst-audit3.c: Move to ...
18803 * sysdeps/x86_64/tst-audit3.c: ... here.
18804 * elf/tst-audit4.c: Move to ...
18805 * sysdeps/x86_64/tst-audit4.c: ... here.
18806 * elf/tst-audit5.c: Move to ...
18807 * sysdeps/x86_64/tst-audit5.c: ... here.
18808 * elf/tst-audit6.c: Move to ...
18809 * sysdeps/x86_64/tst-audit6.c: ... here.
18810 * elf/tst-audit7.c: Move to ...
18811 * sysdeps/x86_64/tst-audit7.c: ... here.
18812 * elf/tst-auditmod3a.c: Move to ...
18813 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18814 * elf/tst-auditmod3b.c: Move to ...
18815 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18816 * elf/tst-auditmod4a.c: Move to ...
18817 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18818 * elf/tst-auditmod4b.c: Move to ...
18819 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18820 * elf/tst-auditmod5a.c: Move to ...
18821 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18822 * elf/tst-auditmod5b.c: Move to ...
18823 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18824 * elf/tst-auditmod6a.c: Move to ...
18825 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18826 * elf/tst-auditmod6b.c: Move to ...
18827 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18828 * elf/tst-auditmod6c.c: Move to ...
18829 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18830 * elf/tst-auditmod7a.c: Move to ...
18831 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18832 * elf/tst-auditmod7b.c: Move to ...
18833 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18835 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18838 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18839 define unconditionally.
18840 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18841 define unconditionally.
18842 (INT8_C, INT16_C, etc.): Likewise.
18844 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18846 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18847 __ehdr_start with hidden visibility.
18849 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18851 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18853 * math/libm-test.inc (cos_test): Use accurate hex constants.
18854 (sincost_test): Likewise.
18856 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18858 * math/libm-test.inc (catan_test): Add more tests.
18859 (catanh_test): Likewise.
18861 * math/s_catanf.c (__catanf): Use suffixed floating-point
18863 * math/s_catanhf.c (__catanhf): Likewise.
18864 * math/s_catanhl.c (__catanhl): Likewise.
18865 * math/s_catanl.c (__catanl): Likewise.
18868 * math/s_catan.c (__catan): Calculate imaginary part of result
18869 with log1p not log unless computing log of number close to 0.
18870 * math/s_catanf.c (__catanf): Likewise.
18871 * math/s_catanl.c (__catanl): Likewise.
18872 * math/s_catanh.c (__catanh): Calculate real part of result with
18873 log1p not log unless computing log of number close to 0.
18874 * math/s_catanhf.c (__catanhf): Likewise.
18875 * math/s_catanhl.c (__catanhl): Likewise.
18876 * math/libm-test.inc (catan_test): Add more tests.
18877 (catanh_test): Likewise.
18878 * sysdeps/i386/fpu/libm-test-ulps: Update.
18879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18881 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18883 * benchtests/Makefile: Mention files in which fast and slow
18884 paths of math functions are implemented.
18886 2013-04-23 Roland McGrath <roland@hack.frob.com>
18888 * sysdeps/posix/timespec_get.c: New file.
18890 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18892 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18894 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18896 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18897 powerpc/power5/fpu folders.
18898 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18899 * benchtests/Makefile: Add modf testcase.
18900 * benchtests/bench-modf.c: New file: Benchmark test for mo
18902 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18905 * time/Makefile (tests): Add tst-strptime-whitespace.
18906 * time/strptime_l.c (get_number): Use ISSPACE.
18907 (__strptime_internal): Likewise.
18908 * time/tst-strptime-whitespace.c: New test case.
18910 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18912 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18914 (_nss_files_init): Set it here.
18916 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18918 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18919 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18922 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18924 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18926 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18928 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18931 2013-04-21 David S. Miller <davem@davemloft.net>
18933 * po/ru.po: Update Russion translation from translation project.
18935 2013-04-17 Adam Conrad <adconrad@0c3.net>
18937 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18940 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18942 * configure.in: Remove i386 configure warning. Remove i386 case.
18943 * configure: Regenerate.
18944 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18945 Add example to error message.
18946 * sysdeps/i386/configure: Regenerate.
18948 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18950 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18952 * benchtests/cos-inputs: New file.
18953 * benchtests/slowcos-inputs: New file.
18954 * benchtests/slowcos.c: New file.
18955 * benchtests/slowtan-inputs: New file.
18956 * benchtests/slowtan.c: New file.
18957 * benchtests/tan-inputs: New file.
18959 2013-04-16 Roland McGrath <roland@hack.frob.com>
18961 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18964 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18966 * benchtests/Makefile: Include cppflags-iterator.mk to add
18967 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18969 * Makefile.in (bench-clean): New target.
18970 * benchtests/Makefile (bench-clean): Likewise.
18972 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18974 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18976 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18978 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18980 2013-04-15 Andreas Schwab <schwab@suse.de>
18982 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18983 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18984 * nscd/pwdcache.c (cache_addpw): Likewise.
18985 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18988 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18990 * benchtests/Makefile (bench): Write all output to
18991 bench-out.tmp together.
18993 2013-04-15 Andreas Schwab <schwab@suse.de>
18995 * nscd/nscd.c (main): Don't fork again after closing files.
18997 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18999 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19001 * benchtests/Rules (bench-deps): Collect dependencies into a
19002 single variable. Add Makefile to dependencies.
19003 ($(objpfx)bench-%.c): Depend on bench-deps.
19005 2013-04-12 Roland McGrath <roland@hack.frob.com>
19006 Xavier Roche <roche+kml2@exalead.com>
19009 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19010 just that it's a file descriptor.
19011 * manual/llio.texi (Synchronizing AIO Operations): Update description
19012 for EBADF error from aio_fsync.
19014 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19016 * Rules (bench): Move target definition...
19017 * benchtests/Makefile: ... here.
19019 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19021 * math/libm-test.inc (cos_test): Fix PI/2 test.
19022 (sincos_test): Likewise.
19023 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19024 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19026 2013-04-11 Andreas Schwab <schwab@suse.de>
19029 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19030 accept exponent character only when digits were seen.
19031 * stdio-common/Makefile (tests): Add bug26.
19032 * stdio-common/bug26.c: New file.
19035 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19038 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19040 * Makeconfig (rtld-prefix): Define built linker prefix.
19041 * Rules (run-bench): Use it.
19042 * math/Makefile (run-regen-ulps): Likewise.
19044 * Rules (bench): Remove eval.
19046 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19047 Roland McGrath <roland@hack.frob.com>
19048 Ondrej Bilka <neleai@seznam.cz>
19051 * time/getdate.c: Include ctype.h and alloca.h.
19052 (__getdate_r): Trim leading and trailing spaces of input.
19053 * time/tst-getdate.c (tests): Add tests with leading and
19056 2013-04-08 Roland McGrath <roland@hack.frob.com>
19059 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19060 when computing value.
19062 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19064 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19065 Use testrun.sh to run libm tests.
19068 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19070 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19073 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19075 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19077 * Makefile.in (regen-ulps): New target.
19078 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19079 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19080 [ifneq (no,$(PERL)] (regen-ulps): New target.
19081 [ifeq (no,$(PERL)] (regen-ulps): New target.
19082 * math/libm-test.inc (ulps_file_name): Define.
19083 (output_dir): New variable.
19084 (options): Add "output-dir" option.
19085 (parse_opt): Handle 'o' case.
19086 (main): If output_dir is non-NULL use it as a prefix
19088 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19090 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19092 [BZ #10060, #10062]
19093 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19094 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19095 fail configure if __sync_val_compare_and_swap is not inlined.
19096 * sysdeps/i386/configure: Regenerate.
19097 * configure.in: Build for i686 when configured for i386.
19098 * configure: Regenerate.
19099 * README: Remove i386 reference.
19101 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19103 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19104 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19106 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19108 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19109 (lmsnanval): New variables.
19110 (F): Add conversion tests.
19111 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19112 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19114 * stdio-common/tstdiomisc.c (F): Properly collect individual
19117 [BZ #14686, #15336]
19118 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19119 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19120 Instead, use input NaN values or generate a qNaN by arithmetic
19121 operation. Also fix bugs to comply with the standard.
19122 * math/libm-test.inc (remainder_test): Add more tests.
19124 [BZ #15335, #15342]
19125 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19126 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19127 input NaN values or generate a qNaN by arithmetic operation.
19129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19132 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19135 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19138 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19139 underflowed result.
19140 * math/s_cexpf.c (__cexpf): Likewise.
19141 * math/s_cexpl.c (__cexpl): Likewise.
19142 * math/libm-test.inc (cexp_test): Add more tests.
19144 2013-04-03 Andreas Schwab <schwab@suse.de>
19147 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19148 order arrays from heap if bigger than alloca cutoff.
19150 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19152 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19153 (SNAN_TESTS_double): Refer to GCC PR56831.
19154 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19157 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19159 * Rules (bench): Move bench.out after the run is complete.
19161 * Rules (bench): Echo currently running benchmark.
19163 * benchtests/Makefile (bench): Add atan and slowatan.
19164 * benchtests/atan-inputs: New file.
19165 * benchtests/slowatan-inputs: New file.
19166 * benchtests/slowatan.c: New file.
19168 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19169 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19173 * sysdeps/unix/sysv/linux/kernel-features.h
19174 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19175 __ASSUME_XFS_RESTRICTED_CHOWN.
19176 * sysdeps/unix/sysv/linux/pathconf.c
19177 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19178 Save and restore errno.
19180 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19183 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19184 arguments using __kernel_casinh.
19185 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19186 arguments using __kernel_casinhf.
19187 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19188 arguments using __kernel_casinhl.
19189 * math/libm-test.inc (cacosh_test): Add more tests.
19190 * sysdeps/i386/fpu/libm-test-ulps: Update.
19191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19193 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19195 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19196 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19198 * bench/Makefile (bench): Add sin and slowsin.
19199 * benchtests/sin-inputs: New file.
19200 * benchtests/slowsin-inputs: New file.
19201 * benchtests/slowsin.c: New file.
19203 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19204 (bench): Add slowexp and slowpow.
19205 (exp-ITER): Increase iterations.
19206 (pow-ITER): Likewise.
19207 * benchtests/exp-inputs: Change input.
19208 * benchtests/pow-inputs: Likewise.
19209 * benchtests/slowexp-inputs: New file.
19210 * benchtests/slowexp.c: New file.
19211 * benchtests/slowpow-inputs: New file.
19212 * benchtests/slowpow.c: New file.
19214 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19216 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19218 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19219 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19220 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19221 * benchtests/Makefile: Add rint benchtest.
19222 * benchtests/rint-inputs: Input for rint benchtest.
19224 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19226 * Versions.def (libm): Add GLIBC_2.18.
19227 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19228 hidden libm prototypes.
19229 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19230 * math/Makefile (libm-calls): Add s_issignaling.
19231 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19232 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19233 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19235 * math/math.h [__USE_GNU] (issignaling): New macro.
19236 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19237 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19238 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19239 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19240 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19241 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19242 * manual/arith.texi (issignaling): New section.
19243 * manual/libm-err-tab.pl (@all_functions): Update comment.
19244 * math/gen-libm-test.pl (parse_args): Apply special handling for
19246 * math/libm-test.inc (print_float, issignaling_test): New
19248 (check_float_internal): Add issignaling checks.
19249 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19250 default definition.
19251 * sysdeps/powerpc/math-tests.h: New file.
19252 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19254 * math/test-snan.c (TEST_FUNC): Likewise.
19256 2013-03-30 David S. Miller <davem@davemloft.net>
19258 * po/de.po: Update from translation team.
19260 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19263 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19264 imaginary part less than 1.0 and real part less than 0.5
19266 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19267 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19268 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19269 (cacos_test): Add more tests.
19270 (casin_test): Likewise.
19271 (casinh_test): Likewise.
19272 * sysdeps/i386/fpu/libm-test-ulps: Update.
19273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19275 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19277 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19278 ONE with its value.
19280 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19281 (__pow_mp): Replace ONE and MONE with their values.
19282 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19283 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19284 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19285 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19286 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19287 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19289 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19291 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19292 (__pow_mp): Replace ZERO and MZERO with their values.
19293 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19294 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19295 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19296 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19297 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19298 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19301 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19303 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19305 2013-03-28 Roland McGrath <roland@hack.frob.com>
19307 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19308 Declare with __attribute__ ((weak)).
19309 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19310 Call __call_tls_dtors only if it's not NULL.
19312 2013-03-28 Roland McGrath <roland@hack.frob.com>
19314 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19315 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19316 magic __ehdr_start linker symbol if it's defined.
19317 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19318 them up here if it was already done.
19320 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19321 (_dl_aux_init): Use const in cast when setting it.
19322 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19323 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19324 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19326 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19328 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19329 * csu/libc-tls.c: Nor here.
19330 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19332 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19333 (__libc_message): Never call vsyslog.
19335 2013-03-28 Alan Modra <amodra@gmail.com>
19337 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19339 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19342 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19345 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19349 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19352 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19353 Don't add gid passed as argument.
19355 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19357 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19360 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19361 imaginary part between 1.0 and 1.5 and real part less than 0.5
19363 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19364 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19365 * math/libm-test.inc (cacos_test): Add more tests.
19366 (casin_test): Likewise.
19367 (casinh_test): Likewise.
19368 * sysdeps/i386/fpu/libm-test-ulps: Update.
19369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19371 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19373 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19376 (denorm): Likewise.
19377 (__dbl_mp): Likewise.
19378 (add_magnitudes): Likewise.
19379 (sub_magnitudes): Likewise.
19387 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19389 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19390 (__dubcos): Likewise.
19391 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19392 (__ieee754_acos): Likewise.
19393 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19394 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19395 (__exp1): Likewise.
19396 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19397 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19399 (my_log2): Likewise.
19400 (checkint): Likewise.
19401 * sysdeps/ieee754/dbl-64/e_remainder.c
19402 (__ieee754_remainder): Likewise.
19403 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19404 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19405 (bsloww): Likewise.
19406 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19408 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19409 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19410 MANTISSA_STORE_T to store computations on mantissa. Use
19411 macros for rounding and division.
19412 (denorm): Likewise.
19413 (__dbl_mp): Likewise.
19414 (add_magnitudes): Likewise.
19415 (sub_magnitudes): Likewise.
19418 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19419 powers of two in terms of TWOPOW macro.
19420 (mp_no): Make type of mantissa as MANTISSA_T.
19421 [!RADIXI]: Define RADIXI.
19422 [!TWO52]: Define TWO52.
19423 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19425 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19427 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19428 llroundl symbol when building for PPC32.
19430 2013-03-24 Mark H Weaver <mhw@netris.org>
19432 * manual/arith.texi (Normalization Functions): Fix prototypes for
19433 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19435 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19438 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19439 high value to check if expl overflow.
19440 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19441 to check for underflow and overflow.
19442 * math/libm-test.inc: Add exp test.
19444 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19447 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19450 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19452 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19455 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19457 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19458 wrap blocks consisting of several statements.
19460 * sysdeps/generic/math-tests.h: New file.
19461 * sysdeps/i386/fpu/math-tests.h: Likewise.
19462 * math/test-snan.c: Include it.
19463 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19465 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19468 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19469 (__ieee754_j0l): Do not improve calculations using cos of twice
19470 input for inputs above LDBL_MAX / 2.0L.
19471 (__ieee754_y0l): Likewise.
19472 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19473 (__ieee754_j1l): Do not improve calculations using cos of twice
19474 input for inputs above LDBL_MAX / 2.0L.
19475 (__ieee754_y1l): Likewise.
19476 * math/libm-test.inc (j0_test): Add another test.
19477 (j1_test): Likewise.
19478 (y0_test): Likewise.
19479 (y1_test): Likewise.
19480 * sysdeps/i386/fpu/libm-test-ulps: Update.
19482 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19484 * Rules ($(objpfx)bench-%.c): Include code from a C source
19487 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19490 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19491 imaginary part 1.0 and real part less than 0.5 specially.
19492 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19493 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19494 * math/libm-test.inc (cacos_test): Add more tests.
19495 (casin_test): Likewise.
19496 (casinh_test): Likewise.
19497 * sysdeps/i386/fpu/libm-test-ulps: Update.
19498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19500 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19502 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19503 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19505 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19507 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19508 * config.make.in (config-cflags-sse4): Remove variable.
19509 (config-cflags-avx): Likewise.
19510 (config-cflags-sse2avx): Likewise.
19511 (config-cflags-novzeroupper): Likewise.
19512 (config-asflags-i686): Likewise.
19513 (have-mfma4): Likewise.
19514 (have-as-vis3): Likewise.
19516 * configure.in (MIG): Do not AC_SUBST.
19517 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19518 (libc_cv_cc_sse4): Do not AC_SUBST.
19519 (libc_cv_cc_avx): Likewise.
19520 (libc_cv_cc_sse2avx): Likewise.
19521 (libc_cv_cc_novzeroupper): Likewise.
19522 (libc_cv_cc_fma4): Likewise.
19523 (libc_cv_as_i686): Likewise.
19524 (libc_cv_sparc_as_vis3): Likewise.
19525 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19527 (config-asflags-i686): Likewise.
19528 (config-cflags-avx): Likewise.
19529 (config-cflags-sse2avx): Likewise.
19530 (have-mfma4): Likewise.
19531 (config-cflags-novzeroupper): Likewise.
19532 * sysdeps/mach/configure.in (MIG): Likewise.
19533 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19534 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19536 (config-cflags-avx): Likewise.
19537 (config-cflags-sse2avx): Likewise.
19538 (have-mfma4): Likewise.
19539 (config-cflags-novzeroupper): Likewise.
19540 * configure: Regenerated.
19541 * sysdeps/i386/configure: Likewise.
19542 * sysdeps/mach/configure: Likewise.
19543 * sysdeps/sparc/configure: Likewise.
19544 * sysdeps/x86_64/configure: Likewise.
19546 2013-03-20 Roland McGrath <roland@hack.frob.com>
19549 * locale/programs/localedef.c (options): Put N_ translation marker
19550 on argument names, not just descriptions.
19552 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19554 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19556 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19559 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19561 2013-03-19 Roland McGrath <roland@hack.frob.com>
19563 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19564 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19565 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19566 [!BEFORE_ABORT] (before_abort): New function.
19567 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19568 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19569 (writev_for_fatal): New function.
19570 (WRITEV_FOR_FATAL): New macro; call that.
19571 (backtrace_and_maps): New function.
19572 (BEFORE_ABORT): New macro; call that.
19573 (struct str_list): Type removed.
19574 (__libc_message, __libc_fatal): Functions removed.
19575 Include <sysdeps/posix/libc_fatal.c> instead.
19577 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19579 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19581 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19584 2013-03-19 Andreas Schwab <schwab@suse.de>
19586 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19587 * sysdeps/gnu/configure: Regenerate.
19589 * configure.in: Substitute libc_cv_rtlddir.
19590 * configure: Regenerate.
19591 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19592 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19593 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19594 * elf/Makefile (install-others, CFLAGS-interp.c)
19595 (ldso_install, common-ldd-rewrite): Likewise.
19596 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19597 $(inst_slibdir)/$(rtld-installed-name).
19598 * scripts/rellns-sh: Add -p option.
19599 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19602 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19604 * manual/nptl.texi: Renamed to ...
19605 * manual/threads.texi: ... this.
19606 * manual/Makefile (chapters): Update.
19608 2013-03-18 Roland McGrath <roland@hack.frob.com>
19611 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19612 on argument names, not just descriptions.
19613 * malloc/memusagestat.c (options): Likewise.
19614 * nss/getent.c (options): Likewise.
19616 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19619 * iconv/iconv_prog.c (options): Put N_ translation marker
19620 on argument names, not just descriptions.
19621 * iconv/iconvconfig.c (options): Likewise.
19623 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19625 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19626 implementation which is faster on all x86_64 architectures.
19627 Tested on AMD, Intel Nehalem, SNB, IVB.
19628 * sysdeps/x86_64/strnlen.S: Likewise.
19630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19631 Remove all multiarch strlen and strnlen versions.
19632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19633 Remove strlen and strnlen related parts.
19635 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19636 Inline strlen part.
19637 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19639 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19640 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19641 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19642 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19643 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19644 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19646 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19648 * manual/memory.texi (Malloc Tunable Parameters):
19649 Sort parameters alphabetically. Add comments for missing entries.
19651 2013-03-17 David S. Miller <davem@davemloft.net>
19653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19655 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19658 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19659 for arguments at most half maximum finite value.
19660 * math/libm-test.inc (j0_test): Add more tests.
19661 (j1_test): Likewise.
19662 (y0_test): Likewise.
19663 (y1_test): Likewise.
19664 * sysdeps/i386/fpu/libm-test-ulps: Update.
19665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19668 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19669 1 / x and functions P and Q for arguments above 0x1p256L.
19670 (__ieee754_y0l): Likewise.
19671 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19672 (__ieee754_y1l): Likewise.
19673 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19674 (j1_test): Likewise.
19675 (y0_test): Likewise.
19676 (y1_test): Likewise.
19678 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19680 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19683 2013-03-15 Roland McGrath <roland@hack.frob.com>
19685 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19686 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19687 zero since it's initialized to EXEC_PAGESIZE.
19689 * sysdeps/unix/sysv/linux/ldsodefs.h
19690 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19691 * sysdeps/generic/ldsodefs.h: ... here.
19693 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19695 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19697 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19699 * math/test-snan.c: Renamed from
19700 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19701 * math/Makefile (tests): Add test-snan.
19702 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19705 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19706 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19708 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19709 __builtin_nan family of functions.
19710 * math/libm-test.inc (initialize): Initialize qnan_value with
19711 __builtin_nan family of functions.
19712 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19714 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19716 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19717 storage class. Initialize qNaN_var and sNaN_var with
19718 __builtin_nan and __builtin_nans families of functions,
19721 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19722 (sqrt_test): Remove duplicate test with qNaN input.
19723 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19724 (round_test, signbit_test, significand_test): Note missing +/-Inf
19725 as well as qNaN tests.
19727 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19728 qNaN_var. Fix a few strings, too.
19729 * math/libm-test.inc (nan_value): Rename to qnan_value.
19730 * math/gen-libm-test.pl (%beautify): Adjust to that.
19731 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19732 * math/test-misc.c (main): Likewise.
19733 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19734 to __qnan_bytes, and __qnan_union, respectively.
19735 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19737 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19738 and lqnanval, respectively.
19739 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19740 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19741 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19742 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19744 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19745 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19748 * math/test-misc.c (main): Fix copy'n'pastos.
19749 * misc/tst-efgcvt.c (special): Likewise.
19751 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19752 Remove declarations.
19754 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19756 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19757 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19758 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19759 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19761 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19763 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19764 macro to return vdso values correctly in IFUNC implementations.
19765 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19766 Optimization by using IFUNC.
19768 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19769 Richard Henderson <rth@redhat.com>
19770 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19772 * Makefile.in (bench): New target.
19773 * NEWS: Mention the benchmark framework.
19774 * Rules (bench): Likewise.
19775 (binaries-bench): Generate binaries for functions to
19777 * benchtests/Makefile: New makefile for benchmark tests.
19778 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19780 * benchtests/exp-inputs: New input file for EXP function.
19781 * benchtests/pow-inputs: New input file for POW function.
19782 * scripts/bench.pl: New script to generate source files for
19783 benchmark programs.
19785 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19787 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19788 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19789 computations on mantissa. Use macros for rounding and
19791 (denorm): Likewise.
19792 (__dbl_mp): Likewise.
19793 (add_magnitudes): Likewise.
19794 (sub_magnitudes): Likewise.
19797 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19798 powers of two in terms of TWOPOW macro.
19799 (mp_no): Make type of mantissa as MANTISSA_T.
19800 [!RADIXI]: Define RADIXI.
19801 [!TWO52]: Define TWO52.
19802 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19804 * manual/nptl.texi (cindex): Modify threads to pthreads.
19806 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19808 * sysdeps/x86_64/preconfigure: Regenerated.
19810 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19813 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19815 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19816 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19818 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19819 * math/libm-test.inc (j0_test): Do not allow one spurious
19820 underflow exception.
19821 (y1_test): Likewise.
19823 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19825 * manual/Makefile (chapters): Add nptl.
19826 * manual/debug.texi (Debugging Support): Add link to Threads
19828 * manual/nptl.texi: New file.
19830 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19832 2013-03-14 Petr Baudis <pasky@ucw.cz>
19834 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19835 for non-NULL pointer before the memory validity test. Pointed
19836 out by Holger Brunck <holger.brunck@keymile.com>.
19838 2013-03-13 Andreas Schwab <schwab@suse.de>
19840 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19843 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19845 * timezone/zic.c: Update from tzcode 2013b.
19847 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19849 * manual/install.texi (Configuring and compiling):
19850 Mention i686 and i586.
19851 * INSTALL: Regenerate.
19853 2013-03-12 Roland McGrath <roland@hack.frob.com>
19855 * sysdeps/init_array/elf-init.c: New file.
19857 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19858 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19860 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19861 __gmon_start__ as global, but as static with a .preinit_array pointer.
19862 * sysdeps/init_array/gmon-start.c: New file. Use that.
19863 * sysdeps/init_array/crti.S: New file, empty except for comments.
19864 * sysdeps/init_array/crtn.S: Likewise.
19866 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19868 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19871 Remove Prefer_SSE_for_memop.
19872 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19873 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19874 HAS_PREFER_SSE_FOR_MEMOP.
19875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19877 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19878 Remove bzero, memset ifunc support.
19879 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19880 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19881 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19882 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19884 2013-03-11 Andreas Schwab <schwab@suse.de>
19887 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19890 (GLIBC_2.16): Remove pthread_atfork.
19892 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19894 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19895 (ptestcases.h): Likewise.
19897 2013-03-08 Roland McGrath <roland@hack.frob.com>
19899 * Makeconfig ($(common-objpfx)config.status): Depend on
19900 sysdeps/*/preconfigure{,.in} too.
19902 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19904 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19905 (__free_hook): Use void * instead of __malloc_ptr_t.
19906 (__malloc_hook): Likewise.
19907 (__realloc_hook): Likewise.
19908 (__memalign_hook): Likewise.
19909 (__after_morecore_hook): Likewise.
19910 * malloc/arena.c (save_malloc_hook): Likewise.
19911 (save_free_hook): Likewise.
19912 * malloc/hooks.c (malloc_hook_ini): Likewise.
19913 (realloc_hook_ini): Likewise.
19914 (memalign_hook_ini): Likewise.
19915 * malloc/malloc.c (malloc_hook_ini): Likewise.
19916 (realloc_hook_ini): Likewise.
19917 (memalign_hook_ini): Likewise.
19918 (__free_hook): Likewise.
19919 (__malloc_hook): Likewise.
19920 (__realloc_hook): Likewise.
19921 (__memalign_hook): Likewise.
19922 (__libc_malloc): Likewise.
19923 (__libc_free): Likewise.
19924 (__libc_realloc): Likewise.
19925 (__libc_memalign): Likewise.
19926 (__libc_valloc): Likewise.
19927 (__libc_pvalloc): Likewise.
19928 (__libc_calloc): Likewise.
19929 (__posix_memalign): Likewise.
19930 * malloc/morecore.c (__sbrk): Likewise.
19931 (__default_morecore): Likewise.
19933 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19935 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19936 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19937 __malloc_ptrdiff_t.
19939 * malloc/malloc.h (__malloc_size_t): Remove macro.
19940 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19942 (old_memalign_hook): Likewise.
19943 (old_realloc_hook): Likewise.
19944 (struct hdr): Likewise.
19946 (mallochook): Likewise.
19947 (memalignhook): Likewise.
19948 (reallochook): Likewise.
19949 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19950 (tr_old_realloc_hook): Likewise.
19951 (tr_old_memalign_hook): Likewise.
19952 (tr_mallochook): Likewise.
19953 (tr_reallochook): Likewise.
19954 (tr_memalignhook): Likewise.
19956 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19958 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19959 default_ldbl_pack and using as default implementation.
19960 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19962 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19963 redundant definition.
19964 (ldbl_insert_mantissa): Likewise.
19965 (ldbl_canonicalize): Likewise.
19966 (ldbl_nearbyint): Likewise.
19967 (ldbl_pack): Rename to ldbl_pack_ppc.
19968 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19969 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19970 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19972 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19975 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19976 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19977 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19979 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19980 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19981 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19983 2013-03-07 Andreas Jaeger <aj@suse.de>
19985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19988 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19990 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19991 Include mpa.h and declare __MPEXP.
19992 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19993 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19994 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19995 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19996 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19997 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19998 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20000 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20001 (__slowpow): Use long double EXPL and LOGL functions to
20003 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20004 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20005 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20006 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20007 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20008 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20011 intermediate variable to calculate exponent.
20013 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20017 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20018 [!NO__SQR]: Define __sqr.
20019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20020 and NO__SQR. Remove all code except __mul and __sqr. Include
20021 sysdeps/ieee754/dbl-64/mpa.c.
20022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20025 * posix/Makefile (tests): Add tst-pathconf.
20026 * posix/tst-pathconf.c: New test case.
20027 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20029 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20031 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20033 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20035 2013-03-06 Andreas Jaeger <aj@suse.de>
20037 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20038 definition via __MAP_ANONYMOUS.
20040 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20041 it's not part of Linux headers.
20043 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20044 (MAP_HUGE_MASK): Define.
20046 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20048 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20049 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20051 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20052 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20054 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20055 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20057 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20059 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20060 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20061 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20062 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20063 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20064 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20066 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20069 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20070 Handle f2fs and efivarfs.
20072 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20075 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20076 (EFIVARFS_MAGIC): Add.
20077 (F2FS_LINK_MAX): Add.
20079 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20081 * stdio-common/vfprintf.c: Replace __builtin_expect with
20084 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20087 * sysdeps/generic/bp-sym.h: Remove file.
20088 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20089 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20090 <bp-sym.h> and <bp-asm.h>.
20091 (__longjmp): Don't use BP_SYM.
20092 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20094 (memcpy): Don't use BP_SYM.
20095 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20096 <bp-sym.h> and <bp-asm.h>.
20097 (memcpy): Don't use BP_SYM.
20098 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20100 (memcpy): Don't use BP_SYM.
20101 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20103 (memset): Don't use BP_SYM.
20104 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20105 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20106 (__bzero): Don't use BP_SYM.
20107 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20108 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20109 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20110 <bp-sym.h> and <bp-asm.h>.
20111 (memcmp): Don't use BP_SYM. Remove comment about bounded
20113 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20114 <bp-sym.h> and <bp-asm.h>.
20115 (memcpy): Don't use BP_SYM.
20116 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20117 <bp-sym.h> and <bp-asm.h>.
20118 (memset): Don't use BP_SYM.
20119 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20120 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20121 (__bzero): Don't use BP_SYM.
20122 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20123 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20124 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20125 <bp-sym.h> and <bp-asm.h>.
20126 (strncmp): Don't use BP_SYM. Remove comment about bounded
20128 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20129 <bp-sym.h> and <bp-asm.h>.
20130 (memcpy): Don't use BP_SYM.
20131 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20132 <bp-sym.h> and <bp-asm.h>.
20133 (memset): Don't use BP_SYM.
20134 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20135 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20136 (__bzero): Don't use BP_SYM.
20137 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20138 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20139 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20140 <bp-sym.h> and <bp-asm.h>.
20141 (__memchr): Don't use BP_SYM.
20142 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20143 <bp-sym.h> and <bp-asm.h>.
20144 (memcmp): Don't use BP_SYM. Remove comment about bounded
20146 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20147 <bp-sym.h> and <bp-asm.h>.
20148 (memcpy): Don't use BP_SYM.
20149 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20150 <bp-sym.h> and <bp-asm.h>.
20151 (__mempcpy): Don't use BP_SYM.
20152 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20153 <bp-sym.h> and <bp-asm.h>.
20154 (__memrchr): Don't use BP_SYM.
20155 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20156 <bp-sym.h> and <bp-asm.h>.
20157 (memset): Don't use BP_SYM.
20158 (__bzero): Likewise.
20159 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20160 <bp-sym.h> and <bp-asm.h>.
20161 (__rawmemchr): Don't use BP_SYM.
20162 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20163 <bp-sym.h> and <bp-asm.h>.
20164 (__STRCMP): Don't use BP_SYM.
20165 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20166 <bp-sym.h> and <bp-asm.h>.
20167 (strchr): Don't use BP_SYM.
20168 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20169 <bp-sym.h> and <bp-asm.h>.
20170 (__strchrnul): Don't use BP_SYM.
20171 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20172 <bp-sym.h> and <bp-asm.h>.
20173 (strlen): Don't use BP_SYM.
20174 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20175 <bp-sym.h> and <bp-asm.h>.
20176 (strncmp): Don't use BP_SYM. Remove comment about bounded
20178 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20179 <bp-sym.h> and <bp-asm.h>.
20180 (__strnlen): Don't use BP_SYM.
20181 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20182 <bp-sym.h> and <bp-asm.h>.
20183 (__GI__setjmp): Don't use BP_SYM.
20184 (_setjmp): Likewise.
20185 (__sigsetjmp): Likewise.
20186 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20187 (L(start_addresses)): Don't use BP_SYM.
20188 (_start): Likewise.
20189 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20191 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20192 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20193 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20194 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20195 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20197 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20198 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20199 about bounded pointers.
20200 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20201 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20202 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20204 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20205 about bounded pointers. Remove GKM FIXME comments.
20206 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20207 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20209 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20210 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20211 Remove GKM FIXME comments.
20212 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20213 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20214 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20216 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20217 about bounded pointers. Remove GKM FIXME comment.
20218 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20220 (strncmp): Don't use BP_SYM. Remove comment about bounded
20222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20223 <bp-sym.h> and <bp-asm.h>.
20224 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20226 <bp-sym.h> and <bp-asm.h>.
20227 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20230 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20232 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20235 2013-03-05 David S. Miller <davem@davemloft.net>
20237 * po/es.po: Update from translation team.
20239 2013-03-05 Andreas Jaeger <aj@suse.de>
20241 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20242 <bits/mman-linux.h>.
20243 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20245 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20246 <bits/mman-linux.h> to end of file.
20247 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20249 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20250 <bits/mman-linux.h> to end of file.
20251 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20253 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20254 <bits/mman-linux.h> to end of file.
20256 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20257 (MCL_CURRENT, MCL_FUTURE): Define here.
20259 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20262 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20264 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20266 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20268 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20269 fourth parameter needed for rt_sigprocmask syscall.
20270 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20271 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20272 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20273 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20274 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20275 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20277 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20280 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20281 comment about bounded pointers.
20282 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20283 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20285 2013-03-04 Andreas Jaeger <aj@suse.de>
20287 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20288 common definitions.
20290 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20291 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20292 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20293 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20294 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20295 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20297 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20300 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20301 __ieee754_sqrl instead of __sqrl.
20303 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20305 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20306 * sysdeps/powerpc/fpu_control.h: ... here.
20307 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20308 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20309 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20310 * sysdeps/powerpc/bits/mathinline.h: ... here.
20312 2013-03-01 Roland McGrath <roland@hack.frob.com>
20314 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20315 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20316 to just [NEED_DL_SYSINFO_DSO].
20317 * elf/dl-support.c: Likewise.
20318 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20319 * elf/rtld.c (dl_main): Likewise.
20320 * elf/setup-vdso.h (setup_vdso): Likewise.
20321 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20322 * sysdeps/unix/sysv/linux/dl-sysdep.c
20323 (_dl_discover_osversion): Likewise.
20325 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20327 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20328 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20330 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20332 * NEWS: Mention libm performance improvements and non-x86 PI
20335 * csu/libc-start.c (__pthread_initialize_minimal): Change
20336 function arguments.
20337 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20339 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20342 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20343 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20344 <bp-sym.h> and <bp-asm.h>.
20345 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20346 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20348 (memcpy): Don't use BP_SYM.
20349 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20351 (__mpn_add_n): Don't use BP_SYM.
20352 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20353 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20355 (__mpn_addmul_1): Don't use BP_SYM.
20356 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20357 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20359 (_setjmp): Don't use BP_SYM.
20360 (__novmx_setjmp): Likewise.
20361 (__GI__setjmp): Likewise.
20362 (__vmx_setjmp): Likewise.
20363 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20365 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20366 (__bzero): Don't use BP_SYM.
20367 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20368 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20369 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20370 <bp-sym.h> and <bp-asm.h>.
20371 (memcpy): Don't use BP_SYM.
20372 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20373 <bp-sym.h> and <bp-asm.h>.
20374 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20375 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20376 <bp-sym.h> and <bp-asm.h>.
20377 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20378 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20380 (__mpn_lshift): Don't use BP_SYM.
20381 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20382 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20384 (memset): Don't use BP_SYM.
20385 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20386 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20387 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20389 (__mpn_mul_1): Don't use BP_SYM.
20390 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20391 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20392 <bp-sym.h> and <bp-asm.h>.
20393 (memcmp): Don't use BP_SYM.
20394 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20395 <bp-sym.h> and <bp-asm.h>.
20396 (memcpy): Don't use BP_SYM.
20397 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20398 <bp-sym.h> and <bp-asm.h>.
20399 (memset): Don't use BP_SYM.
20400 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20401 <bp-sym.h> and <bp-asm.h>.
20402 (strncmp): Don't use BP_SYM.
20403 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20404 <bp-sym.h> and <bp-asm.h>.
20405 (memcpy): Don't use BP_SYM.
20406 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20407 <bp-sym.h> and <bp-asm.h>.
20408 (memset): Don't use BP_SYM.
20409 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20410 <bp-sym.h> and <bp-asm.h>.
20411 (__memchr): Don't use BP_SYM.
20412 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20413 <bp-sym.h> and <bp-asm.h>.
20414 (memcmp): Don't use BP_SYM.
20415 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20416 <bp-sym.h> and <bp-asm.h>.
20417 (memcpy): Don't use BP_SYM.
20418 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20419 <bp-sym.h> and <bp-asm.h>.
20420 (__mempcpy): Don't use BP_SYM.
20421 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20422 <bp-sym.h> and <bp-asm.h>.
20423 (__memrchr): Don't use BP_SYM.
20424 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20425 <bp-sym.h> and <bp-asm.h>.
20426 (memset): Don't use BP_SYM.
20427 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20428 <bp-sym.h> and <bp-asm.h>.
20429 (__rawmemchr): Don't use BP_SYM.
20430 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20431 <bp-sym.h> and <bp-asm.h>.
20432 (__STRCMP): Don't use BP_SYM.
20433 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20434 <bp-sym.h> and <bp-asm.h>.
20435 (strchr): Don't use BP_SYM.
20436 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20437 <bp-sym.h> and <bp-asm.h>.
20438 (__strchrnul): Don't use BP_SYM.
20439 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20440 <bp-sym.h> and <bp-asm.h>.
20441 (strlen): Don't use BP_SYM.
20442 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20443 <bp-sym.h> and <bp-asm.h>.
20444 (strncmp): Don't use BP_SYM.
20445 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20446 <bp-sym.h> and <bp-asm.h>.
20447 (__strnlen): Don't use BP_SYM.
20448 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20450 (__mpn_rshift): Don't use BP_SYM.
20451 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20452 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20453 <bp-sym.h> and <bp-asm.h>.
20454 (__sigsetjmp): Don't use BP_SYM.
20455 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20456 (L(start_addresses)): Don't use BP_SYM.
20457 (_start): Likewise.
20458 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20460 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20461 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20462 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20463 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20465 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20466 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20467 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20468 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20470 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20472 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20473 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20475 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20477 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20478 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20479 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20481 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20483 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20485 (strncmp): Don't use BP_SYM,
20486 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20488 (__mpn_sub_n): Don't use BP_SYM.
20489 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20490 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20492 (__mpn_submul_1): Don't use BP_SYM.
20493 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20495 <bp-sym.h> and <bp-asm.h>.
20496 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20498 <bp-sym.h> and <bp-asm.h>.
20499 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20502 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20505 Use ZK to minimize writes to Z.
20506 (sub_magnitudes): Simplify code a bit.
20507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20508 Use ZK to minimize writes to Z.
20509 (sub_magnitudes): Simplify code a bit.
20511 2013-02-27 Roland McGrath <roland@hack.frob.com>
20513 * csu/gmon-start.c: Add special exception to license text.
20515 2013-02-27 Richard Henderson <rth@redhat.com>
20517 * scripts/config.guess: Update from config.git.
20518 * scripts/config.sub: Likewise.
20520 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20522 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20524 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20526 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20528 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20530 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20532 2013-02-26 Roland McGrath <roland@hack.frob.com>
20534 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20535 [$(build-shared = yes].
20537 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20539 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20540 (__mul): Reduce iterations for calculating mantissa.
20542 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20544 (__mpranred): Likewise.
20547 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20548 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20550 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20552 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20553 Define __attribute__.
20555 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20557 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20559 * posix/regex_internal.h (__attribute): Remove.
20560 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20561 (re_string_context_at): Likewise.
20562 (bitset_not): Use __attribute__ and mark function as possibly
20564 (bitset_merge): Likewise.
20565 (bitset_mask): Likewise.
20566 (re_string_char_size_at): Likewise.
20567 (re_string_wchar_at): Likewise.
20568 (re_string_elem_size_at): Likewise.
20570 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20572 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20576 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20580 (denorm): Likewise.
20581 (__dbl_mp): Likewise.
20582 (add_magnitudes): Likewise.
20583 (sub_magnitudes): Likewise.
20587 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20590 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20593 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20597 up changes with default code.
20598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20601 2013-02-24 Allan McRae <allan@archlinux.org>
20603 * manual/socket.texi (The Internet Namespace): Order menu items
20604 to match that in the file.
20606 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20607 node listing of the info page menu.
20609 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20612 * sysdeps/i386/bp-asm.h: Remove file.
20613 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20614 (PARMS): Do not use macros from bp-asm.h.
20618 (__mpn_add_n): Do not use BP_SYM
20619 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20621 (PARMS): Do not use macros from bp-asm.h.
20624 (__mpn_addmul_1): Do not use BP_SYM
20625 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20627 (PARMS): Do not use macros from bp-asm.h.
20628 (SIGMSK): Likewise.
20629 (_setjmp): Likewise. Do not use BP_SYM.
20630 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20632 (PARMS): Do not use macros from bp-asm.h.
20633 (SIGMSK): Likewise.
20634 (setjmp): Likewise. Do not use BP_SYM.
20635 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20637 (PARMS): Do not use macros from bp-asm.h.
20638 (__frexp): Do not use BP_SYM.
20640 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20642 (PARMS): Do not use macros from bp-asm.h.
20643 (__frexpf): Do not use BP_SYM.
20644 (frexpf): Likewise.
20645 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20647 (PARMS): Do not use macros from bp-asm.h.
20648 (__frexpl): Do not use BP_SYM.
20649 (frexpl): Likewise.
20650 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20652 (PARMS): Do not use macros from bp-asm.h.
20653 (__remquo): Do not use BP_SYM.
20654 (remquo): Likewise.
20655 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20657 (PARMS): Do not use macros from bp-asm.h.
20658 (__remquof): Do not use BP_SYM.
20659 (remquof): Likewise.
20660 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20662 (PARMS): Do not use macros from bp-asm.h.
20663 (__remquol): Do not use BP_SYM.
20664 (remquol): Likewise.
20665 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20667 (PARMS): Do not use macros from bp-asm.h.
20670 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20671 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20673 (PARMS): Do not use macros from bp-asm.h.
20674 (strlen): Do not use BP_SYM.
20675 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20677 (PARMS): Do not use macros from bp-asm.h.
20681 (__mpn_add_n): Do not use BP_SYM.
20682 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20684 (PARMS): Do not use macros from bp-asm.h.
20687 (__mpn_addmul_1): Do not use BP_SYM.
20688 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20691 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20693 (PARMS): Do not use macros from bp-asm.h.
20696 (__mpn_lshift): Do not use BP_SYM.
20697 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20699 (PARMS): Do not use macros from bp-asm.h.
20703 (memcpy): Likewise. Do not use BP_SYM.
20704 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20705 libc_hidden_def and weak_alias.
20706 (mempcpy): Do not use BP_SYM in weak_alias.
20707 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20709 (PARMS): Do not use macros from bp-asm.h.
20712 [!BZERO_P] (CHR): Likewise.
20713 (memset): Likewise. Do not use BP_SYM.
20714 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20716 (PARMS): Do not use macros from bp-asm.h.
20719 (__mpn_mul_1): Do not use BP_SYM.
20720 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20722 (PARMS): Do not use macros from bp-asm.h.
20725 (__mpn_rshift): Do not use BP_SYM.
20726 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20728 (PARMS): Do not use macros from bp-asm.h.
20731 (strchr): Likewise. Do not use BP_SYM.
20732 (index): Do not use BP_SYM in weak_alias.
20733 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20735 (PARMS): Do not use macros from bp-asm.h.
20738 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20739 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20741 (PARMS): Do not use macros from bp-asm.h.
20742 (strlen): Do not use BP_SYM.
20743 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20745 (PARMS): Do not use macros from bp-asm.h.
20749 (__mpn_sub_n): Do not use BP_SYM.
20750 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20752 (PARMS): Do not use macros from bp-asm.h.
20755 (__mpn_submul_1): Do not use BP_SYM.
20756 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20758 (PARMS): Do not use macros from bp-asm.h.
20762 (__mpn_add_n): Do not use BP_SYM.
20763 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20766 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20768 (PARMS): Do not use macros from bp-asm.h.
20771 (memcmp): Do not use BP_SYM.
20772 (bcmp): Do not use BP_SYM in weak_alias.
20773 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20775 (PARMS): Do not use macros from bp-asm.h.
20779 (memcpy): Likewise. Do not use BP_SYM.
20780 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20782 (PARMS): Do not use macros from bp-asm.h.
20786 (memmove): Likewise. Do not use BP_SYM.
20787 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20789 (PARMS): Do not use macros from bp-asm.h.
20793 (__mempcpy): Likewise. Do not use BP_SYM.
20794 (mempcpy): Do not use BP_SYM in weak_alias.
20795 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20797 (PARMS): Do not use macros from bp-asm.h.
20800 [!BZERO_P] (CHR): Likewise.
20801 (memset): Likewise. Do not use BP_SYM.
20802 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20804 (PARMS): Do not use macros from bp-asm.h.
20806 (strcmp): Do not use BP_SYM.
20807 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20809 (PARMS): Do not use macros from bp-asm.h.
20812 [USE_AS_STRTOK_R] (SAVE): Likewise.
20813 (FUNCTION): Likewise. Do not use BP_SYM.
20814 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20816 (strtok_r): Likewise.
20817 (__GI___strtok_r): Likewise.
20818 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20819 (PARMS): Do not use macros from bp-asm.h.
20822 (__mpn_lshift): Do not use BP_SYM.
20823 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20824 (PARMS): Do not use macros from bp-asm.h.
20827 (__memchr): Do not use BP_SYM.
20828 (memchr): Do not use BP_SYM in weak_alias.
20829 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20830 (PARMS): Do not use macros from bp-asm.h.
20833 (memcmp): Do not use BP_SYM.
20834 (bcmp): Do not use BP_SYM in weak_alias.
20835 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20836 (PARMS): Do not use macros from bp-asm.h.
20839 (__mpn_mul_1): Do not use BP_SYM.
20840 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20842 (PARMS): Do not use macros from bp-asm.h.
20845 (__rawmemchr): Do not use BP_SYM.
20846 (rawmemchr): Do not use BP_SYM in weak_alias.
20847 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20848 (PARMS): Do not use macros from bp-asm.h.
20851 (__mpn_rshift): Do not use BP_SYM.
20852 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20853 (PARMS): Do not use macros from bp-asm.h.
20854 (SIGMSK): Likewise.
20855 (__sigsetjmp): Likewise. Do not use BP_SYM.
20856 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20857 (_start): Do not use BP_SYM.
20858 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20859 (PARMS): Do not use macros from bp-asm.h.
20862 (__stpcpy): Likewise. Do not use BP_SYM.
20863 (stpcpy): Do not use BP_SYM in weak_alias.
20864 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20866 (PARMS): Do not use macros from bp-asm.h.
20870 (__stpncpy): Likewise. Do not use BP_SYM.
20871 (stpncpy): Do not use BP_SYM in weak_alias.
20872 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20873 (PARMS): Do not use macros from bp-asm.h.
20876 (strchr): Likewise. Do not use BP_SYM.
20877 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20879 (PARMS): Do not use macros from bp-asm.h.
20882 (__strchrnul): Likewise. Do not use BP_SYM.
20883 (strchrnul): Do not use BP_SYM in weak_alias.
20884 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20886 (PARMS): Do not use macros from bp-asm.h.
20888 (strcspn): Do not use BP_SYM.
20889 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20891 (PARMS): Do not use macros from bp-asm.h.
20894 (strpbrk): Likewise. Do not use BP_SYM.
20895 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20897 (PARMS): Do not use macros from bp-asm.h.
20900 (strrchr): Likewise. Do not use BP_SYM.
20901 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20902 (PARMS): Do not use macros from bp-asm.h.
20904 (strspn): Do not use BP_SYM.
20905 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20906 (PARMS): Do not use macros from bp-asm.h.
20910 (FUNCTION): Likewise. Do not use BP_SYM.
20911 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20913 (strtok_r): Likewise.
20914 (__GI___strtok_r): Likewise.
20915 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20916 (PARMS): Do not use macros from bp-asm.h.
20920 (__mpn_sub_n): Do not use BP_SYM.
20921 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20923 (PARMS): Do not use macros from bp-asm.h.
20926 (__mpn_submul_1): Do not use BP_SYM.
20927 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20929 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20931 (PARMS): Do not use macros from bp-asm.h.
20936 (__clone): Do not use BP_SYM.
20937 (clone): Do not use BP_SYM in weak_alias.
20938 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20940 (PARMS): Do not use macros from bp-asm.h.
20942 (__mmap64): Do not use BP_SYM.
20943 (mmap64): Do not use BP_SYM in weak_alias.
20944 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20945 <bp-sym.h> and <bp-asm.h>.
20946 (PARMS): Do not use macros from bp-asm.h.
20947 (__posix_fadvise64_l64): Do not use BP_SYM.
20948 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20949 (PARMS): Do not use macros from bp-asm.h.
20951 (semtimedop): Do not use BP_SYM.
20952 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20955 2013-02-21 Allan McRae <allan@archlinux.org>
20957 * manual/message.texi (Charset conversion in gettext):
20958 Move @end statement to beginning of line.
20960 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20967 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20968 (denorm): Likewise.
20969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20972 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20974 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20975 tail-call to the resolved function if pltexit isn't needed.
20977 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20980 or Y being zero as being unlikely.
20981 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20984 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20986 * manual/nss.texi (System Databases and Name Service Switch):
20987 Remove frobnicate @pxref.
20989 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20991 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20992 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20994 2013-02-20 Petr Machata <pmachata@redhat.com>
20996 * elf/elf.h (R_ARM_TARGET1): New macro.
20997 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20998 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20999 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21000 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21001 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21002 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21003 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21004 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21005 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21006 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21007 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21008 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21009 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21010 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21011 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21012 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21013 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21014 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21015 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21016 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21017 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21018 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21019 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21020 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21021 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21022 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21023 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21024 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21025 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21026 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21027 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21028 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21029 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21030 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21031 (R_ARM_THM_GOT_BREL12): Likewise.
21032 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21033 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21034 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21035 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21036 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21037 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21038 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21039 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21040 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21042 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21044 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21045 __attribute_used__ to __attribute__ ((unused)).
21047 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21049 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21052 comment formatting.
21053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21055 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21058 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21060 (ENTER): Remove both macro definitions.
21062 (CHECK_BOUNDS_LOW): Likewise.
21063 (CHECK_BOUNDS_HIGH): Likewise.
21064 (CHECK_BOUNDS_BOTH): Likewise.
21065 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21066 (RETURN_BOUNDED_POINTER): Likewise.
21067 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21068 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21069 (POP_ERRNO_LOCATION_RETURN): Likewise.
21070 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21071 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21072 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21074 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21075 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21076 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21077 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21078 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21079 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21080 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21081 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21082 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21083 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21084 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21085 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21086 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21087 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21089 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21090 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21092 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21093 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21094 * sysdeps/i386/i586/memset.S (memset): Likewise.
21095 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21096 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21097 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21099 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21100 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21101 Change uses of L(2) to L(out).
21102 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21103 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21104 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21105 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21106 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21108 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21109 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21111 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21112 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21113 (RETURN): Do not use macro LEAVE.
21114 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21115 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21116 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21117 * sysdeps/i386/i686/memset.S (memset): Likewise.
21118 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21119 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21120 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21121 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21123 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21124 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21125 L(1_2) and L(1_3) into L(1).
21126 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21127 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21128 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21129 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21130 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21131 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21132 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21133 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21134 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21136 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21137 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21138 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21139 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21140 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21141 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21142 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21143 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21144 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21145 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21146 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21147 * sysdeps/i386/strspn.S (strspn): Likewise.
21148 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21150 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21151 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21152 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21153 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21154 L(1_3) into L(1_1).
21155 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21156 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21157 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21159 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21161 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21163 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21166 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21168 * math/atest-exp.c (exp_mpn): Remove ROUND.
21169 * math/atest-exp2.c (exp_mpn): Likewise.
21170 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21172 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21173 * stdlib/tst-tls-atexit-lib.c: Likewise.
21174 * stdlib/tst-tls-atexit.c: Likewise.
21176 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21178 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21179 and __attribute_alloc_size__.
21181 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21183 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21184 __attribute_alloc_size__.
21185 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21186 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21188 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21190 * include/programs/xmalloc.h: New file.
21191 * catgets/gencat.c: Include it.
21192 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21193 * elf/pldd.c: Likewise.
21194 * iconv/iconv_charmap.c: Likewise.
21195 * iconv/iconvconfig.c: Likewise.
21196 * iconv/strtab.c: Likewise.
21197 * locale/programs/locale.c: Likewise.
21198 * locale/programs/localedef.h: Likewise.
21199 * locale/programs/simple-hash.c: Likewise.
21200 * nscd/nscd.h: Likewise.
21201 * nss/makedb.c: Likewise.
21202 * sysdeps/generic/ldconfig.h: Likewise.
21204 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21206 * Versions.def: Add GLIBC_2.18.
21207 * include/link.h (struct link_map): New member l_tls_dtor_count.
21208 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21209 (__call_tls_dtors): Likewise.
21210 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21211 __cxa_thread_atexit_impl.
21212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21220 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21228 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21229 (tests): Add test case tst-tls-atexit.
21230 (modules-names): Add shared library for tst-tls-atexit.
21231 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21232 (GLIBC_PRIVATE): Add __call_tls_dtors.
21233 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21235 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21236 * stdlib/tst-tls-atexit.c: New test case.
21237 * stdlib/tst-tls-atexit-lib.c: New test case.
21239 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21241 * elf/Versions (ld): Add _dl_find_dso_for_object.
21242 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21243 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21244 (dl_open_worker): Use _dl_find_dso_for_object.
21245 * elf/dl-sym.c (do_sym): Likewise.
21246 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21248 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21250 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21251 Syntactic changes only.
21252 (_dl_runtime_profile): Do a tail-call to the resolved function.
21254 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21257 * sysdeps/x86_64/bp-asm.h: Remove file.
21258 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21259 <bp-sym.h> and <bp-asm.h>.
21260 (__clone): Do not use BP_SYM.
21261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21262 <bp-sym.h> and <bp-asm.h>.
21263 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21264 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21266 (_setjmp): Do not use BP_SYM.
21267 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21269 (setjmp): Do not use BP_SYM.
21270 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21272 (mempcpy): Do not use BP_SYM in weak_alias.
21273 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21275 (strchr): Do not use BP_SYM.
21276 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21278 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21279 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21280 (_start): Do not use BP_SYM.
21281 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21283 (strcat): Do not use BP_SYM.
21284 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21286 (STRCMP): Do not use BP_SYM.
21287 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21289 (STRCPY): Do not use BP_SYM.
21290 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21292 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21294 (FUNCTION): Do not use BP_SYM.
21295 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21297 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21299 2013-02-17 Andreas Jaeger <aj@suse.de>
21301 * time/Versions: Sort entries.
21302 * string/Versions: Likewise.
21303 * resolv/Versions: Likewise.
21304 * posix/Versions: Likewise.
21305 * iconv/Versions: Likewise.
21306 * elf/Versions: Likewise.
21307 * wcsmbs/Versions: Likewise.
21309 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21311 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21312 loop termination condition.
21314 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21315 variable to calculate EZ.
21318 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21319 the lower precision input.
21321 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21324 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21325 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21326 (run-via-rtld-prefix): Do not handle %-bp tests.
21327 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21328 (all-object-suffixes): Remove .ob.
21329 (bppfx): Remove variable.
21330 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21331 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21332 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21333 [$(build-bounded) = yes] (libtype.ob): Likewise.
21334 * Makerules (elide-routines.ob): Remove variable.
21335 (do-tests-clean): Do not handle *-bp.out.
21336 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21337 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21338 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21339 (tests): Do not include $(tests-bp.out).
21340 (xtests): Do not include $(xtests-bp.out).
21341 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21342 [$(build-bounded) = yes] ($(addprefix
21343 $(objpfx),$(binaries-bounded))): Remove rule.
21344 ($(objpfx)%-bp.out): Remove rule.
21345 * config.make.in (build-bounded): Remove variable.
21346 * crypt/Makefile [$(build-bounded) = yes]
21347 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21348 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21349 append to variable.
21350 [$(build-bounded) = yes] (install-lib): Likewise.
21351 [$(build-bounded) = yes] (generated): Likewise.
21352 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21354 * intl/Makefile [$(build-bounded) = yes]
21355 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21356 * math/Makefile [$(build-bounded) = yes]
21357 ($(tests:%=$(objpfx)%-bp): Likewise.
21358 * misc/Makefile [$(build-bounded) = yes]
21359 ($(objpfx)tst-tsearch-bp): Likewise.
21360 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21361 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21363 * string/Makefile (o-objects.ob): Remove variable.
21364 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21365 (CFLAGS-.ob): Remove variable.
21366 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21367 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21368 both definitions of variable.
21369 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21370 (ASFLAGS-.ob): Remove variable.
21372 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21375 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21376 Remove __BOUNDED_POINTERS__ from condition.
21377 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21378 * string/bits/string2.h [!__NO_STRING_INLINES &&
21379 !__BOUNDED_POINTERS__]: Likewise.
21380 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21382 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21383 Remove conditional code.
21384 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21385 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21386 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21390 * csu/libc-start.c: Do not include <bp-sym.h>.
21391 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21392 * elf/dl-open.c: Do not include <bp-sym.h>.
21393 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21394 * math/fegetenv.c: Do not include <bp-sym.h>.
21395 (fegetenv): Do not use BP_SYM in versioned symbols.
21396 * nptl/sysdeps/pthread/bits/libc-lockP.h
21397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21400 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21402 (__pthread_mutex_destroy): Likewise.
21403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21404 (__pthread_mutex_lock): Likewise.
21405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21406 (__pthread_mutex_trylock): Likewise.
21407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21408 (__pthread_mutex_unlock): Likewise.
21409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21410 (__pthread_mutexattr_init): Likewise.
21411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21412 (__pthread_mutexattr_destroy): Likewise.
21413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21414 (__pthread_mutexattr_settype): Likewise.
21415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21416 (__pthread_rwlock_init): Likewise.
21417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21418 (__pthread_rwlock_destroy): Likewise.
21419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21420 (__pthread_rwlock_rdlock): Likewise.
21421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21422 (__pthread_rwlock_tryrdlock): Likewise.
21423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21424 (__pthread_rwlock_wrlock): Likewise.
21425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21426 (__pthread_rwlock_trywrlock): Likewise.
21427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21428 (__pthread_rwlock_unlock): Likewise.
21429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21430 (__pthread_key_create): Likewise.
21431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21432 (__pthread_setspecific): Likewise.
21433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21434 (__pthread_getspecific): Likewise.
21435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21438 (_pthread_cleanup_push_defer): Likewise.
21439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21440 (_pthread_cleanup_pop_restore): Likewise.
21441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21442 (pthread_setcancelstate): Likewise.
21443 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21445 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21446 (memchr): Do not use BP_SYM in weak_alias.
21447 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21448 (fegetenv): Do not use BP_SYM in versioned symbols.
21449 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21450 (fesetenv): Do not use BP_SYM in versioned symbols.
21451 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21452 (feupdateenv): Do not use BP_SYM in versioned symbols.
21453 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21454 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21455 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21456 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21457 (open64): Do not use BP_SYM in weak_alias.
21458 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21459 (fegetenv): Do not use BP_SYM in versioned symbols.
21460 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21461 (fesetenv): Do not use BP_SYM in versioned symbols.
21462 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21463 (feupdateenv): Do not use BP_SYM in versioned symbols.
21464 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21465 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21466 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21467 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21468 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21469 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21470 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21472 (__libc_start_main): Do not use BP_SYM.
21474 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21477 redundant return line.
21479 (denorm): Likewise.
21480 (dbl_mp): Likewise.
21481 (sub_magnitudes): Likewise.
21487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21489 (denorm): Likewise.
21490 (dbl_mp): Likewise.
21491 (sub_magnitudes): Likewise.
21498 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21500 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21501 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21504 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21505 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21506 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21507 of __mul for squares.
21508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21512 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21513 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21515 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21518 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21520 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21521 prototype or function definition. Rename ubp_* variables and
21522 parameters. Remove argv definitions conditional on
21523 [__BOUNDED_POINTERS__].
21524 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21525 * elf/dl-runtime.c (_dl_fixup): Likewise.
21526 * include/set-hooks.h (RUN_HOOK): Likewise.
21527 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21529 * string/strcpy.c (strcpy): Do not use __unbounded.
21530 * sysdeps/generic/frame.h (struct layout): Likewise.
21531 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21532 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21533 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21534 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21535 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21536 (__backtrace): Likewise.
21537 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21539 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21540 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21541 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21543 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21544 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21545 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21546 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21547 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21548 Do not use __unbounded.
21549 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21550 Rename __unboundedrlimits parameter to rlimits in prototype.
21551 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21552 Do not use __unbounded.
21553 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21554 not use __ptrvalue.
21555 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21556 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21557 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21558 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21559 __ptrvalue or __unbounded.
21560 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21561 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21563 (__new_msgctl): Do not use __ptrvalue.
21564 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21566 (__libc_msgrcv): Do not use __ptrvalue.
21567 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21568 startup_info): Do not use __unbounded.
21569 (__libc_start_main): Likewise. Rename ubp_* variables and
21570 parameters. Remove argv definitions conditional on
21571 [__BOUNDED_POINTERS__].
21572 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21574 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21576 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21578 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21580 (__new_shmctl): Do not use __ptrvalue.
21581 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21582 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21584 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21585 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21586 (__libc_sigaction): Likewise.
21587 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21588 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21590 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21592 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21594 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21596 * string/mempcpy.c: Implement by calling memcpy.
21598 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21602 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21605 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21606 values in the mantissa.
21608 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21609 minimize writes to Z.
21610 (sub_magnitudes): Simplify code a bit.
21612 2013-02-12 Roland McGrath <roland@hack.frob.com>
21614 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21615 from the message. The linker prefixes all warnings with that already.
21617 2013-02-12 Andreas Schwab <schwab@suse.de>
21620 * posix/regexec.c (extend_buffers): Add parameter min_len.
21621 (check_matching): Pass minimum needed length.
21622 (clean_state_log_if_needed): Likewise.
21623 (get_subexp): Likewise.
21624 * posix/Makefile (tests): Add bug-regex34.
21625 (bug-regex34-ENV): Define.
21626 * posix/bug-regex34.c: New file.
21629 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21630 elements compare against the byte sequence of it, not its name.
21631 * posix/Makefile (tests): Add bug-regex35.
21632 (bug-regex35-ENV): Define.
21633 * posix/bug-regex35.c: New file.
21635 2013-02-11 Tom de Vries <tom@codesourcery.com>
21637 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21639 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21640 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21641 (CHECK_EOL): Add undef.
21643 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21645 * bits/stdlib-bsearch.h: New file.
21646 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21647 * stdlib/stdlib.h: Likewise.
21649 2013-02-11 Roland McGrath <roland@hack.frob.com>
21651 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21652 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21654 * manual/search.texi (Array Search Function): Add missing const in
21656 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21657 declaration to use rlim_t.
21658 (Basic Scheduling Functions): Remove erroneous const from
21659 sched_getparam prototype. Remove erroneous * from
21660 sched_get_priority_max and sched_get_priority_min prototypes.
21661 (Resource Usage): Fix summary @comment on vtimes to refer to
21662 sys/vtimes.h rather than vtimes.h.
21663 Add missing *s in vtimes prototype.
21664 (Limits on Resources): Fix ulimit prototype to return long int.
21665 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21666 prototypes to use long int rather than double.
21667 (BSD Random): Fix initstate and setstate to use char *, not void *.
21668 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21669 prototype to make second argument 'struct aiocb64 *const[]'.
21670 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21671 (Status of AIO Operations): Remove erroneous const in aio_return and
21672 aio_return64 prototypes.
21673 (Synchronizing I/O): Fix sync prototype to return void.
21674 * manual/startup.texi (Suboptions): Remove an erroneous const in
21675 getsubopt prototype.
21676 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21677 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21678 use size_t rather than int.
21679 (Scanning All Users): Likewise for getpwent_r.
21680 (Setting Groups): Add missing const to setgroups prototype.
21681 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21682 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21683 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21684 'const void *' rather than 'const char *'.
21685 (Host Address Functions): Likewise for inet_ntop.
21686 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21687 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21688 ssize_t for return value.
21689 (Sending Data): Likewise for send, sendto, sendmsg.
21690 (Socket Option Functions): Add a missing const in setsockopt prototype.
21691 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21692 use wchar_t for the argument.
21693 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21694 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21696 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21697 double/float/long double for second argument.
21698 Fix return types of significand, significandf, significandl.
21699 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21700 argument in fchmod prototype.
21701 (File Owner): Use uid_t and gid_t in fchown prototype.
21702 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21703 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21704 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21705 use 'const struct dirent **' as argument types to CMP function pointer
21707 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21708 (File Times): Fix summary magic @comment for struct utimbuf and utime
21709 to refer to utime.h, not time.h.
21710 * manual/string.texi (Argz Functions): Add missing const in
21711 argz_extract and argz_next prototypes.
21712 (Finding Tokens in a String): Likewise for basename.
21713 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21714 (Copying and Concatenation): Fix typo in wmemmove prototype.
21715 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21716 (Signal Stack): Remove erroneous const in sigstack prototype.
21717 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21719 (Simple Calendar Time): Likewise for stime.
21720 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21722 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21723 say sys/sysctl.h instead.
21724 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21725 and vsyslog prototypes.
21727 2013-02-11 Tom de Vries <tom@codesourcery.com>
21729 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21732 2013-02-11 Roland McGrath <roland@hack.frob.com>
21734 * misc/sys/mman.h: Fix typo in mremap comment.
21736 2013-02-08 Roland McGrath <roland@hack.frob.com>
21738 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21739 the '\0' terminator.
21741 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21744 * debug/segfault.c: Don't include <bp-checks.h>.
21745 * sysdeps/generic/bp-checks.h: Remove file.
21746 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21747 (__GETDENTS): Don't use CHECK_N.
21748 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21749 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21750 (__getgroups): Don't use CHECK_N.
21751 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21752 (setgroups): Don't use CHECK_N.
21753 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21754 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21755 (__libc_msgrcv): Don't use CHECK_N.
21756 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21757 (__libc_msgsnd): Don't use CHECK_N.
21758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21760 (__libc_pread): Don't use CHECK_N.
21761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21762 include <bp-checks.h>.
21763 (__libc_pread64): Don't use CHECK_N.
21764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21765 include <bp-checks.h>.
21766 (__libc_pwrite): Don't use CHECK_N.
21767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21768 include <bp-checks.h>.
21769 (__libc_pwrite64): Don't use CHECK_N.
21770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21772 (__libc_pread): Don't use CHECK_N.
21773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21774 include <bp-checks.h>.
21775 (__libc_pread64): Don't use CHECK_N.
21776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21777 include <bp-checks.h>.
21778 (__libc_pwrite): Don't use CHECK_N.
21779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21780 include <bp-checks.h>.
21781 (__libc_pwrite64): Don't use CHECK_N.
21782 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21783 (do_pread): Don't use CHECK_N.
21784 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21785 (do_pread64): Don't use CHECK_N.
21786 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21787 (do_pwrite): Don't use CHECK_N.
21788 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21789 (do_pwrite64): Don't use CHECK_N.
21790 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21791 (__libc_readv): Don't use CHECK_N.
21792 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21793 (semop): Don't use CHECK_N.
21794 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21796 (semtimedop): Don't use CHECK_N.
21797 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21798 (__libc_pread): Don't use CHECK_N.
21799 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21801 (__libc_pread64): Don't use CHECK_N.
21802 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21804 (__libc_pwrite): Don't use CHECK_N.
21805 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21807 (__libc_pwrite64): Don't use CHECK_N.
21808 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21810 (__libc_msgrcv): Don't use CHECK_N.
21811 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21812 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21813 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21814 (__libc_writev): Don't use CHECK_N.
21816 2013-02-08 Roland McGrath <roland@hack.frob.com>
21818 * string/strcpy.c: Removed unused variable.
21820 * Makeconfig (+sysdep-includes): Define with := rather than =.
21821 Use an existing include/ subdir of each sysdeps dir before it.
21823 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21825 * nscd/connection.c (register_traced_file): Comment function.
21826 [HAVE_INOTIFY] (union __inev): Define.
21827 [HAVE_INOTIFY] (inotify_check_files): New function.
21828 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21829 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21831 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21833 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21835 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21836 loaded if not already and that a failure is permanent.
21838 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21841 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21842 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21844 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21847 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21848 (CHECK_1_NULL_OK): Likewise.
21849 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21850 (__fxstat): Do not use CHECK_1.
21851 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21853 (___fxstat64): Do not use CHECK_1.
21854 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21856 (__fxstatat): Do not use CHECK_1.
21857 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21859 (__fxstatat64): Do not use CHECK_1.
21860 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21862 (__fxstat): Do not use CHECK_1.
21863 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21865 (__fxstatat): Do not use CHECK_1.
21866 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21868 (__getresgid): Do not use CHECK_1.
21869 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21871 (__getresuid): Do not use CHECK_1.
21872 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21874 (__lxstat): Do not use CHECK_1.
21875 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21877 (__old_msgctl): Do not use CHECK_1.
21878 (__new_msgctl): Likewise.
21879 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21881 (__new_setrlimit): Do not use CHECK_1.
21882 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21884 (__old_shmctl): Do not use CHECK_1.
21885 (__new_shmctl): Likewise.
21886 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21888 (__xstat): Do not use CHECK_1.
21889 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21890 (__lxstat): Do not use CHECK_1.
21891 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21893 (___lxstat64): Do not use CHECK_1.
21894 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21895 (__old_msgctl): Do not use CHECK_1.
21896 (__new_msgctl): Likewise.
21897 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21899 (__gettimeofday): Do not use CHECK_1.
21900 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21901 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21902 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21904 (__gettimeofday): Do not use CHECK_1.
21905 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21906 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21907 (__new_shmctl): Do not use CHECK_1.
21908 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21910 (do_sigtimedwait): Do not use CHECK_1.
21911 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21913 (do_sigwaitinfo): Do not use CHECK_1.
21914 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21916 (msgctl): Do not use CHECK_1.
21917 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21919 (shmctl): Do not use CHECK_1.
21920 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21921 (ustat): Do not use CHECK_1.
21922 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21924 (__fxstat): Do not use CHECK_1.
21925 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21927 (__fxstatat): Do not use CHECK_1.
21928 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21930 (__lxstat): Do not use CHECK_1.
21931 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21933 (__xstat): Do not use CHECK_1.
21934 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21935 (__xstat): Do not use CHECK_1.
21936 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21937 (___xstat64): Do not use CHECK_1.
21940 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21942 (CHECK_BOUNDS_HIGH): Likewise.
21943 * string/strcpy.c: Do not include <bp-checks.h>.
21944 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21946 2013-02-07 Roland McGrath <roland@hack.frob.com>
21948 * nscd/nscd-client.h (__nscd_drop_map_ref):
21949 Add __attribute__ ((unused)).
21950 * nis/nss-nisplus.h (niserr2nss): Likewise.
21952 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21953 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21955 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21956 Remove inline keyword.
21957 * include/rounding-mode.h (round_away): Likewise.
21958 * libio/wfileops.c (adjust_wide_data): Likewise.
21959 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21960 (__m128i_strloadu_tolower): Likewise.
21961 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21962 (__m128i_strloadu_tolower): Likewise.
21963 * time/mktime.c (ydhms_diff): Likewise.
21964 * locale/elem-hash.h (elem_hash): Likewise.
21965 * locale/setlocale.c (setdata): Likewise.
21966 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21967 (re_string_wchar_at): Likewise.
21968 (bitset_not, bitset_merge, bitset_mask): Likewise.
21969 [!(__GNUC__ > 3)] (inline): Remove macro.
21970 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21971 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21972 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21973 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21974 * string/memcmp.c (memcmp_bytes): Likewise.
21975 * locale/programs/locarchive.c (compute_hashval): Likewise.
21976 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21977 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21978 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21979 * nss/getent.c (print_rpc, print_protocols): Likewise.
21980 (print_passwd, print_group, print_aliases): Likewise.
21981 * nis/nss-nisplus.h (niserr2nss): Likewise.
21982 * nscd/connections.c (restart_p): Likewise.
21983 Change return type to bool.
21985 2013-02-05 Roland McGrath <roland@hack.frob.com>
21987 * Makeconfig (all-Depend-files): Add existing
21988 $(sorted-subdirs:=/Depend) files.
21989 (all-subdirs): Remove nss.
21990 * sysdeps/unix/inet/Subdirs: Add it here instead.
21991 * hesiod/Depend: New file.
21993 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21994 instead of calling alloca.
21996 * io/lseek.c (__lseek): Rename to __libc_lseek.
21997 Define __lseek as an alias.
21999 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22001 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22003 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22004 else clause and remove check for non-standard endianness.
22006 2013-02-04 David S. Miller <davem@davemloft.net>
22008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22010 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22013 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22014 (__ubp_memchr): Remove prototype.
22015 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22016 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22017 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22018 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22019 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22021 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22022 (__ubp_memchr): Likewise.
22023 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22024 (__ubp_memchr): Likewise.
22025 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22026 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22027 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22028 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22030 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22031 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22032 (__getcwd): Do not use CHECK_STRING.
22033 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22035 (__real_chown): Do not use CHECK_STRING.
22036 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22038 (fchownat): Do not use CHECK_STRING.
22039 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22041 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22043 (__lchown): Do not use CHECK_STRING.
22044 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22045 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22046 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22047 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22049 include <bp-checks.h>.
22050 (truncate64): Do not use CHECK_STRING.
22051 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22053 (__real_chown): Do not use CHECK_STRING.
22054 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22056 (__lchown): Do not use CHECK_STRING.
22057 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22059 (__chown): Do not use CHECK_STRING.
22060 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22062 (truncate64): Do not use CHECK_STRING.
22063 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22065 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22066 (__xmknod): Do not use CHECK_STRING.
22067 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22069 (__xmknodat): Do not use CHECK_STRING.
22070 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22071 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22073 2013-02-04 Andreas Schwab <schwab@suse.de>
22076 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22077 * include/netdb.h: Likewise for h_errno.
22078 * elf/tst-stackguard1.c: Include <tls.h>.
22080 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22082 * elf/link.h (struct link_map): Extend the l_addr comment.
22083 * include/link.h (struct link_map): Likewise.
22085 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22088 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22089 (BOUNDED_1): Remove macro.
22090 * debug/backtrace.c: Don't include <bp-checks.h>.
22091 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22092 (__backtrace): Likewise.
22093 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22095 (__backtrace): Don't use BOUNDED_1.
22096 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22098 (__backtrace): Don't use BOUNDED_1.
22099 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22100 (__backtrace): Don't use BOUNDED_1.
22101 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22102 (shmat): Don't use BOUNDED_N.
22104 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22107 * sysdeps/generic/bp-start.h: Remove file.
22108 * csu/libc-start.c: Don't include <bp-start.h>.
22109 (LIBC_START_MAIN): Set up __environ directly instead of using
22110 INIT_ARGV_and_ENVIRON.
22111 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22115 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22117 (CHECK_FCNTL): Likewise.
22118 (CHECK_N_PAGES): Likewise.
22121 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22123 (CHECK_SIGSET_NULL_OK): Likewise.
22124 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22126 (sigpending): Don't use CHECK_SIGSET.
22127 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22129 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22130 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22132 (do_sigsuspend): Don't use CHECK_SIGSET.
22133 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22135 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22136 (do_sigwait): Don't use CHECK_SIGSET.
22137 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22139 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22140 include <bp-checks.h>.
22141 (sigpending): Don't use CHECK_SIGSET.
22142 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22143 include <bp-checks.h>.
22144 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22145 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22147 (sigpending): Don't use CHECK_SIGSET.
22148 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22150 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22153 * sysdeps/generic/bp-semctl.h: Remove file.
22154 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22155 <bp-checks.h> and <bp-semctl.h>.
22156 (__old_semctl): Don't use CHECK_SEMCTL.
22157 (__new_semctl): Likewise.
22158 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22160 (__old_semctl): Don't use CHECK_SEMCTL.
22161 (__new_semctl): Likewise.
22162 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22163 <bp-checks.h> and <bp-semctl.h>.
22164 (__old_semctl): Don't use CHECK_SEMCTL.
22165 (__new_semctl): Likewise.
22166 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22167 <bp-checks.h> and <bp-semctl.h>.
22168 (semctl): Don't use CHECK_SEMCTL.
22171 * Makerules (elide-bp-thunks): Remove variable.
22172 (elide-routines.oS): Don't use $(elide-bp-thunks).
22173 (elide-routines.os): Likewise.
22174 (elide-routines.o): Likewise.
22175 (elide-routines.op): Likewise.
22176 (elide-routines.og): Likewise.
22177 (objects): Don't use $(bp-thunks).
22178 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22180 (common-generated): Do not add s-proto-bp.d.
22181 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22184 Do not generate makefile rules for bounded-pointer thunks.
22185 * sysdeps/generic/bp-thunks.h: Remove file.
22186 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22187 * sysdeps/unix/s-proto-bp.S: Likewise.
22190 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22191 parts of result separately when argument is not close to line from
22192 -i to i and one part of argument is small.
22193 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22194 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22195 * math/libm-test.inc (cacos_test): Add more tests.
22196 (casin_test): Likewise.
22197 (casinh_test): Likewise.
22198 * sysdeps/i386/fpu/libm-test-ulps: Update.
22199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22201 2013-01-31 David S. Miller <davem@davemloft.net>
22203 * po/de.po: Update from translation team.
22205 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22207 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22209 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22211 * configure.in (_AC_PROG_CC_C89): New definition.
22212 * configure: Regenerate.
22214 * configure.in (AC_PROG_CPP): New definition.
22215 * configure: Regenerate.
22217 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22219 * debug/tst-backtrace.h: New file.
22220 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22221 (ret): Remove variable.
22223 (FAIL): Remove macro.
22224 (NO_INLINE): Likewise.
22225 (fn1): Use match function instead of strstr.
22226 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22227 (ret): Remove variable.
22229 (FAIL): Remove macro.
22230 (NO_INLINE): Likewise.
22231 (fn): Use match function instead of strstr.
22232 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22233 (ret): Remove variable.
22235 (FAIL): Remove macro.
22236 (NO_INLINE): Likewise.
22237 (handle_signal): Use match function instead of strstr.
22238 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22239 (ret): Remove variable.
22241 (FAIL): Remove macro.
22242 (NO_INLINE): Likewise.
22243 (handle_signal): Use match function instead of strstr.
22245 2013-01-23 Roland McGrath <roland@hack.frob.com>
22247 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22249 2013-01-23 David S. Miller <davem@davemloft.net>
22251 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22252 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22253 argument of CAS if possible.
22254 * sysdeps/sparc/sparc64/bits/atomic.h
22255 (__arch_compare_and_exchange_val_32_acq): Likewise.
22256 (__arch_compare_and_exchange_val_64_acq): Likewise.
22258 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22260 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22261 * sysdeps/posix/ulimit.c: ... this.
22262 Include <limits.h>.
22263 * sysdeps/unix/bsd/ulimit.c: Remove file.
22265 2013-01-23 Adam Conrad <adconrad@0c3.net>
22267 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22268 (LDFLAGS-tst-array5): Likewise.
22270 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22273 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22274 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22275 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22276 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22278 2013-01-21 David S. Miller <davem@davemloft.net>
22280 * sysdeps/sparc/backtrace.c: New file.
22281 * sysdeps/sparc/sparc32/backtrace.h: New file.
22282 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22283 * sysdeps/sparc/sparc64/backtrace.h: New file.
22284 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22285 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22288 2013-01-21 Andreas Schwab <schwab@suse.de>
22291 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22294 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22300 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22301 Mark Mitchell <mark@codesourcery.com>
22302 Tom de Vries <tom@codesourcery.com>
22303 Paul Pluzhnikov <ppluzhnikov@google.com>
22305 * debug/tst-backtrace2.c: New file.
22306 * debug/tst-backtrace3.c: Likewise.
22307 * debug/tst-backtrace4.c: Likewise.
22308 * debug/tst-backtrace5.c: Likewise.
22309 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22310 (CFLAGS-tst-backtrace3.c): Likewise.
22311 (CFLAGS-tst-backtrace4.c): Likewise.
22312 (CFLAGS-tst-backtrace5.c): Likewise.
22313 (LDFLAGS-tst-backtrace2): Likewise.
22314 (LDFLAGS-tst-backtrace3): Likewise.
22315 (LDFLAGS-tst-backtrace4): Likewise.
22316 (LDFLAGS-tst-backtrace5): Likewise.
22317 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22318 tst-backtrace4 and tst-backtrace5.
22320 2013-01-18 Anton Blanchard <anton@samba.org>
22321 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22323 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22324 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22325 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22326 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22328 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22329 "+r" and remove output regs list as redundant. Add explicit inline
22330 asm to specify register of return val to work around compiler codegen
22331 bug. Remove (int) cast on return value. Add return type parameter to
22332 use in macro so that this macro does not truncate return value for
22334 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22335 pass to INTERNAL_VSYSCALL_NCS.
22336 (INLINE_VSYSCALL): Add 'long int' as return type to
22337 INTERNAL_VSYSCALL_NCS macro invocation.
22338 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22339 INTERNAL_VSYSCALL_NCS macro invocation.
22340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22342 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22345 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22346 Fix application of SIMD FP exception mask.
22348 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22349 mp_no from a power of two.
22350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22351 __mpexp_twomm1. Use __pow_mp.
22353 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22356 2013-01-17 David S. Miller <davem@davemloft.net>
22358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22360 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22363 * include/complex.h: Condition contents on [!_COMPLEX_H].
22364 (__kernel_casinhf): New prototype.
22365 (__kernel_casinh): Likewise.
22366 (__kernel_casinhl): Likewise.
22367 * math/Makefile (libm_calls): Add k_casinh.
22368 * math/k_casinh.c: New file.
22369 * math/k_casinhf.c: Likewise.
22370 * math/k_casinhl.c: Likewise.
22371 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22372 finite nonzero arguments.
22373 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22374 finite nonzero arguments.
22375 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22376 finite nonzero arguments.
22377 * math/s_casinh.c: Do not include <float.h>.
22378 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22379 * math/s_casinhf.c: Do not include <float.h>.
22380 (__casinhf): Move code for finite nonzero arguments to
22382 * math/s_casinhl.c: Do not include <float.h>.
22383 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22385 (__casinhl): Move code for finite nonzero arguments to
22387 * math/libm-test.inc (cacos_test): Add more tests.
22388 * sysdeps/i386/fpu/libm-test-ulps: Update.
22389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22391 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22393 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22394 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22395 [!HAVE_MREMAP]: Remove [defined linux] case.
22396 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22398 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22400 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22402 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22404 * elf/elf.h (R_386_SIZE32): New relocation.
22405 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22407 (elf_machine_rela): Likewise.
22408 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22409 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22411 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22413 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22414 (FP_FAST_FMA): Do not define.
22415 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22416 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22417 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22418 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22419 !_SOFT_FLOAT]: Likewise.
22420 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22421 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22423 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22424 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22425 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22426 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22427 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22428 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22431 2013-01-16 Andreas Schwab <schwab@suse.de>
22434 * include/stdlib.h (__mktemp): Add declaration.
22435 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22436 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22438 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22440 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22442 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22443 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22444 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22446 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22447 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22449 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22451 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22452 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22453 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22455 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22456 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22458 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22460 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22462 2013-01-15 David S. Miller <davem@davemloft.net>
22464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22465 trunc{,f} to libm-sysdep_routes.
22466 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22476 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22477 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22478 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22479 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22480 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22481 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22484 nearbyint{,f} to libm-sysdep_routes.
22485 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22496 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22498 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22499 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22501 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22502 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22503 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22505 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22506 libc_feholdexcept and libc_fesetenv.
22508 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22510 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22512 2013-01-14 David S. Miller <davem@davemloft.net>
22514 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22515 (SPARC_ASM_VIS2_IFUNC): Likewise.
22516 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22518 use of 'siam' instruction.
22519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22527 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22528 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22537 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22539 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22552 routines to libm-sysdep_routines.
22553 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22556 fdim/fdimf to libm-sysdep_routines.
22557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22565 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22566 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22567 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22568 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22570 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22572 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22573 to optimize copies.
22575 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22580 local variable MPTWO.
22581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22584 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22586 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22589 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22591 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22593 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22595 * manual/pattern.texi (glob_t): Document gl_flags.
22596 (glob64_t): Likewise.
22598 2013-01-11 David S. Miller <davem@davemloft.net>
22600 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22601 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22602 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22603 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22604 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22605 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22606 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22607 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22608 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22609 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22610 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22611 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22612 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22614 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22615 sparc V9 rather than using V8 code.
22616 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22617 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22619 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22621 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22624 2013-01-11 Roland McGrath <roland@hack.frob.com>
22626 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22627 not in the main loop.
22628 * configure: Regenerated.
22630 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22632 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22633 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22635 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22636 [!__GLIBC_HAVE_LONG_LONG] case.
22637 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22638 condition to just #else.
22639 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22640 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22641 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22642 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22644 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22645 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22646 #elif condition to just #else.
22647 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22648 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22649 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22650 #elif condition to just #else.
22652 2013-01-11 Steve Ellcey <sellcey@mips.com>
22654 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22655 (EF_MIPS_ARCH_64): Fix value.
22656 (EF_MIPS_ARCH_32R2): New.
22657 (EF_MIPS_ARCH_64R2): New.
22659 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22661 * Makeconfig (+link-pie-before-libc): New.
22662 (+link-pie-after-libc): Likewise.
22663 (+link-pie-tests): Likewise.
22664 (+link-pie): Rewritten.
22665 (link-before-libc): Remove $(config-LDFLAGS).
22666 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22667 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22668 (config-LDFLAGS): Renamed to ...
22669 (rtld-LDFLAGS): This.
22670 (rtld-tests-LDFLAGS): New macro.
22671 (link-libc-rpath-link): Likewise.
22672 (link-libc-tests-rpath-link): Likewise.
22673 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22674 (link-libc): Prepand $(link-libc-rpath-link).
22675 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22676 (test-program-prefix): New macro.
22677 (test-via-rtld-prefix): Likewise.
22678 (test-program-cmd): Likewise.
22679 (host-test-program-cmd): Likewise.
22680 * Makefile ($(common-objpfx)testrun.sh): Replace
22681 $(run-program-prefix) with $(test-program-prefix).
22682 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22684 ($(common-objpfx)shlib.lds): Likewise.
22685 (build-module-helper): Likewise.
22686 ($(common-objpfx)format.lds): Likewise.
22687 * Rules (binaries-pie-tests): New.
22688 (binaries-pie-notests): Likewise.
22689 (binaries-pie): Rewritten.
22690 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22691 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22692 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22693 (make-test-out): Replace $(host-built-program-cmd) with
22694 $(host-test-program-cmd).
22695 * config.make.in (build-hardcoded-path-in-tests): New variable.
22696 * configure.in (--enable-hardcoded-path-in-tests): New configure
22698 (hardcoded_path_in_tests): New AC_SUBST.
22699 * configure: Regenerated.
22700 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22701 $(built-program-cmd) with $(test-program-cmd).
22702 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22703 (test_program_cmd): This.
22704 * elf/Makefile ($(objpfx)order.out): Run test with
22705 $(test-program-prefix).
22706 ($(objpfx)order2.out): Likewise.
22707 ($(objpfx)tst-initorder.out): Likewise.
22708 ($(objpfx)tst-initorder2.out): Likewise.
22709 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22710 $(test-program-cmd).
22711 ($(objpfx)tst-array1-static.out): Likewise.
22712 ($(objpfx)tst-array2.out): Likewise.
22713 ($(objpfx)tst-array3.out): Likewise.
22714 ($(objpfx)tst-array4.out): Likewise.
22715 ($(objpfx)tst-array5.out): Likewise.
22716 ($(objpfx)tst-array5-static.out): Likewise.
22717 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22718 $(test-program-cmd).
22719 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22720 $(run-program-prefix) with $(test-program-prefix).
22721 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22722 (test_program_prefix): This.
22723 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22724 $(run-program-prefix) with $(test-program-prefix).
22725 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22726 (test_program_prefix): This.
22727 * iconvdata/tst-tables.sh: Likewise.
22728 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22729 $(run-program-prefix) with $(test-program-prefix).
22730 ($(objpfx)tst-translit.out): Likewise.
22731 ($(objpfx)tst-gettext2.out): Likewise.
22732 ($(objpfx)tst-gettext4.out): Likewise.
22733 ($(objpfx)tst-gettext6.out): Likewise.
22734 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22735 (test_program_prefix): This.
22736 * intl/tst-gettext2.sh: Likewise.
22737 * intl/tst-gettext4.sh Likewise.
22738 * intl/tst-gettext6.sh: Likewise.
22739 * intl/tst-translit.sh: Likewise.
22740 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22741 with $(test-program-cmd).
22742 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22743 $(run-program-prefix) with $(test-program-prefix).
22744 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22745 (test_program_prefix): This.
22746 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22747 $(run-program-prefix) with $(test-program-prefix).
22748 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22749 (test_program_prefix): This.
22750 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22751 * posix/Makefile ($(objpfx)globtest.out): Replace
22752 $(run-via-rtld-prefix) and $(test-wrapper) with
22753 $(test-program-prefix) and $(test-via-rtld-prefix).
22754 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22755 $(test-program-prefix).
22756 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22757 $(host-test-program-cmd).
22758 (tst-spawn-ARGS): Likewise.
22759 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22760 $(test-program-prefix).
22761 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22762 (test_via_rtld_prefix): This.
22763 (test_wrapper): Renamed to ...
22764 (test_program_prefix): This.
22765 (run_program_prefix): Replaced by test_program_prefix.
22766 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22767 (test_program_prefix): This.
22768 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22769 with $(host-test-program-cmd).
22770 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22771 $(run-program-prefix) with $(test-program-prefix).
22772 ($(objpfx)tst-printf.out): Likewise.
22773 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22774 $(test-program-cmd).
22775 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22776 (test_program_prefix): This.
22777 * stdio-common/tst-unbputc.sh: Likewise.
22778 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22779 $(run-program-prefix) with $(test-program-prefix).
22780 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22781 (test_program_prefix): This.
22782 * string/Makefile ($(objpfx)tst-svc.out): Replace
22783 $(built-program-cmd) with $(test-program-cmd).
22785 2013-01-11 Andreas Jaeger <aj@suse.de>
22788 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22789 value. Sync with Linux 3.7.
22791 2013-01-10 David S. Miller <davem@davemloft.net>
22793 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22794 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22795 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22797 2013-01-10 Roland McGrath <roland@hack.frob.com>
22799 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22801 * configure: Regenerated.
22803 2013-01-10 David S. Miller <davem@davemloft.net>
22805 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22806 sparc V9 rather than using V8 code.
22807 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22808 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22810 2013-01-10 Roland McGrath <roland@hack.frob.com>
22812 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22813 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22814 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22815 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22816 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22817 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22818 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22819 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22820 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22821 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22822 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22823 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22824 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22825 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22826 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22827 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22828 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22829 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22830 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22831 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22832 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22833 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22834 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22835 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22836 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22837 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22838 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22840 2013-01-10 David S. Miller <davem@davemloft.net>
22842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22844 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22846 * posix/Makefile (tests-static): New variable.
22847 (tests): Add $(tests-static).
22848 (tst-exec-static-ARGS): New variable.
22849 (tst-spawn-static-ARGS): Likewise.
22850 * posix/tst-exec-static.c: New file.
22851 * posix/tst-spawn-static.c: Likewise.
22852 * posix/tst-exec.c: Support run directly.
22853 * posix/tst-spawn.c: Likewise.
22855 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22857 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22859 * math/bits/mathcalls.h (llrint): Likewise.
22860 (llround): Likewise.
22861 * stdlib/stdlib.h (struct drand48_data): Likewise.
22862 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22863 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22864 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22866 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22868 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22869 (elf_greg_t): Likewise.
22870 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22871 (__jmp_buf): Likewise.
22872 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22874 (llrint): Likewise, for all definitions.
22875 (llrintl): Likewise.
22877 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22878 Remove [__GNUC__] condition.
22879 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22880 condition to just [__USE_ISOC99].
22881 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22883 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22886 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22887 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22889 (_POSIX_V6_ILP32_OFF32): Likewise.
22890 (_XBS5_ILP32_OFF32): Likewise.
22891 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22892 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22894 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22896 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22899 doubles __mpexp_twomm1. Adjust usage.
22900 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22903 2013-01-10 Andreas Schwab <schwab@suse.de>
22906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22907 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22909 2013-01-09 David S. Miller <davem@davemloft.net>
22912 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22913 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22914 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22915 (TCP_FASTOPEN): Define.
22916 (tcp_repair_opt): New structure.
22917 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22919 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22920 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22921 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22922 (tcp_cookie_transactions): New structure.
22924 2013-01-09 Anton Blanchard <anton@samba.org>
22926 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22927 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22928 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22929 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22931 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22933 * include/features.h (__USE_ANSI): Remove.
22935 2013-01-09 Roland McGrath <roland@hack.frob.com>
22937 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22939 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22941 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22943 * sysdeps/s390/fpu/libm-test-ulps: Update.
22945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22947 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22951 (denorm): Likewise.
22952 (__mp_dbl): Likewise.
22953 (__dbl_mp): Likewise.
22954 (add_magnitudes): Likewise.
22955 (sub_magnitudes): Likewise.
22961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22965 (denorm): Likewise.
22966 (__mp_dbl): Likewise.
22967 (__dbl_mp): Likewise.
22968 (add_magnitudes): Likewise.
22969 (sub_magnitudes): Likewise.
22975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22979 (denorm): Likewise.
22980 (__mp_dbl): Likewise.
22981 (__dbl_mp): Likewise.
22982 (add_magnitudes): Likewise.
22983 (sub_magnitudes): Likewise.
22990 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22992 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22993 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22994 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22995 2 && __USE_EXTERN_INLINES]: Likewise.
22997 2013-01-08 Andreas Jaeger <aj@suse.de>
23000 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23002 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23003 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23005 2013-01-07 Anton Blanchard <anton@samba.org>
23007 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23008 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23009 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23010 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23011 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23012 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23013 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23014 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23016 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23017 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23018 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23019 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23020 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23021 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23022 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23023 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23024 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23025 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23026 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23027 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23028 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23029 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23030 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23031 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23032 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23033 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23034 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23035 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23036 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23037 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23039 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23040 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23041 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23042 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23043 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23044 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23045 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23046 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23047 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23048 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23049 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23051 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23053 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23054 (__MALLOC_PMT): Likewise.
23055 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23056 [__GNUC__], only on [_LIBC].
23057 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23058 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23059 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23060 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23061 forward declaration.
23062 (realloc_hook_ini): Likewise.
23063 (memalign_hook_ini): Likewise.
23064 (__libc_memalign): Do not use __MALLOC_PMT in variable
23066 (__libc_valloc): Likewise.
23067 (__libc_pvalloc): Likewise.
23068 (__libc_calloc): Likewise.
23069 (__posix_memalign): Likewise.
23072 * math/s_casinh.c: Include <float.h>.
23073 (__casinh): Do not do computation with squaring and square root
23074 for large arguments.
23075 * math/s_casinhf.c: Include <float.h>.
23076 (__casinhf): Do not do computation with squaring and square root
23077 for large arguments.
23078 * math/s_casinhl.c: Include <float.h>.
23079 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23080 (__casinhl): Do not do computation with squaring and square root
23081 for large arguments.
23082 * math/libm-test.inc (casin_test): Add more tests.
23083 (casinh_test): Likewise.
23084 * sysdeps/i386/fpu/libm-test-ulps: Update.
23085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23087 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23089 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23090 (__x86_64_raw_data_cache_size): Likewise.
23091 (__x86_64_data_cache_size_half): Likewise.
23092 (__x86_64_raw_data_cache_size_half): Likewise.
23093 (__x86_64_shared_cache_size): Likewise.
23094 (__x86_64_raw_shared_cache_size): Likewise.
23095 (__x86_64_shared_cache_size_half): Likewise.
23096 (__x86_64_raw_shared_cache_size_half): Likewise.
23097 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23099 (__x86_data_cache_size): This.
23100 (__x86_64_raw_data_cache_size): Renamed to ...
23101 (__x86_raw_data_cache_size): This.
23102 (__x86_64_data_cache_size_half): Renamed to ...
23103 (__x86_data_cache_size_half): This.
23104 (__x86_64_raw_data_cache_size_half): Renamed to ...
23105 (__x86_raw_data_cache_size_half): This.
23106 (__x86_64_shared_cache_size): Renamed to ...
23107 (__x86_shared_cache_size): This.
23108 (__x86_64_raw_shared_cache_size): Renamed to ...
23109 (__x86_raw_shared_cache_size): This.
23110 (__x86_64_shared_cache_size_half): Renamed to ...
23111 (__x86_shared_cache_size_half): This.
23112 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23113 (__x86_raw_shared_cache_size_half): This.
23114 * sysdeps/x86_64/memcpy.S: Updated.
23115 * sysdeps/x86_64/memset.S: Likewise.
23116 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23117 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23118 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23120 2013-01-04 David S. Miller <davem@davemloft.net>
23122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23124 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23126 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23127 1 to avoid redefinition warning.
23128 (__USE_GNU): Don't define.
23129 (init_signaling_nan): Protoize.
23131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23133 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23135 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23137 (__cpymn): Likewise.
23138 (norm): Remove commented code.
23139 (denorm): Likewise.
23140 (__mp_dbl): Likewise.
23142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23143 (__cpymn): Likewise.
23144 (norm): Remove commented code.
23145 (denorm): Likewise.
23146 (__mp_dbl): Likewise.
23149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23150 mp_no value for 1.0 and 2.0.
23151 (norm): Use RADIXI instead of radixi.d.
23152 (denorm): Likewise.
23153 (__mul): Use 0.0 instead of zero.d.
23154 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23155 mp_no value for 1.0 and 2.0.
23156 (norm): Use RADIXI instead of radixi.d.
23157 (denorm): Likewise.
23158 (__mul): Use 0.0 instead of zero.d.
23160 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23163 * math/s_casinh.c (__casinh): Reduce finite argument to first
23164 quadrant then set signs of results at the end.
23165 * math/s_casinhf.c (__casinhf): Likewise.
23166 * math/s_casinhl.c (__casinhl): Likewise.
23167 * math/libm-test.inc (casin_test): Add more tests.
23168 (casinh_test): Likewise.
23169 * sysdeps/i386/fpu/libm-test-ulps: Update.
23170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23172 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23174 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23176 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23178 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23180 (denorm): Likewise.
23181 (__mp_dbl): Likewise.
23184 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23185 and adjust the header comment.
23187 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23188 variable name from declaration.
23190 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23193 Initialize COMMON_CPUID_INDEX_7 element.
23194 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23195 (CPUID_RTM): Likewise.
23196 (HAS_RTM): Likewise.
23197 (COMMON_CPUID_INDEX_7): New enum.
23199 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23202 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23203 size is zero, record memory as freed.
23205 2013-01-03 Andreas Jaeger <aj@suse.de>
23207 * po/ia.po: Add new Interlingua translation.
23209 2012-01-03 Allan McRae <allan@archlinux.org>
23211 * locale/programs/localedef.c: Fix description of '--posix' flag.
23213 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23215 * NEWS: Update dates in second copyright notice.
23216 * README: Update copyright dates in example.
23217 * manual/libc.texinfo: Update copyright dates.
23218 * scripts/test-installation.pl: Update copyright date in --version
23221 * hurd/ctty-input.c: Fix copyright notice formatting.
23222 * hurd/ctty-output.c: Likewise.
23223 * hurd/dtable.c: Likewise.
23224 * hurd/hurd-raise.c: Likewise.
23225 * hurd/hurdprio.c: Likewise.
23226 * hurd/msgportdemux.c: Likewise.
23227 * misc/sys/file.h: Likewise.
23228 * misc/sys/ioctl.h: Likewise.
23229 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23230 * sysdeps/mach/hurd/chdir.c: Likewise.
23231 * sysdeps/mach/hurd/fchdir.c: Likewise.
23232 * sysdeps/mach/hurd/rename.c: Likewise.
23233 * sysdeps/mach/hurd/rmdir.c: Likewise.
23234 * sysdeps/mach/hurd/seekdir.c: Likewise.
23235 * sysdeps/mach/hurd/setsid.c: Likewise.
23236 * sysdeps/posix/wait3.c: Likewise.
23238 * All files with FSF copyright notices: Update copyright dates
23239 using scripts/update-copyrights.
23240 * intl/plural.c: Regenerated.
23241 * locale/programs/charmap-kw.h: Likewise.
23242 * locale/programs/locfile-kw.h: Likewise.
23244 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23246 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23249 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23250 calculation loop and add branch prediction.
23252 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23253 check access beyond bounds of m1np.
23255 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23257 (__inv): Remove local variable MPTWO to use the global
23259 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23260 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23262 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23263 MP3HALFS static const.
23265 2013-01-01 David S. Miller <davem@davemloft.net>
23267 * po/ca.po: Update from translation team.
23269 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23271 * scripts/update-copyrights: New file.
23272 * Makeconfig: Reformat copyright notice.
23273 * ctype/ctype.h: Likewise.
23274 * debug/swprintf_chk.c: Likewise.
23275 * elf/dl-cache.c: Likewise.
23276 * elf/dl-debug.c: Likewise.
23277 * elf/dl-object.c: Likewise.
23278 * grp/initgroups.c: Likewise.
23279 * hurd/Makefile: Likewise.
23280 * hurd/hurd/signal.h: Likewise.
23281 * hurd/hurdfault.c: Likewise.
23282 * hurd/hurdioctl.c: Likewise.
23283 * hurd/hurdlookup.c: Likewise.
23284 * hurd/intr-msg.c: Likewise.
23285 * iconv/gconv_open.c: Likewise.
23286 * libio/swprintf.c: Likewise.
23287 * locale/lc-ctype.c: Likewise.
23288 * locale/nl_langinfo.c: Likewise.
23289 * mach/Machrules: Likewise.
23290 * mach/Makefile: Likewise.
23291 * malloc/obstack.h: Likewise.
23292 * manual/Makefile: Likewise.
23293 * manual/tsort.awk: Likewise.
23294 * misc/bits/stab.def: Likewise.
23295 * nis/nis_print_group_entry.c: Likewise.
23296 * nis/nis_table.c: Likewise.
23297 * nis/nss_compat/compat-pwd.c: Likewise.
23298 * nis/nss_compat/compat-spwd.c: Likewise.
23299 * po/Makefile: Likewise.
23300 * posix/fnmatch.c: Likewise.
23301 * posix/regex.h: Likewise.
23302 * resolv/Makefile: Likewise.
23303 * resolv/nss_dns/dns-network.c: Likewise.
23304 * resolv/res_hconf.c: Likewise.
23305 * scripts/gen-sorted.awk: Likewise.
23306 * soft-fp/soft-fp.h: Likewise.
23307 * stdio-common/printf.h: Likewise.
23308 * stdlib/monetary.h: Likewise.
23309 * stdlib/random.c: Likewise.
23310 * stdlib/random_r.c: Likewise.
23311 * sysdeps/generic/Makefile: Likewise.
23312 * sysdeps/gnu/Makefile: Likewise.
23313 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23314 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23323 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23336 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23337 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23338 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23339 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23340 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23341 * sysdeps/mach/hurd/errnos.awk: Likewise.
23342 * sysdeps/mach/hurd/fork.c: Likewise.
23343 * sysdeps/mach/hurd/getcwd.c: Likewise.
23344 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23345 * sysdeps/mach/hurd/mmap.c: Likewise.
23346 * sysdeps/mach/hurd/utimes.c: Likewise.
23347 * sysdeps/mach/hurd/xmknod.c: Likewise.
23348 * sysdeps/posix/profil.c: Likewise.
23349 * sysdeps/posix/readdir_r.c: Likewise.
23350 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23351 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23352 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23353 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23355 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23356 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23357 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23359 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23360 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23361 * sysdeps/pthread/lio_listio.c: Likewise.
23362 * sysdeps/sparc/dl-procinfo.h: Likewise.
23363 * sysdeps/unix/i386/sysdep.S: Likewise.
23364 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23365 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23366 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23367 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23369 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23370 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23371 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23372 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23373 * sysdeps/wordsize-32/divdi3.c: Likewise.
23374 * time/sys/time.h: Likewise.
23375 * wcsmbs/Makefile: Likewise.
23377 2013-01-01 David S. Miller <davem@davemloft.net>
23379 * po/fr.po: Update from translation team.
23381 * catgets/gencat.c: Update copyright year.
23382 * csu/version.c: Likewise.
23383 * debug/catchsegv.sh: Likewise.
23384 * debug/pcprofiledump.c: Likewise.
23385 * debug/xtrace.sh: Likewise.
23386 * elf/ldconfig.c: Likewise.
23387 * elf/ldd.bash.in: Likewise.
23388 * elf/pldd.c: Likewise.
23389 * elf/sotruss.ksh: Likewise.
23390 * elf/sprof.c: Likewise.
23391 * iconv/iconv_prog.c: Likewise.
23392 * iconv/iconvconfig.c: Likewise.
23393 * locale/programs/locale.c: Likewise.
23394 * locale/programs/localedef.c: Likewise.
23395 * login/programs/pt_chown.c: Likewise.
23396 * malloc/memusage.sh: Likewise.
23397 * malloc/memusagestat.c: Likewise.
23398 * malloc/mtrace.pl: Likewise.
23399 * nscd/nscd.c: Likewise.
23400 * nss/getent.c: Likewise.
23401 * nss/makedb.c: Likewise.
23402 * posix/getconf.c: Likewise.
23404 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23406 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23409 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23411 * math/bits/mathcalls.h (modf): Use __nonnull.
23413 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23415 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23416 (split): Use macro CN instead of the bare value.
23417 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23420 instead of the bare value.
23421 (power1): Likewise.
23423 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23425 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23427 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23429 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23431 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23432 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23433 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23434 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23436 2012-12-28 Andreas Jaeger <aj@suse.de>
23438 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23439 values are from Linux 3.7.
23441 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23442 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23444 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23446 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23449 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23451 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23452 variables with preprocessor constants.
23453 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23454 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23455 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23457 2012-12-27 Bruno Haible <bruno@clisp.org>
23460 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23463 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23465 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23466 and use variable directly.
23467 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23469 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23471 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23472 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23474 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23476 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23477 include directive. Remove local variable MPONE.
23478 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23479 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23480 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23482 2012-12-25 David S. Miller <davem@davemloft.net>
23484 * version.h (RELEASE): Set to "development".
23485 (VERSION): Set to "2.17.90".
23486 * NEWS: Add 2.18 section.
23488 2012-12-21 David S. Miller <davem@davemloft.net>
23490 * po/hr.po: Update from translation team.
23492 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23494 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23496 2012-12-19 Steve Ellcey <sellcey@mips.com>
23498 * NEWS: Mention new memcpy for MIPS.
23500 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23502 * manual/contrib.texi (Contributors): Spelling correction.
23504 2012-12-15 David S. Miller <davem@davemloft.net>
23506 * po/ru.po: Update from translation team.
23508 2012-12-13 David S. Miller <davem@davemloft.net>
23510 * NEWS: Mention IFUNC testsuite enhancements.
23512 * po/pl.po: Update from translation team.
23513 * po/bg.po: Likewise.
23515 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23516 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23518 2012-12-11 David S. Miller <davem@davemloft.net>
23520 * po/sv.po: Update from translation team.
23522 * po/vi.po: Update from translation team.
23524 * po/cs.po: Update from translation team.
23526 * po/de.po: Update from translation team.
23527 * po/eo.po: Likewise.
23528 * po/nl.po: Likewise.
23530 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23533 * manual/argp.texi (Argp Helper Functions): Move node to follow
23534 Argp Parsing State.
23537 * manual/conf.texi (Limits on File System Capacity): Mention if
23538 terminating null is included in the max size.
23540 2012-12-10 Andreas Jaeger <aj@suse.de>
23542 * po/cs.po: Update from translation team.
23544 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23546 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23547 void pointer and cast to uintptr_t.
23548 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23550 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23551 * sysdeps/s390/s390-64/memset.S: Likewise.
23553 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23556 * menual/message.texi (Message Translation): Fix typos.
23557 (Helper programs for gettext): Likewise.
23559 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23562 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23565 2012-12-07 David S. Miller <davem@davemloft.net>
23567 * po/libc.pot: Update.
23569 2012-12-07 Richard Henderson <rth@redhat.com>
23572 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23573 normal/normal case to before the switch.
23574 (_FP_DIV): Likewise.
23576 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23577 Mike Frysinger <vapier@gentoo.org>
23579 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23580 check for __NR_fadvise64_64.
23582 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23584 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23585 0, not just to plain "0" as a statement.
23586 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23589 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23591 * NEWS: Use sourceware.org in Bugzilla URL.
23593 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23596 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23598 * stdio-common/tst-put-error.c (do_test): Add newline to the
23599 padded test to ensure flush.
23601 2012-12-05 Jeff Law <law@redhat.com>
23603 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23605 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23607 * README: Don't refer to ports add-on as distributed separately.
23608 Mention AArch64 in list of systems supported in the ports add-on.
23610 * LICENSES: Add more non-FSF copyright and license notices.
23612 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23615 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23617 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23618 10000 as width of padded output.
23620 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23622 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23624 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23625 variable LX with __attribute__ ((unused)).
23626 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23628 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23629 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23630 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23631 with __attribute__ ((unused)).
23633 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23635 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23637 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23639 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23640 (CFLAGS-nldbl-acos.c): New variable.
23641 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23642 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23643 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23644 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23645 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23646 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23647 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23648 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23649 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23650 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23651 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23655 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23656 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23657 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23658 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23659 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23660 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23661 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23662 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23663 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23664 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23665 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23666 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23667 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23668 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23669 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23670 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23671 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23672 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23673 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23674 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23675 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23676 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23677 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23678 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23679 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23680 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23681 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23682 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23683 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23684 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23685 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23686 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23687 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23688 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23689 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23690 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23691 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23692 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23693 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23694 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23695 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23696 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23697 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23698 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23699 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23700 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23701 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23702 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23703 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23704 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23705 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23706 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23707 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23708 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23709 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23710 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23711 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23712 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23713 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23714 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23715 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23716 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23717 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23718 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23719 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23720 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23721 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23722 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23723 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23724 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23725 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23726 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23727 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23728 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23729 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23730 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23731 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23732 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23733 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23734 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23735 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23736 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23737 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23740 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23743 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23744 whole low double instead of just low 47 bits when splitting values
23747 2012-12-03 Allan McRae <allan@archlinux.org>
23749 * manual/stdio.texi (Predefined Printf Handlers): Remove
23750 @hsep and @vsep usage.
23752 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23754 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23755 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23757 2012-12-03 Jeff Law <law@redhat.com>
23759 * time/sys/time.h (settimeofday): Do not mark TV argument
23762 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23764 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23765 when currently writing and seek to current position when not.
23766 * libio/Makefile (tests): Remove bug-fclose1.
23767 * libio/bug-fclose1.c: Delete.
23769 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23771 * manual/arith.texi (feenableexcept): Fix typo.
23772 (fedisableexcept): Likewise.
23774 2012-11-30 Roland McGrath <roland@hack.frob.com>
23776 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23777 second, differently-typed declaration, rather than a cast.
23779 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23781 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23782 * include/rpc/svc.h: ... here.
23784 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23787 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23788 depending n and resplen2 to catch cases where answer
23791 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23793 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23794 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23796 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23798 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23800 2012-11-29 Roland McGrath <roland@hack.frob.com>
23802 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23804 2012-11-28 Jeff Law <law@redhat.com>
23807 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23808 dataset_temporary. Track alloca usage into alloca_used.
23809 If dataset is large allocate and release it via malloc/free.
23811 2012-06-04 Florian Weimer <fweimer@redhat.com>
23814 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23816 2012-11-28 David S. Miller <davem@davemloft.net>
23818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23820 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23823 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23824 of pi/2 rounded to nearest to 64 bits.
23825 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23826 nearest to 64 bits.
23827 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23830 2012-11-28 Jeff Law <law@redhat.com>
23831 Martin Osvald <mosvald@redhat.com>
23834 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23835 * sunrpc/svc.c: Include time.h.
23836 (__svc_accept_failed): New function.
23837 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23838 any reason other than EINTR, call __svc_accept_failed.
23839 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23840 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23842 2012-11-28 Andreas Schwab <schwab@suse.de>
23844 * scripts/abilist.awk: Also handle indirect functions in .opd
23847 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23850 * sysdeps/x86/fpu/powl_helper.c: New file.
23851 * sysdeps/x86/fpu/Makefile: Likewise.
23852 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23854 (__ieee754_powl): Use __powl_helper for finite arguments except
23855 integer exponents below 8.
23856 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23858 (__ieee754_powl): Use __powl_helper for finite arguments except
23859 integer exponents below 8.
23860 * math/libm-test.inc (pow_test): Add more tests and enable some
23861 previously disabled tests.
23862 * sysdeps/i386/fpu/libm-test-ulps: Update.
23863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23865 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23866 Carlos O'Donell <carlos_odonell@mentor.com>
23868 * nss/makedb.c (is_prime): Assert that input is odd and greater
23869 than 4. Note that fact in a comment too.
23870 (next_prime): Add 4 to input.
23872 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23875 * libio/Makefile (tests): Add test case tst-fwrite-error.
23876 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23877 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23878 * libio/tst-fwrite-error.c: New test case.
23880 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23882 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23883 before casting to void *.
23884 * include/libc-internal.h (__pointer_type): New macro.
23885 (__integer_if_pointer_type_sub): Likewise.
23886 (__integer_if_pointer_type): Likewise.
23887 (cast_to_integer): Likewise.
23888 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23889 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23890 before casting to atomic64_t.
23891 (atomic_exchange_acq): Likewise.
23892 (__arch_exchange_and_add_body): Likewise.
23893 (__arch_add_body): Likewise.
23894 (atomic_add_negative): Likewise.
23895 (atomic_add_zero): Likewise.
23897 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23899 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23900 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23901 (add_fdes): Likewise.
23902 (linear_search_fdes): Likewise.
23903 (binary_search_unencoded_fdes): Likewise.
23905 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23907 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23909 2012-11-24 Adam Conrad <adconrad@0c3.net>
23911 * configure.in: Autodetect C++ header directories.
23912 * configure: Regenerated.
23914 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23916 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23918 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23922 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23924 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23925 LDBL_MANT_DIG == 106]: Disable some tests.
23926 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23928 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23932 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23933 input for small inputs. Return +/- pi/2 for large inputs.
23934 * math/libm-test.inc (atan_test): Add more tests.
23936 * sysdeps/generic/unwind-dw2-fde-glibc.c
23937 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23938 __attribute__ ((unused)).
23941 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23942 x * y if x and y are nonzero and z is zero.
23945 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23946 nonzero exponents with absolute value below 0x1p-117 to +/-
23950 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23951 up arguments below 2**-450, not just those below 2**-500.
23952 * math/libm-test.inc (hypot_test): Add another test.
23955 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23956 Return a+b for ratio over 2**120, not 2**60.
23957 * math/libm-test.inc (hypot_test): Add another test.
23959 * math/libm-test.inc (clog_test): Use
23960 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23961 (clog10_test): Likewise.
23964 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23966 2012-11-22 Andreas Schwab <schwab@suse.de>
23968 * sysdeps/i386/fpu/libm-test-ulps: Update.
23970 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23972 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23973 printf output with newline.
23975 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23978 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23979 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23980 -z nodlopen, -z initfirst and -z execstack support.
23981 * configure: Regenerated.
23983 * elf/elf.h (DF_1_NODIRECT): New macro.
23984 (DF_1_IGNMULDEF): Likewise.
23985 (DF_1_NOKSYMS): Likewise.
23986 (DF_1_NOHDR): Likewise.
23987 (DF_1_EDITED): Likewise.
23988 (DF_1_NORELOC): Likewise.
23989 (DF_1_SYMINTPOSE): Likewise.
23990 (DF_1_GLOBAUDIT): Likewise.
23991 (DF_1_SINGLETON): Likewise.
23992 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23993 DT_1_SUPPORTED_MASK bits.
23994 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23996 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23998 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24000 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24002 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24005 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24006 (sendmmsg): Move declarations...
24007 * socket/sys/socket.h: ... here.
24008 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24009 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24011 * socket/recvmmsg.c: ... this new file.
24012 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24013 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24014 definition of __sendmmsg hidden.
24015 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24016 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24017 Move ENOSYS stub into and include it from...
24018 * socket/sendmmsg.c: ... this new file.
24019 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24020 (sysdep_routines): Move recvmmsg and sendmmsg...
24021 * socket/Makefile (routines): ... here.
24022 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24023 (GLIBC_PRIVATE): Add __sendmmsg.
24024 * include/sys/socket.h (__sendmmsg): Add declarations.
24025 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24028 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24030 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24031 variable I1 with __attribute__ ((unused)).
24032 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24034 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24036 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24037 DUMMY variables with __attribute__ ((unused)).
24039 * bits/byteswap.h: Include <bits/types.h>.
24040 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24042 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24044 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24045 string_t. Do not manually set errno.
24046 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24047 length with __strnlen. Make sure to both set errno and return it on
24050 2012-11-19 David S. Miller <davem@davemloft.net>
24052 With help from Joseph Myers.
24053 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24054 very large arguments properly.
24055 * math/libm-test.inc (atan_test): New tests.
24056 (atan2_test): New tests.
24057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24060 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24063 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24066 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24067 [POSIX] (EADDRNOTAVAIL): Likewise.
24068 [POSIX] (EAFNOSUPPORT): Likewise.
24069 [POSIX] (EALREADY): Likewise.
24070 [POSIX] (ECONNABORTED): Likewise.
24071 [POSIX] (ECONNREFUSED): Likewise.
24072 [POSIX] (ECONNRESET): Likewise.
24073 [POSIX] (EDESTADDRREQ): Likewise.
24074 [POSIX] (EDQUOT): Likewise.
24075 [POSIX] (EHOSTUNREACH): Likewise.
24076 [POSIX] (EIDRM): Likewise.
24077 [POSIX] (EISCONN): Likewise.
24078 [POSIX] (ELOOP): Likewise.
24079 [POSIX] (EMULTIHOP): Likewise.
24080 [POSIX] (ENETDOWN): Likewise.
24081 [POSIX] (ENETUNREACH): Likewise.
24082 [POSIX] (ENOBUFS): Likewise.
24083 [POSIX] (ENODATA): Likewise.
24084 [POSIX] (ENOLINK): Likewise.
24085 [POSIX] (ENOMSG): Likewise.
24086 [POSIX] (ENOPROTOOPT): Likewise.
24087 [POSIX] (ENOSR): Likewise.
24088 [POSIX] (ENOSTR): Likewise.
24089 [POSIX] (ENOTCONN): Likewise.
24090 [POSIX] (ENOTSOCK): Likewise.
24091 [POSIX] (EOPNOTSUPP): Likewise.
24092 [POSIX] (EOVERFLOW): Likewise.
24093 [POSIX] (EPROTO): Likewise.
24094 [POSIX] (EPROTONOSUPPORT): Likewise.
24095 [POSIX] (EPROTOTYPE): Likewise.
24096 [POSIX] (ESTALE): Likewise.
24097 [POSIX] (ETIME): Likewise.
24098 [POSIX] (ETXTBSY): Likewise.
24099 [POSIX] (EWOULDBLOCK): Likewise.
24100 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24101 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24102 [POSIX] (SEEK_CUR): Likewise.
24103 [POSIX] (SEEK_END): Likewise.
24104 [POSIX || UNIX98] (mode_t): Do not require.
24105 [POSIX] (off_t): Likewise.
24106 [POSIX] (pid_t): Likewise.
24107 [POSIX] (sys/stat.h): Do not allow header.
24108 [POSIX] (unistd.h): Likewise.
24109 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24110 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24111 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24112 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24114 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24115 sigevent): Specify elements.
24116 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24118 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24119 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24121 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24122 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24123 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24124 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24125 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24126 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24127 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24128 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24129 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24130 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24131 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24132 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24133 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24134 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24136 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24138 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24140 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24142 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24143 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24144 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24145 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24146 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24147 Specify lower bound on value.
24148 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24149 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24150 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24151 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24152 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24153 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24154 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24155 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24157 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24159 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24160 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24161 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24162 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24163 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24164 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24165 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24166 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24167 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24168 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24169 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24170 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24171 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24172 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24173 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24174 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24176 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24178 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24179 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24180 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24181 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24182 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24183 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24185 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24186 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24187 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24188 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24189 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24190 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24191 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24193 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24194 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24195 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24196 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24197 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24198 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24199 specify as optional.
24200 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24201 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24202 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24203 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24204 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24205 [XPG3] (NL_LANGMAX): Likewise.
24206 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24207 [POSIX || XPG3] (NL_NMAX): Likewise.
24208 [POSIX || XPG3] (NL_SETMAX): Likewise.
24209 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24210 [XPG3] (NZERO): Likewise.
24211 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24212 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24213 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24214 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24215 (REG_ERANGE): Expect.
24216 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24218 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24219 Use (void) in prototype.
24220 [POSIX] (*_t): Allow.
24221 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24222 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24223 (WRDE_BADVAL): Expect.
24225 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24227 [XPG3 || XPG4] (O_RSYNC): Likewise.
24228 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24230 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24231 [XPG3 || XPG4] (sigqueue): Likewise.
24232 [XPG3 || XPG4] (sigtimedwait): Likewise.
24233 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24234 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24235 [XPG3 || XPG4] (vsnprintf): Likewise.
24236 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24238 [XPG3 || XPG4] (blksize_t): Likewise.
24239 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24241 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24242 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24243 [XPG3 || XPG4] (struct itimerspec): Likewise.
24244 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24245 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24246 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24247 [XPG3 || XPG4] (clockid_t): Likewise.
24248 [XPG3 || XPG4] (timer_t): Likewise.
24249 [XPG3 || XPG4] (clock_getres): Likewise.
24250 [XPG3 || XPG4] (clock_gettime): Likewise.
24251 [XPG3 || XPG4] (clock_settime): Likewise.
24252 [XPG3 || XPG4] (nanosleep): Likewise.
24253 [XPG3 || XPG4] (timer_create): Likewise.
24254 [XPG3 || XPG4] (timer_delete): Likewise.
24255 [XPG3 || XPG4] (timer_gettime): Likewise.
24256 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24257 [XPG3 || XPG4] (timer_settime): Likewise.
24258 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24259 [XPG3 || XPG4] (getlogin_r): Likewise.
24260 [XPG3 || XPG4] (pread): Likewise.
24261 [XPG3 || XPG4] (pthread_atfork): Likewise.
24262 [XPG3 || XPG4] (pwrite): Likewise.
24265 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24268 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24270 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24271 finalizing MALLSTREAM.
24273 * sysdeps/mach/hurd/syncfs.c: New file.
24275 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24278 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24279 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24280 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24281 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24282 (_nss_dns_gethostbyname4_r): Likewise.
24283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24284 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24286 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24289 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24291 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24293 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24294 * elf/cache.c (print_entry): Print ",AArch64" for
24297 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24298 * elf/cache.c (print_entry): Print ",hard-float" for
24301 2012-11-18 David S. Miller <davem@davemloft.net>
24303 With help from Joseph Myers.
24304 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24306 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24308 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24309 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24311 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24312 * math/libm-test.inc (y0_test): New tests.
24313 (y1_test): New tests.
24314 * sysdeps/i386/fpu/libm-test-ulps: Update.
24315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24318 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24320 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24322 * configure: Regenerated.
24324 2012-11-17 David S. Miller <davem@davemloft.net>
24327 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24328 nonzero exponents with absolute value below 0x1p-128 to +/-
24331 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24333 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24335 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24337 * posix/getconf-speclist.c: New file.
24338 * posix/posix-envs.def: Likewise.
24339 * posix/confstr.c (START_ENV_GROUP): New macro.
24340 (END_ENV_GROUP): Likewise.
24341 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24342 (KNOWN_PRESENT_ENV_STRING): Likewise.
24343 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24344 (UNKNOWN_ENVIRONMENT): Likewise.
24345 (confstr): Include posix-envs.def instead of handling
24346 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24347 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24348 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24349 (END_ENV_GROUP): Likewise.
24350 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24351 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24352 (UNKNOWN_ENVIRONMENT): Likewise.
24353 (__sysconf): Include posix-envs.def instead of handling associated
24354 cases directly here.
24355 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24356 preprocessing getconf-speclist.c rather than running getconf or
24357 generating empty file.
24359 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24361 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24363 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24366 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24368 2012-11-16 David S. Miller <davem@davemloft.net>
24370 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24371 smaller than LDBL_EPSILON/2.0L, just return xm1.
24373 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24375 * elf/tst-array1.c (init): Set constructor priority to 1000.
24376 (fini): Set destructor priority to 1000.
24377 * elf/tst-array2dep.c: Likewise.
24379 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24382 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24383 (_IO_new_file_xsputn): Also return EOF if none of the input
24384 data was written when overflow failed.
24385 * libio/iopadn.c (_IO_padn): Likewise.
24386 * libio/iowpadn.c (_IO_wpadn): Likewise.
24387 * stdio-common/tst-put-error.c: Add copyright notice.
24388 (do_test): Add case for printing padded string.
24389 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24390 _IO_padn returned error.
24391 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24392 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24395 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24397 * libio/libioP.h: Add comment note that the references to C++
24398 bits are now obsolete.
24400 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24402 * math/libm-test.inc (check_complex): Use asprintf.
24404 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24406 * debug/pcprofiledump.c (print_version): Update copyright year.
24407 * malloc/memusagestat.c (print_version): Likewise.
24409 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24412 * elf/Makefile (tests): Add tst-audit8.
24413 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24414 ($(objpfx)tst-audit8.out): New target.
24415 (tst-audit8-ENV): New variable.
24416 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24417 audit if l_reloc_result is NULL.
24418 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24419 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24420 * elf/tst-audit8.c: New file.
24422 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24424 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24425 * misc/Makefile (CFLAGS-select.c): Define.
24426 * posix/Makefile (CFLAGS-pause.c): Define.
24428 2012-11-13 David S. Miller <davem@davemloft.net>
24430 * crypt/Makefile: Move test targets after toplevel Rules
24431 inclusion. Grab any necessary sysdep routines when linking.
24432 * crypt/md5.c (md5_process_block): Remove define, we will always
24433 name it __md5_process_block.
24434 (md5_finish_ctx): Update md5_process_block call.
24435 (md5_stream): Likewise.
24436 (md5_process_bytes): Likewise.
24437 (md5_process_block): Rename to __md5_process_block and move to ...
24438 * crypt/md5-block.c: ... here.
24439 * crypt/sha256.c (sha256_process_block): Move to ...
24440 * crypt/sha256-block.c: ... here.
24441 * crypt/sha512.c (sha512_process_block): Move to ...
24442 * crypt/sha512-block.c: ... here.
24443 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24445 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24446 * sysdeps/sparc/sparc64/multiarch/Makefile
24447 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24449 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24450 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24452 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24453 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24454 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24455 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24456 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24457 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24458 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24459 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24460 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24462 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24463 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24465 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24467 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24469 * timezone/tzselect.ksh: Update from tzcode git revision
24470 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24471 * timezone/zdump.c: Likewise.
24472 * timezone/zic.c: Likewise.
24473 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24474 in TZVERSION setting, not $(PKGVERSION).
24475 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24476 REPORT_BUGS_TO settings.
24479 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24482 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24484 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24485 detection to immediately after _FP_ROUND().
24486 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24489 2012-11-11 David S. Miller <davem@davemloft.net>
24491 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24493 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24494 __close rather than their public counterparts.
24496 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24498 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24500 [UNIX98] (sem_timedwait): Do not expect.
24501 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24502 [XPG4 || UNIX98] (sockatmark): Do not expect.
24503 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24504 (clock_getcpuclockid): Do not expect.
24505 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24506 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24508 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24509 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24510 [UNIX98] (vwscanf): Likewise.
24511 [UNIX98] (vswscanf): Likewise.
24513 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24515 * timezone/version.h: Remove file.
24516 * timezone/README: Do not refer to version.h.
24517 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24518 $(objpfx)version.h.
24519 ($(objpfx)zdump.o): Likewise.
24520 ($(objpfx)version.h): New target.
24522 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24524 * timezone/README: Don't mention modification to tzselect.ksh.
24525 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24526 work on unmodified tzselect.ksh. Substitute version numbers in
24529 * Makefile (format-me): Remove.
24530 (INSTALL): Adjust indentation. Use commands directly instead of
24531 using $(format-me).
24533 * aclocal.m4 (ACX_PKGVERSION): New macro.
24534 (ACX_BUGURL): Likewise.
24535 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24536 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24537 (REPORT_BUGS_TO): Likewise.
24538 * configure: Regenerated.
24539 * config.h.in (PKGVERSION): New macro.
24540 (REPORT_BUGS_TO): Likewise.
24541 * config.make.in (PKGVERSION): New variable.
24542 (PKGVERSION_TEXI): Likewise.
24543 (REPORT_BUGS_TO): Likewise.
24544 (REPORT_BUGS_TEXI): Likewise.
24545 * Makefile (format-me): Use -I$(common-objpfx)manual.
24546 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24547 ($(common-objpfx)manual/%): New target.
24548 (manual/%): Remove target.
24549 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24550 (print_version): Use PKGVERSION.
24551 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24552 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24553 and REPORT_BUGS_TO.
24554 ($(objpfx)xtrace): Likewise.
24555 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24556 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24557 (print_version): Use PKGVERSION.
24558 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24559 (do_version): Use PKGVERSION.
24560 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24562 (common-ldd-rewrite): Likewise.
24563 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24564 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24565 (print_version): Use PKGVERSION.
24566 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24567 * elf/pldd.c (argp_program_bug_address): Remove variable.
24568 (more_help): New function.
24569 (argp): Use more_help.
24570 (print_version): Use PKGVERSION.
24571 * elf/sln.c (main): Use PKGVERSION.
24572 (usage): Use REPORT_BUGS_TO.
24573 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24574 (top level): Use PKGVERSION.
24575 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24576 (print_version): Use PKGVERSION.
24577 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24578 (print_version): Use PKGVERSION.
24579 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24580 (print_version): Use PKGVERSION.
24581 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24582 (print_version): Use PKGVERSION.
24583 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24584 (print_version): Use PKGVERSION.
24585 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24586 (print_version): Use PKGVERSION.
24587 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24589 ($(objpfx)memusage): Likewise.
24590 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24591 (do_version): Use PKGVERSION.
24592 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24593 (print_version): Use PKGVERSION.
24594 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24595 ($PKGVERSION): New variable.
24596 ($REPORT_BUGS_TO): Likewise.
24597 (usage): Use $REPORT_BUGS_TO.
24598 (top level): Use $PKGVERSION.
24599 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24600 ($(objpfx)pkgvers.texi): New rule.
24601 ($(objpfx)stamp-pkgvers): Likewise.
24602 * manual/install.texi: Include pkgvers.texi.
24603 (--with-pkgversion): Document new configure option.
24604 (--with-bugurl): Likewise.
24605 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24606 than necessarily for this particular distribution. Use
24607 REPORT_BUGS_TO for where to report bugs.
24608 * INSTALL: Regenerated.
24609 * manual/libc.texinfo: Include pkgvers.texi.
24610 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24611 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24612 (print_version): Use PKGVERSION.
24613 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24614 (print_version): Use PKGVERSION.
24615 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24616 (print_version): Use PKGVERSION.
24617 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24618 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24620 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24621 (print_version): Use PKGVERSION.
24622 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24623 (print_version): Use PKGVERSION.
24624 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24627 * timezone/checktab.awk: Update from tzcode 2012i.
24628 * timezone/ialloc.c: Likewise.
24629 * timezone/private.h: Likewise.
24630 * timezone/scheck.c: Likewise.
24631 * timezone/tzfile.h: Likewise.
24632 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24633 (TZVERSION): Hardcode tzcode version number.
24634 * timezone/zdump.c: Update from tzcode 2012i.
24635 * timezone/zic.c: Likewise.
24636 * timezone/version.h: New file.
24637 * timezone/README: Describe version.h. Update upstream location.
24640 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24641 (mktemp): Enable declaration.
24642 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24643 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24644 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24645 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24647 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24651 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24653 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24655 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24659 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24660 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24661 for copies of such integer values.
24662 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24663 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24665 2012-11-09 Andreas Jaeger <aj@suse.de>
24667 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24668 definitions and declarations that are provided by
24669 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24671 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24673 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24674 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24675 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24678 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24680 * elf/elf.h: Update comment before AArch64 relocations.
24682 2012-11-07 David S. Miller <davem@davemloft.net>
24684 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24685 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24686 (__start_context): Declare.
24687 (__makecontext_ret): Delete.
24688 (__makecontext): Hook up __start_context instead of
24690 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24691 (sysdep_routines): Add __start_context when in stdlib.
24693 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24695 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24696 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24697 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24699 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24700 (READELF): New variable. Use it instead of hardcoded "readelf".
24702 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24704 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24705 * sysdeps/x86/Makefile: Here.
24706 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24707 * sysdeps/x86/tst-xmmymm.sh: This.
24709 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24711 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24713 [UNIX98] (pthread_barrier_t): Do not expect.
24714 [UNIX98] (pthread_barrierattr_t): Likewise.
24715 [UNIX98] (pthread_spinlock_t): Likewise.
24716 [UNIX98] (pthread_barrier_destroy): Likewise.
24717 [UNIX98] (pthread_barrier_init): Likewise.
24718 [UNIX98] (pthread_barrier_wait): Likewise.
24719 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24720 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24721 [UNIX98] (pthread_barrierattr_init): Likewise.
24722 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24723 [UNIX98] (pthread_getcpuclockid): Likewise.
24724 [UNIX98] (pthread_mutex_timedlock): Likewise.
24725 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24726 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24727 [UNIX98] (pthread_sigmask): Likewise.
24728 [UNIX98] (pthread_spin_destroy): Likewise.
24729 [UNIX98] (pthread_spin_init): Likewise.
24730 [UNIX98] (pthread_spin_lock): Likewise.
24731 [UNIX98] (pthread_spin_trylock): Likewise.
24732 [UNIX98] (pthread_spin_unlock): Likewise.
24733 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24735 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24736 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24737 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24738 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24739 [XPG3 || XPG4] (pthread_key_t): Likewise.
24740 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24741 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24742 [XPG3 || XPG4] (pthread_once_t): Likewise.
24743 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24744 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24745 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24746 [XPG3 || XPG4] (pthread_t): Likewise.
24748 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24750 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24752 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24753 Change function return type to int.
24755 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24756 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24757 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24758 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24759 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24760 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24761 [!POSIX] (posix_madvise): Likewise.
24762 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24764 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24765 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24766 (mode_t): Likewise.
24767 (posix_mem_offset): Likewise.
24768 (posix_typed_mem_get_info): Likewise.
24769 (posix_typed_mem_open): Likewise.
24771 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24772 Change condition to [XOPEN2K8].
24774 * conform/conformtest.pl: Preprocess allow-header data with -x c
24775 instead of from stdin.
24776 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24777 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24778 [C99-based standards] (cerfc): Likewise.
24779 [C99-based standards] (cexp2): Likewise.
24780 [C99-based standards] (cexpm1): Likewise.
24781 [C99-based standards] (clog10): Likewise.
24782 [C99-based standards] (clog1p): Likewise.
24783 [C99-based standards] (clog2): Likewise.
24784 [C99-based standards] (clgamma): Likewise.
24785 [C99-based standards] (ctgamma): Likewise.
24786 [C99-based standards] (cerff): Likewise.
24787 [C99-based standards] (cerfcf): Likewise.
24788 [C99-based standards] (cexp2f): Likewise.
24789 [C99-based standards] (cexpm1f): Likewise.
24790 [C99-based standards] (clog10f): Likewise.
24791 [C99-based standards] (clog1pf): Likewise.
24792 [C99-based standards] (clog2f): Likewise.
24793 [C99-based standards] (clgammaf): Likewise.
24794 [C99-based standards] (ctgammaf): Likewise.
24795 [C99-based standards] (cerfl): Likewise.
24796 [C99-based standards] (cerfcl): Likewise.
24797 [C99-based standards] (cexp2l): Likewise.
24798 [C99-based standards] (cexpm1l): Likewise.
24799 [C99-based standards] (clog10l): Likewise.
24800 [C99-based standards] (clog1pl): Likewise.
24801 [C99-based standards] (clog2l): Likewise.
24802 [C99-based standards] (clgammal): Likewise.
24803 [C99-based standards] (ctgammal): Likewise.
24804 * conform/data/inttypes.h-data [C99-based standards]: Include
24805 stdint.h-data. Remove all expectations for stdint.h contents.
24806 [C99-based standards] (PRI*): Do not allow.
24807 [C99-based standards] (SCN*): Likewise.
24808 [C99-based standards] (*_t): Likewise.
24809 [C99-based-standards] (PRId8): Expect macro.
24810 [C99-based-standards] (PRIi8): Likewise.
24811 [C99-based-standards] (PRIo8): Likewise.
24812 [C99-based-standards] (PRIu8): Likewise.
24813 [C99-based-standards] (PRIx8): Likewise.
24814 [C99-based-standards] (PRIX8): Likewise.
24815 [C99-based-standards] (SCNd8): Likewise.
24816 [C99-based-standards] (SCNi8): Likewise.
24817 [C99-based-standards] (SCNo8): Likewise.
24818 [C99-based-standards] (SCNu8): Likewise.
24819 [C99-based-standards] (SCNx8): Likewise.
24820 [C99-based-standards] (PRIdLEAST8): Likewise.
24821 [C99-based-standards] (PRIiLEAST8): Likewise.
24822 [C99-based-standards] (PRIoLEAST8): Likewise.
24823 [C99-based-standards] (PRIuLEAST8): Likewise.
24824 [C99-based-standards] (PRIxLEAST8): Likewise.
24825 [C99-based-standards] (PRIXLEAST8): Likewise.
24826 [C99-based-standards] (SCNdLEAST8): Likewise.
24827 [C99-based-standards] (SCNiLEAST8): Likewise.
24828 [C99-based-standards] (SCNoLEAST8): Likewise.
24829 [C99-based-standards] (SCNuLEAST8): Likewise.
24830 [C99-based-standards] (SCNxLEAST8): Likewise.
24831 [C99-based-standards] (PRIdFAST8): Likewise.
24832 [C99-based-standards] (PRIiFAST8): Likewise.
24833 [C99-based-standards] (PRIoFAST8): Likewise.
24834 [C99-based-standards] (PRIuFAST8): Likewise.
24835 [C99-based-standards] (PRIxFAST8): Likewise.
24836 [C99-based-standards] (PRIXFAST8): Likewise.
24837 [C99-based-standards] (SCNdFAST8): Likewise.
24838 [C99-based-standards] (SCNiFAST8): Likewise.
24839 [C99-based-standards] (SCNoFAST8): Likewise.
24840 [C99-based-standards] (SCNuFAST8): Likewise.
24841 [C99-based-standards] (SCNxFAST8): Likewise.
24842 [C99-based-standards] (PRId16): Likewise.
24843 [C99-based-standards] (PRIi16): Likewise.
24844 [C99-based-standards] (PRIo16): Likewise.
24845 [C99-based-standards] (PRIu16): Likewise.
24846 [C99-based-standards] (PRIx16): Likewise.
24847 [C99-based-standards] (PRIX16): Likewise.
24848 [C99-based-standards] (SCNd16): Likewise.
24849 [C99-based-standards] (SCNi16): Likewise.
24850 [C99-based-standards] (SCNo16): Likewise.
24851 [C99-based-standards] (SCNu16): Likewise.
24852 [C99-based-standards] (SCNx16): Likewise.
24853 [C99-based-standards] (PRIdLEAST16): Likewise.
24854 [C99-based-standards] (PRIiLEAST16): Likewise.
24855 [C99-based-standards] (PRIoLEAST16): Likewise.
24856 [C99-based-standards] (PRIuLEAST16): Likewise.
24857 [C99-based-standards] (PRIxLEAST16): Likewise.
24858 [C99-based-standards] (PRIXLEAST16): Likewise.
24859 [C99-based-standards] (SCNdLEAST16): Likewise.
24860 [C99-based-standards] (SCNiLEAST16): Likewise.
24861 [C99-based-standards] (SCNoLEAST16): Likewise.
24862 [C99-based-standards] (SCNuLEAST16): Likewise.
24863 [C99-based-standards] (SCNxLEAST16): Likewise.
24864 [C99-based-standards] (PRIdFAST16): Likewise.
24865 [C99-based-standards] (PRIiFAST16): Likewise.
24866 [C99-based-standards] (PRIoFAST16): Likewise.
24867 [C99-based-standards] (PRIuFAST16): Likewise.
24868 [C99-based-standards] (PRIxFAST16): Likewise.
24869 [C99-based-standards] (PRIXFAST16): Likewise.
24870 [C99-based-standards] (SCNdFAST16): Likewise.
24871 [C99-based-standards] (SCNiFAST16): Likewise.
24872 [C99-based-standards] (SCNoFAST16): Likewise.
24873 [C99-based-standards] (SCNuFAST16): Likewise.
24874 [C99-based-standards] (SCNxFAST16): Likewise.
24875 [C99-based-standards] (PRId32): Likewise.
24876 [C99-based-standards] (PRIi32): Likewise.
24877 [C99-based-standards] (PRIo32): Likewise.
24878 [C99-based-standards] (PRIu32): Likewise.
24879 [C99-based-standards] (PRIx32): Likewise.
24880 [C99-based-standards] (PRIX32): Likewise.
24881 [C99-based-standards] (SCNd32): Likewise.
24882 [C99-based-standards] (SCNi32): Likewise.
24883 [C99-based-standards] (SCNo32): Likewise.
24884 [C99-based-standards] (SCNu32): Likewise.
24885 [C99-based-standards] (SCNx32): Likewise.
24886 [C99-based-standards] (PRIdLEAST32): Likewise.
24887 [C99-based-standards] (PRIiLEAST32): Likewise.
24888 [C99-based-standards] (PRIoLEAST32): Likewise.
24889 [C99-based-standards] (PRIuLEAST32): Likewise.
24890 [C99-based-standards] (PRIxLEAST32): Likewise.
24891 [C99-based-standards] (PRIXLEAST32): Likewise.
24892 [C99-based-standards] (SCNdLEAST32): Likewise.
24893 [C99-based-standards] (SCNiLEAST32): Likewise.
24894 [C99-based-standards] (SCNoLEAST32): Likewise.
24895 [C99-based-standards] (SCNuLEAST32): Likewise.
24896 [C99-based-standards] (SCNxLEAST32): Likewise.
24897 [C99-based-standards] (PRIdFAST32): Likewise.
24898 [C99-based-standards] (PRIiFAST32): Likewise.
24899 [C99-based-standards] (PRIoFAST32): Likewise.
24900 [C99-based-standards] (PRIuFAST32): Likewise.
24901 [C99-based-standards] (PRIxFAST32): Likewise.
24902 [C99-based-standards] (PRIXFAST32): Likewise.
24903 [C99-based-standards] (SCNdFAST32): Likewise.
24904 [C99-based-standards] (SCNiFAST32): Likewise.
24905 [C99-based-standards] (SCNoFAST32): Likewise.
24906 [C99-based-standards] (SCNuFAST32): Likewise.
24907 [C99-based-standards] (SCNxFAST32): Likewise.
24908 [C99-based-standards] (PRId64): Likewise.
24909 [C99-based-standards] (PRIi64): Likewise.
24910 [C99-based-standards] (PRIo64): Likewise.
24911 [C99-based-standards] (PRIu64): Likewise.
24912 [C99-based-standards] (PRIx64): Likewise.
24913 [C99-based-standards] (PRIX64): Likewise.
24914 [C99-based-standards] (SCNd64): Likewise.
24915 [C99-based-standards] (SCNi64): Likewise.
24916 [C99-based-standards] (SCNo64): Likewise.
24917 [C99-based-standards] (SCNu64): Likewise.
24918 [C99-based-standards] (SCNx64): Likewise.
24919 [C99-based-standards] (PRIdLEAST64): Likewise.
24920 [C99-based-standards] (PRIiLEAST64): Likewise.
24921 [C99-based-standards] (PRIoLEAST64): Likewise.
24922 [C99-based-standards] (PRIuLEAST64): Likewise.
24923 [C99-based-standards] (PRIxLEAST64): Likewise.
24924 [C99-based-standards] (PRIXLEAST64): Likewise.
24925 [C99-based-standards] (SCNdLEAST64): Likewise.
24926 [C99-based-standards] (SCNiLEAST64): Likewise.
24927 [C99-based-standards] (SCNoLEAST64): Likewise.
24928 [C99-based-standards] (SCNuLEAST64): Likewise.
24929 [C99-based-standards] (SCNxLEAST64): Likewise.
24930 [C99-based-standards] (PRIdFAST64): Likewise.
24931 [C99-based-standards] (PRIiFAST64): Likewise.
24932 [C99-based-standards] (PRIoFAST64): Likewise.
24933 [C99-based-standards] (PRIuFAST64): Likewise.
24934 [C99-based-standards] (PRIxFAST64): Likewise.
24935 [C99-based-standards] (PRIXFAST64): Likewise.
24936 [C99-based-standards] (SCNdFAST64): Likewise.
24937 [C99-based-standards] (SCNiFAST64): Likewise.
24938 [C99-based-standards] (SCNoFAST64): Likewise.
24939 [C99-based-standards] (SCNuFAST64): Likewise.
24940 [C99-based-standards] (SCNxFAST64): Likewise.
24941 [C99-based-standards] (PRIdMAX): Likewise.
24942 [C99-based-standards] (PRIiMAX): Likewise.
24943 [C99-based-standards] (PRIoMAX): Likewise.
24944 [C99-based-standards] (PRIuMAX): Likewise.
24945 [C99-based-standards] (PRIxMAX): Likewise.
24946 [C99-based-standards] (PRIXMAX): Likewise.
24947 [C99-based-standards] (SCNdMAX): Likewise.
24948 [C99-based-standards] (SCNiMAX): Likewise.
24949 [C99-based-standards] (SCNoMAX): Likewise.
24950 [C99-based-standards] (SCNuMAX): Likewise.
24951 [C99-based-standards] (SCNxMAX): Likewise.
24952 [C99-based-standards] (PRIdPTR): Likewise.
24953 [C99-based-standards] (PRIiPTR): Likewise.
24954 [C99-based-standards] (PRIoPTR): Likewise.
24955 [C99-based-standards] (PRIuPTR): Likewise.
24956 [C99-based-standards] (PRIxPTR): Likewise.
24957 [C99-based-standards] (PRIXPTR): Likewise.
24958 [C99-based-standards] (SCNdPTR): Likewise.
24959 [C99-based-standards] (SCNiPTR): Likewise.
24960 [C99-based-standards] (SCNoPTR): Likewise.
24961 [C99-based-standards] (SCNuPTR): Likewise.
24962 [C99-based-standards] (SCNxPTR): Likewise.
24963 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24965 * conform/data/stdint.h-data: Update comments to clarify
24967 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24969 [C99-based standards] (INT8_MAX): Likewise.
24970 [C99-based standards] (INT16_MIN): Likewise.
24971 [C99-based standards] (INT16_MAX): Likewise.
24972 [C99-based standards] (INT32_MIN): Likewise.
24973 [C99-based standards] (INT32_MAX): Likewise.
24974 [C99-based standards] (INT64_MIN): Likewise.
24975 [C99-based standards] (INT64_MAX): Likewise.
24976 [C99-based standards] (UINT8_MAX): Likewise.
24977 [C99-based standards] (UINT16_MAX): Likewise.
24978 [C99-based standards] (UINT32_MAX): Likewise.
24979 [C99-based standards] (UINT64_MAX): Likewise.
24980 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24981 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24982 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24983 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24984 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24985 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24986 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24987 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24988 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24989 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24990 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24991 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24992 [C99-based standards] (INT_FAST8_MIN): Likewise.
24993 [C99-based standards] (INT_FAST8_MAX): Likewise.
24994 [C99-based standards] (INT_FAST16_MIN): Likewise.
24995 [C99-based standards] (INT_FAST16_MAX): Likewise.
24996 [C99-based standards] (INT_FAST32_MIN): Likewise.
24997 [C99-based standards] (INT_FAST32_MAX): Likewise.
24998 [C99-based standards] (INT_FAST64_MIN): Likewise.
24999 [C99-based standards] (INT_FAST64_MAX): Likewise.
25000 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25001 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25002 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25003 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25004 [C99-based standards] (INTPTR_MIN): Likewise.
25005 [C99-based standards] (INTPTR_MAX): Likewise.
25006 [C99-based standards] (UINTPTR_MAX): Likewise.
25007 [C99-based standards] (INTMAX_MIN): Likewise.
25008 [C99-based standards] (INTMAX_MAX): Likewise.
25009 [C99-based standards] (UINTMAX_MAX): Likewise.
25010 [C99-based standards] (PTRDIFF_MIN): Likewise.
25011 [C99-based standards] (PTRDIFF_MAX): Likewise.
25012 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25013 [C99-based standards] (SIZE_MAX): Likewise.
25014 [C99-based standards] (WCHAR_MAX): Likewise.
25015 [C99-based standards] (WINT_MAX): Likewise.
25016 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25017 constraint on value.
25018 [C99-based standards] (WCHAR_MIN): Likewise.
25019 [C99-based standards] (WINT_MIN): Likewise.
25020 [C99-based standards] (*_t): Allow.
25021 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25022 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25023 Include math.h-data and complex.h-data. Remove all expectations
25024 of math.h and complex.h contents.
25025 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25027 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25028 (struct tm): Expect tag.
25029 [C99-based-standards] (wcstof): Expect function.
25030 [C99-based-standards] (wcstold): Likewise.
25031 [C99-based-standards] (wcstoll): Likewise.
25032 [C99-based-standards] (wcstoull): Likewise.
25033 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25034 macro-int-constant. Specify type.
25035 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25036 constraint on value.
25037 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25039 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25041 [ISO C standards]: Do not allow headers.
25042 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25043 wcs[abcdefghijklmnopqrstuvwxyz]*.
25044 [ISO C standards] (*_t): Do not allow.
25045 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25047 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25048 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25050 [ISO C standards]: Do not allow headers.
25051 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25052 is[abcdefghijklmnopqrstuvwxyz]*.
25053 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25054 to[abcdefghijklmnopqrstuvwxyz]*.
25055 [ISO C standards] (*_t): Do not allow.
25056 * conform/data/stdalign.h-data: New file.
25057 * conform/data/stdbool.h-data: Likewise.
25058 * conform/data/stdnoreturn.h-data: Likewise.
25060 2012-11-07 Roland McGrath <roland@hack.frob.com>
25063 * manual/filesys.texi (Directory Entries): Typo fix.
25064 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25066 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25068 * elf/elf.h (EM_AARCH64): New macro.
25069 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25070 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25071 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25072 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25073 (R_AARCH64_TLSDESC): Likewise.
25074 (NT_ARM_TLS): Likewise.
25075 (NT_ARM_HW_BREAK): Likewise.
25076 (NT_ARM_HW_WATCH): Likewise.
25078 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25081 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25082 (__ieee754_powl): Saturate nonzero exponents with absolute value
25083 below 0x1p-79 to +/- 0x1p-79.
25084 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25085 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25086 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25087 nonzero exponents with absolute value below 0x1p-32 to +/-
25089 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25090 (__ieee754_powl): Saturate nonzero exponents with absolute value
25091 below 0x1p-79 to +/- 0x1p-79.
25092 * math/libm-test.inc (pow_test): Add more tests.
25094 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25096 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25097 _dl_s390_cap_flags with kernel. Increase string length.
25098 (_dl_s390_platforms): Add z196 and zEC12.
25100 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25102 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25103 Change XOPEN21K to XOPEN2K.
25105 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25107 * string/memmove.c: Use memcpy when possible.
25109 2012-11-06 Andreas Jaeger <aj@suse.de>
25111 * po/eo.po: Update from translation team.
25113 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25117 exponent and small x and y exponents, scale x or y up. Increase
25118 by 2 the exponent used in scaling up.
25119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25121 * math/libm-test.inc (fma_test): Add more tests.
25122 (fma_test_towardzero): Likewise.
25123 (fma_test_downward): Likewise.
25124 (fma_test_upward): Likewise.
25126 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25129 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25133 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25134 namespace for names of struct fields.
25135 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25137 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25138 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25140 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25143 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25145 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25147 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25151 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25154 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25158 definitely overflow as x * y not x * y + z.
25159 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25160 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25161 * math/libm-test.inc (fma_test): Add more tests.
25162 (fma_test_towardzero): Likewise.
25163 (fma_test_downward): Likewise.
25164 (fma_test_upward): Likewise.
25166 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25170 * include/stub-tag.h: Remove file.
25171 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25173 * manual/maint.texi (Porting): Don't reference it.
25174 * Makerules ($(objpfx)stubs): Likewise.
25175 * dirent/closedir.c: Don't include <stub-tag.h>.
25176 * dirent/dirfd.c: Likewise.
25177 * dirent/fdopendir.c: Likewise.
25178 * dirent/getdents.c: Likewise.
25179 * dirent/getdents64.c: Likewise.
25180 * dirent/opendir.c: Likewise.
25181 * dirent/readdir.c: Likewise.
25182 * dirent/readdir64.c: Likewise.
25183 * dirent/readdir64_r.c: Likewise.
25184 * dirent/readdir_r.c: Likewise.
25185 * dirent/rewinddir.c: Likewise.
25186 * dirent/seekdir.c: Likewise.
25187 * dirent/telldir.c: Likewise.
25188 * gmon/profil.c: Likewise.
25189 * grp/setgroups.c: Likewise.
25190 * inet/if_index.c: Likewise.
25191 * io/access.c: Likewise.
25192 * io/chdir.c: Likewise.
25193 * io/chmod.c: Likewise.
25194 * io/chown.c: Likewise.
25195 * io/close.c: Likewise.
25196 * io/dup.c: Likewise.
25197 * io/dup2.c: Likewise.
25198 * io/dup3.c: Likewise.
25199 * io/euidaccess.c: Likewise.
25200 * io/faccessat.c: Likewise.
25201 * io/fchdir.c: Likewise.
25202 * io/fchmod.c: Likewise.
25203 * io/fchmodat.c: Likewise.
25204 * io/fchown.c: Likewise.
25205 * io/fchownat.c: Likewise.
25206 * io/fcntl.c: Likewise.
25207 * io/flock.c: Likewise.
25208 * io/fstatfs.c: Likewise.
25209 * io/fstatfs64.c: Likewise.
25210 * io/fstatvfs.c: Likewise.
25211 * io/fstatvfs64.c: Likewise.
25212 * io/futimens.c: Likewise.
25213 * io/fxstat.c: Likewise.
25214 * io/fxstat64.c: Likewise.
25215 * io/fxstatat.c: Likewise.
25216 * io/fxstatat64.c: Likewise.
25217 * io/getcwd.c: Likewise.
25218 * io/isatty.c: Likewise.
25219 * io/lchmod.c: Likewise.
25220 * io/lchown.c: Likewise.
25221 * io/link.c: Likewise.
25222 * io/linkat.c: Likewise.
25223 * io/lseek.c: Likewise.
25224 * io/lseek64.c: Likewise.
25225 * io/lxstat64.c: Likewise.
25226 * io/mkdir.c: Likewise.
25227 * io/mkdirat.c: Likewise.
25228 * io/mkfifo.c: Likewise.
25229 * io/mkfifoat.c: Likewise.
25230 * io/open.c: Likewise.
25231 * io/open64.c: Likewise.
25232 * io/openat.c: Likewise.
25233 * io/openat64.c: Likewise.
25234 * io/pipe.c: Likewise.
25235 * io/pipe2.c: Likewise.
25236 * io/poll.c: Likewise.
25237 * io/posix_fadvise.c: Likewise.
25238 * io/posix_fadvise64.c: Likewise.
25239 * io/posix_fallocate.c: Likewise.
25240 * io/posix_fallocate64.c: Likewise.
25241 * io/read.c: Likewise.
25242 * io/readlink.c: Likewise.
25243 * io/readlinkat.c: Likewise.
25244 * io/rmdir.c: Likewise.
25245 * io/sendfile.c: Likewise.
25246 * io/sendfile64.c: Likewise.
25247 * io/statfs.c: Likewise.
25248 * io/statfs64.c: Likewise.
25249 * io/statvfs.c: Likewise.
25250 * io/statvfs64.c: Likewise.
25251 * io/symlink.c: Likewise.
25252 * io/symlinkat.c: Likewise.
25253 * io/ttyname.c: Likewise.
25254 * io/ttyname_r.c: Likewise.
25255 * io/umask.c: Likewise.
25256 * io/unlink.c: Likewise.
25257 * io/unlinkat.c: Likewise.
25258 * io/utime.c: Likewise.
25259 * io/utimensat.c: Likewise.
25260 * io/write.c: Likewise.
25261 * io/xmknod.c: Likewise.
25262 * io/xmknodat.c: Likewise.
25263 * io/xstat.c: Likewise.
25264 * io/xstat64.c: Likewise.
25265 * login/getpt.c: Likewise.
25266 * login/grantpt.c: Likewise.
25267 * login/unlockpt.c: Likewise.
25268 * math/e_acoshl.c: Likewise.
25269 * math/e_acosl.c: Likewise.
25270 * math/e_asinl.c: Likewise.
25271 * math/e_atan2l.c: Likewise.
25272 * math/e_atanhl.c: Likewise.
25273 * math/e_coshl.c: Likewise.
25274 * math/e_expl.c: Likewise.
25275 * math/e_fmodl.c: Likewise.
25276 * math/e_gammal_r.c: Likewise.
25277 * math/e_hypotl.c: Likewise.
25278 * math/e_j0l.c: Likewise.
25279 * math/e_j1l.c: Likewise.
25280 * math/e_jnl.c: Likewise.
25281 * math/e_lgammal_r.c: Likewise.
25282 * math/e_log10l.c: Likewise.
25283 * math/e_log2l.c: Likewise.
25284 * math/e_logl.c: Likewise.
25285 * math/e_powl.c: Likewise.
25286 * math/e_rem_pio2l.c: Likewise.
25287 * math/e_sinhl.c: Likewise.
25288 * math/e_sqrtl.c: Likewise.
25289 * math/fclrexcpt.c: Likewise.
25290 * math/fedisblxcpt.c: Likewise.
25291 * math/feenablxcpt.c: Likewise.
25292 * math/fegetenv.c: Likewise.
25293 * math/fegetexcept.c: Likewise.
25294 * math/fegetround.c: Likewise.
25295 * math/feholdexcpt.c: Likewise.
25296 * math/fesetenv.c: Likewise.
25297 * math/fesetround.c: Likewise.
25298 * math/feupdateenv.c: Likewise.
25299 * math/fgetexcptflg.c: Likewise.
25300 * math/fraiseexcpt.c: Likewise.
25301 * math/fsetexcptflg.c: Likewise.
25302 * math/ftestexcept.c: Likewise.
25303 * math/k_cosl.c: Likewise.
25304 * math/k_rem_pio2l.c: Likewise.
25305 * math/k_sinl.c: Likewise.
25306 * math/k_tanl.c: Likewise.
25307 * math/s_asinhl.c: Likewise.
25308 * math/s_atanl.c: Likewise.
25309 * math/s_cbrtl.c: Likewise.
25310 * math/s_erfl.c: Likewise.
25311 * math/s_expm1l.c: Likewise.
25312 * math/s_log1pl.c: Likewise.
25313 * math/s_tanhl.c: Likewise.
25314 * misc/acct.c: Likewise.
25315 * misc/brk.c: Likewise.
25316 * misc/chflags.c: Likewise.
25317 * misc/chroot.c: Likewise.
25318 * misc/fchflags.c: Likewise.
25319 * misc/fgetxattr.c: Likewise.
25320 * misc/flistxattr.c: Likewise.
25321 * misc/fremovexattr.c: Likewise.
25322 * misc/fsetxattr.c: Likewise.
25323 * misc/fsync.c: Likewise.
25324 * misc/ftruncate.c: Likewise.
25325 * misc/futimes.c: Likewise.
25326 * misc/futimesat.c: Likewise.
25327 * misc/getdomain.c: Likewise.
25328 * misc/getdtsz.c: Likewise.
25329 * misc/gethostid.c: Likewise.
25330 * misc/gethostname.c: Likewise.
25331 * misc/getloadavg.c: Likewise.
25332 * misc/getpagesize.c: Likewise.
25333 * misc/getsysstats.c: Likewise.
25334 * misc/getxattr.c: Likewise.
25335 * misc/gtty.c: Likewise.
25336 * misc/ioctl.c: Likewise.
25337 * misc/lgetxattr.c: Likewise.
25338 * misc/listxattr.c: Likewise.
25339 * misc/llistxattr.c: Likewise.
25340 * misc/lremovexattr.c: Likewise.
25341 * misc/lsetxattr.c: Likewise.
25342 * misc/lutimes.c: Likewise.
25343 * misc/madvise.c: Likewise.
25344 * misc/mincore.c: Likewise.
25345 * misc/mlock.c: Likewise.
25346 * misc/mlockall.c: Likewise.
25347 * misc/mmap.c: Likewise.
25348 * misc/mprotect.c: Likewise.
25349 * misc/msync.c: Likewise.
25350 * misc/munlock.c: Likewise.
25351 * misc/munlockall.c: Likewise.
25352 * misc/munmap.c: Likewise.
25353 * misc/preadv.c: Likewise.
25354 * misc/preadv64.c: Likewise.
25355 * misc/ptrace.c: Likewise.
25356 * misc/pwritev.c: Likewise.
25357 * misc/pwritev64.c: Likewise.
25358 * misc/readv.c: Likewise.
25359 * misc/reboot.c: Likewise.
25360 * misc/remap_file_pages.c: Likewise.
25361 * misc/removexattr.c: Likewise.
25362 * misc/revoke.c: Likewise.
25363 * misc/select.c: Likewise.
25364 * misc/setdomain.c: Likewise.
25365 * misc/setegid.c: Likewise.
25366 * misc/seteuid.c: Likewise.
25367 * misc/sethostid.c: Likewise.
25368 * misc/sethostname.c: Likewise.
25369 * misc/setregid.c: Likewise.
25370 * misc/setreuid.c: Likewise.
25371 * misc/setxattr.c: Likewise.
25372 * misc/sstk.c: Likewise.
25373 * misc/stty.c: Likewise.
25374 * misc/swapoff.c: Likewise.
25375 * misc/swapon.c: Likewise.
25376 * misc/sync.c: Likewise.
25377 * misc/syncfs.c: Likewise.
25378 * misc/syscall.c: Likewise.
25379 * misc/truncate.c: Likewise.
25380 * misc/ualarm.c: Likewise.
25381 * misc/usleep.c: Likewise.
25382 * misc/ustat.c: Likewise.
25383 * misc/utimes.c: Likewise.
25384 * misc/vhangup.c: Likewise.
25385 * misc/writev.c: Likewise.
25386 * posix/_exit.c: Likewise.
25387 * posix/alarm.c: Likewise.
25388 * posix/execve.c: Likewise.
25389 * posix/fexecve.c: Likewise.
25390 * posix/fork.c: Likewise.
25391 * posix/fpathconf.c: Likewise.
25392 * posix/getaddrinfo.c: Likewise.
25393 * posix/getegid.c: Likewise.
25394 * posix/geteuid.c: Likewise.
25395 * posix/getgid.c: Likewise.
25396 * posix/getgroups.c: Likewise.
25397 * posix/getlogin.c: Likewise.
25398 * posix/getlogin_r.c: Likewise.
25399 * posix/getpgid.c: Likewise.
25400 * posix/getpid.c: Likewise.
25401 * posix/getppid.c: Likewise.
25402 * posix/getresgid.c: Likewise.
25403 * posix/getresuid.c: Likewise.
25404 * posix/getsid.c: Likewise.
25405 * posix/getuid.c: Likewise.
25406 * posix/glob64.c: Likewise.
25407 * posix/nanosleep.c: Likewise.
25408 * posix/pathconf.c: Likewise.
25409 * posix/pause.c: Likewise.
25410 * posix/posix_madvise.c: Likewise.
25411 * posix/pread.c: Likewise.
25412 * posix/pread64.c: Likewise.
25413 * posix/pwrite.c: Likewise.
25414 * posix/pwrite64.c: Likewise.
25415 * posix/sched_getaffinity.c: Likewise.
25416 * posix/sched_getp.c: Likewise.
25417 * posix/sched_gets.c: Likewise.
25418 * posix/sched_primax.c: Likewise.
25419 * posix/sched_primin.c: Likewise.
25420 * posix/sched_rr_gi.c: Likewise.
25421 * posix/sched_setaffinity.c: Likewise.
25422 * posix/sched_setp.c: Likewise.
25423 * posix/sched_sets.c: Likewise.
25424 * posix/sched_yield.c: Likewise.
25425 * posix/setgid.c: Likewise.
25426 * posix/setlogin.c: Likewise.
25427 * posix/setpgid.c: Likewise.
25428 * posix/setresgid.c: Likewise.
25429 * posix/setresuid.c: Likewise.
25430 * posix/setsid.c: Likewise.
25431 * posix/setuid.c: Likewise.
25432 * posix/sleep.c: Likewise.
25433 * posix/spawni.c: Likewise.
25434 * posix/sysconf.c: Likewise.
25435 * posix/times.c: Likewise.
25436 * posix/wait.c: Likewise.
25437 * posix/wait3.c: Likewise.
25438 * posix/wait4.c: Likewise.
25439 * posix/waitpid.c: Likewise.
25440 * resolv/gai_sigqueue.c: Likewise.
25441 * resource/getpriority.c: Likewise.
25442 * resource/getrlimit.c: Likewise.
25443 * resource/getrusage.c: Likewise.
25444 * resource/nice.c: Likewise.
25445 * resource/setpriority.c: Likewise.
25446 * resource/setrlimit.c: Likewise.
25447 * resource/ulimit.c: Likewise.
25448 * rt/aio_cancel.c: Likewise.
25449 * rt/aio_fsync.c: Likewise.
25450 * rt/aio_read.c: Likewise.
25451 * rt/aio_sigqueue.c: Likewise.
25452 * rt/aio_suspend.c: Likewise.
25453 * rt/aio_write.c: Likewise.
25454 * rt/clock_getres.c: Likewise.
25455 * rt/clock_gettime.c: Likewise.
25456 * rt/clock_nanosleep.c: Likewise.
25457 * rt/clock_settime.c: Likewise.
25458 * rt/lio_listio.c: Likewise.
25459 * rt/mq_close.c: Likewise.
25460 * rt/mq_getattr.c: Likewise.
25461 * rt/mq_notify.c: Likewise.
25462 * rt/mq_open.c: Likewise.
25463 * rt/mq_receive.c: Likewise.
25464 * rt/mq_send.c: Likewise.
25465 * rt/mq_setattr.c: Likewise.
25466 * rt/mq_timedreceive.c: Likewise.
25467 * rt/mq_timedsend.c: Likewise.
25468 * rt/mq_unlink.c: Likewise.
25469 * rt/shm_open.c: Likewise.
25470 * rt/shm_unlink.c: Likewise.
25471 * rt/timer_create.c: Likewise.
25472 * rt/timer_delete.c: Likewise.
25473 * rt/timer_getoverr.c: Likewise.
25474 * rt/timer_gettime.c: Likewise.
25475 * rt/timer_settime.c: Likewise.
25476 * setjmp/__longjmp.c: Likewise.
25477 * setjmp/setjmp.c: Likewise.
25478 * signal/kill.c: Likewise.
25479 * signal/killpg.c: Likewise.
25480 * signal/raise.c: Likewise.
25481 * signal/sigaction.c: Likewise.
25482 * signal/sigaltstack.c: Likewise.
25483 * signal/sigblock.c: Likewise.
25484 * signal/sigignore.c: Likewise.
25485 * signal/sigintr.c: Likewise.
25486 * signal/signal.c: Likewise.
25487 * signal/sigpause.c: Likewise.
25488 * signal/sigpending.c: Likewise.
25489 * signal/sigqueue.c: Likewise.
25490 * signal/sigreturn.c: Likewise.
25491 * signal/sigset.c: Likewise.
25492 * signal/sigsetmask.c: Likewise.
25493 * signal/sigstack.c: Likewise.
25494 * signal/sigsuspend.c: Likewise.
25495 * signal/sigtimedwait.c: Likewise.
25496 * signal/sigvec.c: Likewise.
25497 * signal/sigwait.c: Likewise.
25498 * signal/sigwaitinfo.c: Likewise.
25499 * signal/sysv_signal.c: Likewise.
25500 * socket/accept.c: Likewise.
25501 * socket/accept4.c: Likewise.
25502 * socket/bind.c: Likewise.
25503 * socket/connect.c: Likewise.
25504 * socket/getpeername.c: Likewise.
25505 * socket/getsockname.c: Likewise.
25506 * socket/getsockopt.c: Likewise.
25507 * socket/isfdtype.c: Likewise.
25508 * socket/listen.c: Likewise.
25509 * socket/recv.c: Likewise.
25510 * socket/recvfrom.c: Likewise.
25511 * socket/recvmsg.c: Likewise.
25512 * socket/send.c: Likewise.
25513 * socket/sendmsg.c: Likewise.
25514 * socket/sendto.c: Likewise.
25515 * socket/setsockopt.c: Likewise.
25516 * socket/shutdown.c: Likewise.
25517 * socket/sockatmark.c: Likewise.
25518 * socket/socket.c: Likewise.
25519 * socket/socketpair.c: Likewise.
25520 * stdio-common/ctermid.c: Likewise.
25521 * stdio-common/cuserid.c: Likewise.
25522 * stdio-common/remove.c: Likewise.
25523 * stdio-common/rename.c: Likewise.
25524 * stdio-common/renameat.c: Likewise.
25525 * stdio-common/tempname.c: Likewise.
25526 * stdlib/getcontext.c: Likewise.
25527 * stdlib/makecontext.c: Likewise.
25528 * stdlib/setcontext.c: Likewise.
25529 * stdlib/swapcontext.c: Likewise.
25530 * stdlib/system.c: Likewise.
25531 * streams/fattach.c: Likewise.
25532 * streams/fdetach.c: Likewise.
25533 * streams/getmsg.c: Likewise.
25534 * streams/getpmsg.c: Likewise.
25535 * streams/putmsg.c: Likewise.
25536 * streams/putpmsg.c: Likewise.
25537 * sysdeps/unix/bsd/getpt.c: Likewise.
25538 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25539 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25540 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25543 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25544 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25545 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25546 * sysvipc/msgctl.c: Likewise.
25547 * sysvipc/msgget.c: Likewise.
25548 * sysvipc/msgrcv.c: Likewise.
25549 * sysvipc/msgsnd.c: Likewise.
25550 * sysvipc/semctl.c: Likewise.
25551 * sysvipc/semget.c: Likewise.
25552 * sysvipc/semop.c: Likewise.
25553 * sysvipc/semtimedop.c: Likewise.
25554 * sysvipc/shmat.c: Likewise.
25555 * sysvipc/shmctl.c: Likewise.
25556 * sysvipc/shmdt.c: Likewise.
25557 * sysvipc/shmget.c: Likewise.
25558 * termios/tcdrain.c: Likewise.
25559 * termios/tcflow.c: Likewise.
25560 * termios/tcflush.c: Likewise.
25561 * termios/tcgetattr.c: Likewise.
25562 * termios/tcgetpgrp.c: Likewise.
25563 * termios/tcsendbrk.c: Likewise.
25564 * termios/tcsetattr.c: Likewise.
25565 * termios/tcsetpgrp.c: Likewise.
25566 * time/adjtime.c: Likewise.
25567 * time/clock.c: Likewise.
25568 * time/getitimer.c: Likewise.
25569 * time/gettimeofday.c: Likewise.
25570 * time/setitimer.c: Likewise.
25571 * time/settimeofday.c: Likewise.
25572 * time/stime.c: Likewise.
25573 * time/time.c: Likewise.
25575 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25577 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25580 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25582 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25584 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25588 FE_TONEAREST before applying Dekker multiplication and Knuth
25589 addition. Clear inexact exceptions and check for exact zero
25590 results afterwards.
25591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25592 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25593 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25594 * math/libm-test.inc (fma_test): Add more tests.
25595 (fma_test_towardzero): Likewise.
25596 (fma_test_downward): Likewise.
25597 (fma_test_upward): Likewise.
25598 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25600 (libc_fesetround): New macro.
25601 (libc_fesetroundf): Likewise.
25602 (libc_fesetroundl): Likewise.
25603 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25605 (libc_fesetround_387): Likewise.
25606 (libc_fesetroundf): New macro.
25607 (libc_fesetround): Likewise.
25608 (libc_fesetroundl): Likewise.
25609 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25611 (libc_fesetroundf): New macro.
25612 (libc_fesetround): Likewise.
25613 (libc_fesetroundl): Likewise.
25614 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25615 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25616 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25618 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25619 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25621 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25622 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25624 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25628 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25629 integer constant usable in #if and use that to give value to enum
25631 (FE_DIVBYZERO): Likewise.
25632 (FE_UNDERFLOW): Likewise.
25633 (FE_OVERFLOW): Likewise.
25634 (FE_INVALID): Likewise.
25635 (FE_INVALID_SNAN): Likewise.
25636 (FE_INVALID_ISI): Likewise.
25637 (FE_INVALID_IDI): Likewise.
25638 (FE_INVALID_ZDZ): Likewise.
25639 (FE_INVALID_IMZ): Likewise.
25640 (FE_INVALID_COMPARE): Likewise.
25641 (FE_INVALID_SOFTWARE): Likewise.
25642 (FE_INVALID_SQRT): Likewise.
25643 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25644 (FE_TONEAREST): Likewise.
25645 (FE_TOWARDZERO): Likewise.
25646 (FE_UPWARD): Likewise.
25647 (FE_DOWNWARD): Likewise.
25648 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25649 (FE_DIVBYZERO): Likewise.
25650 (FE_OVERFLOW): Likewise.
25651 (FE_UNDERFLOW): Likewise.
25652 (FE_INEXACT): Likewise.
25653 (FE_TONEAREST): Likewise.
25654 (FE_DOWNWARD): Likewise.
25655 (FE_UPWARD): Likewise.
25656 (FE_TOWARDZERO): Likewise.
25657 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25658 (FE_UNDERFLOW): Likewise.
25659 (FE_OVERFLOW): Likewise.
25660 (FE_DIVBYZERO): Likewise.
25661 (FE_INVALID): Likewise.
25662 (FE_TONEAREST): Likewise.
25663 (FE_TOWARDZERO): Likewise.
25664 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25665 (FE_OVERFLOW): Likewise.
25666 (FE_UNDERFLOW): Likewise.
25667 (FE_DIVBYZERO): Likewise.
25668 (FE_INEXACT): Likewise.
25669 (FE_TONEAREST): Likewise.
25670 (FE_TOWARDZERO): Likewise.
25671 (FE_UPWARD): Likewise.
25672 (FE_DOWNWARD): Likewise.
25673 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25674 (FE_DIVBYZERO): Likewise.
25675 (FE_OVERFLOW): Likewise.
25676 (FE_UNDERFLOW): Likewise.
25677 (FE_INEXACT): Likewise.
25678 (FE_TONEAREST): Likewise.
25679 (FE_DOWNWARD): Likewise.
25680 (FE_UPWARD): Likewise.
25681 (FE_TOWARDZERO): Likewise.
25683 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25685 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25687 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25689 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25690 commands. Quote $PWD.
25691 (blacklist_exports): Don't use remove_newlines. Replace "declare
25693 (remove_newlines): Remove.
25695 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25697 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25698 * stdlib/stdlib.h (atof): Moved to ...
25699 * include/bits/stdlib-float.h: Here. New file.
25700 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25701 * stdlib/bits/stdlib-float.h: New file.
25702 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25704 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25707 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25709 * conform/conformtest.pl (@headers): Add fenv.h.
25710 * conform/data/fenv.h-data: New file.
25711 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25712 include of <math/fenv.h>.
25714 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25715 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25716 && !UNIX98]. Enables tests for XOPEN2K8.
25717 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25718 POSIX2008]: Likewise.
25720 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25721 (struct rusage): Do not expect type or its members.
25724 * math/math.h (FP_NAN): Define macro to integer constant usable in
25725 #if and use that to give value to enum constant.
25726 (FP_INFINITE): Likewise.
25727 (FP_ZERO): Likewise.
25728 (FP_SUBNORMAL): Likewise.
25729 (FP_NORMAL): Likewise.
25731 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25733 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25734 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25737 2012-11-02 Roland McGrath <roland@hack.frob.com>
25739 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25740 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25741 autoconf-time if not.
25742 * configure.in: Remove AC_PREREQ.
25744 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25746 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25747 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25748 of the internal implementation.
25750 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25752 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25753 except include of <misc/sys/syslog.h>.
25755 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25758 function returns with a NULL context exit with zero.
25760 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25762 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25764 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25766 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25767 (run_program_cmd): This.
25768 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25769 (tst_langinfo): New variable. Use it.
25771 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25773 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25774 floating point opcodes.
25776 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25778 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25781 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25783 * sysdeps/mach/hurd/powerpc: Remove directory.
25784 * sysdeps/mach/powerpc: Likewise.
25786 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25788 * scripts/check-local-headers.sh: Ignore c++ headers.
25790 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25792 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25793 __libc_cleanup_region_start argument.
25795 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25800 x * y using scaling, not as x * y + z.
25801 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25802 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25803 * math/libm-test.inc (fma_test): Add more tests.
25804 (fma_test_towardzero): Likewise.
25805 (fma_test_downward): Likewise.
25806 (fma_test_upward): Likewise.
25808 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25810 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25812 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25814 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25817 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25819 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25821 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25828 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25831 Fix the order of the list for glibc 2.17.
25832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25835 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25839 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25842 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25843 for low part of x being zero before using __atanl (y).
25844 * math/libm-test.inc (atan2_test): Add another test.
25846 * manual/install.texi (Configuring and compiling): Document
25847 general use of test-wrapper and test-wrapper-env.
25848 * INSTALL: Regenerated.
25850 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25851 (__fma): Do not extract and scale down low bits on after-rounding
25852 systems when result rounded to normal precision would have normal
25854 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25855 (__fmal): Do not extract and scale down low bits on after-rounding
25856 systems when result rounded to normal precision would have normal
25858 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25859 (__fmal): Do not extract and scale down low bits on after-rounding
25860 systems when result rounded to normal precision would have normal
25862 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25864 (fma_test): Add more tests.
25865 (fma_test_towardzero): Likewise.
25866 (fma_test_downward): Likewise.
25867 (fma_test_upward): Likewise.
25869 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25871 * sysdeps/i386/tininess.h: Renamed to ...
25872 * sysdeps/x86/tininess.h: This.
25873 * sysdeps/x86_64/tininess.h: Removed.
25875 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25877 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25878 input. Use $(build-program-cmd).
25879 ($(objpfx)tst-array1-static.out): Likewise.
25880 ($(objpfx)tst-array2.out): Likewise.
25881 ($(objpfx)tst-array3.out): Likewise.
25882 ($(objpfx)tst-array4.out): Likewise.
25883 ($(objpfx)tst-array5.out): Likewise.
25884 ($(objpfx)tst-array5-static.out): Likewise.
25886 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25888 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25891 * nss/nsswitch.h (nss_interface_function): Provide new
25892 macro for use with NSS functions.
25893 * grp/initgroups.c: Use new macro.
25894 * nss/getXXbyYY.c: Likewise.
25895 * nss/getXXbyYY_r.c: Likewise.
25896 * nss/getXXent.c: Likewise.
25897 * nss/getXXent_r.c: Likewise.
25898 * sysdeps/posix/getaddrinfo.c: Likewise.
25900 2012-10-30 Andreas Jaeger <aj@suse.de>
25902 * po/ru.po: Update Russion translation from translation project.
25904 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25909 result and shift together with sticky bit instead of replicating
25910 round-to-nearest rounding.
25911 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25912 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25913 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25914 missing underflow exceptions.
25915 (fma_test_towardzero): Add more tests.
25916 (fma_test_downward): Likewise.
25917 (fma_test_upward): Likewise.
25920 * sysdeps/generic/tininess.h: New file.
25921 * sysdeps/i386/tininess.h: Likewise.
25922 * sysdeps/sh/tininess.h: Likewise.
25923 * sysdeps/x86_64/tininess.h: Likewise.
25924 * stdlib/tst-strtod-underflow.c: Likewise.
25925 * stdlib/tst-tininess.c: Likewise.
25926 * stdlib/strtod_l.c: Include <tininess.h>.
25927 (round_and_return): Do not set errno for exact underflow cases.
25928 Force an underflow exception when setting errno for underflow.
25929 Determine underflow based on rounding to normal precision if
25930 TININESS_AFTER_ROUNDING.
25931 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25932 ERANGE for exact underflow cases.
25933 * stdlib/Makefile (tests): Add tst-tininess and
25934 tst-strtod-underflow.
25935 ($(objpfx)tst-tininess): Use $(link-libm).
25936 ($(objpfx)tst-strtod-underflow): Likewise.
25938 2012-10-30 Andreas Jaeger <aj@suse.de>
25941 * elf/Makefile (tests): Remove conditional for have-initfini-array
25942 since this is now always required and the variable does not exist
25944 (tests-static): Likewise.
25945 (modules-names): Likewise.
25947 * po/eo.po: Add Esperanto translation from translation project.
25949 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25950 merged with constructor/destructor.
25951 (init_array): Likewise.
25952 * elf/tst-array2dep.c (fini_array): Likewise.
25953 (init_array): Likewise.
25955 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25957 * manual/message.texi: Delete @cartouche tags.
25959 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25961 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25963 * sysdeps/mach/hurd/fsync.c: Likewise.
25965 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25966 [_POSIX_REALTIME_SIGNALS]: Change condition to
25967 [_POSIX_REALTIME_SIGNALS > 0].
25969 2012-10-27 Andreas Jaeger <aj@suse.de>
25971 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25972 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25974 [__WORDSIZE != 64]: Likewise.
25976 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25978 * iconvdata/tst-table.sh: Remove ${SHELL}.
25979 * iconvdata/tst-tables.sh: Likewise.
25981 2012-10-25 David S. Miller <davem@davemloft.net>
25983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25984 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25987 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25989 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25990 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25991 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25994 2012-10-25 Roland McGrath <roland@hack.frob.com>
25996 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25997 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26000 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26001 Jim Blandy <jimb@codesourcery.com>
26003 * scripts/cross-test-ssh.sh: New file.
26004 * manual/install.texi (Configuring and compiling): Document use of
26006 * INSTALL: Regenerated.
26008 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26010 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26013 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26015 * Makeconfig (run-program-prefix): Fix comment.
26017 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26018 Jim Blandy <jimb@codesourcery.com>
26020 * Makeconfig (test-wrapper): New variable,
26021 (test-wrapper-env): Likewise.
26022 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26023 (run-built-tests): Define to yes.
26024 (run-program-prefix): Use $(test-wrapper).
26025 (built-program-cmd): Likewise.
26026 * Rules (make-test-out): Use $(test-wrapper-env) and
26027 $(host-built-program-cmd).
26028 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26029 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26031 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26032 $(test-wrapper-env) to tst-rtld-load-self.sh.
26033 ($(objpfx)order2.out): Use $(test-wrapper).
26034 ($(objpfx)tst-initorder.out): Likewise.
26035 ($(objpfx)tst-initorder2.out): Likewise.
26036 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26037 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26038 (test_wrapper_env): New variable. Use it to run ld.so.
26039 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26040 Use it to run ld.so.
26041 (test_wrapper_env): Likewise.
26042 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26043 $(test-wrapper) to run-iconv-test.sh.
26044 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26045 (ICONV): Use $test_wrapper.
26046 * posix/Makefile ($(objpfx)globtest.out): Pass
26047 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26048 globtest.sh, not $(run-program-prefix).
26049 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26050 (test_wrapper): Likewise.
26051 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26052 set together with run_via_rtld_prefix.
26053 (run_program_prefix): Define in terms of test_wrapper and
26054 run_via_rtld_prefix.
26056 2012-10-24 Roland McGrath <roland@hack.frob.com>
26058 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26059 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26063 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26064 Declare __clock_getres, __clock_gettime, __clock_settime,
26065 __clock_nanosleep, and __clock_getcpuclockid.
26066 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26067 Remove librt_hidden_def (clock_gettime).
26068 * sysdeps/unix/clock_gettime.c: Likewise.
26069 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26070 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26071 * rt/clock_getres.c: Define __clock_getres as an alias.
26072 * sysdeps/posix/clock_getres.c: Likewise.
26073 * rt/clock_settime.c: Define __clock_settime as an alias.
26074 * sysdeps/unix/clock_settime.c: Likewise.
26075 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26076 * sysdeps/unix/clock_nanosleep.c: Likewise.
26077 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26078 * rt/clock-compat.c: New file.
26079 * rt/Makefile (librt-routines): Add clock-compat and move
26080 $(clock-routines) to ...
26081 (routines): ... here, new variable.
26082 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26083 Don't add get_clockfreq here.
26084 * rt/Versions (libc: GLIBC_2.17): New version set.
26085 Add clock_* symbols here.
26086 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26087 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26088 (GLIBC_2.17): Add clock_* symbols.
26089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26091 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26100 * NEWS: Mention the move.
26102 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26103 Use __open, __read, __close rather than their public counterparts.
26104 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26105 (__get_clockfreq_via_cpuinfo): Likewise.
26106 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26107 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26109 * config.h.in (HAVE_IFUNC): New #undef.
26110 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26112 * configure: Regenerated.
26114 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26116 * configure.in: Move READELF check to start of file.
26117 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26118 libc_cv_asm_gnu_indirect_function in the process.
26119 * configure: Regenerated.
26121 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26123 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26124 send the output to /dev/null.
26125 (libc_cv_cc_with_libunwind): Likewise.
26126 (libc_cv_as_noexecstack): Likewise.
26127 * configure: Regenerate.
26129 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26131 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26133 * posix/globtest.sh (TMPDIR): Do not set.
26134 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26135 (testout): Likewise.
26137 2012-10-24 Andreas Jaeger <aj@suse.de>
26139 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26140 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26141 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26142 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26143 posix_fadvise64, posix_fallocate64.
26145 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26146 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26147 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26149 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26151 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26154 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26155 <bits/fcntl-linux.h>.
26156 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26159 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26160 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26161 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26162 [__WORDSIZE != 64]: Likewise.
26164 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26166 * Makeconfig (run-built-tests): New variable.
26167 * Rules [$(cross-compiling) = yes]: Change condition to
26168 [$(run-built-tests) = no].
26169 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26170 to [$(run-built-tests) = yes].
26171 * elf/Makefile [$(cross-compiling) = no]: Likewise
26172 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26173 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26174 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26175 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26176 * io/Makefile [$(cross-compiling) = no]: Likewise.
26177 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26178 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26179 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26180 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26181 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26182 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26183 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26184 * string/Makefile [$(cross-compiling) = no]: Likewise.
26186 * posix/Makefile ($(objpfx)globtest.out): Pass
26187 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26188 $(rtld-installed-name).
26189 * posix/globtest.sh (elf_objpfx): Remove variable.
26190 (rtld_installed_name): Likewise.
26191 (library_path): Likewise.
26192 (run_program_prefix): New variable. Use for running globtest
26195 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26196 Joseph Myers <joseph@codesourcery.com>
26198 * Makeconfig (host-built-program-cmd): New variable.
26199 * elf/Makefile (tst-stackguard1-ARGS): Use
26200 $(host-built-program-cmd).
26201 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26202 (tst-spawn-ARGS): Likewise.
26203 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26205 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26206 Jim Blandy <jimb@codesourcery.com>
26208 * Makeconfig (run-via-rtld-prefix): New variable.
26209 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26210 (built-program-cmd): Likewise.
26212 2012-10-22 Andreas Jaeger <aj@suse.de>
26214 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26215 __O_RSYNC if it exists, otherwise to O_SYNC.
26217 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26218 Joseph Myers <joseph@codesourcery.com>
26220 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26222 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26224 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26227 2012-10-22 Andreas Jaeger <aj@suse.de>
26229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26231 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26234 bits/fcntl-linux.h.
26236 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26237 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26239 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26244 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26245 Joseph Myers <joseph@codesourcery.com>
26247 * config.make.in (NM): New variable.
26249 2012-10-21 Andreas Jaeger <aj@suse.de>
26251 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26252 definitions and declarations that are provided by
26253 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26255 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26258 * elf/Makefile (tests-static): Add tst-leaks1-static.
26259 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26260 ($(objpfx)tst-leaks1-static): New rule.
26261 ($(objpfx)tst-leaks1-static-mem): Likewise.
26262 (tst-leaks1-static-ENV): New macro.
26263 * elf/dl-open.c (dl_open_worker): Check the main application
26264 only if SHARED is defined.
26265 * elf/tst-leaks1-static.c: New file.
26267 2012-10-20 Andreas Jaeger <aj@suse.de>
26269 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26270 generic values for Linux.
26271 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26272 and declarations that are provided by <bits/fcntl-linux.h> and
26273 include <bits/fcntl-linux.h>.
26274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26275 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26277 2012-10-20 Roland McGrath <roland@hack.frob.com>
26279 * io/fcntl.h: Move include of <bits/types.h> to the top and
26280 include it unconditionally.
26282 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26284 * wcsmbs/Makefile (tests-ifunc): New variable.
26285 (tests): Add $(tests-ifunc).
26286 * wcsmbs/test-wcschr-ifunc.c: New file.
26287 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26288 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26289 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26290 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26291 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26293 * string/Makefile (tests-ifunc): New variable.
26294 (tests): Add $(tests-ifunc).
26295 * string/test-memccpy.c (TEST_NAME): New macro.
26296 * string/test-memchr.c (TEST_NAME): Likewise.
26297 * string/test-memcmp.c (TEST_NAME): Likewise.
26298 * string/test-memcpy.c (TEST_NAME): Likewise.
26299 * string/test-memmem.c (TEST_NAME): Likewise.
26300 * string/test-memmove.c (TEST_NAME): Likewise.
26301 * string/test-memset.c (TEST_NAME): Likewise.
26302 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26303 * string/test-stpcpy.c (TEST_NAME): Likewise.
26304 * string/test-stpncpy.c (TEST_NAME): Likewise.
26305 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26306 * string/test-strcasestr.c (TEST_NAME): Likewise.
26307 * string/test-strcat.c (TEST_NAME): Likewise.
26308 * string/test-strchr.c (TEST_NAME): Likewise.
26309 * string/test-strcmp.c(TEST_NAME): Likewise.
26310 * string/test-strcpy.c (TEST_NAME): Likewise.
26311 * string/test-strcspn.c (TEST_NAME): Likewise.
26312 * string/test-strlen.c (TEST_NAME): Likewise.
26313 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26314 * string/test-strncmp.c (TEST_NAME): Likewise.
26315 * string/test-strncpy.c (TEST_NAME): Likewise.
26316 * string/test-strnlen.c (TEST_NAME): Likewise.
26317 * string/test-strpbrk.c (TEST_NAME): Likewise.
26318 * string/test-strrchr.c (TEST_NAME): Likewise.
26319 * string/test-strspn.c (TEST_NAME): Likewise.
26320 * string/test-strstr.c (TEST_NAME): Likewise.
26321 * string/test-bcopy-ifunc.c: New file.
26322 * string/test-bzero-ifunc.c: Likewise.
26323 * string/test-memccpy-ifunc.c: Likewise.
26324 * string/test-memchr-ifunc.c: Likewise.
26325 * string/test-memcmp-ifunc.c: Likewise.
26326 * string/test-memcpy-ifunc.c: Likewise.
26327 * string/test-memmem-ifunc.c: Likewise.
26328 * string/test-memmove-ifunc.c: Likewise.
26329 * string/test-mempcpy-ifunc.c: Likewise.
26330 * string/test-memset-ifunc.c: Likewise.
26331 * string/test-rawmemchr-ifunc.c: Likewise.
26332 * string/test-stpcpy-ifunc.c: Likewise.
26333 * string/test-stpncpy-ifunc.c: Likewise.
26334 * string/test-strcasecmp-ifunc.c: Likewise.
26335 * string/test-strcasestr-ifunc.c: Likewise.
26336 * string/test-strcat-ifunc.c: Likewise.
26337 * string/test-strchr-ifunc.c: Likewise.
26338 * string/test-strchrnul-ifunc.c: Likewise.
26339 * string/test-strcmp-ifunc.c: Likewise.
26340 * string/test-strcpy-ifunc.c: Likewise.
26341 * string/test-strcspn-ifunc.c: Likewise.
26342 * string/test-strlen-ifunc.c: Likewise.
26343 * string/test-strncasecmp-ifunc.c: Likewise.
26344 * string/test-strncat-ifunc.c: Likewise.
26345 * string/test-strncmp-ifunc.c: Likewise.
26346 * string/test-strncpy-ifunc.c: Likewise.
26347 * string/test-strnlen-ifunc.c: Likewise.
26348 * string/test-strpbrk-ifunc.c: Likewise.
26349 * string/test-strrchr-ifunc.c: Likewise.
26350 * string/test-strspn-ifunc.c: Likewise.
26351 * string/test-strstr-ifunc.c: Likewise.
26353 * debug/Makefile (tests-ifunc): New variable.
26354 (tests): Add $(tests-ifunc).
26355 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26356 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26357 * debug/test-stpcpy_chk-ifunc.c: New file.
26358 * debug/test-strcpy_chk-ifunc.c: Likewise.
26360 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26363 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26364 header is not read in.
26366 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26368 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26369 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26370 directly. Pass built executable to script as
26371 $(built-program-cmd).
26372 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26373 $testprogram without using LD_LIBRARY_PATH and $ldso.
26375 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26376 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26377 $(rtld-installed-name).
26378 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26379 (rtld_installed_name): Likewise.
26380 (library_path): Likewise.
26381 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26382 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26383 $(run-program-prefix) to tst-tables.sh.
26384 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26385 it to run tst-table-from and tst-table-to.
26386 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26387 Pass it to tst-table.sh.
26388 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26389 $(run-program-prefix) to tst-gettext.sh.
26390 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26392 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26394 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26395 to run tst-gettext.
26396 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26397 to run tst-gettext2.
26398 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26399 to run tst-translit.
26400 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26401 $(run-program-prefix) to tst-mtrace.sh.
26402 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26404 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26405 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26406 $(rtld-installed-name).
26407 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26408 (rtld_installed_name): Likewise.
26409 (run_program_prefix): New variable. Use it to run wordexp-test.
26411 * Makeconfig (ARCH): Remove all definitions.
26412 (machine): Likewise.
26413 [ARCH]: Remove conditional code.
26414 [!objdir]: Give error.
26415 [!objdir] (objpfx): Remove.
26416 [!objdir] (common-objpfx): Likewise.
26417 [!objdir] (common-objdir): Likewise.
26418 * configure.in (config_makefile): Remove. Hardcode Makefile in
26419 AC_CONFIG_FILES call.
26420 * configure: Regenerated.
26423 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26425 (testout): Likewise.
26427 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26428 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26429 $(rtld-installed-name).
26430 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26431 (rtld_installed_name): Likwise.
26432 (runit): Remove function.
26433 (run_getconf): New variable, Use it for running getconf binary.
26435 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26438 * string/test-memmem.c (check_result): New function.
26439 (do_one_test): Use it.
26440 (check1): New function.
26441 (test_main): Use it.
26443 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26445 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26447 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26449 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26450 (_G_LSEEK64): Likewise.
26451 (_G_MMAP64): Likewise.
26452 (_G_FSTAT64): Likewise.
26453 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26454 (_G_LSEEK64): Likewise.
26455 (_G_MMAP64): Likewise.
26456 (_G_FSTAT64): Likewise.
26457 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26458 unconditional. Call __mmap64 directly.
26459 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26460 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26461 __lseek64 directly.
26462 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26463 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26465 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26466 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26467 __lseek64 directly.
26468 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26469 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26470 __lseek64 directly.
26471 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26472 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26473 __lseek64 directly.
26474 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26475 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26476 __fxstat64 directly.
26477 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26478 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26480 (freopen64) [!_G_OPEN64]: Remove conditional code.
26481 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26483 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26484 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26486 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26487 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26489 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26490 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26492 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26493 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26495 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26496 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26498 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26499 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26501 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26503 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26506 * manual/memory.texi (Malloc Tunable Parameters): Add note
26507 about free list pointers overwriting some perturb bytes.
26508 Wording suggested by Roland McGrath.
26510 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26512 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26513 (lgamma_test): Likewise.
26514 (tgamma_test): Likewise.
26516 2012-10-16 Florian Weimer <fweimer@redhat.com>
26519 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26520 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26522 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26524 * NEWS: Mention BZ #14716.
26525 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26526 when removing AVAILABLE1_USES_J macro.
26528 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26530 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26531 (__bswap_64): __uint64_t for unsigned 64-bit int.
26533 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26535 * include/string.h (memmem): Declare libc hidden alias.
26536 * string/memmem.c (memmem): Define libc hidden alias.
26537 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26538 __read, __close instead of open, read, close.
26540 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26543 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26545 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26546 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26547 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26549 (__rawmemchr_sse2): Likewise.
26550 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26551 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26552 (__strchr_sse2): Likewise.
26553 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26554 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26555 (__strcasecmp_sse2): Likewise.
26556 (__strncasecmp_sse2): Likewise.
26557 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26558 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26559 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26560 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26561 (__strrchr_sse2): Likewise.
26562 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26564 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26565 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26566 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26567 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26568 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26569 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26570 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26571 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26572 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26573 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26574 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26575 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26576 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26577 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26578 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26579 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26580 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26581 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26582 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26583 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26584 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26585 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26586 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26587 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26588 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26589 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26590 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26591 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26592 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26593 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26595 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26597 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26598 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26599 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26600 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26602 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26604 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26605 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26606 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26607 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26609 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26610 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26611 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26612 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26613 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26614 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26615 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26616 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26617 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26618 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26619 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26620 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26621 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26622 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26623 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26624 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26625 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26626 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26627 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26628 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26629 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26630 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26631 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26632 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26633 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26634 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26635 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26636 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26637 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26638 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26639 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26640 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26641 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26642 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26643 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26644 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26645 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26646 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26647 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26648 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26649 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26651 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26652 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26653 * include/ifunc-impl-list.h: New file.
26654 * misc/ifunc-impl-list.c: Likewise.
26655 * misc/Makefile (routines): Add ifunc-impl-list.
26656 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26657 * string/test-string.h: Include <ifunc-impl-list.h>.
26658 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26659 TEST_NAME]: New variables.
26660 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26662 (test_init): Call __libc_ifunc_impl_list to initialize
26663 func_list if TEST_IFUNC and TEST_NAME are defined.
26665 * string/Makefile (strop-tests): Add bcopy and bzero.
26666 * string/test-bcopy.c: New file.
26667 * string/test-bzero.c: Likewise.
26668 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26670 * string/test-memset.c: Support bzero test if TEST_BZERO is
26672 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26674 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26676 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26679 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26681 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26682 * configure: Regenerated.
26684 * Makeconfig (+link-static-before-libc): Don't include
26685 $(link-static-libc).
26687 * libio/libio.h (_IO_pos_t): Remove.
26689 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26691 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26694 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26696 * crypt/crypt-entry.c: Include fips-private.h.
26697 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26698 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26699 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26700 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26702 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26704 * crypt/crypt-private.h: Include stdbool.h.
26705 (_ufc_setup_salt_r): Return bool.
26706 * crypt/crypt-entry.c: Include errno.h.
26707 (__crypt_r): Return NULL with EINVAL for bad salt.
26708 * crypt/crypt_util.c (bad_for_salt): New.
26709 (_ufc_setup_salt_r): Check that salt is long enough and within
26710 the specified alphabet.
26711 * crypt/badsalttest.c: New file.
26712 * crypt/Makefile (tests): Add it.
26713 ($(objpfx)badsalttest): New.
26715 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26717 * NEWS: Add entry for BZ #14602.
26719 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26721 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26723 * math/libm-test.inc: Update comment listing what functions and
26725 (isgreater_test): New function.
26726 (isgreaterequal_test): Likewise.
26727 (isless_test): Likewise.
26728 (islessequal_test): Likewise.
26729 (islessgreater_test): Likewise.
26730 (isunordered_test): Likewise.
26731 (main): Call the new functions.
26733 2012-10-09 Roland McGrath <roland@hack.frob.com>
26735 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26736 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26737 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26738 * sysdeps/i386/configure: Regenerated.
26739 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26740 * sysdeps/mach/configure: Regenerated.
26741 * sysdeps/mach/hurd/configure: Regenerated.
26742 * sysdeps/powerpc/configure: Regenerated.
26743 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26744 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26745 * sysdeps/s390/s390-32/configure: Regenerated.
26746 * sysdeps/s390/s390-64/configure: Regenerated.
26747 * sysdeps/sh/configure: Regenerated.
26748 * sysdeps/sparc/configure: Regenerated.
26749 * sysdeps/unix/sysv/linux/configure: Regenerated.
26750 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26751 * sysdeps/x86_64/configure: Regenerated.
26753 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26754 defined. Don't check if MAP is NULL.
26756 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26758 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26759 (_G_stat64): Likewise.
26760 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26761 (_G_stat64): Likewise.
26762 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26763 instead of struct _G_stat64.
26764 * libio/fileops.c (mmap_remap_check): Likewise.
26765 (decide_maybe_mmap): Likewise.
26766 (_IO_new_file_seekoff): Likewise.
26767 (_IO_file_stat): Likewise.
26768 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26770 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26771 instead of struct _G_stat64.
26772 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26774 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26777 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26779 (CHECK_EOL): New macro.
26780 (two_way_short_needle): Check beginning of haystack for EOL. Use
26782 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26783 Replace with CHECK_EOL.
26784 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26785 Replace with CHECK_EOL.
26787 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26789 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26791 * math/libm-test.inc: Update comment listing what functions and
26793 (finite_test): New function.
26794 (isinf_test): Likewise.
26795 (isnan_test): Likewise.
26796 (fpclassify_test): Test subnormal input.
26797 (isfinite_test): Likewise.
26798 (isnormal_test): Likewise.
26799 (main): Call the new functions.
26801 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26804 * Makerules (%.dynsym): Force C locale when running
26805 $(OBJDUMP) --dynamic-syms.
26807 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26809 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26812 2012-10-06 David S. Miller <davem@davemloft.net>
26814 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26815 upper 32-bits of the length value in %o2 since we use branch-on-register
26816 tests which consider the entire 64-bit register.
26818 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26820 * string/test-strstr.c (check2): Add a test for page boundary.
26822 2012-10-05 David S. Miller <davem@davemloft.net>
26824 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26825 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26827 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26829 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26830 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26831 and bzero when HWCAP_SPARC_CRYPTO is present.
26833 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26836 * string/test-strstr.c (check2): New function.
26837 (test_main): Call check2.
26839 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26841 * string/bug-strcasestr1.c (do_test): Moved to ...
26842 * string/test-strcasestr.c (check1): Here. New function.
26843 (do_one_test): Break out result checking code into ...
26844 (check_result): This. New function.
26845 (do_one_test): Call check_result.
26846 (test_main): Call check1.
26847 * string/bug-strchr1.c (do_test): Moved to ...
26848 * string/test-strchr.c (check1): Here. New function.
26849 (do_one_test): Break out result checking code into ...
26850 (check_result): This. New function.
26851 (do_one_test): Call check_result.
26852 (test_main): Call check1.
26853 * string/bug-strstr1.c (main): Moved to ...
26854 * string/test-strstr.c (check1): Here. New function.
26855 (do_one_test): Break out result checking code into ...
26856 (check_result): This. New function.
26857 (do_one_test): Call check_result.
26858 (test_main): Call check1.
26859 * string/bug-strcasestr1.c: Removed.
26860 * string/bug-strchr1.c: Likewise.
26861 * string/bug-strstr1.c: Likewise.
26863 * elf/Makefile (dl-routines): Add hwcaps.
26864 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26865 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26866 (_dl_important_hwcaps): Moved to ...
26867 * elf/dl-hwcaps.c: Here. New file.
26868 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26871 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26872 if IS_IN_rtld isn't defined.
26874 * elf/dl-support.c (_dl_sysinfo_map): New.
26875 Include "get-dynamic-info.h" and "setup-vdso.h".
26876 (_dl_non_dynamic_init): Call setup_vdso.
26877 * elf/dynamic-link.h: Don't include <assert.h>.
26878 (elf_get_dynamic_info): Moved to ...
26879 * elf/get-dynamic-info.h: Here. New file.
26880 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26881 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26882 * elf/setup-vdso.h: Here. New file.
26883 * elf/rtld.c: Include "setup-vdso.h".
26884 (dl_main): Call setup_vdso.
26886 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26888 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26889 creal in comment listing functions tested. List finite, isinf,
26890 isnan, isless, islessequal, isgreater, isgreaterequal,
26891 islessgreater, isunordered, lgamma_r and pow10 as functions and
26892 macros not tested. Mention which functions not tested are aliases
26893 for other functions. Fix typo. Note that signs of NaNs are not
26896 * scripts/config.guess: Update from config.git.
26897 * scripts/config.sub: Likewise.
26899 2012-10-04 Roland McGrath <roland@hack.frob.com>
26901 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26902 * misc/madvise.c (madvise): Renamed to __madvise.
26903 Make madvise a weak alias.
26904 * include/sys/mman.h: Declare __madvise.
26905 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26906 * sysdeps/unix/syscalls.list
26907 (madvise): Make __madvise the strong name, and madvise a weak alias.
26908 * sysdeps/unix/sysv/linux/syscalls.list
26909 (madvise, mmap): Remove redundant entries.
26910 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26911 * malloc/malloc.c (mtrim): Likewise.
26912 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26914 2012-10-03 Roland McGrath <roland@hack.frob.com>
26916 * sysdeps/mach/hurd/dl-cache.c: File removed.
26917 * config.h.in (USE_LDCONFIG): New #undef.
26918 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26919 * configure: Regenerated.
26920 * elf/Makefile (dl-routines): Add dl-cache only under
26921 [$(use-ldconfig) = yes].
26922 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26923 cache on [USE_LDCONFIG].
26924 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26926 * elf/rtld.c (dl_main): Likewise.
26928 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26930 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26931 _SC_LEVEL4_CACHE_LINESIZE.
26933 2012-10-03 Roland McGrath <roland@hack.frob.com>
26935 * sysdeps/unix/bsd/confstr.h: File removed.
26937 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26939 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26942 2012-10-02 Roland McGrath <roland@hack.frob.com>
26944 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26945 Make 'mapoff' field ElfW(Off) rather than off_t.
26947 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26949 * nscd/Makefile: Remove nscd-cflags and all its users.
26950 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26951 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26954 * malloc.c (malloc_printerr): Clarify error message.
26956 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26960 Set bit_FMA_Usable if FMA is supported.
26961 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26963 (bit_FMA4_Usable): Updated.
26964 (index_FMA_Usable): New macro.
26965 (CPUID_FMA): Likewise
26966 (HAS_FMA): Defined with bit_FMA_Usable.
26968 2012-10-01 Roland McGrath <roland@hack.frob.com>
26970 * bits/types.h (__swblk_t): Type removed.
26971 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26972 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26974 (__SWBLK_T_TYPE): Likewise.
26975 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26976 (__SWBLK_T_TYPE): Likewise.
26977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26978 (__SWBLK_T_TYPE): Likewise.
26979 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26980 (__SWBLK_T_TYPE): Likewise.
26982 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26983 Honza Horak <hhorak@redhat.com>
26985 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26986 (xdr_mapname): Use YPMAXMAP as maxsize.
26987 (xdr_peername): Use YPMAXPEER as maxsize.
26988 (xdr_keydat): Use YPAXRECORD as maxsize.
26989 (xdr_valdat): Use YPMAXRECORD as maxsize.
26991 2012-10-01 Roland McGrath <roland@hack.frob.com>
26993 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26995 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26996 * csu/init-first.c: ... here.
26997 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26998 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26999 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27000 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27001 * sysdeps/i386/init-first.c: File removed.
27002 * sysdeps/sh/init-first.c: File removed.
27004 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27008 if x * y might underflow to zero and z is zero.
27009 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27010 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27011 * math/libm-test.inc (min_subnorm_value): New variable.
27012 (fma_test): Add more tests.
27013 (fma_test_towardzero): Likewise.
27014 (fma_test_downward): Likewise
27015 (fma_test_upward): Likewise.
27016 (initialize): Set min_subnorm_value.
27018 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27021 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27023 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27024 mode for addition resulting in exact zero.
27025 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27028 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27029 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27030 * math/libm-test.inc (fma_test): Add more tests.
27031 (fma_test_towardzero): New function.
27032 (fma_test_downward): Likewise.
27033 (fma_test_upward): Likewise.
27034 (main): Call the new functions.
27036 2012-09-28 David S. Miller <davem@davemloft.net>
27038 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27040 2012-09-28 Roland McGrath <roland@hack.frob.com>
27042 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27043 instead of SIGALRM.
27045 * sysdeps/gnu/_G_config.h: Moved to ...
27046 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27047 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27048 * sysdeps/generic/_G_config.h: ... here.
27050 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27052 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27054 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27055 Conditionalize target on [libnss_test1.so-version].
27057 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27059 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27060 (elfobjdir): Move out of conditionals.
27062 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27063 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27064 (__nss_lookup_function): Conditionalize label remove_from_tree on
27065 [!DO_STATIC_NSS || SHARED], matching its only use.
27067 2012-09-28 David S. Miller <davem@davemloft.net>
27069 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27070 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27072 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27074 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27075 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27076 when HWCAP_SPARC_CRYPTO is present.
27078 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27080 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27082 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27085 * stdio-common/vfprintf.c (process_string_arg): Revert
27088 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27090 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27092 * stdio-common/tst-sprintf.c: Include <locale.h>
27093 (main): Test sprintf's handling of incomplete multibyte
27096 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27098 * elf/dl-runtime.c (VERSYMIDX): Removed.
27099 * elf/dl-version.c (VERSYMIDX): Likewise.
27100 * elf/do-rel.h (VERSYMIDX): Likewise.
27101 (VALIDX): Likewise.
27102 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27103 * elf/rtld.c (VALIDX): Likewise.
27104 (ADDRIDX): Likewise.
27105 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27106 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27107 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27108 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27109 (VALIDX): Likewise.
27110 (ADDRIDX): Likewise.
27112 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27114 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27116 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27119 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27121 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27122 addresses are in the same scope as 192.0.2/24.
27123 * posix/gai.conf: Document new scope table defaults.
27125 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27128 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27129 for ftell. Compute offsets from write pointers instead.
27130 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27132 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27135 * libio/Makefile (tests): New test case tst-fseek.
27136 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27137 combination works in wide mode.
27138 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27139 state when the external buffer state changes.
27141 2012-09-27 David S. Miller <davem@davemloft.net>
27144 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27145 pass reloc->r_addend in as the 'high' argument to
27146 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27150 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27152 * rt/tst-aio2.c: Include <pthread.h>.
27153 * rt/tst-aio3.c: Likewise.
27155 2012-09-27 Steve Ellcey <sellcey@mips.com>
27157 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27159 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27161 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27162 contents on [SHARED].
27164 2012-09-26 Marek Polacek <polacek@redhat.com>
27168 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27169 for C++ and GCC <4.3 as well as for non GCC compilers.
27171 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27175 2012-09-25 Roland McGrath <roland@hack.frob.com>
27177 * Makefile.in (all, install): Declare with .PHONY.
27178 Reported by Michael Hope <michael.hope@linaro.org>.
27180 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27182 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27183 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27185 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27187 (sydep_routines): Add the new and the internal functions.
27188 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27189 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27191 (GLIBC_2.17): Add the new function.
27192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27193 (GLIBC_2.17): Likewise.
27194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27195 (GLIBC_2.17): Likewise.
27196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27197 (GLIBC_2.17): Likewise.
27198 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27200 2012-09-25 Alan Modra <amodra@gmail.com>
27202 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27203 Add release barrier before setting once_control to say
27204 initialisation is done. Add hints on lwarx. Use macro in
27206 (clear_once_control): Add release barrier.
27208 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27211 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27213 * math/s_clog10.c (__clog10): Likewise.
27214 * math/s_clog10f.c (__clog10f): Likewise.
27215 * math/s_clog10l.c (__clog10l): Likewise.
27216 * math/s_clogf.c (__clogf): Likewise.
27217 * math/s_clogl.c (__clogl): Likewise.
27218 * math/Makefile (libm-calls): Add x2y2m1.
27219 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27220 (__x2y2m1): Likewise.
27221 (__x2y2m1l): Likewise.
27222 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27223 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27224 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27225 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27226 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27227 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27228 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27229 * sysdeps/i386/fpu/libm-test-ulps: Update.
27230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27233 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27234 int as type of variable DEPTH.
27235 (glob): Use size_t instead of int as type of variables NEWCOUNT
27238 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27240 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27241 Add s_sincosf-sse2.
27242 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27243 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27244 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27245 macros for using routine as __sincosf_ia32.
27246 Use macro for function declaration and weak_alias.
27247 * sysdeps/i386/fpu/libm-test-ulps: Update.
27249 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27252 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27253 subnormal argument.
27254 * math/s_cexpf.c (__cexpf): Likewise.
27255 * math/s_csinf.c (__csinf): Likewise.
27256 * math/s_csinhf.c (__csinhf): Likewise.
27257 * math/s_ctanf.c (__ctanf): Likewise.
27258 * math/s_ctanhf.c (__ctanhf): Likewise.
27259 * math/s_ccosh.c (__ccoshf): Likewise.
27260 * math/s_cexp.c (__cexpl): Likewise.
27261 * math/s_csin.c (__csin): Likewise.
27262 * math/s_csinh.c (__csinh): Likewise.
27263 * math/s_ctan.c (__ctan): Likewise.
27264 * math/s_ctanh.c (ctanh): Likewise.
27265 * math/s_ccoshl.c (__ccoshl): Likewise.
27266 * math/s_cexpl.c (__cexpl): Likewise.
27267 * math/s_csinl.c (__csinl): Likewise.
27268 * math/s_csinhl.c (__csinhl): Likewise.
27269 * math/s_ctanl.c (__ctanl): Likewise.
27270 * math/s_ctanhl.c (__ctanhl): Likewise.
27272 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27274 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27275 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27276 (_IO_off_t): Define to __off_t, not _G_off_t.
27277 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27278 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27279 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27280 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27281 type of __dummy and __dummy2 fields.
27282 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27283 (_G_ssize_t): Likewise.
27284 (_G_off_t): Likewise.
27285 (_G_pid_t): Likewise.
27286 (_G_uid_t): Likewise.
27287 (_G_wchar_t): Likewise.
27288 (_G_wint_t): Likewise.
27289 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27290 (_G_ssize_t): Likewise.
27291 (_G_off_t): Likewise.
27292 (_G_pid_t): Likewise.
27293 (_G_uid_t): Likewise.
27294 (_G_wchar_t): Likewise.
27295 (_G_wint_t): Likewise.
27296 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27297 (_G_ssize_t): Likewise.
27298 (_G_off_t): Likewise.
27299 (_G_pid_t): Likewise.
27300 (_G_uid_t): Likewise.
27301 (_G_wchar_t): Likewise.
27302 (_G_wint_t): Likewise.
27304 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27306 * malloc/arena.c: Include malloc-sysdep.h.
27307 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27308 is sufficient to shrink the heap or an unmap is needed.
27309 * sysdeps/generic/malloc-sysdep.h: New file. Define
27310 new function check_may_shrink_heap.
27311 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27312 new function check_may_shrink_heap.
27314 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27316 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27319 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27321 * catgets/test-gencat.sh: Add "set -e".
27322 * elf/tst-pathopt.sh: Likewise.
27323 * grp/tst_fgetgrent.sh: Likewise.
27324 * iconvdata/run-iconv-test.sh: Likewise.
27325 * intl/tst-gettext.sh: Likewise.
27326 * intl/tst-gettext2.sh: Likewise.
27327 * intl/tst-gettext4.sh: Likewise.
27328 * intl/tst-gettext6.sh: Likewise.
27329 * intl/tst-translit.sh: Likewise.
27330 * io/ftwtest-sh: Likewise.
27331 * libio/test-freopen.sh: Likewise.
27332 * malloc/tst-mtrace.sh: Likewise.
27333 * posix/globtest.sh: Likewise.
27334 * posix/tst-getconf.sh: Likewise.
27335 * posix/wordexp-tst.sh: Likewise.
27336 * stdio-common/tst-printf.sh: Likewise.
27337 * stdio-common/tst-unbputc.sh: Likewise.
27338 * stdlib/tst-fmtmsg.sh: Likewise.
27339 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27340 * catgets/Makefile: Do not specify -e option when running
27341 testsuite shell scripts.
27342 * elf/Makefile: Likewise.
27343 * grp/Makefile: Likewise.
27344 * iconvdata/Makefile: Likewise.
27345 * intl/Makefile: Likewise.
27346 * io/Makefile: Likewise.
27347 * libio/Makefile: Likewise.
27348 * malloc/Makefile: Likewise.
27349 * posix/Makefile: Likewise.
27350 * stdio-common/Makefile: Likewise.
27351 * stdlib/Makefile: Likewise.
27352 * sysdeps/x86_64/Makefile: Likewise.
27354 * io/ftwtest-sh: Add copyright header.
27355 * posix/globtest.sh: Likewise.
27356 * posix/tst-getconf.sh: Likewise.
27357 * posix/wordexp-tst.sh: Likewise.
27358 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27360 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27363 * Makeconfig (+link): Defined as $(+link-static) if
27364 $(build-shared) isn't yes.
27365 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27367 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27369 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27372 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27373 new chunk size with MALLOC_ALIGN_MASK.
27375 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27378 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27380 (__printf_fphex): Determine rounding using get_rounding_mode and
27382 * stdio-common/tst-printf-round.c (struct hex_test): New
27384 (hex_tests): New variable.
27385 (test_hex_in_one_mode): New function.
27386 (do_test): Also run tests for hex float output.
27388 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27390 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27391 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27392 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27393 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27394 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27395 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27396 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27397 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27399 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27401 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27402 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27403 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27404 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27406 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27409 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27411 * elf/tst-rtld-load-self.sh: New test.
27412 * elf/Makefile: Run it.
27414 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27416 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27417 (tst-writev-ENV): Remove.
27418 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27420 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27422 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27424 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27426 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27428 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27430 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27431 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27432 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27435 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27438 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27439 * config.make.in (have-cpp-asm-debuginfo): Removed.
27440 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27441 * configure: Regenerated.
27443 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27446 * stdio-common/printf_fp.c: Include <stdbool.h> and
27448 (___printf_fp): Determine rounding using get_rounding_mode and
27450 * stdio-common/tst-printf-round.c: New file.
27451 * stdio-common/Makefile (tests): Add tst-printf-round.
27452 (link-libm): New variable.
27453 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27455 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27458 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27459 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27461 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27464 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27466 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27467 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27468 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27469 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27471 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27474 * include/rounding-mode.h: New file.
27475 * sysdeps/generic/get-rounding-mode.h: Likewise.
27476 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27477 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27478 (MAX_VALUE): New macro.
27479 (MIN_VALUE): Likewise.
27480 (overflow_value): New function.
27481 (underflow_value): Likewise.
27482 (round_and_return): Use overflow_value and underflow_value to
27483 determine return values in overflow and underflow cases. Use
27484 round_away to determine rounding depending on rounding mode.
27485 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27486 determine return values in overflow and underflow cases.
27487 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27488 (struct test_results): New structure.
27489 (struct test): Use struct test_results to store expected results
27490 for all rounding modes.
27491 (TEST): Include expected results for all rounding modes.
27492 (test_in_one_mode): New function.
27493 (do_test): Use test_in_one_mode to compute and check results.
27494 Check results for all rounding modes.
27495 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27498 2012-12-09 Allan McRae <allan@archlinux.org>
27500 * sysdeps/i386/fpu/libm-test-ulps: Update
27502 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27504 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27505 (_G_int32_t): Likewise.
27506 (_G_uint16_t): Likewise.
27507 (_G_uint32_t): Likewise.
27508 (_G_HAVE_BOOL): Likewise.
27509 (_G_HAVE_ATEXIT): Likewise.
27510 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27511 (_G_HAVE_IO_FILE_OPEN): Likewise.
27512 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27513 (_G_int32_t): Likewise.
27514 (_G_uint16_t): Likewise.
27515 (_G_uint32_t): Likewise.
27516 (_G_HAVE_BOOL): Likewise.
27517 (_G_HAVE_ATEXIT): Likewise.
27518 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27519 (_G_HAVE_IO_FILE_OPEN): Likewise.
27520 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27521 (_G_int32_t): Likewise.
27522 (_G_uint16_t): Likewise.
27523 (_G_uint32_t): Likewise.
27524 (_G_HAVE_BOOL): Likewise.
27525 (_G_HAVE_ATEXIT): Likewise.
27526 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27527 (_G_HAVE_IO_FILE_OPEN): Likewise.
27529 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27531 * csu/libc-tls.c: Update copyright years.
27533 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27535 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27536 [!_G_USING_THUNKS]: Remove conditional code.
27537 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27538 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27540 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27541 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27542 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27543 (_G_VTABLE_LABEL_PREFIX): Likewise.
27544 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27545 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27546 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27547 (_G_VTABLE_LABEL_PREFIX): Likewise.
27548 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27549 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27550 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27551 (_G_VTABLE_LABEL_PREFIX): Likewise.
27552 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27554 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27556 * libio/Makefile: Include ../Makeconfig before tests.
27557 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27558 only if $(build-shared) is yes.
27560 * iconv/gconv_db.c: Update copyright years.
27562 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27564 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27565 unwind info if defined PIC. Fix special cases description.
27566 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27568 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27570 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27572 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27574 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27576 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27579 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27580 (LDLIBS-tst-chk4): This.
27581 (LDFLAGS-tst-chk5): Renamed to ...
27582 (LDLIBS-tst-chk5): This.
27583 (LDFLAGS-tst-chk6): Renamed to ...
27584 (LDLIBS-tst-chk6): This.
27585 (LDFLAGS-tst-lfschk4): Renamed to ...
27586 (LDLIBS-tst-lfschk4): This.
27587 (LDFLAGS-tst-lfschk5): Renamed to ...
27588 (LDLIBS-tst-lfschk5): This.
27589 (LDFLAGS-tst-lfschk6): Renamed to ...
27590 (LDLIBS-tst-lfschk6): This.
27592 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27593 on $(common-objpfx)soversions.mk.
27595 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27598 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27601 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27603 * malloc/arena.c (arena_get_retry): New function that gets
27604 another arena for the caller to try its request on.
27605 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27606 current arena cannot fulfill the request.
27607 (__libc_memalign): Likewise.
27608 (__libc_memalign): Likewise.
27609 (__libc_pvalloc): Likewise.
27610 (__libc_calloc): Likewise.
27612 2012-09-05 John Tobey <john.tobey@gmail.com>
27615 * manual/arith.texi (Operations on Complex): Fix description
27616 of carg branch cut.
27618 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27621 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27625 * manual/memory.texi (Memory): Make order of menu items match
27628 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27630 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27631 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27632 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27634 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27636 * csu/libc-tls.c (static_dtv): Renamed to ...
27637 (_dl_static_dtv): This. Make it global.
27638 (_dl_initial_dtv): Removed.
27639 (__libc_setup_tls): Updated.
27640 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27641 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27644 2012-09-06 Petr Machata <pmachata@redhat.com>
27646 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27647 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27648 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27649 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27651 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27654 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27655 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27658 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27661 * Makeconfig (link-static-before-libc): Replace $(+prector)
27663 (link-static-after-libc): Replace $(+postctor) with
27665 (link-bounded): Replace $(+prector)/$(+postctor) with
27666 $(+prectorT)/$(+postctorT).
27667 (+prectorT): New macro.
27668 (+postctorT): Likewise.
27670 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27672 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27673 (round_str): Handle values above the maximum for IBM long double
27675 * stdlib/tst-strtod-round.c (tests): Regenerated.
27677 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27679 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27681 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27682 zarch_nohighgprs around the zarch optimized routines.
27683 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27684 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27685 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27688 2012-09-05 David S. Miller <davem@davemloft.net>
27690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27692 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27693 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27694 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27695 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27698 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27700 * malloc/arena.c: Fold copyright years.
27701 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27703 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27705 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27707 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27709 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27711 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27713 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27714 change internal state upon failure.
27716 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27718 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27719 * malloc/memusage.c (mmap): Likewise.
27720 (mmap64, mremap): Likewise. Adjust name in comment.
27722 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27724 * libio/fileops.c: Fix typos in comments.
27725 * libio/oldfileops.c: Likewise.
27726 * libio/wfileops.c: Likewise.
27728 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27731 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27732 (tst-malloc-usable-ENV): Set environment for test case.
27733 * malloc/hooks.c (malloc_check_get_size): New function to get
27735 * malloc/malloc.c (musable): Use malloc_check_get_size.
27736 * malloc/tst-malloc-usable.c: New test case.
27738 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27740 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27742 2012-09-05 Allan McRae <allan@archlinux.org>
27745 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27746 determine header location.
27747 * configure: Regenerated.
27749 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27751 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27753 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27754 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27756 (test): Regenerate.
27758 2012-09-04 David S. Miller <davem@davemloft.net>
27760 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27761 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27762 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27764 2012-09-04 Florian Weimer <fweimer@redhat.com>
27766 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27769 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27771 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27774 * libio/iogetdelim.c: Include <limits.h>.
27775 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27776 + len + 1 would overflow.
27778 2012-09-03 Andreas Jaeger <aj@suse.de>
27780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27781 * sysdeps/i386/fpu/libm-test-ulps: Update.
27783 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27785 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27786 Add s_sinf-sse2, s_conf-sse2.
27788 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27789 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27790 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27791 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27793 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27794 for using routine as __sinf_ia32.
27795 Use macro for function declaration and weak_alias.
27796 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27797 for using routine as __cosf_ia32.
27798 Use macro for function declaration and weak_alias.
27800 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27801 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27803 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27804 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27807 * math/libm-test.inc (cos_test): Add more test cases.
27808 (sin_test): Likewise.
27809 (sincos_test): Likewise.
27811 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27813 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27814 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27816 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27818 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27821 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27822 first element of the GOT.
27823 (elf_machine_load_address): Return the difference between
27824 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27826 2012-09-01 Allan McRae <allan@archlinux.org>
27829 * configure.in (AWK): Require gawk version 3.0 or later.
27830 * configure: Regenerated.
27832 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27834 * sysdeps/unix/sysv/linux/kernel-features.h
27835 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27836 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27837 [__NR_clock_getres]: Make code unconditional.
27838 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27839 (clock_getcpuclockid): Remove code left unreachable by removal of
27841 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27842 code unconditional.
27843 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27844 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27845 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27846 Make code unconditional.
27847 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27848 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27849 * sysdeps/unix/sysv/linux/clock_settime.c
27850 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27852 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27853 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27855 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27858 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27859 scripts/test-installation.pl.
27861 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27862 and $ld_so_version if it is set.
27864 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27867 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27868 failure if reading from procfs failed.
27869 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27871 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27873 * sysdeps/unix/sysv/linux/kernel-features.h
27874 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27875 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27876 Remove conditional code.
27877 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27878 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27879 Remove conditional code.
27880 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27881 * sysdeps/unix/sysv/linux/i386/fxstat.c
27882 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27883 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27884 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27885 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27886 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27887 * sysdeps/unix/sysv/linux/i386/lxstat.c
27888 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27889 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27890 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27891 Remove conditional code.
27892 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27893 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27894 Remove conditional code.
27895 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27896 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27897 <kernel-features.h>.
27898 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27900 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27901 Remove conditional code.
27902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27903 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27904 Remove conditional.
27906 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27909 * NEWS: Add fixed bug number.
27911 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27914 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27915 underflowing exponent in case of negative sign.
27916 * stdlib/tst-strtod-round-data: Add more tests.
27917 * stdlib/tst-strtod-round.c (tests): Regenerated.
27920 * stdlib/strtod_l.c (NDIG): Remove.
27921 (HEXNDIG): Likewise.
27922 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27923 smallest representable value.
27924 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27925 lie within an exact representation of 1/2 ulp of the result.
27926 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27928 (TENS_P9_IDX): Define unconditionally.
27929 (TENS_P9_SIZE): Likewise.
27930 (TENS_P10_IDX): Likewise.
27931 (TENS_P10_SIZE): Likewise.
27932 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27933 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27934 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27935 entries for 10^2^13 and 10^2^14.
27936 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27937 (TENS_P13_IDX): Define.
27938 (TENS_P13_SIZE): Likewise.
27939 (TENS_P14_IDX): Likewise.
27940 (TENS_P14_SIZE): Likewise.
27941 (_fpioconst_pow10): Change array size to
27942 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27944 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27945 1024]: Add entries for 10^2^13 and 10^2^14.
27946 [LAST_POW10 > _LAST_POW10]: Remove #error.
27947 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27948 (_fpioconst_pow10): Change array size to
27949 FPIOCONST_POW10_ARRAY_SIZE.
27950 * stdlib/gen-fpioconst.c: New file.
27951 * stdlib/gen-tst-strtod-round.c: Likewise.
27952 * stdlib/tst-strtod-round-data: Likewise.
27953 * stdlib/tst-strtod-round.c: Likewise.
27954 * stdlib/Makefile (tests): Add tst-strtod-round.
27957 * stdlib/strtod_l.c: Include <stdint.h>.
27958 (NDEBUG): Do not define.
27959 (round_and_return): Change EXPONENT parameter to type intmax_t.
27960 Rearrange calculations to avoid internal overflow possibilities.
27961 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27962 Rearrange calculations to avoid internal overflow possibilities.
27963 Assert that number fits inside MPNSIZE limbs.
27964 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27965 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27966 calculations and add assertions to avoid internal overflow
27967 possibilities. Add casts to avoid signed/unsigned operations.
27968 * stdlib/tst-strtod-overflow.c: New file.
27969 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27971 2012-08-25 Marek Polacek <polacek@redhat.com>
27973 * time/time.h: Fix some typos in comments.
27975 2012-08-23 Roland McGrath <roland@hack.frob.com>
27977 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27978 * posix/tst-rfc3484-2.c: Likewise.
27979 * posix/tst-rfc3484-3.c: Likewise.
27981 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27983 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27984 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27986 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27988 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27989 #include of fxstatat64.c.
27991 2012-08-22 Roland McGrath <roland@hack.frob.com>
27993 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27994 * shadow/getspent_r.c: Likewise.
27995 * shadow/getspnam.c: Likewise.
27996 * shadow/getspnam_r.c: Likewise.
27997 * gshadow/getsgent.c: Likewise.
27998 * gshadow/getsgent_r.c: Likewise.
27999 * gshadow/getsgnam.c: Likewise.
28000 * gshadow/getsgnam_r.c: Likewise.
28001 * inet/getnetbyad.c: Likewise.
28002 * inet/getnetbyad_r.c: Likewise.
28003 * inet/getnetbynm.c: Likewise.
28004 * inet/getnetbynm_r.c: Likewise.
28005 * inet/getnetent.c: Likewise.
28006 * inet/getnetent_r.c: Likewise.
28007 * inet/getproto.c: Likewise.
28008 * inet/getproto_r.c: Likewise.
28009 * inet/getprtent.c: Likewise.
28010 * inet/getprtent_r.c: Likewise.
28011 * inet/getprtname.c: Likewise.
28012 * inet/getprtname_r.c: Likewise.
28013 * inet/getrpcbyname.c: Likewise.
28014 * inet/getrpcbyname_r.c: Likewise.
28015 * inet/getrpcbynumber.c: Likewise.
28016 * inet/getrpcbynumber_r.c: Likewise.
28017 * inet/getrpcent.c: Likewise.
28018 * inet/getrpcent_r.c: Likewise.
28019 * inet/getaliasent.c: Likewise.
28020 * inet/getaliasent_r.c: Likewise.
28021 * inet/getaliasname.c: Likewise.
28022 * inet/getaliasname_r.c: Likewise.
28023 * nscd/getgrgid_r.c: Likewise.
28024 * nscd/getgrnam_r.c: Likewise.
28025 * nscd/gethstbyad_r.c: Likewise.
28026 * nscd/gethstbynm3_r.c: Likewise.
28027 * nscd/getpwnam_r.c: Likewise.
28028 * nscd/getpwuid_r.c: Likewise.
28029 * nscd/getsrvbynm_r.c: Likewise.
28030 * nscd/getsrvbypt_r.c: Likewise.
28031 * nscd/gai.c: Likewise.
28033 * configure.in (build_nscd): New substituted variable, set
28034 by --disable-build-nscd and defaults to $use_nscd.
28035 * configure: Regenerated.
28036 * config.make.in (build-nscd): New substituted variable.
28037 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28038 Change conditional to require [$(build-nscd) = yes] as well.
28039 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28042 * configure.in (use_nscd): New substituted variable, set by
28043 --disable-nscd. If enabled, define USE_NSCD.
28044 * configure: Regenerated.
28045 * config.h.in: Add USE_NSCD.
28046 * config.make.in (use-nscd): New substituted variable.
28047 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28048 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28049 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28050 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28051 (CFLAGS-getgrnam_r.c): Likewise.
28052 (CFLAGS-initgroups.c): Likewise.
28053 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28054 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28056 * inet/getnetgrent_r.c
28057 (nscd_setnetgrent): New function, broken out of ...
28058 (setnetgrent): ... here. Call it.
28059 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28060 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28061 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28062 * nscd/Makefile (routines, aux): Move definitions after include of
28063 Makeconfig. Conditionalize on [$(use-nscd) != no].
28064 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28065 Conditionalize on [USE_NSCD].
28066 (is_nscd, nscd_init_cb): Likewise.
28067 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28068 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28069 * nss/nss_db/db-init.c: Likewise.
28070 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28072 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28073 (make_request): Use it.
28074 (cache_valid_p): New function.
28075 (__check_pf): Use it.
28076 * NEWS: Add item for --disable-nscd.
28078 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28080 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28081 to support sed >= 4.2.1-20-ga9bf076.
28082 * configure: Regenerated.
28084 2012-08-22 Roland McGrath <roland@hack.frob.com>
28086 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28087 Conditionalize whole body on [IREL].
28089 2012-08-22 Jeff Law <law@redhat.com>
28092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28093 if the family is PF_UNSPEC.
28095 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28097 * Makerules (lib-version): Rename from V.
28098 (install-lib-nosubdir): Change V to lib-version.
28100 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28103 * powerpc32/power6/wcschr.c: New file.
28104 * powerpc32/power6/wcscpy.c: New file.
28105 * powerpc32/power6/wcsrchr.c: New file.
28106 * powerpc64/power6/wcschr.c: New file.
28107 * powerpc64/power6/wcscpy.c: New file.
28108 * powerpc64/power6/wcsrchr.c: New file.
28110 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28112 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28113 (two_way_short_needle): Use it.
28114 * string/strstr.c (AVAILABLE1_USES_J): Define.
28115 * string/strcasestr.c: Likewise.
28117 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28119 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28122 * NEWS: Add an entry.
28123 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28124 define their defaults.
28125 (two_way_short_needle): Detect end-of-string on-the-fly.
28126 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28127 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28128 * string/bug-strcasestr1.c: New test.
28129 * string/Makefile: Run it.
28131 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28134 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28135 the first character.
28137 2012-08-21 Roland McGrath <roland@hack.frob.com>
28139 * csu/elf-init.c (__libc_csu_irel): Function removed.
28140 * csu/libc-start.c (apply_irel): New function.
28141 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28143 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28145 * sysdeps/unix/sysv/linux/kernel-features.h
28146 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28147 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28148 <kernel-features.h>.
28149 [__NR_fadvise64_64]: Make code unconditional.
28150 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28151 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28152 !__NR_fadvise64_64)]: Likewise.
28153 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28154 !__NR_fadvise64_64))]: Likewise.
28155 [__NR_fadvise64]: Make code unconditional.
28156 [!__NR_fadvise64]: Remove conditional code.
28157 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28158 <kernel-features.h>.
28159 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28161 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28164 not include <kernel-features.h>.
28165 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28167 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28169 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28170 include <kernel-features.h>.
28171 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28173 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28176 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28178 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28179 slight instruction rearrangements per scrollpipe analysis.
28180 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28182 2012-08-20 Roland McGrath <roland@hack.frob.com>
28184 * manual/syslog.texi (syslog; vsyslog, closelog):
28185 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28186 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28188 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28189 DSOCAPS to match condition on defining it.
28191 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28193 * sysdeps/unix/sysv/linux/kernel-features.h
28194 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28196 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28197 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28199 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28200 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28202 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28203 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28205 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28206 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28208 * sysdeps/unix/sysv/linux/kernel-features.h
28209 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28210 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28212 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28213 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28214 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28215 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28216 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28217 Make code unconditional.
28218 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28219 (__mmap64) [!__NR_mmap2]: Likewise.
28220 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28221 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28222 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28223 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28224 [__NR_mmap2]: Make code unconditional.
28225 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28226 (__mmap64) [!__NR_mmap2]: Likewise.
28228 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28230 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28232 2012-08-18 Andreas Jaeger <aj@suse.de>
28234 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28236 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28238 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28239 * include/unistd.h (__have_sock_cloexec): Likewise.
28240 (__have_pipe2): Likewise.
28241 (__have_dup3): Likewise.
28243 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28246 * include/unistd.h (__have_pipe2): Change define into an extern int.
28247 (__have_dup3): Likewise.
28248 * socket/have_sock_cloexec.c: Include fcntl.h.
28249 (__have_pipe2): New variable.
28250 (__have_dup3): Likewise.
28252 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28254 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28256 2012-08-17 Marek Polacek <polacek@redhat.com>
28258 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28259 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28261 2012-08-17 Roland McGrath <roland@hack.frob.com>
28263 * configure.in: Add AC_SUBST for sysheaders.
28264 * configure: Regenerated.
28265 * config.make.in (sysheaders): New substituted variable.
28267 * sysdeps/unix/mkfifo.c: Moved ...
28268 * sysdeps/posix/mkfifo.c: ... here.
28269 * sysdeps/unix/mkfifoat.c: Moved ...
28270 * sysdeps/posix/mkfifoat.c: ... here.
28272 * sysdeps/unix/utime.c: Moved ...
28273 * sysdeps/posix/utime.c: ... here.
28275 * sysdeps/unix/time.c: Moved ...
28276 * sysdeps/posix/time.c: ... here.
28277 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28278 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28280 * sysdeps/unix/nice.c: Moved ...
28281 * sysdeps/posix/nice.c: ... here.
28283 * sysdeps/unix/alarm.c: Moved ...
28284 * sysdeps/posix/alarm.c: ... here.
28286 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28288 2012-08-17 Jeff Law <law@redhat.com>
28290 * intl/Makefile (codeset_mo): New variable.
28291 ($(codeset_mo)): New target.
28292 (tst-codeset.out): Depend on that. Remove explicit rule.
28293 (tst-gettext3.out, tst-gettext5.out): Likewise.
28294 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28295 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28296 * intl/tst-codeset.sh: Remove.
28297 * intl/tst-gettext3.sh: Likewise.
28298 * intl/tst-gettext5.sh: Likewise.
28300 2012-08-17 Roland McGrath <roland@hack.frob.com>
28302 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28303 * sysdeps/unix/syscalls.list: ... here.
28305 * sysdeps/posix/getaddrinfo.c
28306 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28307 (gaiconf_init, gaiconf_reload): Use them.
28308 [!_STATBUF_ST_NSEC]
28309 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28310 Define using time_t rather than struct timespec.
28312 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28313 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28315 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28317 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28318 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28321 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28322 __libc_cleanup_push argument.
28324 * bits/param.h: New file.
28325 * misc/sys/param.h: New file.
28326 * include/sys/param.h: New file.
28327 * misc/Makefile (headers): Add bits/param.h.
28328 * sysdeps/generic/sys/param.h: File removed.
28329 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28330 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28331 * sysdeps/mach/hurd/bits/param.h: New file.
28332 * sysdeps/mach/hurd/sys/param.h: File removed.
28334 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28337 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28339 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28340 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28343 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28344 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28345 rather than -D_IO_MTSAFE_IO conditionally.
28346 * stdio-common/Makefile (CPPFLAGS): Likewise.
28347 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28348 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28349 Use $(libio-mtsafe).
28350 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28351 of -D_IO_MTSAFE_IO.
28352 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28353 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28354 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28355 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28356 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28357 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28358 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28359 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28360 (CFLAGS-fread_u_chk.c): Likewise.
28361 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28362 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28363 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28364 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28365 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28366 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28367 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28368 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28369 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28371 * libio/Makefile: Test [$(libc-reentrant) = yes]
28372 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28375 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28376 * sysdeps/pthread/configure: File removed.
28377 * sysdeps/pthread/Makeconfig: New file.
28378 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28379 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28381 2012-08-16 Gary Benson <gbenson@redhat.com>
28383 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28384 unmapping the first object in a namespace.
28386 2012-08-16 Roland McGrath <roland@hack.frob.com>
28388 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28389 (__internal_setnetgrent): ... this. Add internal_function to
28390 definition. Add libc_hidden_def.
28391 (setnetgrent): Update caller.
28392 (internal_endnetgrent): Renamed to ...
28393 (__internal_endnetgrent): ... this. Add internal_function to
28394 definition. Add libc_hidden_def.
28395 (endnetgrent): Update caller.
28396 (internal_getnetgrent_r): Renamed to ...
28397 (__internal_getnetgrent_r): ... this. Add internal_function to
28398 definition. Add libc_hidden_def.
28399 (__getnetgrent_r): Update caller.
28400 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28402 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28404 * stdlib/longlong.h: Update from GCC.
28406 2012-08-16 Roland McGrath <roland@hack.frob.com>
28408 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28409 on _QL, which is set by umul_ppmm but never used.
28410 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28411 variables, which are set by GMP macros but never used.
28412 * stdio-common/_itowa.c (_itowa): Likewise.
28413 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28414 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28416 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28418 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28419 struct La_sh_regs is not constant.
28420 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28421 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28422 and struct La_sparc64_regs are not constant.
28424 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28426 * sysdeps/unix/sysv/linux/kernel-features.h
28427 (__ASSUME_POSIX_TIMERS): Remove.
28428 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28429 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28430 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28431 Make code unconditional.
28432 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28433 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28434 Make code unconditional.
28435 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28436 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28437 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28438 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28439 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28440 Make code unconditional.
28441 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28442 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28443 (__libc_missing_posix_timers): Remove.
28445 2012-08-15 Roland McGrath <roland@hack.frob.com>
28447 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28448 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28450 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28452 * elf/dl-sym.c: Include <stdlib.h>.
28454 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28455 constants, which avoids warnings in 32-bit builds.
28457 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28458 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28460 * misc/lseek.c: File moved to ...
28461 * io/lseek.c: ... here.
28463 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28465 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28466 shifting LEN more than 31 bits at once.
28468 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28471 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28472 segmentation fault for a case of two empty input strings.
28473 * string/test-strncasecmp.c (check1): Renamed to...
28474 (bz12205): ...this.
28475 (bz14195): Add new testcase for two empty input strings and N > 0.
28476 (test_main): Call new testcase, adapt for renamed function.
28478 2012-08-15 Andreas Jaeger <aj@suse.de>
28481 * crypt/md5test2.c: New test, based on test supplied by Serge
28482 Belyshev <belyshev@depni.sinp.msu.ru>.
28483 * crypt/Makefile (xtests): Add md5test-giant..
28484 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28486 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28489 * crypt/md5.c (md5_process_block): Don't assume the buffer
28490 length is less than 2**32.
28491 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28492 length is less than 2**64.
28494 2012-08-15 Roland McGrath <roland@hack.frob.com>
28496 * string/str-two-way.h: Include <sys/param.h>.
28497 (MAX): Macro removed.
28499 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28500 Move #define and #undef of memmove to just before and after
28501 including <string.h>.
28503 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28504 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28505 and after including <string.h>. Move declarations of
28506 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28507 to before #include "string/memmove.c".
28509 * include/dirent.h: Declare __getdirentries.
28511 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28512 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28514 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28516 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28517 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28518 * sysdeps/i386/configure: Regenerated.
28519 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28520 STABS_CURRENT_FILE, and STABS_FUN.
28521 (END): Remove call to STABS_FUN_END.
28522 (STABS_CURRENT_FILE1): Delete.
28523 (STABS_CURRENT_FILE): Likewise.
28524 (STABS_FUN): Likewise.
28525 (STABS_FUN_END): Likewise.
28526 (STABS_FUN2): Likewise.
28527 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28528 * sysdeps/x86_64/configure: Regenerated.
28530 2012-08-14 Roland McGrath <roland@hack.frob.com>
28532 * elf/dl-open.c: Include <atomic.h>.
28533 * elf/dl-lookup.c: Likewise.
28535 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28537 * sysdeps/unix/sysv/linux/kernel-features.h
28538 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28539 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28541 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28543 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28544 condition on __ASSUME_CLONE_THREAD_FLAGS.
28546 2012-08-14 Andreas Jaeger <aj@suse.de>
28548 * sysdeps/i386/fpu/libm-test-ulps: Update.
28550 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28552 * include/atomic.h (atomic_exchange_and_add): Split into ...
28553 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28556 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28558 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28560 2012-08-13 Jeff Law <law@redhat.com>
28562 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28563 null byte in the output string.
28565 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28567 * sysdeps/unix/sysv/linux/kernel-features.h
28568 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28569 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28570 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28571 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28572 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28573 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28574 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28576 2012-08-09 Jeff Law <law@redhat.com>
28579 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28580 When avoid_arena is set, don't retry in the that arena. Pick the
28581 next one, whatever it might be.
28582 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28583 (arena_lock): Pass in new parameter to arena_get2.
28584 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28586 (__libc_malloc): Unify retrying after main arena failure with
28587 __libc_memalign version.
28588 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28590 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28593 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28594 to __redirect_strstr.
28595 (__strstr_sse42): Use typeof __redirect_strstr.
28596 (__strstr_ia32): Likewise.
28597 (__libc_strstr): New prototype.
28598 (strstr): Renamed to ...
28599 (__libc_strstr): This.
28600 (strstr): New strong alias of __libc_strstr.
28601 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28602 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28605 (__libc_time): New prototype.
28606 (time_ifunc): Replace time with __libc_time.
28607 (time): New strong alias and hidden definition of __libc_time.
28608 (__GI_time): Remove strong alias.
28609 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28610 Include <stddef.h>.
28611 (memmove): Redefined to __redirect_memmove.
28612 (__memmove_sse2): Use typeof __redirect_memmove.
28613 (__memmove_ssse3): Likewise.
28614 (__memmove_ssse3_back): Likewise.
28615 (__libc_memmove): New prototype.
28616 (memmove): Renamed to ...
28617 (__libc_memmove): This.
28618 (memmove): New strong alias of __libc_memmove.
28620 2012-08-08 Mark Salter <msalter@redhat.com>
28623 (R_MN10300_TLS_GD): Define.
28624 (R_MN10300_TLS_LD): Likewise.
28625 (R_MN10300_TLS_LDO): Likewise.
28626 (R_MN10300_TLS_GOTIE): Likewise.
28627 (R_MN10300_TLS_IE): Likewise.
28628 (R_MN10300_TLS_LE): Likewise.
28629 (R_MN10300_TLS_DTPMOD): Likewise.
28630 (R_MN10300_TLS_DTPOFF): Likewise.
28631 (R_MN10300_TLS_TPOFF): Likewise.
28632 (R_MN10300_SYM_DIFF): Likewise.
28633 (R_MN10300_ALIGN): Likewise.
28634 (R_MN10300_NUM): Update.
28636 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28638 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28641 2012-08-08 Roland McGrath <roland@hack.frob.com>
28643 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28645 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28646 sysdeps/unix -> sysdeps/posix move.
28647 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28649 2012-08-07 Allan McRae <allan@archlinux.org>
28652 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28653 (SUNOS_CPP): Likewise.
28654 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28656 (open_input): Call CPP using execvp.
28658 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28660 * sysdeps/unix/sysv/linux/kernel-features.h
28661 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28662 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28663 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28664 (__ASSUME_WAITID_SYSCALL): Likewise.
28665 * sysdeps/unix/sysv/linux/dl-execstack.c
28666 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28667 code unconditional.
28668 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28670 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28671 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28672 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28674 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28676 [__ASSUME_WAITID_SYSCALL]: Likewise.
28677 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28679 2012-08-07 Roland McGrath <roland@hack.frob.com>
28681 * sysdeps/unix/closedir.c: Renamed to ...
28682 * sysdeps/posix/closedir.c: ... here.
28683 * sysdeps/unix/dirfd.c: Renamed to ...
28684 * sysdeps/posix/dirfd.c: ... here.
28685 * sysdeps/unix/dirstream.h: Renamed to ...
28686 * sysdeps/posix/dirstream.h: ... here.
28687 * sysdeps/unix/fdopendir.c: Renamed to ...
28688 * sysdeps/posix/fdopendir.c: ... here.
28689 * sysdeps/unix/opendir.c: Renamed to ...
28690 * sysdeps/posix/opendir.c: ... here.
28691 * sysdeps/unix/readdir.c: Renamed to ...
28692 * sysdeps/posix/readdir.c: ... here.
28693 * sysdeps/unix/readdir_r.c: Renamed to ...
28694 * sysdeps/posix/readdir_r.c: ... here.
28695 * sysdeps/unix/rewinddir.c: Renamed to ...
28696 * sysdeps/posix/rewinddir.c: ... here.
28697 * sysdeps/unix/seekdir.c: Renamed to ...
28698 * sysdeps/posix/seekdir.c: ... here.
28699 * sysdeps/unix/telldir.c: Renamed to ...
28700 * sysdeps/posix/telldir.c: ... here.
28701 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28702 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28703 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28704 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28706 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28707 * bits/fcntl.h: ... here.
28709 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28711 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28712 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28713 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28714 (struct flock): Move l_start, l_len to the beginning.
28715 Use __pid_t for l_pid.
28716 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28717 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28718 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28719 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28720 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28721 [__USE_LARGEFILE64] (struct flock64): New type.
28722 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28724 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28725 * bits/dirent.h: ... here.
28727 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28728 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28730 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28732 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28733 Change from 2.6.0 to 2.6.16.
28734 * sysdeps/unix/sysv/linux/configure: Regenerated.
28735 * sysdeps/unix/sysv/linux/kernel-features.h
28736 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28737 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28739 (__ASSUME_UTIMES): Likewise.
28740 (__ASSUME_CLONE_STOPPED): Remove.
28741 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28742 architectures, not kernel version.
28743 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28744 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28745 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28746 (__ASSUME_WAITID_SYSCALL): Likewise.
28747 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28748 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28749 * README: State 2.6.16 as minimum Linux kernel version. Do not
28750 refer to older versions.
28752 2012-08-06 Roland McGrath <roland@hack.frob.com>
28754 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28755 Define alphasort64 as an alias.
28756 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28757 Define versionsort64 as an alias.
28758 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28759 Define scandir64 as an alias.
28760 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28761 Define scandirat64 as an alias.
28762 * dirent/alphasort64.c (alphasort64):
28763 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28764 * dirent/versionsort64.c: Likewise.
28765 * dirent/scandir64.c: Likewise.
28766 * dirent/scandirat64.c: Likewise.
28767 * sysdeps/wordsize-64/alphasort.c: File removed.
28768 * sysdeps/wordsize-64/alphasort64.c: File removed.
28769 * sysdeps/wordsize-64/scandir.c: File removed.
28770 * sysdeps/wordsize-64/scandir64.c: File removed.
28771 * sysdeps/wordsize-64/scandirat.c: File removed.
28772 * sysdeps/wordsize-64/scandirat64.c: File removed.
28773 * sysdeps/wordsize-64/versionsort.c: File removed.
28774 * sysdeps/wordsize-64/versionsort64.c: File removed.
28775 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28776 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28777 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28778 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28779 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28780 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28781 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28782 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28784 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28786 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28787 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28788 [defined __arch64__ || defined __sparcv9]
28789 (__INO_T_MATCHES_INO64_T): New macro.
28790 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28791 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28792 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28793 * sysdeps/unix/sysv/linux/bits/dirent.h
28794 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28795 (_DIRENT_MATCHES_DIRENT64): New macro.
28797 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28798 Define lockf64 as an alias.
28799 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28800 Define fseeko64 as an alias.
28801 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28802 Define ftello64 as an alias.
28803 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28804 Define _IO_fgetpos64 and fgetpos64 as aliases.
28805 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28806 Define _IO_fsetpos64 and fsetpos64 as aliases.
28807 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28808 Conditionalize body on this.
28809 * libio/fseeko64.c: Likewise.
28810 * libio/ftello64.c: Likewise.
28811 * libio/iofgetpos64.c: Likewise.
28812 * libio/iofsetpos64.c: Likewise.
28813 * sysdeps/wordsize-64/lockf.c: File removed.
28814 * sysdeps/wordsize-64/lockf64.c: File removed.
28815 * sysdeps/wordsize-64/fseeko.c: File removed.
28816 * sysdeps/wordsize-64/fseeko64.c: File removed.
28817 * sysdeps/wordsize-64/ftello.c: File removed.
28818 * sysdeps/wordsize-64/ftello64.c: File removed.
28819 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28820 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28821 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28822 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28823 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28824 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28825 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28826 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28827 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28828 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28829 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28830 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28831 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28832 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28834 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28835 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28836 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28837 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28838 [defined __arch64__ || defined __sparcv9]
28839 (__OFF_T_MATCHES_OFF64_T): New macro.
28840 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28841 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28843 (__OFF_T_MATCHES_OFF64_T): New macro.
28845 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28847 * stdlib/secure-getenv.c (__secure_getenv): Replace
28848 GLIBC_2_16 with GLIBC_2_17.
28850 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28852 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28853 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28855 2012-08-03 David S. Miller <davem@davemloft.net>
28857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28859 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28861 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28863 (__ASSUME_CORRECT_SI_PID): Likewise.
28864 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28865 (__ASSUME_TMPFS_NAME): Likewise.
28866 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28867 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28868 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28869 (HAVE_AUX_SECURE): Make definition unconditional.
28870 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28871 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28873 2012-08-03 Roland McGrath <roland@hack.frob.com>
28875 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28876 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28877 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28878 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28879 __eloop_threshold instead of SYMLOOP_MAX.
28881 * sysdeps/generic/eloop-threshold.h: New file.
28882 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28884 * elf/chroot_canon.c (chroot_canon): Likewise.
28886 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28889 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28890 Change to 2.6.0 everywhere.
28891 * sysdeps/unix/sysv/linux/configure: Regenerated.
28892 * sysdeps/unix/sysv/linux/kernel-features.h
28893 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28894 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28896 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28897 (__ASSUME_FUTEX_REQUEUE): Remove.
28898 (__ASSUME_STATFS64): Define unconditionally.
28899 (__ASSUME_AT_SECURE): Likewise.
28900 (__ASSUME_CORRECT_SI_PID): Likewise.
28901 (__ASSUME_TGKILL): Define without depending on kernel version for
28903 (__ASSUME_UTIMES): Likewise.
28904 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28906 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28907 (__ASSUME_TMPFS_NAME): Likewise.
28908 * README: Update reference to Linux kernel versions.
28910 2012-08-02 Marek Polacek <polacek@redhat.com>
28913 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28914 libc_cv_asm_type_prefix with %.
28915 * configure: Regenerated.
28916 * include/libc-symbols.h: Remove comment about
28917 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28918 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28919 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28920 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28921 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28922 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28923 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28924 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28925 * elf/tst-unique2mod1.c: Likewise.
28926 * elf/tst-unique1mod2.c: Likewise.
28927 * elf/tst-unique1mod1.c: Likewise.
28928 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28929 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28930 Replace ASM_TYPE_DIRECTIVE with .type.
28931 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28932 * sysdeps/i386/sysdep.h: Likewise.
28933 * sysdeps/x86_64/sysdep.h: Likewise.
28934 * sysdeps/sh/sysdep.h: Likewise.
28935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28936 Do not define ASM_TYPE_DIRECTIVE.
28937 * sysdeps/powerpc/sysdep.h: Likewise.
28938 * sysdeps/powerpc/powerpc32/sysdep.h:
28939 Replace ASM_TYPE_DIRECTIVE with .type.
28940 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28941 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28942 * sysdeps/i386/fpu/e_powf.S: Likewise.
28943 * sysdeps/i386/fpu/e_expl.S: Likewise.
28944 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28945 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28946 * sysdeps/i386/fpu/e_pow.S: Likewise.
28947 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28948 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28949 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28950 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28951 * sysdeps/i386/fpu/e_log2.S: Likewise.
28952 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28953 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28954 * sysdeps/i386/fpu/e_powl.S: Likewise.
28955 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28956 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28957 * sysdeps/i386/fpu/e_logl.S: Likewise.
28958 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28959 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28960 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28961 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28962 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28963 * sysdeps/i386/fpu/e_log.S: Likewise.
28964 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28965 * sysdeps/i386/fpu/e_logf.S: Likewise.
28966 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28967 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28968 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28969 * sysdeps/i386/fpu/e_log10.S: Likewise.
28970 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28971 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28972 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28973 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28974 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28975 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28976 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28977 * sysdeps/i386/i686/strtok.S: Likewise.
28978 * sysdeps/i386/i386-mcount.S: Likewise.
28979 * sysdeps/i386/strtok.S: Likewise.
28980 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28981 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28982 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28983 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28984 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28985 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28986 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28987 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28988 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28989 * sysdeps/x86_64/_mcount.S: Likewise.
28990 * sysdeps/x86_64/strtok.S: Likewise.
28991 * sysdeps/sh/_mcount.S: Likewise.
28993 2012-08-01 Roland McGrath <roland@hack.frob.com>
28995 * libio/iofopen.c: Include <fcntl.h>.
28996 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28997 (_IO_fopen64, fopen64): Define as aliases.
28998 * libio/iofopen64.c: Include <fcntl.h>.
28999 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29000 Conditionalize body on this.
29001 * sysdeps/wordsize-64/iofopen.c: File removed.
29002 * sysdeps/wordsize-64/iofopen64.c: File removed.
29004 2012-08-01 Marek Polacek <polacek@redhat.com>
29006 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29007 Use dlfcn directly instead of a variable.
29008 (binfmt-subdir): Do not define.
29011 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29013 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29014 Remove all definitions.
29015 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29016 <kernel-features.h>.
29017 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29018 (miss_F_GETOWN_EX): Remove all definitions.
29019 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29021 [!__ASSUME_FCNTL64]: Remove conditional code.
29022 [__ASSUME_FCNTL64]: Make code unconditional.
29023 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29024 <kernel-features.h>.
29025 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29026 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29027 (lockf64) [__NR_fcntl64]: Make code unconditional.
29028 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29030 * sysdeps/unix/sysv/linux/kernel-features.h
29031 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29032 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29033 Make code unconditional.
29034 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29035 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29037 [__NR_vfork]: Make code unconditional.
29038 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29039 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29041 [__NR_vfork]: Make code unconditional.
29042 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29043 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29045 2012-08-01 Roland McGrath <roland@hack.frob.com>
29047 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29048 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29050 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29051 Define mkstemp64 as an alias.
29052 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29053 Define mkstemps64 as an alias.
29054 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29055 Define mkostemp64 as an alias.
29056 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29057 Define mkostemps64 as an alias.
29058 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29059 Conditionalize body on this.
29060 * misc/mkostemp64.c: Likewise.
29061 * misc/mkostemps64.c: Likewise.
29062 * misc/mkstemps64.c: Likewise.
29063 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29064 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29065 * sysdeps/wordsize-64/mkostemp.c: File removed.
29066 * sysdeps/wordsize-64/mkstemp.c: File removed.
29067 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29068 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29069 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29070 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29073 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29074 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29075 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29076 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29078 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29079 compat_symbol macros from <shlib-compat.h> rather than the underlying
29080 default_symbol_version and symbol_version macros, so that DEFAULT
29081 lines in shlib-versions are respected.
29082 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29084 2012-08-01 Florian Weimer <fweimer@redhat.com>
29086 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29087 Declare with warn_unused_result.
29088 (setgid, setregid, setegid, setresgid): Likewise.
29089 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29091 * WUR-REPORT: Remove set*id functions.
29093 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29095 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29097 2012-07-31 Roland McGrath <roland@hack.frob.com>
29100 * include/sys/socket.h (__libc_accept, __libc_accept4):
29101 Add attribute_hidden.
29102 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29104 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29106 * inet/getnetgrent_r.c (setup): Likewise.
29108 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29110 2012-07-31 David S. Miller <davem@davemloft.net>
29112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29114 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29117 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29118 value between 1.0 and 2.0 and smaller part has absolute value less
29120 * math/s_clog10.c (__clog10): Likewise.
29121 * math/s_clog10f.c (__clog10f): Likewise.
29122 * math/s_clog10l.c (__clog10l): Likewise.
29123 * math/s_clogf.c (__clogf): Likewise.
29124 * math/s_clogl.c (__clogl): Likewise.
29125 * math/libm-test.inc (clog_test): Add more tests.
29126 (clog10_test): Likewise.
29127 * sysdeps/i386/fpu/libm-test-ulps: Update.
29128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29130 2012-07-31 Florian Weimer <fweimer@redhat.com>
29132 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29133 Exit with zero in case no suitable GID is found, and write a
29134 message to standard error.
29136 2012-07-30 Roland McGrath <roland@hack.frob.com>
29138 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29140 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29141 (MAXPATHLEN): Removed.
29142 (NOGROUP, NODEV): New macros.
29143 (setbit, clrbit, isset, isclr): New macros.
29144 (howmany, roundup, powerof2): New macros.
29145 (DEV_BSIZE): New macro.
29147 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29148 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29150 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29151 definition on [!__NO_LONG_DOUBLE_MATH].
29153 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29154 PTR_MANGLE and PTR_DEMANGLE.
29156 * socket/accept4.c (accept4): Rename to __libc_accept4.
29157 Define accept4 as a weak alias.
29159 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29160 on [_DIRENT_HAVE_D_TYPE].
29161 * io/ftw.c (ftw_dir): Likewise.
29163 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29165 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29167 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29168 Use the BSD numbers rather than the arbitrary ones we had.
29169 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29170 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29171 (SIGXCPU, SIGXFSZ): New macros.
29174 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29175 initializer on [_LIBC_REENTRANT].
29177 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29178 definitions inside [_POSIX_MAPPED_FILES].
29180 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29182 * dirent/opendir.c: Include <fcntl.h>.
29184 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29185 (__libc_getspecific): Likewise.
29186 (__libc_key_create): Likewise.
29188 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29189 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29190 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29191 (tmpfile64): Define as alias.
29192 * sysdeps/wordsize-64/tmpfile.c: File removed.
29193 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29194 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29195 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29197 * stdio-common/vfscanf.c: Include <stdbool.h>.
29198 * nss/makedb.c: Likewise.
29199 * stdio-common/_i18n_number.h: Likewise.
29200 * argp/argp-help.c: Likewise.
29201 * posix/wordexp.c: Likewise.
29202 * sysdeps/posix/spawni.c: Likewise.
29203 * nss/nss_files/files-initgroups.c: Likewise.
29204 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29205 * nss/nss_files/files-initgroups.c: Likewise.
29206 * nss/nss_db/db-netgrp.c: Likewise.
29207 * nss/nss_db/db-initgroups.c: Likewise.
29208 * io/fchmodat.c: Include <sys/stat.h>.
29210 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29211 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29213 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29216 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29217 Add multiple inclusion protection.
29219 2012-07-27 David S. Miller <davem@davemloft.net>
29221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29223 2012-07-27 Gary Benson <gbenson@redhat.com>
29226 * elf/rtld.c: Include <stap-probe.h>.
29227 (dl_main): Added static probes "init_start" and "init_complete".
29228 * elf/dl-load.c: Include <stap-probe.h>.
29229 (lose): Take new parameter "nsid".
29230 Added static probe "map_failed".
29231 (_dl_map_object_from_fd): Pass namespace id to lose.
29232 Added static probe "map_start".
29233 (open_verify): Pass namespace id to lose.
29234 * elf/dl-open.c: Include <stap-probe.h>.
29235 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29236 and "reloc_complete".
29237 * elf/dl-close.c: Include <stap-probe.h>.
29238 (_dl_close_worker): Added static probes "unmap_start" and
29240 * elf/rtld-debugger-interface.txt: New file documenting the above.
29242 2012-07-26 Roland McGrath <roland@hack.frob.com>
29244 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29245 rather than a string variable.
29246 * sunrpc/rpc_main.c (h_output): Likewise.
29247 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29249 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29251 * inet/check_native.c: New file.
29253 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29256 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29257 if larger part has absolute value 1.0.
29258 * math/s_clog10.c (__clog10): Likewise.
29259 * math/s_clog10f.c (__clog10f): Likewise.
29260 * math/s_clog10l.c (__clog10l): Likewise.
29261 * math/s_clogf.c (__clogf): Likewise.
29262 * math/s_clogl.c (__clogl): Likewise.
29263 * math/libm-test.inc (clog_test): Add more tests.
29264 (clog10_test): Likewise.
29265 * sysdeps/i386/fpu/libm-test-ulps: Update.
29266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29268 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29269 (pltexit): Likewise.
29270 (La_regs): Likewise.
29271 (La_retval): Likewise.
29272 (int_retval): Likewise.
29273 Update #error for removed macros to refer only to definitions in
29275 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29277 (pltexit): Likewise.
29278 (La_regs): Likewise.
29279 (La_retval): Likewise.
29280 (int_retval): Likewise.
29281 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29283 (pltexit): Likewise.
29284 (La_regs): Likewise.
29285 (La_retval): Likewise.
29286 (int_retval): Likewise.
29287 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29289 (pltexit): Likewise.
29290 (La_regs): Likewise.
29291 (La_retval): Likewise.
29292 (int_retval): Likewise.
29293 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29295 (pltexit): Likewise.
29296 (La_regs): Likewise.
29297 (La_retval): Likewise.
29298 (int_retval): Likewise.
29299 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29301 (pltexit): Likewise.
29302 (La_regs): Likewise.
29303 (La_retval): Likewise.
29304 (int_retval): Likewise.
29305 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29307 (pltexit): Likewise.
29308 (La_regs): Likewise.
29309 (La_retval): Likewise.
29310 (int_retval): Likewise.
29311 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29312 macro definitions in tst-audit.h.
29313 * sysdeps/i386/tst-audit.h: New file.
29314 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29315 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29316 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29317 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29318 * sysdeps/sh/tst-audit.h: Likewise.
29319 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29320 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29321 * sysdeps/x86_64/tst-audit.h: Likewise.
29323 2012-07-26 Andreas Jaeger <aj@suse.de>
29325 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29328 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29329 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29330 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29332 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29333 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29334 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29336 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29339 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29341 (si_call_addr, si_syscall, si_arch): Define new macro.
29342 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29344 (si_call_addr, si_syscall, si_arch): Define new marcro.
29345 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29347 (si_call_addr, si_syscall, si_arch): Define new macro.
29348 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29350 (si_call_addr, si_syscall, si_arch): Define new macro.
29352 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29355 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29356 Change to 2.4.21 where previously 2.4.1.
29357 * sysdeps/unix/sysv/linux/configure: Regenerated.
29358 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29359 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29360 Linux kernel version.
29361 (__ASSUME_STD_AUXV): Remove.
29362 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29364 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29365 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29366 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29367 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29368 (__ASSUME_NETLINK_SUPPORT): Likewise.
29369 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29370 (__no_netlink_support): Remove conditional definition.
29371 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29373 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29374 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29375 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29376 (if_nameindex_ioctl): Remove.
29377 (if_nameindex_netlink): Do not handle __no_netlink_support.
29378 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29380 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29381 Remove conditional code.
29382 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29384 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29386 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29387 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29388 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29390 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29391 [!__ASSUME_STD_AUXV]: Remove conditional code.
29392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29393 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29394 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29396 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29397 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29399 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29401 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29402 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29404 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29406 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29409 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29412 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29413 code unconditional.
29414 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29416 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29418 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29421 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29423 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29426 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29427 code unconditional.
29428 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29430 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29432 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29435 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29436 code unconditional.
29437 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29439 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29441 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29444 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29446 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29447 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29448 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29449 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29450 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29451 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29452 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29453 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29454 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29455 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29456 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29457 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29458 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29459 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29460 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29461 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29462 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29463 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29464 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29466 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29467 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29468 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29470 2012-07-25 Florian Weimer <fweimer@redhat.com>
29472 * Versions.def: Add GLIBC_2.17.
29473 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29474 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29475 Introduce __libc_secure_getenv.
29476 * stdlib/Versions (2.17): Add secure_getenv
29477 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29478 * stdlib/secure-getenv.c: Rename __secure_getenv to
29479 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29480 symbol __secure_getenv for GLIBC_2.0.
29481 * stdlib/tst-secure-getenv.c: New.
29482 * stdlib/Makefile (tests): Add testcase.
29483 * manual/startup.texi (Environment Access): Document
29485 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29486 __libc_secure_getenv.
29487 * inet/ruserpass.c (ruserpass): Likewise.
29488 * malloc/mtrace.c (mtrace): Likewise.
29489 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29490 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29491 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29492 * sysdeps/posix/tempname.c: Likewise. Evaluate
29493 HAVE_SECURE_GETENV.
29494 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29495 __secure_getenv to __libc_secure_getenv.
29496 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29503 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29509 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29511 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29512 (struct La_i86_retval): Likewise.
29513 (struct La_x86_64_regs): Likewise.
29514 (struct La_x86_64_retval): Likewise.
29515 (struct La_x32_regs): Likewise.
29516 (struct La_x32_retval): Likewise.
29517 (struct La_ppc32_regs): Likewise.
29518 (struct La_ppc32_retval): Likewise.
29519 (struct La_ppc64_regs): Likewise.
29520 (struct La_ppc64_retval): Likewise.
29521 (struct La_sh_regs): Likewise.
29522 (struct La_sh_retval): Likewise.
29523 (struct La_s390_32_regs): Likewise.
29524 (struct La_s390_32_retval): Likewise.
29525 (struct La_s390_64_regs): Likewise.
29526 (struct La_s390_64_retval): Likewise.
29527 (struct La_sparc32_regs): Likewise.
29528 (struct La_sparc32_retval): Likewise.
29529 (struct La_sparc64_regs): Likewise.
29530 (struct La_sparc64_retval): Likewise.
29531 (struct audit_ifaces): Remove architecture-specific pltenter and
29533 * sysdeps/i386/ldsodefs.h: New file.
29534 * sysdeps/powerpc/ldsodefs.h: Likewise.
29535 * sysdeps/s390/ldsodefs.h: Likewise.
29536 * sysdeps/sh/ldsodefs.h: Likewise.
29537 * sysdeps/sparc/ldsodefs.h: Likewise.
29538 * sysdeps/x86_64/ldsodefs.h: Likewise.
29540 2012-07-25 Marek Polacek <polacek@redhat.com>
29543 * math/libm-test.inc (yn_test): Add another test.
29544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29545 to ERANGE when the result is +-Inf.
29546 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29547 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29548 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29549 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29551 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29553 * conform/data/time.h-data (NULL): Use macro-constant. Require
29555 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29557 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29559 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29561 * configure.in <sysdeps resolving>: Correct printing
29563 * configure: Regenerate.
29565 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29567 * math/w_ilogb.c: Include <limits.h>.
29568 * math/w_ilogbl.c: Likewise.
29570 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29572 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29573 va_copy. Document allowing for unavailable va_copy only as
29574 pre-C99 compatibility.
29575 * manual/string.texi (Copying and Concatenation): Use va_copy
29576 instead of __va_copy in concat example.
29578 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29580 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29581 (__sendto): Use create_address_port. Initialize APORT and deallocate
29584 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29585 with O_NOLINK passed to __file_name_lookup.
29587 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29588 with O_NOLINK passed to __file_name_lookup.
29590 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29591 negative N or less than NGIDS.
29593 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29594 type to string_t. Set ERANGE as errno and return it if NAME is not big
29595 enough. Use memcpy instead of strncpy.
29597 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29599 * elf/Makefile (check-data): Remove.
29600 (localplt.data): New vpath directive.
29601 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29602 instead of $(check-data).
29603 * scripts/data/localplt-generic.data: Move to ...
29604 * sysdeps/generic/localplt.data: ... here.
29605 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29606 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29607 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29610 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29613 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29616 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29619 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29622 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29626 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29628 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29629 PPC32 and PPC64 files.
29630 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29631 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29633 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29635 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29636 __makecontext_ret to ...
29637 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29638 ... here and call exit if uc_link is NULL. New file.
29639 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29640 __makecontext_ret.S.
29641 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29642 __makecontext_ret to ...
29643 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29644 ... here and call exit if uc_link is NULL. New file.
29645 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29646 __makecontext_ret.S.
29648 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29650 * elf/elf.h (R_390_IRELATIVE): New definition.
29651 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29652 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29653 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29654 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29655 (elf_machine_lazy_rel): Likewise.
29656 * sysdeps/s390/dl-irel.h: New file.
29657 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29658 * sysdeps/s390/s390-64/memset.S: New asm code.
29659 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29660 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29661 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29662 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29663 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29664 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29665 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29666 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29667 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29668 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29669 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29670 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29671 * sysdeps/s390/s390-32/memset.S: New asm code.
29672 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29674 2012-07-17 Marek Polacek <polacek@redhat.com>
29677 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29678 * sysdeps/s390/s390-64/configure.in: Likewise.
29679 * sysdeps/sparc/configure.in: Likewise.
29680 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29681 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29682 * sysdeps/i386/configure.in: Likewise.
29683 * sysdeps/x86_64/configure.in: Likewise.
29684 * sysdeps/sh/configure.in: Likewise.
29685 * sysdeps/s390/s390-32/configure: Regenerated.
29686 * sysdeps/s390/s390-64/configure: Likewise.
29687 * sysdeps/x86_64/configure: Likewise.
29688 * sysdeps/sh/configure: Likewise.
29689 * sysdeps/powerpc/powerpc64/configure: Likewise.
29690 * sysdeps/powerpc/powerpc32/configure: Likewise.
29691 * sysdeps/sparc/configure: Likwise.
29692 * sysdeps/i386/configure: Likewise.
29694 * elf/dl-open.c: Comment fixes.
29696 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29698 * Makefile [CXX] (check-data): Remove.
29699 [CXX] (c++-types.data): New vpath directive.
29700 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29701 vpath. Do not allow for C++ type data being missing.
29702 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29703 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29704 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29705 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29706 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29707 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29708 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29711 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29714 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29717 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29720 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29723 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29726 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29729 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29732 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29733 definitions to architecture-specific files.
29734 (TLS_IE): Likewise.
29735 (TLS_LD): Likewise.
29736 (TLS_GD): Likewise.
29737 * sysdeps/i386/tls-macros.h: New file.
29738 * sysdeps/powerpc/tls-macros.h: Likewise.
29739 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29740 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29741 * sysdeps/sh/tls-macros.h: Likewise.
29742 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29743 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29744 * sysdeps/x86_64/tls-macros.h: Likewise.
29746 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29748 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29749 zero value for regular exit case.
29751 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29752 (__start_context): Preserve zero value for regular exit case.
29754 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29755 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29757 * manual/setjmp.texi (setcontext): Clarify normal process
29758 termination when uc_link is the null pointer.
29759 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29762 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29764 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29765 preprocessor. Test for each exception mask separately.
29767 2012-07-16 Andreas Jaeger <aj@suse.de>
29769 * po/ru.po: Update from translation team.
29771 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29773 * conform/data/string.h-data (NULL): Use macro-constant. Require
29775 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29776 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29777 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29778 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29781 2012-07-13 Andreas Jaeger <aj@suse.de>
29783 * po/fr.po: Update from translation team.
29785 2012-07-12 Marek Polacek <polacek@redhat.com>
29788 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29789 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29792 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29795 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29796 Change to 2.4.1 where previously 2.4.0.
29797 * sysdeps/unix/sysv/linux/configure: Regenerated.
29798 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29799 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29801 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29802 (__ASSUME_AT_CLKTCK): Remove.
29803 (__ASSUME_AT_PAGESIZE): Likewise.
29804 (__ASSUME_AT_XID): Likewise.
29805 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29806 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29807 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29809 (HAVE_AUX_PAGESIZE): Likewise.
29810 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29811 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29812 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29814 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29818 the temporary buffer used to invoke __gethostbyname2_r,
29819 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29820 host_data / struct gaih_addrtuple.
29821 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29822 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29823 header file nss/nsswitch.h.
29824 * nss/nsswitch.h (global scope): Add definition of implementation
29825 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29826 resolv/nss_dns/dns-host.c).
29828 2012-07-11 Andreas Jaeger <aj@suse.de>
29830 * po/fr.po: Update from translation team.
29832 * po/sv.po: Update from translation team
29833 * po/fr.po: Another update from translation team.
29835 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29837 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29838 for subnormals or multiply small sinh result by itself.
29839 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29842 2012-07-11 David S. Miller <davem@davemloft.net>
29844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29846 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29849 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29850 (INTERNAL_MARK): Shift it here.
29852 2012-07-10 Marek Polacek <polacek@redhat.com>
29855 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29856 libc_cv_asm_global_directive with .globl.
29857 * configure: Regenerated.
29858 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29860 * sysdeps/i386/configure: Regenerated.
29861 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29863 * sysdeps/x86_64/configure: Regenerated.
29864 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29865 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29866 * elf/tst-unique2mod2.c: Likewise.
29867 * elf/tst-unique2mod1.c: Likewise.
29868 * elf/tst-unique1mod2.c: Likewise.
29869 * elf/tst-unique1mod1.c: Likewise.
29870 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29871 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29872 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29873 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29874 * sysdeps/mach/sysdep.h: Likewise.
29875 * sysdeps/i386/sysdep.h: Likewise.
29876 * sysdeps/i386/i386-mcount.S: Likewise.
29877 * sysdeps/x86_64/_mcount.S: Likewise.
29878 * sysdeps/x86_64/sysdep.h: Likewise.
29879 * sysdeps/sh/_mcount.S: Likewise.
29880 * sysdeps/sh/sysdep.h: Likewise.
29881 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29882 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29883 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29884 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29885 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29886 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29887 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29888 * locale/localeinfo.h: Likewise.
29889 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29890 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29892 2012-07-09 Roland McGrath <roland@hack.frob.com>
29895 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29897 * manual/message.texi (The Uniforum approach): Likewise.
29898 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29899 (glibc iconv Implementation): Likewise.
29901 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29904 * math/s_clog.c (__clog): Avoid scaling a value down where that
29905 could result in underflow.
29906 * math/s_clog10.c (__clog10): Likewise.
29907 * math/s_clog10f.c (__clog10f): Likewise.
29908 * math/s_clog10l.c (__clog10l): Likewise.
29909 * math/s_clogf.c (__clogf): Likewise.
29910 * math/s_clogl.c (__clogl): Likewise.
29911 * math/libm-test.inc (clog_test): Add more tests.
29912 (clog10_test): Likewise.
29913 * sysdeps/i386/fpu/libm-test-ulps: Update.
29914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29916 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29919 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29920 by 7 not 8 to examine high bit of fractional part.
29923 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29924 for call to __mcount_internal.
29925 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29926 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29927 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29929 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29932 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29933 approximation for values within 0x1p-13f of an odd multiple of
29935 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29936 exception. Add more tests.
29937 * sysdeps/i386/fpu/libm-test-ulps: Update.
29940 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29941 inputs and return -1 for them. Do not check for +Inf in case not
29942 reachable for +Inf.
29943 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29944 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29945 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29946 and return -1 for them. Do not check for +Inf in case not
29947 reachable for +Inf.
29948 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29950 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29951 and return -1 for them. Do not check for +Inf in case not
29952 reachable for +Inf.
29953 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29954 spurious underflow.
29955 * sysdeps/i386/fpu/libm-test-ulps: Update.
29956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29958 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29960 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29962 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29966 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29967 could result in spurious underflow. Scale down values above
29968 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29969 * math/s_csqrtf.c (__csqrtf): Likewise.
29970 * math/s_csqrtl.c (__csqrtl): Likewise.
29971 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29972 spurious underflow.
29973 * sysdeps/i386/fpu/libm-test-ulps: Update.
29974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29976 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29978 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29980 * catgets/xopen-msg.awk: New file.
29981 * catgets/xopen-msg.sed: Removed.
29983 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29985 * intl/po2test.awk: New file.
29986 * intl/po2test.sed: Removed.
29988 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29991 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29992 or multiply small sinh result by itself.
29993 * math/s_ctanf.c (__ctanf): Likewise.
29994 * math/s_ctanh.c (__ctanh): Likewise.
29995 * math/s_ctanhf.c (__ctanhf): Likewise.
29996 * math/s_ctanhl.c (__ctanhl): Likewise.
29997 * math/s_ctanl.c (__ctanl): Likewise.
29998 * math/libm-test.inc (ctan_test_tonearest): New function.
29999 (ctan_test_towardzero): Likewise.
30000 (ctan_test_downward): Likewise.
30001 (ctan_test_upward): Likewise.
30002 (ctanh_test_tonearest): Likewise.
30003 (ctanh_test_towardzero): Likewise.
30004 (ctanh_test_downward): Likewise.
30005 (ctanh_test_upward): Likewise.
30006 (main): Call these new functions.
30007 * sysdeps/i386/fpu/libm-test-ulps: Update.
30008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30010 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30012 * .gitignore: Delete /ports entry.
30014 2012-07-03 Andreas Jaeger <aj@suse.de>
30016 * po/bg.po: Update from translation team.
30017 * po/cs.po: Likewise.
30018 * po/de.po: Likewise.
30019 * po/hr.po: Likewise.
30020 * po/nl.pl: Likewise.
30021 * po/pl.po: Likewise.
30022 * po/vi.po: Likewise.
30024 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30026 * Makeconfig [!+link] (+link-before-libc): New variable.
30027 [!+link] (+link-after-libc): Likewise.
30028 [!+link] (+link-tests): Likewise.
30029 [!+link] (+link): Define in terms of $(+link-before-libc) and
30030 $(+link-after-libc).
30031 [!+link-static] (+link-static-before-libc): New variable.
30032 [!+link-static] (+link-static-after-libc): Likewise.
30033 [!+link-static] (+link-static-tests): Likewise.
30034 [!+link-static] (+link-static): Define in terms of
30035 $(+link-static-before-libc) and $(+link-static-after-libc).
30036 [build-shared] (link-libc-before-gnulib): New variable.
30037 [build-shared] (link-libc-tests): Likewise.
30038 [build-shared] (link-libc): Define in terms of
30039 $(link-libc-before-gnulib).
30040 [!build-shared] (link-libc-tests): New variable.
30041 (link-libc-static-tests): New variable.
30042 [!gnulib] (gnulib-arch): New variable.
30043 [!gnulib] (gnulib-tests): Likewise.
30044 [!gnulib] (static-gnulib-arch): Likewise.
30045 [!gnulib] (static-gnulib-tests): Likewise.
30046 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30047 Define with "=" instead of ":=".
30048 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30049 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30050 * Rules (binaries-all-notests): New variable.
30051 (binaries-all-tests): Likewise.
30052 (binaries-static-notests): Likewise.
30053 (binaries-static-tests): Likewise.
30054 (binaries-all): Define using $(binaries-all-notests) and
30055 $(binaries-all-tests).
30056 (binaries-static): Define using $(binaries-static-notests) and
30057 $(binaries-static-tests).
30058 (binaries-shared-tests): New variable.
30059 (binaries-shared-notests): Likewise.
30060 (binaries-shared): Remove variable.
30061 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30062 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30063 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30064 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30065 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30066 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30067 * elf/Makefile (sln-modules): New variable.
30068 (extra-objs): Add $(sln-modules:=.o).
30069 (ldconfig-modules): Add static-stubs.
30070 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30071 * elf/static-stubs.c: New file.
30074 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30075 by 7 not 8 to examine high bit of fractional part. Use volatile
30076 variables when splitting into final array of floats if
30077 __FLT_EVAL_METHOD__ != 0.
30078 * math/libm-test.inc (cos_test): Add another test.
30079 (sin_test): Likewise.
30080 * sysdeps/i386/fpu/libm-test-ulps: Update.
30083 * math/libm-test.inc (cosh_test): Add more tests.
30085 * version.h (RELEASE): Set to "development".
30086 (VERSION): Set to "2.16.90".
30088 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30090 * NEWS: Update copyright. Remove last-updated date.
30091 Mention math library bug fixes and timezone data changes.
30092 * README: Mention GNU/Hurd, x32, and HPPA support status.
30094 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30096 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30098 2012-06-27 Andreas Jaeger <aj@suse.de>
30100 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30102 2012-06-25 Andreas Jaeger <aj@suse.de>
30104 * sysdeps/s390/fpu/libm-test-ulps: Update.
30106 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30107 Thomas Schwinge <thomas@codesourcery.com>
30109 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30110 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30111 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30114 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30116 * sysdeps/mach/start.c: Remove file.
30117 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30118 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30119 * sysdeps/sh/init-first.c: Likewise.
30121 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30122 registers for frame unwinding purposes, add CFI directives.
30123 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30124 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30125 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30128 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30129 __fortify_fail returning.
30130 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30132 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30133 sysdeps/sh/____longjmp_chk.S.
30134 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30135 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30136 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30137 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30139 * sysdeps/sh/abort-instr.h: New file.
30140 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30141 process in case exit returns.
30143 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30144 initialize the GOT register before use.
30146 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30147 calculation of ARGC > 4.
30149 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30150 meaningful names to some local labels.
30152 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30153 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30155 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30156 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30157 (__arch_compare_and_exchange_val_16_acq): Likewise.
30158 (__arch_compare_and_exchange_val_32_acq): Likewise.
30159 (atomic_exchange_and_add): Fix gUSA sequence.
30160 (atomic_add): Likewise.
30161 (atomic_add_negative): Likewise.
30162 (atomic_add_zero): Likewise.
30163 (atomic_bit_test_set): Likewise.
30165 2012-06-22 Andreas Schwab <schwab@redhat.com>
30168 * include/link.h (struct link_map): Add l_free_initfini.
30169 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30171 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30172 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30173 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30176 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30178 * configure.in: Use AC_LANG_SOURCE.
30179 * configure: Regenerate.
30181 2012-06-22 Roland McGrath <roland@hack.frob.com>
30183 * configure.in (libc_cv_localstatedir): New substituted variable.
30184 * configure: Regenerated.
30185 * config.make.in (localstatedir): New variable, substituted from
30186 libc_cv_localstatedir.
30187 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30188 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30189 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30190 * sysdeps/gnu/configure: Regenerated.
30192 2012-06-21 Jeff Law <law@redhat.com>
30195 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30196 free. Simplify list management for _LIBC case.
30198 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30201 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30202 Clear sign bit of 64-bit integer value before comparing against
30205 * sysdeps/mach/configure: Regenerated.
30207 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30210 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30212 2012-06-21 Jeff Law <law@redhat.com>
30215 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30216 uint16_t for elements in the "seen" array to avoid char overflows.
30217 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30218 * elf/dl-open.c (dl_open_worker): Likewise.
30220 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30222 * scripts/list-sources.sh: Scan PORTS for translations.
30223 * po/libc.pot: Regenerated.
30225 2012-06-21 Andreas Jaeger <aj@suse.de>
30228 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30230 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30231 * bits/byteswap-16.h (__bswap_16): Likewise.
30232 * bits/byteswap.h (__bswap_constant_16): Likewise.
30234 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30237 * sysdeps/i386/fpu_control.h: Removed.
30238 * sysdeps/x86_64/fpu_control.h: Moved to ...
30239 * sysdeps/x86/fpu_control.h: Here.
30241 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30242 (_FPU_SETCW): Likewise.
30244 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30247 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30248 * sysdeps/x86/fpu/bits/mathinline.h: This.
30249 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30253 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30254 functions if __x86_64__ is defined.
30256 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30258 * string/endian.h: Add !__ASSEMBLER__ condition for including
30259 conversion interfaces.
30261 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30264 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30265 of ABS(x) in calculating zero to negative powers other than odd
30267 * math/libm-test.inc (pow_test): Add more tests.
30269 2012-06-15 Andreas Jaeger <aj@suse.de>
30271 * manual/contrib.texi (Contributors): Update entry of Liubov
30272 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30275 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30277 * string/string.h: Add __wur to GNU version of strerror_r.
30279 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30282 * string/Makefile (tests): Add tst-strtok_r.
30283 * string/tst-strtok_r.c: New file.
30284 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30285 RAX_LP/RDX_LP on SAVE_PTR.
30287 2012-06-14 Roland McGrath <roland@hack.frob.com>
30289 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30291 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30293 * libm_test.inc (csqrt_test): Allow more spurious underflow
30295 (j0_test): Likewise.
30296 (j1_test): Likewise.
30297 (y0_test): Likewise.
30298 (y1_test): Likewise.
30300 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30302 * po/Makefile (libc.pot): Use UTF-8 charset.
30304 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30307 Suppress sign-conversion warning from FD_SET.
30308 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30309 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30310 not unsigned long int.
30311 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30313 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30317 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30318 __extern_always_inline instead of __extern_inline.
30319 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30320 (__signbit): Likewise.
30321 (__signbitl): Support C++ namespace.
30322 (lrintf): New inline function.
30324 (llrintf): Likewise.
30325 (llrint): Likewise.
30335 (floorf): Likewise.
30336 (nearbyint): Likewise.
30337 (nearbyintf): Likewise.
30339 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30341 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30342 non-default versions.
30344 2012-06-11 Roland McGrath <roland@hack.frob.com>
30347 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30349 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30351 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30352 (FE_UPWARD, FE_DOWNWARD): Don't define.
30353 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30354 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30356 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30358 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30359 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30361 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30363 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30364 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30365 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30366 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30368 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30371 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30372 * sysdeps/i386/fpu/Implies: New file.
30373 * sysdeps/x86_64/fpu/Implies: Likewise.
30374 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30375 * sysdeps/x86/fpu/bits/fenv.h: This.
30377 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30380 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30383 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30384 character 0xffff that matches the last element of the
30387 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30389 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30392 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30394 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30395 values higher than 25.6283.
30397 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30399 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30400 subnormal exponent extraction and add some __builtin_expect.
30401 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30402 Fix for subnormal mantissa calculation.
30404 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30406 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30407 cpu2 is -1 and errno is not ENOSYS.
30409 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30412 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30413 * sysdeps/x86/bits/string.h: This.
30414 * sysdeps/x86_64/bits/string.h: Removed.
30416 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30417 if not compiling for x86-64, but compiling for >= i486.
30419 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30420 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30422 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30423 New macro from Linux kernel 3.4.0.
30424 (FP_XSTATE_MAGIC2): Likewise.
30425 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30426 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30427 (struct _fpx_sw_bytes): New struct.
30428 (struct _xsave_hdr): Likewise.
30429 (struct _ymmh_state): Likewise.
30430 (struct _xstate): Likewise.
30432 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30433 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30434 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30435 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30436 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30437 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30439 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30440 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30441 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30442 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30443 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30444 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30446 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30449 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30450 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30451 (sysdep_headers): Include sys/platform/ppc.h.
30452 * sysdeps/powerpc/test-gettimebase.c: Test for
30453 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30454 * manual/Makefile (appendices): Include platform.texi.
30455 * manual/contrib.texi (Contributors): Update @node pointers.
30456 * manual/maint.texi (Maintenance): Likewise.
30457 (Platform): New node.
30458 * manual/platform.texi: New file. Document the new features.
30460 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30461 Jakub Jelinek <jakub@redhat.com>
30464 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30465 where __builtin_expect is unavailable.
30467 2012-06-03 David S. Miller <davem@davemloft.net>
30469 * stdlib/longlong.h: Updated from GCC.
30471 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30474 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30475 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30478 (GLIBC_2.16): Likewise.
30480 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30482 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30484 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30487 (default-abi): New variable.
30488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30489 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30491 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30493 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30495 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30498 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30499 definition. Document in comment.
30501 2012-06-01 David S. Miller <davem@davemloft.net>
30503 * stdlib/longlong.h: Updated from GCC.
30505 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30508 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30509 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30510 sys/debugreg.h sys/io.h here.
30511 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30512 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30514 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30515 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30516 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30517 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30518 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30519 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30521 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30522 Define only if __x86_64__ is defined.
30524 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30527 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30528 Use int64_t for variable i.
30529 * math/libm-test.inc (fmod_test): Add more tests.
30531 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30532 z computation is not scheduled after fetestexcept.
30533 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30534 Use math_force_eval instead of asm to ensure calculation scheduled
30535 before exception test.
30536 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30537 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30539 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30542 computation is not scheduled after fetestexcept.
30544 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30547 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30548 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30550 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30552 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30553 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30555 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30558 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30560 (__WCHAR_MIN): Support __WORDSIZE == 64.
30561 (__WCHAR_MAX): Likewise.
30563 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30564 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30567 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30568 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30571 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30572 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30574 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30575 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30577 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30578 Defined to 1 if __x86_64__ isn't defined.
30579 (_STAT_VER_LINUX_OLD): New.
30580 (st_atime): Remove duplicate.
30581 (st_mtime): Likewise.
30582 (st_ctime): Likewise.
30584 2012-05-31 David S. Miller <davem@davemloft.net>
30586 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30589 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30591 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30595 * elf/dl-reloc.c: Include <_itoa.h>.
30596 (_dl_reloc_bad_type): Remove use of INTUSE.
30597 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30598 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30599 * stdio-common/psiginfo.c (psiginfo): Likewise.
30600 * stdio-common/psignal.c (psignal): Likewise.
30601 * string/strsignal.c (strsignal): Likewise.
30602 * include/signal.h (_sys_siglist): Declare hidden proto.
30603 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30604 INTVARDEF with libc_hidden_data_def.
30605 * stdio-common/itoa-udigits.c: Likewise.
30606 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30607 (_itoa_lower_digits_internal): Remove declaration.
30608 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30609 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30610 (_sys_sigabbrev_internal): Remove aliases.
30611 (_sys_siglist): Define hidden alias.
30613 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30615 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30618 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30621 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30622 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30624 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30625 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30626 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30627 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30628 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30629 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30631 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30632 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30633 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30635 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30643 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30644 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30645 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30647 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30648 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30649 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30650 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30651 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30652 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30654 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30655 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30657 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30658 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30660 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30661 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30662 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30664 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30665 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30667 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30669 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30670 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30671 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30673 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30675 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30677 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30679 * math/math.h (M_El): Use two more decimal places.
30680 (M_LOG2El): Likewise.
30681 (M_LOG10El): Likewise.
30682 (M_LN2l): Likewise.
30683 (M_LN10l): Likewise.
30685 (M_PI_2l): Likewise.
30686 (M_PI_4l): Likewise.
30687 (M_1_PIl): Likewise.
30688 (M_2_PIl): Likewise.
30689 (M_2_SQRTPIl): Likewise.
30690 (M_SQRT2l): Likewise.
30691 (M_SQRT1_2l): Likewise.
30693 2012-05-31 David S. Miller <davem@davemloft.net>
30695 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30696 values between float registers.
30697 * sysdeps/sparc/sparc64/memset.S: Likewise.
30698 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30700 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30702 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30703 -D_FORTIFY_SOURCE=1.
30704 (CPPFLAGS-tst-longjmp_chk.c): Define.
30705 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30706 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30707 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30708 CFLAGS-tst-wchar-h.c.
30710 2012-05-31 Marek Polacek <polacek@redhat.com>
30713 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30714 __endmntent_internal): Remove declaration.
30715 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30716 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30717 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30719 2012-05-30 David S. Miller <davem@davemloft.net>
30721 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30722 (___Q_simulate_exceptions): Use real FP ops rather than writing
30724 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30727 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30730 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30731 * sysdeps/x86/bits/xtitypes.h: This.
30733 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30734 * sysdeps/x86/bits/wordsize.h: This.
30736 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30737 * sysdeps/x86/bits/huge_vall.h: This.
30739 * sysdeps/i386/bits/select.h: Removed.
30740 * sysdeps/x86_64/bits/select.h: Renamed to ...
30741 * sysdeps/x86/bits/select.h: This.
30743 * sysdeps/i386/bits/setjmp.h: Removed.
30744 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30745 * sysdeps/x86/bits/setjmp.h: This.
30747 * sysdeps/i386/bits/mathdef.h: Removed.
30748 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30749 * sysdeps/x86/bits/mathdef.h: This.
30751 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30754 * include/sys/socket.h (__connect_internal)
30755 (__libc_sa_len_internal): Remove declaration.
30756 (__connect, __libc_sa_len): Declare hidden_proto.
30757 (SA_LEN): Remove use of INTUSE.
30758 * socket/connect.c: Add libc_hidden_def.
30759 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30760 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30761 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30763 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30764 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30765 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30766 of adding _internal alias.
30768 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30771 * sysdeps/i386/bits/link.h: Removed.
30772 * sysdeps/i386/bits/linkmap.h: Likewise.
30773 * sysdeps/x86_64/bits/link.h: Renamed to ...
30774 * sysdeps/x86/bits/link.h: This.
30775 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30776 * sysdeps/x86/bits/linkmap.h: This.
30778 * sysdeps/i386/bits/endian.h: Removed.
30779 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30780 * sysdeps/x86/bits/endian.h: This.
30782 * sysdeps/i386/bits/byteswap.h: Removed.
30783 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30784 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30785 * sysdeps/x86/bits/byteswap.h: This.
30786 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30787 * sysdeps/x86/bits/byteswap-16.h: This.
30788 * sysdeps/i386/Implies: Add x86.
30789 * sysdeps/x86_64/Implies: Likewise.
30791 2012-05-30 David S. Miller <davem@davemloft.net>
30793 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30794 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30795 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30796 (FP_TRAPPING_EXCEPTIONS): Define.
30797 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30798 (FP_TRAPPING_EXCEPTIONS): Define.
30799 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30800 subnormals only when inexact has been signalled or underflow
30801 exceptions are enabled.
30802 (_FP_PACK_CANONICAL): Likewise.
30804 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30807 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30808 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30810 2012-05-30 Richard Henderson <rth@twiddle.net>
30812 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30813 with #ifndef NOT_IN_libc.
30815 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30816 marked to avoid plt entry.
30818 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30821 * Makeconfig (default-abi): New macro.
30822 (abi-includes): Likewise.
30823 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30824 $(abi-$(default-abi)-lib-soname) for soname if defined.
30825 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30827 * Makefile (installed-stubs): Likewise.
30828 * include/stubs-biarch.h: Removed.
30829 * scripts/lib-names.awk: Only handle one library at a time.
30830 * scripts/soversions.awk: Remove WORDSIZE support.
30831 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30833 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30835 (syscall-list-default-condition): Likewise.
30836 (syscall-list-default-condition): Likewise.
30837 (syscall-list-includes): Likewise.
30838 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30839 syscall-list-* with abi-*. Handle undefined abi-variants.
30840 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30841 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30842 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30843 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30844 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30845 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30847 (syscall-list-32-options): Likewise.
30848 (syscall-list-32-condition): Likewise.
30849 (syscall-list-64-options): Likewise.
30850 (syscall-list-64-condition): Likewise.
30851 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30853 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30856 (abi-64-ld-soname): New macro.
30857 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30858 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30861 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30862 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30864 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30866 * sysdeps/unix/sysv/linux/kernel-features.h
30867 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30868 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30869 include <kernel-features.h>.
30870 [!__NR_ftruncate64]: Remove conditional code.
30871 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30872 [__NR_ftruncate64]: Make code unconditional.
30873 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30874 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30875 include <kernel-features.h>.
30876 [!__NR_ftruncate64]: Remove conditional code.
30877 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30878 [__NR_ftruncate64]: Make code unconditional.
30879 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30881 include <kernel-features.h>.
30882 [!__NR_ftruncate64]: Remove conditional code.
30883 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30884 [__NR_ftruncate64]: Make code unconditional.
30885 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30887 include <kernel-features.h>.
30888 [!__NR_ftruncate64]: Remove conditional code.
30889 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30890 [__NR_ftruncate64]: Make code unconditional.
30891 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30893 * configure.in (libc_cv_fpie): Weaken to a compile test using
30894 LIBC_TRY_CC_OPTION.
30895 * configure: Regenerated.
30897 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30912 2012-05-27 David S. Miller <davem@davemloft.net>
30914 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30916 (__Q_simulate_exceptions): Return void. Change to simulate
30917 exceptions by writing into the %fsr.
30918 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30919 (__Qp_handle_exceptions): Likewise.
30921 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30922 __Qp_handle_exceptions.
30923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30924 __Qp_handle_exceptions.
30925 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30926 as unused and give dummy FP_RND_NEAREST initializer.
30927 (FP_INHIBIT_RESULTS): Define.
30928 (___Q_simulate_exceptions): Update declaration.
30929 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30931 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30932 as unused and give dummy FP_RND_NEAREST initializer.
30933 (__Qp_handle_exceptions): Update declaration.
30934 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30937 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30939 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30940 the temporary FPU control word.
30941 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30942 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30943 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30944 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30945 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30946 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30947 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30948 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30949 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30950 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30951 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30953 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30955 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30958 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30960 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30961 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30962 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30963 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30965 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30966 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30969 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30971 * po/h.po: Update from translation team.
30973 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30975 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30977 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30978 handling of denormals.
30979 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30980 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30981 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30982 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30983 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30984 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30988 2012-05-26 Marek Polacek <polacek@redhat.com>
30991 * math/libm-test.inc (fma_test): Don't always expect underflow
30994 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30997 * elf/tst-execstack.c: Include stackinfo.h.
30998 (do_test): Adjust test case to ensure that pthread_getattr_np
30999 behaviour remains the same after marking stack executable.
31001 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31003 * sysdeps/unix/sysv/linux/kernel-features.h
31004 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31005 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31007 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31008 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31009 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31011 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31012 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31014 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31016 * configure.in: Define the default includes to being none.
31017 * configure: Regenerated.
31019 2012-05-25 Roland McGrath <roland@hack.frob.com>
31021 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31022 * sysdeps/x86_64/setjmp.S: Likewise.
31023 * sysdeps/i386/bsd-setjmp.S: Likewise.
31024 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31025 * sysdeps/i386/setjmp.S: Likewise.
31026 * sysdeps/i386/__longjmp.S: Likewise.
31027 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31028 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31030 * include/stap-probe.h: New file.
31031 * configure.in: Handle --enable-systemtap.
31032 * configure: Regenerated.
31033 * config.h.in (USE_STAP_PROBE): New #undef.
31034 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31035 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31036 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31038 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31041 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31042 to 2.4.0 where earlier.
31043 * sysdeps/unix/sysv/linux/configure: Regenerated.
31044 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31045 <kernel-features.h>.
31046 [__ASSUME_32BITUIDS]: Make code unconditional.
31047 [!__ASSUME_32BITUIDS]: Remove conditional code.
31048 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31049 <kernel-features.h>.
31050 [__ASSUME_32BITUIDS]: Make code unconditional.
31051 [!__ASSUME_32BITUIDS]: Remove conditional code.
31052 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31053 [__ASSUME_32BITUIDS]: Make code unconditional.
31054 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31055 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31056 <kernel-features.h>.
31057 [__ASSUME_32BITUIDS]: Make code unconditional.
31058 [!__ASSUME_32BITUIDS]: Remove conditional code.
31059 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31060 <kernel-features.h>.
31061 [__ASSUME_32BITUIDS]: Make code unconditional.
31062 [!__ASSUME_32BITUIDS]: Remove conditional code.
31063 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31064 <kernel-features.h>.
31065 [__ASSUME_32BITUIDS]: Make code unconditional.
31066 [!__ASSUME_32BITUIDS]: Remove conditional code.
31067 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31068 <kernel-features.h>.
31069 [__ASSUME_32BITUIDS]: Make code unconditional.
31070 [!__ASSUME_32BITUIDS]: Remove conditional code.
31071 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31072 <kernel-features.h>.
31073 [__ASSUME_32BITUIDS]: Make code unconditional.
31074 [!__ASSUME_32BITUIDS]: Remove conditional code.
31075 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31076 <kernel-features.h>.
31077 [__ASSUME_32BITUIDS]: Make code unconditional.
31078 [!__ASSUME_32BITUIDS]: Remove conditional code.
31079 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31080 <kernel-features.h>.
31081 [__ASSUME_32BITUIDS]: Make code unconditional.
31082 [!__ASSUME_32BITUIDS]: Remove conditional code.
31083 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31084 <kernel-features.h>.
31085 [__ASSUME_32BITUIDS]: Make code unconditional.
31086 [!__ASSUME_32BITUIDS]: Remove conditional code.
31087 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31088 <kernel-features.h>.
31089 [__ASSUME_32BITUIDS]: Make code unconditional.
31090 [!__ASSUME_32BITUIDS]: Remove conditional code.
31091 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31092 <kernel-features.h>.
31093 [__ASSUME_32BITUIDS]: Make code unconditional.
31094 [!__ASSUME_32BITUIDS]: Remove conditional code.
31095 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31096 <kernel-features.h>.
31097 [__NR_setresgid] (__setresgid): Do not declare.
31098 [__ASSUME_32BITUIDS]: Make code unconditional.
31099 [!__ASSUME_32BITUIDS]: Remove conditional code.
31100 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31101 <kernel-features.h>.
31102 [__NR_setresuid] (__setresuid): Do not declare.
31103 [__ASSUME_32BITUIDS]: Make code unconditional.
31104 [!__ASSUME_32BITUIDS]: Remove conditional code.
31105 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31106 <kernel-features.h>.
31107 [__ASSUME_32BITUIDS]: Make code unconditional.
31108 [!__ASSUME_32BITUIDS]: Remove conditional code.
31109 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31110 <kernel-features.h>.
31111 [__ASSUME_32BITUIDS]: Make code unconditional.
31112 [!__ASSUME_32BITUIDS]: Remove conditional code.
31113 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31114 <kernel-features.h>.
31115 [__ASSUME_32BITUIDS]: Make code unconditional.
31116 [!__ASSUME_32BITUIDS]: Remove conditional code.
31117 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31118 <kernel-features.h>.
31119 [__ASSUME_32BITUIDS]: Make code unconditional.
31120 [!__ASSUME_32BITUIDS]: Remove conditional code.
31121 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31122 <kernel-features.h>.
31123 [__ASSUME_32BITUIDS]: Make code unconditional.
31124 [!__ASSUME_32BITUIDS]: Remove conditional code.
31125 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31126 <kernel-features.h>.
31127 [__ASSUME_32BITUIDS]: Make code unconditional.
31128 [!__ASSUME_32BITUIDS]: Remove conditional code.
31129 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31130 <kernel-features.h>.
31131 [__ASSUME_32BITUIDS]: Make code unconditional.
31132 [!__ASSUME_32BITUIDS]: Remove conditional code.
31133 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31134 <kernel-features.h>.
31135 [__ASSUME_32BITUIDS]: Make code unconditional.
31136 [!__ASSUME_32BITUIDS]: Remove conditional code.
31137 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31138 <kernel-features.h>.
31139 [__ASSUME_32BITUIDS]: Make code unconditional.
31140 [!__ASSUME_32BITUIDS]: Remove conditional code.
31141 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31142 <kernel-features.h>.
31143 [__ASSUME_32BITUIDS]: Make code unconditional.
31144 [!__ASSUME_32BITUIDS]: Remove conditional code.
31145 * sysdeps/unix/sysv/linux/kernel-features.h
31146 (__ASSUME_SETRESUID_SYSCALL): Remove.
31147 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31148 (__ASSUME_32BITUIDS): Likewise.
31149 (__ASSUME_LDT_WORKS): Likewise.
31150 (__ASSUME_O_DIRECTORY): Likewise.
31151 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31152 architecture but not kernel version.
31153 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31154 (__ASSUME_MMAP2_SYSCALL): Likewise.
31155 (__ASSUME_STAT64_SYSCALL): Likewise.
31156 (__ASSUME_IPC64): Likewise.
31157 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31158 <kernel-features.h>.
31159 [__ASSUME_32BITUIDS]: Make code unconditional.
31160 [!__ASSUME_32BITUIDS]: Remove conditional code.
31161 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31162 <kernel-features.h>.
31163 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31164 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31165 132096]: Remove conditional code.
31166 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31167 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31168 <kernel-features.h>.
31169 [__ASSUME_32BITUIDS]: Make code unconditional.
31170 [!__ASSUME_32BITUIDS]: Remove conditional code.
31171 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31172 <kernel-features.h>.
31173 [__ASSUME_32BITUIDS]: Make code unconditional.
31174 [!__ASSUME_32BITUIDS]: Remove conditional code.
31175 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31176 <kernel-features.h>.
31177 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31179 (__setresgid): Do not declare.
31180 [__ASSUME_32BITUIDS]: Make code unconditional.
31181 [!__ASSUME_32BITUIDS]: Remove conditional code.
31182 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31183 <kernel-features.h>.
31184 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31186 (__setresuid): Do not declare.
31187 [__ASSUME_32BITUIDS]: Make code unconditional.
31188 [!__ASSUME_32BITUIDS]: Remove conditional code.
31189 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31190 <kernel-features.h>.
31191 [__ASSUME_32BITUIDS]: Make code unconditional.
31192 [!__ASSUME_32BITUIDS]: Remove conditional code.
31193 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31194 <kernel-features.h>.
31195 [__ASSUME_32BITUIDS]: Make code unconditional.
31196 [!__ASSUME_32BITUIDS]: Remove conditional code.
31198 2012-05-25 Richard Henderson <rth@twiddle.net>
31200 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31201 dl_hwcap to ifunc resolver.
31202 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31204 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31205 dl_hwcap to ifunc resolver.
31206 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31208 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31211 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31212 for |x| <= 2**-26, not 2**-57.
31213 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31216 2012-05-24 Jeff Law <law@redhat.com>
31218 * stdio-common/Makefile (tests): Add bug25.
31219 * stdio-common/bug25.c: New test.
31221 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31224 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31225 multiple of MALLOC_ALIGNMENT in size.
31226 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31228 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31230 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31232 (FILENAME_MAX): Use macro-int-constant.
31233 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31234 (_IOFBF): Use macro-int-constant.
31235 (_IOLBF): Likewise.
31236 (_IONBF): Likewise.
31237 (SEEK_CUR): Likewise.
31238 (SEEK_END): Likewise.
31239 (SEEK_SET): Likewise.
31240 (TMP_MAX): Likewise.
31241 (EOF): Use macro-int-constant. Require < 0.
31242 (NULL): Use macro-constant. Require == 0.
31243 (stdin): Require type to be FILE *.
31244 (stdout): Likewise.
31245 (stderr): Likewise.
31246 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31247 macro-int-constant.
31248 (EXIT_SUCCESS): Likewise.
31249 (NULL): Use macro-constant. Require == 0.
31250 (RAND_MAX): Use macro-int-constant.
31251 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31252 [C99-based standards] (strtof): Require function.
31253 [C99-based standards] (strtold): Likewise.
31254 [C99-based standards] (strtoll): Likewise.
31255 [C99-based standards] (strtoull): Likewise.
31256 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31257 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31258 [ISO || ISO99 || ISO11] (math.h): Likewise.
31259 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31260 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31261 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31263 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31266 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31267 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31268 * intl/dgettext.c (DCGETTEXT): Likewise.
31269 * intl/gettext.c (DCGETTEXT): Likewise.
31270 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31271 * posix/regex_internal.h (gettext): Likewise.
31272 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31273 Remove declaration.
31274 * include/argz.h (__argz_count_internal)
31275 (__argz_stringify_internal): Remove declaration.
31276 (__argz_count, __argz_stringify): Declare hidden proto.
31277 * intl/dcgettext.c: Remove use of INTDEF.
31278 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31279 * string/argz-stringify.c: Likewise.
31280 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31281 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31282 Declare hidden proto.
31283 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31284 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31285 Declare hidden proto.
31286 * include/stdio.h (__asprintf_internal): Don't declare.
31287 (__asprintf): Don't define as macro. Declare hidden proto.
31288 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31289 (__fsetlocking): Declare hidden proto.
31290 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31291 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31293 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31294 (_IO_setlinebuf): Remove use of INTUSE.
31295 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31296 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31297 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31298 Remove declaration.
31299 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31300 (_IO_do_flush): Remove use of INTUSE.
31301 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31302 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31303 (_IO_adjust_column, _IO_least_wmarker)
31304 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31305 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31306 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31307 (_IO_default_doallocate, _IO_wdefault_doallocate)
31308 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31309 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31310 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31311 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31312 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31313 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31314 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31315 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31316 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31317 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31318 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31319 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31320 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31322 (_IO_flush_all_internal, _IO_adjust_column_internal)
31323 (_IO_default_uflow_internal, _IO_default_finish_internal)
31324 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31325 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31326 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31327 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31328 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31329 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31330 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31331 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31332 (_IO_file_close_internal, _IO_file_close_it_internal)
31333 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31334 (_IO_file_init_internal, _IO_file_attach_internal)
31335 (_IO_file_fopen_internal, _IO_file_read_internal)
31336 (_IO_file_sync_internal, _IO_file_seek_internal)
31337 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31338 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31339 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31340 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31341 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31342 (_IO_list_all_internal, _IO_link_in_internal)
31343 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31344 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31345 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31346 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31347 (_IO_do_write_internal, _IO_padn_internal)
31348 (_IO_getline_info_internal, _IO_getline_internal)
31349 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31350 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31351 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31352 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31353 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31354 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31355 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31356 with libc_hidden_ver, remove use of INTUSE.
31357 * libio/genops.c: Likewise.
31358 * libio/freopen.c: Likewise.
31359 * libio/freopen64.c: Likewise.
31360 * libio/iofclose.c: Likewise.
31361 * libio/iofdopen.c: Likewise.
31362 * libio/iofflush.c: Likewise.
31363 * libio/iofflush_u.c: Likewise.
31364 * libio/iofgets.c: Likewise.
31365 * libio/iofgets_u.c: Likewise.
31366 * libio/iofopen.c: Likewise.
31367 * libio/iofopncook.c: Likewise.
31368 * libio/iofread.c: Likewise.
31369 * libio/iofread_u.c: Likewise.
31370 * libio/ioftell.c: Likewise.
31371 * libio/iofwrite.c: Likewise.
31372 * libio/iogetline.c: Likewise.
31373 * libio/iogets.c: Likewise.
31374 * libio/iogetwline.c: Likewise.
31375 * libio/iopadn.c: Likewise.
31376 * libio/iopopen.c: Likewise.
31377 * libio/ioseekoff.c: Likewise.
31378 * libio/ioseekpos.c: Likewise.
31379 * libio/iosetbuffer.c: Likewise.
31380 * libio/iosetvbuf.c: Likewise.
31381 * libio/ioungetc.c: Likewise.
31382 * libio/ioungetwc.c: Likewise.
31383 * libio/iovdprintf.c: Likewise.
31384 * libio/iovsprintf.c: Likewise.
31385 * libio/iovsscanf.c: Likewise.
31386 * libio/memstream.c: Likewise.
31387 * libio/obprintf.c: Likewise.
31388 * libio/oldfileops.c: Likewise.
31389 * libio/oldiofclose.c: Likewise.
31390 * libio/oldiofdopen.c: Likewise.
31391 * libio/oldiofopen.c: Likewise.
31392 * libio/oldiopopen.c: Likewise.
31393 * libio/oldstdfiles.c: Likewise.
31394 * libio/putc.c: Likewise.
31395 * libio/setbuf.c: Likewise.
31396 * libio/setlinebuf.c: Likewise.
31397 * libio/stdfiles.c: Likewise.
31398 * libio/strops.c: Likewise.
31399 * libio/vasprintf.c: Likewise.
31400 * libio/vscanf.c: Likewise.
31401 * libio/vsnprintf.c: Likewise.
31402 * libio/vswprintf.c: Likewise.
31403 * libio/wfiledoalloc.c: Likewise.
31404 * libio/wfileops.c: Likewise.
31405 * libio/wgenops.c: Likewise.
31406 * libio/wmemstream.c: Likewise.
31407 * libio/wstrops.c: Likewise.
31408 * libio/__fpurge.c: Likewise.
31409 * libio/__fsetlocking.c: Likewise.
31410 * assert/assert.c: Likewise.
31411 * debug/fgets_chk.c: Likewise.
31412 * debug/fgets_u_chk.c: Likewise.
31413 * debug/fread_chk.c: Likewise.
31414 * debug/fread_u_chk.c: Likewise.
31415 * debug/gets_chk.c: Likewise.
31416 * debug/obprintf_chk.c: Likewise.
31417 * debug/vasprintf_chk.c: Likewise.
31418 * debug/vdprintf_chk.c: Likewise.
31419 * debug/vsnprintf_chk.c: Likewise.
31420 * debug/vsprintf_chk.c: Likewise.
31421 * malloc/mtrace.c: Likewise.
31422 * misc/error.c: Likewise.
31423 * misc/syslog.c: Likewise.
31424 * stdio-common/asprintf.c: Likewise.
31425 * stdio-common/fxprintf.c: Likewise.
31426 * stdio-common/getw.c: Likewise.
31427 * stdio-common/isoc99_fscanf.c: Likewise.
31428 * stdio-common/isoc99_scanf.c: Likewise.
31429 * stdio-common/isoc99_vfscanf.c: Likewise.
31430 * stdio-common/isoc99_vscanf.c: Likewise.
31431 * stdio-common/isoc99_vsscanf.c: Likewise.
31432 * stdio-common/printf-prs.c: Likewise.
31433 * stdio-common/printf_fp.c: Likewise.
31434 * stdio-common/printf_fphex.c: Likewise.
31435 * stdio-common/printf_size.c: Likewise.
31436 * stdio-common/putw.c: Likewise.
31437 * stdio-common/scanf.c: Likewise.
31438 * stdio-common/sprintf.c: Likewise.
31439 * stdio-common/tmpfile.c: Likewise.
31440 * stdio-common/vfprintf.c: Likewise.
31441 * stdio-common/vfscanf.c: Likewise.
31442 * stdlib/strfmon_l.c: Likewise.
31443 * sunrpc/openchild.c: Likewise.
31444 * sunrpc/xdr_stdio.c: Likewise.
31445 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31446 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31448 2012-05-24 Roland McGrath <roland@hack.frob.com>
31450 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31452 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31453 in the third column, to generate for the shared library an IFUNC
31454 that uses _dl_vdso_vsym.
31455 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31456 * Makeconfig (object-suffixes-noshared): New variable.
31458 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31459 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31460 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31461 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31464 * include/sys/time.h (__gettimeofday): Remove macro.
31465 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31466 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31468 (__gettimeofday): Add libc_hidden_def.
31469 (gettimeofday): Add libc_hidden_weak.
31470 * sysdeps/mach/gettimeofday.c: Likewise.
31471 * sysdeps/posix/gettimeofday.c: Likewise.
31472 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31473 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31474 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31475 (__gettimeofday_internal): Remove strong_alias.
31476 (__gettimeofday): Add libc_hidden_def.
31477 (gettimeofday): Add libc_hidden_weak.
31478 * sysdeps/unix/syscalls.list (gettimeofday):
31479 Remove __gettimeofday_internal alias.
31481 2012-05-24 Daniel Jacobowitz <drow@false.org>
31482 H.J. Lu <hongjiu.lu@intel.com>
31485 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31486 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31487 (largebin_index_32_big): New.
31488 (largebin_index): Use it for 16-byte alignment.
31489 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31490 correction with front_misalign.
31492 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31520 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31521 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31523 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31527 * math/libm-test.inc (exp_test): Add test from bug 14036.
31528 (pow_test): Add test from bug 10846.
31530 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31532 (special_function): Do not include flags in test name.
31533 (parse_args): Likewise.
31534 * sysdeps/i386/fpu/libm-test-ulps: Update.
31535 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31536 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31537 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31540 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31542 * math/libm-test.inc ("Philosophy"): Update comment about
31544 (UNDERFLOW_EXCEPTION): New macro.
31545 (UNDERFLOW_EXCEPTION_OK): Likewise.
31546 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31547 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31548 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31549 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31550 (INVALID_EXCEPTION_OK): Update value.
31551 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31552 (OVERFLOW_EXCEPTION_OK): Likewise.
31553 (IGNORE_ZERO_INF_SIGN): Likewise.
31554 (test_exceptions): Handle underflow exceptions.
31555 (acos_test): Update for underflow exception expectations.
31556 (cexp_test): Likewise.
31557 (clog_test): Likewise.
31558 (clog10_test): Likewise.
31559 (csqrt_test): Likewise.
31560 (ctan_test): Likewise.
31561 (ctanh_test): Likewise.
31562 (exp_test): Likewise.
31563 (exp10_test): Likewise.
31564 (exp2_test): Likewise.
31565 (expm1_test): Likewise.
31566 (fma_test): Likewise.
31567 (j0_test): Likewise.
31568 (jn_test): Likewise.
31569 (nexttoward_test): Likewise.
31570 (pow_test): Likewise.
31571 (scalbn_test): Likewise.
31572 (scalbln_test): Likewise.
31573 (tan_test): Likewise.
31574 (y1_test): Likewise.
31575 * sysdeps/i386/fpu/libm-test-ulps: Update.
31576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31578 2012-05-23 David S. Miller <davem@davemloft.net>
31580 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31581 (__libc_sigaction): Remove unused local variables.
31583 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31585 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31587 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31589 mktime: avoid signed integer overflow
31590 * time/mktime.c (__mktime_internal): Do not mishandle the case
31591 where diff == INT_MIN.
31593 mktime: simplify computation of average
31594 * time/mktime.c (ranged_convert): Use new time_t_avg function
31595 instead of rolling our own (probably-slower) code.
31597 mktime: do not assume signed right shift propagates sign bit
31598 * time/mktime.c (isdst_differ): New static function.
31599 (__mktime_internal): No need to normalize tm_isdst now.
31600 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31603 mktime: merge another wrapv change from gnulib
31604 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31605 from some compilers.
31607 mktime: remove incorrect attempt at unusual arithmetics
31608 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31609 The code didn't really work on such machines anyway.
31610 (TYPE_MINIMUM): Assume two's complement.
31611 (twos_complement_arithmetic): Verify that long_int and time_t
31612 are two's complement (or unsigned, in the latter case).
31614 mktime: check signed shifts on long_int and time_t, too
31615 * time/mktime.c (SHR): Check that shifts work as desired
31616 on the types long_int and time_t too, as SHR is used on
31619 mktime: do not assume 'long' is wide enough
31620 * time/mktime.c (verify): Move decl up.
31621 (long_int): New type.
31622 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31623 to remove assumption in the code that 'long' is wide enough to
31624 store year values. This assumption is not true on x32 and on
31625 some non-glibc platforms.
31627 mktime: merge wrapv change from gnulib
31628 * time/mktime.c (WRAPV): New macro.
31629 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31630 (guess_time_tm, __mktime_internal): Do not assume that signed
31631 integer overflow wraps around; modern compilers generate code
31632 where this assumption is no longer valid.
31634 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31636 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31637 Replace "jmp L(pseudo_end)" with "ret".
31638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31641 2012-05-23 Andreas Jaeger <aj@suse.de>
31643 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31644 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31646 2012-05-23 Andreas Jaeger <aj@suse.de>
31647 Maximilian Attems <max@stro.at>
31649 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31652 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31654 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31655 code so that pseudo_end is just ret and the stack pointer is
31656 correct also for static library in error case.
31658 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31660 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31661 move to syscalls.list.
31662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31667 * manual/install.texi (Running make install): Do not mention Linux
31668 kernel version for which pt_chown is not needed.
31669 (Linux): Do not mention problems with nscd with 2.0 kernels.
31670 * INSTALL: Regenerated.
31672 2012-05-23 Andreas Jaeger <aj@suse.de>
31674 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31675 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31677 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31678 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31679 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31680 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31681 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31682 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31683 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31684 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31685 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31686 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31687 * sysdeps/unix/sysv/linux/bits/in.h
31688 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31690 2012-05-22 Roland McGrath <roland@hack.frob.com>
31692 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31693 (PREPARE_VERSION): Just use assert instead, it will be elided
31694 under [NDEBUG] anyway.
31696 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31698 * sysdeps/unix/sysv/linux/Makefile: Include
31699 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31700 (sysdep_routines): Remove sysctl.
31701 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31702 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31703 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31704 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31705 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31707 2012-05-22 Andreas Jaeger <aj@suse.de>
31709 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31710 that pseudo_end is just ret and the stack pointer is correct also
31711 for static library in error case.
31713 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31716 * nss/nsswitch.c (defconfig_entries): New variable.
31717 (__nss_database_lookup): Don't leak defconfig entries.
31718 (nss_parse_service_list): Don't leak on error paths.
31719 (free_database_entries): New function.
31720 (free_defconfig): New function.
31721 (free_mem): Move common code to free_database_entries.
31723 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31725 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31727 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31729 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31730 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31733 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31734 (INTERNAL_SYSCALL_TYPES): Likewise.
31735 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31736 (LOAD_REGS_TYPES_[1-6]): Likewise.
31737 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31738 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31740 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31742 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31743 copysignl for GLIBC_2_0.
31744 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31745 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31746 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31747 logbl for GLIBC_2_0.
31748 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31749 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31751 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31754 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31756 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31759 * time/mktime.c: Update copyright years.
31761 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31763 mktime: merge comment-quoting-style change from gnulib
31764 * time/mktime.c: Quote 'like this' in comments.
31765 The GNU coding standards suggest that we no longer quote `like this',
31766 as "`" and "'" are typically rendered asymmetrically nowadays.
31767 The typical gnulib style is to quote 'like this' when quoting
31768 code, and "like this" when quoting English.
31770 * time/mktime.c (compile-command): Add "-I.".
31772 mktime: merge mktime-internal.h change from gnulib
31773 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31775 mktime: merge time_r change from gnulib
31776 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31778 mktime: merge DEBUG change from gnulib
31779 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31780 case system <time.h> has a #define.
31782 mktime: merge <sys/types.h> change from gnulib
31783 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31784 since <time.t> is now guaranteed to define time_t.
31786 mktime: merge HAVE_CONFIG_H change from gnulib
31787 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31789 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31794 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31796 (struct rusage): Use anonymous union to pad each field to
31799 2012-05-21 David S. Miller <davem@davemloft.net>
31801 * Makefules (o-iterator): Remove .s cases.
31802 (compile-command.s): Delete.
31803 (COMPILE.s): Delete.
31804 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31806 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31808 * configure.in (libc_cv_predef_stack_protector): Only consider
31809 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31810 * configure: Regenerated.
31812 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31815 New macro. Use R*LP on int and pointer.
31816 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31817 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31818 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31819 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31821 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31822 [__WORDSIZE_TIME64_COMPAT32] instead of
31823 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31824 (struct utmp): Likewise.
31825 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31826 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31828 (__WORDSIZE_TIME64_COMPAT32): This.
31829 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31830 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31831 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31832 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31833 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31834 (__WORDSIZE_TIME64_COMPAT32): New macro.
31836 2012-05-21 Andreas Jaeger <aj@suse.de>
31838 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31839 only if [SHARED]. Add prototype for __wcschr_ia32.
31841 2012-05-21 Roland McGrath <roland@hack.frob.com>
31843 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31844 of %rbp unmolested in the jmp_buf while mangling the low bits.
31845 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31846 unmolested high bits of %rbp while demangling the low bits.
31847 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31849 2012-05-21 Andreas Jaeger <aj@suse.de>
31851 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31852 * sunrpc/svc_simple.c: Use it for registerrpc.
31853 * sunrpc/xcrypt.c: Use it for passwd2des.
31855 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31857 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31859 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31860 Don't define if [__SYSCALL_WORDSIZE != 32].
31861 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31864 2012-05-21 Bruno Haible <bruno@clisp.org>
31865 Andreas Jaeger <aj@suse.de>
31867 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31868 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31869 inptr and inend for must_buffer_ch.
31870 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31871 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31872 * stdio-common/Makefile (tests): Remove bug15.
31873 (bug15-ENV): Remove macro.
31874 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31877 2012-05-19 Andreas Jaeger <aj@suse.de>
31878 Roland McGrath <roland@hack.frob.com>
31880 * manual/contrib.texi: Completely rewritten. It contains now an
31881 alphabetical list of contributors and their contributions.
31883 2012-05-21 Richard Henderson <rth@twiddle.net>
31885 * misc/getauxval.c (__getauxval): Use unsigned long int.
31886 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31887 (getauxval): Use unsigned long int.
31889 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31891 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31893 2012-05-21 Roland McGrath <roland@hack.frob.com>
31895 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31896 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31897 __alignof__ (long double).
31899 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31903 2012-05-20 Richard Henderson <rth@twiddle.net>
31905 * misc/getauxval.c: New file.
31906 * misc/sys/auxv.h: New file.
31907 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31908 (routines): Add getauxval.
31909 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31910 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31911 * elf/dl-sysdep.c (_dl_auxv): Remove.
31912 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31913 * elf/dl-support.c (_dl_auxv): New variable.
31914 (_dl_aux_init): Initialize it.
31915 * manual/startup.texi (Auxiliary Vector): New node.
31916 * sysdeps/generic/bits/hwcap.h: New file.
31917 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31918 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31919 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31920 * sysdeps/sparc/sysdep.h: ... here. Include it.
31921 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31934 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31938 2012-05-19 David S. Miller <davem@davemloft.net>
31940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31942 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31945 * math/s_ccosh.c: Include <float.h>
31946 (__ccosh): Avoid internal overflow calculating sinh and cosh
31947 values before multiplying by sin and cos values.
31948 * math/s_ccoshf.c: Likewise.
31949 * math/s_ccoshl.c: Likewise.
31950 * math/s_csin.c: Likewise.
31951 * math/s_csinf.c: Likewise.
31952 * math/s_csinl.c: Likewise.
31953 * math/s_csinh.c: Likewise.
31954 * math/s_csinhf.c: Likewise.
31955 * math/s_csinhl.c: Likewise.
31956 * math/libm-test.inc (ccos_test): Add more tests.
31957 (ccosh_test): Likewise.
31958 (csin_test): Likewise.
31959 (csinh_test): Likewise.
31960 * sysdeps/i386/fpu/libm-test-ulps: Update.
31961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31963 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31965 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31966 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31968 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31970 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31972 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31973 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31974 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31975 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31976 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31977 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31978 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31979 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31980 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31981 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31982 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31983 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31984 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31985 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31986 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31987 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31988 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31989 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31990 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31991 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31992 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31993 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31994 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31995 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31996 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31997 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31998 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31999 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32000 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32001 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32002 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32004 2012-05-18 Andreas Jaeger <aj@suse.de>
32006 * csu/.gitignore: Delete.
32008 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32010 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32011 (timex): Use __syscall_slong_t.
32013 2012-05-18 Andreas Jaeger <aj@suse.de>
32014 Carlos O'Donell <carlos_odonell@mentor.com>
32016 * manual/install.texi (Configuring and compiling): Update
32017 description about files modified in the source directory.
32018 * INSTALL: Regenerated.
32020 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32022 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32023 value. Use "or" to set return value to -1.
32024 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32025 negate return value.
32027 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32029 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32030 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32031 failure if the compiler has Graphite support disabled.
32032 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32034 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32035 (CFLAGS-memmove.c): Likewise.
32036 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32039 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32041 * sysdeps/x86_64/x32/_itoa.h: New file.
32043 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32044 getdents system call only if kernel and user dirents have the
32045 same d_ino and d_off.
32047 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32048 LLONG_MAX != LONG_MAX.
32049 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32050 (_fitoa_word): Likewise.
32052 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32054 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32055 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32056 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32058 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32059 include <bits/wordsize.h>. Check __x86_64__ instead of
32061 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32062 if __x86_64__ is defined. Use anonymous union on fpstate.
32064 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32067 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32069 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32070 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32071 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32072 Refer to _rtld_local_ro instead of _rtld_global_ro.
32073 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32075 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32077 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32079 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32080 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32081 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32083 * sysdeps/powerpc/powerpc32/dl-machine.c
32084 (__elf_machine_runtime_setup) [PROF]: Don't reference
32087 2012-05-18 Andreas Jaeger <aj@suse.de>
32089 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32090 function only available for GCCs before 3.4 since GCC 3.4
32091 introduced a builtin.
32093 (llrintf): Likewise.
32094 (llrint): Likewise.
32101 (nearbyint): Likewise.
32102 (nearbyintf): Likewise.
32106 (floorf): Likewise.
32108 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32110 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32111 on both fields and cast pointer to __syscall_ulong_t.
32113 * bits/types.h (__fsword_t): New type.
32114 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32115 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32117 (__FSWORD_T_TYPE): Likewise.
32118 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32119 (__FSWORD_T_TYPE): Likewise.
32120 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32121 (__FSWORD_T_TYPE): Likewise.
32122 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32123 (__FSWORD_T_TYPE): Likewise.
32124 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32125 __SWORD_TYPE with __fsword_t.
32126 (statfs64): Likewise.
32128 2012-05-17 David S. Miller <davem@davemloft.net>
32130 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32132 2012-05-17 Andreas Jaeger <aj@suse.de>
32134 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32137 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32139 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32141 2012-05-17 Andreas Jaeger <aj@suse.de>
32143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32146 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32148 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32150 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32152 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32153 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32155 2012-05-17 Andreas Jaeger <aj@suse.de>
32156 Carlos O'Donell <carlos_odonell@mentor.com>
32159 * sysdeps/x86_64/multiarch/init-arch.h
32160 (bit_YMM_Usable): Rename to...
32161 (bit_AVX_Usable): ... this.
32162 (bit_FMA4_Usable): New macro.
32163 (bit_XMM_state): New macro.
32164 (bit_YMM_state): New macro.
32165 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32166 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32167 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32168 (CPUID_OSXSAVE): New macro.
32169 (CPUID_AVX): New macro.
32170 (CPUID_FMA4): New macro.
32171 (index_YMM_Usable): Rename to...
32172 (index_AVX_Usable): ... this.
32173 (HAS_AVX): Use HAS_ARCH_FEATURE.
32174 (HAS_FMA4): Likewise.
32175 (HAS_YMM_USABLE): Remove.
32176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32177 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32179 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32180 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32181 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32182 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32183 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32185 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32187 * math/libm-test.c: Support platforms without multiple rounding modes.
32188 * math/bug-nextafter.c: Support platforms without FP exceptions.
32189 * math/bug-nexttoward.c: Likewise.
32190 * math/test-fenv.c: Likewise.
32191 * math/test-misc.c: Likewise.
32192 * stdlib/bug-getcontext.c: Likewise.
32194 2012-05-17 Andreas Jaeger <aj@suse.de>
32196 * manual/examples/search.c (critter_cmp): Change signature to
32198 * manual/string.texi (Collation Functions): Likewise.
32200 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32202 * bits/types.h: Fold copyright years.
32203 * bits/typesizes.h: Likewise.
32204 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32205 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32207 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32208 * time/time.h: Likewise.
32210 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32213 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32214 in instead of returning them. Return void.
32215 (__libc_mallinfo): Accumulate over all arenas.
32216 (__malloc_stats): Adjust for change in int_mallinfo interface.
32218 2012-05-16 Roland McGrath <roland@hack.frob.com>
32221 * configure.in (NM): Add AC_CHECK_TOOL for it.
32222 (libc_extra_cflags): New substituted variable.
32223 Check for -fstack-protector being used implicitly.
32224 * configure: Regenerated.
32225 * config.make.in (config-extra-cflags): New variable,
32226 gets @libc_extra_cflags@.
32227 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32230 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32231 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32232 * configure: Regenerated.
32233 * config.make.in (CPPUNDEFS): New substituted variable.
32234 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32235 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32236 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32238 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32240 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32241 (mq_attr): Use __syscall_slong_t.
32243 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32245 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32246 Check __x86_64__ instead of __WORDSIZE.
32247 (_STAT_VER_LINUX): Likewise.
32248 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32249 __syscall_ulong_t and __syscall_slong_t.
32250 (stat64): Likewise.
32252 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32254 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32256 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32258 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32260 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32262 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32265 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32266 include <bits/wordsize.h>. Check __x86_64__ instead of
32268 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32270 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32272 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32273 include <bits/wordsize.h>. Check __x86_64__ instead of
32275 (user_regs_struct): Use "__extension__ unsigned long long"
32276 instead of "unsigned long" if __x86_64__ is defined.
32277 (user): Likewise. Pad after pointer field if __ILP32__ is
32280 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32282 * configure.in (makeinfo): Require version 4.5 or later. Allow
32284 * configure: Regenerated.
32285 * manual/install.texi (texinfo): Increase version requirement to
32287 * INSTALL: Regenerated.
32289 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32291 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32293 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32295 * sysdeps/x86_64/x32/ffs.c: New file.
32297 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32299 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32300 defined. Use __syscall_ulong_t.
32301 (shminfo): Use __syscall_ulong_t.
32302 (shm_info): Likewise.
32304 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32307 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32309 (msgqnum_t): Use __syscall_ulong_t.
32310 (msglen_t): Likewise.
32311 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32314 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32315 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32317 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32319 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32320 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32322 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32325 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32326 include <bits/wordsize.h>. Check __x86_64__ instead of
32329 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32330 "unsigned long long int" if __x86_64__ is defined.
32331 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32333 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32334 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32335 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32337 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32339 (GET_PC): Cast to uintptr_t first.
32340 (GET_FRAME): Likewise.
32341 (GET_STACK): Likewise.
32343 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32344 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32345 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32346 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32347 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32348 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32349 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32350 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32351 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32352 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32353 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32354 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32355 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32356 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32357 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32358 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32359 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32360 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32361 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32362 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32363 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32364 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32365 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32366 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32367 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32368 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32369 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32370 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32371 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32373 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32375 * Makerules (+depfiles): Also collect depfiles from .oS in
32377 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32378 .oS, $(libnldbl-routines)).
32380 * Makerules (native-compile-mkdep-flags): Define.
32381 * sunrpc/Makefile (extra-objs): Add $(addprefix
32382 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32383 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32384 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32385 calling $(make-target-directory).
32387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32389 * bits/types.h (__snseconds_t): Removed.
32390 * time/time.h (struct timespec): Replace __snseconds_t with
32392 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32393 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32395 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32396 (__SNSECONDS_T_TYPE): Likewise.
32397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32398 (__SNSECONDS_T_TYPE): Likewise.
32399 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32400 (__SNSECONDS_T_TYPE): Likewise.
32402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32404 * sysdeps/mach/hurd/bits/typesizes.h
32405 (__SYSCALL_SLONG_TYPE): New macro.
32406 (__SYSCALL_ULONG_TYPE): Likewise.
32408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32410 * bits/types.h (__syscall_slong_t): New type.
32411 (__syscall_ulong_t): Likewise.
32413 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32414 (__SYSCALL_ULONG_TYPE): Likewise.
32415 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32416 (__SYSCALL_SLONG_TYPE): Likewise.
32417 (__SYSCALL_ULONG_TYPE): Likewise.
32418 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32419 (__SYSCALL_SLONG_TYPE): Likewise.
32420 (__SYSCALL_ULONG_TYPE): Likewise.
32421 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32422 (__SYSCALL_SLONG_TYPE): Likewise.
32423 (__SYSCALL_ULONG_TYPE): Likewise.
32425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32427 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32428 Add sigaltstack-offsets.sym.
32429 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32430 <sigaltstack-offsets.h>.
32431 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32432 longjmp_msg pointer.
32433 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32434 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32436 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32438 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32440 * elf/stackguard-macros.h: Remove file.
32441 * sysdeps/generic/stackguard-macros.h: New file.
32442 * sysdeps/i386/stackguard-macros.h: Likewise.
32443 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32444 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32445 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32446 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32447 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32448 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32449 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32450 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32451 <elf/stackguard-macros.h>.
32454 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32455 __aligned__ in attribute.
32456 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32457 (gregset_t): Likewise.
32459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32461 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32462 * sysdeps/x86_64/64/Implies-after: Here. New file.
32463 * sysdeps/x86_64/x32/Implies-after: New file.
32465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32467 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32468 and access return value for _dl_profile_fixup. Use R10_LP to
32471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32473 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32477 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32478 * sysdeps/x86_64/x32/sysdep.h: New file.
32480 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32482 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32483 * sysdeps/x86_64/setjmp.S: Likewise.
32485 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32487 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32488 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32489 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32490 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32491 remove unused global constant.
32493 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32495 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32496 include of <not-cancel.h>.
32498 2012-05-15 Roland McGrath <roland@hack.frob.com>
32500 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32502 2012-05-15 Jeff Law <law@redhat.com>
32503 Andreas Jaeger <aj@suse.de>
32506 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32508 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32509 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32510 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32511 code changing __hst_map_handle.map.
32513 2012-05-15 Roland McGrath <roland@hack.frob.com>
32515 * configure.in (sysnames): Look for Implies-before and Implies-after
32517 * configure: Regenerated.
32519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32521 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32522 8-byte data alignment with LP_SIZE alignment.
32524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32526 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32531 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32535 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32536 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32537 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32539 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32543 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32544 (stackinfo_sub_sp): Likewise.
32546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32548 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32553 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32558 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32563 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32565 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32567 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32568 into R11_LP and load __x86_64_shared_cache_size_half into
32571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32573 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32576 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32580 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32584 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32585 powerpc32/power7/fpu/s_logb.c via #include.
32586 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32587 powerpc32/power7/fpu/s_logbf.c via #include.
32588 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32589 powerpc32/power7/fpu/s_logbl.c via #include.
32591 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32593 * README.libm: Remove file.
32595 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32597 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32598 count for x32. Use R*_LP and omit operand-size suffix.
32600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32602 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32603 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32604 * sysdeps/x86_64/x32/shlib-versions: New file.
32606 2012-05-14 Roland McGrath <roland@hack.frob.com>
32608 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32609 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32610 Use _dl_fatal_printf instead.
32612 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32614 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32615 set if not set by the user. Do not allow for being unset.
32616 * sysdeps/unix/sysv/linux/configure: Regenerated.
32618 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32620 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32621 the `q' suffix from lea and replace .quad with ASM_ADDR.
32623 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32626 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32628 (PTR_DEMANGLE): Likewise.
32630 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32632 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32634 (ASM_ADDR): Likewise.
32635 (RAX_LP): Likewise.
32636 (RBP_LP): Likewise.
32637 (RBX_LP): Likewise.
32638 (RCX_LP): Likewise.
32639 (RDI_LP): Likewise.
32640 (RSI_LP): Likewise.
32641 (RSP_LP): Likewise.
32644 (R10_LP): Likewise.
32645 (R10_LP): Likewise.
32646 (R11_LP): Likewise.
32647 (R12_LP): Likewise.
32648 (R13_LP): Likewise.
32649 (R14_LP): Likewise.
32650 (R15_LP): Likewise.
32652 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32654 * sysdeps/x86_64/x32/dl-machine.h: New file.
32656 2012-05-14 Andreas Jaeger <aj@suse.de>
32658 * manual/Makefile (subdir): Remove export of subdir.
32659 (all): Remove target.
32660 (.PHONY): Remove all from list.
32661 (mkinstalldirs): Remove.
32662 (.PHONY): Remove installdirs from list.
32663 ($(inst_infodir)/libc.info): Use make-target-directory.
32664 (installdirs): Remove.
32665 (subdir_%): Remove.
32666 (glibc-targets): Remove.
32669 ($(objpfx)stubs ../po/manual.pot): Remove.
32670 ($(objpfx)stamp%): Remove.
32671 (make-target-directory): Remove.
32672 (subdir_install): Remove.
32673 (routines): Remove.
32680 * manual/.gitignore: Remove, it's not needed anymore.
32681 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32683 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32685 (texis): Renamed to $(objpfx)texis.
32686 (texis-path): New, contains path to generated files.
32687 (chapters.%): Use texis-path for complete path, add extra argument
32689 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32690 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32691 (summary,texi, stamp-summary): Use complete path of
32692 files. Generate files in build dir.
32693 (dir-add.texi): Build in build dir.
32694 (libm-err.texi,stamp-libm-err): Likewise.
32695 (version.texi, stamp-version): Likewise.
32696 (.%c.texi): Likewise.
32697 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32698 (mostlyclean): Remove target.
32699 (realclean): Remove target.
32700 (generated): Add new variable with contents from mostlyclean and
32701 realclean, remove entries duplicated in common-mostlyclean, add
32702 stamp-libm-err and stamp-version.
32703 (generated-dirs): Add libc directory.
32704 ($(inst_infodir)/libc.info): Install files from build dir.
32706 * manual/install.texi (Configuring and compiling): Adjust since
32707 the info files are not part of the tar ball anymore.
32709 2012-05-14 Andreas Jaeger <aj@suse.de>
32711 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32714 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32717 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32718 to 2.2.0 where earlier.
32719 * sysdeps/unix/sysv/linux/configure: Regenerated.
32720 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32721 Remove conditional code.
32722 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32723 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32724 Remove conditional code.
32725 [!__NR_lchown]: Likewise.
32726 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32727 [__NR_lchown]: Likewise.
32728 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32729 comment referencing __ASSUME_LCHOWN_SYSCALL.
32730 * sysdeps/unix/sysv/linux/i386/sigaction.c
32731 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32732 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32733 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32734 Remove conditional code.
32735 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32736 (__protocol_available): Remove #if 0 code.
32737 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32739 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32740 * sysdeps/unix/sysv/linux/kernel-features.h
32741 (__ASSUME_GETCWD_SYSCALL): Don't define.
32742 (__ASSUME_REALTIME_SIGNALS): Likewise.
32743 (__ASSUME_PREAD_SYSCALL): Likewise.
32744 (__ASSUME_PWRITE_SYSCALL): Likewise.
32745 (__ASSUME_POLL_SYSCALL): Likewise.
32746 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32747 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32749 (__ASSUME_SIOCGIFNAME): Don't define.
32750 (__ASSUME_MSG_NOSIGNAL): Likewise.
32751 (__ASSUME_SENDFILE): Define unconditionally.
32752 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32753 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32755 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32756 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32757 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32758 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32759 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32760 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32761 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32763 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32766 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32769 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32772 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32775 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32776 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32778 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32779 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32781 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32782 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32784 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32785 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32786 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32787 Remove conditional code.
32788 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32789 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32790 Remove conditional code.
32791 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32792 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32793 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32794 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32795 Remove conditional code.
32796 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32797 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32798 Remove conditional code.
32799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32800 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32801 Remove conditional code.
32802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32803 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32804 Remove conditional code.
32805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32806 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32807 Remove conditional code.
32808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32809 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32810 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32812 * sysdeps/unix/sysv/linux/sigaction.c
32813 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32814 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32815 * sysdeps/unix/sysv/linux/sigpending.c
32816 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32817 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32818 * sysdeps/unix/sysv/linux/sigprocmask.c
32819 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32820 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32821 * sysdeps/unix/sysv/linux/sigsuspend.c
32822 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32823 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32824 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32825 (__libc_missing_rt_sigs): Remove.
32826 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32827 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32828 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32829 Remove conditional code.
32830 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32831 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32833 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32834 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32835 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32836 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32838 2012-05-14 Andreas Jaeger <aj@suse.de>
32840 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32841 it's not used in glibc.
32842 (__coshm1): Likewise.
32843 (__acosh1p): Likewise.
32846 * manual/string.texi (Copying and Concatenation): Add missing
32847 variable in concat example.
32848 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32850 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32853 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32854 __builtin_clzl with __builtin_clzll.
32856 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32859 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32862 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32864 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32865 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32866 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32867 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32869 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32871 * NEWS: Update ia64 info.
32873 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32875 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32878 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32880 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32881 * sysdeps/unix/syscalls.list (dup3): Likewise.
32882 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32883 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32885 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32887 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32888 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32890 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32892 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32894 (TLS_IE): Use mov/add instead of movq/addq to load thread
32896 (TLS_GD_PREFIX): New.
32899 2012-05-11 David S. Miller <davem@davemloft.net>
32901 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32902 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32903 (_FPU_SETCW): Likewise.
32905 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32907 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32908 is 32-byte aligned.
32910 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32913 * iconvdata/gb18030.c: Update tables.
32914 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32915 characters specially.
32916 (BODY for TO_LOOP): Add encoding of missing ranges.
32918 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32921 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32922 * sysdeps/mach/hurd/dup3.c: Likewise.
32923 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32924 * sysdeps/powerpc/memmove.c:: Likewise.
32926 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32928 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32929 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32931 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32933 * elf/elf.h (R_X86_64_RELATIVE64): New.
32934 (R_X86_64_NUM): Updated.
32935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32936 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32937 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32938 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32939 tst-quad1pie tst-quad2pie
32940 (modules-names): Add tst-quadmod1 tst-quadmod2.
32941 ($(objpfx)tst-quad1): New dependency.
32942 ($(objpfx)tst-quad2): Likewise.
32943 ($(objpfx)tst-quad1pie): Likewise.
32944 ($(objpfx)tst-quad2pie): Likewise.
32945 * sysdeps/x86_64/tst-quad1.c: New file.
32946 * sysdeps/x86_64/tst-quad1pie.c: New file.
32947 * sysdeps/x86_64/tst-quad2.c: Likewise.
32948 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32949 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32950 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32951 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32952 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32954 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32956 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32957 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32958 * streams/stropts.h (t_scalar_t): Define type.
32960 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32961 (_PATH_PRESERVE): Set to "/var/lib".
32962 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32964 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32967 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32968 if __dir_mkfile succeeded.
32970 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32971 checking for _hurd_dtablesize. Unlock it right after having
32972 finished _hurd_dtable allocation.
32974 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32976 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32977 * sysdeps/mach/hurd/configure: Regenerated.
32978 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32979 special-casing to...
32980 * sysdeps/gnu/configure.in: ... this new file.
32981 * sysdeps/unix/sysv/linux/configure: Regenerated.
32982 * sysdeps/gnu/configure: New generated file.
32984 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32985 for Linux: use nsec instead of usec, as well as:
32986 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32987 members of type struct timespec.
32988 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32990 (struct stat64): Likewise.
32991 (_STATBUF_ST_NSEC): New macro.
32992 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32994 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32995 __strtoul_internal rather than strtoul.
32997 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32999 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33002 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33004 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33005 which preserves existing values.
33006 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33008 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33010 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33011 TIMEOUT values. Return EINVAL for NFDS values either negative or
33012 greater than FD_SETSIZE.
33014 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33016 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33017 allocated, call __vm_protect to finish enabling the existing space, and
33018 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33019 allocate the remainder.
33021 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33023 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33024 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33028 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33029 sysdeps/mach/hurd/readlink.c.
33031 * posix/tst-sysconf.c (posix_options): Only use
33032 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33033 _POSIX_SYNCHRONIZED_IO when they are defined
33034 * sysdeps/mach/hurd/bits/posix_opt.h:
33035 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33036 (_XOPEN_REALTIME): Undefine macro.
33037 (_XOPEN_REALTIME_THREADS): Undefine macro.
33038 (_XOPEN_SHM): Undefine macro.
33039 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33041 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33043 (_POSIX_ASYNC_IO): Undefine macro.
33044 (_POSIX_PRIORITIZED_IO): Undefine macro.
33045 (_POSIX_SPIN_LOCKS): Define macro to -1.
33047 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33048 SA_NODEFER, SA_RESETHAND.
33049 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33050 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33053 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33055 * elf/Makefile (pldd-modules): Define unconditionally.
33057 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33059 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33061 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33063 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33064 Return ENOENT when name is empty.
33065 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33067 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33069 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33071 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33073 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33075 Fix mlock in all cases except non-readable pages.
33076 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33077 instead of VM_PROT_ALL as parameter to __vm_wire function.
33079 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33080 (__mkdir): When path is `/', just fail with EEXIST.
33081 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33083 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33085 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33086 <sys/uio.h> (for writev).
33087 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33088 and <sys/param.h> (for MIN).
33090 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33092 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33093 REQUESTED_TIME. Properly set the remaining time and return EINTR
33096 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33098 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33099 Depend on against $(link-rpcuserlibs).
33101 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33103 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33104 (__libc_stack_end): Do not use attribute_relro.
33105 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33106 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33107 to libthread-provided value.
33108 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33111 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33114 * bits/libc-lock.h (__libc_once_get): New macro.
33115 * sysdeps/mach/bits/libc-lock.h: Likewise.
33116 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33118 instead of using implementation details.
33120 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33121 * libio/freopen.c: Likewise.
33122 * libio/freopen64.c: Likewise.
33123 * misc/syslog.c: Likewise.
33124 * nscd/connections.c: Likewise.
33125 * nscd/netgroupcache.c: Likewise.
33126 * sysdeps/posix/getcwd.c: Likewise.
33128 2012-05-10 Roland McGrath <roland@hack.frob.com>
33130 * math/w_ilogbf.c: Add #include <limits.h>.
33132 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33134 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33135 path instead of returning without unlocking.
33137 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33138 immediate-write ioctls.
33139 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33141 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33143 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33144 __builtin_frame_address instead of making assumptions about the
33145 location of the return address relative to DATA. Force early load of
33146 the return address.
33147 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33148 __builtin_frame_address.
33151 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33152 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33153 implement dup3 and do some further code clean-ups.
33154 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33155 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33157 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33159 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33161 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33162 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33163 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33164 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33165 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33168 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33169 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33170 when handler == SIG_ERR, not when handler != SIG_ERR.
33172 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33174 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33175 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33178 accept4 for GNU Hurd.
33179 * include/sys/socket.h (__libc_accept4): New prototype.
33180 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33181 to implement __libc_accept4.
33182 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33184 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33186 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33187 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33188 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33189 signal-defines.sym.
33191 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33193 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33195 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33197 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33198 assertion on O_CLOEXEC flag.
33199 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33200 * hurd/intern-fd.c: Likewise.
33201 * hurd/port2fd.c: Likewise.
33203 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33206 * bits/in.h (IPV6_PKTINFO): Define new macro.
33207 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33209 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33214 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33215 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33216 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33217 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33218 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33219 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33220 * math/libm-test.inc (logb_test) : Additional logb tests.
33222 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33223 Andreas Jaeger <aj@suse.de>
33225 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33226 * configure: Regenerated.
33227 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33228 * config.make.in (link-obsolete-rpc): New substituted variable.
33229 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33230 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33231 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33232 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33233 so that libc.a contains the symbols.
33234 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33235 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33236 * sunrpc/auth_none.c: Likewise.
33237 * sunrpc/auth_unix.c: Likewise.
33238 * sunrpc/authdes_prot.c: Likewise.
33239 * sunrpc/authuxprot.c: Likewise.
33240 * sunrpc/clnt_gen.c: Likewise.
33241 * sunrpc/clnt_perr.c: Likewise.
33242 * sunrpc/clnt_raw.c: Likewise.
33243 * sunrpc/clnt_simp.c: Likewise.
33244 * sunrpc/clnt_tcp.c: Likewise.
33245 * sunrpc/clnt_udp.c: Likewise.
33246 * sunrpc/clnt_unix.c: Likewise.
33247 * sunrpc/des_crypt.c: Likewise.
33248 * sunrpc/des_soft.c: Likewise.
33249 * sunrpc/get_myaddr.c: Likewise.
33250 * sunrpc/key_call.c: Likewise.
33251 * sunrpc/key_prot.c: Likewise.
33252 * sunrpc/netname.c: Likewise.
33253 * sunrpc/pm_getmaps.c: Likewise.
33254 * sunrpc/pm_getport.c: Likewise.
33255 * sunrpc/pmap_clnt.c: Likewise.
33256 * sunrpc/pmap_prot.c: Likewise.
33257 * sunrpc/pmap_prot2.c: Likewise.
33258 * sunrpc/pmap_rmt.c: Likewise.
33259 * sunrpc/publickey.c: Likewise.
33260 * sunrpc/rpc_cmsg.c: Likewise.
33261 * sunrpc/rpc_common.c: Likewise.
33262 * sunrpc/rpc_dtable.c: Likewise.
33263 * sunrpc/rpc_prot.c: Likewise.
33264 * sunrpc/rpc_thread.c: Likewise.
33265 * sunrpc/rtime.c: Likewise.
33266 * sunrpc/svc.c: Likewise.
33267 * sunrpc/svc_auth.c: Likewise.
33268 * sunrpc/svc_raw.c: Likewise.
33269 * sunrpc/svc_run.c: Likewise.
33270 * sunrpc/svc_tcp.c: Likewise.
33271 * sunrpc/svc_udp.c: Likewise.
33272 * sunrpc/svc_unix.c: Likewise.
33273 * sunrpc/svcauth_des.c: Likewise.
33274 * sunrpc/xcrypt.c: Likewise.
33275 * sunrpc/xdr.c: Likewise.
33276 * sunrpc/xdr_array.c: Likewise.
33277 * sunrpc/xdr_float.c: Likewise.
33278 * sunrpc/xdr_intXX_t.c: Likewise.
33279 * sunrpc/xdr_mem.c: Likewise.
33280 * sunrpc/xdr_rec.c: Likewise.
33281 * sunrpc/xdr_ref.c: Likewise.
33282 * sunrpc/xdr_sizeof.c: Likewise.
33283 * sunrpc/xdr_stdio.c: Likewise.
33285 2012-05-10 Roland McGrath <roland@hack.frob.com>
33287 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33288 change. Update copyright years.
33290 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33292 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33294 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33295 Joseph Myers <joseph@codesourcery.com>
33296 Paul Pluzhnikov <ppluzhnikov@google.com>
33299 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33301 [cross-compiling] (extra-libs): Likewise.
33302 [cross-compiling] (extra-libs-others): Likewise.
33303 [cross-compiling] (librpcsvc-routines): Likewise.
33304 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33305 [cross-compiling] (omit-deps): Likewise.
33306 (sunrpc-CPPFLAGS): New variable.
33307 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33308 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33309 (cross-rpcgen-objs): New variable.
33310 (extra-objs): Append $(cross-rpcgen-objs).
33311 ($(cross-rpcgen-objs)): New rule.
33312 ($(objpfx)cross-rpcgen): Likewise.
33313 (rpcgen-cmd): Define to use $(built-program-file). Expand
33315 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33316 ($(objpfx)x%.stmp): Likewise.
33317 * sunrpc/proto.h [IS_IN_build] (_): Define.
33318 [IS_IN_build] (_libc_intl_domainname): Likewise.
33320 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33322 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33323 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33324 and R_X86_64_TPOFF64.
33326 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33328 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33329 sysdeps/unix/sysv/syscalls.list.
33332 * sysdeps/unix/sysv/syscalls.list: Remove file.
33334 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33337 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33338 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33339 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33340 (__LC_IDENTIFICATION): Make these macros useful in #if
33341 expressions, as required by C99.
33343 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33345 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33346 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33349 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33351 * stdlib/longlong.h: Updated from GCC.
33353 2012-05-09 Andreas Jaeger <aj@suse.de>
33355 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33356 default is first entry.
33357 (run_mode): Set type.
33358 (main): Remove informal message about syslog.
33359 (options): Fix typo.
33362 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33365 (llrintf): Likewise.
33366 (llrint): Likewise.
33369 (nearbyint): Likewise.
33370 (nearbyintf): Likewise.
33372 2012-05-09 Andreas Jaeger <aj@suse.de>
33373 Pedro Alves <palves@redhat.com>
33375 * nscd/nscd.c (run_mode): Use enum.
33376 (main): Cleanup coding style issue.
33378 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33379 Andreas Jaeger <aj@suse.de>
33381 * nscd/nscd.c (go_background): Replaced with...
33382 (run_mode): ... this.
33383 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33384 (options): Add -F --foreground.
33385 (main): Implement it.
33386 (parse_opt): Parse it.
33388 2012-05-09 Andreas Jaeger <aj@suse.de>
33391 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33392 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33393 -Wconversion warning.
33394 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33397 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33399 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33401 (LC_ALL): Use macro-int-constant.
33402 (LC_COLLATE): Likewise.
33403 (LC_CTYPE): Likewise.
33404 (LC_MESSAGES): Likewise.
33405 (LC_MONETARY): Likewise.
33406 (LC_NUMERIC): Likewise.
33407 (LC_TIME): Likewise.
33408 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33409 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33410 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33411 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33413 [C99-based standards] (float_t): Expect type.
33414 [C99-based standards] (double_t): Expect type.
33415 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33417 [C99-based standards] (HUGE_VALL): Likewise.
33418 [C99-based standards] (INFINITY): Likewise.
33419 [C99-based standards] (NAN): Likewise.
33420 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33421 [C99-based standards] (FP_NAN): Likewise.
33422 [C99-based standards] (FP_NORMAL): Likewise.
33423 [C99-based standards] (FP_SUBNORMAL): Likewise.
33424 [C99-based standards] (FP_ZERO): Likewise.
33425 [C99-based standards] (FP_FAST_FMA): Use
33426 optional-macro-int-constant. Specify type. Require == 1.
33427 [C99-based standards] (FP_FAST_FMAF): Likewise.
33428 [C99-based standards] (FP_FAST_FMAL): Likewise.
33429 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33430 [C99-based standards] (FP_ILOGBNAN): Likewise.
33431 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33433 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33434 [C99-based standards] (math_errhandling): Specify type.
33435 [ISO99 || ISO11] (signgam): Do not allow.
33436 [non-C99-based standards] (copysignf): Do not allow.
33437 [non-C99-based standards] (exp2f): Likewise.
33438 [non-C99-based standards] (log2f): Likewise.
33439 [non-C99-based standards] (modff): Allow.
33440 [non-C99-based standards] (erff): Do not allow.
33441 [non-C99-based standards] (erfcf): Likewise.
33442 [non-C99-based standards] (gammaf): Likewise.
33443 [non-C99-based standards] (hypotf): Likewise.
33444 [non-C99-based standards] (j0f): Likewise.
33445 [non-C99-based standards] (j1f): Likewise.
33446 [non-C99-based standards] (jnf): Likewise.
33447 [non-C99-based standards] (lgammaf): Likewise.
33448 [non-C99-based standards] (tgammaf): Likewise.
33449 [non-C99-based standards] (y0f): Likewise.
33450 [non-C99-based standards] (y1f): Likewise.
33451 [non-C99-based standards] (ynf): Likewise.
33452 [non-C99-based standards] (isnanf): Likewise.
33453 [non-C99-based standards] (acoshf): Likewise.
33454 [non-C99-based standards] (asinhf): Likewise.
33455 [non-C99-based standards] (atanhf): Likewise.
33456 [non-C99-based standards] (cbrtf): Likewise.
33457 [non-C99-based standards] (expm1f): Likewise.
33458 [non-C99-based standards] (ilogbf): Likewise.
33459 [non-C99-based standards] (log1pf): Likewise.
33460 [non-C99-based standards] (logbf): Likewise.
33461 [non-C99-based standards] (nextafterf): Likewise.
33462 [non-C99-based standards] (remainderf): Likewise.
33463 [non-C99-based standards] (rintf): Likewise.
33464 [non-C99-based standards] (scalbf): Likewise.
33465 [non-C99-based standards] (copysignl): Likewise.
33466 [non-C99-based standards] (exp2l): Likewise.
33467 [non-C99-based standards] (log2l): Likewise.
33468 [non-C99-based standards] (modfl): Allow.
33469 [non-C99-based standards] (erfl): Do not allow.
33470 [non-C99-based standards] (erfcl): Likewise.
33471 [non-C99-based standards] (gammal): Likewise.
33472 [non-C99-based standards] (hypotl): Likewise.
33473 [non-C99-based standards] (j0l): Likewise.
33474 [non-C99-based standards] (j1l): Likewise.
33475 [non-C99-based standards] (jnl): Likewise.
33476 [non-C99-based standards] (lgammal): Likewise.
33477 [non-C99-based standards] (tgammal): Likewise.
33478 [non-C99-based standards] (y0l): Likewise.
33479 [non-C99-based standards] (y1l): Likewise.
33480 [non-C99-based standards] (ynl): Likewise.
33481 [non-C99-based standards] (isnanl): Likewise.
33482 [non-C99-based standards] (acoshl): Likewise.
33483 [non-C99-based standards] (asinhl): Likewise.
33484 [non-C99-based standards] (atanhl): Likewise.
33485 [non-C99-based standards] (cbrtl): Likewise.
33486 [non-C99-based standards] (expm1l): Likewise.
33487 [non-C99-based standards] (ilogbl): Likewise.
33488 [non-C99-based standards] (log1pl): Likewise.
33489 [non-C99-based standards] (logbl): Likewise.
33490 [non-C99-based standards] (nextafterl): Likewise.
33491 [non-C99-based standards] (remainderl): Likewise.
33492 [non-C99-based standards] (rintl): Likewise.
33493 [non-C99-based standards] (scalbl): Likewise.
33494 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33495 [non-C99-based standards] (FP_*): Do not allow.
33496 [C99-based standards] (FP_*): Change to
33497 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33498 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33500 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33501 (SIG_ERR): Likewise.
33502 [X/Open-based standards] (SIG_HOLD): Likewise.
33503 (SIG_IGN): Likewise.
33504 (SIGABRT): Use macro-int-constant. Specify type. Require
33506 (SIGFPE): Likewise.
33507 (SIGILL): Likewise.
33508 (SIGINT): Likewise.
33509 (SIGSEGV): Likewise.
33510 (SIGTER): Likewise.
33511 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33512 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33513 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33514 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33515 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33516 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33517 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33518 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33519 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33520 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33521 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33522 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33523 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33524 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33525 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33526 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33527 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33528 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33529 [X/Open-based standards] (SIGTRAP): Likewise.
33530 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33531 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33532 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33533 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33534 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33537 2012-05-08 Ian Wienand <ianw@vmware.com>
33540 * time/tzset.c (__tzset_parse_tz): Update default rules for
33541 daylight time changes in the Energy Policy Act of 2005.
33543 2012-05-09 Andreas Jaeger <aj@suse.de>
33546 * elf/ldconfig.c (parse_conf): Change string to make clear that
33547 ldconfig only issued a warning if ld.so.conf does not exist.
33549 2012-05-08 David S. Miller <davem@davemloft.net>
33551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33552 movxtod instead of popping the value on the stack.
33554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33556 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33558 * config.h.in: Add HAVE_ARM_PCS_VFP.
33560 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33563 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33564 checking but the checks are disabled for any reason.
33566 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33568 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33569 and ELF64_R_TYPE with ELFW(R_TYPE).
33571 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33573 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33574 (ulimit): Likewise.
33576 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33577 (settimeofday): Likewise.
33579 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33581 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33582 a struct th_u2 inside the union, and move tu_block/tu_code into
33583 a new th_u3 union of tu_block/tu_code inside of that. Move
33584 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33585 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33586 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33587 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33588 (th_stuff): Change to th_u1.tu_stuff.
33590 (th_msg): Change to th_u1.th_u2.tu_data.
33592 2012-05-07 David S. Miller <davem@davemloft.net>
33594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33597 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33598 (SETUP_PIC_REG): Use it.
33599 (SETUP_PIC_REG_LEAF): Use it.
33601 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33605 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33607 (EXPL_FINITE): Likewise.
33608 (FLDLOG): Likewise.
33609 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33610 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33612 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33614 (EXPL_FINITE): Likewise.
33615 (FLDLOG): Likewise.
33616 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33617 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33619 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33620 test of -max_value argument for long double.
33621 * sysdeps/i386/fpu/libm-test-ulps: Update.
33622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33624 2012-05-06 David S. Miller <davem@davemloft.net>
33626 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33627 quad soft-float symbols whose references which are compiler
33629 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33631 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33635 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33637 (EXPL_FINITE): Likewise.
33638 (FLDLOG): Likewise.
33641 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33642 Adjust comments for base varying.
33643 (__expl_finite): Change alias to EXPL_FINITE.
33644 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33646 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33647 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33648 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33649 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33650 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33652 (EXPL_FINITE): Likewise.
33653 (FLDLOG): Likewise.
33656 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33657 Adjust comments for base varying.
33658 (__expl_finite): Change alias to EXPL_FINITE.
33659 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33664 * math/libm-test.inc (check_float_internal): Correct ulp
33665 calculation for subnormal expected results.
33667 2012-05-06 Andreas Jaeger <aj@suse.de>
33669 * Makeconfig (+math-flags): New, set to -frounding-math.
33670 (+cflags): Add +math-flags so that all of glibc gets compiled with
33673 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33675 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33677 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33683 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33684 (__ieee754_expl): Allow for and saturate large arguments.
33685 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33686 (u_threshold): Likewise.
33687 (__exp): Call __ieee754_exp before checking for overflow and
33689 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33690 (u_threshold): Likewise.
33691 (__expf): Call __ieee754_expf before checking for overflow and
33693 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33694 (u_threshold): Likewise.
33695 (__expl): Call __ieee754_expl before checking for overflow and
33697 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33698 (__ieee754_expl): Allow for and saturate large arguments.
33699 * math/libm-test.inc (exp_test): Add another test. Do not allow
33700 missing overflow exception on overflow.
33701 (expm1_test): Do not allow missing overflow exception on overflow.
33703 * sysdeps/i386/fpu/e_expl.c: Move to ...
33704 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33705 rather than using inline asm.
33706 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33707 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33708 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33710 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33713 (signal): Likewise.
33717 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33719 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33720 sysdeps/unix/common/syscalls.list.
33721 (fchmod): Likewise.
33722 (fchown): Likewise.
33723 (ftruncate): Likewise.
33724 (getrusage): Likewise.
33725 (gettimeofday): Likewise.
33726 (setpgid): Likewise.
33727 (setregid): Likewise.
33728 (setreuid): Likewise.
33729 (sigaction): Likewise.
33730 (truncate): Likewise.
33731 (vhangup): Likewise.
33732 * sysdeps/unix/common/syscalls.list: Remove file.
33733 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33734 * sysdeps/unix/sysv/linux/Implies: Likewise.
33736 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33738 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33740 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33744 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33747 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33750 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33753 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33756 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33759 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33762 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33766 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33770 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33773 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33777 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33781 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33783 * sysdeps/unix/common/bits/dirent.h: Remove file.
33784 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33786 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33787 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33788 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33789 * sysdeps/unix/bsd/isatty.c: Likewise.
33790 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33791 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33792 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33794 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33797 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33798 long double comparison inaccuracies.
33799 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33802 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33804 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33805 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33807 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33810 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33811 nonzero digits before rounding a hex value.
33812 * stdlib/tst-strtod.c (tests): Add another test.
33814 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33816 * sysdeps/s390/fpu/libm-test-ulps: Update.
33818 2012-05-03 Andreas Jaeger <aj@suse.de>
33820 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33821 does not get optimized out.
33822 (malloc_opt_barrier): New.
33824 2012-05-03 Andreas Jaeger <aj@suse.de>
33825 Roland McGrath <roland@hack.frob.com>
33827 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33828 intermediate file deletion.
33829 (generated): Add .symlist files.
33831 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33834 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33835 Redirect under this condition.
33836 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33837 [__USE_GNU] (__dprintf_chk): Not under this condition.
33838 [__USE_GNU] (__vdprintf_chk): Likewise.
33839 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33840 under this condition.
33841 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33842 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33843 [__USE_XOPEN2K8] (vdprintf): Likewise.
33844 [__USE_GNU] (__dprintf_chk): Not under this condition.
33845 [__USE_GNU] (__vdprintf_chk): Likewise.
33846 [__USE_GNU] (dprintf): Likewise.
33847 [__USE_GNU] (vdprintf): Likewise.
33849 2012-05-03 Roland McGrath <roland@hack.frob.com>
33851 * elf/Makefile (common-generated): Set this instead of generated for
33852 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33853 $(all-built-dso)-derived lists.
33855 2012-05-03 Andreas Jaeger <aj@suse.de>
33857 * sysdeps/i386/fpu/libm-test-ulps: Update.
33860 * FAQ.in: Likewise.
33861 * scripts/gen-FAQ.pl: Likewise.
33862 * manual/install.texi (Installation): Point to online location of
33864 * Makefile (files-for-dist): Remove FAQ.
33867 2012-05-02 Allan McRae <allan@archlinux.org>
33869 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33870 (LDFLAGS-reldepmod5.so): Likewise.
33871 (LDFLAGS-reldep6mod1.so): Likewise.
33872 (LDFLAGS-reldep6mod4.so): Likewise.
33873 (LDFLAGS-reldep8mod3.so): Likewise.
33874 (LDFLAGS-unload4mod1.so): Likewise.
33875 (LDFLAGS-unload4mod2.so): Likewise.
33876 (LDFLAGS-tst-initorder): Likewise.
33877 (LDFLAGS-tst-initordera2.so): Likewise.
33878 (LDFLAGS-tst-initordera3.so): Likewise.
33879 (LDFLAGS-tst-initordera4.so): Likewise.
33880 (LDFLAGS-tst-initorderb2.so): Likewise.
33881 (LDFLAGS-noload): Likewise.
33882 (LDFLAGS-next): Likewise.
33883 (LDFLAGS-order2mod1.so): Likewise.
33884 (LDFLAGS-order2mod2.so): Likewise.
33885 (LDFLAGS-tst-initorder2): Likewise.
33886 (LDFLAGS-tst-initorder2a.so): Likewise.
33887 (LDFLAGS-tst-initorder2b.so): Likewise.
33888 (LDFLAGS-tst-initorder2c.so): Likewise.
33889 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33891 2012-05-02 David S. Miller <davem@davemloft.net>
33893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33895 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33898 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33900 2012-05-02 Andreas Jaeger <aj@suse.de>
33902 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33903 since we manipulate rounding mode.
33904 (CPPFLAGS-test-idouble.c): Likewise.
33905 (CPPFLAGS-test-ifloat.c): Likewise.
33906 (CFLAGS-test-ldouble.c): Likewise.
33907 (CFLAGS-test-double.c): Likewise.
33908 (CFLAGS-test-float.c): Likewise.
33909 (CFLAGS-test-misc.c): Likewise.
33910 (CFLAGS-test-test-fenv.c): Likewise.
33912 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33916 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33917 comparisons to determine direction to adjust input.
33919 2012-05-01 Roland McGrath <roland@hack.frob.com>
33921 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33922 output to the target.
33924 * scripts/localplt.awk: New file.
33925 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33926 (check-localplt-CFLAGS): Variable removed.
33927 ($(all-built-dso:=.jmprel)): New static pattern rule.
33928 (generated): Add those targets.
33929 (localplt-built-dso): New variable.
33930 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33932 * elf/check-localplt.c: File removed.
33934 * scripts/check-execstack.awk: New file.
33935 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33936 (check-execstack-CFLAGS): Variable removed.
33937 ($(objpfx)check-execstack.h): Target removed.
33938 ($(objpfx)execstack-default): New target.
33939 (generated): Add that instead of check-execstack.h.
33940 ($(all-built-dso:=.phdr)): New static pattern rule.
33941 (generated): Add those targets.
33942 * elf/check-execstack.c: File removed.
33944 * scripts/check-textrel.awk: New file.
33945 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33946 (check-textrel-CFLAGS): Variable removed.
33947 (all-built-dso): Use := to define.o
33948 ($(all-built-dso:=.dyn)): New static pattern rule.
33949 (generated): Add those targets.
33950 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33951 * config.make.in (READELF): New substituted variable.
33952 * elf/check-textrel.c: File removed.
33954 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33956 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33958 * conform/data/ctype.h-data [C99-based standards] (isblank):
33960 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33961 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33963 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33964 Specify type. Require positive value.
33965 (EILSEQ): Likewise.
33966 (ERANGE): Likewise.
33967 [ISO || POSIX] (EILSEQ): Do not expect.
33968 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33969 Specify type. Require positive value.
33970 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33971 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33972 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33973 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33974 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33975 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33976 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33977 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33978 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33979 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33980 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33984 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33985 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33986 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33991 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33993 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33994 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34000 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34001 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34006 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34007 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34008 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34009 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34010 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34011 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34012 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34013 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34014 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34015 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34016 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34017 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34018 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34019 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34020 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34021 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34022 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34023 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34024 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34025 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34026 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34027 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34028 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34029 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34030 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34031 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34032 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34033 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34034 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34035 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34036 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34037 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34038 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34039 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34040 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34041 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34042 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34043 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34044 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34045 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34046 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34048 (FLT_ROUNDS): Expect as macro, not constant.
34049 (FLT_MANT_DIG): Use macro-int-constant.
34050 (DBL_MANT_DIG): Likewise.
34051 (LDBL_MANT_DIG): Likewise.
34052 (FLT_DIG): Likewise.
34053 (DBL_DIG): Likewise.
34054 (LDBL_DIG): Likewise.
34055 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34056 (DBL_MIN_EXP): Likewise.
34057 (LDBL_MIN_EXP): Likewise.
34058 (FLT_MAX_EXP): Use macro-int-constant.
34059 (DBL_MAX_EXP): Likewise.
34060 (LDBL_MAX_EXP): Likewise.
34061 (FLT_MAX_10_EXP): Likewise.
34062 (DBL_MAX_10_EXP): Likewise.
34063 (LDBL_MAX_10_EXP): Likewise.
34064 (FLT_MAX): Use macro-constant.
34065 (DBL_MAX): Likewise.
34066 (LDBL_MAX): Likewise.
34067 (FLT_EPSILON): Use macro-constant. Give upper bound.
34068 (DBL_EPSILON): Likewise.
34069 (LDBL_EPSILON): Likewise.
34070 (FLT_MIN): Likewise.
34071 (DBL_MIN): Likewise.
34072 (LDBL_MIN): Likewise.
34073 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34074 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34075 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34076 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34077 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34078 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34079 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34080 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34081 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34082 [ISO11] (FLT_TRUE_MIN): Likewise.
34083 [ISO11] (LDBL_TRUE_MIN): Likewise.
34084 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34085 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34086 (SCHAR_MIN): Use macro-int-constant. Specify type.
34087 (SCHAR_MAX): Likewise.
34088 (UCHAR_MAX): Likewise.
34089 (CHAR_MIN): Likewise.
34090 (CHAR_MAX): Likewise.
34091 (MB_LEN_MAX): Use macro-int-constant.
34092 (SHRT_MIN): Use macro-int-constant. Specify type.
34093 (SHRT_MAX): Likewise.
34094 (USHRT_MAX): Likewise.
34095 (INT_MAX): Likewise.
34096 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34098 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34100 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34102 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34103 bound negative. Suffix upper bound with "L".
34104 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34106 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34108 [C99-based standards] (LLONG_MAX): Likewise.
34109 [C99-based standards] (ULLONG_MAX): Likewise.
34110 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34112 [ISO11] (max_align_t): Require type.
34113 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34115 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34116 from $CFLAGS, without defining away __attribute__ calls.
34117 (checknamespace): Use $CFLAGS_namespace.
34119 * conform/conformtest.pl (@keywords): Only include C99 keywords
34120 for standards based on C99 or C11.
34122 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34124 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34127 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34128 usability of symbols in #if.
34130 * conform/conformtest.pl: If macro or constant types start
34131 "promoted:", expect the symbol to be of the following type
34132 promoted by the integer promotions.
34134 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34135 in one place. Also handle "macro-constant".
34137 * conform/conformtest.pl: Only accept expected macro values with
34138 "==". Parse all "macro" lines in one place.
34139 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34141 * conform/conformtest.pl: Handle braced types on "constant" lines
34142 instead of handling "typed-constant".
34143 * conform/data/signal.h-data: Use "constant" instead of
34146 * conform/conformtest.pl: Handle "optional-" at start of lines in
34147 one place rather than duplicating several cases. Handle each
34148 format of "macro" line with initial "optional-".
34150 * conform/conformtest.pl: Only accept expected constant or
34151 optional-constant values with "==". Parse all "constant" lines in
34152 one place. Parse all "optional-constant" lines in one place.
34153 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34154 * conform/data/fmtmsg.h-data: Likewise.
34155 * conform/data/netinet/in.h-data: Likewise.
34156 * conform/data/tar.h-data: Likewise.
34157 * conform/data/limits.h-data: Use "==" form on "constant" and
34158 "optional-constant" lines.
34160 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34161 Use -std=c99 for XOPEN2K.
34162 (@knownproblems): Remove.
34163 (newtoken): Don't check %isknown.
34165 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34166 Do not expect macro.
34167 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34168 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34169 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34170 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34171 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34172 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34173 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34174 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34175 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34176 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34177 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34178 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34179 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34180 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34181 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34182 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34183 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34184 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34185 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34186 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34187 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34188 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34189 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34190 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34191 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34192 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34193 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34194 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34195 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34196 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34197 [XPG3] (acosh): Likewise.
34198 [XPG3] (asinh): Likewise.
34199 [XPG3] (atanh): Likewise.
34200 [XPG3] (cbrt): Likewise.
34201 [XPG3] (expm1): Likewise.
34202 [XPG3] (ilogb): Likewise.
34203 [XPG3] (log1p): Likewise.
34204 [XPG3] (logb): Likewise.
34205 [XPG3] (nextafter): Likewise.
34206 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34207 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34208 [XPG3] (remainder): Likewise.
34209 [XPG3] (rint): Likewise.
34210 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34211 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34212 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34213 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34214 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34215 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34216 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34217 [UNIX98 || XOPEN2K] (scalb): Expect.
34218 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34219 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34220 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34222 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34223 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34224 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34225 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34226 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34227 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34228 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34229 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34230 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34231 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34232 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34233 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34234 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34235 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34236 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34237 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34238 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34239 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34241 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34242 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34243 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34244 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34245 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34246 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34247 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34248 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34250 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34251 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34252 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34253 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34254 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34255 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34256 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34257 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34258 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34259 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34260 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34261 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34262 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34263 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34264 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34265 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34266 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34267 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34268 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34269 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34270 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34271 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34272 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34273 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34274 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34275 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34276 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34277 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34278 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34279 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34280 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34281 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34282 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34283 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34284 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34285 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34286 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34287 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34288 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34289 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34290 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34291 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34292 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34293 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34294 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34295 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34296 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34297 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34298 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34299 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34300 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34301 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34302 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34303 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34304 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34305 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34306 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34307 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34308 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34309 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34310 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34311 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34312 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34313 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34314 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34315 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34316 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34317 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34318 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34319 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34320 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34321 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34322 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34323 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34324 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34325 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34326 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34327 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34328 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34329 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34330 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34331 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34332 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34333 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34334 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34335 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34336 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34337 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34338 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34339 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34340 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34341 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34342 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34343 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34344 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34345 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34346 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34347 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34348 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34349 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34350 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34351 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34352 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34353 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34354 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34356 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34357 _XOPEN_SOURCE_EXTENDED for XPG4.
34359 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34361 * Makeconfig (localtime): Remove variable.
34362 (inst_localtime-file): Likewise.
34364 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34385 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34389 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34390 comparisons to determine direction to adjust input.
34391 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34392 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34393 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34395 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34397 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34399 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34400 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34402 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34404 * math/libm-test.inc (nexttoward_test): Add more tests.
34406 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34409 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34410 in version GLIBC_2.1, not GLIBC_2.0.
34411 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34414 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34417 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34419 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34420 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34421 * math/libm-test.inc (acos_test): Add more tests.
34422 (asin_test): Likewise.
34423 * sysdeps/i386/fpu/libm-test-ulps: Update.
34424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34427 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34429 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34430 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34431 * math/libm-test.inc (acos_test_tonearest): New function.
34432 (acos_test_towardzero): Likewise.
34433 (acos_test_downward): Likewise.
34434 (acos_test_upward): Likewise.
34435 (asin_test_tonearest): Likewise.
34436 (asin_test_towardzero): Likewise.
34437 (asin_test_downward): Likewise.
34438 (asin_test_upward): Likewise.
34439 (main): Call the new functions.
34440 * sysdeps/i386/fpu/libm-test-ulps: Update.
34441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34445 * math/e_exp10.c: Include <float.h>.
34446 (__ieee754_exp10): Handle underflow here rather than multiplying
34447 large negative argument by M_LN10.
34448 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34450 * math/e_exp10l.c: Include <float.h>.
34451 (__ieee754_exp10l): Handle underflow here rather than multiplying
34452 large negative argument by M_LN10l.
34453 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34454 spurious overflow exception on underflow.
34456 2012-04-29 Marek Polacek <polacek@redhat.com>
34458 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34459 (__fortify_function): New macro.
34460 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34461 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34462 __extern_always_inline.
34463 * libio/bits/stdio2.h: Likewise.
34464 * libio/bits/stdio.h: Likewise.
34465 * string/string.h: Likewise.
34466 * string/bits/string3.h: Likewise.
34467 * include/stdio.h: Likewise.
34468 * stdlib/bits/stdlib.h: Likewise.
34469 * stdlib/stdlib.h: Likewise.
34470 * rt/bits/mqueue2.h: Likewise.
34471 * rt/mqueue.h: Likewise.
34472 * posix/bits/unistd.h: Likewise.
34473 * posix/unistd.h: Likewise.
34474 * io/bits/poll2.h: Likewise.
34475 * io/bits/fcntl2.h: Likewise.
34476 * io/fcntl.h: Likewise.
34477 * io/sys/poll.h: Likewise.
34478 * misc/bits/syslog.h: Likewise.
34479 * misc/bits/syslog-ldbl.h: Likewise.
34480 * misc/sys/syslog.h: Likewise.
34481 * socket/bits/socket2.h: Likewise.
34482 * socket/sys/socket.h: Likewise.
34483 * debug/tst-chk1.c: Likewise.
34484 * wcsmbs/bits/wchar2.h: Likewise.
34485 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34486 * wcsmbs/wchar.h: Likewise.
34488 2012-04-29 Andreas Jaeger <aj@suse.de>
34490 * Makerules (tests): Remove enable-check-abi protection.
34491 (check-abi-warn): Remove.
34492 (check-abi-%): Remove check-abi-warn usage.
34494 * configure.in: Remove check-abi configure option.
34495 * configure: Regenerated.
34496 * config.make.in (enable-check-abi): Remove.
34498 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34501 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34502 double functions to double *_finite functions.
34505 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34506 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34508 * stdio-common/Makefile (tests): Add tst-sprintf3.
34509 * stdio-common/tst-sprintf3.c: New file.
34511 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34512 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34514 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34516 * conform/conformtest.pl: Remove duplicate typed-constant
34519 2012-04-28 David S. Miller <davem@davemloft.net>
34521 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34522 (check-abi-%): Remove AWK script prerequisite and explicit
34524 (check-abi): Rewrite to just diff the symlist with the abilist.
34525 (config-tls, config-abi-config): Delete, no longer used.
34526 (update-abi-%): Remove AWK script and explicit abilist directory.
34527 (update-abi): Rewrite to simply compare and conditionally copy the
34528 symlist and the sysdep abilist file. Remove update-abi-config
34530 * abilist/ld.abilist: Remove.
34531 * abilist/libBrokenLocale.abilist: Remove.
34532 * abilist/libanl.abilist: Remove.
34533 * abilist/libcrypt.abilist: Remove.
34534 * abilist/libdl.abilist: Remove.
34535 * abilist/librt.abilist: Remove.
34536 * abilist/libthread_db.abilist: Remove.
34537 * abilist/libutil.abilist: Remove.
34538 * scripts/extract-abilist.awk: Remove.
34539 * scripts/merge-abilist.awk: Remove.
34540 * sysdeps/generic/libcidn.abilist: New file.
34541 * sysdeps/generic/libnss_compat.abilist: New file.
34542 * sysdeps/generic/libnss_db.abilist: New file.
34543 * sysdeps/generic/libnss_dns.abilist: New file.
34544 * sysdeps/generic/libnss_files.abilist: New file.
34545 * sysdeps/generic/libnss_hesiod.abilist: New file.
34546 * sysdeps/generic/libnss_nis.abilist: New file.
34547 * sysdeps/generic/libnss_nisplus.abilist: New file.
34548 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34549 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34550 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34552 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34553 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34554 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34555 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34556 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34557 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34558 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34559 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34560 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34562 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34563 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34564 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34565 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34567 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34568 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34569 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34570 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34571 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34572 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34574 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34575 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34576 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34578 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34681 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34682 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34683 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34685 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34686 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34687 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34688 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34689 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34690 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34691 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34692 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34693 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34694 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34746 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34748 * conform/conformtest.pl: Fix typo in handling typed-constant from
34751 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34753 * README: Cut down references to pre-2.6 Linux kernels and
34754 Linuxthreads. Update lists of configurations in libc and ports
34755 and sort alphabetically. Say "or newer" with Linux kernel version
34758 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34760 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34763 * math/libm-test.inc (logb_test_downward): New test to expose
34764 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34767 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34770 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34772 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34773 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34775 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34777 * sysdeps/unix/i386/brk.S: Remove file.
34778 * sysdeps/unix/i386/dl-brk.S: Likewise.
34779 * sysdeps/unix/i386/pipe.S: Likewise.
34780 * sysdeps/unix/i386/sigreturn.S: Likewise.
34781 * sysdeps/unix/i386/syscall.S: Likewise.
34782 * sysdeps/unix/i386/vfork.S: Likewise.
34783 * sysdeps/unix/i386/wait.S: Likewise.
34785 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34786 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34788 * configure.in (arm*-none*): Do not allow without
34789 --enable-hacker-mode.
34790 (netbsd*): Remove case setting base_os.
34791 (386bsd*): Likewise.
34792 (freebsd*): Likewise.
34795 (sunos*): Likewise.
34796 (ultrix*): Likewise.
34797 (newsos*): Likewise.
34798 (dynix*): Likewise.
34804 (minix*): Likewise.
34805 (irix4*): Likewise.
34806 (irix6*): Likewise.
34807 (solaris[2-9]*): Likewise.
34809 * configure: Regenerated.
34811 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34814 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34815 overflow or cancellation in calculating denominator.
34816 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34817 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34818 down expression to avoid unexpected rounding in newer GCCs.
34819 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34821 2012-04-26 David S. Miller <davem@davemloft.net>
34823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34824 long-double compat symbols.
34825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34839 2012-04-25 David S. Miller <davem@davemloft.net>
34841 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34842 HWCAP_* values only after the memory barriers have been defined.
34843 (atomic_full_barrier): Define.
34844 (atomic_read_barrier): Define.
34845 (atomic_write_barrier): Define.
34847 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34849 * shlib-versions: Add libgcc_s version information.
34850 * sysdeps/generic/libgcc_s.h: Remove.
34851 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34853 * sysdeps/gnu/unwind-resume.c: Likewise.
34854 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34856 2012-04-25 David S. Miller <davem@davemloft.net>
34858 * sysdeps/unix/sparc/brk.S: Delete.
34859 * sysdeps/unix/sparc/dl-brk.S: Delete.
34860 * sysdeps/unix/sparc/pipe.S: Delete.
34861 * sysdeps/unix/sparc/sysdep.S: Delete.
34862 * sysdeps/unix/sparc/sysdep.h: Delete.
34863 * sysdeps/unix/sparc/vfork.S: Delete.
34864 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34865 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34866 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34867 (ret_ERRVAL, r0, r1, MOVE): Define.
34868 (JUMPTARGET): Remove.
34869 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34870 sysdeps/unix/sparc/sysdep.h
34871 (ENTRY, END): Remove.
34872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34874 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34876 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34877 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34880 * timezone/README: Update upstream location and email address for
34882 * timezone/zdump.c: Update from tzcode 2012b.
34883 * timezone/zic.c: Likewise.
34885 * configure.in (libc_cv_as_needed): Remove test.
34886 * configure: Regenerated.
34887 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34888 conditional definition.
34889 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34890 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34891 * config.make.in (have-as-needed): Remove variable.
34893 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34894 Paul Pluzhnikov <ppluzhnikov@google.com>
34896 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34899 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34901 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34902 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34903 * sysdeps/sh/strlen.S: Likewise.
34905 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34907 * sysdeps/unix/fork.S: Remove file.
34908 * sysdeps/unix/i386/fork.S: Likewise.
34909 * sysdeps/unix/sparc/fork.S: Likewise.
34911 * sysdeps/unix/system.c: Remove file.
34912 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34914 * sysdeps/unix/getegid.S: Remove file.
34915 * sysdeps/unix/geteuid.S: Likewise.
34917 2012-04-24 Roland McGrath <roland@hack.frob.com>
34919 * scripts/check-localplt.awk: New file.
34920 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34922 * scripts/data/localplt-generic.data: Add a comment.
34924 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34925 NODE when __dir_mkfile failed.
34926 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34927 Reported by Ludovic Courtès <ludo@gnu.org>.
34929 2012-04-24 Andreas Jaeger <aj@suse.de>
34931 * Makerules (common-clean): Also remove gen-as-const-headers
34934 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34936 * Makerules (native-compile): Do not change working directory for
34937 build. Use $(OUTPUT_OPTION) in command.
34938 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34940 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34943 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34944 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34945 * math/libm-test.inc (floor_test): Add more tests.
34946 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34948 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34950 * sysdeps/unix/getdents.c: Remove file.
34951 * sysdeps/unix/sysv/getdents.c: Likewise.
34952 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34954 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34955 sysdeps/unix/mman/syscalls.list.
34957 (mprotect): Likewise.
34959 (munmap): Likewise.
34960 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34961 * sysdeps/unix/mman/syscalls.list: Remove.
34962 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34964 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34965 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34966 * configure: Regenerated.
34967 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34968 $(libgcc_s_suffix).
34969 * config.make.in (libgcc_s_suffix): Remove variable.
34971 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34973 * sysdeps/unix/sysv/gethostname.c: Move to ...
34974 * sysdeps/posix/gethostname.c: ... here.
34976 * sysdeps/unix/execve.S: Remove file.
34978 * sysdeps/unix/_exit.S: Remove file.
34980 2012-04-23 Andreas Jaeger <aj@suse.de>
34983 * manual/Makefile: Remove make dist support, there's no
34984 need for a stand-alone documentation tar ball.
34985 (TEXI2DVI): Define always, it's not in Makeconfig.
34988 (edition): Removed.
34989 (glibc-doc-$(edition).tar): Removed
34993 (ETAGS): Remove, it's in Makeconfig.
34994 (move-if-change): Remove, it's in Makeconfig.
34996 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34999 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35000 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35001 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35002 (strtod_l, strtof_l, strtold_l): Remove __wur.
35003 It is not necessarily an error to ignore strtol's return value.
35004 One can reliably look at the stored endptr to decide whether
35005 the number had valid syntax.
35007 2012-04-21 Andreas Jaeger <aj@suse.de>
35010 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35012 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35014 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35015 * sysdeps/unix/sysv/Versions: Remove file.
35017 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35022 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35025 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35026 version from __vm86.
35028 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35030 * sysdeps/unix/common/lxstat.c: Remove file.
35031 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35033 * sysdeps/unix/sysv/Makefile: Remove file.
35035 * sysdeps/unix/sysv/direct.h: Remove file.
35037 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35038 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35039 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35040 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35041 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35042 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35043 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35045 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35047 * sysdeps/unix/xmknod.c: Remove file.
35048 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35050 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35052 * sysdeps/unix/sysv/i386/time.S: Remove file.
35054 * sysdeps/unix/fxstat.c: Remove file.
35055 * sysdeps/unix/xstat.c: Likewise.
35056 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35058 * sysdeps/unix/sysv/sigaction.c: Remove file.
35060 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35061 (sysdep_headers): Remove variable.
35062 [termio.h not in sysdep_headers] (generated): Likewise.
35063 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35064 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35065 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35066 * sysdeps/unix/sysv/tcflow.c: Likewise.
35067 * sysdeps/unix/sysv/tcflush.c: Likewise.
35068 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35069 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35070 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35071 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35072 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35074 * sysdeps/unix/siglist.c: Remove file.
35076 * sysdeps/unix/getppid.S: Remove file.
35078 * sysdeps/unix/mkdir.c: Remove file.
35079 * sysdeps/unix/rmdir.c: Likewise.
35081 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35083 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35085 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35086 errlist-compat value.
35088 2012-04-18 David S. Miller <davem@davemloft.net>
35090 * sysdeps/generic/memcopy.h (reg_char): Delete.
35091 * debug/strcat_chk.c: Use char, not reg_char.
35092 * debug/strcpy_chk.c: Likewise.
35093 * debug/strncat_chk.c: Likewise.
35094 * debug/strncpy_chk.c: Likewise.
35095 * string/memchr.c: Likewise.
35096 * string/memrchr.c: Likewise.
35097 * string/rawmemchr.c: Likewise.
35098 * string/strcat.c: Likewise.
35099 * string/strchr.c: Likewise.
35100 * string/strchrnul.c: Likewise.
35101 * string/strcmp.c: Likewise.
35102 * string/strcpy.c: Likewise.
35103 * string/strncat.c: Likewise.
35104 * string/strncmp.c: Likewise.
35105 * string/strncpy.c: Likewise.
35107 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35109 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35110 __builtin_memcopy is called when src and dest ranges are known to not
35113 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35115 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35116 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35117 fwd_align_merge macro call.
35118 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35119 bwd_align_merge macro call.
35120 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35122 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35124 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35125 bwd_align_merge macros.
35126 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35127 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35128 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35130 2012-04-18 David S. Miller <davem@davemloft.net>
35132 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35134 2012-04-18 Andreas Jaeger <aj@suse.de>
35137 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35138 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35139 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35141 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35142 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35143 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35145 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35146 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35147 Adjust for changed ldbl-128 files.
35149 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35150 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35151 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35153 2012-04-17 David S. Miller <davem@davemloft.net>
35155 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35157 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35159 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35160 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35161 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35162 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35163 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35164 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35166 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35169 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35170 * math/libm-test.inc: Add ilogb errno and exception tests.
35171 * math/w_ilogb.c: New file: ilogb wrapper.
35172 * math/w_ilogbf.c: New file: ilogbf wrapper.
35173 * math/w_ilogbl.c: New file: ilogbl wrapper.
35174 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35175 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35176 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35177 exception being thrown with 0.0 as argument.
35178 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35179 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35180 exception being thrown with 0.0 as argument.
35181 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35182 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35183 exception being thrown with 0.0 as argument.
35184 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35185 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35186 exception being thrown with 0.0 as argument.
35187 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35188 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35189 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35190 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35191 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35192 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35193 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35194 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35195 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35197 2012-04-17 Petr Baudis <pasky@ucw.cz>
35199 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35202 2012-04-16 Marek Polacek <polacek@redhat.com>
35204 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35206 2012-04-16 Marek Polacek <polacek@redhat.com>
35208 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35209 operands of fdivp instruction.
35211 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35213 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35214 * elf/tst-auditmod3b.c: Likewise.
35215 * elf/tst-auditmod4b.c: Likewise.
35216 * elf/tst-auditmod5b.c: Likewise.
35217 * elf/tst-auditmod6b.c: Likewise.
35218 * elf/tst-auditmod6c.c: Likewise.
35219 * elf/tst-auditmod7b.c: Likewise.
35220 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35221 * sysdeps/x86_64/preconfigure.in: Likewise.
35222 * sysdeps/x86_64/preconfigure: Regenerated.
35224 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35226 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35229 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35231 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35232 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35234 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35237 * locale/iso-639.def: Fix gl language name. Spotted by
35240 2012-04-12 Roland McGrath <roland@hack.frob.com>
35243 * libio/libio.h (__io_write_fn): Update comment.
35245 2012-04-12 Petr Baudis <pasky@ucw.cz>
35248 * stdio.texi (Hook Functions): The user provided writer function
35249 is not allowed to return -1.
35251 2012-04-11 David S. Miller <davem@davemloft.net>
35253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35255 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35257 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35258 Add a leading slash to rtkaio.
35260 2012-04-11 Jim Meyering <meyering@redhat.com>
35263 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35264 It is not necessarily an error to ignore fwrite's return
35265 value. One can reliably use ferror to test for errors after
35268 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35270 * bits/types.h (__snseconds_t): New type.
35271 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35273 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35275 (__SNSECONDS_T_TYPE): Likewise.
35276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35277 (__SNSECONDS_T_TYPE): Likewise.
35278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35279 (__SNSECONDS_T_TYPE): Likewise.
35281 2012-04-10 Andreas Jaeger <aj@suse.de>
35284 * manual/time.texi (Processor Time): Return type of times is
35285 elapsed real time since an arbitrary point in the past.
35286 (CPU Time): Move CLK_TCK from here...
35287 (Processor Time): ...to here. Correct description.
35288 * manual/conf.texi (Constants for Sysconf): Correct description of
35291 2012-04-10 David S. Miller <davem@davemloft.net>
35294 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35295 where the is a gap between DT_REL(A) and DT_JMPREL.
35297 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35299 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35300 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35301 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35303 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35305 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35306 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35307 (dl_main): Handle --inhibit-cache.
35308 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35310 * elf/dl-load.c (_dl_map_object): Use it.
35311 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35313 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35316 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35317 (__ieee754_powl): Saturate large exponents rather than testing for
35318 overflow of y*log2(x).
35319 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35320 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35324 * math/s_ctan.c: Include <float.h>.
35325 (__ctan): Avoid internal overflow or cancellation in calculating
35327 * math/s_ctanf.c: Likewise.
35328 * math/s_ctanl.c: Likewise.
35329 * math/s_ctanh.c: Likewise.
35330 * math/s_ctanhf.c: Likewise.
35331 * math/s_ctanhl.c: Likewise.
35332 * math/libm-test.inc (ctan_test): Add more tests.
35333 (ctanh_test): Likewise.
35334 * sysdeps/i386/fpu/libm-test-ulps: Update.
35335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35337 2012-04-09 Andreas Jaeger <aj@suse.de>
35340 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35341 is an optional BSD extension.
35344 * manual/stdio.texi (Opening Streams): Document additional fopen
35347 2012-04-09 Roland McGrath <roland@hack.frob.com>
35349 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35350 %eax without telling the compiler.
35352 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35355 * manual/install.texi: Use sourceware.org.
35357 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35360 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35361 (__ieee754_pow): Generate overflow and underflow using huge*huge
35362 and tiny*tiny rather than just returning constant infinity or zero
35363 for large exponents.
35364 * math/libm-test.inc (pow_test): Require overflow exceptions for
35365 applicable cases of large exponents.
35368 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35369 (__ieee754_pow): Use iterative multiplication algorithm only for
35370 integer exponents with absolute value below 1024. Check for odd
35371 integer exponents when using algorithm for real exponents.
35372 * math/libm-test.inc (pow_test): Add more tests.
35373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35375 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35378 * math/libm-test.inc (exp_test): Do not allow overflow exception
35381 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35384 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35385 instead of __kernel_standard_f.
35387 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35389 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35390 * sysdeps/x86_64/memset_chk.S: Likewise.
35392 2012-04-08 Andreas Jaeger <aj@suse.de>
35395 * manual/startup.texi (Environment Access): Describe return value
35396 for putenv and setenv.
35399 * manual/filesys.texi (Directory Entries): Add description for
35403 * manual/filesys.texi (Directory Entries): Clarify that it's file
35404 system not operating system in the description of DT_UNKNOWN.
35407 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35409 2012-04-08 Stephen Compall <s11@member.fsf.org>
35412 * manual/llio.texi (Opening and Closing Files): Add cross
35413 reference to explain mode argument.
35415 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35417 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35418 * sysdeps/x86_64/memset_chk.S: Likewise.
35420 2012-04-07 David S. Miller <davem@davemloft.net>
35422 * elf/elf.h (R_SPARC_WDISP10): Define.
35423 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35425 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35426 R_SPARC_SIZE64 and R_SPARC_H34.
35428 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35430 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35431 conditions and remove no longer applicable assertion.
35433 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35435 * bits/byteswap.h: Include <features.h>.
35436 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35437 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35439 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35441 * bits/byteswap.h (__bswap_16): Removed.
35442 Include <bits/byteswap-16.h> to get __bswap_16.
35443 * sysdeps/i386/bits/byteswap.h: Likewise.
35444 * sysdeps/s390/bits/byteswap.h: Likewise.
35445 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35446 * bits/byteswap-16.h: New file.
35447 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35448 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35449 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35450 * string/Makefile (headers): Add bits/byteswap-16.h.
35452 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35455 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35457 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35458 * nss/tst-nss-static.c: New.
35460 2012-04-06 Robert Millan <rmh@gnu.org>
35463 * manual/llio.texi (File Position Primitive): lseek
35464 refers to WHENCE when it really means OFFSET.
35466 2012-04-06 Andreas Jaeger <aj@suse.de>
35468 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35469 strncmp declarations.
35471 * abilist/libc.abilist: Add __poll and __ppoll.
35473 2012-04-05 David S. Miller <davem@davemloft.net>
35475 * scripts/check-local-headers.sh: Accept a host triplet in the
35476 path matched by the exclude regexp.
35478 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35480 * sysdeps/powerpc/powerpc32/dl-machine.h
35481 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35482 * sysdeps/s390/s390-32/dl-machine.h
35483 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35484 * sysdeps/sparc/sparc32/dl-machine.h
35485 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35486 * sysdeps/sparc/sparc64/dl-machine.h
35487 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35489 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35491 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35492 undefined symbol errors.
35494 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35497 2012-04-05 Michael Matz <matz@suse.de>
35500 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35502 2012-04-05 Andreas Jaeger <aj@suse.de>
35505 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35508 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35510 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35511 which ROUND is no valid rounding mode.
35513 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35515 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35517 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35519 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35521 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35522 an exception using FPU order intentionally.
35524 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35526 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35527 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35528 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35529 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35531 2012-04-05 Simon Josefsson <simon@josefsson.org>
35534 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35535 EINVAL when BUFLEN is too smal.
35537 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35540 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35541 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35543 2012-04-03 Andreas Jaeger <aj@suse.de>
35546 * manual/setjmp.texi (System V contexts): Fix sentence.
35549 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35550 New macro for this case.
35551 [!__GNUC__] (__bswap_64): New inline function for this case.
35552 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35553 * bits/byteswap.h: Likewise.
35554 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35555 ull, guard with __GLIBC_HAVE_LONG_LONG.
35557 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35558 __GLIBC_HAVE_LONG_LONG.
35560 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35561 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35563 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35566 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35567 inptr and inend, rather than using last_ch.
35569 2012-04-02 David S. Miller <davem@davemloft.net>
35571 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35572 * stdio-common/printf-parse.h (read_int): Change return type to
35573 'int', return -1 on INT_MAX overflow.
35574 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35575 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35576 overflows INT_MAX. Check for overflow of in-format-string precision
35577 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35578 SIZE_MAX not INT_MAX for integer overflow test.
35579 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35580 skip the construct in the format string but do not record anything.
35581 * stdio-common/bug22.c: Adjust to test both width/prevision
35582 INT_MAX overflow as well as total length INT_MAX overflow. Check
35583 explicitly for proper errno values.
35585 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35587 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35589 * string/test-strcmp.c [! WIDE]: Likewise.
35590 * time/tst-mktime2.c: Likewise for INT_MAX.
35591 * string/test-string.h: #include <sys/param.h> for MIN.
35593 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35594 * sysdeps/i386/init-first.c (init): Likewise.
35595 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35596 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35597 * sysdeps/sh/init-first.c (init): Likewise.
35599 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35601 * po/ru.po: Update from translation team.
35602 * po/vi.po: Likewise.
35604 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35606 * resolv/nss_dns/dns-host.c: Merge copyright years.
35608 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35610 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35611 Optimize memcpy with prefetch if
35612 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35613 src, dst pointers have unequal 16 byte alignments.
35615 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35618 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35619 from a CNAME entry and return the minimum ttl for the query.
35620 (gaih_getanswer_slice): Likewise.
35622 2012-03-30 Jeff Law <law@redhat.com>
35624 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35626 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35627 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35629 * resolv/nss_dns/dns-host.c: Update copyright year.
35631 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35633 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35634 requests to save a system call. Fix check that all bytes are sent.
35636 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35637 comments for sendmmsg.
35639 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35642 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35643 with only 1 character between 0x0041 and 0x01b0.
35644 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35645 * wcsmbs/tst-mbsnrtowcs.c: New file.
35647 2012-03-29 David S. Miller <davem@davemloft.net>
35649 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35650 small copies by hand.
35652 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35655 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35656 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35659 2012-03-28 David S. Miller <davem@davemloft.net>
35661 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35662 that branches into memcpy.
35663 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35664 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35665 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35666 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35667 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35669 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35670 implementation too.
35671 * sysdeps/sparc/mempcpy.S: New file.
35673 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35674 the IFUNC routine in the libc case.
35675 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35677 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35678 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35679 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35680 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35681 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35682 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35683 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35684 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35686 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35687 loop to 256 bytes instead of 64 bytes and fix test signedness.
35689 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35690 * sysdeps/sparc/sparc32/Makefile: rather than here...
35691 * sysdeps/sparc/sparc64/Makefile: and here.
35693 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35695 * malloc/mallocbug.c: Avoid warnings about unused variables.
35697 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35700 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35701 in the right place. Discard and retry query if response is
35702 larger than input buffer size.
35704 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35709 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35710 x for large integer exponent.
35711 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35712 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35713 sign of result as needed afterwards.
35714 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35715 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35716 result for underflowing pow the same as for overflow.
35717 (__kernel_standard_l): Handle powl overflow and underflow here
35718 rather than calling __kernel_standard.
35719 * math/libm-test.inc (pow_test): Add more tests.
35734 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35735 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35736 (__kernel_standard_l): New function.
35737 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35739 * math/w_acosl.c (__acosl): Likewise.
35740 * math/w_asinl.c (__asinl): Likewise.
35741 * math/w_atan2l.c (__atan2l): Likewise.
35742 * math/w_atanhl.c (__atanhl): Likewise.
35743 * math/w_coshl.c (__coshl): Likewise.
35744 * math/w_exp10l.c (__exp10l): Likewise.
35745 * math/w_exp2l.c (__exp2l): Likewise.
35746 * math/w_fmodl.c (__fmodl): Likewise.
35747 * math/w_hypotl.c (__hypotl): Likewise.
35748 * math/w_j0l.c (__j0l, __y0l): Likewise.
35749 * math/w_j1l.c (__j1l, __y1l): Likewise.
35750 * math/w_jnl.c (__jnl, __ynl): Likewise.
35751 * math/w_lgammal.c (__lgammal): Likewise.
35752 * math/w_log10l.c (__log10l): Likewise.
35753 * math/w_log2l.c (__log2l): Likewise.
35754 * math/w_logl.c (__logl): Likewise.
35755 * math/w_powl.c (__powl): Likewise.
35756 * math/w_remainderl.c (__remainderl): Likewise.
35757 * math/w_scalbl.c (sysv_scalbl): Likewise.
35758 * math/w_sinhl.c (__sinhl): Likewise.
35759 * math/w_sqrtl.c (__sqrtl): Likewise.
35760 * math/w_tgammal.c (__tgammal): Likewise.
35761 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35762 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35763 * math/libm-test.inc (acos_test): Add more tests.
35764 (acosh_test): Likewise.
35765 (asin_test): Likewise.
35766 (atanh_test): Likewise.
35767 (exp_test): Likewise.
35768 (exp10_test): Likewise.
35769 (exp2_test): Likewise.
35770 (expm1_test): Likewise.
35771 (lgamma_test): Likewise.
35772 (log_test): Likewise.
35773 (log10_test): Likewise.
35774 (log1p_test): Likewise.
35775 (log2_test): Likewise.
35776 (pow_test): Do not allow some spurious overflow exceptions.
35777 (sqrt_test): Add more tests.
35778 (tgamma_test): Likewise.
35779 (y0_test): Likewise.
35780 (y1_test): Likewise.
35781 (yn_test): Likewise.
35783 2012-03-27 Anton Blanchard <anton@samba.org>
35785 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35787 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35788 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35789 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35791 2012-03-27 David S. Miller <davem@davemloft.net>
35793 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35795 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35796 have-as-vis3 check.
35798 2012-03-27 Andreas Jaeger <aj@suse.de>
35800 * sysdeps/x86_64/elf/configure.in: Moved to ...
35801 * sysdeps/x86_64/configure.in: ... here.
35802 * sysdeps/x86_64/elf/start.S: Moved to ...
35803 * sysdeps/x86_64/start.S: ... here.
35804 * sysdeps/x86_64/elf/configure: Delete.
35806 * sysdeps/x86_64/configure.in: Merge contents from
35807 sysdeps/i386/configure.in (without i686 check).
35809 * sysdeps/i386/elf/Versions: Merge into ...
35810 * sysdeps/i386/Versions: ... this.
35811 * sysdeps/i386/elf/Versions: Delete file.
35812 * sysdeps/i386/elf/start.S: Moved to ...
35813 * sysdeps/i386/start.S: ...here.
35814 * sysdeps/i386/elf/configure.in: Merge into...
35815 * sysdeps/i386/configure.in: ...here.
35816 * sysdeps/i386/elf/configure.in: Delete file.
35817 * sysdeps/i386/elf/configure: Delete file.
35819 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35820 * debug/backtracesyms.c: ... here.
35821 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35822 * debug/backtracesymsfd.c: ... here.
35823 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35824 * sysdeps/generic/ifunc-sel.h: ... here.
35826 * sysdeps/unix/i386/start.c: Delete file.
35827 * sysdeps/unix/sparc/start.c: Delete file.
35828 * sysdeps/unix/start.c: Delete file.
35830 * sysdeps/sh/elf/configure.in: Moved to ...
35831 * sysdeps/sh/configure.in: ... here.
35832 * sysdeps/sh/elf/start.S: Moved to ...
35833 * sysdeps/sh/start.S: ... here.
35834 * sysdeps/sh/elf/configure: Delete file.
35836 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35837 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35838 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35839 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35840 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35841 * sysdeps/powerpc/powerpc64/start.S: here.
35842 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35843 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35844 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35845 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35846 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35848 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35849 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35850 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35851 * sysdeps/powerpc/powerpc32/start.S: ... here.
35852 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35853 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35854 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35856 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35857 * sysdeps/powerpc/ifunc-sel.h: ... here.
35858 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35859 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35861 * sysdeps/sparc/elf/configure.in: Moved to ...
35862 * sysdeps/sparc/configure.in: ... here.
35863 * sysdeps/sparc/elf/configure: Delete file.
35864 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35865 * sysdeps/sparc/sparc32/start.S: ... here.
35866 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35867 * sysdeps/sparc/sparc64/start.S: ... here.
35868 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35869 * sysdeps/sparc/sparc32/Makefile: ... this.
35870 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35871 * sysdeps/sparc/sparc64/Makefile: ... this.
35873 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35874 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35875 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35876 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35877 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35878 * sysdeps/s390/s390-32/setjmp.S: ... here.
35879 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35880 * sysdeps/s390/s390-32/configure.in: ... here.
35881 * sysdeps/s390/s390-32/elf/configure: Delete file.
35882 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35883 * sysdeps/s390/s390-32/start.S: ... here.
35885 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35886 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35887 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35888 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35889 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35890 * sysdeps/s390/s390-64/setjmp.S: ... here.
35891 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35892 * sysdeps/s390/s390-64/configure.in: ... here
35893 * sysdeps/s390/s390-64/elf/configure: Delete file.
35894 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35895 * sysdeps/s390/s390-64/start.S: ... here.
35896 * sysdeps/s390/s390-64/elf/configure: Delete.
35898 * configure.in: Remove support for elf directories in sysdeps.
35900 * configure: Regenerated.
35901 * sysdeps/i386/configure: Regenerated.
35902 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35903 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35904 * sysdeps/s390/s390-32/configure: Regenerated.
35905 * sysdeps/s390/s390-64/configure: Regenerated.
35906 * sysdeps/sh/configure: Regenerated.
35907 * sysdeps/sparc/configure: Regenerated.
35908 * sysdeps/x86_64/configure: Regenerated.
35910 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35914 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35915 denormal result into account.
35917 2012-03-25 Roland McGrath <roland@hack.frob.com>
35919 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35920 Reported by Allan McRae <allan@archlinux.org>.
35922 2012-03-23 Jeff Law <law@redhat.com>
35924 * nss/getnssent.c (__nss_getent): Fix typo.
35926 2012-03-23 David S. Miller <davem@davemloft.net>
35928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35930 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35932 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35933 to pad to uint64_t for each field.
35934 (dl_tls_index): Replace unsigned long with uint64_t.
35936 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35937 Paul Pluzhnikov <ppluzhnikov@google.com>
35940 * grp/Makefile (otherlibs): Don't set it.
35941 * inet/Makefile (otherlibs): Likewise.
35942 * login/Makefile (otherlibs): Likewise.
35943 * nscd/Makefile (otherlibs): Likewise.
35944 * posix/Makefile (otherlibs): Likewise.
35945 * pwd/Makefile (otherlibs): Likewise.
35946 * rt/Makefile (otherlibs): Likewise.
35947 * sunrpc/Makefile (otherlibs): Likewise.
35948 * nss/Makefile (otherlibs): Likewise.
35949 Add libnss_files to routines and static-only-routines.
35950 ($(objpfx)getent): Remove rule.
35951 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35952 static-only-routines.
35954 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35957 * math/s_cexp.c: Include <float.h>.
35958 (__cexp): Handle exp result overflowing not necessarily
35959 overflowing both real and imaginary parts of result.
35960 * math/s_cexpf.c: Likewise.
35961 * math/s_cexpl.c: Likewise.
35962 * math/libm-test.inc (cexp_test): Add more tests.
35963 * sysdeps/i386/fpu/libm-test-ulps: Update.
35964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35966 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35968 * include/link.h (ELFW): New macro.
35969 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35970 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35972 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35974 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35977 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35979 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35981 (struct La_x32_retval): Likewise.
35983 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35985 * sysdeps/x86_64/preconfigure.in: New file.
35986 * sysdeps/x86_64/preconfigure: New generated file.
35988 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35991 * math/e_exp2l.c: Include <float.h>.
35992 (__ieee754_exp2l): Handle overflow and underflow cases
35993 separately. Only pass fractional part of argument to
35995 * math/libm-test.inc (exp2_test): Add more tests.
35997 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35998 negating x to take absolute value.
35999 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36001 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36002 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36004 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36005 computing low part if x was negated.
36006 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36008 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36010 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36011 la_x32_gnu_pltexit.
36012 (pltexit): Cast int_retval to ptrdiff_t.
36013 * elf/tst-auditmod3b.c: Likewise.
36014 * elf/tst-auditmod4b.c: Likewise.
36015 * elf/tst-auditmod5b.c: Likewise.
36016 * elf/tst-auditmod6b.c: Likewise.
36017 * elf/tst-auditmod6c.c: Likewise.
36018 * elf/tst-auditmod7b.c: Likewise.
36020 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36021 and x32_gnu_pltexit.
36023 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36024 __ELF_NATIVE_CLASS.
36025 (La_x32_regs): New macro.
36026 (La_x32_retval): Likewise.
36027 (la_x32_gnu_pltenter): New function prototype.
36028 (la_x32_gnu_pltexit): Likewise.
36030 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36032 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36037 * configure.in (libc_cv_cc_nofma): Check for option to disable
36038 generation of FMA instructions.
36039 * configure: Regenerate.
36040 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36041 * sysdeps/ieee754/dbl-64/Makefile: New file.
36042 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36043 Remove brandred-fma4.
36044 (CFLAGS-brandred-fma4.c): Remove.
36045 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36046 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36048 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36051 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36053 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36054 LLONG_MAX != LONG_MAX.
36055 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36056 (_fitoa_word): Likewise.
36057 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36058 LLONG_MAX != LONG_MAX.
36059 * stdio-common/_itowa.h: Include <_itoa.h>.
36060 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36061 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36062 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36063 only if not defined.
36064 (_ITOA_WORD_TYPE): Likewise.
36065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36066 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36068 2012-03-21 David S. Miller <davem@davemloft.net>
36070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36072 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36074 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36075 of x86_64 when setting libc_cv_slibdir, libdir and
36077 * sysdeps/unix/sysv/linux/configure: Regenerated.
36079 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36081 * manual/lang.texi (Old Varargs): Remove section.
36082 (How Variadic): Update menu.
36083 (va_start): Do not mention varargs.h.
36085 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36086 Joseph Myers <joseph@codesourcery.com>
36088 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36090 * configure: Regenerated.
36092 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36094 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36095 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36098 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36101 * Makefile (files-for-dist): Remove NOTES.
36102 (NOTES): Remove rule.
36103 * README: Don't refer to NOTES.
36104 * manual/creature.texi: Don't include macros.texi.
36105 * manual/intro.texi (creature.texi): Remove comment referring to
36108 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36109 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36110 * configure: Regenerated.
36111 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36112 LIBC_TRY_CC_OPTION.
36113 (libc_cv_as_i686): Likewise.
36114 (libc_cv_cc_avx): Likewise.
36115 (libc_cv_cc_sse2avx): Likewise.
36116 (libc_cv_cc_fma4): Likewise.
36117 (libc_cv_cc_novzeroupper): Likewise.
36118 * sysdeps/i386/configure: Regenerated.
36121 * sysdeps/i386/fpu/s_cexp.S: Remove.
36122 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36123 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36124 * math/libm-test.inc (cexp_test): Add more tests.
36125 * sysdeps/i386/fpu/libm-test-ulps: Update.
36126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36128 2012-03-21 Allan McRae <allan@archlinux.org>
36130 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36132 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36135 * math/w_exp2.c: Do not include <float.h>.
36136 (o_threshold, u_threshold): Remove.
36137 (__exp2): Calculate result before checking finiteness and calling
36139 * math/w_exp2f.c: Likewise.
36140 * math/w_exp2l.c: Likewise.
36141 * math/libm-test.inc (exp2_test): Require overflow exception for
36145 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36146 range of signed 64-bit integers before using fistpll. Remove
36147 checks for whether integers fit in mantissa bits.
36148 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36149 the range of signed 32-bit integers before using fistpl. Remove
36150 checks for whether integers fit in mantissa bits.
36151 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36152 (__ieee754_powl): Test for y outside the range of signed 64-bit
36153 integers before using fistpll. Reduce 64-bit values to 63-bit
36155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36156 divide-by-zero is raised for zero to large negative powers.
36157 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36158 (__ieee754_powl): Test for y outside the range of signed 64-bit
36159 integers before using fistpll. Reduce 64-bit values to 63-bit
36161 * math/libm-test.inc (pow_test): Add more tests.
36163 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36165 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36166 <stdio-common/_itoa.h>.
36167 * debug/segfault.c: Likewise.
36168 * elf/dl-cache.c: Likewise.
36169 * elf/dl-minimal.c: Likewise.
36170 * elf/dl-misc.c: Likewise.
36171 * elf/dl-sysdep.c: Likewise.
36172 * elf/dl-version.c: Likewise.
36173 * elf/rtld.c: Likewise.
36174 * hurd/hurdsock.c: Likewise.
36175 * hurd/lookup-retry.c: Likewise.
36176 * malloc/malloc.c: Likewise.
36177 * malloc/mtrace.c: Likewise.
36178 * nscd/nscd_getgr_r.c: Likewise.
36179 * nscd/nscd_getpw_r.c: Likewise.
36180 * nscd/nscd_getserv_r.c: Likewise.
36181 * posix/getopt_init.c: Likewise.
36182 * posix/wordexp.c: Likewise.
36183 * stdio-common/_itoa.c: Likewise.
36184 * stdio-common/printf_fphex.c: Likewise.
36185 * stdio-common/vfprintf.c: Likewise.
36186 * string/_strerror.c: Likewise.
36187 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36188 * sysdeps/i386/i686/hp-timing.h: Likewise.
36189 * sysdeps/mach/_strerror.c: Likewise.
36190 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36191 * sysdeps/mach/hurd/sethostid.c: Likewise.
36192 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36193 * sysdeps/mach/xpg-strerror.c: Likewise.
36194 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36195 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36196 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36197 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36198 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36199 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36200 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36201 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36202 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36203 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36204 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36205 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36206 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36207 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36208 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36209 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36210 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36211 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36212 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36213 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36214 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36216 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36218 * stdio-common/_itoa.h: Moved to ...
36219 * sysdeps/generic/_itoa.h: Here.
36221 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36223 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36224 instead of "_itoa.h" and "_itowa.h".
36225 * stdio-common/vfprintf.: Likewise.
36227 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36229 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36231 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36232 (__signbit): Likwise.
36233 (llrintf): Likwise.
36236 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36238 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36241 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36243 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36244 OVERFLOW_EXCEPTION_OK.
36245 * math/libm-test.inc ("Philosophy"): Update comment about
36247 (OVERFLOW_EXCEPTION): Define.
36248 (OVERFLOW_EXCEPTION_OK): Likewise.
36249 (INVALID_EXCEPTION_OK): Renumber.
36250 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36251 (IGNORE_ZERO_INF_SIGN): Likewise.
36252 (test_exceptions): Handle FE_OVERFLOW.
36253 (exp10_test): Expect overflow exceptions.
36254 (exp2_test): Likewise.
36255 (expm1_test): Likewise.
36256 (nextafter_test): Likewise.
36257 (pow_test): Likewise.
36258 (scalbn_test): Likewise.
36259 (scalbln_test): Likewise.
36261 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36263 * sysdeps/x86_64/bits/atomic.h
36264 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36266 (atomic_exchange_acq): Likewise.
36267 (__arch_exchange_and_add_body): Likewise.
36268 (__arch_add_body): Likewise.
36269 (atomic_add_negative): Likewise.
36270 (atomic_add_zero): Likewise.
36272 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36274 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36275 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36277 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36279 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36280 Check __x86_64__ instead of __WORDSIZE.
36282 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36284 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36286 2012-03-19 David S. Miller <davem@davemloft.net>
36288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36290 * sysdeps/sparc/fpu/fenv_private.h: New file.
36291 * sysdeps/sparc/fpu/math_private.h: Use it.
36292 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36294 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36295 (libc_feholdexcept_setroundl): Remove.
36296 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36298 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36299 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36301 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36303 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36304 int64_t instead of long int.
36305 (INSERT_WORDS64): Likwise.
36307 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36309 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36310 _Unwind_GetCFA return to _Unwind_Ptr first.
36312 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36315 * math/s_clog.c: Include <float.h>.
36316 (__clog): Scale large or subnormal inputs.
36317 * math/s_clogf.c: Likewise.
36318 * math/s_clogl.c: Likewise.
36319 * math/s_clog10.c: Include <float.h>.
36320 (M_LOG10_2): Define.
36321 (__clog10): Scale large or subnormal inputs.
36322 * math/s_clog10f.c: Likewise.
36323 * math/s_clog10l.c: Likewise.
36324 * math/libm-test.inc (clog_test): Add more tests.
36325 (clog10_test): Likewise.
36326 * sysdeps/i386/fpu/libm-test-ulps: Update.
36327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36330 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36332 * math/libm-test.inc (atan2_test): Add another test.
36334 * Makerules (common-objdir-compile): Remove.
36335 * sysdeps/unix/Makefile (config-generated): Do not add
36336 $(unix-generated) to variable.
36337 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36338 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36340 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36342 [generic bits/local_lim.h] (before-compile): Do not append to
36344 [generic bits/local_lim.h] (common-generated): Likewise.
36345 [generic sys/param.h] (before-compile): Do not append to variable.
36346 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36347 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36348 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36349 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36351 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36352 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36353 [generic sys/param.h] ($(addprefix
36354 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36355 [generic sys/param.h] (common-generated): Do not append to
36357 [generic sys/param.h] (sysdep_headers): Likewise.
36358 [generic bits/errno.h] (before-compile): Do not append to
36360 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36362 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36363 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36364 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36365 [generic bits/errno.h] (common-generated): Do not append to
36367 [generic bits/ioctls.h] (before-compile): Do not append to
36369 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36371 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36372 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36373 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36375 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36376 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36377 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36378 [generic bits/ioctls.h] (common-generated): Do not append to
36380 [generic sys/syscall.h] (syscall.h): Remove variable.
36381 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36383 [generic sys/syscall.h] (before-compile): Do not append to
36385 [generic sys/syscall.h] (common-generated): Likewise.
36386 * sysdeps/unix/errnos-tmpl.c: Remove file.
36387 * sysdeps/unix/errnos.awk: Likewise.
36388 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36389 * sysdeps/unix/ioctls.awk: Likewise.
36390 * sysdeps/unix/mk-local_lim.c: Likewise.
36391 * sysdeps/unix/snarf-ioctls: Likewise.
36393 2012-03-19 Richard Henderson <rth@twiddle.net>
36395 * sysdeps/i386/fpu/fenv_private.h: New file.
36396 * sysdeps/i386/fpu/math_private.h: Use it.
36397 (math_opt_barrier, math_force_eval): Remove.
36398 (libc_feholdexcept_setround_53bit): Remove.
36399 (libc_feupdateenv_53bit): Remove.
36400 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36401 (math_opt_barrier, math_force_eval): Remove.
36402 (libc_feholdexcept): Remove.
36403 (libc_feholdexcept_setround): Remove.
36404 (libc_fetestexcept, libc_fesetenv): Remove.
36405 (libc_feupdateenv_test): Remove.
36406 (libc_feupdateenv, libc_feholdsetround): Remove.
36407 (libc_feresetround): Remove.
36409 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36410 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36412 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36413 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36414 (libc_feupdateenv_testl): New.
36415 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36416 (libc_feupdateenv_testf): New.
36417 (libc_feupdateenv): Use libc_feupdateenv_test.
36418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36419 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36421 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36422 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36423 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36424 (libc_feresetround_noex): New.
36425 (libc_feresetround_noexf): New.
36426 (libc_feresetround_noexl): New.
36427 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36428 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36429 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36430 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36435 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36436 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36437 SET_RESTORE_ROUND_NOEX.
36438 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36439 SET_RESTORE_ROUND_NOEXF.
36440 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36441 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36442 (libc_feholdsetroundf): New.
36443 (libc_feresetround, libc_feresetroundf): New.
36445 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36446 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36447 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36449 * sysdeps/generic/math_private.h: Include <fenv.h>.
36450 (default_libc_feholdexcept): New.
36451 (default_libc_feholdexcept_setround): New.
36452 (default_libc_fesetenv, default_libc_feupdateenv): New.
36453 (libc_feholdexcept): Only define if undefined.
36454 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36455 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36456 (libc_feholdexcept_setroundl): Likewise.
36457 (libc_feholdexcept_setround_53bit): Likewise.
36458 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36459 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36460 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36461 (libc_feupdateenv_53bit): Likewise.
36462 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36463 (libc_feholdexcept): Convert from macro to inline function.
36464 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36465 (libc_fesetenv, libc_feupdateenv): Likewise.
36467 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36468 not previously defined.
36469 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36470 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36471 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36472 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36473 * sysdeps/ieee754/flt-32/math_private.h: New file.
36474 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36475 math_private.h below SET_FLOAT_WORD.
36476 (__isnan, __isinf_ns, __finite): Remove.
36477 (__isnanf, __isinf_nsf, __finitef): Remove.
36479 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36483 2012-03-17 David S. Miller <davem@davemloft.net>
36486 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36489 2012-03-16 David S. Miller <davem@davemloft.net>
36491 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36495 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36497 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36498 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36499 sysdep_routines when subdir is sysvipc.
36500 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36501 __getshmlba helper.
36503 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36505 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36507 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36510 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36512 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36513 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36514 (__lround): Renamed to ...
36515 (__llround): This. Replace long int with long long int.
36516 Define lround functions as aliases of llround functions.
36517 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36519 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36521 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36522 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36523 adresses to uintptr_t. Replace "long int" and "unsigned long
36524 int" with "greg_t" on va_arg.
36526 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36528 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36529 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36531 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36532 Move e_machine check before EI_CLASS check. Handle x32
36533 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36534 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36535 SKIP_EM_IA_64 and include
36536 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36538 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36539 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36540 (add_system_dir): New macro.
36542 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36543 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36545 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36556 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36558 * math/w_j0f.c (j0f): Likewise.
36560 * math/w_j0l.c (__j0l): Likewise.
36562 * math/w_j1.c (j1): Likewise.
36564 * math/w_j1f.c (j1f): Likewise.
36566 * math/w_j1l.c (__j1l): Likewise.
36568 * math/w_jn.c (jn): Likewise.
36570 * math/w_jnf.c (jnf): Likewise.
36572 * math/w_jnl.c (__jnl): Likewise.
36574 * math/libm-test.inc (j0_test): Add more tests.
36575 (j1_test): Likewise.
36576 (jn_test): Likewise. Add trailing semicolon to existing test.
36577 (y0_test): Likewise.
36578 (y1_test): Likewise.
36579 * sysdeps/i386/fpu/libm-test-ulps: Update.
36580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36584 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36585 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36586 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36587 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36588 (__tanl): Set errno for infinite argument.
36589 * sysdeps/i386/fpu/mptan.c: Remove.
36590 * sysdeps/i386/fpu/s_tan.S: Likewise.
36591 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36592 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36593 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36594 * math/libm-test.inc (tan_test): Add more tests and enable more
36595 tests for double and long double.
36596 * sysdeps/i386/fpu/libm-test-ulps: Update.
36597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36599 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36601 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36602 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36604 2012-03-16 Roland McGrath <roland@hack.frob.com>
36606 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36607 * configure.in: Use it for both main tree and add-ons.
36608 * configure: Regenerated.
36610 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36612 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36614 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36616 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36620 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36621 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36622 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36623 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36624 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36626 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36627 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36628 != 0 for prec == 2.
36629 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36630 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36631 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36632 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36633 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36634 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36635 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36636 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36637 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36638 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36639 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36640 * math/libm-test.inc (cos_test): Add more tests and enable more
36641 tests for long double.
36642 (sin_test): Likewise.
36643 (sincos_test): Likewise.
36644 * sysdeps/i386/fpu/libm-test-ulps: Update.
36645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36647 2012-03-16 David S. Miller <davem@davemloft.net>
36649 * sysdeps/sparc/fpu/math_private.h: New file.
36651 2012-03-15 David S. Miller <davem@davemloft.net>
36653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36667 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36668 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36670 * sysdeps/sparc/sparc-ifunc.h: New file.
36671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36709 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36710 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36711 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36712 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36716 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36718 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36722 2012-03-15 Andreas Jaeger <aj@suse.de>
36725 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36726 ieee754/flt-32 implementation for sin, cos and sincos.
36727 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36728 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36729 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36730 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36731 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36732 ieee754/flt-32 implementation for tan.
36734 * math/libm-test.inc (cos_test): Enable some large input tests for
36736 (sin_test): Likewise.
36737 (sincos_test): Likewise.
36738 (tan_test): Add tests for large input.
36740 * sysdeps/i386/fpu/libm-test-ulps: Update.
36742 2012-03-15 Andreas Jaeger <aj@suse.de>
36745 * math/libm-test.inc (cos_test): Add more test cases.
36746 (sin_test): Likewise.
36747 (sincos_test): Likewise.
36749 2012-03-15 Andreas Jaeger <aj@suse.de>
36752 * math/libm-test.inc (cos_test): Add a test case for large input
36754 (sin_test): Likewise.
36755 (sincos_test): Likewise.
36757 2012-03-15 Andreas Jaeger <aj@suse.de>
36758 Joseph Myers <joseph@codesourcery.com>
36761 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36762 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36763 * sysdeps/i386/fpu/branred.c: Likewise.
36764 * sysdeps/i386/fpu/dosincos.c: Likewise.
36765 * sysdeps/i386/fpu/mpa.c: Likewise.
36766 * sysdeps/i386/fpu/s_cos.S: Likewise.
36767 * sysdeps/i386/fpu/s_sin.S: Likewise.
36768 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36769 * sysdeps/i386/fpu/sincos32.c: Likewise.
36771 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36773 (libc_feupdateenv_53bit): Define.
36774 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36776 (libc_feupdateenv_53bit): Define.
36778 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36779 53 bit (without extend i386 double precision).
36781 * math/libm-test.inc (sincos_test): Add tests for large input.
36785 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36787 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36791 2012-03-15 David S. Miller <davem@davemloft.net>
36793 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36794 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36795 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36796 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36820 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36821 fmin/fmax sysdep routines.
36822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36824 2012-03-14 David S. Miller <davem@davemloft.net>
36826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36830 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36831 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36832 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36833 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36841 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36842 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36843 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36846 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36847 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36848 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36849 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36850 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36851 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36852 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36853 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36898 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36903 * sysdeps/sparc/configure.in: New file.
36904 * sysdeps/sparc/configure: Generate.
36905 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36906 * configure: Regenerate.
36907 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36908 * config.make.in (have-as-vis3): New.
36909 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36910 available use -Av9d instead of -Av9a.
36911 * sysdeps/sparc/sparc64/Makefile: Likewise.
36912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36922 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36923 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36924 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36925 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36927 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36928 fzeros/fnegs to load 0x80000000 into a float register instead of
36930 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36932 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36936 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36937 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36938 ($(inst_includedir)/bits/syscall.h): Remove rule.
36939 ($(objpfx)bits/syscall.d): Include instead of
36940 $(objpfx)syscall-list.d.
36941 (generated): Change syscall-list.h and syscall-list.d to
36942 bits/syscall.h and bits/syscall.d.
36944 2012-03-14 Roland McGrath <roland@hack.frob.com>
36947 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36949 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36952 * math/s_csqrt.c: Include <float.h>.
36953 (__csqrt): Scale large or subnormal inputs.
36954 * math/s_csqrtf.c: Likewise.
36955 * math/s_csqrtl.c: Likewise.
36956 * math/libm-test.inc (csqrt_test): Add more tests.
36957 * sysdeps/i386/fpu/libm-test-ulps: Update.
36958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36961 * math/libm-test.inc (hypot_test): Add more tests.
36963 2012-03-13 David S. Miller <davem@davemloft.net>
36966 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36967 double-precision for the calculation instead of scaling.
36969 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36971 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36972 manipulate bits before adding and subtracting TWO52[sx].
36973 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36974 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36976 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36978 2012-03-13 David S. Miller <davem@davemloft.net>
36980 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36981 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36982 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36983 rtld-global-offsets.h
36984 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36986 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36989 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36991 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36992 'err' in the ifdef scope in which it is actually used.
36994 * nss/nss_db/db-init.c: Include string.h
36996 2012-03-12 David S. Miller <davem@davemloft.net>
36998 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36999 masking out of the most significant byte of random value used.
37000 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37001 Fix coding style in previous change.
37003 * sysdeps/unix/sysv/linux/kernel-features.h
37004 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37005 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37007 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37010 2012-03-11 David S. Miller <davem@davemloft.net>
37012 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37013 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37014 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37015 for 'resultvar' otherwise things get truncated on 64-bit.
37017 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37018 Fix masking out of the most significant byte of random value used.
37020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37022 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37026 2012-03-09 David S. Miller <davem@davemloft.net>
37028 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37029 variables with appropriate CPP guards.
37030 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37031 from the frame pointer, not the stack pointer. Correct layout
37032 comments. Fix test on resulting framesize and the management of
37033 the outregs buffer for pltexit. Preserve floating point return
37034 values across _dl_call_pltexit call.
37035 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37036 framesize and the management of the outregs buffer for pltexit.
37037 Preserve floating point return values across _dl_call_pltexit
37039 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37040 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37041 (la_sparc64_gnu_pltexit): New functions.
37042 (print_exit): Fix format string for return register value.
37044 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37046 * sunrpc/Makefile (others): Add rpcgen.
37047 ($(objpfx)rpcgen): Remove special build rule and dependency on
37049 * sunrpc/rpcgen.c: New file.
37051 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37054 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37055 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37056 * sysdeps/i386/crti.S: Likewise.
37057 * sysdeps/i386/crtn.S: Likewise.
37058 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37059 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37060 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37061 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37062 * sysdeps/sh/crti.S: Likewise.
37063 * sysdeps/sh/crtn.S: Likewise.
37064 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37067 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37069 * locale/programs/locfile-kw.gperf: Likewise.
37070 * locale/programs/charmap-kw.h: Regenerated.
37071 * locale/programs/locfile-kw.h: Likewise.
37074 * intl/plural.y: Replace FSF snail mail address with URL.
37075 * intl/plural.c: Regenerated.
37077 2012-03-09 Richard Henderson <rth@twiddle.net>
37079 * include/math_private.h: Remove file.
37080 * math/math_private.h: Move file ...
37081 * sysdeps/generic/math_private.h: ... here.
37083 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37084 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37085 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37087 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37088 and <math_private.h>.
37089 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37090 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37091 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37092 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37093 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37094 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37095 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37096 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37097 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37098 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37100 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37103 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37104 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37111 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37113 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37114 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37115 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37116 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37117 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37119 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37120 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37138 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37139 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37140 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37141 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37142 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37143 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37144 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37145 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37146 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37147 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37148 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37149 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37150 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37151 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37152 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37153 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37154 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37155 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37156 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37157 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37158 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37159 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37160 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37161 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37162 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37163 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37164 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37165 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37166 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37167 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37168 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37169 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37170 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37171 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37172 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37173 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37174 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37175 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37176 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37177 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37178 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37179 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37180 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37181 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37182 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37183 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37184 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37185 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37186 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37187 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37188 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37189 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37190 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37191 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37192 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37193 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37194 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37195 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37196 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37197 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37198 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37199 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37200 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37201 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37202 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37203 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37204 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37205 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37206 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37207 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37208 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37209 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37210 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37211 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37212 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37213 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37214 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37215 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37216 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37217 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37218 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37219 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37220 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37221 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37222 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37223 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37224 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37225 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37226 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37227 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37228 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37229 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37230 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37231 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37232 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37233 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37234 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37235 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37236 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37237 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37238 * sysdeps/ieee754/k_standard.c: Likewise.
37239 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37240 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37241 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37242 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37243 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37244 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37245 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37246 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37270 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37271 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37272 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37273 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37275 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37276 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37277 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37278 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37280 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37282 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37285 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37286 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37288 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37289 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37290 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37291 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37292 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37294 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37295 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37296 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37297 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37299 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37300 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37301 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37302 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37303 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37305 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37306 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37307 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37308 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37309 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37310 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37311 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37312 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37313 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37314 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37315 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37316 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37317 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37318 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37319 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37320 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37321 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37322 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37323 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37324 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37325 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37326 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37327 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37328 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37329 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37330 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37331 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37332 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37333 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37334 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37335 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37336 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37337 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37338 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37339 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37340 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37341 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37342 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37343 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37344 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37345 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37346 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37347 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37348 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37349 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37350 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37351 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37352 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37353 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37354 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37355 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37356 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37357 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37358 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37360 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37361 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37362 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37363 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37364 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37365 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37366 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37367 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37368 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37369 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37370 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37371 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37372 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37373 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37374 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37375 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37376 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37377 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37378 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37379 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37380 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37381 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37382 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37383 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37384 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37385 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37386 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37387 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37388 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37389 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37390 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37391 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37392 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37393 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37394 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37395 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37396 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37397 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37398 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37399 * sysdeps/ieee754/s_lib_version.c: Likewise.
37400 * sysdeps/ieee754/s_matherr.c: Likewise.
37401 * sysdeps/ieee754/s_signgam.c: Likewise.
37402 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37403 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37404 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37405 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37406 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37407 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37408 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37409 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37410 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37411 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37412 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37413 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37414 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37415 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37416 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37417 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37418 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37419 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37420 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37421 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37422 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37424 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37426 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37427 * sunrpc/rpc_main.c: Likewise.
37428 * sunrpc/rpc_svcout.c: Likewise.
37430 2012-03-09 David S. Miller <davem@davemloft.net>
37432 * include/math_private.h: New file.
37434 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37436 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37437 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37438 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37439 from <bits/socket_type.h>.
37440 (enum __socket_type): Don't define here.
37441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37443 bits/socket_type.h.
37446 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37447 checking __USE_GNU.
37449 * Makerules ($(inst_includedir)/%.h): New rule.
37450 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37451 (install-others): Remove variable setting.
37452 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37454 2012-03-08 Richard Henderson <rth@twiddle.net>
37456 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37457 from macro to inline function; merge with the
37458 !__LIBC_INTERNAL_MATH_INLINES version.
37459 (__ieee754_sqrtf): Likewise.
37461 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37462 to inline function.
37463 (__rintf, __floor, __floorf): Likewise.
37465 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37466 macro to inline function.
37467 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37469 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37470 not <math/math_private.h>.
37472 2012-03-08 David S. Miller <davem@davemloft.net>
37474 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37476 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37478 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37480 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37482 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37483 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37485 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37487 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37488 be defined individually, they must be defined as a block. Define
37489 S for printing a string instead of hidint the different by using a
37490 macro for adding the 'l'.
37491 * stdio-common/tst-fphex-wide.c: Adjust.
37493 2012-03-07 Marek Polacek <polacek@redhat.com>
37495 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37497 2012-03-08 Marek Polacek <polacek@redhat.com>
37500 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37501 * stdio-common/tst-fphex.c: Define a few macros to make the
37502 test reusable. Use them.
37503 * stdio-common/tst-fphex-wide.c: New file.
37505 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37508 * manual/macros.texi (gnusystems): New macro.
37509 (nongnusystems): Likewise.
37510 (gnulinuxhurdsystems): Likewise.
37511 (gnuhurdsystems): Likewise..
37512 (gnulinuxsystems): Likewise.
37513 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37514 variants of the GNU system, not "GNU system".
37515 * manual/conf.texi: Likewise.
37516 * manual/errno.texi: Likewise. Update example of errno macro
37518 * manual/filesys.texi: Likewise.
37519 (getumask): Document as specific to GNU/Hurd.
37520 * manual/install.texi: Likewise. Reword some references to
37522 * manual/intro.texi: Likewise.
37523 * manual/io.texi: Likewise.
37524 (File Name Portability): Detail which constraints are inapplicable
37525 to all GNU systems and which are only inapplicable to GNU/Hurd.
37526 * manual/job.texi: Likewise.
37527 * manual/llio.texi: Likewise.
37528 (O_NOCTTY): Document as present on GNU/Linux.
37529 * manual/maint.texi: Likewise.
37530 * manual/memory.texi: Likewise.
37531 * manual/pattern.texi: Likewise.
37532 * manual/pipe.texi: Likewise.
37533 * manual/process.texi: Likewise.
37534 * manual/resource.texi: Likewise.
37535 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37537 * manual/setjmp.texi: Likewise.
37538 * manual/signal.texi: Likewise.
37539 * manual/startup.texi: Likewise.
37540 * manual/stdio.texi: Likewise.
37541 * manual/terminal.texi: Likewise.
37542 (ONLCR): Document as POSIX.
37543 (OXTABS): Document availability on GNU/Linux as XTABS.
37544 (ONOEOT): Document availability separately from other bits.
37545 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37546 * manual/time.texi: Likewise.
37547 * manual/users.texi: Likewise.
37548 * INSTALL: Regenerated.
37549 * sysdeps/gnu/errlist.c: Regenerated.
37551 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37552 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37553 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37555 * configure: Regenerated.
37557 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37559 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37560 default includes instead of AC_HEADER_CHECK.
37561 * sysdeps/i386/configure: Regenerated.
37564 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37565 * math/s_cacoshf.c (__cacoshf): Likewise.
37566 * math/s_cacoshl.c (__cacoshl): Likewise.
37567 * math/s_casinh.c (__casinh): Set signs of result from argument.
37568 * math/s_casinhf.c (__casinhf): Likewise.
37569 * math/s_casinhl.c (__casinhl): Likewise.
37570 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37571 (casinh_test): Add more tests.
37572 * sysdeps/i386/fpu/libm-test-ulps: Update.
37573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37575 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37577 * po/zh_TW.po: Update from translation team.
37579 * login/Makefile (distribute): Remove variable.
37580 * catgets/Makefile: Likewise.
37581 * mach/Makefile: Likewise.
37582 * malloc/Makefile: Likewise.
37583 * misc/Makefile: Likewise.
37584 * iconv/Makefile: Likewise.
37585 * nscd/Makefile: Likewise.
37586 * hurd/Makefile: Likewise.
37587 * manual/Makefile: Likewise.
37588 * locale/Makefile: Likewise.
37589 * intl/Makefile: Likewise.
37590 * conform/Makefile: Likewise.
37591 * nss/Makefile: Likewise.
37592 * time/Makefile: Likewise.
37593 * soft-fp/Makefile: Likewise.
37594 * dirent/Makefile: Likewise.
37595 * gmon/Makefile: Likewise.
37596 * po/Makefile: Likewise.
37597 * rt/Makefile: Likewise.
37598 * socket/Makefile: Likewise.
37599 * math/Makefile: Likewise.
37600 * signal/Makefile: Likewise.
37601 * debug/Makefile: Likewise.
37602 * elf/Makefile: Likewise.
37603 * timezone/Makefile: Likewise.
37604 * stdlib/Makefile: Likewise.
37605 * iconvdata/Makefile: Likewise.
37606 * sunrpc/Makefile: Likewise.
37607 * io/Makefile: Likewise.
37608 * argp/Makefile: Likewise.
37609 * inet/Makefile: Likewise.
37610 * hesiod/Makefile: Likewise.
37611 * grp/Makefile: Likewise.
37612 * csu/Makefile: Likewise.
37613 * wctype/Makefile: Likewise.
37614 * crypt/Makefile: Likewise.
37615 * libio/Makefile: Likewise.
37616 * string/Makefile: Likewise.
37617 * nis/Makefile: Likewise.
37618 * resolv/Makefile: Likewise.
37619 * stdio-common/Makefile: Likewise.
37620 * wcsmbs/Makefile: Likewise.
37621 * dlfcn/Makefile: Likewise.
37622 * posix/Makefile: Likewise.
37625 * timezone/Makefile: Don't install timezone files, just the programs
37628 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37630 * nss/databases.def: Add missing gshadow entry.
37632 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37634 2012-03-06 Marek Polacek <polacek@redhat.com>
37637 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37638 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37639 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37640 * stdio-common/tst-long-dbl-fphex.c: New file.
37642 2012-03-06 David S. Miller <davem@davemloft.net>
37644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37645 (set_obp_int): New function.
37646 (get_obp_int): New function.
37647 (__get_clockfreq_via_dev_openprom): Likewise.
37648 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37649 Avoid unused variable warnings on 'val' and use builtin_expect.
37650 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37652 (INLINE_CLONE_SYSCALL): Likewise.
37654 2012-03-05 David S. Miller <davem@davemloft.net>
37656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37658 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37662 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37663 only for |x| >= 40.
37664 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37666 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37668 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37669 Replace gettimeofday with __vdso_gettimeofday.
37671 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37672 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37673 __vdso_clock_gettime and __vdso_getcpu.
37675 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37676 time with __vdso_time.
37678 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37680 * manual/lang.texi (size_t): Note types to which size_t may be
37681 equivalent with the GNU C Library, but do not describe when
37682 differences between them are significant.
37684 2012-03-05 Andreas Jaeger <aj@suse.de>
37686 * sysdeps/i386/fpu/libm-test-ulps: Update.
37688 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37691 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37692 (__ieee754_pow): Save and restore rounding mode and use
37693 round-to-nearest for main computations.
37694 * math/libm-test.inc (pow_test_tonearest): New function.
37695 (pow_test_towardzero): Likewise.
37696 (pow_test_downward): Likewise.
37697 (pow_test_upward): Likewise.
37698 (main): Call the new functions.
37699 * sysdeps/i386/fpu/libm-test-ulps: Update.
37700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37703 * math/libm-test.inc (cosh_test_tonearest): New function.
37704 (cosh_test_towardzero): Likewise.
37705 (cosh_test_downward): Likewise.
37706 (cosh_test_upward): Likewise.
37707 (sinh_test_tonearest): Likewise.
37708 (sinh_test_towardzero): Likewise.
37709 (sinh_test_downward): Likewise.
37710 (sinh_test_upward): Likewise.
37711 (main): Call the new functions.
37712 * sysdeps/i386/fpu/libm-test-ulps: Update.
37713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37715 2012-03-05 Tom de Vries <tom@codesourcery.com>
37717 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37718 default stack guard is set in last bytes.
37719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37721 2012-03-05 Kees Cook <keescook@chromium.org>
37723 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37726 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37727 possibly allocate from heap instead of stack.
37728 * stdio-common/bug-vfprintf-nargs.c: New file.
37729 * stdio-common/Makefile (tests): Add nargs overflow test.
37731 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37735 2012-03-03 Marek Polacek <polacek@redhat.com>
37737 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37738 * math/math_private.h: Likewise.
37739 * stdlib/tst-strtod.c: Likewise.
37740 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37741 * sysdeps/x86_64/bits/atomic.h: Likewise.
37743 2012-03-02 David S. Miller <davem@davemloft.net>
37745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37749 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37750 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37751 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37752 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37754 2012-03-02 Roland McGrath <roland@hack.frob.com>
37757 * manual/examples/README: New file, says the example source files
37758 can be used under GPL>=2.
37759 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37760 line containing just "*/".
37761 * manual/examples/add.c: Add copyright header (GPL>=2).
37762 * manual/examples/argp-ex1.c: Likewise.
37763 * manual/examples/argp-ex2.c: Likewise.
37764 * manual/examples/argp-ex3.c: Likewise.
37765 * manual/examples/argp-ex4.c: Likewise.
37766 * manual/examples/atexit.c: Likewise.
37767 * manual/examples/db.c: Likewise.
37768 * manual/examples/dir.c: Likewise.
37769 * manual/examples/dir2.c: Likewise.
37770 * manual/examples/execinfo.c: Likewise.
37771 * manual/examples/filecli.c: Likewise.
37772 * manual/examples/filesrv.c: Likewise.
37773 * manual/examples/fmtmsgexpl.c: Likewise.
37774 * manual/examples/genpass.c: Likewise.
37775 * manual/examples/inetcli.c: Likewise.
37776 * manual/examples/inetsrv.c: Likewise.
37777 * manual/examples/isockad.c: Likewise.
37778 * manual/examples/longopt.c: Likewise.
37779 * manual/examples/memopen.c: Likewise.
37780 * manual/examples/memstrm.c: Likewise.
37781 * manual/examples/mkfsock.c: Likewise.
37782 * manual/examples/mkisock.c: Likewise.
37783 * manual/examples/mygetpass.c: Likewise.
37784 * manual/examples/pipe.c: Likewise.
37785 * manual/examples/popen.c: Likewise.
37786 * manual/examples/rprintf.c: Likewise.
37787 * manual/examples/search.c: Likewise.
37788 * manual/examples/select.c: Likewise.
37789 * manual/examples/setjmp.c: Likewise.
37790 * manual/examples/sigh1.c: Likewise.
37791 * manual/examples/sigusr.c: Likewise.
37792 * manual/examples/stpcpy.c: Likewise.
37793 * manual/examples/strdupa.c: Likewise.
37794 * manual/examples/strftim.c: Likewise.
37795 * manual/examples/strncat.c: Likewise.
37796 * manual/examples/subopt.c: Likewise.
37797 * manual/examples/swapcontext.c: Likewise.
37798 * manual/examples/termios.c: Likewise.
37799 * manual/examples/testopt.c: Likewise.
37800 * manual/examples/testpass.c: Likewise.
37801 * manual/examples/timeval_subtract.c: Likewise.
37804 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37806 * manual/timeval_subtract.c.texi: ... here, new file.
37808 2012-03-02 David S. Miller <davem@davemloft.net>
37810 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37812 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37815 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37816 (__sin): Save and restore rounding mode and use round-to-nearest
37817 for all computations.
37818 (__cos): Save and restore rounding mode and use round-to-nearest
37819 for all computations.
37820 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37822 (tan): Save and restore rounding mode and use round-to-nearest for
37824 * math/libm-test.inc (cos_test_tonearest): New function.
37825 (cos_test_towardzero): Likewise.
37826 (cos_test_downward): Likewise.
37827 (cos_test_upward): Likewise.
37828 (sin_test_tonearest): Likewise.
37829 (sin_test_towardzero): Likewise.
37830 (sin_test_downward): Likewise.
37831 (sin_test_upward): Likewise.
37832 (tan_test_tonearest): Likewise.
37833 (tan_test_towardzero): Likewise.
37834 (tan_test_downward): Likewise.
37835 (tan_test_upward): Likewise.
37836 (main): Call the new functions.
37837 * sysdeps/i386/fpu/libm-test-ulps: Update.
37838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37841 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37842 small n, then large n, before computing and testing k+n.
37843 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37844 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37846 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37848 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37849 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37850 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37851 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37852 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37853 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37854 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37855 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37856 * math/libm-test.inc (scalbn_test): Add more tests.
37857 (scalbln_test): Likewise.
37859 * manual/filesys.texi (mode_t): Describe constraints on size and
37860 signedness, not exact equivalence to a particular type.
37862 (ino64_t): Likewise.
37864 (nlink_t): Likewise.
37865 (blkcnt_t): Likewise.
37866 (blkcnt64_t): Likewise.
37867 * manual/llio.texi (off_t): Likewise.
37870 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37871 (__ieee754_exp): Save and restore rounding mode and use
37872 round-to-nearest for all computations.
37873 * math/libm-test.inc (exp_test_tonearest): New function.
37874 (exp_test_towardzero): Likewise.
37875 (exp_test_downward): Likewise.
37876 (exp_test_upward): Likewise.
37877 (main): Call the new functions.
37878 * sysdeps/i386/fpu/libm-test-ulps: Update.
37879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37881 2012-03-01 Chris Demetriou <cgd@google.com>
37883 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37884 have predictable order.
37886 2012-03-01 David S. Miller <davem@davemloft.net>
37888 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37890 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37891 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37892 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37893 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37895 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37896 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37897 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37899 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37900 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37901 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37902 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37903 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37907 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37908 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37909 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37911 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37912 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37913 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37914 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37915 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37916 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37917 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37918 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37919 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37920 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37921 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37922 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37924 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37925 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37927 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37928 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37929 * sysdeps/sparc/elf/configure: Regenerated.
37931 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37933 * configure.in (AS, LD): Require binutils 2.20 or later.
37934 * configure: Regenerated.
37935 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37936 as required minimum version.
37937 * INSTALL: Regenerated.
37941 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37942 before squaring exponent.
37943 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37944 bottom long double and 27 bits of top long double before squaring
37946 * math/libm-test.inc (erfc_test): Add more tests.
37947 * sysdeps/i386/fpu/libm-test-ulps: Update.
37948 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37951 2012-03-01 Kai Tietz <ktietz@redhat.com>
37953 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37954 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37955 containing bit-fields.
37956 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37957 * soft-fp/single.h (_FP_UNION_S): Likewise.
37958 * soft-fp/double.h (_FP_UNION_D): Likewise.
37960 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37963 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37964 not include ../strcmp.S.
37965 [USE_AS_STRNCASECMP_L]: Likewise.
37966 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37967 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37968 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37969 (__strncasecmp_l_ia32): Define as alias to
37970 __strncasecmp_l_nonascii.
37973 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37974 * sysdeps/i386/fpu/libm-test-ulps: Update.
37975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37977 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37980 2012-02-29 Jeff Law <law@redhat.com>
37982 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37983 out of bounds read.
37985 2012-02-29 Marek Polacek <polacek@redhat.com>
37988 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37989 * elf/Makefile: Add rules to run tst-unused-dep.out.
37991 2012-02-28 David S. Miller <davem@davemloft.net>
37993 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37994 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37995 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37996 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37997 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37998 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38000 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38002 * math/libm-test.inc (llround_test): Move one test from
38003 lround_test. Use TEST_f_L in moved test.
38004 (lround_test): Move misplaced test to llround_test. Add testcase
38007 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38009 * sysdeps/x86_64/fpu/e_expf.S: New file.
38010 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38012 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38015 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38016 of remain_len that may cause incomplete multi-byte character and
38018 * posix/bug-regex33.c: New file.
38019 * posix/Makefile (tests): Add bug-regex33.
38021 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38023 * manual/macros.texi: New file.
38024 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38025 * manual/libc.texinfo: Include macros.texi.
38026 * manual/creatute.texi: Likewise.
38027 * manual/install.texi: Likewise.
38028 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38029 @glibcadj{} in references to the GNU C Library.
38030 * manual/charset.texi: Likewise.
38031 * manual/conf.texi: Likewise.
38032 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38033 when not using those macros.
38034 * manual/creature.texi: Likewise.
38035 * manual/crypt.texi: Likewise.
38036 * manual/errno.texi: Likewise.
38037 * manual/filesys.texi: Likewise.
38038 * manual/header.texi: Likewise.
38039 * manual/install.texi: Likewise.
38040 * manual/intro.texi: Likewise.
38041 * manual/io.texi: Likewise.
38042 * manual/job.texi: Likewise.
38043 * manual/lang.texi: Likewise.
38044 * manual/libc.texiinfo: Likewise.
38045 * manual/llio.texi: Likewise.
38046 * manual/locale.texi: Likewise.
38047 * manual/maint.texi: Likewise.
38048 * manual/math.texi: Likewise.
38049 * manual/memory.texi: Likewise.
38050 * manual/message.texi: Likewise.
38051 * manual/nss.texi: Likewise.
38052 * manual/pattern.texi: Likewise.
38053 * manual/process.texi: Likewise.
38054 * manual/resource.texi: Likewise.
38055 * manual/search.texi: Likewise.
38056 * manual/setjmp.texi: Likewise.
38057 * manual/signal.texi: Likewise.
38058 * manual/socket.texi: Likewise.
38059 * manual/startup.texi: Likewise.
38060 * manual/stdio.texi: Likewise.
38061 * manual/string.texi: Likewise.
38062 * manual/sysinfo.texi: Likewise.
38063 * manual/syslog.texi: Likewise.
38064 * manual/terminal.texi: Likewise.
38065 * manual/time.texi: Likewise.
38066 * manual/users.texi: Likewise.
38067 * INSTALL: Regenerated.
38068 * NOTES: Regenerated.
38069 * sysdeps/gnu/errlist.c: Regenerated.
38071 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38073 * include/dirent.h: Include <dirstream.h> before
38076 2012-02-28 David S. Miller <davem@davemloft.net>
38078 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38079 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38080 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38081 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38083 2012-02-27 David S. Miller <davem@davemloft.net>
38085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38087 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38088 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38091 frame pointer instead of stack pointer relative arg slot.
38092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38093 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38094 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38096 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38099 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38101 2012-02-27 David S. Miller <davem@davemloft.net>
38103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38107 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38108 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38109 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38110 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38112 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38114 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38115 later. Allow versions 5-9.
38116 * configure: Regenerated.
38117 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38118 required minimum version and 4.6 as recommended version. Do not
38119 mention bugs in GCC 2.7 and 2.8.
38120 * INSTALL: Regenerated.
38122 2012-02-27 David S. Miller <davem@davemloft.net>
38124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38128 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38129 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38130 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38131 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38133 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38134 manipulate bits before adding and subtracting TWO112[sx].
38135 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38137 2012-02-27 Roland McGrath <roland@hack.frob.com>
38140 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38141 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38142 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38143 being in POSIX, because they are in 1003.1-2008.
38145 * rt/tst-aio.c: Include <fcntl.h>.
38146 * rt/tst-aio7.c: Likewise.
38147 * rt/tst-aio64.c: Likewise.
38149 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38151 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38153 * manual/install.texi (--with-headers): Describe headers as
38154 interface headers, not private headers.
38155 (Specific advice for GNU/Linux systems): Describe use of headers
38156 from "make headers_install", not private headers from older
38158 * INSTALL: Regenerated.
38159 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38161 * sysdeps/unix/sysv/linux/configure: Regenerated.
38163 * manual/llio.texi (fclean): Remove documentation.
38165 * manual/Makefile (libc-texi-generated): New variable. Include
38167 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38168 $(libc-texi-generated), not duplicated list of files.
38169 (version.texi, stamp-version): New rules.
38170 (realclean): Remove $(libc-texi-generated), not individual files
38171 from that list. Do not remove dir-add.texinfo.
38172 * manual/libc.texinfo: Comment out uses of edition numbers and
38173 references to printed manual. Remove last-updated dates.
38174 (EDITION): Comment out.
38176 (VERSION, UPDATED): Remove.
38177 (version.texi): Include.
38179 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38181 * sysdeps/posix/spawni.c: Include <signal.h>.
38182 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38183 * sysdeps/pthread/aio_fsync.c: Likewise.
38185 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38187 * conform/Makefile (tests): Run only when not cross-compiling and
38188 when fast-check is not defined.
38190 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38191 * conform/data/limits.h-data: Fixes for POSIX2008.
38192 * conform/run-conformtest.sh: Run all tests.
38193 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38195 * include/bits/dlfcn.h: Likewise.
38196 * include/langinfo.h: Likewise.
38197 * include/monetary.h: Likewise.
38198 * include/sys/poll.h: Likewise.
38200 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38202 * posix/spawn.h: Define __need_sigset_t.
38203 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38204 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38205 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38206 to get sigevent_t only.
38207 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38208 only for __USE_GNU.
38209 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38210 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38211 process_vm_writev only for __USE_GNU.
38212 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38214 * conform/Makefile: For now ignore errors from run-conformtest.
38215 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38216 POSIX to avoid namespace pollution. Don't prepend headers.
38217 * conform/data/aio.h-data: Fixes for POSIX testing.
38218 * conform/data/fcntl.h-data: Likewise.
38219 * conform/data/glob.h-data: Likewise.
38220 * conform/data/grp.h-data: Likewise.
38221 * conform/data/pthread.h-data: Likewise.
38222 * conform/data/pwd.h-data: Likewise.
38223 * conform/data/signal.h-data: Likewise.
38224 * conform/data/spawn.h-data: Likewise.
38225 * conform/data/stdio.h-data: Likewise.
38226 * conform/data/stdlib.h-data: Likewise.
38227 * conform/data/stropts.h-data: Likewise.
38228 * conform/data/sys/mman.h-data: Likewise.
38229 * conform/data/sys/stat.h-data: Likewise.
38230 * conform/data/sys/types.h-data: Likewise.
38231 * conform/data/sys/wait.h-data: Likewise.
38232 * conform/data/time.h-data: Likewise.
38233 * conform/data/unistd.h-data: Likewise.
38234 * conform/data/utime.h-data: Likewise.
38236 * io/sys/stat.h: fchmod was always in POSIX.
38237 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38238 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38239 * rt/aio.h: Define __need_timespec before including <time.h>.
38240 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38241 struct. Add forward declaration of pthread_attr_t and use it in
38243 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38244 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38245 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38246 always remove CLK_TCK definition.
38248 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38250 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38252 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38254 * conform/run-conformtest.sh: New file.
38255 * conform/Makefile: Run run-conformtest for tests.
38256 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38259 * conform/data/uchar.h-data: New file.
38260 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38261 * conform/data/arpa/inet.h-data: Likewise.
38262 * conform/data/assert.h-data: Likewise.
38263 * conform/data/complex.h-data: Likewise.
38264 * conform/data/cpio.h-data: Likewise.
38265 * conform/data/ctype.h-data: Likewise.
38266 * conform/data/dirent.h-data: Likewise.
38267 * conform/data/dlfcn.h-data: Likewise.
38268 * conform/data/errno.h-data: Likewise.
38269 * conform/data/fcntl.h-data: Likewise.
38270 * conform/data/float.h-data: Likewise.
38271 * conform/data/fmtmsg.h-data: Likewise.
38272 * conform/data/fnmatch.h-data: Likewise.
38273 * conform/data/ftw.h-data: Likewise.
38274 * conform/data/glob.h-data: Likewise.
38275 * conform/data/grp.h-data: Likewise.
38276 * conform/data/iconv.h-data: Likewise.
38277 * conform/data/inttypes.h-data: Likewise.
38278 * conform/data/langinfo.h-data: Likewise.
38279 * conform/data/libgen.h-data: Likewise.
38280 * conform/data/limits.h-data: Likewise.
38281 * conform/data/locale.h-data: Likewise.
38282 * conform/data/math.h-data: Likewise.
38283 * conform/data/monetary.h-data: Likewise.
38284 * conform/data/mqueue.h-data: Likewise.
38285 * conform/data/ndbm.h-data: Likewise.
38286 * conform/data/net/if.h-data: Likewise.
38287 * conform/data/netdb.h-data: Likewise.
38288 * conform/data/netinet/in.h-data: Likewise.
38289 * conform/data/nl_types.h-data: Likewise.
38290 * conform/data/poll.h-data: Likewise.
38291 * conform/data/pthread.h-data: Likewise.
38292 * conform/data/pwd.h-data: Likewise.
38293 * conform/data/regex.h-data: Likewise.
38294 * conform/data/sched.h-data: Likewise.
38295 * conform/data/search.h-data: Likewise.
38296 * conform/data/semaphore.h-data: Likewise.
38297 * conform/data/setjmp.h-data: Likewise.
38298 * conform/data/signal.h-data: Likewise.
38299 * conform/data/spawn.h-data: Likewise.
38300 * conform/data/stdarg.h-data: Likewise.
38301 * conform/data/stdio.h-data: Likewise.
38302 * conform/data/stdlib.h-data: Likewise.
38303 * conform/data/string.h-data: Likewise.
38304 * conform/data/strings.h-data: Likewise.
38305 * conform/data/stropts.h-data: Likewise.
38306 * conform/data/sys/ipc.h-data: Likewise.
38307 * conform/data/sys/mman.h-data: Likewise.
38308 * conform/data/sys/msg.h-data: Likewise.
38309 * conform/data/sys/resource.h-data: Likewise.
38310 * conform/data/sys/select.h-data: Likewise.
38311 * conform/data/sys/sem.h-data: Likewise.
38312 * conform/data/sys/shm.h-data: Likewise.
38313 * conform/data/sys/socket.h-data: Likewise.
38314 * conform/data/sys/stat.h-data: Likewise.
38315 * conform/data/sys/statvfs.h-data: Likewise.
38316 * conform/data/sys/time.h-data: Likewise.
38317 * conform/data/sys/timeb.h-data: Likewise.
38318 * conform/data/sys/times.h-data: Likewise.
38319 * conform/data/sys/types.h-data: Likewise.
38320 * conform/data/sys/uio.h-data: Likewise.
38321 * conform/data/sys/un.h-data: Likewise.
38322 * conform/data/sys/utsname.h-data: Likewise.
38323 * conform/data/sys/wait.h-data: Likewise.
38324 * conform/data/syslog.h-data: Likewise.
38325 * conform/data/tar.h-data: Likewise.
38326 * conform/data/termios.h-data: Likewise.
38327 * conform/data/utime.h-data: Likewise.
38328 * conform/data/utmpx.h-data: Likewise.
38329 * conform/data/varargs.h-data: Likewise.
38330 * conform/data/wchar.h-data: Likewise.
38331 * conform/data/wctype.h-data: Likewise.
38332 * conform/data/wordexp.h-data: Likewise.
38334 * include/stropts.h: New file.
38335 * include/uchar.h: New file.
38336 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38337 * include/assert.h: Likewise.
38338 * include/ctype.h: Likewise.
38339 * include/dirent.h: Likewise.
38340 * include/dlfcn.h: Likewise.
38341 * include/fcntl.h: Likewise.
38342 * include/fnmatch.h: Likewise.
38343 * include/glob.h: Likewise.
38344 * include/grp.h: Likewise.
38345 * include/libio.h: Likewise.
38346 * include/locale.h: Likewise.
38347 * include/math.h: Likewise.
38348 * include/net/if.h: Likewise.
38349 * include/netdb.h: Likewise.
38350 * include/netinet/in.h: Likewise.
38351 * include/pthread.h: Likewise.
38352 * include/pwd.h: Likewise.
38353 * include/regex.h: Likewise.
38354 * include/sched.h: Likewise.
38355 * include/search.h: Likewise.
38356 * include/setjmp.h: Likewise.
38357 * include/signal.h: Likewise.
38358 * include/stdio.h: Likewise.
38359 * include/stdlib.h: Likewise.
38360 * include/string.h: Likewise.
38361 * include/sys/cdefs.h: Likewise.
38362 * include/sys/mman.h: Likewise.
38363 * include/sys/msg.h: Likewise.
38364 * include/sys/resource.h: Likewise.
38365 * include/sys/select.h: Likewise.
38366 * include/sys/socket.h: Likewise.
38367 * include/sys/stat.h: Likewise.
38368 * include/sys/statvfs.h: Likewise.
38369 * include/sys/time.h: Likewise.
38370 * include/sys/times.h: Likewise.
38371 * include/sys/uio.h: Likewise.
38372 * include/sys/utsname.h: Likewise.
38373 * include/sys/wait.h: Likewise.
38374 * include/termios.h: Likewise.
38375 * include/time.h: Likewise.
38376 * include/ulimit.h: Likewise.
38377 * include/unistd.h: Likewise.
38378 * include/utime.h: Likewise.
38379 * include/wchar.h: Likewise.
38380 * include/wctype.h: Likewise.
38381 * include/wordexp.h: Likewise.
38383 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38385 * time/time.h: TIME_UTC must be a macro.
38386 Make timespec_get available for ISO C11 only as well.
38388 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38390 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38391 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38393 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38395 * configure.in: Use -o not -a in test for unsupported multi-arch.
38397 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38399 * manual/texinfo.tex: Update to version 2012-01-19.16.
38401 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38403 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38405 2012-02-24 Roland McGrath <roland@hack.frob.com>
38408 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38409 * manual/fdl-1.3.texi: New file.
38410 * manual/fdl-1.1.texi: File removed.
38413 * manual/libc.texinfo (FDL_VERSION): New @set.
38414 Use it for mention of FDL in cover text.
38415 (Documentation License): Use it in @include file name.
38417 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38418 Roland McGrath <roland@hack.frob.com>
38421 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38422 (not LONG_LONG_MAX and LONG_LONG_MIN.
38423 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38424 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38426 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38428 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38432 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38433 manipulate bits before adding and subtracting TWO23[sx].
38434 * math/libm-test.inc (nearbyint_test): Add more tests.
38436 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38439 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38440 bits before adding and subtracting TWO23[sx].
38441 * math/libm-test.inc (rint_test): Add more tests.
38442 (rint_test_tonearest): Likewise.
38443 (rint_test_towardzero): Likewise.
38444 (rint_test_downward): Likewise.
38445 (rint_test_upward: Likewise.
38447 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38450 * include/stdc-predef.h: New file. Extracted from features.h.
38451 * include/features.h: Include stdc-predef.h.
38452 * Makefile (headers): Add stdc-predef.h.
38453 * CONFORMANCE (Compiler limitations): Update.
38455 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38457 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38459 2012-02-21 David S. Miller <davem@davemloft.net>
38461 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38462 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38464 2012-02-20 David S. Miller <davem@davemloft.net>
38466 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38467 using a normal save/restore sequence, rather than allocating a
38468 dummy stack frame just to store a frame pointer and restore.
38469 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38471 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38473 * manual/install.texi: Fix stray word in line-wrapped comment.
38475 2012-02-20 David S. Miller <davem@davemloft.net>
38477 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38478 both binutils and gcc support GOTDATA.
38480 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38481 "rd %pc" in the PIC register setup sequences.
38483 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38484 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38485 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38486 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38487 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38489 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38490 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38491 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38492 (SYSCALL_ERROR_HANDLER): Likewise.
38493 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38494 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38495 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38496 (SYSCALL_ERROR_HANDLER): Likewise.
38498 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38499 (HAVE_GCC_GOTDATA): New.
38500 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38501 relocation support in both binutils and gcc.
38502 * sysdeps/sparc/elf/configure: Regenerate.
38504 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38505 * sysdeps/sparc/sparc32/elf/configure: Delete.
38506 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38507 * sysdeps/sparc/sparc64/elf/configure: Delete.
38508 * sysdeps/sparc/elf/configure.in: New file.
38509 * sysdeps/sparc/elf/configure: Generate.
38511 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38512 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38513 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38514 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38515 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38517 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38519 * manual/install.texi: Do not mention specific glibc version
38521 * manual/libc.texinfo (VERSION, UPDATED): Update.
38522 (@copying): Use @copyright{} and range of years.
38524 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38527 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38528 [crti.S not in sysdirs] (generated): Do not append.
38529 [crti.S not in sysdirs] (omit-deps): Likewise.
38530 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38531 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38532 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38533 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38534 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38536 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38537 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38538 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38539 * csu/defs.awk: Remove file.
38540 * sysdeps/generic/initfini.c: Likewise.
38541 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38543 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38546 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38548 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38549 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38550 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38551 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38552 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38553 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38555 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38556 (__EPOLL_PACKED): Define to empty if not defined by
38558 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38562 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38564 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38565 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38566 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38567 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38569 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38573 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38575 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38577 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38578 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38579 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38582 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38584 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38585 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38587 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38589 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38590 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38592 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38594 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38597 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38599 * math/w_acos.c: Use non-signaling floating-point comparisons.
38600 * math/w_acosf.c: Likewise.
38601 * math/w_acosh.c: Likewise.
38602 * math/w_acoshf.c: Likewise.
38603 * math/w_acoshl.c: Likewise.
38604 * math/w_acosl.c: Likewise.
38605 * math/w_asin.c: Likewise.
38606 * math/w_asinf.c: Likewise.
38607 * math/w_asinl.c: Likewise.
38608 * math/w_atanh.c: Likewise.
38609 * math/w_atanhf.c: Likewise.
38610 * math/w_atanhl.c: Likewise.
38611 * math/w_exp2.c: Likewise.
38612 * math/w_exp2f.c: Likewise.
38613 * math/w_exp2l.c: Likewise.
38614 * math/w_j0.c: Likewise.
38615 * math/w_j0f.c: Likewise.
38616 * math/w_j0l.c: Likewise.
38617 * math/w_j1.c: Likewise.
38618 * math/w_j1f.c: Likewise.
38619 * math/w_j1l.c: Likewise.
38620 * math/w_jn.c: Likewise.
38621 * math/w_jnf.c: Likewise.
38622 * math/w_log.c: Likewise.
38623 * math/w_log10.c: Likewise.
38624 * math/w_log10f.c: Likewise.
38625 * math/w_log10l.c: Likewise.
38626 * math/w_log2.c: Likewise.
38627 * math/w_log2f.c: Likewise.
38628 * math/w_log2l.c: Likewise.
38629 * math/w_logf.c: Likewise.
38630 * math/w_logl.c: Likewise.
38631 * math/w_sqrt.c: Likewise.
38632 * math/w_sqrtf.c: Likewise.
38633 * math/w_sqrtl.c: Likewise.
38634 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38635 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38636 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38637 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38638 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38640 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38643 * manual/string.texi (strnlen): Use correct parameter name in
38644 equivalent expression.
38646 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38649 * manual/users.texi (seteuid): Consistently use neweuid for
38652 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38655 * manual/nss.texi (Services in the NSS configuration): Correct
38656 list of services in example configuration file.
38658 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38661 * manual/arith.texi: Remove statements about negative zero
38662 behaving identically to zero.
38664 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38667 * manual/install.texi: Do not document upgrading from libc5.
38669 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38672 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38674 2012-02-18 David S. Miller <davem@davemloft.net>
38676 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38677 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38678 %o7 across the call.
38679 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38682 SETUP_PIC_REG_LEAF.
38683 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38684 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38685 * sysdeps/sparc/crtn.S: Likewise.
38687 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38689 * aout/Makefile: Remove.
38691 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38694 * manual/examples/argp-ex1.c (main): Format definition in GNU
38696 * manual/examples/argp-ex2.c (main): Likewise.
38697 * manual/examples/argp-ex3.c (main): Likewise.
38698 * manual/examples/argp-ex4.c (main): Likewise.
38699 * manual/examples/longopt.c (main): Use new-style prototype
38701 * manual/examples/strncat.c (main): Specify return type and use
38702 (void) for arguments.
38703 * manual/examples/subopt.c (main): Use char **argv argument.
38705 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38708 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38711 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38714 * manual/string.texi (strchr): Change when strchrnul is
38717 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38720 * manual/locale.texi (setlocale): Document LOCPATH.
38722 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38725 * manual/process.texi (execle): Move @dots{} before last argument.
38727 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38730 * manual/charset.texi (Generic Charset Conversion): Fix typo
38731 (LC_TYPE -> LC_CTYPE).
38733 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38736 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38737 (scalbnf): Likewise.
38738 (scalbnl): Likewise.
38739 (scalbln): Likewise.
38740 (scalblnf): Likewise.
38741 (scalblnl): Likewise.
38742 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38743 (vwarnx): Likewise.
38746 * manual/filesys.texi (telldir): Use braces around return type.
38747 * manual/llio.texi (mmap): Add space after comma.
38748 (mmap64): Likewise.
38749 * manual/math.texi (jn): Use @var{} on parameter names.
38755 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38757 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38759 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38760 (sched_get_priority_max): Likewise.
38761 * manual/signal.texi (sigvec): Add space after comma.
38762 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38764 (if_indextoname): Likewise.
38765 (if_freenameindex): Likewise.
38766 (sendto): Use ',' instead of '.' in prototype.
38767 * manual/startup.texi (syscall): Use @dots{} instead of literal
38769 * manual/stdio.texi (__fpending): Separate initial words of
38770 paragraph from @deftypefun line.
38771 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38773 (vsyslog): Use @var{} on parameter names.
38774 * manual/terminal.texi (stty): Use @var{} on parameter names.
38775 * manual/users.texi (getutmp): Use @var{} on parameter names.
38776 (getutmpx): Likewise.
38778 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38781 * manual/stdio.texi (fopen): Fix typos in description of
38784 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38787 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38788 get clock_id definition.
38790 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38793 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38794 (madvise): Cast every argument to void on its own.
38796 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38799 * manual/startup.texi (Exit Status): Fix typo.
38801 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38804 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38805 * manual/examples/argp-ex2.c: Likewise.
38806 * manual/examples/argp-ex3.c: Likewise.
38808 2012-02-16 Richard Henderson <rth@redhat.com>
38810 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38811 * sysdeps/s390/s390-32/initfini.c: Remove.
38812 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38813 * sysdeps/s390/s390-64/initfini.c: Remove.
38815 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38817 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38818 compiler output for sysdeps/generic/initfini.c.
38819 * sysdeps/sh/elf/initfini.c: Remove file.
38821 2012-02-16 David S. Miller <davem@davemloft.net>
38824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38826 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38827 * sysdeps/sparc/crti.S: New file.
38828 * sysdeps/sparc/crtn.S: New file.
38829 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38830 * sysdeps/sparc/sparc64/Makefile: Likewise.
38832 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38835 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38837 2012-02-15 Roland McGrath <roland@hack.frob.com>
38840 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38842 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38843 (write, read, close): Likewise.
38844 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38846 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38848 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38849 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38850 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38851 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38853 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38857 2012-02-14 Marek Polacek <polacek@redhat.com>
38859 * sysdeps/x86_64/crti.S: New file.
38860 * sysdeps/x86_64/crtn.S: New file.
38861 * sysdeps/x86_64/elf/initfini.c: Remove file.
38863 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38865 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38866 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38867 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38868 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38870 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38874 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38876 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38877 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38878 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38879 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38881 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38885 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38887 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38888 __feraiseexcept instead of feraiseexcept.
38890 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38891 nanosleep invocations.
38892 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38893 strings, and add error checking for a nanosleep invocations.
38895 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38897 Replace FSF snail mail address with URLs, as per GNU coding standards.
38898 Most of the snail mail addresses were wrong anyway, and omitting
38899 them makes the source code easier to maintain. Almost all of the
38900 changes are to license notices and to locale LC_IDENTIFICATION
38901 addresses, except for this one:
38902 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38903 not its snail mail address.
38905 2012-02-09 Richard Henderson <rth@twiddle.net>
38907 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38908 of kernel-features.h.
38910 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38912 2012-02-08 Marek Polacek <polacek@redhat.com>
38914 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38915 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38916 * sysdeps/gnu/_G_config.h: Likewise.
38917 * sysdeps/generic/_G_config.h: Likewise.
38919 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38921 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38925 * sysdeps/powerpc/powerpc32/crti.S: New file.
38926 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38927 * sysdeps/powerpc/powerpc64/crti.S: New file.
38928 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38930 * Makeconfig (have-initfini): Don't set.
38931 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38932 * configure.in (nopic_initfini): Don't substitute.
38933 * config.h.in (HAVE_INITFINI): Don't #undef.
38934 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38935 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38937 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38939 Support crti.S and crtn.S provided directly by architectures.
38940 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38941 [crti.S in sysdirs] (omit-deps): Likewise.
38942 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38943 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38944 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38945 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38946 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38947 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38948 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38949 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38950 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38951 compiler output for sysdeps/generic/initfini.c.
38952 * sysdeps/i386/elf/Makefile: Remove file.
38953 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38955 2012-02-07 Marek Polacek <polacek@redhat.com>
38957 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38958 * sysdeps/gnu/_G_config.h: Likewise.
38959 * sysdeps/mach/hurd/_G_config.h: Likewise.
38961 2012-02-07 Marek Polacek <polacek@redhat.com>
38963 * math/Makefile (tests): Add tst-CMPLX2.
38964 * math/tst-CMPLX2.c: New file.
38966 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38968 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38970 * math/libm-test.inc (jn_test): Add missing L suffix.
38972 2012-02-06 Marek Polacek <polacek@redhat.com>
38974 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38975 * sysdeps/i386/fpu/e_powf.S: Likewise.
38976 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38977 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38978 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38979 * sysdeps/i386/fpu/e_pow.S: Likewise.
38980 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38981 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38982 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38983 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38984 * sysdeps/i386/fpu/e_log2.S: Likewise.
38985 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38986 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38987 * sysdeps/i386/fpu/e_powl.S: Likewise.
38988 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38989 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38990 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38991 * sysdeps/i386/fpu/e_logl.S: Likewise.
38992 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38993 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38994 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38995 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38996 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38997 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38998 * sysdeps/i386/fpu/e_log.S: Likewise.
38999 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39000 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39001 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39002 * sysdeps/i386/fpu/e_logf.S: Likewise.
39003 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39004 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39005 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39006 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39007 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39008 * sysdeps/i386/fpu/e_log10.S: Likewise.
39009 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39010 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39011 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39012 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39013 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39014 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39015 * sysdeps/i386/asm-syntax.h: Likewise.
39016 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39017 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39018 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39019 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39020 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39021 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39022 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39023 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39024 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39025 * sysdeps/powerpc/sysdep.h: Likewise.
39026 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39027 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39029 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39032 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39034 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39036 * sysdeps/i386/sysdep.h: Include <features.h>.
39037 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39040 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39042 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39044 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39047 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39049 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39050 (SETUP_PIC_REG): Use GET_PC_THUNK.
39051 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39054 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39056 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39057 for non-PIC compilation.
39058 (SETUP_PIC_REG): Add .p2align directive.
39059 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39060 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39061 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39062 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39063 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39064 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39065 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39066 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39067 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39068 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39069 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39070 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39071 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39072 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39073 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39074 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39075 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39076 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39077 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39078 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39079 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39080 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39081 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39082 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39083 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39085 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39086 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39087 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39088 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39089 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39090 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39091 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39092 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39093 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39094 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39095 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39096 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39097 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39098 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39099 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39101 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39103 * math/tst-CMPLX.c: Include <stdio.h>.
39105 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39107 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39109 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39110 * sysdeps/sparc/bits/mathdef.h: Likewise.
39112 2012-01-31 Marek Polacek <polacek@redhat.com>
39114 * libio/libio.h: Don't define _PARAMS.
39115 * locale/programs/config.h: Don't define PARAMS.
39116 * stdlib/strtol_l.c: Likewise.
39117 (__strtol_l): Remove PARAMS from the prototype.
39119 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39121 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39122 names. Just use the correct names. Remove unnecessary wrapper
39124 * malloc/arena.c: Likewise.
39125 * malloc/hooks.c: Likewise.
39127 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39128 ARENA_TEST says not to. Simplify test for creation of a new arena.
39129 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39131 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39133 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39135 (update_get_addr): New function.
39136 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39137 GET_ADDR_MODULE parameter.
39139 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39141 * crypt/cert.c: Remove __STDC__ conditionals.
39142 * crypt/crypt-entry.c: Likewise.
39143 * crypt/crypt_util.c: Likewise.
39144 * libio/filedoalloc.c: Likewise.
39145 * libio/fileops.c: Likewise.
39146 * libio/genops.c: Likewise.
39147 * libio/iofclose.c: Likewise.
39148 * libio/iofdopen.c: Likewise.
39149 * libio/iofopen.c: Likewise.
39150 * libio/iofopen64.c: Likewise.
39151 * libio/iogetdelim.c: Likewise.
39152 * libio/iopopen.c: Likewise.
39153 * libio/obprintf.c: Likewise.
39154 * libio/oldfileops.c: Likewise.
39155 * libio/oldiofclose.c: Likewise.
39156 * libio/oldiofdopen.c: Likewise.
39157 * libio/oldiofopen.c: Likewise.
39158 * libio/oldiopopen.c: Likewise.
39159 * libio/wfiledoalloc.c: Likewise.
39160 * libio/wgenops.c: Likewise.
39161 * locale/programs/xmalloc.c: Likewise.
39162 * misc/syslog.c: Likewise.
39163 * stdio-common/xbug.c: Likewise.
39164 * string/memchr.c: Likewise.
39165 * string/memcmp.c: Likewise.
39166 * string/memrchr.c: Likewise.
39167 * string/rawmemchr.c: Likewise.
39168 * sysdeps/posix/getcwd.c: Likewise.
39169 * time/strftime_l.c: Likewise.
39171 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39173 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39174 * config.make.in (config-cflags-sse2avx): Define.
39175 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39178 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39180 * scripts/config.guess: Update from upstream config git repository.
39181 * scripts/config.sub: Likewise.
39183 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39185 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39187 (R_TILEPRO_*, R_TILEGX_*): New macros.
39189 * scripts/firstversions.awk: Fix bug in version range handling.
39191 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39193 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39195 * include/sys/epoll.h: New file.
39196 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39199 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39201 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39202 Avoid unnecessary __WORDSIZE == 64 test.
39203 (fmaxf): Use VEX format if possible.
39208 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39209 * math/math_private.h: Remove libc_fegetround* and
39211 * sysdeps/i386/configure.in: Check for -msse2avx.
39212 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39213 also if SSE2AVX is defined.
39214 Remove libc_fegetround* and libc_fesetround*.
39215 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39216 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39217 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39219 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39220 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39221 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39222 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39223 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39225 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39227 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39229 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39231 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39233 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39236 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39238 * Makeconfig (libm): Define.
39239 * elf/Makefile: Add rules to build and run tst-relsort1.
39240 * elf/tst-relsort1.c: New file.
39241 * elf/tst-relsort1mod1.c: New file.
39242 * elf/tst-relsort1mod2.c: New file.
39244 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39246 * math/s_ldexp.c: Remove __STDC__ conditionals.
39247 * math/s_ldexpf.c: Likewise.
39248 * math/s_ldexpl.c: Likewise.
39249 * math/s_nextafter.c: Likewise.
39250 * math/s_nexttowardf.c: Likewise.
39251 * math/s_significand.c: Likewise.
39252 * math/s_significandf.c: Likewise.
39253 * math/s_significandl.c: Likewise.
39254 * math/w_jnl.c: Likewise.
39255 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39256 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39257 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39258 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39259 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39260 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39261 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39262 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39263 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39264 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39265 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39266 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39267 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39268 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39269 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39270 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39271 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39272 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39273 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39274 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39275 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39276 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39277 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39278 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39279 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39280 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39281 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39282 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39283 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39284 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39285 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39286 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39287 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39288 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39289 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39290 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39291 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39292 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39293 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39294 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39295 * sysdeps/ieee754/k_standard.c: Likewise.
39296 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39297 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39298 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39299 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39300 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39301 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39302 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39303 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39304 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39305 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39306 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39307 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39308 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39309 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39310 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39311 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39312 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39313 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39314 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39315 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39316 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39317 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39318 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39319 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39320 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39321 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39322 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39323 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39324 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39325 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39326 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39327 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39328 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39329 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39331 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39332 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39333 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39334 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39335 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39336 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39337 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39338 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39339 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39340 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39341 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39342 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39343 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39344 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39345 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39346 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39347 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39348 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39349 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39350 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39351 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39352 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39353 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39354 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39355 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39356 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39357 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39358 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39359 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39360 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39361 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39362 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39363 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39364 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39365 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39366 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39367 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39368 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39369 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39370 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39371 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39372 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39373 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39374 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39375 * sysdeps/ieee754/s_matherr.c: Likewise.
39376 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39377 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39378 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39381 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39383 * crypt/md5.h: Remove __STDC__ conditionals.
39384 * libio/libioP.h: Likewise.
39385 * locale/programs/config.h: Likewise.
39386 * sysdeps/generic/sysdep.h: Likewise.
39387 * sysdeps/i386/asm-syntax.h: Likewise.
39388 * sysdeps/s390/asm-syntax.h: Likewise.
39389 * sysdeps/unix/sysdep.h: Likewise.
39390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39393 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39395 * libio/libio.h: Remove __STDC__ conditionals.
39396 * malloc/obstack.h: Likewise.
39397 * math/complex.h: Likewise.
39398 * math/math.h: Likewise.
39399 * sysdeps/generic/_G_config.h: Likewise.
39400 * sysdeps/gnu/_G_config.h: Likewise.
39401 * sysdeps/mach/hurd/_G_config.h: Likewise.
39402 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39403 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39404 * sysdeps/sparc/bits/mathdef.h: Likewise.
39406 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39409 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39410 Clean up HAS_* macros.
39411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39412 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39414 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39416 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39417 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39418 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39419 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39420 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39422 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39424 * elf/tst-unique3.cc (gets): Remove declaration.
39425 * elf/tst-unique3lib.cc (gets): Likewise.
39426 * elf/tst-unique3lib2.cc (gets): Likewise.
39427 * elf/tst-unique4.cc (gets): Likewise.
39429 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39431 * include/stdio.h: Add C++ protection. Add gets declarations and
39433 * debug/tst-chk1.c: Don't declare gets here.
39434 * stdio-common/tst-gets.c: Likewise.
39436 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39438 * posix/glob: Remove directory.
39440 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39442 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39444 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39446 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39447 of the non-standard EPFNOSUPPORT.
39449 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39451 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39452 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39453 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39455 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39457 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39459 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39461 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39463 * nscd/grpcache.c (cache_addgr): Likewise.
39464 * nscd/hstcache.c (cache_addhst): Likewise.
39465 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39466 * nscd/pwdcache.c (cache_addpw): Likewise.
39467 * nscd/servicescache.c (cache_addserv): Likewise.
39469 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39471 * malloc/malloc.c: Various cleanups.
39472 * malloc/hooks.c: Likewise.
39474 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39475 * stdlib/bug-fmtmsg1.c: New file.
39477 * stdlib/fmtmsg.c (init): Add missing unlock.
39478 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39480 2012-01-12 Marek Polacek <polacek@redhat.com>
39482 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39485 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39487 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39488 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39489 macro to ensure uniqueness of label name.
39490 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39491 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39493 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39495 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39497 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39498 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39499 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39500 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39502 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39504 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39506 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39507 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39508 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39510 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39512 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39513 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39514 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39517 * math/bits/math-finite.h: Add ldexp support.
39519 2012-01-10 Marek Polacek <polacek@redhat.com>
39521 * locale/programs/localedef.h (show_archive_content): Add noreturn
39524 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39526 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39528 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39530 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39532 * io/Makefile (headers): Add bits/poll2.h.
39534 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39537 typo #include statement.
39539 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39541 * include/sys/cdefs.h: Define __attribute_alloc_size.
39542 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39543 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39544 * elf/pldd.c: Likewise.
39545 * iconv/iconv_charmap.c: Likewise.
39546 * iconv/iconvconfig.c: Likewise.
39547 * iconv/strtab.c: Likewise.
39548 * locale/programs/locale.c: Likewise.
39549 * locale/programs/localedef.h: Likewise.
39550 * locale/programs/simple-hash.c: Likewise.
39551 * nscd/nscd.h: Likewise.
39552 * nss/makedb.c: Likewise.
39553 * sysdeps/generic/ldconfig.h: Likewise.
39554 * locale/programs/localedef.c: Remove xmalloc prototype.
39555 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39557 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39559 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39562 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39564 * math/Makefile (tests): Add tst-CMPLX.
39565 * math/tst-CMPLX.c: New file.
39567 * math/complex.h (CMPLXL): Fix typo.
39569 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39570 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39572 * debug/tst-chk1.c: Add poll and ppoll tests.
39573 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39574 * include/sys/poll.h: Add hidden proto for ppoll.
39575 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39576 * sysdeps/mach/hurd/ppoll.c: Likewise.
39577 * io/ppoll.c: Likewise.
39578 * debug/poll_chk.c: New file.
39579 * debug/ppoll_chk.c: New file.
39580 * include/bits/poll2.h: New file.
39581 * io/bits/poll2.h: New file.
39584 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39586 * configure.in: static is always set to yes. Remove.
39587 * config.make.in: Don't set build-static.
39588 * Makeconfig: Remove use of build-static.
39589 * dlfcn/Makefile: Likewise.
39590 * elf/Makefile: Likewise.
39591 * math/Makefile: Likewise.
39592 * misc/Makefile: Likewise.
39593 * nptl/Makefile: Likewise.
39594 * sysdeps/mach/hurd/Makefile: Likewise.
39596 * configure.in: PWD_P is not used anymore.
39597 * config.make.in: Remove PWD_P entry.
39599 * configure.in: Remove last remnants of RANLIB.
39600 No need to check for signed size_t anymore.
39601 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39603 Remove __builtin_expect test because we require at least gcc 3.4.
39604 * aclocal.m4: Likewise.
39606 * wcsmbs/mbrtoc16.c: Implement using towc function.
39607 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39608 * wcsmbs/wcsmbsload.c: Likewise.
39609 * iconv/gconv_simple.c: Likewise.
39610 * iconv/gconv_int.h: Likewise.
39611 * iconv/gconv_builtin.h: Likewise.
39612 * iconv/iconv_prog.c: Remove CHAR16 handling.
39614 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39616 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39618 * configure.in: Remove --with-elf and --enable-bounded options.
39619 Dont set base_machine for ia64. More non-ELF conditions removed.
39620 Remove testing and setting of leading underscore information.
39621 * config.make.in (build-bounded): Set to no.
39622 * config.h.in: Remove NO_UNDERSCORES entry.
39623 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39625 * csu/start.c: Remove !NO_UNDERSCORE code.
39626 * locale/localeinfo.h: Likewise.
39627 * sysdeps/generic/machine-gmon.h: Likewise.
39628 * sysdeps/generic/sysdep.h: Likewise.
39629 * sysdeps/i386/sysdep.h: Likewise.
39630 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39631 * sysdeps/mach/sysdep.h: Likewise.
39632 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39633 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39634 * sysdeps/sh/sysdep.h: Likewise.
39635 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39636 * sysdeps/unix/i386/sysdep.S: Likewise.
39637 * sysdeps/unix/sparc/start.c: Likewise.
39638 * sysdeps/unix/sparc/sysdep.S: Likewise.
39639 * sysdeps/unix/sparc/sysdep.h: Likewise.
39640 * sysdeps/unix/start.c: Likewise.
39641 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39642 * sysdeps/x86_64/sysdep.h: Likewise.
39644 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39647 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39649 * argp/argp-fmtstream.h: Use const instead __const.
39650 * argp/argp.h: Likewise.
39651 * assert/assert.h: Likewise.
39652 * bits/fenv.h: Likewise.
39653 * bits/sched.h: Likewise.
39654 * bits/sigset.h: Likewise.
39655 * bits/sigthread.h: Likewise.
39656 * catgets/nl_types.h: Likewise.
39657 * conform/data/pthread.h-data: Likewise.
39658 * crypt/crypt-private.h: Likewise.
39659 * crypt/crypt.h: Likewise.
39660 * crypt/crypt_util.c: Likewise.
39661 * ctype/ctype.h: Likewise.
39662 * debug/execinfo.h: Likewise.
39663 * debug/mbsnrtowcs_chk.c: Likewise.
39664 * debug/mbsrtowcs_chk.c: Likewise.
39665 * debug/wcsnrtombs_chk.c: Likewise.
39666 * debug/wcsrtombs_chk.c: Likewise.
39667 * debug/wcstombs_chk.c: Likewise.
39668 * dirent/dirent.h: Likewise.
39669 * dlfcn/dlfcn.h: Likewise.
39670 * elf/neededtest4.c: Likewise.
39671 * grp/grp.h: Likewise.
39672 * gshadow/gshadow.h: Likewise.
39673 * iconv/gconv.h: Likewise.
39674 * iconv/gconv_int.h: Likewise.
39675 * iconv/gconv_simple.c: Likewise.
39676 * iconv/iconv.h: Likewise.
39677 * iconv/loop.c: Likewise.
39678 * iconv/skeleton.c: Likewise.
39679 * include/aio.h: Likewise.
39680 * include/aliases.h: Likewise.
39681 * include/argz.h: Likewise.
39682 * include/arpa/inet.h: Likewise.
39683 * include/assert.h: Likewise.
39684 * include/dirent.h: Likewise.
39685 * include/dlfcn.h: Likewise.
39686 * include/execinfo.h: Likewise.
39687 * include/fcntl.h: Likewise.
39688 * include/fenv.h: Likewise.
39689 * include/glob.h: Likewise.
39690 * include/grp.h: Likewise.
39691 * include/libintl.h: Likewise.
39692 * include/mntent.h: Likewise.
39693 * include/netdb.h: Likewise.
39694 * include/pwd.h: Likewise.
39695 * include/rpc/netdb.h: Likewise.
39696 * include/sched.h: Likewise.
39697 * include/search.h: Likewise.
39698 * include/shadow.h: Likewise.
39699 * include/signal.h: Likewise.
39700 * include/stdio.h: Likewise.
39701 * include/stdlib.h: Likewise.
39702 * include/string.h: Likewise.
39703 * include/sys/socket.h: Likewise.
39704 * include/sys/stat.h: Likewise.
39705 * include/sys/statfs.h: Likewise.
39706 * include/sys/statvfs.h: Likewise.
39707 * include/sys/syslog.h: Likewise.
39708 * include/sys/time.h: Likewise.
39709 * include/sys/uio.h: Likewise.
39710 * include/time.h: Likewise.
39711 * include/unistd.h: Likewise.
39712 * include/utmp.h: Likewise.
39713 * include/wchar.h: Likewise.
39714 * include/wctype.h: Likewise.
39715 * inet/aliases.h: Likewise.
39716 * inet/arpa/inet.h: Likewise.
39717 * inet/netinet/ether.h: Likewise.
39718 * inet/netinet/in.h: Likewise.
39719 * intl/libintl.h: Likewise.
39720 * io/bits/fcntl2.h: Likewise.
39721 * io/fcntl.h: Likewise.
39722 * io/ftw.h: Likewise.
39723 * io/sys/poll.h: Likewise.
39724 * io/sys/stat.h: Likewise.
39725 * io/sys/statfs.h: Likewise.
39726 * io/sys/statvfs.h: Likewise.
39727 * io/utime.h: Likewise.
39728 * libio/bits/stdio.h: Likewise.
39729 * libio/bits/stdio2.h: Likewise.
39730 * libio/libio.h: Likewise.
39731 * libio/libioP.h: Likewise.
39732 * libio/stdio.h: Likewise.
39733 * locale/lc-ctype.c: Likewise.
39734 * locale/locale.h: Likewise.
39735 * login/utmp.h: Likewise.
39736 * malloc/arena.c: Likewise.
39737 * malloc/malloc.c: Likewise.
39738 * malloc/malloc.h: Likewise.
39739 * malloc/mcheck.c: Likewise.
39740 * malloc/mtrace.c: Likewise.
39741 * math/bits/mathcalls.h: Likewise.
39742 * math/fenv.h: Likewise.
39743 * math/math_private.h: Likewise.
39744 * misc/bits/error.h: Likewise.
39745 * misc/bits/syslog.h: Likewise.
39746 * misc/err.h: Likewise.
39747 * misc/error.h: Likewise.
39748 * misc/fstab.h: Likewise.
39749 * misc/mntent.h: Likewise.
39750 * misc/regexp.h: Likewise.
39751 * misc/search.h: Likewise.
39752 * misc/sgtty.h: Likewise.
39753 * misc/sys/mman.h: Likewise.
39754 * misc/sys/syslog.h: Likewise.
39755 * misc/sys/uio.h: Likewise.
39756 * misc/sys/xattr.h: Likewise.
39757 * misc/ttyent.h: Likewise.
39758 * nis/rpcsvc/ypclnt.h: Likewise.
39759 * nss/nss.h: Likewise.
39760 * posix/bits/unistd.h: Likewise.
39761 * posix/fnmatch.h: Likewise.
39762 * posix/glob.h: Likewise.
39763 * posix/sched.h: Likewise.
39764 * posix/spawn.h: Likewise.
39765 * posix/sys/wait.h: Likewise.
39766 * posix/unistd.h: Likewise.
39767 * posix/wordexp.h: Likewise.
39768 * pwd/pwd.h: Likewise.
39769 * resolv/netdb.h: Likewise.
39770 * resource/sys/resource.h: Likewise.
39771 * rt/aio.h: Likewise.
39772 * rt/bits/mqueue2.h: Likewise.
39773 * rt/mqueue.h: Likewise.
39774 * shadow/shadow.h: Likewise.
39775 * signal/signal.h: Likewise.
39776 * socket/send.c: Likewise.
39777 * socket/sendto.c: Likewise.
39778 * socket/sys/socket.h: Likewise.
39779 * stdio-common/printf.h: Likewise.
39780 * stdlib/bits/stdlib.h: Likewise.
39781 * stdlib/fmtmsg.h: Likewise.
39782 * stdlib/monetary.h: Likewise.
39783 * stdlib/stdlib.h: Likewise.
39784 * stdlib/ucontext.h: Likewise.
39785 * streams/stropts.h: Likewise.
39786 * string/argz.h: Likewise.
39787 * string/bits/string2.h: Likewise.
39788 * string/string.h: Likewise.
39789 * string/strings.h: Likewise.
39790 * sunrpc/rpc/auth.h: Likewise.
39791 * sunrpc/rpc/auth_des.h: Likewise.
39792 * sunrpc/rpc/clnt.h: Likewise.
39793 * sunrpc/rpc/netdb.h: Likewise.
39794 * sunrpc/rpc/pmap_clnt.h: Likewise.
39795 * sunrpc/rpc/xdr.h: Likewise.
39796 * sysdeps/generic/inttypes.h: Likewise.
39797 * sysdeps/generic/net/if.h: Likewise.
39798 * sysdeps/generic/sys/swap.h: Likewise.
39799 * sysdeps/gnu/net/if.h: Likewise.
39800 * sysdeps/gnu/utmpx.h: Likewise.
39801 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39802 * sysdeps/i386/i486/bits/string.h: Likewise.
39803 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39804 * sysdeps/s390/bits/string.h: Likewise.
39805 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39806 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39807 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39808 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39809 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39810 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39811 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39812 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39813 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39814 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39815 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39816 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39817 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39818 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39819 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39820 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39821 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39823 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39824 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39825 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39826 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39827 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39828 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39829 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39830 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39831 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39832 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39833 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39834 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39835 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39836 * sysvipc/sys/ipc.h: Likewise.
39837 * sysvipc/sys/msg.h: Likewise.
39838 * sysvipc/sys/sem.h: Likewise.
39839 * sysvipc/sys/shm.h: Likewise.
39840 * termios/termios.h: Likewise.
39841 * time/sys/time.h: Likewise.
39842 * time/time.h: Likewise.
39843 * wcsmbs/bits/wchar2.h: Likewise.
39844 * wcsmbs/uchar.h: Likewise.
39845 * wcsmbs/wchar.h: Likewise.
39846 * wctype/wctype.h: Likewise.
39849 * Makeconfig: Remove all but ELF support including AIX support.
39850 * Makerules: Likewise.
39851 * config.h.in: Likewise.
39852 * config.make.in: Likewise.
39853 * configure: Likewise.
39854 * configure.in: Likewise.
39855 * csu/Makefile: Likewise.
39856 * csu/version.c: Likewise.
39857 * debug/Makefile: Likewise.
39858 * dlfcn/Makefile: Likewise.
39859 * elf/Makefile: Likewise.
39860 * extra-lib.mk: Likewise.
39861 * iconv/Makefile: Likewise.
39862 * include/libc-symbols.h: Likewise.
39863 * include/shlib-compat.h: Likewise.
39864 * resolv/Makefile: Likewise.
39865 * resolv/res_libc.c: Likewise.
39866 * rt/Makefile: Likewise.
39867 * sysdeps/i386/asm-syntax.h: Likewise.
39868 * sysdeps/i386/sysdep.h: Likewise.
39869 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39870 * sysdeps/mach/sysdep.h: Likewise.
39871 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39872 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39873 * sysdeps/s390/asm-syntax.h: Likewise.
39874 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39876 * sysdeps/sh/sysdep.h: Likewise.
39877 * sysdeps/unix/sparc/sysdep.h: Likewise.
39878 * sysdeps/wordsize-32/divdi3.c: Likewise.
39879 * sysdeps/x86_64/sysdep.h: Likewise.
39881 * argp/Versions: Remove _argp_unlock_xxx.
39884 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39885 * abilist/libBrokenLocale.abilist: Likewise.
39886 * abilist/libanl.abilist: Likewise.
39887 * abilist/libc.abilist: Likewise.
39888 * abilist/libcrypt.abilist: Likewise.
39889 * abilist/libdl.abilist: Likewise.
39890 * abilist/libm.abilist: Likewise.
39891 * abilist/libnsl.abilist: Likewise.
39892 * abilist/libpthread.abilist: Likewise.
39893 * abilist/libresolv.abilist: Likewise.
39894 * abilist/librt.abilist: Likewise.
39895 * abilist/libthread_db.abilist: Likewise.
39896 * abilist/libutil.abilist: Likewise.
39897 * abilist/libnss_db.abilist: New file.
39899 * scripts/abilist.awk: Add support for indirect functions.
39901 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39903 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39905 * shlib-versions: Remove entries for ports architectures.
39907 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39909 * elf/stackguard-macros.h: Remove support for IA-64.
39910 * elf/tst-auditmod1.c: Likewise.
39911 * sysdeps/generic/ldsodefs.h: Likewise.
39913 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39914 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39918 * configure.in: Remove --enable-omitfp support.
39920 * config.make.in: Likewise.
39921 * Makeconfig: Likewise.
39922 * manual/install.texi: Likewise.
39924 In case anyone cares, the IA-64 architecture could move to ports.
39925 * sysdeps/ia64/*: Removed.
39926 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39927 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39930 * configure.in: Remove entries for unsupported architectures.
39933 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39934 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39936 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39937 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39938 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39939 fall back to using wcrtomb.
39940 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39941 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39943 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39944 * wcsmbs/tst-c16c32-1.c: New file.
39946 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39949 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39951 * elf/tst-unique3.cc: Add explicit declaration of gets.
39952 * elf/tst-unique3lib.cc: Likewise.
39953 * elf/tst-unique3lib2.cc: Likewise.
39954 * elf/tst-unique4.cc: Likewise.
39956 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39958 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39961 * assert/assert.h (static_assert): Don't define for C++.
39962 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39963 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39965 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39967 * iconv/loop.c (single loop): Fix assertion in storing of
39970 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39972 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39974 * posix/getconf.c: Update copyright year.
39975 * nss/getent.c: Likewise.
39976 * nss/makedb.c: Likewise.
39977 * iconv/iconvconfig.c: Likewise.
39978 * iconv/iconv_prog.c: Likewise.
39979 * elf/ldconfig.c: Likewise.
39980 * elf/pldd.c: Likewise.
39981 * elf/sotruss.ksh: Likewise.
39982 * catgets/gencat.c: Likewise.
39983 * csu/version.c: Likewise.
39984 * elf/ldd.bash.in: Likewise.
39985 * elf/sprof.c (print_version): Likewise.
39986 * locale/programs/locale.c: Likewise.
39987 * locale/programs/localedef.c: Likewise.
39988 * login/programs/pt_chown.c: Likewise.
39989 * nscd/nscd.c (print_version): Likewise.
39990 * debug/xtrace.sh: Likewise.
39991 * malloc/memusage.sh: Likewise.
39992 * malloc/mtrace.pl: Likewise.
39993 * debug/catchsegv.sh: Likewise.
39995 2011-12-30 Jakub Jelinek <jakub@redhat.com>
39997 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40000 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40003 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40004 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40006 * iconv/gconv_int.h: Likewise.
40007 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40008 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40009 from libc for GLIBC_2.16.
40010 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40011 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40012 * wcsmbs/uchar.h: Really define mbstate_t.
40013 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40014 * wcsmbs/c16rtomb.c: New file.
40015 * wcsmbs/mbrtoc16.c: New file.
40016 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40017 for C/POSIX locale.
40018 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40019 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40021 * wcsmbs/wchar.h: Add missing __restrict.
40023 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40026 * time/Makefile (routines): Add timespec_get.
40027 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40028 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40029 timespec for ISO C11.
40030 * time/timespec_get.c: New file.
40031 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40032 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40035 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40036 * stdlib/stdlib.h: Declare aligned_alloc.
40037 * Versions.def: Add GLIBC_2.16 for libc.
40038 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40041 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40044 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40048 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40051 * assert/assert.h (static_assert): Define.
40053 * version.h: Update for 2.16 development version.
40056 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40059 * version.h (RELEASE): Bump for 2.15 release.
40060 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40062 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40063 Patch by Marek Polacek <mpolacek@redhat.com>.
40065 * bits/byteswap.h: Protect long long constants with __extension__.
40066 * sysdeps/i386/bits/byteswap.h: Likewise.
40067 * sysdeps/ia64/bits/byteswap.h: Likewise.
40068 * sysdeps/s390/bits/byteswap.h: Likewise.
40069 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40071 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40074 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40075 destination buffer.
40076 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40078 2011-12-23 Marek Polacek <polacek@redhat.com>
40080 * elf/dl-addr.c (determine_info): Add inline keyword.
40081 * elf/tst-auditmod4b.c (check_avx): Likewise.
40082 * elf/tst-auditmod6b.c (check_avx): Likewise.
40083 * elf/tst-auditmod6c.c (check_avx): Likewise.
40084 * elf/tst-auditmod7b.c (check_avx): Likewise.
40086 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40088 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40091 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40094 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40095 processing for last bytes.
40097 2011-08-06 Bruno Haible <bruno@clisp.org>
40100 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40101 U+0385, not to U+1FEE.
40104 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40105 entry for U+00A5 U+0301.
40107 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40110 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40111 buffer for the output is too small.
40113 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40117 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40118 SSE flags if possible.
40120 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40123 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40124 processing for last bytes.
40126 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40128 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40129 (syscall-list-default-options, syscall-list-default-condition)
40130 (syscall-list-includes): Define.
40131 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40132 list of ABIs and options and #if conditions for each ABI. Do not
40133 handle common syscalls between ABIs specially.
40134 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40136 (syscall-list-variants, syscall-list-32bit-options)
40137 (syscall-list-32bit-condition, syscall-list-64bit-options)
40138 (syscall-list-64bit-condition): Define.
40139 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40140 (syscall-list-variants, syscall-list-32bit-options)
40141 (syscall-list-32bit-condition, syscall-list-64bit-options)
40142 (syscall-list-64bit-condition): Define.
40143 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40145 (syscall-list-variants, syscall-list-32bit-options)
40146 (syscall-list-32bit-condition, syscall-list-64bit-options)
40147 (syscall-list-64bit-condition): Define.
40148 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40150 (syscall-list-variants, syscall-list-32bit-options)
40151 (syscall-list-32bit-condition, syscall-list-64bit-options)
40152 (syscall-list-64bit-condition): Define.
40154 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40156 * locale/iso-639.def: Add brx entry.
40159 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40160 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40162 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40163 __feraiseexcept_renamed.
40165 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40168 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40169 EPOLLET with unsigned values.
40170 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40171 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40173 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40174 to large cancellation.
40175 * math/s_cacoshf.c: Likewise.
40176 * math/s_cacoshl.c: Likewise.
40178 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40182 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40183 * math/s_cacoshf.c: Likewise.
40184 * math/s_cacoshl.c: Likewise.
40186 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40189 * iconv/gconv.h: Define __GCONV_SWAP.
40190 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40191 * iconvdata/utf-16.c: Likewise.
40192 * iconvdata/utf-32.c: Likewise.
40194 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40197 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40198 numerator after shifting it by one limb.
40200 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40202 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40203 under [__USE_EXTERN_INLINES].
40205 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40208 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40210 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40212 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40213 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40215 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40216 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40217 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40218 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40219 for strncasecmp/strncasecmp_l compilation.
40220 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40221 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40223 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40226 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40229 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40232 * time/tzfile.c (__tzfile_read): Check values from file header.
40234 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40236 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40237 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40238 * powerpc/powerpc32/dl-start.S: Likewise.
40239 * powerpc/powerpc32/elf/start.S: Likewise.
40240 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40241 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40242 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40243 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40244 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40245 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40246 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40247 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40248 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40249 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40250 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40251 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40252 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40253 * powerpc/powerpc32/memset.S: Likewise.
40254 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40255 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40256 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40257 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40258 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40259 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40260 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40261 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40262 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40263 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40264 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40265 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40266 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40268 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40270 * math/libm-test.inc: Added more nearbyint tests.
40271 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40272 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40273 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40274 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40276 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40278 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40281 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40283 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40284 Add wcscpy-ssse3 wcscpy-c.
40285 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40286 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40287 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40288 * sysdeps/x86_64/wcschr.S: New file.
40289 * sysdeps/x86_64/wcsrchr.S: New file.
40290 * string/test-strcmp.c: Remove checking of wcscmp function for
40292 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40293 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40294 wcsrchr-sse2 wcsrchr-c.
40295 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40296 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40297 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40298 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40299 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40300 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40301 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40302 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40303 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40304 * wcsmbc/wcschr.c (WCSCHR): New macro.
40306 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40308 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40309 * wcsmbs/test-wcsrchr.c: New file.
40310 * string/test-strrchr.c: Add wcsrchr support.
40312 * wcsmbs/test-wcscpy.c: New file.
40313 * string/test-strcpy.c: Add wcscpy support.
40316 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40318 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40321 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40324 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40326 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40328 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40329 Minor optimizations.
40331 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40332 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40333 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40335 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40337 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40338 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40339 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40340 for gcc to avoid warnings.
40341 * inet/Makefile (tests): Add tst-checks.
40342 * inet/tst-checks.c: New file.
40344 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40347 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40350 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40351 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40353 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40355 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40357 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40360 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40362 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40364 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40365 conditional on GCC version.
40366 (__arch_compare_and_exchange_val_8_acq)
40367 (__arch_compare_and_exchange_val_16_acq)
40368 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40369 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40370 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40372 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40374 * sysdeps/sh/backtrace.c: New file.
40376 2011-12-02 Andreas Schwab <schwab@redhat.com>
40378 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40381 2011-12-01 Andreas Schwab <schwab@redhat.com>
40383 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40384 falling back to utime.
40386 2011-11-30 Andreas Schwab <schwab@redhat.com>
40388 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40389 expectations for float.
40391 2011-11-29 Andreas Schwab <schwab@redhat.com>
40393 * locale/weight.h (findidx): Add parameter len.
40394 * locale/weightwc.h (findidx): Likewise.
40395 * posix/fnmatch_loop.c (FCT): Adjust caller.
40396 * posix/regcomp.c (build_equiv_class): Likewise.
40397 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40398 * posix/regexec.c (check_node_accept_bytes): Likewise.
40399 * string/strcoll_l.c (STRCOLL): Likewise.
40400 * string/strxfrm_l.c (STRXFRM): Likewise.
40402 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40404 * Makefile.in: Remove CVSOPT handling.
40405 * configure.in: Remove use of AC_REVISION.
40406 * iconvdata/Makefile (distribute): No need to filter out CVS.
40407 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40410 2011-11-16 Andreas Schwab <schwab@redhat.com>
40412 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40413 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40414 [USE_AS_STRNCASECMP_L]: Likewise.
40415 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40416 NO_TLS_DIRECT_SEG_REFS.
40417 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40418 Fix argument offsets for non-PIC.
40419 [USE_AS_STRNCASECMP_L]: Likewise.
40420 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40421 NO_TLS_DIRECT_SEG_REFS.
40423 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40425 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40427 * locale/loadlocale.c (_nl_load_locale): Likewise.
40429 2011-11-15 Andreas Schwab <schwab@redhat.com>
40431 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40432 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40433 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40434 (SYSCALL_GETTIME): Set errno on error.
40436 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40437 count references to noai6ai_cached.
40439 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40441 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40443 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40444 FD_CLOEXEC for /proc/self/maps.
40446 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40447 FD_CLOEXEC for /proc/meminfo.
40449 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40452 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40453 FD_CLOEXEC for given file.
40455 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40457 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40458 FD_CLOEXEC for /etc/hosts.
40459 (_gethtent): Likewise.
40461 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40463 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40464 cancellation and set FD_CLOEXEC for /etc/netgroup.
40466 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40467 reading /etc/publickey.
40469 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40470 allow cancellation when reading /etc/group.
40472 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40474 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40476 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40477 when using data file.
40479 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40481 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40482 (write_nis_obj): Use "c" and "e" in fopen.
40484 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40486 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40488 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40490 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40492 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40495 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40497 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40499 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40501 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40502 file parsing and set FD_CLOEXEC.
40504 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40506 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40508 2011-11-14 Andreas Schwab <schwab@redhat.com>
40510 * malloc/arena.c (arena_get2): Don't call reused_arena when
40511 _int_new_arena failed.
40513 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40515 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40516 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40517 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40518 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40519 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40520 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40521 to compile strcasecmp and strncasecmp.
40522 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40523 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40525 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40527 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40529 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40530 locale-defines.sym to gen-as-const-headers.
40531 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40532 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40534 to compile strcasecmp and strncasecmp.
40535 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40536 strcasecmp_l and strncasecmp_l.
40537 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40538 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40539 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40540 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40541 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40542 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40543 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40544 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40545 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40546 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40547 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40549 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40551 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40552 result of SYSDEP_GETTIME_CPU to retval.
40553 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40554 parameter list to macro. Remove trailing semicolon. Adjust users.
40556 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40559 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40561 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40563 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40564 from unused variable.
40566 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40568 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40571 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40574 * sunrpc/rpc_prot.c (rejected): Fix case value.
40576 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40577 unsigned long long int to avoid warnings in shift.
40579 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40581 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40584 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40585 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40586 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40588 * nis/nis_table.c (nis_list): Use variable of correct type for
40589 result of __follow_path call.
40591 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40593 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40594 of math functions ceil, trunc, floor, round, and sqrt, when
40595 avaliable on the platform.
40596 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40598 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40599 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40600 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40602 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40604 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40605 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40607 2011-11-11 Roland McGrath <roland@hack.frob.com>
40609 * include/unistd.h: Fix __readlink return type.
40610 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40612 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40614 * stdlib/ucontext.h: Undo last change for makecontext.
40616 2011-11-11 Andreas Schwab <schwab@redhat.com>
40618 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40620 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40621 * setjmp/setjmp.h: Mark functions as non-leaf.
40622 * setjmp/bits/setjmp2.h: Likewise.
40623 * stdlib/ucontext.h: Likewise.
40625 2011-11-10 Andreas Schwab <schwab@redhat.com>
40627 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40628 (reused_arena): Don't check arena limit.
40629 (arena_get2): Atomically check arena limit.
40631 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40633 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40634 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40636 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40639 2011-11-07 Andreas Schwab <schwab@redhat.com>
40641 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40642 handler when locking.
40644 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40645 Fix size of allocated buffer.
40647 2011-11-04 Andreas Schwab <schwab@redhat.com>
40650 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40651 declarations for long double functions.
40652 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40654 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40656 2011-11-03 Andreas Schwab <schwab@redhat.com>
40658 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40661 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40664 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40666 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40668 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40670 * include/alloca.h (stackinfo_alloca_round): Define.
40671 (extend_alloca): Use it.
40672 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40673 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40676 * scripts/check-local-headers.sh: Ignore libaudit.h.
40678 * nscd/Makefile (extra-objs): Make recursively expanded.
40680 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40682 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40683 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40685 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40686 * posix/tst-rfc3484-2.c: Likewise.
40687 * posix/tst-rfc3484-3.c: Likewise.
40689 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40691 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40693 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40694 process_vm_writev from libc using GLIBC_2.15 version.
40696 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40698 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40700 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40703 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40706 * nss/getent.c (initgroups_keys): Show error message in case no group
40709 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40710 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40711 __bump_nl_timestamp.
40712 * nscd/connections (nscd_init): When host database is served open
40713 netlink socket and request notification about configuration changes.
40714 (main_loop_poll): Track netlink file descriptor and bump timestamp
40715 in case data becomes available.
40716 (main_loop_epoll): Likewise.
40717 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40718 (database_pers_head): Add extra_data fileds.
40719 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40720 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40721 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40723 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40724 in6ai data, call __free_in6ai.
40725 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40726 Add -DHAVE_NETLINK.
40727 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40728 interface information. Reuse previous data if netlink timestamp
40730 (__bump_nl_timestamp): New function.
40731 (__free_in6ai): New function.
40733 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40735 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40736 close_not_cancel_no_status here.
40737 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40739 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40742 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40745 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40746 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40747 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40749 2011-07-03 Andreas Jaeger <aj@suse.de>
40752 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40753 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40754 * math/libm-test.inc (sin_test): Add test case.
40756 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40759 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40760 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40762 * elf/chroot_canon.c (chroot_canon): Cleanups.
40764 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40767 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40768 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40770 * string/test-strchr.c: Make usable for strchrnul testing.
40771 * string/test-strchrnul.c: New file.
40772 * string/Makefile (strop-tests): Add strchrnul.
40774 * po/it.po: Update from translation team.
40775 * po/es.po: Likewise.
40777 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40779 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40780 the three constants needed as parameters. Drop the others.
40781 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40782 __m128i_strloadu_tolower.
40783 Create and initialize variable zero and use it in all the places
40784 where _mm_setzero_si128 was used.
40786 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40787 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40788 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40789 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40791 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40792 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40793 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40794 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40795 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40796 __mpranred, __mptan.
40797 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40798 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40799 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40800 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40801 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40802 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40803 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40804 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40805 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40807 2011-10-28 Andreas Schwab <schwab@redhat.com>
40809 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40810 redefine if SHARED.
40811 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40814 wide char related routines to wcsmbs subdir.
40816 2011-10-27 Andreas Schwab <schwab@redhat.com>
40819 * misc/sys/cdefs.h (__THROWNL): Define.
40820 * posix/unistd.h: Use __THREADNL instead of __THREAD
40821 for memory synchronization functions.
40823 2011-10-26 Roland McGrath <roland@hack.frob.com>
40826 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40828 * manual/stdio.texi (Obstack Streams): Node removed.
40830 2011-10-26 Andreas Schwab <schwab@redhat.com>
40832 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40833 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40834 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40836 * math/math_private.h (math_force_eval): Allow non-addressable
40838 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40840 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40842 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40843 file is not needed.
40845 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40846 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40847 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40848 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40849 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40850 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40851 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40852 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40854 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40855 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40856 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40857 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40858 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40859 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40860 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40861 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40862 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40863 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40864 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40865 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40866 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40867 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40868 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40869 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40870 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40871 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40872 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40874 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40875 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40877 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40878 place. Use VEX encoding when compiling for AVX.
40880 2011-10-25 Andreas Schwab <schwab@redhat.com>
40882 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40883 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40885 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40887 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40889 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40890 useless if() expression.
40891 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40892 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40893 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40894 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40895 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40896 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40897 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40898 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40899 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40900 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40901 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40902 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40903 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40904 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40905 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40906 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40907 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40908 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40909 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40911 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40913 2011-10-25 Andreas Schwab <schwab@redhat.com>
40915 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40917 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40919 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40921 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40922 .text section. Avoid duplicate constants.
40923 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40924 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40925 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40926 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40927 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40928 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40929 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40930 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40931 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40932 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40933 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40934 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40935 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40936 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40937 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40938 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40939 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40940 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40941 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40942 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40943 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40944 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40945 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40946 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40947 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40948 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40949 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40950 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40951 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40952 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40953 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40954 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40955 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40956 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40957 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40958 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40959 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40960 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40961 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40962 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40963 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40964 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40965 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40966 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40967 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40969 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40971 * sysdeps/x86_64/dla.h: Move to ...
40972 * sysdeps/x86_64/fpu/dla.h: ...here.
40973 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40974 situations. Use __builtin_fma only for gcc 4.6 and up.
40976 * config.make.in: Add have-mfma4 entry.
40977 * configure.in: Substitute libc_cv_cc_fma4.
40978 * math/Makefile (dbl-only-routines): Add sincostab.
40979 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40980 Use __sincostab not sincos.
40981 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40983 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40984 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40985 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40988 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40989 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40990 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40991 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40993 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40994 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40996 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40997 define aliases when function name is a macro.
40998 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40999 sysdeps/ieee754/dbl-64/sincos.tbl.
41000 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41001 fma4-enabled routines.
41002 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41003 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41004 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41005 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41006 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41007 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41008 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41009 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41010 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41011 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41012 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41013 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41014 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41015 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41016 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41017 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41018 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41019 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41020 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41021 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41022 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41023 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41024 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41025 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41026 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41027 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41028 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41029 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41030 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41031 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41033 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41035 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41036 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41037 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41038 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41039 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41040 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41041 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41042 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41044 2011-10-24 Andreas Schwab <schwab@redhat.com>
41046 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41048 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41050 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41052 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41054 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41056 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41057 Remove unused variable magic_bits.
41058 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41060 * string/strnlen.c: Define and use STRNLEN macro.
41061 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41062 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41063 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41064 * wcsmbs/wcslen.c: Define and use WCSLEN.
41065 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41066 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41067 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41068 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41069 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41070 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41071 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41073 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41076 strnlen-sse2-no-bsf.
41077 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41078 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41079 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41080 Add strnlen support.
41081 (USE_AS_STRNLEN): New macro.
41082 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41083 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41084 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41085 * sysdeps/x86_64/wcslen.S: New file.
41087 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41089 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41090 XMM-moves are used for copying on small sizes.
41092 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41094 * wcsmbs/Makefile (strop-tests): Add wcschr.
41095 * wcsmbs/test-wcschr.c: New file.
41096 * string/test-strchr.c: Update.
41097 Add wcschr support.
41100 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41102 * wcsmbs/Makefile (strop-tests): Add wcslen.
41103 * wcsmbs/test-wcslen.c: New file.
41104 * string/test-strlen.c: Update.
41105 Add wcslen support.
41108 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41110 * po/it.po: Update from translation team.
41112 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41114 * sysdeps/x86_64/wcscmp.S: Update.
41115 Fix wrong comparison semantics.
41116 wcscmp shall use signed comparison not unsigned.
41117 Don't use substraction to avoid overflow bug.
41118 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41119 * wcsmbc/wcscmp.c: Likewise.
41120 * string/test-strcmp.c: Likewise.
41121 Add new tests to check cases with negative values.
41123 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41125 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41126 * sysdeps/x86_64/dla.h: ...here. New file.
41127 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41128 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41130 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41131 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41132 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41135 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41137 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41139 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41140 __ynl_finite aliases.
41142 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41146 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41148 [DLA_FMA] (EMULV): Use DLA_FMA.
41149 [DLA_FMA] (MUL12): Use EMULV.
41150 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41151 that are not needed.
41152 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41157 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41160 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41162 * math/s_nan.c: Undef __nan.
41163 * math/s_nanf.c: Undef __nanf.
41164 * math/s_nanl.c: Undef __nanl.
41165 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41168 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41170 * math/s_catan.c: Add branch predictions.
41171 * math/s_catanf.c: Likewise.
41172 * math/s_catanh.c: Likewise.
41173 * math/s_catanhf.c: Likewise.
41174 * math/s_catanhl.c: Likewise.
41175 * math/s_catanl.c: Likewise.
41176 * math/s_cexp.c: Likewise.
41177 * math/s_cexpf.c: Likewise.
41178 * math/s_cexpl.c: Likewise.
41179 * math/s_clog.c: Likewise.
41180 * math/s_clog10.c: Likewise.
41181 * math/s_clog10f.c: Likewise.
41182 * math/s_clog10l.c: Likewise.
41183 * math/s_clogf.c: Likewise.
41184 * math/s_clogl.c: Likewise.
41185 * math/s_csqrt.c: Likewise.
41186 * math/s_csqrtf.c: Likewise.
41187 * math/s_csqrtl.c: Likewise.
41188 * math/s_ctanf.c: Likewise.
41189 * math/s_ctanh.c: Likewise.
41190 * math/s_ctanhf.c: Likewise.
41191 * math/s_ctanhl.c: Likewise.
41192 * math/s_ctanl.c: Likewise.
41194 * math/math_private.h: Define __nan, __nanf, __nanl.
41195 * math/s_cacosh.c: Include <math_private.h>.
41196 * math/s_cacoshl.c: Likewise.
41197 * math/s_casinh.c: Likewise.
41198 * math/s_casinhf.c: Likewise.
41199 * math/s_casinhl.c: Likewise.
41200 * math/s_ccos.c: Rely entire on ccosh.
41201 * math/s_ccosf.c: Rely entire on ccoshf.
41202 * math/s_ccosl.c: Rely entirely on ccoshl.
41203 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41204 Remove tests for FE_INVALID.
41205 * math/s_ccoshf.c: Likewise.
41206 * math/s_ccoshl.c: Likewise.
41207 * math/s_csin.c: Likewise.
41208 * math/s_csinf.c: Likewise.
41209 * math/s_csinh.c Likewise.
41210 * math/s_csinhf.c: Likewise.
41211 * math/s_csinhl.c: Likewise.
41212 * math/s_csinl.c: Likewise.
41213 * math/s_ctan.c: Likewise.
41214 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41215 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41216 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41218 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41221 compilation problems.
41223 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41226 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41228 * sysdeps/i386/configure.in: Test for -mfma4 option.
41229 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41230 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41231 COMMON_CPUID_INDEX_80000001.
41232 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41233 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41234 use it if FMA3 is not supported.
41235 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41237 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41238 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41240 2011-10-20 Andreas Schwab <schwab@redhat.com>
41243 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41244 it would create a cycle with a link time dependency.
41246 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41248 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41250 * string/Makefile (strop-tests): Add rawmemchr.
41251 * string/test-rawmemchr.c: New file.
41253 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41254 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41255 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41256 when compiling str{,n}casecmp and when AVX is available. Hook up
41257 new optimized code in initializers.
41259 2011-10-19 Andreas Schwab <schwab@redhat.com>
41261 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41262 __feraiseexcept instead of feraiseexcept.
41264 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41266 * math/math_private.h: Define defaults for libc_fetestexcept and
41268 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41269 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41270 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41271 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41272 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41273 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41274 libc_fetestexcept and libc_feupdateenv.
41276 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41277 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41278 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41279 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41280 libc_feholdexcept_setround.
41282 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41283 Add s_nearbyint-c and s_nearbyintf-c.
41284 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41285 nearbyintf inlines.
41286 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41287 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41288 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41289 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41291 * math/math_private.h: Define defaults for libc_fegetround,
41292 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41293 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41294 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41295 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41296 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41297 standard functions.
41298 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41299 Remove comments and hacks for old compiler versions.
41300 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41301 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41302 libc_feholdexceptl.
41304 2011-10-18 Andreas Schwab <schwab@redhat.com>
41306 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41307 (__feraiseexcept_renamed): Add __NTH.
41308 (feraiseexcept): Add __NTH. Rename local variables to fix
41309 namespace violations.
41311 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41313 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41315 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41317 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41318 recently added interfaces.
41319 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41321 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41322 about macro parameter expansion.
41324 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41325 __NO_MATH_INLINES is defined. Cleanups.
41327 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41328 and __floorf is target has SSE4.1.
41329 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41330 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41331 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41332 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41334 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41336 (floorf): Likewise.
41338 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41340 2011-10-17 Andreas Schwab <schwab@redhat.com>
41342 * misc/sys/cdefs.h: Fix last change.
41344 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41347 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41349 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41351 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41352 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41353 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41354 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41355 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41356 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41357 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41358 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41359 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41360 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41361 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41362 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41363 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41364 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41365 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41366 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41367 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41368 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41369 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41370 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41371 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41372 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41374 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41375 ceil, ceilf, floor, floorf.
41377 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41378 Perform IRELATIVE relocations last.
41380 * elf/do-rel.h: Add another parameter nrelative, replacing the
41381 local variable with the same name. Change name of the function
41382 to end in Rel or Rela (uppercase).
41383 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41384 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41385 elf_dynamic_do_##reloc function.
41387 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41389 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41390 is sufficient, at least on modern CPUs.
41392 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41394 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41395 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41397 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41399 * math/bits/math-finite.h: Add entries for exp.
41400 * math/e_expl.c: Add __*_finite alias.
41401 * sysdeps/i386/fpu/e_exp.S: Likewise.
41402 * sysdeps/i386/fpu/e_expf.S: Likewise.
41403 * sysdeps/i386/fpu/e_expl.c: Likewise.
41404 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41405 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41406 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41407 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41408 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41409 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41410 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41412 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41413 is sufficient, at least on modern CPUs.
41415 * ctype/ctype-info.c (__ctype_init): Define.
41416 * include/ctype.h (__ctype_init): Declare.
41417 (__ctype_b_loc): The variable is always initialized.
41418 (__ctype_toupper_loc): Likewise.
41419 (__ctype_tolower_loc): Likewise.
41420 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41421 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41423 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41425 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41427 * configure.in: Also look in $cxxmachine/include for C++ system
41430 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41432 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41433 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41434 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41435 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41436 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41437 (USE_AS_WMEMCMP): New macro.
41439 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41440 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41441 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41442 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41444 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41445 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41446 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41447 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41448 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41449 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41450 (USE_AS_WMEMCMP): New macro.
41451 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41452 * sysdeps/string/test-memcmp.c: Update.
41453 Fix simple_wmemcmp.
41455 * wcsmbs/wmemcmp.c: Update.
41456 (WMEMCMP): New macro.
41459 2011-10-12 Andreas Jaeger <aj@suse.de>
41462 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41464 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41466 * libio/iofwide.c (do_length): Avoid warning.
41468 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41470 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41472 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41474 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41475 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41476 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41477 * sysdeps/i386/i686/fpu/e_log.S: New file.
41478 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41479 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41481 * ctype/ctype.h: Add support for inlined isXXX functions when
41482 compiling C++ code.
41484 2011-10-14 Andreas Schwab <schwab@redhat.com>
41486 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41488 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41490 2011-10-13 Roland McGrath <roland@hack.frob.com>
41493 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41495 2011-10-13 Andreas Schwab <schwab@redhat.com>
41497 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41498 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41501 * sysdeps/x86_64/memrchr.S: Check for zero size.
41503 * string/stratcliff.c: Add memrchr tests.
41505 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41508 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41509 rawmemchr-sse2 rawmemchr-sse2-bsf.
41510 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41511 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41512 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41513 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41514 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41515 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41516 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41517 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41518 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41519 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41520 * string/memrchr.c (MEMRCHR): New macro.
41522 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41524 Add integration with gcc's -ffinite-math-only and optimize wrapper
41526 * Versions.def: Define GLIBC_2.15 version for libm.
41527 * math/Makefile (headers): Add bits/math-finite.h.
41528 * math/bits/math-finite.h: New file.
41529 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41530 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41531 * math/e_acoshl.c: Add __*_finite alias.
41532 * math/e_acosl.c: Likewise.
41533 * math/e_asinl.c: Likewise.
41534 * math/e_atan2l.c: Likewise.
41535 * math/e_atanhl.c: Likewise.
41536 * math/e_coshl.c: Likewise.
41537 * math/e_exp10.c: Likewise.
41538 * math/e_exp10f.c: Likewise.
41539 * math/e_exp10l.c: Likewise.
41540 * math/e_exp2l.c: Likewise.
41541 * math/e_fmodl.c: Likewise.
41542 * math/e_gammal_r.c: Likewise.
41543 * math/e_hypotl.c: Likewise.
41544 * math/e_j0l.c: Likewise.
41545 * math/e_j1l.c: Likewise.
41546 * math/e_jnl.c: Likewise.
41547 * math/e_lgammal_r.c: Likewise.
41548 * math/e_log10l.c: Likewise.
41549 * math/e_log2l.c: Likewise.
41550 * math/e_logl.c: Likewise.
41551 * math/e_powl.c: Likewise.
41552 * math/e_sinhl.c: Likewise.
41553 * math/e_sqrtl.c: Likewise.
41554 * math/e_scalb.c: Completely rewritten and optimized.
41555 * math/e_scalbf.c: Likewise.
41556 * math/e_scalbl.c: Likewise.
41557 * math/w_acos.c: Likewise.
41558 * math/w_acosf.c: Likewise.
41559 * math/w_acosl.c: Likewise.
41560 * math/w_acosh.c: Likewise.
41561 * math/w_acoshf.c: Likewise.
41562 * math/w_acoshl.c: Likewise.
41563 * math/w_asin.c: Likewise.
41564 * math/w_asinf.c: Likewise.
41565 * math/w_asinl.c: Likewise.
41566 * math/w_atan2.c: Likewise.
41567 * math/w_atan2f.c: Likewise.
41568 * math/w_atan2l.c: Likewise.
41569 * math/w_atanh.c: Likewise.
41570 * math/w_atanhf.c: Likewise.
41571 * math/w_atanhl.c: Likewise.
41572 * math/w_exp10.c: Likewise.
41573 * math/w_exp10f.c: Likewise.
41574 * math/w_exp10l.c: Likewise.
41575 * math/w_fmod.c: Likewise.
41576 * math/w_fmodf.c: Likewise.
41577 * math/w_fmodl.c: Likewise.
41578 * math/w_j0.c: Likewise.
41579 * math/w_j0f.c: Likewise.
41580 * math/w_j0l.c: Likewise.
41581 * math/w_j1.c: Likewise.
41582 * math/w_j1f.c: Likewise.
41583 * math/w_j1l.c: Likewise.
41584 * math/w_jn.c: Likewise.
41585 * math/w_jnf.c: Likewise.
41586 * math/w_log.c: Likewise.
41587 * math/w_logf.c: Likewise.
41588 * math/w_logl.c: Likewise.
41589 * math/w_log10.c: Likewise.
41590 * math/w_log10f.c: Likewise.
41591 * math/w_log10l.c: Likewise.
41592 * math/w_log2.c: Likewise.
41593 * math/w_log2f.c: Likewise.
41594 * math/w_log2l.c: Likewise.
41595 * math/w_pow.c: Likewise.
41596 * math/w_powf.c: Likewise.
41597 * math/w_powl.c: Likewise.
41598 * math/w_remainder.c: Likewise.
41599 * math/w_remainderf.c: Likewise.
41600 * math/w_remainderl.c: Likewise.
41601 * math/w_scalb.c: Likewise.
41602 * math/w_scalbf.c: Likewise.
41603 * math/w_scalbl.c: Likewise.
41604 * math/w_sqrt.c: Likewise.
41605 * math/w_sqrtf.c: Likewise.
41606 * math/w_sqrtl.c: Likewise.
41607 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41608 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41610 * math/math_private.h: Declare __kernel_standard_f.
41611 * math/w_cosh.c: Remove cruft and optimize a bit.
41612 * math/w_coshf.c: Likewise.
41613 * math/w_coshl.c: Likewise.
41614 * math/w_exp2.c: Likewise.
41615 * math/w_exp2f.c: Likewise.
41616 * math/w_exp2l.c: Likewise.
41617 * math/w_hypot.c: Likewise.
41618 * math/w_hypotf.c: Likewise.
41619 * math/w_hypotl.c: Likewise.
41620 * math/w_lgamma.c: Likewise.
41621 * math/w_lgamma_r.c: Likewise.
41622 * math/w_lgammaf.c: Likewise.
41623 * math/w_lgammaf_r.c: Likewise.
41624 * math/w_lgammal.c: Likewise.
41625 * math/w_lgammal_r.c: Likewise.
41626 * math/w_sinh.c: Likewise.
41627 * math/w_sinhf.c: Likewise.
41628 * math/w_sinhl.c: Likewise.
41629 * math/w_tgamma.c: Likewise.
41630 * math/w_tgammaf.c: Likewise.
41631 * math/w_tgammal.c: Likewise.
41632 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41633 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41634 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41635 Minor optimizations. Pretty printing. Remove cruft.
41636 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41637 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41638 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41639 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41640 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41641 * sysdeps/i386/fpu/e_asin.S: Likewise.
41642 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41643 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41644 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41645 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41646 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41647 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41648 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41649 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41650 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41651 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41652 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41653 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41654 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41655 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41656 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41657 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41658 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41659 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41660 * sysdeps/i386/fpu/e_log.S: Likewise.
41661 * sysdeps/i386/fpu/e_log10.S: Likewise.
41662 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41663 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41664 * sysdeps/i386/fpu/e_log2.S: Likewise.
41665 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41666 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41667 * sysdeps/i386/fpu/e_logf.S: Likewise.
41668 * sysdeps/i386/fpu/e_logl.S: Likewise.
41669 * sysdeps/i386/fpu/e_pow.S: Likewise.
41670 * sysdeps/i386/fpu/e_powf.S: Likewise.
41671 * sysdeps/i386/fpu/e_powl.S: Likewise.
41672 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41673 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41674 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41675 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41676 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41677 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41678 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41679 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41680 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41681 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41682 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41684 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41685 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41686 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41687 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41688 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41691 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41692 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41694 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41695 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41696 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41697 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41698 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41699 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41700 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41701 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41702 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41703 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41704 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41705 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41706 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41707 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41708 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41709 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41710 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41711 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41712 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41713 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41714 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41715 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41716 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41717 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41718 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41719 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41720 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41721 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41722 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41723 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41724 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41725 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41726 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41727 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41728 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41729 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41730 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41731 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41732 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41734 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41736 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41737 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41738 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41739 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41740 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41741 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41742 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41743 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41744 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41745 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41746 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41747 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41748 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41749 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41750 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41751 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41752 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41753 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41754 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41755 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41756 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41757 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41758 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41759 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41760 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41761 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41762 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41763 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41764 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41765 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41766 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41767 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41768 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41769 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41770 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41771 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41772 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41773 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41774 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41775 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41776 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41777 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41778 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41779 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41780 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41781 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41782 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41783 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41784 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41785 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41786 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41787 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41788 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41789 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41790 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41791 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41792 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41793 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41794 (__isnanf): Likewise.
41795 (__isinf_ns): Likewise.
41796 (__isinf_nsf): Likewise.
41797 (__finite): Likewise.
41798 (__finitef): Likewise.
41799 (__ieee754_sqrt): Define as macro.
41800 (__ieee754_sqrtf): Define as macro.
41801 (__ieee754_sqrtl): Define as macro.
41802 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41804 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41805 __FINITE_MATH_ONLY__ consistent.
41806 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41808 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41810 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41813 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41815 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41817 * po/ja.po: Update from translation team.
41819 2011-10-08 Roland McGrath <roland@hack.frob.com>
41821 * locale/programs/locarchive.c (prepare_address_space): New function.
41822 (create_archive, enlarge_archive, open_archive): Use it.
41824 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41825 inside [SHARED], where it is used.
41827 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41829 * nss/getent.c (netgroup_keys): Remove unused variable.
41830 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41832 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41834 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41835 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41836 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41837 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41838 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41839 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41840 * math/Makefile (libm-calls): Add s_isinf_ns.
41841 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41842 * math/multc3.c: Likewise.
41843 * math/s_casin.c: Likewise.
41844 * math/s_casinf.c: Likewise.
41845 * math/s_casinl.c: Likewise.
41846 * math/s_ccos.c: Likewise.
41847 * math/s_ccosf.c: Likewise.
41848 * math/s_ccosl.c: Likewise.
41849 * math/s_ctan.c: Likewise.
41850 * math/s_ctanf.c: Likewise.
41851 * math/s_ctanh.c: Likewise.
41852 * math/s_ctanhf.c: Likewise.
41853 * math/s_ctanhl.c: Likewise.
41854 * math/s_ctanl.c: Likewise.
41855 * math/w_fmod.c: Likewise.
41856 * math/w_fmodf.c: Likewise.
41857 * math/w_fmodl.c: Likewise.
41858 * math/w_remainder.c: Likewise.
41859 * math/w_remainderf.c: Likewise.
41860 * math/w_remainderl.c: Likewise.
41861 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41862 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41863 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41864 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41865 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41866 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41867 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41868 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41870 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41872 * stdio-common/printf_fphex.c: Likewise.
41873 * stdio-common/printf_size.c: Likewise.
41875 * math/e_exp10.c: Include math_private.h using <...> not "...".
41876 * math/e_exp10f.c: Likewise.
41877 * math/e_exp10l.c: Likewise.
41878 * math/e_exp2l.c: Likewise.
41879 * math/e_j0l.c: Likewise.
41880 * math/e_j1l.c: Likewise.
41881 * math/e_jnl.c: Likewise.
41882 * math/e_lgammal_r.c: Likewise.
41883 * math/e_rem_pio2l.c: Likewise.
41884 * math/e_scalb.c: Likewise.
41885 * math/e_scalbf.c: Likewise.
41886 * math/e_scalbl.c: Likewise.
41887 * math/k_cosl.c: Likewise.
41888 * math/k_sinl.c: Likewise.
41889 * math/k_tanl.c: Likewise.
41890 * math/s_cacoshf.c: Likewise.
41891 * math/s_catan.c: Likewise.
41892 * math/s_catanf.c: Likewise.
41893 * math/s_catanh.c: Likewise.
41894 * math/s_catanhf.c: Likewise.
41895 * math/s_catanhl.c: Likewise.
41896 * math/s_catanl.c: Likewise.
41897 * math/s_ccosh.c: Likewise.
41898 * math/s_ccoshf.c: Likewise.
41899 * math/s_ccoshl.c: Likewise.
41900 * math/s_cexp.c: Likewise.
41901 * math/s_cexpf.c: Likewise.
41902 * math/s_cexpl.c: Likewise.
41903 * math/s_clog.c: Likewise.
41904 * math/s_clog10.c: Likewise.
41905 * math/s_clog10f.c: Likewise.
41906 * math/s_clog10l.c: Likewise.
41907 * math/s_clogf.c: Likewise.
41908 * math/s_clogl.c: Likewise.
41909 * math/s_csin.c: Likewise.
41910 * math/s_csinf.c: Likewise.
41911 * math/s_csinh.c: Likewise.
41912 * math/s_csinhf.c: Likewise.
41913 * math/s_csinhl.c: Likewise.
41914 * math/s_csinl.c: Likewise.
41915 * math/s_csqrt.c: Likewise.
41916 * math/s_csqrtf.c: Likewise.
41917 * math/s_csqrtl.c: Likewise.
41918 * math/s_ctan.c: Likewise.
41919 * math/s_ctanf.c: Likewise.
41920 * math/s_ctanh.c: Likewise.
41921 * math/s_ctanhf.c: Likewise.
41922 * math/s_ctanhl.c: Likewise.
41923 * math/s_ctanl.c: Likewise.
41924 * math/s_ldexp.c: Likewise.
41925 * math/s_ldexpf.c: Likewise.
41926 * math/s_ldexpl.c: Likewise.
41927 * math/s_significand.c: Likewise.
41928 * math/s_significandf.c: Likewise.
41929 * math/s_significandl.c: Likewise.
41930 * math/w_acos.c: Likewise.
41931 * math/w_acosf.c: Likewise.
41932 * math/w_acosh.c: Likewise.
41933 * math/w_acoshf.c: Likewise.
41934 * math/w_acoshl.c: Likewise.
41935 * math/w_acosl.c: Likewise.
41936 * math/w_asin.c: Likewise.
41937 * math/w_asinf.c: Likewise.
41938 * math/w_asinl.c: Likewise.
41939 * math/w_atan2.c: Likewise.
41940 * math/w_atan2f.c: Likewise.
41941 * math/w_atan2l.c: Likewise.
41942 * math/w_atanh.c: Likewise.
41943 * math/w_atanhf.c: Likewise.
41944 * math/w_atanhl.c: Likewise.
41945 * math/w_cosh.c: Likewise.
41946 * math/w_coshf.c: Likewise.
41947 * math/w_coshl.c: Likewise.
41948 * math/w_dremf.c: Likewise.
41949 * math/w_exp10.c: Likewise.
41950 * math/w_exp10f.c: Likewise.
41951 * math/w_exp10l.c: Likewise.
41952 * math/w_exp2.c: Likewise.
41953 * math/w_exp2f.c: Likewise.
41954 * math/w_fmod.c: Likewise.
41955 * math/w_fmodf.c: Likewise.
41956 * math/w_fmodl.c: Likewise.
41957 * math/w_hypot.c: Likewise.
41958 * math/w_hypotf.c: Likewise.
41959 * math/w_hypotl.c: Likewise.
41960 * math/w_j0.c: Likewise.
41961 * math/w_j0f.c: Likewise.
41962 * math/w_j0l.c: Likewise.
41963 * math/w_j1.c: Likewise.
41964 * math/w_j1f.c: Likewise.
41965 * math/w_j1l.c: Likewise.
41966 * math/w_jn.c: Likewise.
41967 * math/w_jnf.c: Likewise.
41968 * math/w_jnl.c: Likewise.
41969 * math/w_lgamma.c: Likewise.
41970 * math/w_lgamma_r.c: Likewise.
41971 * math/w_lgammaf.c: Likewise.
41972 * math/w_lgammaf_r.c: Likewise.
41973 * math/w_lgammal.c: Likewise.
41974 * math/w_lgammal_r.c: Likewise.
41975 * math/w_log.c: Likewise.
41976 * math/w_log10.c: Likewise.
41977 * math/w_log10f.c: Likewise.
41978 * math/w_log10l.c: Likewise.
41979 * math/w_log2.c: Likewise.
41980 * math/w_log2f.c: Likewise.
41981 * math/w_log2l.c: Likewise.
41982 * math/w_logf.c: Likewise.
41983 * math/w_logl.c: Likewise.
41984 * math/w_pow.c: Likewise.
41985 * math/w_powf.c: Likewise.
41986 * math/w_powl.c: Likewise.
41987 * math/w_remainder.c: Likewise.
41988 * math/w_remainderf.c: Likewise.
41989 * math/w_remainderl.c: Likewise.
41990 * math/w_scalb.c: Likewise.
41991 * math/w_scalbf.c: Likewise.
41992 * math/w_scalbl.c: Likewise.
41993 * math/w_sinh.c: Likewise.
41994 * math/w_sinhf.c: Likewise.
41995 * math/w_sinhl.c: Likewise.
41996 * math/w_sqrt.c: Likewise.
41997 * math/w_sqrtf.c: Likewise.
41998 * math/w_sqrtl.c: Likewise.
41999 * math/w_tgamma.c: Likewise.
42000 * math/w_tgammaf.c: Likewise.
42001 * math/w_tgammal.c: Likewise.
42003 * po/ja.po: Update from translation team.
42005 2011-09-29 Andreas Jaeger <aj@suse.de>
42008 * sunrpc/netname.c (netname2host): Fix logic.
42012 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42014 * math/w_remainder.c (__remainder): Likewise.
42015 * math/w_remainderf.c (__remainderf): Likewise.
42016 * math/libm-test.inc (remainder_test): Add test cases.
42018 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42020 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42023 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42025 * string/test-memcmp.c: Avoid unncessary #defines.
42026 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42028 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42030 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42031 Use new sse2 version for core i3 - i7 as it's faster
42032 than sse42 version.
42033 (bit_Prefer_PMINUB_for_stringop): New.
42034 * sysdeps/x86_64/rawmemchr.S: Update.
42035 Replace with faster SSE2 version.
42036 * sysdeps/x86_64/memrchr.S: New file.
42037 * sysdeps/x86_64/memchr.S: Update.
42038 Replace with faster SSE2 version.
42040 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42042 * elf/dl-load.c (lose): Add cast to avoid warning.
42044 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42046 * po/ca.po: Update from translation team.
42048 * inet/getnetgrent_r.c: Hook up nscd.
42049 * nscd/Makefile (routines): Add nscd_netgroup.
42050 (nscd-modules): Add netgroupcache.
42051 (CFLAGS-netgroupcache.c): Define.
42052 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42053 (cache_search): Add const to second parameter.
42054 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42056 (dbs): Add netgrdb entry.
42057 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42058 (verify_persistent_db): Handle netgrdb.
42059 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42060 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42062 (netgroup_response_header): Define.
42063 (innetgroup_response_header): Define.
42064 (datahead): Add netgroup_response_header and innetgroup_response_header
42066 * nscd/nscd.conf: Add entries for netgroup cache.
42067 * nscd/nscd.h (dbtype): Add netgrdb.
42068 (_PATH_NSCD_NETGROUP_DB): Define.
42069 (netgroup_iov_disabled): Declare.
42070 (xmalloc, xcalloc, xrealloc): Move declarations here.
42071 (cache_search): Adjust prototype.
42072 Add netgroup-related prototypes.
42073 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42074 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42075 (__nscd_innetgr): Declare.
42076 * nscd/selinux.c (perms): Use access_vector_t as element type and
42077 add netgroup-related initializers.
42078 * nscd/netgroupcache.c: New file.
42079 * nscd/nscd_netgroup.c: New file.
42080 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42081 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42082 For four parameters use innetgr.
42083 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42084 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42085 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42086 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42088 * nscd/connections.c (register_traced_file): Don't register file
42089 for disabled databases.
42091 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42093 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42095 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42096 from tree and freeing node.
42098 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42100 * nss/nsswitch.c (__nss_database_lookup): Handle
42101 nss_parse_service_list out of memory case.
42103 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42105 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42106 out of memory case.
42108 2011-10-04 Andreas Schwab <schwab@redhat.com>
42110 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42111 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42113 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42114 elf_machine_rela, elf_machine_lazy_rel.
42115 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42116 (ELF_DYNAMIC_DO_REL): Likewise.
42117 (ELF_DYNAMIC_DO_RELA): Likewise.
42118 (ELF_DYNAMIC_RELOCATE): Likewise.
42119 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42120 to ELF_DYNAMIC_DO_REL.
42121 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42122 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42123 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42125 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42126 skip_ifunc, don't call ifunc function if non-zero.
42127 (elf_machine_rela): Likewise.
42128 (elf_machine_lazy_rel): Likewise.
42129 (elf_machine_lazy_rela): Likewise.
42130 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42131 (elf_machine_lazy_rel): Likewise.
42132 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42134 (elf_machine_lazy_rel): Likewise.
42135 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42137 (elf_machine_lazy_rel): Likewise.
42138 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42139 (elf_machine_lazy_rel): Likewise.
42140 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42141 (elf_machine_lazy_rel): Likewise.
42142 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42143 (elf_machine_lazy_rel): Likewise.
42144 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42145 (elf_machine_lazy_rel): Likewise.
42146 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42147 (elf_machine_lazy_rel): Likewise.
42148 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42149 (elf_machine_lazy_rel): Likewise.
42151 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42153 * nss/nss_files/files-init.c (_nss_files_init): Use static
42154 initialization for all the *_traced_file variables.
42156 2011-09-28 Andreas Schwab <schwab@redhat.com>
42158 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42160 2011-09-27 Roland McGrath <roland@hack.frob.com>
42163 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42165 2011-09-27 Andreas Schwab <schwab@redhat.com>
42167 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42168 Reread the line before reparsing it.
42170 2011-09-26 Andreas Schwab <schwab@redhat.com>
42172 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42174 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42175 Maxim Kuvyrkov <maxim@codesourcery.com>
42176 Joseph Myers <joseph@codesourcery.com>
42178 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42179 if needed for __stack_chk_guard.
42181 2011-09-19 Roland McGrath <roland@hack.frob.com>
42183 * sysdeps/posix/spawni.c (script_execute): Always define it.
42184 It will be optimized away if unused.
42185 (maybe_script_execute): New function.
42186 (__spawni): Call it.
42188 * Makerules: Don't include tls.make.
42189 (config-tls): Always set to thread.
42190 * tls.make.c: File removed.
42192 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42194 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42195 * config.make.in (CPPFLAGS-config): New substituted variable.
42197 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42199 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42202 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42203 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42205 2011-09-15 Roland McGrath <roland@hack.frob.com>
42207 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42208 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42209 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42210 (CALL_FAIL): Likewise.
42211 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42212 (CALL_FAIL): Macro removed.
42213 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42215 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42217 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42218 for __FINITE_MATH_ONLY__ == 1.
42220 2011-09-15 Andreas Schwab <schwab@redhat.com>
42222 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42223 __ieee754_sqrt instead of sqrt.
42224 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42225 __ieee754_sqrtf instead of sqrtf.
42226 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42227 __floorf instead of floorf.
42228 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42229 __floorf, __truncf instead of floorf, truncf.
42231 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42233 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42235 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42236 __extern_always_inline.
42237 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42240 2011-09-14 Andreas Schwab <schwab@redhat.com>
42242 * elf/rtld.c (dl_main): Also relocate in dependency order when
42243 doing symbol dependency testing.
42245 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42248 Always define `refsym'.
42250 2011-09-13 Andreas Schwab <schwab@redhat.com>
42252 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42253 (__FD_ELT): Renamed from __FDELT.
42254 * misc/bits/select2.h (__FD_ELT): Likewise.
42255 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42256 __FD_MASK instead of __FDELT, __FDMASK.
42257 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42259 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42262 * elf/Makefile (gen-ldd): Fix pattern.
42264 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42265 (init_tls): Likewise.
42267 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42269 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42271 2011-09-12 Andreas Schwab <schwab@redhat.com>
42273 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42274 `struct cmsghdr *' instead of `void *'.
42275 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42278 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42280 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42282 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42283 ldd_rewrite_script.
42285 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42287 * configure.in: Remove --with-tls option.
42288 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42289 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42290 out in case it is missing.
42291 * sysdeps/ia64/elf/configure.in: Likewise.
42292 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42293 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42294 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42295 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42296 * sysdeps/sh/elf/configure.in: Likewise.
42297 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42298 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42299 * sysdeps/x86_64/elf/configure.in: Likewise.
42300 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42301 * sysdeps/mach/hurd/tls.h: Likewise.
42304 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42307 * configure.in: Fix use of AC_INIT.
42309 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42311 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42313 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42315 * malloc/hooks.c: Likewise.
42318 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42319 variables statically.
42320 (narenas): Initialize.
42321 (list_lock): Initialize.
42322 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42323 initializtion of main_arena and list_lock. Small cleanups.
42324 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42325 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42326 Add initializers to main_arena and mp_.
42327 (malloc_state): Remove pagesize member. Change all users to use
42330 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42331 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42332 is always initialized.
42334 * malloc/malloc.c: Removed unused configurations and dead code.
42335 * malloc/arena.c: Likewise.
42336 * malloc/hooks.c: Likewise.
42337 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42339 * include/tls.h: Removed. USE___THREAD must always be defined.
42340 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42341 * elf/dl-libc.c: Likewise.
42342 * elf/dl-tsd.c: Likewise.
42343 * include/errno.h: Likewise.
42344 * include/netdb.h: Likewise.
42345 * include/resolv.h: Likewise.
42346 * inet/herrno-loc.c: Likewise.
42347 * inet/herrno.c: Likewise.
42348 * malloc/arena.c: Likewise.
42349 * malloc/hooks.c: Likewise.
42350 * malloc/malloc.c: Likewise.
42351 * resolv/res-state.c: Likewise.
42352 * resolv/res_libc.c: Likewise.
42353 * sysdeps/i386/dl-machine.h: Likewise.
42354 * sysdeps/ia64/dl-machine.h: Likewise.
42355 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42356 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42357 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42358 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42359 * sysdeps/sh/dl-machine.h: Likewise.
42360 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42361 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42362 * sysdeps/unix/i386/sysdep.S: Likewise.
42363 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42364 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42365 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42366 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42367 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42368 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42369 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42370 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42371 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42373 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42374 * sysdeps/x86_64/dl-machine.h: Likewise.
42375 * tls.make.c: Likewise.
42377 * configure.in: Remove --with-__thread option. Make tests for
42378 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42379 tls_model attribute fail if no support is available. Remove
42381 * Makeconfig: Adjust for dropped configure option. All features are
42383 * Makerules: Likewise.
42384 * Versions.def: Likewise.
42385 * argp/argp-fmtstream.c: Likewise.
42386 * argp/argp-fmtstream.h: Likewise.
42387 * argp/argp-help.c: Likewise.
42388 * assert/assert.c: Likewise.
42389 * config.h.in: Likewise.
42390 * config.make.in: Likewise.
42391 * configure: Likewise.
42392 * configure.in: Likewise.
42393 * csu/Versions: Likewise.
42394 * csu/init.c: Likewise.
42395 * elf/tst-audit2.c: Likewise.
42396 * elf/tst-tls10.c: Likewise.
42397 * elf/tst-tls10.h: Likewise.
42398 * elf/tst-tls11.c: Likewise.
42399 * elf/tst-tls12.c: Likewise.
42400 * elf/tst-tls14.c: Likewise.
42401 * elf/tst-tlsmod11.c: Likewise.
42402 * elf/tst-tlsmod12.c: Likewise.
42403 * elf/tst-tlsmod13.c: Likewise.
42404 * elf/tst-tlsmod13a.c: Likewise.
42405 * elf/tst-tlsmod14a.c: Likewise.
42406 * elf/tst-tlsmod15b.c: Likewise.
42407 * elf/tst-tlsmod16a.c: Likewise.
42408 * elf/tst-tlsmod16b.c: Likewise.
42409 * elf/tst-tlsmod7.c: Likewise.
42410 * elf/tst-tlsmod8.c: Likewise.
42411 * elf/tst-tlsmod9.c: Likewise.
42412 * gmon/gmon.c: Likewise.
42413 * grp/fgetgrent_r.c: Likewise.
42414 * grp/putgrent.c: Likewise.
42415 * hurd/fopenport.c: Likewise.
42416 * include/libc-symbols.h: Likewise.
42417 * include/tls.h: Likewise.
42418 * intl/gettextP.h: Likewise.
42419 * intl/loadinfo.h: Likewise.
42420 * locale/global-locale.c: Likewise.
42421 * locale/localeinfo.h: Likewise.
42422 * mach/devstream.c: Likewise.
42423 * malloc/arena.c: Likewise.
42424 * malloc/set-freeres.c: Likewise.
42425 * misc/err.c: Likewise.
42426 * misc/getttyent.c: Likewise.
42427 * misc/mntent_r.c: Likewise.
42428 * posix/getopt.c: Likewise.
42429 * posix/wordexp.c: Likewise.
42430 * pwd/fgetpwent_r.c: Likewise.
42431 * resolv/Versions: Likewise.
42432 * resolv/res_hconf.c: Likewise.
42433 * shadow/fgetspent_r.c: Likewise.
42434 * shadow/putspent.c: Likewise.
42435 * stdio-common/printf_fphex.c: Likewise.
42436 * stdio-common/tmpfile.c: Likewise.
42437 * stdlib/abort.c: Likewise.
42438 * stdlib/fmtmsg.c: Likewise.
42439 * sunrpc/auth_unix.c: Likewise.
42440 * sunrpc/clnt_perr.c: Likewise.
42441 * sunrpc/clnt_tcp.c: Likewise.
42442 * sunrpc/clnt_udp.c: Likewise.
42443 * sunrpc/clnt_unix.c: Likewise.
42444 * sunrpc/openchild.c: Likewise.
42445 * sunrpc/svc_simple.c: Likewise.
42446 * sunrpc/svc_tcp.c: Likewise.
42447 * sunrpc/svc_udp.c: Likewise.
42448 * sunrpc/svc_unix.c: Likewise.
42449 * sunrpc/xdr.c: Likewise.
42450 * sunrpc/xdr_array.c: Likewise.
42451 * sunrpc/xdr_rec.c: Likewise.
42452 * sunrpc/xdr_ref.c: Likewise.
42453 * sunrpc/xdr_stdio.c: Likewise.
42455 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42457 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42459 2011-07-03 Andreas Jaeger <aj@suse.de>
42461 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42462 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42463 regenerate with gen-libm-tests.pl.
42465 2010-05-12 Petr Baudis <pasky@suse.cz>
42468 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42469 around j0() zero points by switching to j1().
42470 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42471 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42472 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42473 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42475 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42477 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42479 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42481 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42482 Patch in part by Pavel Roskin <proski@gnu.org>.
42485 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42487 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42488 Free memory block if necessary.
42491 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42492 be NULL. Don't lock in this case.
42494 2011-09-09 Roland McGrath <roland@hack.frob.com>
42496 * elf/elf.h (ELFOSABI_GNU): New macro.
42497 (ELFOSABI_LINUX): Define to that.
42499 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42501 * string/strncat.c (strncat): Undef the symbol in case it has been
42502 defined in bits/string.h.
42504 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42506 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42508 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42511 2011-08-17 Andreas Jaeger <aj@suse.de>
42513 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42515 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42516 Ian Lance Taylor <iant@google.com>
42518 * math/libm-test.inc (lround_test): New testcase.
42519 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42521 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42523 * Makefile: Remove support for automatic cvs check-ins.
42524 * Makerules: Likewise.
42525 * config.make.in: Likewise.
42526 * configure.in: Likewise.
42527 * intl/Makefile: Likewise.
42528 * locale/Makefile: Likewise.
42529 * po/Makefile: Likewise.
42530 * posix/Makefile: Likewise.
42531 * sysdeps/gnu/Makefile: Likewise.
42532 * sysdeps/mach/hurd/Makefile: Likewise.
42533 * sysdeps/sparc/sparc32/Makefile: Likewise.
42536 * posix/Makefile (bug-regex32-ENV): Define.
42537 Patch by John Stanley <jpsinthemix@verizon.net>.
42539 * misc/Makefile (headers): Add bits/select2.h.
42540 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42541 * misc/bits/select2.h: New file.
42542 * include/bits/select2.h: New file.
42543 * debug/Makefile (routines): Add fdelt_chk.
42544 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42545 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42547 * debug/fdelt_chk.c: New file.
42549 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42550 * wcsmbs/test-wmemcmp.c: Likewise.
42551 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42552 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42554 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42556 * string/Makefile (strop-tests): Add memcmp.
42557 * string/test-wmemcmp.c: New file.
42558 * string/test-memcmp.c: Add wmemcmp support.
42560 2011-09-08 Roland McGrath <roland@hack.frob.com>
42563 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42566 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42567 garbage value in a __mach_port_mod_refs call in the cases of the
42568 task-self and thread-self ports.
42570 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42572 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42574 2011-09-08 Andreas Schwab <schwab@redhat.com>
42576 * elf/dl-load.c (lose): Check for non-null L.
42578 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42580 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42582 * elf/dl-libc.c (dlerror_run): Pass back error code from
42586 * elf/dl-load.c (lose): Free l_origin if it is valid.
42588 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42590 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42591 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42592 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42593 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42594 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42595 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42597 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42599 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42600 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42601 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42602 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42603 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42604 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42605 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42606 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42607 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42608 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42610 2011-08-15 Alan Modra <amodra@gmail.com>
42613 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42614 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42615 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42616 ppc_mcount to static-only-routines.
42617 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42619 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42620 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42622 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42624 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42625 for finite and infinity parameters.
42627 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42629 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42630 and add nop instructions for throughput optimization.
42631 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42633 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42635 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42636 aligned copy for power7 with vector-scalar instructions.
42637 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42639 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42641 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42644 2011-09-07 Andreas Schwab <schwab@redhat.com>
42647 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42650 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42652 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42653 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42654 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42655 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42658 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42660 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42661 Forgot to demangle the pointer.
42663 * sysdeps/i386/sysdep.h: Define atom_text_section.
42664 * sysdeps/x86_64/sysdep.h: Likewise.
42665 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42666 section with atom_text_section.
42667 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42668 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42669 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42670 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42671 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42673 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42674 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42675 already be defined. Change to take two parameters and don't assign
42676 result to variable. Adjust all users.
42677 Define INTERNAL_GETTIME if not already defined.
42678 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42681 HAVE_CLOCK_GETTIME_VSYSCALL.
42682 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42684 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42685 gettimeofday vsyscall, just use time.
42687 2011-09-06 Andreas Schwab <schwab@redhat.com>
42689 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42692 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42694 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42698 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42699 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42700 syscall if possible.
42702 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42704 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42705 e_ident. Don't pass to find_mapsXX.
42706 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42708 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42711 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42712 * sysdeps/x86_64/multiarch/strchr.S: Update.
42713 Check bit_slow_BSF bit.
42714 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42715 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42716 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42718 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42721 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42723 (tryshell): Define.
42724 (__spawni): Change last parameter to be flag. Test
42725 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42726 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42727 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42728 * posix/spawni.c: Likewise.
42729 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42730 * posix/spawnp.c: Likewise. Change normal version to use
42731 SPAWN_XFLAGS_USE_PATH.
42732 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42733 SPAWN_XFLAGS_TRY_SHELL.
42736 * posix/glob.h: Remove gcc 1.x support.
42739 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42741 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42744 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42746 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42747 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42748 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42749 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42750 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42751 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42753 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42755 * sysdeps/x86_64/wcscmp.S: New file.
42757 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42758 wcscmp-c wcscmp-sse2
42759 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42760 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42761 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42762 * wcsmbs/wcscmp.c: Allow renaming.
42764 2011-09-05 David S. Miller <davem@davemloft.net>
42766 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42767 stack slot, rather than the struct return pointer slot.
42768 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42769 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42771 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42773 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42775 * po/ja.po: Update from translation team.
42778 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42779 kernel in 64-bit binaries.
42781 2011-09-01 David S. Miller <davem@davemloft.net>
42783 * elf/elf.h (HWCAP_SPARC_*): Move to..
42784 * sysdeps/sparc/sysdep.h: this new file and add new values.
42785 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42786 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42787 _DL_HWCAP_COUNT to 24.
42788 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42790 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42791 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42792 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42793 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42794 instead of magic constants.
42795 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42797 2011-08-31 David S. Miller <davem@davemloft.net>
42799 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42800 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42801 Reimplement to do errno handling inline.
42802 (SYSCALL_ERROR_HANDLER): New macro.
42803 (__SYSCALL_STRING): Do not do errno handling in asm.
42804 (__CLONE_SYSCALL_STRING): Delete.
42805 (__INTERNAL_SYSCALL_STRING): Delete.
42806 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42807 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42808 (PSEUDO): Reimplement to do errno handling inline.
42809 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42810 (SYSCALL_ERROR_HANDLER): New macro.
42811 (__SYSCALL_STRING): Do not do errno handling in asm.
42812 (__CLONE_SYSCALL_STRING): Delete.
42813 (__INTERNAL_SYSCALL_STRING): Delete.
42814 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42815 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42817 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42818 (inline_syscall*): Add 'err' argument.
42819 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42820 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42821 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42822 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42824 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42825 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42827 2011-08-30 Andreas Schwab <schwab@redhat.com>
42829 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42831 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42833 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42836 2011-08-24 David S. Miller <davem@davemloft.net>
42838 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42840 2011-08-24 Andreas Schwab <schwab@redhat.com>
42842 * elf/Makefile: Add rules to build and run unload8 test.
42843 * elf/unload8.c: New file.
42844 * elf/unload8mod1.c: New file.
42845 * elf/unload8mod1x.c: New file.
42846 * elf/unload8mod2.c: New file.
42847 * elf/unload8mod3.c: New file.
42849 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42852 2011-08-23 David S. Miller <davem@davemloft.net>
42854 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42855 subtract stack bias.
42856 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42857 %sp not %fp in calculations.
42858 (_JMPBUF_UNWINDS_ADJ): Likewise.
42860 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42861 (aio_suspend): Call it to force an exception region around the
42862 AIO_MISC_WAIT() invocation.
42864 2011-08-23 Andreas Schwab <schwab@redhat.com>
42866 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42869 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42871 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42873 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42874 and <dl-machine.h>.
42875 (Elf64_FuncDesc): Remove.
42877 2011-08-22 David S. Miller <davem@davemloft.net>
42879 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42880 sigaltstack check, add missing cfi directives.
42881 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42882 missing cfi directives, and sigaltstack handling.
42884 2011-08-16 Andreas Schwab <schwab@redhat.com>
42887 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42888 object is seen twice.
42889 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42891 * elf/Makefile (distribute): Add tst-initorder2.c.
42892 (tests): Add tst-initorder2.
42893 (modules-names): Add tst-initorder2a tst-initorder2b
42894 tst-initorder2c tst-initorder2d. Add rules to build them.
42895 ($(objpfx)tst-initorder2.out): New rule.
42896 * elf/tst-initorder2.c: New file.
42897 * elf/tst-initorder2.exp: New file.
42899 2011-08-22 Andreas Schwab <schwab@redhat.com>
42901 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42903 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42904 dependencies back to end of function.
42906 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42907 $(elfobjdir)/ld.so.
42909 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42911 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42912 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42913 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42914 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42915 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42916 of __vdso_gettimeofday.
42917 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42918 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42920 (_libc_vdso_platform_setup): Remove initialization of
42921 __vdso_gettimeofday and __vdso_time.
42923 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42925 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42926 and fgetc_unlocked.
42927 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42930 * elf/dl-open.c (add_to_global): Report additions to the global scope
42931 for LD_DEBUG=scopes.
42932 (dl_open_worker): Also print scope of newly loaded dependencies.
42933 (_dl_show_scope): Indicate if there is no scope.
42936 * stdio-common/Makefile (tests): Add bug24.
42937 * stdio-common/bug24.c: New file.
42939 2011-08-19 Andreas Jaeger <aj@suse.de>
42942 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42943 non-existant file when using close-on-exec mode.
42945 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42948 the very first instruction.
42950 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42951 the CFI state in the end.
42952 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42953 inclusion of dl-trampoline.h.
42954 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42956 2011-08-19 Andreas Schwab <schwab@redhat.com>
42958 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42959 expectations for long double.
42961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42962 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42964 2011-08-14 David S. Miller <davem@davemloft.net>
42966 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42967 artificual limit depends upon the system page size.
42969 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42971 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42972 * resolv/Makefile: Define CFLAGS-libresolv.
42974 2011-08-17 Andreas Schwab <schwab@redhat.com>
42976 * nss/makedb.c (compute_tables): Make variables used in nested
42979 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42981 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42982 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42983 if buffer was too small.
42985 * elf/pldd.c (main): Attach to all threads in the process.
42986 Rewrite /proc handling to use *at functions.
42988 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42990 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42991 specifies first scope to show.
42992 (dl_open_worker): Update callers. Move printing scope of new
42993 object to before the relocation.
42994 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42995 * sysdeps/generic/ldsodefs.h: Update declaration.
42997 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42998 string for the scope number.
43000 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43002 * nscd/servicescache.c (cache_addserv): Make sure written is always
43005 2011-08-14 Roland McGrath <roland@hack.frob.com>
43007 * sysdeps/i386/i486/bits/atomic.h
43008 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43009 statement expression, so as to suppress "set but not used" warning.
43010 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43012 * string/strncat.c (STRNCAT): Use prototype definition.
43014 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43015 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43017 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43018 (localedef-modules): Add localedef.
43019 (locale-modules): Add locale.
43021 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43022 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43023 to avoid a warning.
43025 2011-08-14 David S. Miller <davem@davemloft.net>
43027 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43028 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43030 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43032 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43033 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43034 * elf/rtld.c (dl_main): Set l_name of vDSO.
43035 Call _dl_show_scope when DL_DEBUG_SCOPES.
43036 (process_dl_debug): Recognize scopes flag and also set it for all.
43037 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43038 Declare _dl_show_scope.
43040 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43041 (do_dlopen): Pass caller_dlopen to dl_open.
43042 (__libc_dlopen_mode): Initialize caller_dlopen.
43044 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43045 of libc. Make tolower call locale-independent. Optimize a bit by
43046 using isdigit instead of isalnum.
43047 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43049 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43051 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43052 was a dependency or dynamically loaded.
43054 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43056 * intl/l10nflist.c: Allow architecture-specific pop function.
43057 * sysdeps/x86_64/l10nflist.c: New file.
43059 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43062 2011-08-10 Andreas Schwab <schwab@redhat.com>
43064 * include/dirent.h: Add libc_hidden_proto for scandirat and
43065 scandirat64. Don't declare __scandirat64.
43066 * dirent/scandirat.c: Add libc_hidden_def.
43067 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43068 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43070 2011-08-10 David S. Miller <davem@davemloft.net>
43072 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43074 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43075 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43076 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43078 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43080 * Versions.def [libc]: Add GLIBC_2.15.
43081 * dirent/Makefile (routines): Add scandirat and scandirat64.
43082 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43084 * dirent/dirent.h: Declare scandirat and scandirat64.
43085 * dirent/scandirat.c: New file.
43086 * dirent/scandirat64.c: New file.
43087 * sysdeps/wordsize-64/scandirat.c: New file.
43088 * sysdeps/wordsize-64/scandirat64.c: New file.
43089 * dirent/opendir.c: Define opendirat.
43090 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43092 * dirent/scandir64.c: Adjust for scandir.c change.
43093 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43094 __scandirat64, and __scandir_cancel_handler.
43095 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43096 additional parameter and use openat instead of open (outside of ld.so).
43097 Add new __opendir as wrapper around __opendirat.
43098 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43099 here without requiring old scandirat implementation.
43101 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43103 * dirent/scandir.c (cancel_handler): Renamed to
43104 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43105 defined. Adjust users.
43106 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43107 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43109 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43111 * string/test-string.h (IMPL): Use __STRING to expand name and then
43114 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43117 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43119 * string/Makefile: Update.
43120 (strop-tests): Append strncat.
43121 * string/test-wcscmp.c: New file.
43122 New comprehensive test for wcscmp.
43123 * string/test-strcmp.c: Update.
43124 (WIDE): New define.
43126 2011-07-22 Andreas Schwab <schwab@redhat.com>
43128 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43131 2011-07-26 Andreas Schwab <schwab@redhat.com>
43133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43134 encoding to ACE if AI_IDN.
43136 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43138 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43139 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43141 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43143 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43144 Fix overflow bug in strncat.
43145 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43147 * string/test-strncat.c: Update.
43148 Add new tests for checking overflow bugs.
43150 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43153 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43154 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43155 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43156 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43157 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43158 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43159 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43160 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43162 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43163 (USE_AS_STRCAT): Define.
43164 Add strcat and strncat support.
43165 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43167 2011-07-25 Andreas Schwab <schwab@redhat.com>
43169 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43170 __n bigger than INT_MAX+1.
43171 (__strncmp_g): Likewise.
43173 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43175 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43176 * libio/stido.h: Likewise.
43178 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43183 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43184 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43185 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43186 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43187 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43190 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43195 (_dl_x86_64_save_sse): Likewise.
43197 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43199 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43201 (_dl_x86_64_save_sse): Likewise.
43203 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43205 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43207 2011-07-21 Andreas Schwab <schwab@redhat.com>
43209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43211 (_dl_x86_64_save_sse): Use correct AVX check.
43213 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43216 bug in strncpy/strncat.
43217 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43219 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43221 * string/tester.c (test_strcat): Add tests for different alignments
43222 of source and destination.
43223 (test_strncat): Likewise.
43225 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43228 * posix/glob.c (glob): Check passed in values before using them in
43229 expressions to avoid some overflows.
43230 (glob_in_dir): Likewise.
43233 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43234 check for AVX enablement so that we don't crash with old kernels and
43236 * elf/tst-audit4.c: Add same checks here.
43237 * elf/tst-audit6.c: Likewise.
43239 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43241 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43243 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43245 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43247 * po/cs.po: Update from translation team.
43248 * po/bg.po: Likewise.
43250 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43252 * misc/sys/cdefs.h: Add support for const attribute.
43253 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43254 to gnu_dev_{major,minor,makedev} functions.
43256 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43258 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43260 2011-07-20 Andreas Schwab <schwab@redhat.com>
43262 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43265 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43267 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43268 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43269 register in order to avoid conflicts with the soft frame pointer
43270 being held in r11 when necessary.
43271 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43272 (INTERNAL_VSYSCALL_NCS): Likewise.
43274 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43276 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43277 * elf/dl-fini.c (_dl_fini): Adjust caller.
43278 * elf/dl-close.c (_dl_close_worker): Likewise.
43279 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43281 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43283 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43284 "aux_cache->nlibs < 0".
43286 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43287 in the reload-count case.
43289 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43292 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43293 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43294 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43295 * sysdeps/x86_64/multiarch/strcat.S: New file.
43296 * sysdeps/x86_64/multiarch/strncat.S: New file.
43297 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43298 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43299 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43300 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43301 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43302 (USE_AS_STRCAT): Define.
43303 Add strcat and strncat support.
43304 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43305 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43306 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43307 * string/strncat.c: Update.
43308 (USE_AS_STRNCAT): Define.
43309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43310 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43312 * sysdeps/x86_64/multiarch/init-arch.h
43313 (bit_Prefer_PMINUB_for_stringop): New.
43314 (index_Prefer_PMINUB_for_stringop): Likewise.
43315 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43316 bit_Prefer_PMINUB_for_stringop.
43318 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43320 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43322 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43323 of casting of buffer.
43324 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43325 buffer32 and buffer64.
43326 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43327 writes instead of casting of buffer.
43328 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43330 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43333 2011-07-19 Andreas Schwab <schwab@redhat.com>
43335 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43337 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43339 * nscd/nscd.c (termination_handler): Don't do anything for a database
43340 if it has not yet been initialized.
43342 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43344 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43346 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43348 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43350 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43352 * po/nl.po: Update from translation team.
43353 * po/sv.po: Likewise.
43355 2011-07-16 Roland McGrath <roland@hack.frob.com>
43357 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43358 now disallowed by GCC.
43360 * configure.in (use-default-link): Default to yes if a test -shared
43361 link meets our qualifications.
43362 * configure: Regenerated.
43364 * config.make.in (output-format): New variable.
43365 * configure.in: Check for ld --print-output-format support.
43366 * configure: Regenerated.
43367 * Makerules ($(common-objpfx)format.lds)
43368 [$(output-format) != unknown]: Just use $(output-format),
43369 instead of the linker-script munging.
43371 2011-07-14 Roland McGrath <roland@hack.frob.com>
43373 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43374 of $(common-objpfx)shlib.lds.
43375 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43377 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43378 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43380 * configure.in (-z relro check): Adjust test code to add a large
43381 writable data section after it.
43382 * configure: Regenerated.
43384 2011-07-11 Roland McGrath <roland@hack.frob.com>
43386 * configure.in (-z relro check): Fix test code to make the variable
43388 * configure: Regenerated.
43390 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43392 * nscd/nscd.h (struct traced_file): Define.
43393 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43394 elements. Add traced_files.
43395 (inotify_fd): Declare.
43396 (register_traced_file): Declare.
43397 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43398 (inotify_fd): Export.
43399 (resolv_conf_descr): Remove.
43400 (nscd_init): Move inotify descriptor creation to main.
43401 Don't register files for notification here.
43402 (register_traced_file): New function.
43403 (invalidate_cache): Don't use reset_res to determine whether to call
43404 res_init, go through the list of registered files.
43405 (main_loop_poll): The inotify descriptors are now stored in the
43406 structures for the traced files.
43407 (main_loop_epoll): Likewise
43408 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43409 to __nss_disable_nscd.
43410 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43411 for a database anymore. Check the records for all the registered
43413 * nss/Makefile (libnss_files-routines): Add files-init.
43414 (libnss_db-routines): Add db-init.
43415 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43416 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43417 * nss/nss_db/db-init.c: New file.
43418 * nss/nss_files/files-init.c: New file.
43419 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43420 __nss_lookup_function.
43421 (__nss_lookup_function): Call nss_load_library.
43422 (nss_load_all_libraries): New function.
43423 (__nss_disable_nscd): Take parameter with callback function for files
43424 to register. Set is_nscd. Load all the DSOs for the NSS modules
43425 used for the cached services.
43426 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43427 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43428 options for features to all the files in nscd.
43430 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43432 2011-07-10 Roland McGrath <roland@hack.frob.com>
43434 * csu/elf-init.c (__libc_csu_init): Comment typo.
43436 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43438 * po/pl.po: Update from translation team.
43439 * po/ja.po: Likewise.
43440 * po/ru.po: Likewise.
43441 * po/ko.po: Likewise.
43442 * po/fr.po: Likewise.
43444 2011-07-09 Roland McGrath <roland@hack.frob.com>
43446 * configure.in (.ctors/.dtors header and trailer check):
43447 Use an empirical test on a built program.
43448 * configure: Regenerated.
43450 * configure.in (-z relro check): Use an empirical test on a built DSO.
43451 Detect, but do not require, on ia64.
43452 * configure: Regenerated.
43454 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43455 Update tests that use readelf to use $READELF instead.
43456 * configure: Regenerated.
43458 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43460 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43461 if the result is not used.
43463 2011-07-05 Andreas Jaeger <aj@suse.de>
43466 * stdlib/tst-strtod.c: Add testcase.
43468 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43470 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43471 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43472 The latter has a higher limit. Take additional parameter to pass to
43474 (__pathconf): Pass file to __statfs_link_max.
43475 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43477 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43481 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43482 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43484 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43485 (__statfs_filesize_max): Likewise.
43486 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43488 2011-07-05 Andreas Jaeger <aj@suse.de>
43490 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43492 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43494 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43496 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43499 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43501 * Makefile (strop-tests): Add strncat.
43502 * string/test-strncat.c: New file.
43504 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43506 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43508 2011-06-21 Andreas Jaeger <aj@suse.de>
43510 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43511 Copy rule from iconvdata/Makefile.
43513 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43516 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43517 but no long options are defined, just return 'W'.
43519 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43522 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43524 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43526 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43528 (innetgr): Likewise.
43530 2011-07-05 Roland McGrath <roland@hack.frob.com>
43532 * config.make.in (install_root): Default to $(DESTDIR).
43534 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43536 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43538 2011-07-02 Roland McGrath <roland@hack.frob.com>
43540 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43542 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43543 containing directory rather than embedding absolute directory names.
43545 * scripts/check-local-headers.sh: Rewritten using awk.
43546 Match by word, not by line. Print error messages for matches.
43547 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43549 * Makerules [shlib-lds-flags empty]:
43550 ($(common-objpfx)libc_pic.opts): New target.
43551 ($(common-objpfx)libc_pic.os.clean): New target.
43552 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43554 * config.make.in (OBJCOPY): New variable.
43555 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43556 * configure: Regenerated.
43558 * config.make.in (use-default-link): New variable.
43559 * configure.in (use_default_link): Grok --with-default-link to set it.
43560 * configure: Regenerated.
43561 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43562 (shlib-lds, shlib-lds-flags): Define to empty.
43564 * Makerules (shlib-lds): New variable.
43565 (shlib-lds-flags): New variable.
43566 (build-shlib, build-moduile, build-module-asneeded): Use it.
43567 ($(common-objpfx)libc.so): Use $(shlib-lds).
43568 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43569 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43571 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43572 DT_FLAGS/DT_FLAGS_1 with zero flags.
43574 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43575 linker script munging.
43577 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43579 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43581 * crypt/sha512.c (sha512_process_block): Perform total addition using
43582 128-bit if possible.
43583 (__sha512_finish_ctx): Likewise.
43584 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43586 * crypt/sha256.c (SWAP64): Define.
43587 (sha256_process_block): Perform total addition using 64-bit if
43589 (__sha256_finish_ctx): Likewise.
43591 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43593 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43594 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43595 * nscd/hstcache.c (cache_addhst): Likewise.
43596 * nscd/grpcache.c (cache_addgr): Likewise.
43597 * nscd/aicache.c (addhstaiX): Likewise
43598 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43600 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43602 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43603 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43604 * nscd/hstcache.c (cache_addhst): Likewise.
43605 * nscd/grpcache.c (cache_addgr): Likewise.
43606 * nscd/aicache.c (addhstaiX): Likewise
43608 2011-07-01 Andreas Schwab <schwab@redhat.com>
43610 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43611 domain only when needed.
43613 2011-06-30 Andreas Schwab <schwab@redhat.com>
43615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43616 is always restored.
43618 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43620 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43621 are re-adding the entry.
43622 * nscd/servicescache.c (cache_addserv): Likewise.
43624 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43626 * sysdeps/generic/dl-irel.h: fix protection against multiple
43628 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43630 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43633 * malloc/memusage.sh: Fix quoting in message.
43634 * debug/xtrace.sh: Likewise.
43636 * configure.in: Remove support for --experimental-malloc option, make
43638 * config.make.in: Likewise.
43639 * malloc/Makefile: Likewise.
43641 2011-06-27 Andreas Schwab <schwab@redhat.com>
43643 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43644 two-byte characters.
43646 2011-06-27 Roland McGrath <roland@hack.frob.com>
43648 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43649 AC_CACHE_CHECK invocation.
43650 * configure: Regenerated.
43652 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43654 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43657 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43658 bit from old_res_options.
43660 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43662 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43663 value type for setfct.
43665 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43667 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43668 __gettimeofday instead of gettimeofday.
43670 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43672 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43674 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43676 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43678 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43681 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43684 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43685 strcpy-sse2-unaligned strncpy-sse2-unaligned
43686 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43687 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43688 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43689 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43690 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43692 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43693 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43694 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43695 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43696 (STRCPY): Support SSE2 and SSSE3 versions.
43698 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43701 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43702 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43703 kernels which artificially limit size of requests.
43705 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43708 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43709 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43710 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43711 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43712 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43713 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43714 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43715 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43716 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43717 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43718 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43719 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43720 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43721 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43723 Enable unaligned load optimization for Intel Core i3, i5 and i7
43725 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43727 (index_Fast_Unaligned_Load): Define.
43728 (HAS_FAST_UNALIGNED_LOAD): Define.
43730 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43732 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43734 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43737 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43738 until it is clear that the information is realy needed.
43739 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43741 2011-06-22 Andreas Schwab <schwab@redhat.com>
43743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43745 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43747 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43748 /sys/devices/system/cpu/online if it is usable.
43750 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43751 reading the information from the /proc filesystem to once a second.
43753 2011-06-21 Andreas Jaeger <aj@suse.de>
43755 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43756 NULL after inclusion of kernel headers.
43758 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43760 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43761 calls to internal_setent.
43764 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43765 addresses using gethostbyname4_r ignore IPv4 addresses.
43767 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43768 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43770 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43772 2011-06-20 David S. Miller <davem@davemloft.net>
43774 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43776 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43778 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43779 (elf_irel): Use it.
43780 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43781 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43782 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43783 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43784 * sysdeps/x86_64/dl-irel.h: Likewise.
43786 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43787 * elf/dl-sym.c: Likewise.
43789 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43791 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43792 need to dereference resplen2.
43794 2011-06-14 Andreas Schwab <schwab@redhat.com>
43796 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43798 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43800 * Makeconfig: Define vardbdir and inst_vardbdir.
43801 * nss/Makefile: Add rules to install db-Makefile.
43803 * nss/nss_db/db-XXX.c: Cleanup.
43805 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43806 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43808 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43809 * nss/makedb.c: Implement -g option to specify that value strings
43810 are generated and should not be added to table iterated over for
43812 * nss/nss_db/db-initgroups.c: New file.
43814 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43817 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43818 (internal_getgrouplist): Adjust to name change.
43819 Update use_initgroups_entry if this is not the first call.
43820 * nss/databases.def: Add initgroups entry.
43822 * nss/makedb.c (compute_tables): Check result of multiple hash table
43823 sizes to minimize maximum chain length.
43825 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43827 * Versions.def: Add entry for libnss_db.
43828 * shlib-versions: Likewise.
43829 * nss/Makefile: Add rules to build libnss_db.
43830 * nss/Versions: Add libnss_db information. Organize libnss_files
43832 * nss/db-Makefile: Add gshadow support. Change rules for the new
43833 makedb progra. Some minor improvements to generate smaller files.
43834 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43836 * nss/makedb.c: ...here.
43837 Improve database format to be smaller and require less memory at
43839 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43841 * nss/nss_db/db-netgrp.c: Likewise.
43842 * nss/nss_db/db-open.c: Likewise.
43843 * nss/nss_files/flies-XXX.x: Adjust comments.
43844 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43845 * nss/nss_files/files-grp.c: Likewise.
43846 * nss/nss_files/files-hosts.c: Likewise.
43847 * nss/nss_files/files-network.c: Likewise.
43848 * nss/nss_files/files-proto.c: Likewise.
43849 * nss/nss_files/files-pwd.c: Likewise.
43850 * nss/nss_files/files-rpc.c: Likewise.
43851 * nss/nss_files/files-service.c: Likewise.
43852 * nss/nss_files/files-sgrp.c: Likewise.
43853 * nss/nss_files/files-spwd.c: Likewise.
43854 * nss/nss_db/db-alias.c: Removed.
43855 * nss/nss_db/dummy-db.h: Removed.
43857 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43859 * nss/makedb.c: Rewritten to not use database library.
43860 * nss/Makefile: Update to build new makedb program.
43862 2011-06-14 Andreas Jaeger <aj@suse.de>
43864 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43865 memset declaration.
43867 2011-06-10 Andreas Schwab <schwab@redhat.com>
43869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43872 2011-06-10 Roland McGrath <roland@hack.frob.com>
43874 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43875 * elf/Makefile ($(objpfx)ld.so): Likewise.
43877 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43878 Don't list ld.so twice in dependencies.
43880 * posix/bug-regex31.c: Include <stdlib.h>.
43882 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43884 * nis/nss_compat/compat-spwd.c
43885 (getspent_next_nss_netgr): Remove unused variable.
43886 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43888 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43889 nonmembers" output to use the right array.
43891 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43893 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43895 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43896 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43897 * catgets/gencat.c (read_input_file): Likewise.
43898 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43900 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43901 variable definition inside #if's controlling its use.
43903 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43905 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43907 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43909 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43912 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43914 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43915 * configure: Regenerated.
43917 * Makerules: Revert last change.
43918 * elf/Makefile: Likewise.
43920 2011-06-09 Roland McGrath <roland@hack.frob.com>
43922 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43923 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43924 (reloc-link): Likewise.
43926 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43928 * elf/Makefile: Add rules to build pldd.
43929 * elf/pldd.c: New file.
43930 * elf/pldd-xx.c: New file.
43932 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43934 * version.h: Update for 2.15 development version.
43936 2011-06-07 David S. Miller <davem@davemloft.net>
43938 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43940 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43941 elf_machine_lazy_rel): Likewise.
43942 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43943 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43944 elf_machine_lazy_rel): Likewise.
43945 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43946 dl_hwcap via passed in argument.
43947 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43950 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43952 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43954 2011-06-06 Roland McGrath <roland@hack.frob.com>
43957 * manual/fdl-1.1.texi: New file, verbatim from:
43958 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43959 * manual/lgpl-2.1.texi: New file, verbatim from:
43960 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43961 * manual/Makefile (licenses): New variable, list those new file names.
43963 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43965 * manual/fdl.texi: File removed.
43966 * manual/lesser.texi: File removed.
43967 * manual/libc.texinfo (Copying, Documentation License):
43968 Use new @include file names, put @appendix directive before @include.
43970 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43973 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43974 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43975 (mq_open): Add __NTH.
43977 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43980 Assume Intel Core i3/i5/i7 processor if AVX is available.
43982 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43984 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43987 2011-05-31 Andreas Schwab <schwab@redhat.com>
43989 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43990 memory. Use alloca_account. Fix memory leak when retrying.
43992 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43994 * version.h (RELEASE): Bump for 2.14 release.
43995 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43997 * config.make.in (RANLIB): Remove entry.
43999 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44001 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44002 (libc.pot): Work around missing support for .ksh extension in xgettext.
44005 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44006 if both request failed.
44007 (send_dg): In case of server errors clear resplen or *resplen2.
44010 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44011 when there are multiple maps.
44012 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44013 (_dl_fini): Remove test here.
44015 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44017 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44020 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44021 bit from old_res_options.
44022 (gaih_inet): Likewise.
44025 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44028 * resolv/res_init.c (res_setoptions): Make the code more compact.
44031 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44035 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44037 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44040 * malloc/malloc.h: Declare malloc hook variables as volatile.
44042 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44046 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44047 raise in the comment.
44048 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44049 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44050 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44052 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44055 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44056 grow the buffers more if it already has to be sufficient.
44057 (build_wcs_upper_buffer): Likewise.
44058 * posix/regexec.c (check_matching): Likewise.
44059 (clean_state_log_if_needed): Likewise.
44060 (extend_buffers): Don't enlarge buffers beyond size of the input
44062 Patches mostly by Emil Wojak <emil@wojak.eu>.
44063 * posix/bug-regex32.c: New file.
44064 * posix/Makefile (tests): Add bug-regex32.
44066 * locale/findlocale.c (_nl_find_locale): Return right away if
44067 _nl_explode_name failed.
44068 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44070 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44072 * debug/xtrace.sh: Unify messages.
44073 * malloc/memusage.sh: Likewise.
44076 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44077 time symbol from vDSO. Substitute with vsyscall if not available.
44078 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44081 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44082 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44083 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44084 Add sendmmsg and internal_sendmmsg.
44085 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44086 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44087 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44089 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44090 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44091 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44093 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44096 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44097 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44099 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44103 * iconvdata/Makefile (tests): Add bug-iconv9.
44104 * iconvdata/bug-iconv9.c: New file.
44106 2011-05-27 Andreas Schwab <schwab@redhat.com>
44109 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44111 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44113 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44114 (struct user_regs_struct): Change intcs field back to cs.
44116 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44118 * po/ja.po: Update from translation team.
44120 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44123 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44124 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44126 2011-05-20 Andreas Schwab <schwab@redhat.com>
44128 * stdlib/longlong.h: Update from GCC.
44130 2011-05-23 Andreas Schwab <schwab@redhat.com>
44132 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44134 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44135 Add parameter name.
44136 (__sysconf): Pass it down.
44138 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44141 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44143 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44144 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44145 add in in __libc_use_alloca calls. Adjust callers.
44146 (glob): Use malloc in some situations.
44148 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44149 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44152 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44154 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44155 and CLOCK_BOOTTIME_ALARM.
44158 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44161 * string/_strerror.c (__strerror_r): Print negative errors as signed
44165 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44166 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44167 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44169 * configure.in: Fix typo in redirection and correct removal of test
44170 files in two cases.
44173 * locale/setlocale.c (new_composite_name): Fix test to check for
44174 identical name of all categories.
44177 * libio/filedoalloc.c (local_isatty): New function.
44178 (_IO_file_doallocate): Use local_isatty.
44179 * stdio-common/perror.c (perror): In case a new stream is used
44180 forward the stream error.
44181 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44184 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44189 * include/alloca.h (extend_alloca_account): Define.
44192 * posix/regex.h: Fix comments with documentation of user-accessible
44193 fields after compilation and describe correct free'ing of pattern
44194 after re_compile_pattern.
44195 Patch by Reuben Thomas <rrt@sc3d.org>.
44197 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44199 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44200 and -mno-altivec to prevent the compiler from using Altivec and/or
44201 VSX instructions when the corresponding registers are not available.
44203 2011-05-19 Andreas Schwab <schwab@redhat.com>
44205 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44207 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44209 * libio/freopen.c (freopen): Use __dup2, not dup2.
44210 * libio/freopen64.c (freopen64): Likewise.
44212 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44215 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44216 * math/Makefile (tests): Add test-powl.
44217 (CFLAGS-test-powl.c): Define.
44218 * math/test-powl.c: New file.
44220 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44222 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44224 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44227 * iconvdata/gb18030.c: Update to GB18020-2005.
44229 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44231 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44232 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44233 Patch by Aharon Robbins <arnold@skeeve.com>.
44236 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44240 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44241 through underflows.
44244 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44245 point to strings before performing equality test for error_one_per_line
44249 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44252 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44253 (struct user_fpregs_struct): Avoid __uint*_t types.
44256 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44257 symbol info. Use it instead of calling _dl_addr locally.
44258 (lock_and_info): New function.
44259 (tr_freehook): Call lock_and_info and pass symbol info as additional
44260 parameter to tr_where.
44261 (tr_mallochook): Likewise.
44262 (tr_reallochook): Likewise.
44263 (tr_memalignhook): Likewise.
44265 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44266 used and couldn't be at all thread-safe.
44268 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44270 * libio/freopen.c (freopen): Don't close old file descriptor
44271 before the new one is opened. Instead dup the new file descriptor
44272 to the old one after the new stream is created.
44273 * libio/freopen64.c (freopen64): Likewise.
44274 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44275 * libio/fileops.c (_IO_new_file_close_it): Handle new
44276 _IO_FLAGS2_NOCLOSE flag.
44277 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44278 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44279 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44280 _IO_FLAGS2_NOCLOSE flag.
44281 * include/unistd.h: Add hidden_proto for dup3.
44282 Define __have_dup3.
44283 * io/dup3.c: Define hidden symbol.
44284 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44287 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44288 when an incomplete long option is used.
44289 * posix/tst-getopt_long1.c: New file.
44290 * posix/Makefile (tests): Add tst-getopt_long1.
44293 * scripts/config.guess: Update from autoconf-2.68.
44294 * scripts/config.sub: Likewise.
44297 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44299 (has_cpuclock): ...this. New function.
44300 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44301 macro here based on has_cpuclock code.
44304 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44305 First byte (not low byte) is now always NUL.
44306 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44308 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44309 Use non-cancelable interfaces.
44312 * locale/iso-639.def: Add entry for Sorani.
44315 * include/stdlib.h: Move include protection to the right place.
44316 Define abort_msg_s. Declare __abort_msg with it.
44317 * stdlib/abort.c (__abort_msg): Adjust type.
44318 * assert/assert.c (__assert_fail_base): New function. Majority
44319 of code from __assert_fail. Allocate memory for __abort_msg with
44321 (__assert_fail): Now call __assert_fail_base.
44322 * assert/assert-perr.c: Remove bulk of implementation. Use
44323 __assert_fail_base.
44324 * include/assert.hL Declare __assert_fail_base.
44325 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44327 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44329 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44333 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44334 until all modules are registered in the DTV.
44335 * elf/Makefile: Add rules to build and run tst-tls19.
44336 * elf/tst-tls19.c: New file.
44337 * elf/tst-tls19mod1.c: New file.
44338 * elf/tst-tls19mod2.c: New file.
44339 * elf/tst-tls19mod3.c: New file.
44340 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44343 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44347 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44348 two-byte sequence errors.
44349 * iconvdata/Makefile (tests): Add bug-iconv8.
44350 * iconvdata/bug-iconv8.c: New file.
44353 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44356 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44359 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44360 (dummy_getcfa): New function.
44361 (init): Get _Unwind_GetCFA address, use dummy if not found.
44362 (backtrace_helper): In recursion check, also check whether CFA changes.
44363 (__backtrace): Completely initialize arg.
44365 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44366 storing incomplete byte sequence in state object. Avoid testing for
44367 guaranteed too small input if we know there is enough data available.
44369 2011-05-11 Andreas Schwab <schwab@redhat.com>
44371 * Makeconfig (+link-pie): Indent.
44372 * Rules (binaries-pie): Define if $(have-fpie) and
44374 (binaries-shared): Also filter out $(binaries-pie).
44375 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44376 * nscd/Makefile (others-pie): Add nscd.
44377 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44378 ($(objpfx)nscd): Remove command override.
44379 * login/Makefile (others-pie): Add pt_chown.
44380 ($(objpfx)pt_chown): Remove command override.
44381 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44382 remove command overrides.
44384 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44386 * libio/tst_putwc.c: Fix error messages.
44389 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44390 currently writing and seek to current position when not.
44391 * libio/Makefile (tests): Add bug-fclose1.
44392 * libio/bug-fclose1.c: New file.
44394 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44397 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44398 don't set DF_1_NODELETE here.
44399 (do_lookup_x): When entering new entry test for copy relocation
44400 and if necessary set DF_1_NODELETE flag.
44401 * elf/tst-unique4.cc: New file.
44402 * elf/tst-unique4.h: New file.
44403 * elf/tst-unique4lib.cc: New file.
44404 * elf/Makefile: Add rules to build and run tst-unique4.
44405 Patch by Piotr Bury <pbury@goahead.com>.
44407 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44410 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44413 * misc/mntent_r.c (addmntent): Flush the stream after the output
44416 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44417 (is_trusted_path_normalize): Skip initial colon. Append slash
44418 to empty buffer. Duplicate is_trusted_path code but allow
44419 constructed patch to be prefix.
44420 (is_dst): Allow $ORIGIN followed by /.
44421 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44422 Correct testing of result of is_trusted_path_normalize
44423 (decompose_rpath): Fix warning.
44425 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44428 * grp/initgroups.c (internal_getgrouplist): When we found the service
44429 list through the initgroups entry in nsswitch.conf do not always
44430 continue on a successful lookup. Don't always use the
44431 __nss_group_database value if it is set.
44432 * nss/nsswitch.conf (initgroups): Change action for successful db
44433 lookup to continue for compatibility.
44435 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44438 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44440 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44442 * iconvdata/tst-tables.sh: Likewise.
44443 * iconvdata/cp770.c: New file.
44444 * iconvdata/cp771.c: New file.
44445 * iconvdata/cp772.c: New file.
44446 * iconvdata/cp773.c: New file.
44447 * iconvdata/cp774.c: New file.
44448 * iconvdata/testdata/CP770: New file.
44449 * iconvdata/testdata/CP770..UTF8: New file.
44450 * iconvdata/testdata/CP771: New file.
44451 * iconvdata/testdata/CP771..UTF8: New file.
44452 * iconvdata/testdata/CP772: New file.
44453 * iconvdata/testdata/CP772..UTF8: New file.
44454 * iconvdata/testdata/CP773: New file.
44455 * iconvdata/testdata/CP773..UTF8: New file.
44456 * iconvdata/testdata/CP774: New file.
44457 * iconvdata/testdata/CP774..UTF8: New file.
44459 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44461 * iconvdata/gen-8bit-gap.sh: Likewise.
44462 * iconvdata/gen-8bit.sh: Likewise.
44464 * locale/iso-639.def: Add ary entry.
44467 * locale/C-translit.h.in: Add U20A1 transliteration.
44470 * locale/iso-639.def: Add wae entry.
44471 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44474 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44478 * locale/C-translit.h.in: Add entry for U20B9.
44479 Patch by pravin.d.s@gmail.com.
44481 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44484 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44485 ENAMETOOLONG use generic getcwd.
44486 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44487 in rtld. Use *stat64.
44488 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44489 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44490 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44491 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44492 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44493 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44494 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44495 __fstatat64 macros.
44496 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44497 * dirent/rewinddir.c: Add libc_hidden_def.
44498 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44499 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44501 * include/dirent.h (__alloc_dir): Add flags parameter.
44502 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44503 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44505 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44506 from fdopendir if O_CLOEXEC is already set.
44508 2011-03-15 Alan Modra <amodra@gmail.com>
44510 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44511 l_tls_firstbyte_offset non-zero. Save padding offset in
44512 l_tls_firstbyte_offset for later use.
44513 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44514 freeing static tls block.
44516 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44518 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44519 where #ifdef was intended. The intent is to prevent ARG_MAX from
44520 being defined by the kernel headers.
44522 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44525 * resolv/resolv.h: Define RES_NOTLDQUERY.
44526 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44527 no-tld-query and set RES_NOTLDQUERY.
44528 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44529 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44530 modern BIND to search name as TLD unless forbidden.
44532 2011-05-07 Petr Baudis <pasky@suse.cz>
44533 Ulrich Drepper <drepper@gmail.com>
44536 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44537 (is_trusted_path): ...to here.
44538 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44539 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44540 using is_trusted_path_normalize() in setuid scripts.
44542 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44544 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44545 __BEGIN/__END_DECLS.
44547 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44549 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44550 NSS_STATUS_NOTFOUND if no record was found.
44552 2011-05-05 Andreas Schwab <schwab@redhat.com>
44554 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44555 (headers-not-in-tirpc): Remove rpc/netdb.h
44556 * resolv/netdb.h: Revert last change.
44558 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44560 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44561 circular dependency between libgcc.a and libc.a.
44563 2011-05-05 Andreas Schwab <schwab@redhat.com>
44565 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44566 * nis/Makefile: Don't install rpcsvc/*.
44567 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44568 instead of <rpc/types.h>.
44569 (MAXHOSTNAMELEN): Define.
44571 2011-05-03 Andreas Schwab <schwab@redhat.com>
44573 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44575 2011-04-28 Maciej Babinski <mbabinski@google.com>
44578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44579 gethostbyname4_r when IPv6 results are possible.
44581 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44584 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44585 _PC_PIPE_BUF handling.
44587 2011-04-30 Bruno Haible <bruno@clisp.org>
44590 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44591 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44593 * inet/getnameinfo.c (getnameinfo): Likewise.
44595 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44597 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44598 to groups setting in database lookup.
44599 * nss/nsswitch.conf: Add initgroups entry.
44601 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44604 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44606 Patch by Eric Blake <eblake@redhat.com>.
44608 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44610 * sunrpc/Makefile (need-export-routines): Add svc_run.
44611 (routines): Remove svc_run.
44612 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44613 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44614 * sunrpc/svc_run.c (svc_run): Likewise.
44615 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44617 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44619 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44620 problem in reallocation in last patch.
44622 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44624 * sunrpc/Makefile: Move inclusion of Rules.
44626 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44628 * nss/nss_files/files-initgroups.c: New file.
44629 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44630 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44631 _nss_files_initgroups_dyn.
44633 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44635 * elf/elf.h (R_ARM_IRELATIVE): Define.
44637 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44639 * po/ru.po: Update from translation team.
44641 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44643 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44646 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44649 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44650 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44651 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44652 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44653 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44655 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44657 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44659 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44660 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44661 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44663 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44666 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44668 * stdlib/bug-getcontext.c: New file.
44669 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44671 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44673 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44674 instructions into .machine "z9-109".
44675 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44676 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44678 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44680 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44681 between environment variables and auxiliary vector.
44683 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44685 * Makefile: Add rules to build linkobj/libc.so.
44686 * include/libc-symbols.h: Define libc_hidden_nolink.
44687 * include/rpc/auth.h: Mark functions which are to be hidden.
44688 * include/rpc/auth_des.h: Likewise.
44689 * include/rpc/auth_unix.h: Likewise.
44690 * include/rpc/clnt.h: Likewise.
44691 * include/rpc/des_crypt.h: Likewise.
44692 * include/rpc/key_prot.h: Likewise.
44693 * include/rpc/pmap_clnt.h: Likewise.
44694 * include/rpc/pmap_prot.h: Likewise.
44695 * include/rpc/pmap_rmt.h: Likewise.
44696 * include/rpc/rpc_msg.h: Likewise.
44697 * include/rpc/svc.h: Likewise.
44698 * include/rpc/svc_auth.h: Likewise.
44699 * include/rpc/xdr.h: Likewise.
44700 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44701 * nss/Makefile: Likewise.
44702 * sunrpc/Makefile: Don't install headers. Build library with normal
44703 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44704 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44705 for the compat linking library. Remove use of INTDEF/INTUSE.
44706 * sunrpc/auth_none.c: Likewise.
44707 * sunrpc/auth_unix.c: Likewise.
44708 * sunrpc/authdes_prot.c: Likewise.
44709 * sunrpc/authuxprot.c: Likewise.
44710 * sunrpc/clnt_gen.c: Likewise.
44711 * sunrpc/clnt_perr.c: Likewise.
44712 * sunrpc/clnt_raw.c: Likewise.
44713 * sunrpc/clnt_simp.c: Likewise.
44714 * sunrpc/clnt_tcp.c: Likewise.
44715 * sunrpc/clnt_udp.c: Likewise.
44716 * sunrpc/clnt_unix.c: Likewise.
44717 * sunrpc/des_crypt.c: Likewise.
44718 * sunrpc/des_soft.c: Likewise.
44719 * sunrpc/get_myaddr.c: Likewise.
44720 * sunrpc/key_call.c: Likewise.
44721 * sunrpc/key_prot.c: Likewise.
44722 * sunrpc/netname.c: Likewise.
44723 * sunrpc/pm_getmaps.c: Likewise.
44724 * sunrpc/pm_getport.c: Likewise.
44725 * sunrpc/pmap_clnt.c: Likewise.
44726 * sunrpc/pmap_prot.c: Likewise.
44727 * sunrpc/pmap_prot2.c: Likewise.
44728 * sunrpc/pmap_rmt.c: Likewise.
44729 * sunrpc/publickey.c: Likewise.
44730 * sunrpc/rpc_cmsg.c: Likewise.
44731 * sunrpc/rpc_common.c: Likewise.
44732 * sunrpc/rpc_dtable.c: Likewise.
44733 * sunrpc/rpc_prot.c: Likewise.
44734 * sunrpc/rpc_thread.c: Likewise.
44735 * sunrpc/rtime.c: Likewise.
44736 * sunrpc/svc.c: Likewise.
44737 * sunrpc/svc_auth.c: Likewise.
44738 * sunrpc/svc_authux.c: Likewise.
44739 * sunrpc/svc_raw.c: Likewise.
44740 * sunrpc/svc_run.c: Likewise.
44741 * sunrpc/svc_simple.c: Likewise.
44742 * sunrpc/svc_tcp.c: Likewise.
44743 * sunrpc/svc_udp.c: Likewise.
44744 * sunrpc/svc_unix.c: Likewise.
44745 * sunrpc/svcauth_des.c: Likewise.
44746 * sunrpc/xcrypt.c: Likewise.
44747 * sunrpc/xdr.c: Likewise.
44748 * sunrpc/xdr_array.c: Likewise.
44749 * sunrpc/xdr_float.c: Likewise.
44750 * sunrpc/xdr_intXX_t.c: Likewise.
44751 * sunrpc/xdr_mem.c: Likewise.
44752 * sunrpc/xdr_rec.c: Likewise.
44753 * sunrpc/xdr_ref.c: Likewise.
44754 * sunrpc/xdr_sizeof.c: Likewise.
44755 * sunrpc/xdr_stdio.c: Likewise.
44757 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44760 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44761 * sysdeps/ia64/dl-tls.h: Likewise.
44762 * sysdeps/powerpc/dl-tls.h: Likewise.
44763 * sysdeps/s390/dl-tls.h: Likewise.
44764 * sysdeps/sh/dl-tls.h: Likewise.
44765 * sysdeps/sparc/dl-tls.h: Likewise.
44766 * sysdeps/x86_64/dl-tls.h: Likewise.
44767 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44769 2011-03-14 Andreas Schwab <schwab@redhat.com>
44771 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44772 rpath element also skip the following colon.
44773 (expand_dynamic_string_token): Add is_path parameter and pass
44774 down to DL_DST_REQUIRED and _dl_dst_substitute.
44775 (decompose_rpath): Call expand_dynamic_string_token with
44776 non-zero is_path. Ignore empty rpaths.
44777 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44780 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44785 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44788 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44789 Patch by Filipe David Manana <fdmanana@apache.org>.
44791 2011-04-07 Andreas Schwab <schwab@redhat.com>
44793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44794 Maintain aligned stack.
44795 (CHECK_RSP): Remove unused macro.
44797 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44799 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44800 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44802 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44804 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44806 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44808 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44811 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44812 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44813 * sysdeps/x86_64/memmove.c: New file.
44814 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44815 (memcpy): Renamed to ...
44816 (__new_memcpy): This.
44817 (memcpy): Provide GLIBC_2_14 memcpy.
44818 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44819 (memcpy): Provide GLIBC_2_2_5 memcpy.
44821 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44824 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44826 2011-03-30 Andreas Schwab <schwab@redhat.com>
44828 * misc/syncfs.c: New file.
44829 * misc/Makefile (routines): Add syncfs.
44830 * posix/unistd.h: Declare syncfs.
44831 * sysdeps/unix/syscalls.list: Add syncfs.
44833 2011-04-01 Andreas Schwab <schwab@redhat.com>
44835 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44837 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44838 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44839 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44840 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44841 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44842 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44843 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44845 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44847 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44848 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44849 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44851 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44853 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44855 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44856 sync_file_range.c with -fexceptions.
44857 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44858 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44859 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44860 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44861 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44862 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44863 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44864 sync_file_range as cancellation point
44865 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44866 now a wrapper around __call_sync_file_range with cancellation handling.
44867 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44868 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44869 function name to __call_sync_file_range.
44870 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44871 Add call_sync_file_range.
44873 2011-04-01 Andreas Schwab <schwab@redhat.com>
44875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44878 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44880 * iconv/iconv.h: Fix typo in comment.
44881 * io/fcntl.h: Likewise.
44882 * libio/stdio.h: Likewise.
44883 * posix/spawn.h: Likewise.
44884 * posix/unistd.h: Likewise.
44885 * stdlib/stdlib.h: Likewise.
44886 * time/time.h: Likewise.
44887 * wcsmbs/wchar.h: Likewise.
44889 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44890 open_by_handle): Add.
44891 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44892 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44893 Augment a few comments.
44894 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44895 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44896 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44898 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44899 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44902 * io/fcntl.h (AT_EMPTY_PATH): Define.
44904 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44906 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44907 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44908 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44910 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44911 * Versions.def: Add GLIBC_2.14.
44912 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44915 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44917 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44919 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44921 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44924 * string/test-strncmp.c (do_page_test): New function.
44925 (check2): Likewise.
44926 (test_main): Call check2.
44927 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44929 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44932 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44933 Handle cache information in CPU leaf 4.
44934 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44936 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44939 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44940 character representation.
44941 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44943 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44945 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44946 END(__isnan) to END(__isnanf) to match function entry point/label
44947 EALIGN(__isnanf,...).
44949 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44951 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44953 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44956 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44957 copy from the symbol referenced in the relocation to initialize the
44959 Patch by Piotr Bury <pbury@goahead.com>.
44960 * elf/Makefile: Add rules to build and tst-unique3.
44961 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44962 * elf/tst-unique3.cc: New file.
44963 * elf/tst-unique3.h: New file.
44964 * elf/tst-unique3lib.cc: New file.
44965 * elf/tst-unique3lib2.cc: New file.
44967 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44969 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44971 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44972 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44975 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44977 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44978 to-be-loaded object along a path to loader is ld.so.
44980 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44981 Ulrich Drepper <drepper@gmail.com>
44983 * sysdeps/x86_64/memset.S: After aligning destination, code
44984 branches to different locations depending on the value of
44985 misalignment, when multiarch is enabled. Fix this.
44987 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44989 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44990 Set _x86_64_preferred_memory_instruction for AMD processsors.
44991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44992 Set bit_Prefer_SSE_for_memop for AMD processors.
44994 2011-03-04 Ulrich Drepper <drepper@gmail.com>
44996 * libio/fmemopen.c (fmemopen): Optimize a bit.
44998 2011-03-03 Andreas Schwab <schwab@redhat.com>
45000 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45002 2011-03-03 Roland McGrath <roland@redhat.com>
45004 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45006 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45008 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45009 __bzero_ultra1 instead of __memset_ultra1.
45011 2011-02-23 Andreas Schwab <schwab@redhat.com>
45012 Ulrich Drepper <drepper@gmail.com>
45015 * include/link.h (struct link_map): Add l_orig_initfini.
45016 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45017 returning unsuccessfully.
45018 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45019 close of a file loaded at startup, restore the original l_initfini
45021 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45022 list, store the pointer.
45023 * elf/Makefile ($(objpfx)noload-mem): New rule.
45024 (noload-ENV): Define.
45025 (tests): Add $(objpfx)noload-mem.
45026 * elf/noload.c: Include <memcheck.h>.
45027 (main): Call mtrace. Close all opened handles.
45029 2011-02-17 Andreas Schwab <schwab@redhat.com>
45032 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45033 dependencies are missing.
45035 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45037 Fix __if_freereq crash: Unlike the generic version which uses free,
45039 * sysdeps/mach/hurd/ifreq.h: New file.
45041 2011-01-27 Petr Baudis <pasky@suse.cz>
45042 Ulrich Drepper <drepper@gmail.com>
45045 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45046 to extend_alloca().
45047 * stdio-common/bug23.c: New file.
45048 * stdio-common/Makefile (tests): Add bug23.
45050 2010-09-28 Andreas Schwab <schwab@redhat.com>
45051 Ulrich Drepper <drepper@gmail.com>
45054 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45055 before performing relro protection. At old place add assertion
45056 to make sure nothing changed.
45058 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45059 Glauber de Oliveira Costa <glommer@gmail.com>
45061 * elf/elf.h: Add new ARM TLS relocs.
45063 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45066 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45068 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45070 * sysdeps/wordsize-64/tst-writev.c: New file.
45072 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45074 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45075 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45076 insns in _dl_start to prevent a TOC reference before relocs are
45079 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45082 * Makeconfig: Remove RANLIB definition.
45083 * Makerules: Don't use RANLIB.
45084 * aclocal.m4: Remove ranlib test.
45085 * configure.in: No need to check for ranlib.
45086 * elf/rtld-Rules: Don't use RANLIB.
45088 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45090 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45092 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45093 inclusion protection macro.
45095 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45096 SIGRTMIN and SIGRTMAX and print information in that case only when
45097 SIGRTMIN is defined.
45099 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45101 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45102 arginfo fn returning -1.
45104 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45105 and thousands string is zero terminated.
45107 2011-02-03 Andreas Schwab <schwab@redhat.com>
45109 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45110 sysdeps/unix/sysv/linux/bits/socket.h.
45112 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45114 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45115 (__CPU_COUNT): Remove old macros.
45116 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45117 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45118 (__CPU_ALLOC, __CPU_FREE): Add macros.
45119 (__sched_cpualloc, __sched_cpufree): Add declarations.
45121 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45123 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45124 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45125 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45126 (readdhstai): Return value of addhstaiX call.
45127 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45128 (addgrbyX): Return value returned by cache_addgr.
45129 (readdgrbyname): Return value returned by addgrbyX.
45130 (readdgrbygid): Likewise.
45131 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45132 (addpwbyX): Return value returned by cache_addpw.
45133 (readdpwbyname): Return value returned by addhstbyX.
45134 (readdpwbyuid): Likewise.
45135 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45136 (addservbyX): Return value returned by cache_addserv.
45137 (readdservbyname): Return value returned by addservbyX:
45138 (readdservbyport): Likewise.
45139 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45140 (addhstbyX): Return value returned by cache_addhst.
45141 (readdhstbyname): Return value returned by addhstbyX.
45142 (readdhstbyaddr): Likewise.
45143 (readdhstbynamev6): Likewise.
45144 (readdhstbyaddrv6): Likewise.
45145 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45146 (readdinitgroups): Return value returned by addinitgroupsX.
45147 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45148 (prune_cache): Keep track of timeout value of re-added entries.
45149 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45150 * nscd/nscd.h: Adjust prototypes of readd* functions.
45152 2011-02-04 Roland McGrath <roland@redhat.com>
45154 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45155 (nis_stats): Likewise.
45156 * nis/nis_modify.c (nis_modify): Likewise.
45157 * nis/nis_remove.c (nis_remove): Likewise.
45158 * nis/nis_add.c (nis_add): Likewise.
45160 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45162 * posix/fnmatch_loop.c: Add some consts.
45164 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45166 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45169 * config.make.in (config-cflags-novzeroupper): Define.
45170 * configure.in: Substitute libc_cv_cc_novzeroupper.
45171 * elf/Makefile (AVX-CFLAGS): Define.
45172 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45173 (CFLAGS-tst-auditmod4a.c): Likewise.
45174 (CFLAGS-tst-auditmod4b.c): Likewise.
45175 (CFLAGS-tst-auditmod6b.c): Likewise.
45176 (CFLAGS-tst-auditmod6c.c): Likewise.
45177 (CFLAGS-tst-auditmod7b.c): Likewise.
45178 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45180 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45182 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45183 function to the callback.
45184 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45186 2011-02-02 Andreas Schwab <schwab@redhat.com>
45188 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45191 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45194 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45196 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45198 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45201 * elf/Makefile: Add rules to build and run new test.
45202 * elf/tst-initorder.c: New file.
45203 * elf/tst-initorder.exp: New file.
45204 * elf/tst-initordera1.c: New file.
45205 * elf/tst-initordera2.c: New file.
45206 * elf/tst-initordera3.c: New file.
45207 * elf/tst-initordera4.c: New file.
45208 * elf/tst-initorderb1.c: New file.
45209 * elf/tst-initorderb2.c: New file.
45210 * elf/tst-order-a1.c: New file.
45211 * elf/tst-order-a2.c: New file.
45212 * elf/tst-order-a3.c: New file.
45213 * elf/tst-order-a4.c: New file.
45214 * elf/tst-order-b1.c: New file.
45215 * elf/tst-order-b2.c: New file.
45216 * elf/tst-order-main.c: New file.
45217 New test case by George Gensure <werkt0@gmail.com>.
45219 2010-10-01 Andreas Schwab <schwab@redhat.com>
45221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45222 decoding ACE if AI_CANONIDN.
45224 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45226 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45228 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45230 * version.h (RELEASE): Bump for 2.13 release.
45231 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45233 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45235 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45237 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45238 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45239 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45240 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45241 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45242 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45244 * posix/getconf.c: Update copyright year.
45245 * catgets/gencat.c: Likewise.
45246 * csu/version.c: Likewise.
45247 * debug/catchsegv.sh: Likewise.
45248 * debug/xtrace.sh: Likewise.
45249 * elf/ldconfig.c: Likewise.
45250 * elf/ldd.bash.in: Likewise.
45251 * elf/sprof.c (print_version): Likewise.
45252 * iconv/iconv_prog.c: Likewise.
45253 * iconv/iconvconfig.c: Likewise.
45254 * locale/programs/locale.c: Likewise.
45255 * locale/programs/localedef.c: Likewise.
45256 * malloc/memusage.sh: Likewise.
45257 * malloc/mtrace.pl: Likewise.
45258 * nscd/nscd.c (print_version): Likewise.
45259 * nss/getent.c: Likewise.
45261 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45262 PF_CAIF, and PF_ALG.
45263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45265 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45267 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45268 (modules-names): Use them.
45269 (ifunc-test-modules, ifunc-pie-tests): Define.
45270 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45271 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45272 (test-extras): Likewise.
45273 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45274 $(compile-command.c).
45275 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45276 (all-built-dso): Define.
45277 (check-textrel.out, check-execstack.out): Depend on it.
45279 * configure.in: Don't override --enable-multi-arch.
45281 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45284 * nscd/hstcache.c (tryagain): Define.
45285 (cache_addhst): Return tryagain not notfound for temporary errors.
45286 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45289 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45292 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45293 to make the syscall.
45294 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45297 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45298 and fall back to matching as normal character if the string ends before
45299 the matching ']' is found. This is what POSIX requires.
45300 * posix/testfnm.c: Adjust test result.
45301 * posix/globtest.sh: Adjust test result. Add new test.
45302 * posix/tst-fnmatch.input: Likewise.
45303 * posix/tst-fnmatch2.c: Add new test.
45305 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45307 * elf/Makefile (check-execstack): Revert last change. Depend on
45309 (check-execstack.h): New target.
45310 (generated): Add check-execstack.h.
45311 * elf/check-execstack.c: Include "check-execstack.h".
45312 (main): Revert last change.
45313 (handle_file): Return zero if GNU_STACK is absent and
45314 DEFAULT_STACK_PERMS doesn't include PF_X.
45316 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45318 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45319 in child fails because the descriptor is already closed.
45320 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45321 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45322 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45325 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45329 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45330 temporary buffer used to handle multi lookups locally.
45331 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45333 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45335 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45338 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45340 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45341 alignment for SSE2.
45343 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45346 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45347 characters. When rounding increased number of integer digits recompute
45349 * stdio-common/tst-grouping.c: New file.
45350 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45352 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45354 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45355 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45357 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45359 * bits/select.h: Likewise.
45361 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45363 * po/ja.po: Update from translation team.
45365 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45368 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45369 implementation just like for lxstat, fxstatat, et al.
45371 2010-12-27 Jim Meyering <meyering@redhat.com>
45374 * posix/regexec.c (build_trtable): Return failure indication upon
45375 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45377 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45380 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45381 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45382 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45383 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45386 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45389 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45390 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45392 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45394 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45395 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45396 script has SORT_BY_INIT_PRIORITY.
45397 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45398 NO_CTORS_DTORS_SECTIONS is defined.
45399 * elf/soinit.c: Likewise.
45400 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45401 NO_CTORS_DTORS_SECTIONS is defined.
45402 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45403 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45404 * sysdeps/sh/init-first.c: Likewise.
45405 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45407 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45409 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45410 always use the slow path.
45412 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45414 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45415 similar rule which adds the sysdep directories to the header search in
45416 order to pick up the correct platform stackinfo.h.
45417 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45418 perform test if it is, otherwise return successfully without testing.
45419 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45420 DEFAULT_STACK_PERMS define in stackinfo.h.
45421 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45422 defined in stackinfo.h.
45423 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45424 DEFAULT_STACK_PERMS defined in stackinfo.h.
45425 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45426 * sysdeps/ia64/stackinfo.h: Likewise.
45427 * sysdeps/s390/stackinfo.h: Likewise.
45428 * sysdeps/sh/stackinfo.h: Likewise.
45429 * sysdeps/sparc/stackinfo.h: Likewise.
45430 * sysdeps/x86_64/stackinfo.h: Likewise.
45431 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45432 PF_X for powerpc64. Retain PF_X for powerpc32.
45434 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45436 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45438 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45439 GETDENTS_64BIT_ALIGNED.
45441 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45443 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45445 2010-12-10 Andreas Schwab <schwab@redhat.com>
45447 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45450 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45451 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45453 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45454 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45456 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45459 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45462 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45464 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45466 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45468 * po/it.po: Update from translation team.
45470 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45472 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45475 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45477 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45479 2010-11-24 Andreas Schwab <schwab@redhat.com>
45481 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45483 (gaih_getanswer_slice): Likewise.
45485 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45489 2010-05-31 Petr Baudis <pasky@suse.cz>
45492 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45493 silently even in the chroot mode.
45495 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45497 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45498 last patch a bit. Pretty printing
45500 2010-05-31 Petr Baudis <pasky@suse.cz>
45503 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45504 initialization of skip_initgroups_dyn.
45506 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45508 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45509 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45511 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45513 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45515 2010-11-11 Andreas Schwab <schwab@redhat.com>
45517 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45518 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45519 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45520 ($(objpfx)tst-fnmatch-mem): New rule.
45521 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45522 * posix/tst-fnmatch.c (main): Call mtrace.
45524 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45527 Support Intel processor model 6 and model 0x2c.
45529 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45531 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45534 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45537 * string/test-strncasecmp.c (check_result): New function.
45538 (do_one_test): Use it.
45539 (check1): New function.
45540 (test_main): Use it.
45541 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45542 Support strcasecmp and strncasecmp.
45544 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45547 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45548 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45550 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45552 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45556 * sysdeps/x86_64/multiarch/bzero.S: New file.
45557 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45558 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45559 * sysdeps/x86_64/multiarch/memset.S: New file.
45560 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45562 Set bit_Prefer_SSE_for_memop for Intel processors.
45563 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45565 (index_Prefer_SSE_for_memop): Define.
45566 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45568 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45570 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45571 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45573 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45576 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45577 (__x86_64_raw_data_cache_size_half): Likewise.
45578 (__x86_64_raw_shared_cache_size): Likewise.
45579 (__x86_64_raw_shared_cache_size_half): Likewise.
45581 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45582 (__x86_64_raw_data_cache_size_half): Likewise.
45583 (__x86_64_raw_shared_cache_size): Likewise.
45584 (__x86_64_raw_shared_cache_size_half): Likewise.
45585 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45586 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45587 and __x86_64_raw_shared_cache_size_half. Round
45588 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45589 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45590 to multiple of 256 bytes.
45592 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45595 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45596 of inacessible symlinks. Verify result of symlink before returning it.
45597 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45598 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45600 2010-10-28 Erich Ritz <erichritz@gmail.com>
45602 * math/math.h (isinf): Fix typo in comment.
45604 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45606 * po/da.po: Update from translation team.
45608 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45610 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45611 is added to the list.
45613 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45614 Ulrich Drepper <drepper@gmail.com>
45616 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45617 the global list here. Move code to...
45618 (_dl_add_to_namespace_list): ...here. New function.
45619 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45620 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45621 * elf/dl-load.c (lose): Don't remove the element from the list.
45622 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45623 (_dl_map_object): Likewise.
45625 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45628 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45629 into all bytes of SSE register.
45630 Patch by Richard Li <richardpku@gmail.com>.
45632 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45635 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45638 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45640 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45641 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45642 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45643 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45648 2010-10-22 Andreas Schwab <schwab@redhat.com>
45650 * include/dlfcn.h (__RTLD_SECURE): Define.
45651 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45652 mode & __RTLD_SECURE instead.
45653 (open_path): Rename preloaded parameter to secure.
45654 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45655 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45656 * elf/dl-deps.c (openaux): Likewise.
45657 * elf/rtld.c (struct map_args): Remove is_preloaded.
45658 (map_doit): Don't use it.
45659 (dl_main): Likewise.
45660 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45661 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45663 2010-09-09 Andreas Schwab <schwab@redhat.com>
45665 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45666 (sysd-rules-targets): Remove duplicates.
45667 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45668 rtld-%.$o dependency.
45670 2010-10-18 Andreas Schwab <schwab@redhat.com>
45672 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45673 _dl_map_object do it.
45675 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45677 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45678 fast fma builtins, define the macros in the C99 standard.
45679 (FP_FAST_FMAF): Likewise.
45680 (FP_FAST_FMAL): Likewise.
45681 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45683 * bits/mathdef.h: Update copyright year.
45684 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45686 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45688 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45689 builtins, define the macros in the C99 standard.
45690 (FP_FAST_FMAF): Likewise.
45691 (FP_FAST_FMAL): Likewise.
45692 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45694 (FP_FAST_FMAF): Likewise.
45696 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45699 * math/libm-test.inc (fma_test): Some new testcases.
45700 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45701 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45702 y and infinite z. Do multiplication by C already in long double.
45703 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45705 y and infinite z. Do bitwise or of inexact bit into u.d.
45706 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45707 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45708 * sysdeps/i386/fpu/s_fma.S: Removed.
45709 * sysdeps/i386/fpu/s_fmal.S: Removed.
45711 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45714 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45716 computation is not scheduled after fetestexcept. Fix value
45717 of minimum denormal long double.
45719 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45722 * math/libm-test.inc (fma_test): Add some more tests.
45723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45726 2010-10-15 Andreas Schwab <schwab@redhat.com>
45728 * scripts/data/localplt-s390-linux-gnu.data: New file.
45729 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45731 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45734 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45735 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45737 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45739 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45741 if one of x and y is very large and the other is subnormal.
45742 * sysdeps/s390/fpu/s_fmaf.c: New file.
45743 * sysdeps/s390/fpu/s_fma.c: New file.
45744 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45745 * sysdeps/powerpc/fpu/s_fma.S: New file.
45746 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45747 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45748 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45750 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45753 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45755 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45756 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45757 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45758 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45759 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45760 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45761 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45763 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45766 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45767 * posix/bug-regex31.input: Add test case.
45769 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45771 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45772 * posix/bug-regex31.input: New file.
45775 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45776 (parse_sub_exp): Fix last change, use postorder.
45778 * posix/bug-regex31.c: New file.
45779 * posix/Makefile: Add rules to build and run bug-regex31.
45781 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45784 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45787 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45788 to have entries in sys_siglist.
45791 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45794 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45797 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45798 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45799 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45800 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45801 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45802 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45803 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45804 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45805 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45806 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45807 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45808 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45809 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45810 * math/ftestexcept.c (fetestexcept): Likewise.
45811 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45812 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45813 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45814 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45815 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45816 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45817 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45819 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45822 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45825 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45827 * string/bug-strstr1.c: New file.
45828 * string/Makefile: Add rules to build and run bug-strstr1.
45830 2010-10-05 Eric Blake <eblake@redhat.com>
45833 * string/str-two-way.h (two_way_long_needle): Always clear memory
45834 when skipping input due to the shift table.
45836 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45839 * malloc/mcheck.c: Handle large requests.
45842 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45843 for strncmp and strncasecmp.
45844 * string/stratcliff.c: Add tests for strcmp and strncmp.
45845 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45847 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45849 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45852 2010-09-30 Andreas Jaeger <aj@suse.de>
45854 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45855 (CGROUP_SUPER_MAGIC): Define.
45856 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45857 Handle btrfs and cgroup file systems.
45858 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45861 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45863 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45864 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45866 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45869 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45870 trying to locate the ELF header.
45872 2010-09-27 Andreas Schwab <schwab@redhat.com>
45875 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45876 Mask out sign-bit copies when constructing f_fsid.
45878 2010-09-24 Petr Baudis <pasky@suse.cz>
45880 * debug/stack_chk_fail_local.c: Add missing licence exception.
45881 * debug/warning-nop.c: Likewise.
45883 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45885 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45886 implementing getdents64 using getdents syscall, set d_type if
45887 __ASSUME_GETDENTS32_D_TYPE.
45889 2010-09-16 Andreas Schwab <schwab@redhat.com>
45891 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45892 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45894 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45897 * posix/unistd.h: Undo change of feature selection for ftruncate from
45900 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45902 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45905 2010-09-20 Andreas Schwab <schwab@redhat.com>
45907 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45909 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45911 2010-09-14 Andreas Schwab <schwab@redhat.com>
45913 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45914 variables after CHECK_SP call.
45915 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45917 2010-09-13 Andreas Schwab <schwab@redhat.com>
45918 Ulrich Drepper <drepper@redhat.com>
45920 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45921 re-relocationg ld.so.
45922 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45923 _dl_init_paths call.
45924 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45927 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45929 * resolv/res_init.c (__res_vinit): Count the default server we added.
45931 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45932 Ulrich Drepper <drepper@redhat.com>
45935 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45936 (____longjmp_chk): Use %ebx for saving value across system call.
45939 2010-09-06 Andreas Schwab <schwab@redhat.com>
45941 * manual/Makefile: Don't mix pattern rules with normal rules.
45943 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45945 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45947 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45948 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45949 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45950 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45951 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45954 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45957 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45958 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45960 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45962 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45963 * sysdeps/x86_64/addmul_1.S: Likewise.
45964 * sysdeps/x86_64/lshift.S: Likewise.
45965 * sysdeps/x86_64/mul_1.S: Likewise.
45966 * sysdeps/x86_64/rshift.S: Likewise.
45967 * sysdeps/x86_64/sub_n.S: Likewise.
45968 * sysdeps/x86_64/submul_1.S: Likewise.
45970 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45972 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45973 Define __sched_param instead of SCHED_* and sched_param when
45974 <bits/sched.h> is included with __need_schedparam defined.
45975 * bits/sched.h [__need_schedparam]
45976 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45977 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45978 (__defined_schedparam): Define to 1.
45979 (__sched_param): New structure, identical to sched_param.
45980 (__need_schedparam): Undefine.
45982 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45984 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45985 (epoll_create1): Declare.
45987 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45989 2010-08-31 Andreas Schwab <schwab@redhat.com>
45992 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45993 shifting retval into place.
45995 2010-09-01 Ulrich Drepper <drepper@redhat.com>
45997 * nis/rpcsvc/nis.h: Update copyright notice.
45998 * nis/rpcsvc/nis.x: Likewise.
45999 * nis/rpcsvc/nis_callback.h: Likewise.
46000 * nis/rpcsvc/nis_callback.x: Likewise.
46001 * nis/rpcsvc/nis_object.x: Likewise.
46002 * nis/rpcsvc/nis_tags.h: Likewise.
46003 * nis/rpcsvc/yp.h: Likewise.
46004 * nis/rpcsvc/yp.x: Likewise.
46005 * nis/rpcsvc/ypupd.h: Likewise.
46006 * nis/yp_xdr.c: Likewise.
46007 * nis/ypupdate_xdr.c: Likewise.
46009 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46010 mainly the body of pmap_getport. Add parameters to specify timeouts.
46011 (pmap_getport): Use __libc_rpc_getport.
46012 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46013 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46014 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46016 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46021 2010-08-27 Roland McGrath <roland@redhat.com>
46023 * sysdeps/i386/i686/multiarch/Makefile
46024 (CFLAGS-varshift.c): New variable.
46026 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46028 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46029 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46031 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46033 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46035 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46037 * sysdeps/x86_64/strlen.S: Unroll the loop.
46038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46039 strlen-sse2 strlen-sse2-bsf.
46040 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46041 __strlen_no_bsf if bit_Slow_BSF is set.
46042 (__strlen_sse42): Removed.
46043 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46044 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46046 2010-08-25 Roland McGrath <roland@redhat.com>
46048 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46049 * sysdeps/x86_64/multiarch/varshift.c: New file.
46050 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46051 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46052 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46053 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46055 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46058 strlen-sse2 strlen-sse2-bsf.
46059 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46060 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46061 (__strlen_sse2): Removed.
46062 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46063 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46065 bit_Slow_BSF for Atom.
46066 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46067 (index_Slow_BSF): Define.
46068 (HAS_SLOW_BSF): Define.
46070 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46073 * resolv/res_init.c (__res_vinit): When no server address at all
46074 is given default to loopback.
46076 2010-08-24 Roland McGrath <roland@redhat.com>
46078 * configure.in: Remove config-name.h generation.
46079 * configure: Regenerated.
46080 * config-name.in: File removed.
46081 * scripts/config-uname.sh: New file.
46082 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46083 ($(objdir)config-name.h): New target.
46085 * sunrpc/rpc_parse.h: Avoid nested comment.
46087 2010-08-24 Richard Henderson <rth@redhat.com>
46088 Ulrich Drepper <drepper@redhat.com>
46089 H.J. Lu <hongjiu.lu@intel.com>
46091 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46093 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46094 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46095 _mm_alignr_epi8 with _mm_loadu_si128.
46096 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46097 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46098 (__m128i_shift_right): Removed.
46099 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46100 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46101 * sysdeps/x86_64/multiarch/varshift.h: New file.
46102 * sysdeps/x86_64/multiarch/varshift.S: New file.
46104 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46106 * configure.in: Move assembler checks to before sysdep dir checking.
46108 2010-08-20 Petr Baudis <pasky@suse.cz>
46110 * LICENSES: Sync the sunrpc license.
46112 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46114 * sunrpc/auth_des.c: Update copyright notice once again.
46115 * sunrpc/auth_none.c: Likewise.
46116 * sunrpc/auth_unix.c: Likewise.
46117 * sunrpc/authdes_prot.c: Likewise.
46118 * sunrpc/authuxprot.c: Likewise.
46119 * sunrpc/bindrsvprt.c: Likewise.
46120 * sunrpc/clnt_gen.c: Likewise.
46121 * sunrpc/clnt_perr.c: Likewise.
46122 * sunrpc/clnt_raw.c: Likewise.
46123 * sunrpc/clnt_simp.c: Likewise.
46124 * sunrpc/clnt_tcp.c: Likewise.
46125 * sunrpc/clnt_udp.c: Likewise.
46126 * sunrpc/clnt_unix.c: Likewise.
46127 * sunrpc/des_crypt.c: Likewise.
46128 * sunrpc/des_soft.c: Likewise.
46129 * sunrpc/get_myaddr.c: Likewise.
46130 * sunrpc/getrpcport.c: Likewise.
46131 * sunrpc/key_call.c: Likewise.
46132 * sunrpc/key_prot.c: Likewise.
46133 * sunrpc/openchild.c: Likewise.
46134 * sunrpc/pm_getmaps.c: Likewise.
46135 * sunrpc/pm_getport.c: Likewise.
46136 * sunrpc/pmap_clnt.c: Likewise.
46137 * sunrpc/pmap_prot.c: Likewise.
46138 * sunrpc/pmap_prot2.c: Likewise.
46139 * sunrpc/pmap_rmt.c: Likewise.
46140 * sunrpc/rpc/auth.h: Likewise.
46141 * sunrpc/rpc/auth_unix.h: Likewise.
46142 * sunrpc/rpc/clnt.h: Likewise.
46143 * sunrpc/rpc/des_crypt.h: Likewise.
46144 * sunrpc/rpc/key_prot.h: Likewise.
46145 * sunrpc/rpc/netdb.h: Likewise.
46146 * sunrpc/rpc/pmap_clnt.h: Likewise.
46147 * sunrpc/rpc/pmap_prot.h: Likewise.
46148 * sunrpc/rpc/pmap_rmt.h: Likewise.
46149 * sunrpc/rpc/rpc.h: Likewise.
46150 * sunrpc/rpc/rpc_des.h: Likewise.
46151 * sunrpc/rpc/rpc_msg.h: Likewise.
46152 * sunrpc/rpc/svc.h: Likewise.
46153 * sunrpc/rpc/svc_auth.h: Likewise.
46154 * sunrpc/rpc/types.h: Likewise.
46155 * sunrpc/rpc/xdr.h: Likewise.
46156 * sunrpc/rpc_clntout.c: Likewise.
46157 * sunrpc/rpc_cmsg.c: Likewise.
46158 * sunrpc/rpc_common.c: Likewise.
46159 * sunrpc/rpc_cout.c: Likewise.
46160 * sunrpc/rpc_dtable.c: Likewise.
46161 * sunrpc/rpc_hout.c: Likewise.
46162 * sunrpc/rpc_main.c: Likewise.
46163 * sunrpc/rpc_parse.c: Likewise.
46164 * sunrpc/rpc_parse.h: Likewise.
46165 * sunrpc/rpc_prot.c: Likewise.
46166 * sunrpc/rpc_sample.c: Likewise.
46167 * sunrpc/rpc_scan.c: Likewise.
46168 * sunrpc/rpc_scan.h: Likewise.
46169 * sunrpc/rpc_svcout.c: Likewise.
46170 * sunrpc/rpc_tblout.c: Likewise.
46171 * sunrpc/rpc_util.c: Likewise.
46172 * sunrpc/rpc_util.h: Likewise.
46173 * sunrpc/rpcinfo.c: Likewise.
46174 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46175 * sunrpc/rpcsvc/key_prot.x: Likewise.
46176 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46177 * sunrpc/rpcsvc/mount.x: Likewise.
46178 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46179 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46180 * sunrpc/rpcsvc/rex.x: Likewise.
46181 * sunrpc/rpcsvc/rstat.x: Likewise.
46182 * sunrpc/rpcsvc/rusers.x: Likewise.
46183 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46184 * sunrpc/rpcsvc/spray.x: Likewise.
46185 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46186 * sunrpc/rtime.c: Likewise.
46187 * sunrpc/svc.c: Likewise.
46188 * sunrpc/svc_auth.c: Likewise.
46189 * sunrpc/svc_authux.c: Likewise.
46190 * sunrpc/svc_raw.c: Likewise.
46191 * sunrpc/svc_run.c: Likewise.
46192 * sunrpc/svc_simple.c: Likewise.
46193 * sunrpc/svc_tcp.c: Likewise.
46194 * sunrpc/svc_udp.c: Likewise.
46195 * sunrpc/svc_unix.c: Likewise.
46196 * sunrpc/svcauth_des.c: Likewise.
46197 * sunrpc/xcrypt.c: Likewise.
46198 * sunrpc/xdr.c: Likewise.
46199 * sunrpc/xdr_array.c: Likewise.
46200 * sunrpc/xdr_float.c: Likewise.
46201 * sunrpc/xdr_mem.c: Likewise.
46202 * sunrpc/xdr_rec.c: Likewise.
46203 * sunrpc/xdr_ref.c: Likewise.
46204 * sunrpc/xdr_sizeof.c: Likewise.
46205 * sunrpc/xdr_stdio.c: Likewise.
46207 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46210 2010-08-19 Andreas Schwab <schwab@redhat.com>
46212 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46214 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46216 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46217 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46218 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46219 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46220 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46221 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46222 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46223 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46224 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46225 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46226 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46227 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46228 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46229 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46231 2010-07-26 Anton Blanchard <anton@samba.org>
46233 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46234 * malloc/arena.c (heap_trim): Likewise.
46236 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46238 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46240 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46241 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46243 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46245 * sysdeps/i386/elf/Makefile: New file.
46247 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46249 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46250 from fanotify_init.
46251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46252 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46254 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46256 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46258 * sysdeps/multiarch/strcmp.S: Likewise.
46260 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46262 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46263 strncase_l-nonascii.
46264 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46265 Add strncase_l-ssse3.
46266 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46267 * sysdeps/x86_64/strcmp.S: Likewise.
46268 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46269 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46270 * sysdeps/x86_64/strncase.S: New file.
46271 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46272 * sysdeps/x86_64/strncase_l.S: New file.
46273 * string/Makefile (strop-tests): Add strncasecmp.
46274 * string/test-strncasecmp.c: New file.
46276 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46279 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46280 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46282 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46284 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46286 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46288 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46289 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46290 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46292 2010-05-01 Alan Modra <amodra@gmail.com>
46294 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46295 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46296 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46297 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46298 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46299 tidying. Don't tail-call __sigjmp_save for static lib.
46300 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46302 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46303 (CALL_MCOUNT): Add eh info, and nop after bl.
46304 (TAIL_CALL_SYSCALL_ERROR): New macro.
46305 (PSEUDO_RET): Use it.
46306 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46307 Correct save location of integer regs and cr.
46308 (_dl_profile_resolve): Correct cr save location. Delete nops
46309 after bl when SHARED. Reduce cfi size a little by better
46310 placement of cfi directives.
46311 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46312 make a stack frame. Instead use parm save area as a temp.
46313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46314 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46316 Don't make a stack frame for parent, use parm save area.
46317 Increase child stack frame to 112 bytes. Don't save unused reg,
46318 and adjust reg usage. Set up cfi on error recovery and
46319 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46321 (__makecontext): Add dummy nop after jump to exit.
46322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46323 Use correct parm save area and cr save, reduce stack frame.
46324 Correct cfi for possible PSEUDO_RET frame setup.
46325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46326 Branch to local label emitted by PSEUDO_RET rather than
46329 2010-08-12 Andreas Schwab <schwab@redhat.com>
46332 * locale/programs/locale.c (print_assignment): New function.
46333 (show_locale_vars): Use it.
46335 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46337 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46339 (struct statfs64): Likewise.
46340 (_STATFS_F_FLAGS): Define.
46341 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46342 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46343 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46344 (ST_VALID): Define locally.
46345 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46346 __statvfs_getflags, use the provided value.
46347 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46348 __ASSUME_STATFS_F_FLAGS.
46350 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46352 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46353 Add sys/fanotify.h.
46354 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46355 fanotify_mask for GLIBC_2.13.
46356 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46357 fanotify_init and fanotify_mark.
46358 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46359 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46361 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46363 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46364 prlimit64 for GLIBC_2.13.
46365 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46367 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46370 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46371 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46372 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46373 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46375 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46378 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46379 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46381 * nss/Makefile: Add rules to build and run tst-nss-test1.
46382 * shlib-versions: Add entry for libnss_test1.
46383 * nss/nss_test1.c: New file.
46384 * nss/tst-nss-test1.c: New file.
46386 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46387 (__nss_configure_lookup): Set appropriate entry in
46388 __nss_configure_lookup to true.
46389 * nss/nsswitch.h: Define enum with indeces of databases in
46390 databases and __nss_database_custom arrays. Declare
46391 __nss_database_custom.
46392 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46393 to avoid using nscd when custom rules are installed.
46394 * nss/getXXbyYY_r.c: Likewise.
46395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46397 * nss/nss_files/files-parse.c: Whitespace fixes.
46399 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46402 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46403 * posix/fnmatch_loop.c: Likewise.
46405 2010-07-17 Andi Kleen <ak@linux.intel.com>
46407 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46408 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46409 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46410 * Versions.def [GLIBC_2.13]: Add.
46412 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46414 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46415 Also fail if tpwd after pwuid call is NULL.
46417 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46419 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46420 when converting to ms.
46422 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46424 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46425 EOPNOTSUPP errors with ENOTTY.
46426 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46427 EOPNOTSUPP errors with ENOTTY.
46429 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46431 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46432 Add strcasecmp_l-ssse3.
46433 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46435 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46436 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46437 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46439 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46441 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46443 * string/Makefile (strop-tests): Add strcasecmp.
46444 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46445 strcasecmp_l-nonascii.
46446 (gen-as-const-headers): Add locale-defines.sym.
46447 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46448 * sysdeps/x86_64/strcasecmp.S: New file.
46449 * sysdeps/x86_64/strcasecmp_l.S: New file.
46450 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46451 * sysdeps/x86_64/locale-defines.sym: New file.
46452 * string/test-strcasecmp.c: New file.
46454 * string/test-strcasestr.c: Test both ends of the range of characters.
46455 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46457 2010-07-29 Roland McGrath <roland@redhat.com>
46460 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46462 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46464 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46467 2010-07-27 Andreas Schwab <schwab@redhat.com>
46469 * manual/memory.texi (Malloc Tunable Parameters): Document
46472 2010-07-26 Roland McGrath <roland@redhat.com>
46475 * configure.in (-fgnu89-inline check): Set and substitute
46476 gnu89_inline, not libc_cv_gnu89_inline.
46477 * configure: Regenerated.
46478 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46480 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46482 * string/test-strnlen.c: New file.
46483 * string/Makefile (strop-tests): Add strnlen.
46484 * string/tester.c (test_strnlen): Add a few more test cases.
46485 * string/tst-strlen.c: Better error reporting.
46487 * sysdeps/x86_64/strnlen.S: New file.
46489 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46491 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46492 lower-latency instructions.
46494 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46496 * string/test-strcasestr.c: New file.
46497 * string/test-strstr.c: New file.
46498 * string/Makefile (strop-tests): Add strstr and strcasestr.
46499 * string/str-two-way.h: Don't undefine MAX.
46500 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46502 2010-07-21 Andreas Schwab <schwab@redhat.com>
46504 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46505 strcasestr-nonascii.
46506 (CFLAGS-strcasestr-nonascii.c): Define.
46507 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46508 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46509 Remove unused attribute.
46511 2010-07-20 Roland McGrath <roland@redhat.com>
46513 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46514 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46515 ld.so.cache was broken. With it, there is no way to disable dsocaps
46516 like LD_HWCAP_MASK can disable hwcaps.
46518 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46520 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46522 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46524 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46525 call in strcasestr.
46526 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46527 __strcasestr_sse42_nonascii.
46528 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46529 strcasestr-nonascii.c.
46530 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46532 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46534 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46535 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46536 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46537 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46539 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46541 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46544 2010-07-06 Andreas Schwab <schwab@redhat.com>
46547 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46550 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46552 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46553 _PC_PIPE_BUF using F_GETPIPE_SZ.
46555 2010-07-05 Roland McGrath <roland@redhat.com>
46557 * manual/arith.texi (Rounding Functions): Fix rint description
46558 implicit in round description.
46560 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46562 * elf/Makefile: Fix linking for a few tests to make recent linker
46565 2010-06-30 Andreas Schwab <schwab@redhat.com>
46567 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46568 $(common-objpfx)libc_nonshared.a.
46570 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46572 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46573 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46574 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46575 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46576 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46577 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46578 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46579 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46594 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46595 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46596 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46597 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46598 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46599 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46600 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46601 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46602 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46603 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46604 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46605 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46621 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46623 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46624 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46625 * string/memmove.c (memmove): Renamed to ...
46626 (MEMMOVE): ...this. Default to memmove.
46627 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46628 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46631 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46632 mempcpy-ssse3-back memmove-ssse3-back.
46633 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46634 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46635 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46636 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46637 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46638 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46639 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46640 * sysdeps/x86_64/multiarch/memmove.c: New file.
46641 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46642 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46643 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46644 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46645 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46646 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46648 (index_Fast_Copy_Backward): Define.
46649 (HAS_ARCH_FEATURE): Define.
46650 (HAS_FAST_REP_STRING): Define.
46651 (HAS_FAST_COPY_BACKWARD): Define.
46653 2010-06-21 Andreas Schwab <schwab@redhat.com>
46655 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46656 Restore proper fallback handling.
46658 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46661 * posix/group_member.c (__group_member): Correct checking loop.
46663 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46664 OOM in getpwuid_r correctly. Return error number when the caller
46665 should return, otherwise -1.
46666 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46667 call returning > 0 value.
46668 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46670 2010-06-07 Andreas Schwab <schwab@redhat.com>
46672 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46673 libc_nonshared.a from targets in modules-names.
46675 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46677 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46680 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46682 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46683 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46684 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46685 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46687 2010-06-02 Andreas Schwab <schwab@redhat.com>
46689 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46691 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46693 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46695 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46696 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46699 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46700 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46702 2010-06-14 Roland McGrath <roland@redhat.com>
46704 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46706 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46708 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46709 __REDIRECT followed by __THROW.
46710 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46711 * posix/getopt.h (getopt): Likewise.
46713 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46715 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46716 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46717 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46719 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46720 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46722 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46724 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46726 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46730 Properly check family and model.
46732 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46734 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46736 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46738 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46740 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46742 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46745 2010-05-19 Andreas Schwab <schwab@redhat.com>
46747 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46750 2010-05-21 Andreas Schwab <schwab@redhat.com>
46752 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46753 and internal_recvmmsg.
46754 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46755 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46756 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46757 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46759 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46760 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46761 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46763 2010-05-20 Andreas Schwab <schwab@redhat.com>
46765 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46767 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46769 POWER7 optimizations.
46770 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46771 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46773 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46775 * version.h: Update for 2.13 development version.
46777 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46779 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46780 exceptions. Return 0.
46782 2010-05-07 Roland McGrath <roland@redhat.com>
46784 * elf/ldconfig.c (main): Add a const.
46786 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46788 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46789 (args_options): Add no-idn option.
46790 (ahosts_keys_int): Add idn_flags to ai_flags.
46791 (parse_option): Handle 'i' option to clear idn_flags.
46793 * malloc/malloc.c (_int_free): Possible race in the most recently
46794 added check. Only act on the data if no current modification
46797 See ChangeLog.17 for earlier changes.